Various smaller stuff, some parts of the new identity settingspage, plus Quassel
[quassel.git] / src / core / core.h
index 85fcd49..1ceaec4 100644 (file)
@@ -46,8 +46,11 @@ class Core : public QObject {
     static QVariant connectLocalClient(QString user, QString passwd);
     static void disconnectLocalClient();
 
+    static void saveState();
+    static void restoreState();
+
   private slots:
-    bool startListening(uint port = DEFAULT_PORT);
+    bool startListening(uint port = Global::defaultPort);
     void stopListening();
     void incomingConnection();
     void clientHasData();