summaryrefslogtreecommitdiffstats
path: root/src/svnqt
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnqt')
-rw-r--r--src/svnqt/annotate_line.h6
-rw-r--r--src/svnqt/datetime.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/svnqt/annotate_line.h b/src/svnqt/annotate_line.h
index 4bd2c01..0a03e97 100644
--- a/src/svnqt/annotate_line.h
+++ b/src/svnqt/annotate_line.h
@@ -49,7 +49,7 @@ namespace svn
const char *date,
const char *line)
: m_line_no (line_no), m_revision (revision),
- m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),Qt::ISODate):TQDateTime()),
+ m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),TQt::ISODate):TQDateTime()),
m_line(line?line:""),m_author(author?author:""),
m_merge_revision(-1),
m_merge_date(TQDateTime()),
@@ -69,10 +69,10 @@ namespace svn
const char *merge_path
)
: m_line_no (line_no), m_revision (revision),
- m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),Qt::ISODate):TQDateTime()),
+ m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),TQt::ISODate):TQDateTime()),
m_line(line?line:""),m_author(author?author:""),
m_merge_revision(merge_revision),
- m_merge_date( (merge_date&&strlen(merge_date))?TQDateTime::fromString(TQString::FROMUTF8(merge_date),Qt::ISODate):TQDateTime()),
+ m_merge_date( (merge_date&&strlen(merge_date))?TQDateTime::fromString(TQString::FROMUTF8(merge_date),TQt::ISODate):TQDateTime()),
m_merge_author(merge_author?merge_author:""),m_merge_path(merge_path?merge_path:"")
{
}
diff --git a/src/svnqt/datetime.cpp b/src/svnqt/datetime.cpp
index 6c0c269..22db8c5 100644
--- a/src/svnqt/datetime.cpp
+++ b/src/svnqt/datetime.cpp
@@ -140,8 +140,8 @@ namespace svn
void DateTime::setAprTime(apr_time_t aTime)
{
- if (aTime<0)m_time.setTime_t(0,Qt::LocalTime);
- else m_time.setTime_t(aTime/(1000*1000),Qt::LocalTime);
+ if (aTime<0)m_time.setTime_t(0,TQt::LocalTime);
+ else m_time.setTime_t(aTime/(1000*1000),TQt::LocalTime);
}
TQString DateTime::toString(const TQString&format)const