We now have a current svn snapshot of libqxt in our contrib dir, and
[quassel.git] / src / contrib / libqxt-2007-10-24 / tests / QxtGui / app / mainwindow.h
diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.h b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.h
new file mode 100644 (file)
index 0000000..2e61d57
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include "ui_mainwindow.h"
+
+class MainWindow : public QMainWindow
+{
+       Q_OBJECT
+
+public:
+       MainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0);
+       ~MainWindow();
+
+protected:
+       void closeEvent(QCloseEvent* event);
+       
+private slots:
+       void aboutQxtGui();
+       void addTab();
+       void switchLayoutDirection();
+       void toggleVisibility();
+       void configure();
+       
+private:
+       void createProgressBar();
+       Ui::MainWindow ui;
+};
+
+#endif // MAINWINDOW_H