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/datetime.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/datetime.hpp')
-rw-r--r-- | src/svnqt/datetime.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/svnqt/datetime.hpp b/src/svnqt/datetime.hpp index 06fedb4..b1ebec4 100644 --- a/src/svnqt/datetime.hpp +++ b/src/svnqt/datetime.hpp @@ -33,7 +33,7 @@ #include "svnqt/svnqt_defines.hpp" -#include <qdatetime.h> +#include <tqdatetime.h> // subversion api #include "svn_types.h" @@ -46,10 +46,10 @@ namespace svn * * @see apr_time_t */ - class SVNQT_EXPORT DateTime + class SVNTQT_EXPORT DateTime { private: - QDateTime m_time; + TQDateTime m_time; public: @@ -68,9 +68,9 @@ namespace svn /** * Constructor * - * @param dt QDateTime class + * @param dt TQDateTime class */ - DateTime(const QDateTime&dt); + DateTime(const TQDateTime&dt); /** * Copy constructor @@ -123,21 +123,21 @@ namespace svn GetAPRTimeT () const; /** - * @return QDateTime object + * @return TQDateTime object */ - operator const QDateTime&()const; + operator const TQDateTime&()const; /** - * @return QDateTime object + * @return TQDateTime object */ - const QDateTime&toQDateTime()const; + const TQDateTime&toTQDateTime()const; /** * @param format format string * @return formatted string - * @see QDateTime::toString + * @see TQDateTime::toString */ - QString toString(const QString&format)const; + TQString toString(const TQString&format)const; /** * Set from date string of the form below, using apr_date_parse_rfc |