diff options
author | Johann Latocha | 2011-04-19 00:33:11 +0200 |
---|---|---|
committer | Johann Latocha | 2011-04-19 00:33:11 +0200 |
commit | 63bcd293e78ceacab40451b595b3ed2556fea9ab (patch) | |
tree | 256de619ea9b7553f161f5c39466347d5a364adc /src/pvs.h | |
parent | Autoconnect bug fixed (2) (diff) | |
download | pvs-63bcd293e78ceacab40451b595b3ed2556fea9ab.tar.gz pvs-63bcd293e78ceacab40451b595b3ed2556fea9ab.tar.xz pvs-63bcd293e78ceacab40451b595b3ed2556fea9ab.zip |
[PVS]
* System/User scope configuration (/etc/xdg/openslx/ and ~/.config/openslx/)
* Restricted mode available
Diffstat (limited to 'src/pvs.h')
-rw-r--r-- | src/pvs.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -80,10 +80,10 @@ public Q_SLOTS: void chat_send(QString nick_to, QString nick_from, QString msg); QString chat_getNickname(); QStringList chat_getNicknames(); - void fileChanged(const QString& path); void pvsConnect(QString host, QString passwd); void pvsDisconnect(); QString isConnected(); + bool isRestricted(); QStringList getAvailableHosts(); QString getIpByNick(QString nick); @@ -126,7 +126,6 @@ protected: private: // own - bool allowExists(); ///< whether the .allow file exists bool getVNCAllow(); ///< whether vnc-connections to this client are allowed void readPolicyFiles(); ///< pars the policy files @@ -141,7 +140,6 @@ private: bool _vncAllowed; ///< whether vncConnections to this client are allowed (dup?) BlankScreen *_blankScreen;///< object to blank the screen - QFileSystemWatcher* _notify; ///< used to get notifies about file changes //vnc-server QString _vncScriptPath; ///< path to the vnc script file QString _vncScriptName; ///< name of the vnc script file @@ -193,6 +191,6 @@ private Q_SLOTS: void processStopErrorOccured(QProcess::ProcessError error); private: - QSettings _settings; + QSettings *_settings; }; #endif /* PVSCLIENT_H_ */ |