From 421b60af92c83b889f8903c2898f2bd07186fcd8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 May 2011 22:07:15 +0000 Subject: TQt4 port kbfx This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kbfxplasmacanvasstack.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kbfxplasmacanvasstack.cpp') diff --git a/src/kbfxplasmacanvasstack.cpp b/src/kbfxplasmacanvasstack.cpp index bfe5b36..4ce38cb 100644 --- a/src/kbfxplasmacanvasstack.cpp +++ b/src/kbfxplasmacanvasstack.cpp @@ -81,10 +81,10 @@ KbfxPlasmaCanvasStack::raise ( uint id ) bool -KbfxPlasmaCanvasStack::contains ( QString name ) +KbfxPlasmaCanvasStack::tqcontains ( TQString name ) { //FIXME:Depricated Data Structure Needs fixing - if ( m_dict.contains ( name ) == true ) + if ( m_dict.tqcontains ( name ) == true ) return true; else return false; @@ -131,7 +131,7 @@ KbfxPlasmaCanvasStack::hide() void -KbfxPlasmaCanvasStack::raiseByName ( QString name ) +KbfxPlasmaCanvasStack::raiseByName ( TQString name ) { for ( uint i = 0; i < m_groupChain.count (); ++i ) { @@ -154,7 +154,7 @@ KbfxPlasmaCanvasStack::raiseByName ( QString name ) KbfxPlasmaCanvasGroupView * -KbfxPlasmaCanvasStack::activeViewByName ( QString name ) +KbfxPlasmaCanvasStack::activeViewByName ( TQString name ) { @@ -170,7 +170,7 @@ KbfxPlasmaCanvasStack::activeViewByName ( QString name ) } -QString +TQString KbfxPlasmaCanvasStack::getItemName ( int id ) { return m_groupChain.at ( id )->name(); -- cgit v1.2.1