AppSettings returns the proxy type as QNetworkProxy instead of int now.
[debian/confclerk.git] / src / app / appsettings.h
index 7f264412474a0716fa58f3abc28dbdfadebb34ab..1b5a16bddd3ffd6b9f7c368725f22c3fb234feed 100644 (file)
@@ -36,12 +36,12 @@ class AppSettings
 
         static QString proxyAddress();
         static quint16 proxyPort();
-        static int proxyType(); // QNetworkProxy::ProxyType
+        static QNetworkProxy::ProxyType proxyType();
         static bool isDirectConnection();
 
         static void setProxyAddress(const QString &aAddress);
         static void setProxyPort(const quint16 aPort);
-        static void setProxyType(const int aProxyType); // QNetworkProxy::ProxyType
+        static void setProxyType(QNetworkProxy::ProxyType aProxyType);
         static void setDirectConnection(bool aDirectConnection);
         static int preEventAlarmSec() {return 60*15;} ///< seconds that alarm should ring before an event starts
 };