summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-10 16:49:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-10 16:49:49 (GMT)
commit7214d768dca85a6d43892169d5008898249dce73 (patch)
tree0f8b2820c9cb58f058263c78306987d934fec526 /UI/Qt/QtLoginWindow.h
parentfd89da91d12b270d56f60544cad6f1ddc809af28 (diff)
downloadswift-contrib-7214d768dca85a6d43892169d5008898249dce73.zip
swift-contrib-7214d768dca85a6d43892169d5008898249dce73.tar.bz2
Moved UI/Qt -> Swift/QtUI.
Diffstat (limited to 'UI/Qt/QtLoginWindow.h')
-rw-r--r--UI/Qt/QtLoginWindow.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/UI/Qt/QtLoginWindow.h b/UI/Qt/QtLoginWindow.h
deleted file mode 100644
index 5a14202..0000000
--- a/UI/Qt/QtLoginWindow.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef SWIFT_QtLoginWindow_H
-#define SWIFT_QtLoginWindow_H
-
-#include <QMainWindow>
-#include <QLineEdit>
-#include <QPushButton>
-#include <QCheckBox>
-#include <QStackedWidget>
-
-#include "Swiften/Controllers/LoginWindow.h"
-#include "Swiften/Controllers/MainWindow.h"
-
-class QLabel;
-class QToolButton;
-
-namespace Swift {
- class QtLoginWindow : public QMainWindow, public LoginWindow {
- Q_OBJECT
- public:
- QtLoginWindow(const String& defaultJID, const String& defaultPassword, const String& defaultCertificate);
-
- void morphInto(MainWindow *mainWindow);
- virtual void loggedOut();
- virtual void setMessage(const String& message);
-
- private slots:
- void loginClicked();
- void handleCertficateChecked(bool);
-
- private:
- QLineEdit *username_;
- QLineEdit *password_;
- QPushButton *loginButton_;
- QCheckBox *remember_;
- QStackedWidget *stack_;
- QLabel* message_;
- QString certificateFile_;
- QToolButton* certificateButton_;
- };
-}
-
-#endif