Utils: Add user name accessor to the Environnment class.

Change-Id: Ic67381ab185525552eef948af602d00d3800b653
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Christian Kandeler
2012-08-31 16:47:53 +02:00
parent b18b458dea
commit b7a1e87cf4
4 changed files with 11 additions and 6 deletions

View File

@@ -79,6 +79,8 @@ public:
QList<EnvironmentItem> diff(const Environment &other) const;
bool hasKey(const QString &key);
QString userName() const;
void appendOrSet(const QString &key, const QString &value, const QString &sep = QString());
void prependOrSet(const QString &key, const QString &value, const QString &sep = QString());