]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/app/appsettings.h
Bump copyright years.
[toast/confclerk.git] / src / app / appsettings.h
index 97f24340462baf971ced3c397c4c8df34b764c55..c4852ca991886918e3dfdf968515989056bf2a6e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2010 Ixonos Plc.
- * Copyright (C) 2011-2014 Philipp Spitzer, gregor herrmann, Stefan Stahl
+ * Copyright (C) 2011-2024 Philipp Spitzer, gregor herrmann, Stefan Stahl
  *
  * This file is part of ConfClerk.
  *
@@ -23,6 +23,7 @@
 
 #include <QString>
 #include <QSettings>
+#include <QNetworkProxy>
 
 class AppSettings
 {
@@ -35,10 +36,16 @@ class AppSettings
 
         static QString proxyAddress();
         static quint16 proxyPort();
+        static QNetworkProxy::ProxyType proxyType();
+        static QString proxyUsername();
+        static QString proxyPassword();
         static bool isDirectConnection();
 
         static void setProxyAddress(const QString &aAddress);
         static void setProxyPort(const quint16 aPort);
+        static void setProxyType(QNetworkProxy::ProxyType aProxyType);
+        static void setProxyUsername(const QString &aUsername);
+        static void setProxyPassword(const QString &aPassword);
         static void setDirectConnection(bool aDirectConnection);
         static int preEventAlarmSec() {return 60*15;} ///< seconds that alarm should ring before an event starts
 };