diff options
Diffstat (limited to 'Swift/QtUI/QtLoginWindowFactory.h')
-rw-r--r-- | Swift/QtUI/QtLoginWindowFactory.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Swift/QtUI/QtLoginWindowFactory.h b/Swift/QtUI/QtLoginWindowFactory.h index 617851e..7513ab6 100644 --- a/Swift/QtUI/QtLoginWindowFactory.h +++ b/Swift/QtUI/QtLoginWindowFactory.h @@ -2,16 +2,19 @@ #define SWIFT_QtLoginWindowFactory_H #include "Swift/Controllers/LoginWindowFactory.h" +#include "Swift/QtUI/QtSystemTray.h" #include <QSplitter> namespace Swift { - class QtLoginWindowFactory : public LoginWindowFactory{ + class QtLoginWindowFactory : public QObject, public LoginWindowFactory { + Q_OBJECT public: - QtLoginWindowFactory(QSplitter* splitter); + QtLoginWindowFactory(QSplitter* splitter, QtSystemTray* systemTray); LoginWindow* createLoginWindow(const String& defaultJID, const String& defaultPassword, const String& defaultCertificate); private: QSplitter* splitter_; + QtSystemTray* systemTray_; }; } |