summaryrefslogtreecommitdiffstats
path: root/src/part
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-02 11:36:54 +0900
committerMichele Calgaro <[email protected]>2024-01-04 10:14:40 +0900
commitb023e0397971a8bf160f67f03da84e8389ad27b6 (patch)
tree3771e178b5559341134c62a53ff0390b2149a635 /src/part
parent7c2b90bd69ea9078e888c494918ba7f5a03949ff (diff)
downloadcodeine-b023e0397971a8bf160f67f03da84e8389ad27b6.tar.gz
codeine-b023e0397971a8bf160f67f03da84e8389ad27b6.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1ca6231ff7a251916340814041990bef8e282308)
Diffstat (limited to 'src/part')
-rw-r--r--src/part/part.cpp8
-rw-r--r--src/part/videoWindow.cpp2
2 files changed, 5 insertions, 5 deletions
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()