summaryrefslogtreecommitdiffstats
path: root/kpilot/lib/pilotMemo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/lib/pilotMemo.cc')
-rw-r--r--kpilot/lib/pilotMemo.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpilot/lib/pilotMemo.cc b/kpilot/lib/pilotMemo.cc
index 0ce09f8a7..946a995b1 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())
{