summaryrefslogtreecommitdiffstats
path: root/kppp/logview/loginfo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/logview/loginfo.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/logview/loginfo.cpp')
-rw-r--r--kppp/logview/loginfo.cpp18
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: