summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope
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
commit90363652674deb94cd07057428b24fcb1735dbce (patch)
tree35013223cb731f194f8584cc1c06a023c3c75c85 /noatun-plugins/nexscope
parent627b091fad9df13695f249588e8a58f524eda0fa (diff)
downloadtdeaddons-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')
-rw-r--r--noatun-plugins/nexscope/gui.cpp26
-rw-r--r--noatun-plugins/nexscope/gui.h2
-rw-r--r--noatun-plugins/nexscope/nex.cpp16
-rw-r--r--noatun-plugins/nexscope/nex.h10
-rw-r--r--noatun-plugins/nexscope/regionwidget.cpp8
-rw-r--r--noatun-plugins/nexscope/regionwidget.h8
-rw-r--r--noatun-plugins/nexscope/renderers.cpp4
7 files changed, 37 insertions, 37 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);
}
}
diff --git a/noatun-plugins/nexscope/gui.h b/noatun-plugins/nexscope/gui.h
index a96e137..834d7df 100644
--- a/noatun-plugins/nexscope/gui.h
+++ b/noatun-plugins/nexscope/gui.h
@@ -29,7 +29,7 @@ public slots:
void open(const KURL &file);
protected slots:
- void dropEvent(TQDropEvent *e, TQListViewItem *tqparent, TQListViewItem *pafter);
+ void dropEvent(TQDropEvent *e, TQListViewItem *parent, TQListViewItem *pafter);
void currentChanged(TQListViewItem *item);
private:
diff --git a/noatun-plugins/nexscope/nex.cpp b/noatun-plugins/nexscope/nex.cpp
index e7e4332..76870ff 100644
--- a/noatun-plugins/nexscope/nex.cpp
+++ b/noatun-plugins/nexscope/nex.cpp
@@ -56,9 +56,9 @@ int Thread::threadRun(void *v)
return t->run();
}
-NexCheckBox::NexCheckBox(TQWidget *tqparent,
+NexCheckBox::NexCheckBox(TQWidget *parent,
const TQString &name, bool *v)
- : TQCheckBox(name, tqparent)
+ : TQCheckBox(name, parent)
{
value=v;
setChecked(*v);
@@ -71,8 +71,8 @@ void NexCheckBox::change(bool b)
-NexColorButton::NexColorButton(TQWidget *tqparent, Pixel *color)
- : KColorButton(tqparent)
+NexColorButton::NexColorButton(TQWidget *parent, Pixel *color)
+ : KColorButton(parent)
{
c=color;
TQColor temp( (*c >> 16) & 0xFF, (*c >> 8) & 0xFF, *c & 0xFF);
@@ -401,13 +401,13 @@ void RendererList::load(const TQDomElement &e)
-TQWidget *RendererList::configure(TQWidget *tqparent)
+TQWidget *RendererList::configure(TQWidget *parent)
{
- return new RendererListConfigurator(this, tqparent);
+ return new RendererListConfigurator(this, parent);
}
-RendererListConfigurator::RendererListConfigurator(RendererList *l, TQWidget *tqparent)
- : TQWidget(tqparent), mList(l)
+RendererListConfigurator::RendererListConfigurator(RendererList *l, TQWidget *parent)
+ : TQWidget(parent), mList(l)
{
(new TQVBoxLayout(this))->setAutoAdd(true);
mErase=new TQCheckBox(i18n("&Erase between frames"), this);
diff --git a/noatun-plugins/nexscope/nex.h b/noatun-plugins/nexscope/nex.h
index 8340b67..3a447f1 100644
--- a/noatun-plugins/nexscope/nex.h
+++ b/noatun-plugins/nexscope/nex.h
@@ -77,7 +77,7 @@ class Spacer : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- Spacer(TQWidget *tqparent) : TQWidget(tqparent)
+ Spacer(TQWidget *parent) : TQWidget(parent)
{
tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
TQSizePolicy::MinimumExpanding));
@@ -226,7 +226,7 @@ class NexCheckBox : public TQCheckBox
Q_OBJECT
TQ_OBJECT
public:
- NexCheckBox(TQWidget *tqparent, const TQString &, bool *v);
+ NexCheckBox(TQWidget *parent, const TQString &, bool *v);
private slots:
void change(bool b);
@@ -241,7 +241,7 @@ class NexColorButton : public KColorButton
Q_OBJECT
TQ_OBJECT
public:
- NexColorButton(TQWidget *tqparent, Pixel *color);
+ NexColorButton(TQWidget *parent, Pixel *color);
private slots:
void change(const TQColor &c);
@@ -274,7 +274,7 @@ class RendererListConfigurator : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- RendererListConfigurator(RendererList *l, TQWidget *tqparent);
+ RendererListConfigurator(RendererList *l, TQWidget *parent);
~RendererListConfigurator();
public slots:
@@ -303,7 +303,7 @@ public:
bool clearAfter() const { return mClearAfter; }
void setClearAfter(bool b) { mClearAfter=b; }
- virtual TQWidget *configure(TQWidget *tqparent);
+ virtual TQWidget *configure(TQWidget *parent);
virtual void save(TQDomElement &e);
diff --git a/noatun-plugins/nexscope/regionwidget.cpp b/noatun-plugins/nexscope/regionwidget.cpp
index d760619..119096b 100644
--- a/noatun-plugins/nexscope/regionwidget.cpp
+++ b/noatun-plugins/nexscope/regionwidget.cpp
@@ -1,23 +1,23 @@
#include "regionwidget.h"
-RegionWidget::RegionWidget(TQWidget *tqparent)
+RegionWidget::RegionWidget(TQWidget *parent)
{
}
-RegionWidget::RegionWidget(const TQSize &viewsize, TQWidget *tqparent)
+RegionWidget::RegionWidget(const TQSize &viewsize, TQWidget *parent)
{
}
RegionWidget::RegionWidget(int x, int y, int w, int h, const TQSize &viewsize,
- TQWidget *tqparent)
+ TQWidget *parent)
{
}
RegionWidget::RegionWidget(const TQRect &region, const TQSize &viewsize,
- TQWidget *tqparent)
+ TQWidget *parent)
{
}
diff --git a/noatun-plugins/nexscope/regionwidget.h b/noatun-plugins/nexscope/regionwidget.h
index ee975ee..e02bf85 100644
--- a/noatun-plugins/nexscope/regionwidget.h
+++ b/noatun-plugins/nexscope/regionwidget.h
@@ -14,11 +14,11 @@ class RegionWidget : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- RegionWidget(TQWidget *tqparent);
- RegionWidget(const TQSize &viewsize, TQWidget *tqparent);
+ RegionWidget(TQWidget *parent);
+ RegionWidget(const TQSize &viewsize, TQWidget *parent);
RegionWidget(int x, int y, int w, int h, const TQSize &viewsize,
- TQWidget *tqparent);
- RegionWidget(const TQRect &region, const TQSize &viewsize, TQWidget *tqparent);
+ TQWidget *parent);
+ RegionWidget(const TQRect &region, const TQSize &viewsize, TQWidget *parent);
~RegionWidget();
diff --git a/noatun-plugins/nexscope/renderers.cpp b/noatun-plugins/nexscope/renderers.cpp
index 37db147..538fa43 100644
--- a/noatun-plugins/nexscope/renderers.cpp
+++ b/noatun-plugins/nexscope/renderers.cpp
@@ -15,9 +15,9 @@ structQt::HorizontalPair : public Renderer
pair=true;
}
- TQWidget *configure(TQWidget *tqparent)
+ TQWidget *configure(TQWidget *parent)
{
- TQWidget *config=new TQWidget(tqparent);
+ TQWidget *config=new TQWidget(parent);
(new TQVBoxLayout(config))->setAutoAdd(true);
new NexColorButton(config, &color);