summaryrefslogtreecommitdiffstats
path: root/src/app/volumeAction.cpp
diff options
context:
space:
mode:
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;