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 /kbfxlib/data/kbfxdatastack.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 'kbfxlib/data/kbfxdatastack.cpp')
-rw-r--r-- | kbfxlib/data/kbfxdatastack.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbfxlib/data/kbfxdatastack.cpp b/kbfxlib/data/kbfxdatastack.cpp index 2d84e02..2b28ba0 100644 --- a/kbfxlib/data/kbfxdatastack.cpp +++ b/kbfxlib/data/kbfxdatastack.cpp @@ -48,18 +48,18 @@ KbfxDataStack::addGroupList ( KbfxDataGroupList * list ) m_count++; } -QStringList +TQStringList KbfxDataStack::getStackIndex() { return m_nameList; } KbfxDataGroupList * -KbfxDataStack::getStack ( QString name ) +KbfxDataStack::getStack ( TQString name ) { - if ( m_nameList.contains ( name ) >0 ) + if ( m_nameList.tqcontains ( name ) >0 ) return m_stack[name]; else { @@ -68,7 +68,7 @@ KbfxDataStack::getStack ( QString name ) } -QString +TQString KbfxDataStack::getSubGroupName ( uint id ) { @@ -79,6 +79,6 @@ KbfxDataStack::getSubGroupName ( uint id ) return it.key(); } - return QString ( "Empty" ); + return TQString ( "Empty" ); } |