From 12b478cefdf1789828dbcd677d409cf8bad654ca Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 13 Jun 2020 16:33:09 +0200 Subject: Conversion KDE -> TDE environment. Signed-off-by: gregory guy --- src/app/volumeAction.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/app/volumeAction.cpp') 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 -#include +#include +#include #include #include #include @@ -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; -- cgit v1.2.3