summaryrefslogtreecommitdiffstats
path: root/src/svnqt/svnqttypes.hpp
diff options
context:
space:
mode:
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
/*!