summaryrefslogtreecommitdiffstats
path: root/lib/pilotMemo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pilotMemo.cc')
-rw-r--r--lib/pilotMemo.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/pilotMemo.cc b/lib/pilotMemo.cc
index 946a995..fab0ae8 100644
--- a/lib/pilotMemo.cc
+++ b/lib/pilotMemo.cc
@@ -74,25 +74,25 @@ PilotRecord *PilotMemo::pack()
}
-TQString PilotMemo::getTextRepresentation(Qt::TextFormat richText)
+TQString PilotMemo::getTextRepresentation(TQt::TextFormat richText)
{
- if (richText==Qt::RichText)
+ if (richText==TQt::RichText)
{
return i18n("<i>Title:</i> %1<br>\n<i>MemoText:</i><br>%2").
- arg(rtExpand(getTitle(), richText)).arg(rtExpand(text(), richText));
+ tqarg(rtExpand(getTitle(), richText)).tqarg(rtExpand(text(), richText));
}
else
{
- return i18n("Title: %1\nMemoText:\n%2").arg(getTitle()).arg(text());
+ return i18n("Title: %1\nMemoText:\n%2").tqarg(getTitle()).tqarg(text());
}
}
TQString PilotMemo::getTitle() const
{
- if (fText.isEmpty()) return TQString::null;
+ if (fText.isEmpty()) return TQString();
- int memoTitleLen = fText.find('\n');
+ int memoTitleLen = fText.tqfind('\n');
if (-1 == memoTitleLen) memoTitleLen=fText.length();
return fText.left(memoTitleLen);
}
@@ -106,7 +106,7 @@ TQString PilotMemo::shortTitle() const
return t;
t.truncate(40);
- int spaceIndex = t.findRev(' ');
+ int spaceIndex = t.tqfindRev(' ');
if (spaceIndex > 32)
{