summaryrefslogtreecommitdiffstats
path: root/libkcal/calformat.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/calformat.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/calformat.cpp')
-rw-r--r--libkcal/calformat.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkcal/calformat.cpp b/libkcal/calformat.cpp
index 642eefeba..6ec0260cd 100644
--- a/libkcal/calformat.cpp
+++ b/libkcal/calformat.cpp
@@ -27,8 +27,8 @@
using namespace KCal;
-QString CalFormat::mApplication = QString::fromLatin1("libkcal");
-QString CalFormat::mProductId = QString::fromLatin1("-//K Desktop Environment//NONSGML libkcal 3.5//EN");
+TQString CalFormat::mApplication = TQString::fromLatin1("libkcal");
+TQString CalFormat::mProductId = TQString::fromLatin1("-//K Desktop Environment//NONSGML libkcal 3.5//EN");
CalFormat::CalFormat()
@@ -58,18 +58,18 @@ ErrorFormat *CalFormat::exception()
return mException;
}
-void CalFormat::setApplication(const QString& application, const QString& productID)
+void CalFormat::setApplication(const TQString& application, const TQString& productID)
{
mApplication = application;
mProductId = productID;
}
-QString CalFormat::createUniqueId()
+TQString CalFormat::createUniqueId()
{
- int hashTime = QTime::currentTime().hour() +
- QTime::currentTime().minute() + QTime::currentTime().second() +
- QTime::currentTime().msec();
- QString uidStr = QString("%1-%2.%3")
+ int hashTime = TQTime::currentTime().hour() +
+ TQTime::currentTime().minute() + TQTime::currentTime().second() +
+ TQTime::currentTime().msec();
+ TQString uidStr = TQString("%1-%2.%3")
.arg(mApplication)
.arg(KApplication::random())
.arg(hashTime);