diff options
Diffstat (limited to 'src/svnqt/revision.cpp')
-rw-r--r-- | src/svnqt/revision.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/svnqt/revision.cpp b/src/svnqt/revision.cpp index a89fae1..c34a819 100644 --- a/src/svnqt/revision.cpp +++ b/src/svnqt/revision.cpp @@ -34,7 +34,7 @@ #include "pool.hpp" // qt -#include "qdatetime.h" +#include "tqdatetime.h" namespace svn { @@ -71,7 +71,7 @@ namespace svn m_revision.value.number = 0; } - Revision::Revision (const int revnum, const QString&revstring) + Revision::Revision (const int revnum, const TQString&revstring) { m_revision.kind = svn_opt_revision_unspecified; @@ -83,13 +83,13 @@ namespace svn } } - Revision::Revision (const QString&revstring) + Revision::Revision (const TQString&revstring) { assign(revstring); } void - Revision::assign(const QString&revstring) + Revision::assign(const TQString&revstring) { m_revision.kind = svn_opt_revision_unspecified; if (revstring.isEmpty()) { @@ -112,14 +112,14 @@ namespace svn } void - Revision::assign(const QDateTime&dateTime) + Revision::assign(const TQDateTime&dateTime) { m_revision.kind = svn_opt_revision_date; DateTime dt(dateTime); m_revision.value.date = dt.GetAPRTimeT(); } - Revision& Revision::operator=(const QString&what) + Revision& Revision::operator=(const TQString&what) { assign(what); return *this; @@ -131,7 +131,7 @@ namespace svn m_revision.value.date = dateTime.GetAPRTimeT(); } - Revision::Revision (const QDateTime&dateTime) + Revision::Revision (const TQDateTime&dateTime) { assign(dateTime); } @@ -172,15 +172,15 @@ namespace svn } } - Revision::operator QString ()const + Revision::operator TQString ()const { return toString(); } - QString Revision::toString()const + TQString Revision::toString()const { - QString value; - QDateTime result; + TQString value; + TQDateTime result; switch (m_revision.kind) { case svn_opt_revision_number: value.sprintf("%li",m_revision.value.number); |