summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/nexscope/gui.cpp')
-rw-r--r--noatun-plugins/nexscope/gui.cpp26
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);
}
}