diff options
Diffstat (limited to 'src/gui/collectiontypecombo.cpp')
-rw-r--r-- | src/gui/collectiontypecombo.cpp | 8 |
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 |