blob: dd5bc574d47142839b7b7c6db241a8261bae1b79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef SWIFT_QtLoginWindowFactory_H
#define SWIFT_QtLoginWindowFactory_H
#include "Swift/Controllers/LoginWindowFactory.h"
#include "Swift/QtUI/QtSystemTray.h"
#include <QSplitter>
#include "QtSettingsProvider.h"
namespace Swift {
class QtLoginWindow;
class QtLoginWindowFactory : public QObject, public LoginWindowFactory {
Q_OBJECT
public:
QtLoginWindowFactory(QSplitter* splitter, QtSystemTray* systemTray, QtSettingsProvider* settings);
LoginWindow* createLoginWindow();
private slots:
void handleWindowGeometryChanged();
private:
QSplitter* splitter_;
QtSystemTray* systemTray_;
QtSettingsProvider* settings_;
QtLoginWindow* window_;
};
}
#endif
|