properly handling disconnects - this might even fix an antique bug with duplicate...
[quassel.git] / src / qtui / monoapplication.h
index 4050342..9b49403 100644 (file)
@@ -27,16 +27,20 @@ class ClientSyncer;
 class CoreApplicationInternal;
 
 class MonolithicApplication : public QtUiApplication {
+  Q_OBJECT
 public:
   MonolithicApplication(int &, char **);
   ~MonolithicApplication();
 
   bool init();
-  bool startInternalCore();
-  void connectClientSyncer(ClientSyncer *syncer);
+
+private slots:
+  void newClientSyncer(ClientSyncer *syncer);
+  void startInternalCore();
 
 private:
   CoreApplicationInternal *_internal;
+  bool _internalInitDone;
 };
 
 #endif