You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
725 B
32 lines
725 B
15 years ago
|
#include "kbrowsersignals.h"
|
||
|
#include "xparthost_kpart.h"
|
||
|
#include "xbrowserextension_stub.h"
|
||
|
#include <kurl.h>
|
||
|
|
||
|
KBrowserSignals::KBrowserSignals( XPartHost_KPart *_part, DCOPRef extension )
|
||
|
: KParts::BrowserExtension( _part )
|
||
|
{
|
||
13 years ago
|
tqDebug("KBrowserSignals constructor");
|
||
15 years ago
|
part = _part;
|
||
|
ext = new XBrowserExtension_stub( extension.app(), extension.object() );
|
||
|
ext->setBrowserSignals( DCOPRef( this ) );
|
||
|
}
|
||
|
|
||
|
KBrowserSignals::~KBrowserSignals()
|
||
|
{
|
||
|
delete ext;
|
||
|
}
|
||
|
|
||
13 years ago
|
void KBrowserSignals::openURLRequest( const TQCString &url)
|
||
15 years ago
|
{
|
||
13 years ago
|
KURL u = TQString(url);
|
||
15 years ago
|
emit KParts::BrowserExtension::openURLRequest(u);
|
||
|
}
|
||
|
|
||
13 years ago
|
void KBrowserSignals::createNewWindow( const TQCString &url )
|
||
15 years ago
|
{
|
||
|
}
|
||
|
|
||
|
#include "kbrowsersignals.moc"
|
||
|
|