implemented 'proxy settings' dialog
[toast/confclerk.git] / src / app / appsettings.h
1
2 #ifndef APPSETTINGS_H
3 #define APPSETTINGS_H
4
5 #include <QString>
6 #include <QSettings>
7
8 class AppSettings
9 {
10     private:
11         AppSettings() {}
12         static QSettings mSettings;
13
14     public:
15         static QString proxyAddress();
16         static quint16 proxyPort();
17         static bool isDirectConnection();
18
19         static void setProxyAddress(const QString &aAddress);
20         static void setProxyPort(const quint16 aPort);
21         static void setDirectConnection(bool aDirectConnection);
22 };
23
24 #endif /* APPSETTINGS_H */
25