From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: 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 --- src/tellico_map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tellico_map.h') 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 +#include /** * This file contains some template functions for maps @@ -27,8 +27,8 @@ namespace Tellico { * Reverse a map's keys and values */ template -QMap flipMap(const M& map_) { - QMap map; +TQMap flipMap(const M& map_) { + TQMap map; typename M::ConstIterator it = map_.begin(), end = map_.end(); for( ; it != end; ++it) { map.insert(it.data(), it.key()); -- cgit v1.2.1