summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/histogram
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /chalk/plugins/viewplugins/histogram
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'chalk/plugins/viewplugins/histogram')
-rw-r--r--chalk/plugins/viewplugins/histogram/histogram.cc2
-rw-r--r--chalk/plugins/viewplugins/histogram/histogram.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/viewplugins/histogram/histogram.cc b/chalk/plugins/viewplugins/histogram/histogram.cc
index 3f9c0e5a..95a50a45 100644
--- a/chalk/plugins/viewplugins/histogram/histogram.cc
+++ b/chalk/plugins/viewplugins/histogram/histogram.cc
@@ -61,7 +61,7 @@ Histogram::Histogram(TQObject *parent, const char *name, const TQStringList &)
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_action = new TDEAction(i18n("&Histogram"), 0, 0, this, TQT_SLOT(slotActivated()), actionCollection(), "histogram");
m_view = (KisView*) parent;
if (KisImageSP img = m_view->canvasSubject()->currentImg()) {
diff --git a/chalk/plugins/viewplugins/histogram/histogram.h b/chalk/plugins/viewplugins/histogram/histogram.h
index abba15a2..1399d185 100644
--- a/chalk/plugins/viewplugins/histogram/histogram.h
+++ b/chalk/plugins/viewplugins/histogram/histogram.h
@@ -24,7 +24,7 @@
#include <tdeparts/plugin.h>
class KisView;
-class KAction;
+class TDEAction;
class KisImage;
class Histogram : public KParts::Plugin
@@ -43,7 +43,7 @@ class Histogram : public KParts::Plugin
KisImage* m_img;
KisView * m_view;
KisPainter * m_painter;
- KAction* m_action;
+ TDEAction* m_action;
};