summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/variations/variations.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/viewplugins/variations/variations.cc')
-rw-r--r--chalk/plugins/viewplugins/variations/variations.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/viewplugins/variations/variations.cc b/chalk/plugins/viewplugins/variations/variations.cc
index 40e8fcf8..2c0aaa9d 100644
--- a/chalk/plugins/viewplugins/variations/variations.cc
+++ b/chalk/plugins/viewplugins/variations/variations.cc
@@ -48,18 +48,18 @@
typedef KGenericFactory<Variations> VariationsFactory;
K_EXPORT_COMPONENT_FACTORY( chalkvariations, VariationsFactory( "chalk" ) )
-Variations::Variations(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+Variations::Variations(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
- if ( tqparent->inherits("KisView") )
+ if ( parent->inherits("KisView") )
{
setInstance(VariationsFactory::instance());
setXMLFile(locate("data","chalkplugins/variations.rc"), true);
(void) new KAction(i18n("&Variations..."), 0, 0, this, TQT_SLOT(slotVariationsActivated()), actionCollection(), "variations");
- m_view = (KisView*) tqparent;
+ m_view = (KisView*) parent;
}
}