From 25305a6ef01120bf3b0d929bae0ba7693f41c46b Mon Sep 17 00:00:00 2001 From: Johann Latocha Date: Sat, 10 Jul 2010 01:54:35 +0200 Subject: Configuration by pvs via D-Bus. Old .allow ist now deprecated, config file: .config/openslx/pvs.conf --- src/pvs.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/pvs.h') 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_ */ -- cgit v1.2.3-55-g7522