summaryrefslogtreecommitdiffstats
path: root/khelpcenter/history.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /khelpcenter/history.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'khelpcenter/history.cpp')
-rw-r--r--khelpcenter/history.cpp12
1 files changed, 6 insertions, 6 deletions
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<KGuiItem, KGuiItem> 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<TQPopupMenu *>(
mainWindow->guiFactory()->container( "go_web", mainWindow ) );
@@ -256,7 +256,7 @@ void History::fillForwardMenu()
void History::fillGoMenu()
{
- KMainWindow *mainWindow = static_cast<KMainWindow *>( kapp->mainWidget() );
+ TDEMainWindow *mainWindow = static_cast<TDEMainWindow *>( kapp->mainWidget() );
TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( 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<KMainWindow *>( kapp->mainWidget() );
+ TDEMainWindow *mainWindow = static_cast<TDEMainWindow *>( kapp->mainWidget() );
TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) );
if ( !goMenu )
return;