diff options
Diffstat (limited to 'xparts/src/tde/kbrowsersignals.cpp')
-rw-r--r-- | xparts/src/tde/kbrowsersignals.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xparts/src/tde/kbrowsersignals.cpp b/xparts/src/tde/kbrowsersignals.cpp new file mode 100644 index 00000000..59a688e4 --- /dev/null +++ b/xparts/src/tde/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 ) +{ + tqDebug("KBrowserSignals constructor"); + part = _part; + ext = new XBrowserExtension_stub( extension.app(), extension.object() ); + ext->setBrowserSignals( DCOPRef( this ) ); +} + +KBrowserSignals::~KBrowserSignals() +{ + delete ext; +} + +void KBrowserSignals::openURLRequest( const TQCString &url) +{ + KURL u = TQString(url); + emit KParts::BrowserExtension::openURLRequest(u); +} + +void KBrowserSignals::createNewWindow( const TQCString &url ) +{ +} + +#include "kbrowsersignals.moc" + |