summaryrefslogtreecommitdiffstats
path: root/chalk/colorspaces/wet
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /chalk/colorspaces/wet
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'chalk/colorspaces/wet')
-rw-r--r--chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc2
-rw-r--r--chalk/colorspaces/wet/kis_wetness_visualisation_filter.h4
-rw-r--r--chalk/colorspaces/wet/wet_plugin.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc b/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc
index 853b11a2..50ba12a5 100644
--- a/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc
+++ b/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc
@@ -37,7 +37,7 @@ WetnessVisualisationFilter::WetnessVisualisationFilter(KisView* view)
// XXX this needs to work on a per-layer basis!
-void WetnessVisualisationFilter::setAction(KToggleAction* action) {
+void WetnessVisualisationFilter::setAction(TDEToggleAction* action) {
m_action = action;
if (!m_action)
return;
diff --git a/chalk/colorspaces/wet/kis_wetness_visualisation_filter.h b/chalk/colorspaces/wet/kis_wetness_visualisation_filter.h
index eb54a90c..7311cd04 100644
--- a/chalk/colorspaces/wet/kis_wetness_visualisation_filter.h
+++ b/chalk/colorspaces/wet/kis_wetness_visualisation_filter.h
@@ -34,7 +34,7 @@ class WetnessVisualisationFilter : public TQObject
public:
WetnessVisualisationFilter(KisView* view);
virtual ~WetnessVisualisationFilter() {}
- void setAction(KToggleAction* action);
+ void setAction(TDEToggleAction* action);
// XXX: Figure out a way to match a filter exactly to a colorspace
virtual ColorSpaceIndependence colorSpaceIndependence() { return FULLY_INDEPENDENT; };
virtual bool workWith(KisColorSpace* cs) { return (cs->id() == KisID("WET")); };
@@ -44,7 +44,7 @@ private slots:
private:
KisView * m_view;
- KToggleAction * m_action;
+ TDEToggleAction * m_action;
TQTimer m_timer;
};
diff --git a/chalk/colorspaces/wet/wet_plugin.cc b/chalk/colorspaces/wet/wet_plugin.cc
index 3bb8566d..04dd887d 100644
--- a/chalk/colorspaces/wet/wet_plugin.cc
+++ b/chalk/colorspaces/wet/wet_plugin.cc
@@ -105,7 +105,7 @@ WetPlugin::WetPlugin(TQObject *parent, const char *name, const TQStringList &)
m_view = dynamic_cast<KisView*>(parent);
// Wetness visualisation
WetnessVisualisationFilter * wf = new WetnessVisualisationFilter(m_view);
- wf->setAction(new KToggleAction(i18n("Wetness Visualisation"), 0, 0, wf,
+ wf->setAction(new TDEToggleAction(i18n("Wetness Visualisation"), 0, 0, wf,
TQT_SLOT(slotActivated()), actionCollection(), "wetnessvisualisation"));
// Create the wet palette