diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnqt/commititem.hpp | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-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/commititem.hpp')
-rw-r--r-- | src/svnqt/commititem.hpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/svnqt/commititem.hpp b/src/svnqt/commititem.hpp index fc12def..5951e6f 100644 --- a/src/svnqt/commititem.hpp +++ b/src/svnqt/commititem.hpp @@ -37,7 +37,7 @@ namespace svn { /** @author Rajko Albrecht <ral@alwins-world.de> */ -class SVNQT_EXPORT CommitItem{ +class SVNTQT_EXPORT CommitItem{ private: void init(); @@ -45,7 +45,7 @@ private: protected: PropertiesMap m_CommitProperties; - QString m_Path,m_Url,m_CopyFromUrl; + TQString m_Path,m_Url,m_CopyFromUrl; svn_node_kind_t m_Kind; svn_revnum_t m_Revision,m_CopyFromRevision; apr_byte_t m_State; @@ -68,9 +68,9 @@ public: */ ~CommitItem(); - const QString& path()const; - const QString& url()const; - const QString& copyfromurl()const; + const TQString& path()const; + const TQString& url()const; + const TQString& copyfromurl()const; const PropertiesMap& properties()const; svn_revnum_t revision()const; svn_revnum_t copyfromrevision()const; @@ -91,11 +91,7 @@ public: char actionType()const; }; -#if QT_VERSION < 0x040000 - typedef QValueList<CommitItem> CommitItemList; -#else - typedef QList<CommitItem> CommitItemList; -#endif + typedef TQValueList<CommitItem> CommitItemList; } #endif |