summaryrefslogtreecommitdiffstats
path: root/src/svnqt/svnqttypes.hpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnqt/svnqttypes.hpp
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnqt/svnqttypes.hpp')
-rw-r--r--src/svnqt/svnqttypes.hpp48
1 files changed, 22 insertions, 26 deletions
diff --git a/src/svnqt/svnqttypes.hpp b/src/svnqt/svnqttypes.hpp
index b3c6381..dc7a178 100644
--- a/src/svnqt/svnqttypes.hpp
+++ b/src/svnqt/svnqttypes.hpp
@@ -18,23 +18,19 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef _SVNQT_TYPES_HPP
-#define _SVNQT_TYPES_HPP
+#ifndef _SVNTQT_TYPES_HPP
+#define _SVNTQT_TYPES_HPP
#include "svnqt/svnqt_defines.hpp"
#include "svnqt/shared_pointer.hpp"
// qt
-#include <qglobal.h>
+#include <tqglobal.h>
-#if QT_VERSION < 0x040000
- #include <qstring.h>
- #include <qpair.h>
- #include <qvaluelist.h>
- #include <qmap.h>
-#else
- #include <QtCore>
-#endif
+#include <tqstring.h>
+#include <tqpair.h>
+#include <tqvaluelist.h>
+#include <tqmap.h>
namespace svn
{
@@ -45,45 +41,45 @@ namespace svn
class InfoEntry;
class LogEntry;
class Revision;
- class Status;
+ class tqStatus;
class Targets;
class Path;
class StringArray;
- typedef QLIST<AnnotateLine> AnnotatedFile;
+ typedef TQLIST<AnnotateLine> AnnotatedFile;
typedef SharedPointer<DirEntry> DirEntryPtr;
- typedef QLIST<DirEntryPtr> DirEntries;
- typedef QLIST<InfoEntry> InfoEntries;
+ typedef TQLIST<DirEntryPtr> DirEntries;
+ typedef TQLIST<InfoEntry> InfoEntries;
/// simple list of log entries
- typedef QLIST<LogEntry> LogEntries;
+ typedef TQLIST<LogEntry> LogEntries;
/// shared_pointer for LogEntriesMap
typedef SharedPointer<LogEntries> LogEntriesPtr;
/// map of logentries - key is revision
- typedef QMap<long,LogEntry> LogEntriesMap;
+ typedef TQMap<long,LogEntry> LogEntriesMap;
/// shared_pointer for LogEntriesMap
typedef SharedPointer<LogEntriesMap> LogEntriesMapPtr;
- typedef SharedPointer<Status> StatusPtr;
- typedef QLIST<StatusPtr> StatusEntries;
- typedef QLIST<Revision> Revisions;
+ typedef SharedPointer<tqStatus> StatusPtr;
+ typedef TQLIST<StatusPtr> StatusEntries;
+ typedef TQLIST<Revision> Revisions;
/** Range of Revision */
- typedef QPair<Revision,Revision> RevisionRange;
+ typedef TQPair<Revision,Revision> RevisionRange;
/** list of revision ranges */
- typedef QLIST<RevisionRange> RevisionRanges;
+ typedef TQLIST<RevisionRange> RevisionRanges;
/// map of property names to values
- typedef QMap<QString,QString> PropertiesMap;
+ typedef TQMap<TQString,TQString> PropertiesMap;
/// pair of path, PropertiesMap
- typedef QPair<QString, PropertiesMap> PathPropertiesMapEntry;
+ typedef TQPair<TQString, PropertiesMap> PathPropertiesMapEntry;
/// vector of path, Properties pairs
- typedef QLIST<PathPropertiesMapEntry> PathPropertiesMapList;
+ typedef TQLIST<PathPropertiesMapEntry> PathPropertiesMapList;
/// shared pointer for properties
typedef SharedPointer<PathPropertiesMapList> PathPropertiesMapListPtr;
- typedef QLIST<Path> Pathes;
+ typedef TQLIST<Path> Pathes;
//! Mapper enum for svn_depth_t
/*!