summaryrefslogtreecommitdiffstats
path: root/xparts/src/kde/kbrowsersignals.h
blob: 6ef3143307459d646e140aa4f2d6427fc2dc2c57 (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
#ifndef __kbrowsersignals_h__
#define __kbrowsersignals_h__

#include <xbrowsersignals.h>
#include <kparts/browserextension.h>
#include <dcopref.h>

class XBrowserExtension_stub;
class XPartHost_KPart;

class KBrowserSignals : public KParts::BrowserExtension, virtual public XBrowserSignals
{
    Q_OBJECT
public:
    KBrowserSignals( XPartHost_KPart *part, DCOPRef ref );
    virtual ~KBrowserSignals();


    virtual ASYNC openURLRequest( const TTQCString &url);
    virtual ASYNC createNewWindow( const TTQCString &url );

protected:
    XPartHost_KPart *part;
    XBrowserExtension_stub *ext;
};

#endif