diff options
Diffstat (limited to 'src/svnqt/log_entry.hpp')
-rw-r--r-- | src/svnqt/log_entry.hpp | 68 |
1 files changed, 28 insertions, 40 deletions
diff --git a/src/svnqt/log_entry.hpp b/src/svnqt/log_entry.hpp index cc33f60..91f694c 100644 --- a/src/svnqt/log_entry.hpp +++ b/src/svnqt/log_entry.hpp @@ -34,21 +34,13 @@ #include "svnqt/svnqt_defines.hpp" #include "svnqt/datetime.hpp" -//Qt -#include <qglobal.h> +//TQt +#include <tqglobal.h> -#if QT_VERSION < 0x040000 - -#include <qglobal.h> -#include <qstring.h> -#include <qvaluelist.h> -#include <qmap.h> - -#else - -#include <QtCore> - -#endif +#include <tqglobal.h> +#include <tqstring.h> +#include <tqvaluelist.h> +#include <tqmap.h> // apr #include "apr_time.h" @@ -60,7 +52,7 @@ namespace svn { - class SVNQT_EXPORT LogChangePathEntry + class SVNTQT_EXPORT LogChangePathEntry { public: LogChangePathEntry (const char *path_, @@ -68,38 +60,34 @@ namespace svn const char *copyFromPath_, const svn_revnum_t copyFromRevision_); - LogChangePathEntry (const QString &path_, + LogChangePathEntry (const TQString &path_, char action_, - const QString ©FromPath_, + const TQString ©FromPath_, const svn_revnum_t copyFromRevision_); - LogChangePathEntry (const QString &path_, + LogChangePathEntry (const TQString &path_, char action_, - const QString ©FromPath_, + const TQString ©FromPath_, const svn_revnum_t copyFromRevision_, - const QString ©ToPath_, + const TQString ©ToPath_, const svn_revnum_t copyToRevision_); LogChangePathEntry(); - QString path; + TQString path; char action; - QString copyFromPath; + TQString copyFromPath; //! future use or useful in backends - QString copyToPath; + TQString copyToPath; - QLONG copyFromRevision; + TQLONG copyFromRevision; //! future use or useful in backends - QLONG copyToRevision; + TQLONG copyToRevision; }; -#if QT_VERSION < 0x040000 - typedef QValueList<LogChangePathEntry> LogChangePathEntries; -#else - typedef QList<LogChangePathEntry> LogChangePathEntries; -#endif + typedef TQValueList<LogChangePathEntry> LogChangePathEntries; - class SVNQT_EXPORT LogEntry + class SVNTQT_EXPORT LogEntry { public: LogEntry (); @@ -114,20 +102,20 @@ namespace svn void setDate(const char*date); //! if -1 the entry is a fake entry and not real usable! - QLONG revision; - QLONG date; - QString author; - QString message; + TQLONG revision; + TQLONG date; + TQString author; + TQString message; LogChangePathEntries changedPaths; - QLIST<QLONG> m_MergedInRevisions; + TQLIST<TQLONG> m_MergedInRevisions; }; } -SVNQT_EXPORT QDataStream &operator<<(QDataStream&s,const svn::LogEntry&r); -SVNQT_EXPORT QDataStream &operator<<(QDataStream&s,const svn::LogChangePathEntry&r); +SVNTQT_EXPORT TQDataStream &operator<<(TQDataStream&s,const svn::LogEntry&r); +SVNTQT_EXPORT TQDataStream &operator<<(TQDataStream&s,const svn::LogChangePathEntry&r); -SVNQT_EXPORT QDataStream &operator>>(QDataStream&s,svn::LogEntry&r); -SVNQT_EXPORT QDataStream &operator>>(QDataStream&s,svn::LogChangePathEntry&r); +SVNTQT_EXPORT TQDataStream &operator>>(TQDataStream&s,svn::LogEntry&r); +SVNTQT_EXPORT TQDataStream &operator>>(TQDataStream&s,svn::LogChangePathEntry&r); #endif /* ----------------------------------------------------------------- |