summaryrefslogtreecommitdiffstats
path: root/knode/kngroupmanager.h
diff options
context:
space:
mode:
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;