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/part/part.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/part/part.cpp') diff --git a/src/part/part.cpp b/src/part/part.cpp index 1b4b878..f251731 100644 --- a/src/part/part.cpp +++ b/src/part/part.cpp @@ -3,14 +3,14 @@ #include "codeine.h" #include "debug.h" -#include -#include +#include +#include #include "part.h" #include #include "toolbar.h" #include "videoWindow.h" -#include +#include #include namespace Codeine @@ -35,9 +35,9 @@ namespace Codeine //FIXME this will terminate the host, eg Konqueror Debug::fatal() << "Couldn't init xine!\n"; - KAction *play = new KToggleAction( i18n("Play"), "player_play", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" ); - KAction *mute = new KToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" ); - KToolBar *toolBar = new MouseOverToolBar( widget() ); + TDEAction *play = new TDEToggleAction( i18n("Play"), "player_play", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" ); + TDEAction *mute = new TDEToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" ); + TDEToolBar *toolBar = new MouseOverToolBar( widget() ); play->plug( toolBar ); mute->plug( toolBar ); m_slider = new TQSlider( TQt::Horizontal, toolBar, "slider" ); @@ -68,11 +68,11 @@ namespace Codeine return true; } - KAboutData* + TDEAboutData* Part::createAboutData() { // generic factory expects this on the heap - return new KAboutData( APP_NAME, PRETTY_NAME, APP_VERSION ); + return new TDEAboutData( APP_NAME, PRETTY_NAME, APP_VERSION ); } void -- cgit v1.2.3