diff options
Diffstat (limited to 'chalk/plugins/viewplugins/variations')
4 files changed, 8 insertions, 8 deletions
diff --git a/chalk/plugins/viewplugins/variations/dlg_variations.cc b/chalk/plugins/viewplugins/variations/dlg_variations.cc index 13324623..4f189024 100644 --- a/chalk/plugins/viewplugins/variations/dlg_variations.cc +++ b/chalk/plugins/viewplugins/variations/dlg_variations.cc @@ -24,9 +24,9 @@ #include "wdg_variations.h" -DlgVariations::DlgVariations( TQWidget * tqparent, +DlgVariations::DlgVariations( 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 WdgVariations(this, "variations"); diff --git a/chalk/plugins/viewplugins/variations/dlg_variations.h b/chalk/plugins/viewplugins/variations/dlg_variations.h index e160e6aa..31909fca 100644 --- a/chalk/plugins/viewplugins/variations/dlg_variations.h +++ b/chalk/plugins/viewplugins/variations/dlg_variations.h @@ -40,7 +40,7 @@ class DlgVariations: public KDialogBase { public: - DlgVariations(TQWidget * tqparent = 0, + DlgVariations(TQWidget * parent = 0, const char* name = 0); ~DlgVariations(); 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; } } diff --git a/chalk/plugins/viewplugins/variations/variations.h b/chalk/plugins/viewplugins/variations/variations.h index d8680ba7..1b448a42 100644 --- a/chalk/plugins/viewplugins/variations/variations.h +++ b/chalk/plugins/viewplugins/variations/variations.h @@ -30,7 +30,7 @@ class Variations : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - Variations(TQObject *tqparent, const char *name, const TQStringList &); + Variations(TQObject *parent, const char *name, const TQStringList &); virtual ~Variations(); private slots: |