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/QtMainWindow.h
parentfd89da91d12b270d56f60544cad6f1ddc809af28 (diff)
downloadswift-contrib-7214d768dca85a6d43892169d5008898249dce73.zip
swift-contrib-7214d768dca85a6d43892169d5008898249dce73.tar.bz2
Moved UI/Qt -> Swift/QtUI.
Diffstat (limited to 'UI/Qt/QtMainWindow.h')
-rw-r--r--UI/Qt/QtMainWindow.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/UI/Qt/QtMainWindow.h b/UI/Qt/QtMainWindow.h
deleted file mode 100644
index fe5c8b4..0000000
--- a/UI/Qt/QtMainWindow.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef SWIFT_QtMainWindow_H
-#define SWIFT_QtMainWindow_H
-
-#include <QWidget>
-#include <QMenu>
-#include "Swiften/Controllers/MainWindow.h"
-
-#include <vector>
-
-class QComboBox;
-class QLineEdit;
-class QPushButton;
-
-namespace Swift {
- class QtTreeWidget;
- class QtTreeWidgetFactory;
- class QtStatusWidget;
- class TreeWidget;
-
-
- class QtMainWindow : public QWidget, public MainWindow {
- Q_OBJECT
- public:
- QtMainWindow(QtTreeWidgetFactory *treeWidgetFactory);
- TreeWidget* getTreeWidget();
- std::vector<QMenu*> getMenus() {return menus_;}
- private slots:
- void handleStatusChanged(StatusShow::Type showType, const QString &statusMessage);
- void handleShowOfflineToggled(bool);
- void handleJoinMUCAction();
- void handleJoinMUCDialogComplete(const JID& muc, const QString& nick);
- private:
- std::vector<QMenu*> menus_;
- QtStatusWidget *statusWidget_;
- QLineEdit *muc_;
- QLineEdit *mucNick_;
- QPushButton *mucButton_;
- QtTreeWidget *treeWidget_;
- };
-}
-
-#endif
-