Maemo: Introduce class for maemo-global functions.

This commit is contained in:
ck
2010-07-13 17:00:12 +02:00
parent 9bd53be4c9
commit e17b99e7f3
8 changed files with 115 additions and 26 deletions

View File

@@ -48,18 +48,6 @@ typedef Core::SshConnectionParameters::AuthType AuthType;
namespace Qt4ProjectManager {
namespace Internal {
QString homeDirOnDevice(const QString &uname)
{
return uname == QLatin1String("root")
? QString::fromLatin1("/root")
: QLatin1String("/home/") + uname;
}
QString remoteSudo()
{
return QLatin1String("/usr/lib/mad-developer/devrootsh");
}
namespace {
const QLatin1String SettingsGroup("MaemoDeviceConfigs");
const QLatin1String IdCounterKey("IdCounter");