diff options
Diffstat (limited to 'khelpcenter/view.cpp')
-rw-r--r-- | khelpcenter/view.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/khelpcenter/view.cpp b/khelpcenter/view.cpp index cf6f90f66..49135e0b0 100644 --- a/khelpcenter/view.cpp +++ b/khelpcenter/view.cpp @@ -35,10 +35,10 @@ View::View( TQWidget *parentWidget, const char *widgetName, m_zoomStepping = 10; - connect( this, TQT_SIGNAL( setWindowCaption( const TQString & ) ), - this, TQT_SLOT( setTitle( const TQString & ) ) ); - connect( this, TQT_SIGNAL( popupMenu( const TQString &, const TQPoint& ) ), - this, TQT_SLOT( showMenu( const TQString &, const TQPoint& ) ) ); + connect( this, TQ_SIGNAL( setWindowCaption( const TQString & ) ), + this, TQ_SLOT( setTitle( const TQString & ) ) ); + connect( this, TQ_SIGNAL( popupMenu( const TQString &, const TQPoint& ) ), + this, TQ_SLOT( showMenu( const TQString &, const TQPoint& ) ) ); TQString css = langLookup("common/tde-default.css"); if (!css.isEmpty()) @@ -267,7 +267,7 @@ void View::showMenu( const TQString& url, const TQPoint& pos) } else { - pop->insertItem(i18n("Copy Link Address"), this, TQT_SLOT(slotCopyLink())); + pop->insertItem(i18n("Copy Link Address"), this, TQ_SLOT(slotCopyLink())); mCopyURL = completeURL(url).url(); } @@ -329,7 +329,7 @@ bool View::eventFilter( TQObject *o, TQEvent *e ) htmlDocument().links().length() == 0 ) return TDEHTMLPart::eventFilter( o, e ); - TQKeyEvent *ke = TQT_TQKEYEVENT( e ); + TQKeyEvent *ke = static_cast<TQKeyEvent*>( e ); if ( ke->state() & TQt::ShiftButton && ke->key() == Key_Space ) { // If we're on the first page, it does not make sense to go back. if ( baseURL().path().endsWith( "/index.html" ) ) @@ -385,4 +385,3 @@ void View::slotReload( const KURL &url ) } #include "view.moc" -// vim:ts=2:sw=2:et |