diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kpilot/lib/pilotMemo.cc | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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 'kpilot/lib/pilotMemo.cc')
-rw-r--r-- | kpilot/lib/pilotMemo.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpilot/lib/pilotMemo.cc b/kpilot/lib/pilotMemo.cc index 0ce09f8a..946a995b 100644 --- a/kpilot/lib/pilotMemo.cc +++ b/kpilot/lib/pilotMemo.cc @@ -28,7 +28,7 @@ #include "options.h" -#include <qnamespace.h> +#include <tqnamespace.h> #include "pilotMemo.h" #include "pilotDatabase.h" @@ -74,7 +74,7 @@ PilotRecord *PilotMemo::pack() } -QString PilotMemo::getTextRepresentation(Qt::TextFormat richText) +TQString PilotMemo::getTextRepresentation(Qt::TextFormat richText) { if (richText==Qt::RichText) { @@ -88,19 +88,19 @@ QString PilotMemo::getTextRepresentation(Qt::TextFormat richText) } -QString PilotMemo::getTitle() const +TQString PilotMemo::getTitle() const { - if (fText.isEmpty()) return QString::null; + if (fText.isEmpty()) return TQString::null; int memoTitleLen = fText.find('\n'); if (-1 == memoTitleLen) memoTitleLen=fText.length(); return fText.left(memoTitleLen); } -QString PilotMemo::shortTitle() const +TQString PilotMemo::shortTitle() const { FUNCTIONSETUP; - QString t = QString(getTitle()).simplifyWhiteSpace(); + TQString t = TQString(getTitle()).simplifyWhiteSpace(); if (t.length() < 32) return t; @@ -118,10 +118,10 @@ QString PilotMemo::shortTitle() const return t; } -QString PilotMemo::sensibleTitle() const +TQString PilotMemo::sensibleTitle() const { FUNCTIONSETUP; - QString s = getTitle(); + TQString s = getTitle(); if (!s.isEmpty()) { |