summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'UI/Qt/QtSwift.h')
-rw-r--r--UI/Qt/QtSwift.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/UI/Qt/QtSwift.h b/UI/Qt/QtSwift.h
new file mode 100644
index 0000000..5bfd62c
--- /dev/null
+++ b/UI/Qt/QtSwift.h
@@ -0,0 +1,36 @@
+#ifndef SWIFT_QtSwift_H
+#define SWIFT_QtSwift_H
+
+#include "Swiften/Base/String.h"
+#include "QtMainEventLoop.h"
+#include "QtLoginWindowFactory.h"
+#include "QtMainWindowFactory.h"
+#include "QtChatWindowFactory.h"
+#include "QtSettingsProvider.h"
+
+namespace Swift {
+ class Application;
+ class MainController;
+ class QtChatWindowFactory;
+ class QtMainWindowFactory;
+ class QtLoginWindowFactory;
+ class QtTreeWidgetFactory;
+
+ class QtSwift : public QObject {
+ Q_OBJECT
+ public:
+ QtSwift();
+ ~QtSwift();
+ private:
+ MainController *mainController_;
+ QtTreeWidgetFactory *treeWidgetFactory_;
+ QtChatWindowFactory *chatWindowFactory_;
+ QtMainWindowFactory *rosterWindowFactory_;
+ QtLoginWindowFactory *loginWindowFactory_;
+ QtMainEventLoop clientMainThreadCaller_;
+ QtSettingsProvider *settings_;
+ Application* application_;
+ };
+}
+
+#endif