From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- khelpcenter/history.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'khelpcenter/history.cpp') diff --git a/khelpcenter/history.cpp b/khelpcenter/history.cpp index 123727ab9..1a5218da2 100644 --- a/khelpcenter/history.cpp +++ b/khelpcenter/history.cpp @@ -51,11 +51,11 @@ History::~History() { } -void History::setupActions( KActionCollection *coll ) +void History::setupActions( TDEActionCollection *coll ) { TQPair backForward = KStdGuiItem::backAndForward(); - m_backAction = new KToolBarPopupAction( backForward.first, ALT+Key_Left, + m_backAction = new TDEToolBarPopupAction( backForward.first, ALT+Key_Left, this, TQT_SLOT( back() ), coll, "back" ); connect( m_backAction->popupMenu(), TQT_SIGNAL( activated( int ) ), TQT_SLOT( backActivated( int ) ) ); @@ -63,7 +63,7 @@ void History::setupActions( KActionCollection *coll ) TQT_SLOT( fillBackMenu() ) ); m_backAction->setEnabled( false ); - m_forwardAction = new KToolBarPopupAction( backForward.second, ALT+Key_Right, + m_forwardAction = new TDEToolBarPopupAction( backForward.second, ALT+Key_Right, this, TQT_SLOT( forward() ), coll, "forward" ); connect( m_forwardAction->popupMenu(), TQT_SIGNAL( activated( int ) ), @@ -73,7 +73,7 @@ void History::setupActions( KActionCollection *coll ) m_forwardAction->setEnabled( false ); } -void History::installMenuBarHook( KMainWindow *mainWindow ) +void History::installMenuBarHook( TDEMainWindow *mainWindow ) { TQPopupMenu *goMenu = dynamic_cast( mainWindow->guiFactory()->container( "go_web", mainWindow ) ); @@ -256,7 +256,7 @@ void History::fillForwardMenu() void History::fillGoMenu() { - KMainWindow *mainWindow = static_cast( kapp->mainWidget() ); + TDEMainWindow *mainWindow = static_cast( kapp->mainWidget() ); TQPopupMenu *goMenu = dynamic_cast( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) ); if ( !goMenu || m_goMenuIndex == -1 ) return; @@ -289,7 +289,7 @@ void History::fillGoMenu() void History::goMenuActivated( int id ) { - KMainWindow *mainWindow = static_cast( kapp->mainWidget() ); + TDEMainWindow *mainWindow = static_cast( kapp->mainWidget() ); TQPopupMenu *goMenu = dynamic_cast( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) ); if ( !goMenu ) return; -- cgit v1.2.3