summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtViewHistoryWindow.h')
-rw-r--r--Swift/QtUI/QtViewHistoryWindow.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/Swift/QtUI/QtViewHistoryWindow.h b/Swift/QtUI/QtViewHistoryWindow.h
new file mode 100644
index 0000000..3fcd7e4
--- /dev/null
+++ b/Swift/QtUI/QtViewHistoryWindow.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2011 Vlad Voicu
+ * Licensed under the Simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+#pragma once
+
+#include <QWidget>
+
+#include <Swift/Controllers/UIInterfaces/ViewHistoryWindow.h>
+
+#include <Swiften/JID/JID.h>
+
+namespace Swift {
+ class QtViewHistoryWindow : public QWidget, public ViewHistoryWindow {
+ Q_OBJECT
+ public:
+ QtViewHistoryWindow();
+ void show();
+ void hide();
+ void setEnabled(bool b);
+
+ private:
+ JID jid_;
+ };
+}
+