summaryrefslogtreecommitdiffstats
path: root/kbabel/common/catalogitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/common/catalogitem.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/common/catalogitem.h')
-rw-r--r--kbabel/common/catalogitem.h48
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);