diff options
Diffstat (limited to 'kppp/logview/loginfo.cpp')
-rw-r--r-- | kppp/logview/loginfo.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kppp/logview/loginfo.cpp b/kppp/logview/loginfo.cpp index 9544f389..321ce7c5 100644 --- a/kppp/logview/loginfo.cpp +++ b/kppp/logview/loginfo.cpp @@ -33,27 +33,27 @@ char *mystrsep (char **stringp, const char *delim); -LogInfo::LogInfo(QCString data) { +LogInfo::LogInfo(TQCString data) { parse(data); } -QDateTime LogInfo::from() const { - QDateTime tm; +TQDateTime LogInfo::from() const { + TQDateTime tm; tm.setTime_t(_from); return tm; } -QDateTime LogInfo::until() const { - QDateTime tm; +TQDateTime LogInfo::until() const { + TQDateTime tm; tm.setTime_t(_until); return tm; } -QString LogInfo::connectionName() const { +TQString LogInfo::connectionName() const { return _conname; } -QString LogInfo::currency() const { +TQString LogInfo::currency() const { return _currency; } @@ -84,7 +84,7 @@ int LogInfo::error() const { return errorfield; } -void LogInfo::parse(QCString s) { +void LogInfo::parse(TQCString s) { errorfield = 0; char *c = (char *)malloc(s.length() + 1), *csep; strcpy(c, s); @@ -101,7 +101,7 @@ void LogInfo::parse(QCString s) { char *p = mystrsep(&csep, ":"); int i = 0; while(i < 8 && p != 0) { - QString token = QString::fromLocal8Bit(p); + TQString token = TQString::fromLocal8Bit(p); switch(i) { case 0: |