From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/kngroup.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'knode/kngroup.h') diff --git a/knode/kngroup.h b/knode/kngroup.h index 8158e192b..dc28b9121 100644 --- a/knode/kngroup.h +++ b/knode/kngroup.h @@ -47,17 +47,17 @@ class KNGroup : public KNArticleCollection , public KNJobItem { void updateListItem(); /** info */ - QString path(); - bool readInfo(const QString &confPath); + TQString path(); + bool readInfo(const TQString &confPath); void saveInfo(); /** name */ bool hasName() const { return (!n_ame.isEmpty()); } - const QString& name(); - const QString& groupname() { return g_roupname; } - void setGroupname(const QString &s) { g_roupname=s; } - const QString& description() { return d_escription; } - void setDescription(const QString &s) { d_escription=s; } + const TQString& name(); + const TQString& groupname() { return g_roupname; } + void setGroupname(const TQString &s) { g_roupname=s; } + const TQString& description() { return d_escription; } + void setDescription(const TQString &s) { d_escription=s; } /** count + numbers */ int newCount() const { return n_ewCount; } @@ -88,18 +88,18 @@ class KNGroup : public KNArticleCollection , public KNJobItem { /** article access */ KNRemoteArticle* at(int i) { return static_cast (KNArticleCollection::at(i)); } KNRemoteArticle* byId(int id) { return static_cast (KNArticleCollection::byId(id)); } - KNRemoteArticle* byMessageId(const QCString &mId) + KNRemoteArticle* byMessageId(const TQCString &mId) { return static_cast (KNArticleCollection::byMessageId(mId)); } /** load + save */ bool loadHdrs(); bool unloadHdrs(bool force=true); - void insortNewHeaders(QStrList *hdrs, QStrList *hdrfmt, KNProtocolClient *client=0); + void insortNewHeaders(TQStrList *hdrs, TQStrList *hdrfmt, KNProtocolClient *client=0); int saveStaticData(int cnt,bool ovr=false); void saveDynamicData(int cnt,bool ovr=false); void syncDynamicData(); /** mark articles with this id as read when we later load the headers / fetch new articles */ - void appendXPostID(const QString &id); + void appendXPostID(const TQString &id); void processXPostBuffer(bool deleteAfterwards); /** article handling */ @@ -111,11 +111,11 @@ class KNGroup : public KNArticleCollection , public KNJobItem { bool isLocked() { return l_ocked; } void setLocked(bool l) { l_ocked=l; } - QString prepareForExecution(); + TQString prepareForExecution(); /** charset-handling */ - const QCString defaultCharset() { return d_efaultChSet; } - void setDefaultCharset(const QCString &s) { d_efaultChSet=s; } + const TQCString defaultCharset() { return d_efaultChSet; } + void setDefaultCharset(const TQCString &s) { d_efaultChSet=s; } bool useCharset() { return ( u_seCharset && !d_efaultChSet.isEmpty() ); } void setUseCharset(bool b) { u_seCharset=b; } @@ -146,8 +146,8 @@ class KNGroup : public KNArticleCollection , public KNJobItem { d_ynDataFormat, f_irstNew; - QCString d_efaultChSet; - QString g_roupname, + TQCString d_efaultChSet; + TQString g_roupname, d_escription; bool l_ocked, @@ -155,12 +155,12 @@ class KNGroup : public KNArticleCollection , public KNJobItem { Status s_tatus; - QStringList c_rosspostIDBuffer; + TQStringList c_rosspostIDBuffer; /** Optional headers provided by the XOVER command * These headers will be saved within the static data */ - QStrList mOptionalHeaders; + TQStrList mOptionalHeaders; KNConfig::Identity *i_dentity; KNConfig::Cleanup *mCleanupConf; -- cgit v1.2.1