summaryrefslogtreecommitdiffstats
path: root/src/tellico_map.h
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/tellico_map.h
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/tellico_map.h')
-rw-r--r--src/tellico_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tellico_map.h b/src/tellico_map.h
index 75ceb32..8f41b9d 100644
--- a/src/tellico_map.h
+++ b/src/tellico_map.h
@@ -14,7 +14,7 @@
#ifndef TELLICO_MAP_H
#define TELLICO_MAP_H
-#include <qmap.h>
+#include <tqmap.h>
/**
* This file contains some template functions for maps
@@ -27,8 +27,8 @@ namespace Tellico {
* Reverse a map's keys and values
*/
template<class M>
-QMap<typename M::T, typename M::Key> flipMap(const M& map_) {
- QMap<typename M::T, typename M::Key> map;
+TQMap<typename M::T, typename M::Key> flipMap(const M& map_) {
+ TQMap<typename M::T, typename M::Key> map;
typename M::ConstIterator it = map_.begin(), end = map_.end();
for( ; it != end; ++it) {
map.insert(it.data(), it.key());