static SignalCollection* getInstance();
signals:
- /*--------------------------------*/
-
- /* to : KitaMainWindow */
- void openURLRequest( const KURL& url, const KParts::URLArgs& args = KParts::URLArgs() );
/**
*
* @param url URL to open.
// allow the view to change the statusbar and caption
Kita::SignalCollection* signalCollection = Kita::SignalCollection::getInstance();
- connect( signalCollection, SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ),
- SLOT( slotOpenURLRequest( const KURL&, const KParts::URLArgs& ) ) );
-
connect( signalCollection, SIGNAL( openURLRequestExt( const KURL&, const QString ) ),
SLOT( slotOpenURLRequestExt( const KURL&, const QString ) ) );
}
}
-/* open url */ /* public slot */ /* obsolete */
-void KitaMainWindow::slotOpenURLRequest( const KURL& url, const KParts::URLArgs& args )
-{
- slotOpenURLRequestExt( url );
-}
-
/* open url */
/*
If mimetype == "text/html", open url with web browser.
void slotCheckSubjectToggleAction( bool check );
void slotCheckWriteToggleAction( bool check );
void slotEditCopy();
- void slotOpenURLRequest( const KURL& url, const KParts::URLArgs& );
void slotOpenURLRequestExt( const KURL& url, const QString mimetype = QString::null );
void slotURLLine();