diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxplasmacanvasstack.cpp | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
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
Diffstat (limited to 'src/kbfxplasmacanvasstack.cpp')
-rw-r--r-- | src/kbfxplasmacanvasstack.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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(); |