summaryrefslogtreecommitdiffstats
path: root/knode/kngroupbrowser.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/kngroupbrowser.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/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();
};