From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- noatun/modules/monoscope/monoscope.cpp | 2 +- noatun/modules/monoscope/monoscope.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'noatun/modules/monoscope') diff --git a/noatun/modules/monoscope/monoscope.cpp b/noatun/modules/monoscope/monoscope.cpp index dac87cf2..f7e35778 100644 --- a/noatun/modules/monoscope/monoscope.cpp +++ b/noatun/modules/monoscope/monoscope.cpp @@ -40,7 +40,7 @@ Monoscope::~Monoscope() void Monoscope::init() { - mAction = new KToggleAction(i18n("Toggle Monoscope"), 0, 0, + mAction = new TDEToggleAction(i18n("Toggle Monoscope"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(toggle()), TQT_TQOBJECT(this), "togglemonoscope"); mAction->setChecked(!isHidden()); napp->pluginActionMenu()->insert(mAction); diff --git a/noatun/modules/monoscope/monoscope.h b/noatun/modules/monoscope/monoscope.h index fbb61153..7fddb26b 100644 --- a/noatun/modules/monoscope/monoscope.h +++ b/noatun/modules/monoscope/monoscope.h @@ -3,7 +3,7 @@ #include -class KToggleAction; +class TDEToggleAction; class Monoscope : public TQWidget, public MonoScope, public Plugin { @@ -28,7 +28,7 @@ protected: private: TQRgb mHighColor, mLowColor; - KToggleAction *mAction; + TDEToggleAction *mAction; }; #endif -- cgit v1.2.1