summaryrefslogtreecommitdiffstats
path: root/src/pvs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pvs.h')
-rw-r--r--src/pvs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pvs.h b/src/pvs.h
index b2a84cf..e6e91ed 100644
--- a/src/pvs.h
+++ b/src/pvs.h
@@ -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_ */