Maemo: Continue implementing device configuration wizard.

Pretty much complete now, but still not used.
This commit is contained in:
Christian Kandeler
2011-02-03 14:17:13 +01:00
parent a0b178b708
commit 0649657181
9 changed files with 376 additions and 32 deletions

View File

@@ -293,7 +293,7 @@ QString MaemoDeviceConfig::portsRegExpr()
return QString::fromLatin1("((%1)(,%1)*)?").arg(listElemExpr);
}
int MaemoDeviceConfig::defaultSshPort(DeviceType type) const
int MaemoDeviceConfig::defaultSshPort(DeviceType type)
{
return type == Physical ? DefaultSshPortHW : DefaultSshPortSim;
}
@@ -314,7 +314,7 @@ QString MaemoDeviceConfig::defaultPrivateKeyFilePath()
+ QLatin1String("/.ssh/id_rsa");
}
QString MaemoDeviceConfig::defaultUser(MaemoGlobal::MaemoVersion osVersion) const
QString MaemoDeviceConfig::defaultUser(MaemoGlobal::MaemoVersion osVersion)
{
switch (osVersion) {
case MaemoGlobal::Maemo5: