diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:36:54 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:36:54 +0900 |
| commit | 1ca6231ff7a251916340814041990bef8e282308 (patch) | |
| tree | 70032d1b548c828ee397996ac1e6ef12b998698b /src/part | |
| parent | 6208d03e3d27f1516519199132a8dc8d61e222f1 (diff) | |
| download | codeine-1ca6231ff7a251916340814041990bef8e282308.tar.gz codeine-1ca6231ff7a251916340814041990bef8e282308.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/part')
| -rw-r--r-- | src/part/part.cpp | 8 | ||||
| -rw-r--r-- | src/part/videoWindow.cpp | 2 |
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() |
