diff options
Diffstat (limited to 'kbabel/common/catalogitem.h')
-rw-r--r-- | kbabel/common/catalogitem.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kbabel/common/catalogitem.h b/kbabel/common/catalogitem.h index 91e6cc25..9a7d6071 100644 --- a/kbabel/common/catalogitem.h +++ b/kbabel/common/catalogitem.h @@ -34,8 +34,8 @@ #ifndef CATALOGITEM_H #define CATALOGITEM_H -#include <qstringlist.h> -#include <qptrlist.h> +#include <tqstringlist.h> +#include <tqptrlist.h> #include "pluralforms.h" #include "editcmd.h" @@ -127,14 +127,14 @@ public: * @param doIt if false, the comment is not changed, just the * commands for doing it are calculated */ - QPtrList<EditCommand> removeFuzzy(bool doIt=true); + TQPtrList<EditCommand> removeFuzzy(bool doIt=true); /** * adds the string ", fuzzy" to the comment * @param doIt if false, the comment is not changed, just the * commands for doing it are calculated */ - QPtrList<EditCommand> addFuzzy(bool doIt=true); + TQPtrList<EditCommand> addFuzzy(bool doIt=true); /** cleares the item */ @@ -142,13 +142,13 @@ public: /** returns the comment of this entry */ - QString comment() const; + TQString comment() const; /** returns the msgctxt of this entry */ - QString msgctxt(const bool noNewlines = false) const; + TQString msgctxt(const bool noNewlines = false) const; /** returns the msgid of the entry */ - QStringList msgid(const bool noNewlines = false) const; + TQStringList msgid(const bool noNewlines = false) const; /** returns the msgstr of the entry */ - QStringList msgstr(const bool noNewlines = false) const; + TQStringList msgstr(const bool noNewlines = false) const; /** * @param pluralNr If this item is a gettext plural form item, @@ -156,14 +156,14 @@ public: * is returned * @return the msgstr as list */ - QStringList msgstrAsList(int pluralNr=0) const; - - void setComment(QString com); - void setMsgctxt(QString msg); - void setMsgid(QString msg); - void setMsgid(QStringList msg); - void setMsgstr(QString msg); - void setMsgstr(QStringList msg); + TQStringList msgstrAsList(int pluralNr=0) const; + + void setComment(TQString com); + void setMsgctxt(TQString msg); + void setMsgid(TQString msg); + void setMsgid(TQStringList msg); + void setMsgstr(TQString msg); + void setMsgstr(TQStringList msg); void setGettextPluralForm( bool _gettextPlurals ); @@ -173,20 +173,20 @@ public: /** @return a list of tags in the msgid */ - QStringList tagList( RegExpExtractor& tagExtractor ); + TQStringList tagList( RegExpExtractor& tagExtractor ); /** @return a list of args in the msgid */ - QStringList argList( RegExpExtractor& argExtractor); + TQStringList argList( RegExpExtractor& argExtractor); /** * @return the list of all errors of this item */ - QStringList errors() const; + TQStringList errors() const; - QString nextError() const; + TQString nextError() const; void clearErrors(); - void removeError(const QString& error); - void appendError(const QString& error); + void removeError(const TQString& error); + void appendError(const TQString& error); /** * makes some sanity checks and set status accordingly @@ -200,8 +200,8 @@ public: * @param neededLines how many lines a string with singular-plural form * must have */ - int checkErrors(QChar accelMarker, const QRegExp& contextInfo - , const QRegExp& singularPlural, const int neededLines); + int checkErrors(TQChar accelMarker, const TQRegExp& contextInfo + , const TQRegExp& singularPlural, const int neededLines); void operator=(const CatalogItem& rhs); |