summaryrefslogtreecommitdiffstats
path: root/knode/kngroupbrowser.h
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kngroupbrowser.h')
-rw-r--r--knode/kngroupbrowser.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/knode/kngroupbrowser.h b/knode/kngroupbrowser.h
index eb633c8b9..15e639281 100644
--- a/knode/kngroupbrowser.h
+++ b/knode/kngroupbrowser.h
@@ -17,7 +17,7 @@
#ifndef KNGROUPBROWSER_H
#define KNGROUPBROWSER_H
-#include <qlistview.h>
+#include <tqlistview.h>
#include <kdialogbase.h>
@@ -37,11 +37,11 @@ class KNGroupBrowser : public KDialogBase {
Q_OBJECT
public:
- class CheckItem : public QCheckListItem {
+ class CheckItem : public TQCheckListItem {
public:
- CheckItem(QListView *v, const KNGroupInfo &gi, KNGroupBrowser *b);
- CheckItem(QListViewItem *i, const KNGroupInfo &gi, KNGroupBrowser *b);
+ CheckItem(TQListView *v, const KNGroupInfo &gi, KNGroupBrowser *b);
+ CheckItem(TQListViewItem *i, const KNGroupInfo &gi, KNGroupBrowser *b);
~CheckItem();
void setChecked(bool c);
@@ -52,18 +52,18 @@ class KNGroupBrowser : public KDialogBase {
KNGroupBrowser *browser;
};
- class GroupItem : public QListViewItem {
+ class GroupItem : public TQListViewItem {
public:
- GroupItem(QListView *v, const KNGroupInfo &gi);
- GroupItem(QListViewItem *i, const KNGroupInfo &gi);
+ GroupItem(TQListView *v, const KNGroupInfo &gi);
+ GroupItem(TQListViewItem *i, const KNGroupInfo &gi);
~GroupItem();
KNGroupInfo info;
};
- KNGroupBrowser(QWidget *parent, const QString &caption, KNNntpAccount *a, int buttons=0,
- bool newCBact=false, const QString &user1=QString::null, const QString &user2=QString::null);
+ KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntpAccount *a, int buttons=0,
+ bool newCBact=false, const TQString &user1=TQString::null, const TQString &user2=TQString::null);
~KNGroupBrowser();
KNNntpAccount* account()const { return a_ccount; }
@@ -78,38 +78,38 @@ class KNGroupBrowser : public KDialogBase {
protected:
virtual void updateItemState(CheckItem *it)=0;
void changeItemState(const KNGroupInfo &gi, bool s);
- bool itemInListView(QListView *view, const KNGroupInfo &gi);
- void removeListItem(QListView *view, const KNGroupInfo &gi);
- void createListItems(QListViewItem *parent=0);
+ bool itemInListView(TQListView *view, const KNGroupInfo &gi);
+ void removeListItem(TQListView *view, const KNGroupInfo &gi);
+ void createListItems(TQListViewItem *parent=0);
- QWidget *page;
- QListView *groupView;
+ TQWidget *page;
+ TQListView *groupView;
int delayedCenter;
KLineEdit *filterEdit;
- QCheckBox *noTreeCB, *subCB, *newCB;
- QPushButton *arrowBtn1, *arrowBtn2;
- QPixmap pmGroup, pmNew;
- QIconSet pmRight, pmLeft;
- QGridLayout *listL;
- QLabel *leftLabel, *rightLabel;
- QTimer *refilterTimer;
- QString lastFilter;
+ TQCheckBox *noTreeCB, *subCB, *newCB;
+ TQPushButton *arrowBtn1, *arrowBtn2;
+ TQPixmap pmGroup, pmNew;
+ TQIconSet pmRight, pmLeft;
+ TQGridLayout *listL;
+ TQLabel *leftLabel, *rightLabel;
+ TQTimer *refilterTimer;
+ TQString lastFilter;
bool incrementalFilter;
KNNntpAccount *a_ccount;
- QSortedList<KNGroupInfo> *allList, *matchList;
+ TQSortedList<KNGroupInfo> *allList, *matchList;
protected slots:
void slotLoadList();
- void slotItemExpand(QListViewItem *it);
+ void slotItemExpand(TQListViewItem *it);
void slotCenterDelayed();
/** double click checks/unchecks (opens/closes) item */
- void slotItemDoubleClicked(QListViewItem *it);
- void slotFilter(const QString &txt);
+ void slotItemDoubleClicked(TQListViewItem *it);
+ void slotFilter(const TQString &txt);
void slotTreeCBToggled();
void slotSubCBToggled();
void slotNewCBToggled();
- void slotFilterTextChanged(const QString &txt);
+ void slotFilterTextChanged(const TQString &txt);
void slotRefilter();
};