summaryrefslogtreecommitdiffstats
path: root/knode/kngroupmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/kngroupmanager.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/kngroupmanager.h')
-rw-r--r--knode/kngroupmanager.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/knode/kngroupmanager.h b/knode/kngroupmanager.h
index f3805dc81..f42407126 100644
--- a/knode/kngroupmanager.h
+++ b/knode/kngroupmanager.h
@@ -15,8 +15,8 @@
#ifndef KNGROUPMANAGER_H
#define KNGROUPMANAGER_H
-#include <qobject.h>
-#include <qsortedlist.h>
+#include <tqobject.h>
+#include <tqsortedlist.h>
#include "knjobdata.h"
#include "kngroup.h"
@@ -38,11 +38,11 @@ class KNGroupInfo {
public:
KNGroupInfo();
- KNGroupInfo(const QString &n_ame, const QString &d_escription, bool n_ewGroup=false, bool s_ubscribed=false, KNGroup::Status s_tatus=KNGroup::unknown );
+ KNGroupInfo(const TQString &n_ame, const TQString &d_escription, bool n_ewGroup=false, bool s_ubscribed=false, KNGroup::Status s_tatus=KNGroup::unknown );
~KNGroupInfo();
/** group names will be utf-8 encoded in the future... */
- QString name,description;
+ TQString name,description;
bool newGroup, subscribed;
KNGroup::Status status;
@@ -59,47 +59,47 @@ class KNGroupListData : public KNJobItem {
bool readIn(KNProtocolClient *client=0);
bool writeOut();
- void merge(QSortedList<KNGroupInfo>* newGroups);
+ void merge(TQSortedList<KNGroupInfo>* newGroups);
- QSortedList<KNGroupInfo>* extractList();
+ TQSortedList<KNGroupInfo>* extractList();
- QStringList subscribed;
- QString path;
- QSortedList<KNGroupInfo> *groups;
- QDate fetchSince;
+ TQStringList subscribed;
+ TQString path;
+ TQSortedList<KNGroupInfo> *groups;
+ TQDate fetchSince;
bool getDescriptions;
- QTextCodec *codecForDescriptions;
+ TQTextCodec *codecForDescriptions;
};
//===============================================================================
-class KNGroupManager : public QObject , public KNJobConsumer {
+class KNGroupManager : public TQObject , public KNJobConsumer {
Q_OBJECT
public:
- KNGroupManager(QObject * parent=0, const char * name=0);
+ KNGroupManager(TQObject * parent=0, const char * name=0);
~KNGroupManager();
// group access
void loadGroups(KNNntpAccount *a);
- void getSubscribed(KNNntpAccount *a, QStringList &l);
- QValueList<KNGroup*> groupsOfAccount( KNNntpAccount *a );
+ void getSubscribed(KNNntpAccount *a, TQStringList &l);
+ TQValueList<KNGroup*> groupsOfAccount( KNNntpAccount *a );
bool loadHeaders(KNGroup *g);
bool unloadHeaders(KNGroup *g, bool force=true);
- KNGroup* group(const QString &gName, const KNServerInfo *s);
+ KNGroup* group(const TQString &gName, const KNServerInfo *s);
KNGroup* firstGroupOfAccount(const KNServerInfo *s);
KNGroup* currentGroup() const { return c_urrentGroup; }
bool hasCurrentGroup() const { return (c_urrentGroup!=0); }
void setCurrentGroup(KNGroup *g);
// group handling
- void showGroupDialog(KNNntpAccount *a, QWidget *parent=0);
+ void showGroupDialog(KNNntpAccount *a, TQWidget *parent=0);
void subscribeGroup(const KNGroupInfo *gi, KNNntpAccount *a);
bool unsubscribeGroup(KNGroup *g=0);
void showGroupProperties(KNGroup *g=0);
@@ -119,12 +119,12 @@ class KNGroupManager : public QObject , public KNJobConsumer {
/** fetch group list from server */
void slotFetchGroupList(KNNntpAccount *a);
/** check for new groups (created after the given date) */
- void slotCheckForNewGroups(KNNntpAccount *a, QDate date);
+ void slotCheckForNewGroups(KNNntpAccount *a, TQDate date);
protected:
/** reimplemented from @ref KNJobConsumer */
void processJob(KNJobData *j);
- QValueList<KNGroup*> mGroupList;
+ TQValueList<KNGroup*> mGroupList;
KNGroup *c_urrentGroup;
KNArticleManager *a_rticleMgr;