summaryrefslogtreecommitdiffstats
path: root/kparts/tests/ghostview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/tests/ghostview.h')
-rw-r--r--kparts/tests/ghostview.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kparts/tests/ghostview.h b/kparts/tests/ghostview.h
new file mode 100644
index 000000000..5d99d4f0e
--- /dev/null
+++ b/kparts/tests/ghostview.h
@@ -0,0 +1,22 @@
+#ifndef __example_h__
+#define __example_h__
+
+#include <kparts/mainwindow.h>
+
+class Shell : public KParts::MainWindow
+{
+ Q_OBJECT
+public:
+ Shell();
+ virtual ~Shell();
+
+ void openURL( const KURL & url );
+
+protected slots:
+ void slotFileOpen();
+
+private:
+ KParts::ReadOnlyPart *m_gvpart;
+};
+
+#endif