summaryrefslogtreecommitdiffstats
path: root/src/pvs.h
diff options
context:
space:
mode:
authorJohann Latocha2010-07-10 01:54:35 +0200
committerJohann Latocha2010-07-10 01:54:35 +0200
commit25305a6ef01120bf3b0d929bae0ba7693f41c46b (patch)
tree4e02673cd14fcc9db4477309f5fa1ff295a06c04 /src/pvs.h
parentRevoke Fabians changes. (diff)
downloadpvs-25305a6ef01120bf3b0d929bae0ba7693f41c46b.tar.gz
pvs-25305a6ef01120bf3b0d929bae0ba7693f41c46b.tar.xz
pvs-25305a6ef01120bf3b0d929bae0ba7693f41c46b.zip
Configuration by pvs via D-Bus. Old .allow ist now deprecated, config file: .config/openslx/pvs.conf
Diffstat (limited to 'src/pvs.h')
-rw-r--r--src/pvs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pvs.h b/src/pvs.h
index 4b1e29e..ba696d8 100644
--- a/src/pvs.h
+++ b/src/pvs.h
@@ -80,6 +80,9 @@ public Q_SLOTS:
QStringList getAvailableHosts();
QString getIpByNick(QString nick);
+ void setConfigValue(QString key, QString value);
+ QString getConfigValue(QString key);
+
Q_SIGNALS:
void project(QString host, int port, QString passwd, bool fullscreen,
bool smoothTransformation, int quality);
@@ -131,8 +134,6 @@ private:
PVSServerConnection* _pvsServerConnection; ///< our tcp connection object to the pvsserver
- QSettings _settings;
-
PVSServiceDiscovery *_sdClient;
PVSChatClient *_chat;
@@ -142,5 +143,7 @@ private:
int _timerLockTest;
int _timerLockDelay;
+ QSettings _settings;
+
};
#endif /* PVSCLIENT_H_ */