summaryrefslogtreecommitdiffstats
path: root/knode/kngroupbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kngroupbrowser.cpp')
-rw-r--r--knode/kngroupbrowser.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/knode/kngroupbrowser.cpp b/knode/kngroupbrowser.cpp
index 584eae40c..a3bcb89f4 100644
--- a/knode/kngroupbrowser.cpp
+++ b/knode/kngroupbrowser.cpp
@@ -34,9 +34,9 @@
#include <tqpushbutton.h>
-KNGroupBrowser::KNGroupBrowser(TQWidget *tqparent, const TQString &caption, KNNntpAccount *a,
+KNGroupBrowser::KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntpAccount *a,
int buttons, bool newCBact, const TQString &user1, const TQString &user2) :
- KDialogBase( tqparent, 0L, true, caption, buttons | Help | Ok | Cancel, Ok, true, user1, user2 ),
+ KDialogBase( parent, 0L, true, caption, buttons | Help | Ok | Cancel, Ok, true, user1, user2 ),
incrementalFilter(false), a_ccount(a)
{
refilterTimer = new TQTimer();
@@ -190,7 +190,7 @@ bool KNGroupBrowser::itemInListView(TQListView *view, const KNGroupInfo &gi)
}
-void KNGroupBrowser::createListItems(TQListViewItem *tqparent)
+void KNGroupBrowser::createListItems(TQListViewItem *parent)
{
TQString prefix, tlgn, compare;
TQListViewItem *it;
@@ -198,11 +198,11 @@ void KNGroupBrowser::createListItems(TQListViewItem *tqparent)
int colon;
bool expandit=false;
- if(tqparent) {
- TQListViewItem *p=tqparent;
+ if(parent) {
+ TQListViewItem *p=parent;
while(p) {
prefix.prepend(p->text(0));
- p=p->tqparent();
+ p=p->parent();
}
}
@@ -228,8 +228,8 @@ void KNGroupBrowser::createListItems(TQListViewItem *tqparent)
tlgn = compare.left(colon);
if(expandit) {
- if(tqparent)
- it=new TQListViewItem(tqparent, tlgn);
+ if(parent)
+ it=new TQListViewItem(parent, tlgn);
else
it=new TQListViewItem(groupView, tlgn);
@@ -237,8 +237,8 @@ void KNGroupBrowser::createListItems(TQListViewItem *tqparent)
it->setExpandable(true);
}
else {
- if(tqparent)
- cit=new CheckItem(tqparent, *gn, this);
+ if(parent)
+ cit=new CheckItem(parent, *gn, this);
else
cit=new CheckItem(groupView, *gn, this);
updateItemState(cit);