source: src/app/appsettings.h @ b0a3bc7

qt5
Last change on this file since b0a3bc7 was 47bfffb, checked in by pavelpa <pavelpa@…>, 12 years ago

if the application is run for first time, network connection is set to Direct connection

  • Property mode set to 100644
File size: 578 bytes
Line 
1
2#ifndef APPSETTINGS_H
3#define APPSETTINGS_H
4
5#include <QString>
6#include <QSettings>
7
8class AppSettings
9{
10    private:
11        AppSettings() {}
12        static QSettings mSettings;
13
14    public:
15        static bool contains(const QString &aKey);
16
17        static QString proxyAddress();
18        static quint16 proxyPort();
19        static bool isDirectConnection();
20
21        static void setProxyAddress(const QString &aAddress);
22        static void setProxyPort(const quint16 aPort);
23        static void setDirectConnection(bool aDirectConnection);
24};
25
26#endif /* APPSETTINGS_H */
27
Note: See TracBrowser for help on using the repository browser.