From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- kalarm/alarmtext.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kalarm/alarmtext.cpp') diff --git a/kalarm/alarmtext.cpp b/kalarm/alarmtext.cpp index c030c384f..8bd1d6847 100644 --- a/kalarm/alarmtext.cpp +++ b/kalarm/alarmtext.cpp @@ -32,17 +32,17 @@ TQString AlarmText::mToPrefix; TQString AlarmText::mCcPrefix; TQString AlarmText::mDatePrefix; TQString AlarmText::mSubjectPrefix; -TQString AlarmText::mFromPrefixEn = TQString::fromLatin1("From:"); -TQString AlarmText::mToPrefixEn = TQString::fromLatin1("To:"); -TQString AlarmText::mCcPrefixEn = TQString::fromLatin1("Cc:"); -TQString AlarmText::mDatePrefixEn = TQString::fromLatin1("Date:"); -TQString AlarmText::mSubjectPrefixEn = TQString::fromLatin1("Subject:"); +TQString AlarmText::mFromPrefixEn = TQString::tqfromLatin1("From:"); +TQString AlarmText::mToPrefixEn = TQString::tqfromLatin1("To:"); +TQString AlarmText::mCcPrefixEn = TQString::tqfromLatin1("Cc:"); +TQString AlarmText::mDatePrefixEn = TQString::tqfromLatin1("Date:"); +TQString AlarmText::mSubjectPrefixEn = TQString::tqfromLatin1("Subject:"); void AlarmText::setText(const TQString& text) { mBody = text; - mIsScript = text.startsWith(TQString::fromLatin1("#!")); + mIsScript = text.startsWith(TQString::tqfromLatin1("#!")); mIsEmail = false; mTo = mFrom = mCc = mTime = mSubject = TQString(); mKMailSerialNum = 0; @@ -284,5 +284,5 @@ TQString AlarmText::summary(const KAEvent& event, int maxLines, bool* truncated) return text.left(newline); // text ends in newline if (truncated) *truncated = true; - return text.left(newline + (maxLines <= 1 ? 0 : 1)) + TQString::fromLatin1("..."); + return text.left(newline + (maxLines <= 1 ? 0 : 1)) + TQString::tqfromLatin1("..."); } -- cgit v1.2.1