summaryrefslogtreecommitdiffstats
path: root/src/app/volumeAction.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-06-13 16:33:09 +0200
committergregory guy <gregory-tde@laposte.net>2020-06-13 16:33:09 +0200
commit12b478cefdf1789828dbcd677d409cf8bad654ca (patch)
treee0fd4a3b7a3d5b64ede310493a7b25624807f8b1 /src/app/volumeAction.cpp
parent2c9bc9b806f533df7b8f5349467d0f4be95314a4 (diff)
downloadcodeine-12b478cefdf1789828dbcd677d409cf8bad654ca.tar.gz
codeine-12b478cefdf1789828dbcd677d409cf8bad654ca.zip
Conversion KDE -> TDE environment.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src/app/volumeAction.cpp')
-rw-r--r--src/app/volumeAction.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/volumeAction.cpp b/src/app/volumeAction.cpp
index fb33c7d..f9a1951 100644
--- a/src/app/volumeAction.cpp
+++ b/src/app/volumeAction.cpp
@@ -1,8 +1,8 @@
// (C) 2005 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information
-#include <klocale.h>
-#include <ktoolbar.h>
+#include <tdelocale.h>
+#include <tdetoolbar.h>
#include <ntqevent.h>
#include <ntqlabel.h>
#include <ntqlayout.h>
@@ -41,8 +41,8 @@ public:
};
-VolumeAction::VolumeAction( KToolBar *bar, KActionCollection *ac )
- : KToggleAction( i18n("Volume"), "volume", TQt::Key_1, 0, 0, ac, "volume" )
+VolumeAction::VolumeAction( TDEToolBar *bar, TDEActionCollection *ac )
+ : TDEToggleAction( i18n("Volume"), "volume", TQt::Key_1, 0, 0, ac, "volume" )
, m_anchor( 0 )
{
m_widget = new VolumeSlider( bar->topLevelWidget() );
@@ -58,9 +58,9 @@ VolumeAction::plug( TQWidget *bar, int index )
{
DEBUG_BLOCK
- int const id = KAction::plug( bar, index );
+ int const id = TDEAction::plug( bar, index );
- m_anchor = (TQWidget*)bar->child( "toolbutton_volume" ); //KAction creates it with this name
+ m_anchor = (TQWidget*)bar->child( "toolbutton_volume" ); //TDEAction creates it with this name
m_anchor->installEventFilter( this ); //so we can keep m_widget anchored
return id;