summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/substrate
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/viewplugins/substrate')
-rw-r--r--chalk/plugins/viewplugins/substrate/dlg_substrate.cc4
-rw-r--r--chalk/plugins/viewplugins/substrate/dlg_substrate.h2
-rw-r--r--chalk/plugins/viewplugins/substrate/substrate.cc8
-rw-r--r--chalk/plugins/viewplugins/substrate/substrate.h2
4 files changed, 8 insertions, 8 deletions
diff --git a/chalk/plugins/viewplugins/substrate/dlg_substrate.cc b/chalk/plugins/viewplugins/substrate/dlg_substrate.cc
index dcecce48..b0a89856 100644
--- a/chalk/plugins/viewplugins/substrate/dlg_substrate.cc
+++ b/chalk/plugins/viewplugins/substrate/dlg_substrate.cc
@@ -24,9 +24,9 @@
#include "wdgsubstrate.h"
-DlgSubstrate::DlgSubstrate( TQWidget * tqparent,
+DlgSubstrate::DlgSubstrate( TQWidget * parent,
const char * name)
- : super (tqparent, name, true, i18n("Color Range"), Ok | Cancel, Ok)
+ : super (parent, name, true, i18n("Color Range"), Ok | Cancel, Ok)
{
m_previewPix = TQPixmap();
m_page = new WdgSubstrate(this, "substrate");
diff --git a/chalk/plugins/viewplugins/substrate/dlg_substrate.h b/chalk/plugins/viewplugins/substrate/dlg_substrate.h
index 82051ad3..ac494ba2 100644
--- a/chalk/plugins/viewplugins/substrate/dlg_substrate.h
+++ b/chalk/plugins/viewplugins/substrate/dlg_substrate.h
@@ -40,7 +40,7 @@ class DlgSubstrate: public KDialogBase {
public:
- DlgSubstrate(TQWidget * tqparent = 0,
+ DlgSubstrate(TQWidget * parent = 0,
const char* name = 0);
~DlgSubstrate();
diff --git a/chalk/plugins/viewplugins/substrate/substrate.cc b/chalk/plugins/viewplugins/substrate/substrate.cc
index 8aa4d32e..2e080df7 100644
--- a/chalk/plugins/viewplugins/substrate/substrate.cc
+++ b/chalk/plugins/viewplugins/substrate/substrate.cc
@@ -44,18 +44,18 @@
typedef KGenericFactory<SubstratePlugin> SubstrateFactory;
K_EXPORT_COMPONENT_FACTORY( chalksubstrate, SubstrateFactory( "chalk" ) )
-SubstratePlugin::SubstratePlugin(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+SubstratePlugin::SubstratePlugin(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
- if ( tqparent->inherits("KisView") )
+ if ( parent->inherits("KisView") )
{
setInstance(SubstrateFactory::instance());
setXMLFile(locate("data","chalkplugins/substrate.rc"), true);
(void) new KAction(i18n("&Substrate..."), 0, 0, this, TQT_SLOT(slotSubstrateActivated()), actionCollection(), "substrate");
- m_view = (KisView*) tqparent;
+ m_view = (KisView*) parent;
}
}
diff --git a/chalk/plugins/viewplugins/substrate/substrate.h b/chalk/plugins/viewplugins/substrate/substrate.h
index 409a00f3..24383045 100644
--- a/chalk/plugins/viewplugins/substrate/substrate.h
+++ b/chalk/plugins/viewplugins/substrate/substrate.h
@@ -30,7 +30,7 @@ class SubstratePlugin : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- SubstratePlugin(TQObject *tqparent, const char *name, const TQStringList &);
+ SubstratePlugin(TQObject *parent, const char *name, const TQStringList &);
virtual ~SubstratePlugin();
private slots: