summaryrefslogtreecommitdiffstats
path: root/xparts/xpart_notepad/shell_xparthost.h
blob: 0298232680559ec917ddd15a9aa576ce564fea77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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