diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 90363652674deb94cd07057428b24fcb1735dbce (patch) | |
tree | 35013223cb731f194f8584cc1c06a023c3c75c85 /noatun-plugins/nexscope/gui.cpp | |
parent | 627b091fad9df13695f249588e8a58f524eda0fa (diff) | |
download | tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.tar.gz tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/nexscope/gui.cpp')
-rw-r--r-- | noatun-plugins/nexscope/gui.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun-plugins/nexscope/gui.cpp b/noatun-plugins/nexscope/gui.cpp index ae6952b..624eb48 100644 --- a/noatun-plugins/nexscope/gui.cpp +++ b/noatun-plugins/nexscope/gui.cpp @@ -13,20 +13,20 @@ class CreatorItem : public TQListViewItem { public: - CreatorItem(TQListView *tqparent, const TQString &title) - : TQListViewItem(tqparent, title) + CreatorItem(TQListView *parent, const TQString &title) + : TQListViewItem(parent, title) {} }; class TreeItem : public TQListViewItem { public: - TreeItem(TreeItem *tqparent, TreeItem *after, CreatorItem *creator) - : TQListViewItem(tqparent, after, creator->text(0)) + TreeItem(TreeItem *parent, TreeItem *after, CreatorItem *creator) + : TQListViewItem(parent, after, creator->text(0)) { RendererList *list; - if (tqparent) - list=static_cast<RendererList*>(tqparent->mRenderer); + if (parent) + list=static_cast<RendererList*>(parent->mRenderer); else list=nex->rendererList(); @@ -42,8 +42,8 @@ public: list->unlock(); } - TreeItem(TQListView *tqparent, TreeItem *after, const TQString &title) - : TQListViewItem(tqparent, after, title) + TreeItem(TQListView *parent, TreeItem *after, const TQString &title) + : TQListViewItem(parent, after, title) { mRenderer=nex->rendererList(); setExpandable(true); @@ -52,8 +52,8 @@ public: ~TreeItem() { RendererList *list; - if (tqparent()) - list=static_cast<RendererList*>(static_cast<TreeItem*>(tqparent())->mRenderer); + if (parent()) + list=static_cast<RendererList*>(static_cast<TreeItem*>(parent())->mRenderer); else return; @@ -149,9 +149,9 @@ void Control::addCreator(const TQString &title) new CreatorItem(mCreatorsList, title); } -void Control::dropEvent(TQDropEvent *e, TQListViewItem *tqparent, TQListViewItem *pafter) +void Control::dropEvent(TQDropEvent *e, TQListViewItem *parent, TQListViewItem *pafter) { -// if ((e->source() == mCreatorsList) && tqparent) +// if ((e->source() == mCreatorsList) && parent) { CreatorItem *i=static_cast<CreatorItem*>(mCreatorsList->currentItem()); if (!i) @@ -159,7 +159,7 @@ void Control::dropEvent(TQDropEvent *e, TQListViewItem *tqparent, TQListViewItem std::cerr << "no creatoritem" << std::endl; } - new TreeItem(static_cast<TreeItem*>(tqparent), static_cast<TreeItem*>(pafter), i); + new TreeItem(static_cast<TreeItem*>(parent), static_cast<TreeItem*>(pafter), i); } } |