summaryrefslogtreecommitdiffstats
path: root/xparts/xpart_notepad/shell_xparthost.h
diff options
context:
space:
mode:
Diffstat (limited to 'xparts/xpart_notepad/shell_xparthost.h')
-rw-r--r--xparts/xpart_notepad/shell_xparthost.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/xparts/xpart_notepad/shell_xparthost.h b/xparts/xpart_notepad/shell_xparthost.h
new file mode 100644
index 00000000..02982326
--- /dev/null
+++ b/xparts/xpart_notepad/shell_xparthost.h
@@ -0,0 +1,29 @@
+#ifndef shell_xparthost_h
+#define shell_xparthost_h
+
+#include <kmainwindow.h>
+#include <kparts/mainwindow.h>
+#include <kdebug.h>
+
+class KProcess;
+
+class ShellWindow : public KParts::MainWindow
+{
+ Q_OBJECT
+
+public:
+ ShellWindow();
+ virtual ~ShellWindow();
+
+public slots:
+ void hop();
+
+ void slotOpenUrl( const QString &url );
+ void mergeGUI();
+
+private:
+ XPartHost_KPart *m_host;
+ KProcess *m_partProcess;
+};
+
+#endif