summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /knewsticker/knewstickerconfig.cpp
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/knewstickerconfig.cpp')
-rw-r--r--knewsticker/knewstickerconfig.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp
index b13db0f5..eb07bcbd 100644
--- a/knewsticker/knewstickerconfig.cpp
+++ b/knewsticker/knewstickerconfig.cpp
@@ -33,8 +33,8 @@
#include <tqslider.h>
#include <tqregexp.h>
-CategoryItem::CategoryItem(TQListView *tqparent, const TQString &text)
- : TQListViewItem(tqparent, text)
+CategoryItem::CategoryItem(TQListView *parent, const TQString &text)
+ : TQListViewItem(parent, text)
{
setOpen(true);
}
@@ -49,10 +49,10 @@ void CategoryItem::setOpen(bool open)
TQListViewItem::setOpen(open);
}
-NewsSourceItem::NewsSourceItem(KNewsTickerConfig *kcm, CategoryItem *tqparent,
+NewsSourceItem::NewsSourceItem(KNewsTickerConfig *kcm, CategoryItem *parent,
const NewsSourceBase::Data &nsd)
- : TQCheckListItem(tqparent, TQString(), TQCheckListItem::CheckBox),
- m_parent(tqparent),
+ : TQCheckListItem(parent, TQString(), TQCheckListItem::CheckBox),
+ m_parent(parent),
m_kcm(kcm)
{
setData(nsd);
@@ -89,8 +89,8 @@ void NewsSourceItem::setIcon(const TQPixmap &pixmap)
setPixmap(0, pixmap);
}
-KNewsTickerConfig::KNewsTickerConfig(ConfigAccess *cfg, TQWidget *tqparent, const char *name)
- : KDialogBase(tqparent, name, true, i18n("Configuration"), Ok|Close),
+KNewsTickerConfig::KNewsTickerConfig(ConfigAccess *cfg, TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true, i18n("Configuration"), Ok|Close),
m_cfg(cfg),
m_child(new KNewsTickerConfigWidget(this)),
m_newsIconMgr(NewsIconMgr::self())
@@ -330,8 +330,8 @@ void KNewsTickerConfig::removeNewsSource()
m_child->comboFilterNewsSource->removeItem(i);
break;
}
- if (dynamic_cast<NewsSourceItem *>(item) && item->tqparent()->childCount() == 1)
- delete item->tqparent();
+ if (dynamic_cast<NewsSourceItem *>(item) && item->parent()->childCount() == 1)
+ delete item->parent();
else
delete item;
}