diff options
Diffstat (limited to 'kpilot/lib/pilotMemo.h')
-rw-r--r-- | kpilot/lib/pilotMemo.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpilot/lib/pilotMemo.h b/kpilot/lib/pilotMemo.h index 6897a0417..f4436ab75 100644 --- a/kpilot/lib/pilotMemo.h +++ b/kpilot/lib/pilotMemo.h @@ -28,8 +28,8 @@ ** Bug reports and questions can be sent to kde-pim@kde.org */ -#include <qnamespace.h> -#include <qstring.h> +#include <tqnamespace.h> +#include <tqstring.h> #include <pi-memo.h> @@ -48,7 +48,7 @@ public: * Constructor. Create a memo in the Unfiled category with * text @p s . */ - PilotMemo(const QString &s) : PilotRecordBase() + PilotMemo(const TQString &s) : PilotRecordBase() { setText(s); } ; @@ -65,7 +65,7 @@ public: * attributes from the argument @p r, and set the * text of the memo from string @p s. */ - PilotMemo(const PilotRecordBase *r, const QString &s) : + PilotMemo(const PilotRecordBase *r, const TQString &s) : PilotRecordBase(r) { setText(s); @@ -73,10 +73,10 @@ public: ~PilotMemo() { } ; - virtual QString getTextRepresentation(Qt::TextFormat richText); - QString text(void) const { return fText; } ; - void setText(const QString &text) { fText = text.left(MAX_MEMO_LEN); } ; - QString getTitle(void) const ; + virtual TQString getTextRepresentation(Qt::TextFormat richText); + TQString text(void) const { return fText; } ; + void setText(const TQString &text) { fText = text.left(MAX_MEMO_LEN); } ; + TQString getTitle(void) const ; PilotRecord* pack(); static const int MAX_MEMO_LEN=8192; @@ -87,16 +87,16 @@ public: * and inconvenient. shortTitle() returns about 30 * characters. */ - QString shortTitle() const; + TQString shortTitle() const; /** * Returns a (complete) title if there is one and [unknown] * otherwise. */ - QString sensibleTitle() const; + TQString sensibleTitle() const; private: - QString fText; + TQString fText; }; |