summaryrefslogtreecommitdiffstats
path: root/kbfxlib/data/kbfxdatastack.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /kbfxlib/data/kbfxdatastack.cpp
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-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.cpp10
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" );
}