summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/histogram/histogram.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/viewplugins/histogram/histogram.cc')
-rw-r--r--chalk/plugins/viewplugins/histogram/histogram.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/viewplugins/histogram/histogram.cc b/chalk/plugins/viewplugins/histogram/histogram.cc
index 8e6968b9..82d31ec0 100644
--- a/chalk/plugins/viewplugins/histogram/histogram.cc
+++ b/chalk/plugins/viewplugins/histogram/histogram.cc
@@ -52,18 +52,18 @@
typedef KGenericFactory<Histogram> HistogramFactory;
K_EXPORT_COMPONENT_FACTORY( chalkhistogram, HistogramFactory( "chalk" ) )
-Histogram::Histogram(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+Histogram::Histogram(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
- if ( tqparent->inherits("KisView") ) {
+ if ( parent->inherits("KisView") ) {
setInstance(HistogramFactory::instance());
setXMLFile(locate("data","chalkplugins/histogram.rc"), true);
m_action = new KAction(i18n("&Histogram"), 0, 0, this, TQT_SLOT(slotActivated()), actionCollection(), "histogram");
- m_view = (KisView*) tqparent;
+ m_view = (KisView*) parent;
if (KisImageSP img = m_view->canvasSubject()->currentImg()) {
connect(img, TQT_SIGNAL(sigLayersChanged(KisGroupLayerSP)), this, TQT_SLOT(slotLayersChanged()));
connect(img, TQT_SIGNAL(sigLayerAdded(KisLayerSP)), this, TQT_SLOT(slotLayersChanged()));