diff options
Diffstat (limited to 'libkcal/calformat.cpp')
-rw-r--r-- | libkcal/calformat.cpp | 16 |
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); |