summaryrefslogtreecommitdiffstats
path: root/src/gui/collectiontypecombo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/gui/collectiontypecombo.cpp
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/collectiontypecombo.cpp')
-rw-r--r--src/gui/collectiontypecombo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/collectiontypecombo.cpp b/src/gui/collectiontypecombo.cpp
index 66749a3..727d26f 100644
--- a/src/gui/collectiontypecombo.cpp
+++ b/src/gui/collectiontypecombo.cpp
@@ -17,7 +17,7 @@
using Tellico::GUI::CollectionTypeCombo;
-CollectionTypeCombo::CollectionTypeCombo(QWidget* parent_) : ComboBox(parent_) {
+CollectionTypeCombo::CollectionTypeCombo(TQWidget* tqparent_) : ComboBox(tqparent_) {
reset();
}
@@ -25,12 +25,12 @@ void CollectionTypeCombo::reset() {
clear();
// I want to sort the collection names
const CollectionNameMap nameMap = CollectionFactory::nameMap();
- QMap<QString, int> rNameMap;
+ TQMap<TQString, int> rNameMap;
for(CollectionNameMap::ConstIterator it = nameMap.begin(); it != nameMap.end(); ++it) {
rNameMap.insert(it.data(), it.key());
}
- const QValueList<int> collTypes = rNameMap.values();
- const QStringList collNames = rNameMap.keys();
+ const TQValueList<int> collTypes = rNameMap.values();
+ const TQStringList collNames = rNameMap.keys();
int custom = -1;
const int total = collTypes.count();
// when i equals the size, then go back and do custom