diff options
Diffstat (limited to 'xparts/src/kde/kbrowsersignals.cpp')
-rw-r--r-- | xparts/src/kde/kbrowsersignals.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xparts/src/kde/kbrowsersignals.cpp b/xparts/src/kde/kbrowsersignals.cpp new file mode 100644 index 00000000..f96655f0 --- /dev/null +++ b/xparts/src/kde/kbrowsersignals.cpp @@ -0,0 +1,31 @@ +#include "kbrowsersignals.h" +#include "xparthost_kpart.h" +#include "xbrowserextension_stub.h" +#include <kurl.h> + +KBrowserSignals::KBrowserSignals( XPartHost_KPart *_part, DCOPRef extension ) + : KParts::BrowserExtension( _part ) +{ + qDebug("KBrowserSignals constructor"); + part = _part; + ext = new XBrowserExtension_stub( extension.app(), extension.object() ); + ext->setBrowserSignals( DCOPRef( this ) ); +} + +KBrowserSignals::~KBrowserSignals() +{ + delete ext; +} + +void KBrowserSignals::openURLRequest( const QCString &url) +{ + KURL u = QString(url); + emit KParts::BrowserExtension::openURLRequest(u); +} + +void KBrowserSignals::createNewWindow( const QCString &url ) +{ +} + +#include "kbrowsersignals.moc" + |