From b023e0397971a8bf160f67f03da84e8389ad27b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:36:54 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 1ca6231ff7a251916340814041990bef8e282308) --- src/part/part.cpp | 8 ++++---- src/part/videoWindow.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/part') diff --git a/src/part/part.cpp b/src/part/part.cpp index 37d888e..1b36717 100644 --- a/src/part/part.cpp +++ b/src/part/part.cpp @@ -35,8 +35,8 @@ namespace Codeine //FIXME this will terminate the host, eg Konqueror Debug::fatal() << "Couldn't init xine!\n"; - TDEAction *play = new TDEToggleAction( i18n("Play"), "media-playback-start", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" ); - TDEAction *mute = new TDEToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" ); + TDEAction *play = new TDEToggleAction( i18n("Play"), "media-playback-start", TQt::Key_Space, videoWindow(), TQ_SLOT(togglePlay()), actionCollection(), "play" ); + TDEAction *mute = new TDEToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), TQ_SLOT(toggleMute()), actionCollection(), "mute" ); TDEToolBar *toolBar = new MouseOverToolBar( widget() ); play->plug( toolBar ); mute->plug( toolBar ); @@ -46,8 +46,8 @@ namespace Codeine toolBar->addSeparator(); //FIXME ugly TQObject *o = (TQObject*)statusBar(); - connect( videoWindow(), SIGNAL(statusMessage( const TQString& )), o, SLOT(message( const TQString& )) ); - connect( videoWindow(), SIGNAL(titleChanged( const TQString& )), o, SLOT(message( const TQString& )) ); //FIXME + connect( videoWindow(), TQ_SIGNAL(statusMessage( const TQString& )), o, TQ_SLOT(message( const TQString& )) ); + connect( videoWindow(), TQ_SIGNAL(titleChanged( const TQString& )), o, TQ_SLOT(message( const TQString& )) ); //FIXME } bool diff --git a/src/part/videoWindow.cpp b/src/part/videoWindow.cpp index eb1c859..2da1c35 100644 --- a/src/part/videoWindow.cpp +++ b/src/part/videoWindow.cpp @@ -71,7 +71,7 @@ VideoWindow::VideoWindow( TQWidget *parent, const char *name ) XUnlockDisplay( X::d ); - connect( &m_timer, SIGNAL(timeout()), SLOT(hideCursor()) ); + connect( &m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(hideCursor()) ); } VideoWindow::~VideoWindow() -- cgit v1.2.3