@ -120,9 +120,9 @@ XinePart::XinePart(TQWidget* parentWidget, const char* widgetName, TQObject* par
m_xine = new KXineWidget ( parentWidget , widgetName , configPath , logoPath ,
audioDriver , videoDriver , /* start xine manual*/ true , verbose ) ;
connect ( m_xine , TQ T _SIGNAL( signalXineFatal ( const TQString & ) ) , this , TQ T _SIGNAL( canceled ( const TQString & ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( stopDvb ( ) ) , this , TQ T _SIGNAL( stopDvb ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalDvbOSDHidden ( ) ) , this , TQ T _SIGNAL( dvbOSDHide ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalXineFatal ( const TQString & ) ) , this , TQ _SIGNAL( canceled ( const TQString & ) ) ) ;
connect ( m_xine , TQ _SIGNAL( stopDvb ( ) ) , this , TQ _SIGNAL( stopDvb ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalDvbOSDHidden ( ) ) , this , TQ _SIGNAL( dvbOSDHide ( ) ) ) ;
m_xine - > setFocusPolicy ( TQWidget : : ClickFocus ) ;
setWidget ( m_xine ) ;
@ -131,7 +131,7 @@ XinePart::XinePart(TQWidget* parentWidget, const char* widgetName, TQObject* par
initActions ( ) ;
initConnections ( ) ;
TQTimer : : singleShot ( 0 , this , TQ T _SLOT( slotDisableAllActions ( ) ) ) ;
TQTimer : : singleShot ( 0 , this , TQ _SLOT( slotDisableAllActions ( ) ) ) ;
m_oldPosition = m_xine - > mapToGlobal ( TQPoint ( 0 , 0 ) ) ;
m_posCheckTimer . start ( 333 ) ;
}
@ -314,7 +314,7 @@ void XinePart::slotPlay(bool forcePlay)
return ;
}
else
TQTimer : : singleShot ( 0 , m_xine , TQ T _SLOT( slotPlay ( ) ) ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ _SLOT( slotPlay ( ) ) ) ;
}
else
{
@ -331,7 +331,7 @@ void XinePart::slotPlay(bool forcePlay)
return ;
}
else
TQTimer : : singleShot ( 0 , m_xine , TQ T _SLOT( slotPlay ( ) ) ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ _SLOT( slotPlay ( ) ) ) ;
}
else
kdError ( ) < < " XinePart: " < < TDEIO : : NetAccess : : lastErrorString ( ) < < endl ;
@ -354,7 +354,7 @@ void XinePart::slotStop()
m_playlist [ m_current ] = MRL ( " dvd:// " + TQString : : number ( title ) + " . " + TQString : : number ( chapter ) ) ;
}
TQTimer : : singleShot ( 0 , m_xine , TQ T _SLOT( slotStop ( ) ) ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ _SLOT( slotStop ( ) ) ) ;
stateChanged ( " not_playing " ) ;
m_pauseButton - > setChecked ( false ) ;
m_playTime - > setText ( " 0:00:00 " ) ;
@ -416,7 +416,7 @@ void XinePart::slotDvbOpen( const TQString &filename, const TQString &chanName,
return ;
m_playlist . clear ( ) ;
m_xine - > setDvb ( filename , chanName , haveVideo ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ T _SLOT( openDvb ( ) ) ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ _SLOT( openDvb ( ) ) ) ;
//m_xine->openDvb( filename, chanName, haveVideo );
}
@ -588,7 +588,7 @@ void XinePart::slotSaveStream()
m_xine - > clearQueue ( ) ;
m_xine - > appendToQueue ( m_playlist [ m_current ] . url ( ) + " #save: " + kurl . path ( ) ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ T _SLOT( slotPlay ( ) ) ) ;
TQTimer : : singleShot ( 0 , m_xine , TQ _SLOT( slotPlay ( ) ) ) ;
m_pauseButton - > setChecked ( false ) ;
}
@ -835,14 +835,14 @@ void XinePart::slotFilterDialog()
if ( ! m_filterDialog )
{
m_filterDialog = new FilterDialog ( m_xine - > getAudioFilterNames ( ) , m_xine - > getVideoFilterNames ( ) ) ;
connect ( m_filterDialog , TQ T _SIGNAL( signalCreateAudioFilter ( const TQString & , TQWidget * ) ) ,
m_xine , TQ T _SLOT( slotCreateAudioFilter ( const TQString & , TQWidget * ) ) ) ;
connect ( m_filterDialog , TQ T _SIGNAL( signalCreateVideoFilter ( const TQString & , TQWidget * ) ) ,
m_xine , TQ T _SLOT( slotCreateVideoFilter ( const TQString & , TQWidget * ) ) ) ;
connect ( m_filterDialog , TQ T _SIGNAL( signalRemoveAllAudioFilters ( ) ) , m_xine , TQ T _SLOT( slotRemoveAllAudioFilters ( ) ) ) ;
connect ( m_filterDialog , TQ T _SIGNAL( signalRemoveAllVideoFilters ( ) ) , m_xine , TQ T _SLOT( slotRemoveAllVideoFilters ( ) ) ) ;
connect ( m_filterDialog , TQ T _SIGNAL( signalUseAudioFilters ( bool ) ) , m_xine , TQ T _SLOT( slotEnableAudioFilters ( bool ) ) ) ;
connect ( m_filterDialog , TQ T _SIGNAL( signalUseVideoFilters ( bool ) ) , m_xine , TQ T _SLOT( slotEnableVideoFilters ( bool ) ) ) ;
connect ( m_filterDialog , TQ _SIGNAL( signalCreateAudioFilter ( const TQString & , TQWidget * ) ) ,
m_xine , TQ _SLOT( slotCreateAudioFilter ( const TQString & , TQWidget * ) ) ) ;
connect ( m_filterDialog , TQ _SIGNAL( signalCreateVideoFilter ( const TQString & , TQWidget * ) ) ,
m_xine , TQ _SLOT( slotCreateVideoFilter ( const TQString & , TQWidget * ) ) ) ;
connect ( m_filterDialog , TQ _SIGNAL( signalRemoveAllAudioFilters ( ) ) , m_xine , TQ _SLOT( slotRemoveAllAudioFilters ( ) ) ) ;
connect ( m_filterDialog , TQ _SIGNAL( signalRemoveAllVideoFilters ( ) ) , m_xine , TQ _SLOT( slotRemoveAllVideoFilters ( ) ) ) ;
connect ( m_filterDialog , TQ _SIGNAL( signalUseAudioFilters ( bool ) ) , m_xine , TQ _SLOT( slotEnableAudioFilters ( bool ) ) ) ;
connect ( m_filterDialog , TQ _SIGNAL( signalUseVideoFilters ( bool ) ) , m_xine , TQ _SLOT( slotEnableVideoFilters ( bool ) ) ) ;
}
m_filterDialog - > show ( ) ;
m_filterDialog - > raise ( ) ;
@ -854,8 +854,8 @@ void XinePart::slotDeinterlaceQuality()
return ;
DeinterlaceQuality * deinterlaceQuality = new DeinterlaceQuality ( ( TQWidget * ) m_deinterlacerConfigWidget ) ;
deinterlaceQuality - > setQuality ( m_lastDeinterlaceQuality ) ;
connect ( deinterlaceQuality , TQ T _SIGNAL( signalSetDeinterlaceConfig ( const TQString & ) ) ,
m_xine , TQ T _SLOT( slotSetDeinterlaceConfig ( const TQString & ) ) ) ;
connect ( deinterlaceQuality , TQ _SIGNAL( signalSetDeinterlaceConfig ( const TQString & ) ) ,
m_xine , TQ _SLOT( slotSetDeinterlaceConfig ( const TQString & ) ) ) ;
deinterlaceQuality - > exec ( ) ;
@ -903,12 +903,12 @@ void XinePart::slotPictureSettings()
int hue , sat , contrast , bright , avOffset , spuOffset ;
m_xine - > getVideoSettings ( hue , sat , contrast , bright , avOffset , spuOffset ) ;
m_pictureSettings = new VideoSettings ( hue , sat , contrast , bright , avOffset , spuOffset ) ;
connect ( m_pictureSettings , TQ T _SIGNAL( signalNewHue ( int ) ) , this , TQ T _SLOT( slotSetHue ( int ) ) ) ;
connect ( m_pictureSettings , TQ T _SIGNAL( signalNewSaturation ( int ) ) , this , TQ T _SLOT( slotSetSaturation ( int ) ) ) ;
connect ( m_pictureSettings , TQ T _SIGNAL( signalNewContrast ( int ) ) , this , TQ T _SLOT( slotSetContrast ( int ) ) ) ;
connect ( m_pictureSettings , TQ T _SIGNAL( signalNewBrightness ( int ) ) , this , TQ T _SLOT( slotSetBrightness ( int ) ) ) ;
connect ( m_pictureSettings , TQ T _SIGNAL( signalNewAVOffset ( int ) ) , m_xine , TQ T _SLOT( slotSetAVOffset ( int ) ) ) ;
connect ( m_pictureSettings , TQ T _SIGNAL( signalNewSpuOffset ( int ) ) , m_xine , TQ T _SLOT( slotSetSpuOffset ( int ) ) ) ;
connect ( m_pictureSettings , TQ _SIGNAL( signalNewHue ( int ) ) , this , TQ _SLOT( slotSetHue ( int ) ) ) ;
connect ( m_pictureSettings , TQ _SIGNAL( signalNewSaturation ( int ) ) , this , TQ _SLOT( slotSetSaturation ( int ) ) ) ;
connect ( m_pictureSettings , TQ _SIGNAL( signalNewContrast ( int ) ) , this , TQ _SLOT( slotSetContrast ( int ) ) ) ;
connect ( m_pictureSettings , TQ _SIGNAL( signalNewBrightness ( int ) ) , this , TQ _SLOT( slotSetBrightness ( int ) ) ) ;
connect ( m_pictureSettings , TQ _SIGNAL( signalNewAVOffset ( int ) ) , m_xine , TQ _SLOT( slotSetAVOffset ( int ) ) ) ;
connect ( m_pictureSettings , TQ _SIGNAL( signalNewSpuOffset ( int ) ) , m_xine , TQ _SLOT( slotSetSpuOffset ( int ) ) ) ;
}
m_pictureSettings - > show ( ) ;
m_pictureSettings - > raise ( ) ;
@ -1073,7 +1073,7 @@ void XinePart::slotTrackPlaying()
kdDebug ( ) < < " XinePart: xine is playing " < < endl ;
m_pauseButton - > setChecked ( false ) ;
TQTimer : : singleShot ( 100 , this , TQ T _SLOT( slotEnablePlayActions ( ) ) ) ;
TQTimer : : singleShot ( 100 , this , TQ _SLOT( slotEnablePlayActions ( ) ) ) ;
if ( m_xine - > getURL ( ) = = " DVB " )
{
@ -1276,9 +1276,9 @@ void XinePart::slotFinalize()
actionCollection ( ) - > action ( " file_save_screenshot " ) - > plug ( m_embeddedContext ) ;
actionCollection ( ) - > action ( " file_save_stream " ) - > plug ( m_embeddedContext ) ;
m_embeddedContext - > insertSeparator ( ) ;
action = new TDEAction ( i18n ( " Copy URL to Clipboard " ) , " edit-copy " , 0 , this , TQ T _SLOT( slotCopyToClipboard ( ) ) , actionCollection ( ) , " copy_to_clipboard " ) ;
action = new TDEAction ( i18n ( " Copy URL to Clipboard " ) , " edit-copy " , 0 , this , TQ _SLOT( slotCopyToClipboard ( ) ) , actionCollection ( ) , " copy_to_clipboard " ) ;
action - > plug ( m_embeddedContext ) ;
action = new TDEAction ( i18n ( " Play in Kaffeine Externally " ) , " gear " , 0 , this , TQ T _SLOT( slotLaunchExternally ( ) ) , actionCollection ( ) , " play_externally " ) ;
action = new TDEAction ( i18n ( " Play in Kaffeine Externally " ) , " gear " , 0 , this , TQ _SLOT( slotLaunchExternally ( ) ) , actionCollection ( ) , " play_externally " ) ;
action - > plug ( m_embeddedContext ) ;
}
@ -1287,7 +1287,7 @@ void XinePart::slotFinalize()
m_audioVisual - > setItems ( visuals ) ;
loadConfig ( ) ;
TQTimer : : singleShot ( 0 , this , TQ T _SLOT( slotEnableAllActions ( ) ) ) ;
TQTimer : : singleShot ( 0 , this , TQ _SLOT( slotEnableAllActions ( ) ) ) ;
}
void XinePart : : slotCopyToClipboard ( )
@ -1302,7 +1302,7 @@ void XinePart::slotLaunchExternally()
{
slotStop ( ) ;
TQTimer : : singleShot ( 1000 , this , TQ T _SLOT( slotLaunchDelayed ( ) ) ) ;
TQTimer : : singleShot ( 1000 , this , TQ _SLOT( slotLaunchDelayed ( ) ) ) ;
}
void XinePart : : slotLaunchDelayed ( )
@ -1319,98 +1319,98 @@ void XinePart::initActions()
{
TDEAction * action = NULL ;
/* file menu */
m_broadcastSend = new TDEToggleAction ( i18n ( " &Send Broadcast Stream... " ) , 0 , 0 , this , TQ T _SLOT( slotToggleBroadcastSend ( ) ) , actionCollection ( ) , " network_send " ) ;
new TDEAction ( i18n ( " &Receive Broadcast Stream... " ) , " network " , 0 , this , TQ T _SLOT( slotBroadcastReceive ( ) ) , actionCollection ( ) , " network_receive " ) ;
new TDEAction ( i18n ( " &Save Screenshot... " ) , " frame_image " , CTRL | Key_S , this , TQ T _SLOT( slotScreenshot ( ) ) , actionCollection ( ) , " file_save_screenshot " ) ;
action = new TDEAction ( i18n ( " Save Stream... " ) , " player_record " , Key_R , this , TQ T _SLOT( slotSaveStream ( ) ) , actionCollection ( ) , " file_save_stream " ) ;
m_broadcastSend = new TDEToggleAction ( i18n ( " &Send Broadcast Stream... " ) , 0 , 0 , this , TQ _SLOT( slotToggleBroadcastSend ( ) ) , actionCollection ( ) , " network_send " ) ;
new TDEAction ( i18n ( " &Receive Broadcast Stream... " ) , " network " , 0 , this , TQ _SLOT( slotBroadcastReceive ( ) ) , actionCollection ( ) , " network_receive " ) ;
new TDEAction ( i18n ( " &Save Screenshot... " ) , " frame_image " , CTRL | Key_S , this , TQ _SLOT( slotScreenshot ( ) ) , actionCollection ( ) , " file_save_screenshot " ) ;
action = new TDEAction ( i18n ( " Save Stream... " ) , " player_record " , Key_R , this , TQ _SLOT( slotSaveStream ( ) ) , actionCollection ( ) , " file_save_stream " ) ;
action - > setWhatsThis ( i18n ( " Saves current stream to harddisc. This feature was disabled for some formats (e.g. Real Media) to prevent potential legal problems. " ) ) ;
/* player menu */
new TDEAction ( i18n ( " Toggle Minimal Mode " ) , 0 , 0 , this , TQ T _SIGNAL( signalToggleMinimalMode ( ) ) , actionCollection ( ) , " player_minimal_mode " ) ;
new TDEAction ( i18n ( " Toggle Minimal Mode " ) , 0 , 0 , this , TQ _SIGNAL( signalToggleMinimalMode ( ) ) , actionCollection ( ) , " player_minimal_mode " ) ;
new TDEAction ( i18n ( " Play " ) , " media-playback-start " , 0 , this , TQ T _SLOT( slotPlay ( ) ) , actionCollection ( ) , " player_play " ) ;
m_pauseButton = new TDEToggleAction ( i18n ( " Pause " ) , " media-playback-pause " , Key_Space , this , TQ T _SLOT( slotTogglePause ( ) ) , actionCollection ( ) , " player_pause " ) ;
new TDEAction ( i18n ( " &Next " ) , " media-skip-forward " , Key_PageDown , this , TQ T _SLOT( slotNext ( ) ) , actionCollection ( ) , " player_next " ) ;
new TDEAction ( i18n ( " &Previous " ) , " media-skip-backward " , Key_PageUp , this , TQ T _SLOT( slotPrevious ( ) ) , actionCollection ( ) , " player_previous " ) ;
new TDEAction ( i18n ( " Stop " ) , " media-playback-stop " , Key_Backspace , this , TQ T _SLOT( slotStop ( ) ) , actionCollection ( ) , " player_stop " ) ;
new TDEAction ( i18n ( " Play " ) , " media-playback-start " , 0 , this , TQ _SLOT( slotPlay ( ) ) , actionCollection ( ) , " player_play " ) ;
m_pauseButton = new TDEToggleAction ( i18n ( " Pause " ) , " media-playback-pause " , Key_Space , this , TQ _SLOT( slotTogglePause ( ) ) , actionCollection ( ) , " player_pause " ) ;
new TDEAction ( i18n ( " &Next " ) , " media-skip-forward " , Key_PageDown , this , TQ _SLOT( slotNext ( ) ) , actionCollection ( ) , " player_next " ) ;
new TDEAction ( i18n ( " &Previous " ) , " media-skip-backward " , Key_PageUp , this , TQ _SLOT( slotPrevious ( ) ) , actionCollection ( ) , " player_previous " ) ;
new TDEAction ( i18n ( " Stop " ) , " media-playback-stop " , Key_Backspace , this , TQ _SLOT( slotStop ( ) ) , actionCollection ( ) , " player_stop " ) ;
new TDEAction ( i18n ( " &Fast Forward " ) , " media-seek-forward " , ALT | Key_Right , this , TQ T _SLOT( slotFastForward ( ) ) , actionCollection ( ) , " player_ff " ) ;
new TDEAction ( i18n ( " Slow &Motion " ) , 0 , ALT | Key_Left , this , TQ T _SLOT( slotSlowMotion ( ) ) , actionCollection ( ) , " player_slowmotion " ) ;
new TDEAction ( i18n ( " &Fast Forward " ) , " media-seek-forward " , ALT | Key_Right , this , TQ _SLOT( slotFastForward ( ) ) , actionCollection ( ) , " player_ff " ) ;
new TDEAction ( i18n ( " Slow &Motion " ) , 0 , ALT | Key_Left , this , TQ _SLOT( slotSlowMotion ( ) ) , actionCollection ( ) , " player_slowmotion " ) ;
new TDEAction ( i18n ( " Skip Forward (20s) " ), NULL, Key_Right, this, TQ T _SLOT(slotPosPlusSmall()), actionCollection(), " player_posplus_small " ) ;
new TDEAction ( i18n ( " Skip Backward (20s) " ), NULL, Key_Left, this, TQ T _SLOT(slotPosMinusSmall()), actionCollection(), " player_posminus_small " ) ;
new TDEAction ( i18n ( " Skip Forward (1m) " ), NULL, CTRL|Key_PageUp, this, TQ T _SLOT(slotPosPlusMedium()), actionCollection(), " player_posplus_medium " ) ;
new TDEAction ( i18n ( " Skip Backward (1m) " ), NULL, CTRL|Key_PageDown, this, TQ T _SLOT(slotPosMinusMedium()), actionCollection(), " player_posminus_medium " ) ;
new TDEAction ( i18n ( " Skip Forward (10m) " ), NULL, ALT|Key_PageUp, this, TQ T _SLOT(slotPosPlusLarge()), actionCollection(), " player_posplus_large " ) ;
new TDEAction ( i18n ( " Skip Backward (10m) " ), NULL, ALT|Key_PageDown, this, TQ T _SLOT(slotPosMinusLarge()), actionCollection(), " player_posminus_large " ) ;
new TDEAction ( i18n ( " Jump to Position... " ) , " goto " , CTRL | Key_J , this , TQ T _SLOT( slotJumpToPosition ( ) ) , actionCollection ( ) , " player_jump_to " ) ;
new TDEAction ( i18n ( " Skip Forward (20s) " ), NULL, Key_Right, this, TQ _SLOT(slotPosPlusSmall()), actionCollection(), " player_posplus_small " ) ;
new TDEAction ( i18n ( " Skip Backward (20s) " ), NULL, Key_Left, this, TQ _SLOT(slotPosMinusSmall()), actionCollection(), " player_posminus_small " ) ;
new TDEAction ( i18n ( " Skip Forward (1m) " ), NULL, CTRL|Key_PageUp, this, TQ _SLOT(slotPosPlusMedium()), actionCollection(), " player_posplus_medium " ) ;
new TDEAction ( i18n ( " Skip Backward (1m) " ), NULL, CTRL|Key_PageDown, this, TQ _SLOT(slotPosMinusMedium()), actionCollection(), " player_posminus_medium " ) ;
new TDEAction ( i18n ( " Skip Forward (10m) " ), NULL, ALT|Key_PageUp, this, TQ _SLOT(slotPosPlusLarge()), actionCollection(), " player_posplus_large " ) ;
new TDEAction ( i18n ( " Skip Backward (10m) " ), NULL, ALT|Key_PageDown, this, TQ _SLOT(slotPosMinusLarge()), actionCollection(), " player_posminus_large " ) ;
new TDEAction ( i18n ( " Jump to Position... " ) , " goto " , CTRL | Key_J , this , TQ _SLOT( slotJumpToPosition ( ) ) , actionCollection ( ) , " player_jump_to " ) ;
new TDEAction ( i18n ( " DVD Menu Left " ) , 0 , CTRL | Key_Left , this , TQ T _SLOT( slotDVDMenuLeft ( ) ) , actionCollection ( ) , " dvdmenuleft " ) ;
new TDEAction ( i18n ( " DVD Menu Right " ) , 0 , CTRL | Key_Right , this , TQ T _SLOT( slotDVDMenuRight ( ) ) , actionCollection ( ) , " dvdmenuright " ) ;
new TDEAction ( i18n ( " DVD Menu Up " ) , 0 , CTRL | Key_Up , this , TQ T _SLOT( slotDVDMenuUp ( ) ) , actionCollection ( ) , " dvdmenuup " ) ;
new TDEAction ( i18n ( " DVD Menu Down " ) , 0 , CTRL | Key_Down , this , TQ T _SLOT( slotDVDMenuDown ( ) ) , actionCollection ( ) , " dvdmenudown " ) ;
new TDEAction ( i18n ( " DVD Menu Select " ) , 0 , CTRL | Key_Return , this , TQ T _SLOT( slotDVDMenuSelect ( ) ) , actionCollection ( ) , " dvdmenuselect " ) ;
new TDEAction ( i18n ( " DVD Menu Left " ) , 0 , CTRL | Key_Left , this , TQ _SLOT( slotDVDMenuLeft ( ) ) , actionCollection ( ) , " dvdmenuleft " ) ;
new TDEAction ( i18n ( " DVD Menu Right " ) , 0 , CTRL | Key_Right , this , TQ _SLOT( slotDVDMenuRight ( ) ) , actionCollection ( ) , " dvdmenuright " ) ;
new TDEAction ( i18n ( " DVD Menu Up " ) , 0 , CTRL | Key_Up , this , TQ _SLOT( slotDVDMenuUp ( ) ) , actionCollection ( ) , " dvdmenuup " ) ;
new TDEAction ( i18n ( " DVD Menu Down " ) , 0 , CTRL | Key_Down , this , TQ _SLOT( slotDVDMenuDown ( ) ) , actionCollection ( ) , " dvdmenudown " ) ;
new TDEAction ( i18n ( " DVD Menu Select " ) , 0 , CTRL | Key_Return , this , TQ _SLOT( slotDVDMenuSelect ( ) ) , actionCollection ( ) , " dvdmenuselect " ) ;
m_audioChannels = new TDESelectAction ( i18n ( " Audio Channel " ) , 0 , actionCollection ( ) , " audio_channels " ) ;
m_audioChannels - > setToolTip ( i18n ( " Select audio channel " ) ) ;
m_audioChannels - > setComboWidth ( 50 ) ;
connect ( m_audioChannels , TQ T _SIGNAL( activated ( int ) ) , this , TQ T _SLOT( slotSetAudioChannel ( int ) ) ) ;
new TDEAction ( i18n ( " &Next Audio Channel " ) , 0 , 0 , this , TQ T _SLOT( slotNextAudioChannel ( ) ) , actionCollection ( ) , " next_audio_channels " ) ;
connect ( m_audioChannels , TQ _SIGNAL( activated ( int ) ) , this , TQ _SLOT( slotSetAudioChannel ( int ) ) ) ;
new TDEAction ( i18n ( " &Next Audio Channel " ) , 0 , 0 , this , TQ _SLOT( slotNextAudioChannel ( ) ) , actionCollection ( ) , " next_audio_channels " ) ;
m_audioVisual = new TDESelectAction ( i18n ( " Audio &Visualization " ) , 0 , actionCollection ( ) , " audio_visualization " ) ;
connect ( m_audioVisual , TQ T _SIGNAL( activated ( const TQString & ) ) , m_xine , TQ T _SLOT( slotSetVisualPlugin ( const TQString & ) ) ) ;
new TDEAction ( i18n ( " &Mute " ) , " player_mute " , Key_U , this , TQ T _SLOT( slotMute ( ) ) , actionCollection ( ) , " audio_mute " ) ;
new TDEAction ( i18n ( " Volume Up " ) , NULL , Key_Plus , this , TQ T _SLOT( slotVolumeUp ( ) ) , actionCollection ( ) , " volume_increase " ) ;
new TDEAction ( i18n ( " Volume Down " ) , NULL , Key_Minus , this , TQ T _SLOT( slotVolumeDown ( ) ) , actionCollection ( ) , " volume_decrease " ) ;
connect ( m_audioVisual , TQ _SIGNAL( activated ( const TQString & ) ) , m_xine , TQ _SLOT( slotSetVisualPlugin ( const TQString & ) ) ) ;
new TDEAction ( i18n ( " &Mute " ) , " player_mute " , Key_U , this , TQ _SLOT( slotMute ( ) ) , actionCollection ( ) , " audio_mute " ) ;
new TDEAction ( i18n ( " Volume Up " ) , NULL , Key_Plus , this , TQ _SLOT( slotVolumeUp ( ) ) , actionCollection ( ) , " volume_increase " ) ;
new TDEAction ( i18n ( " Volume Down " ) , NULL , Key_Minus , this , TQ _SLOT( slotVolumeDown ( ) ) , actionCollection ( ) , " volume_decrease " ) ;
m_deinterlaceEnabled = new TDEToggleAction ( i18n ( " &Deinterlace " ) , 0 , Key_I , m_xine , TQ T _SLOT( slotToggleDeinterlace ( ) ) , actionCollection ( ) , " video_deinterlace " ) ;
m_deinterlaceEnabled = new TDEToggleAction ( i18n ( " &Deinterlace " ) , 0 , Key_I , m_xine , TQ _SLOT( slotToggleDeinterlace ( ) ) , actionCollection ( ) , " video_deinterlace " ) ;
m_deinterlaceEnabled - > setWhatsThis ( i18n ( " Activate this for interlaced streams, some DVD's for example. " ) ) ;
new TDEAction ( i18n ( " &Auto " ) , " zoom-fit-best " , Key_F5 , m_xine , TQ T _SLOT( slotAspectRatioAuto ( ) ) , actionCollection ( ) , " aspect_auto " ) ;
new TDEAction ( i18n ( " &4:3 " ) , " zoom-fit-best " , Key_F6 , m_xine , TQ T _SLOT( slotAspectRatio4_3 ( ) ) , actionCollection ( ) , " aspect_43 " ) ;
new TDEAction ( i18n ( " A&namorphic " ) , " zoom-fit-best " , Key_F7 , m_xine , TQ T _SLOT( slotAspectRatioAnamorphic ( ) ) , actionCollection ( ) , " aspect_anamorphic " ) ;
new TDEAction ( i18n ( " &DVB " ) , " zoom-fit-best " , Key_F8 , m_xine , TQ T _SLOT( slotAspectRatioDVB ( ) ) , actionCollection ( ) , " aspect_dvb " ) ;
new TDEAction ( i18n ( " &Square " ) , " zoom-fit-best " , Key_F9 , m_xine , TQ T _SLOT( slotAspectRatioSquare ( ) ) , actionCollection ( ) , " aspect_square " ) ;
KStdAction : : zoomIn ( m_xine , TQ T _SLOT( slotZoomIn ( ) ) , actionCollection ( ) , " zoom_in " ) ;
KStdAction : : zoomOut ( m_xine , TQ T _SLOT( slotZoomOut ( ) ) , actionCollection ( ) , " zoom_out " ) ;
KStdAction : : fitToPage ( m_xine , TQ T _SLOT( slotZoomOff ( ) ) , actionCollection ( ) , " zoom_off " ) ;
new TDEAction ( i18n ( " Zoom In Horizontal " ) , NULL , CTRL | Key_H , m_xine , TQ T _SLOT( slotZoomInX ( ) ) , actionCollection ( ) , " zoom_in_x " ) ;
new TDEAction ( i18n ( " Zoom Out Horizontal " ) , NULL , CTRL | SHIFT | Key_H , m_xine , TQ T _SLOT( slotZoomOutX ( ) ) , actionCollection ( ) , " zoom_out_x " ) ;
new TDEAction ( i18n ( " Zoom In Vertical " ) , NULL , CTRL | Key_V , m_xine , TQ T _SLOT( slotZoomInY ( ) ) , actionCollection ( ) , " zoom_in_y " ) ;
new TDEAction ( i18n ( " Zoom Out Vertical " ) , NULL , CTRL | SHIFT | Key_V , m_xine , TQ T _SLOT( slotZoomOutY ( ) ) , actionCollection ( ) , " zoom_out_y " ) ;
new TDEAction ( i18n ( " Deinterlace &Quality " ) , " blend " , CTRL | Key_I , this , TQ T _SLOT( slotDeinterlaceQuality ( ) ) , actionCollection ( ) , " video_deinterlace_quality " ) ;
new TDEAction ( i18n ( " &Video Settings " ) , " configure " , Key_V , this , TQ T _SLOT( slotPictureSettings ( ) ) , actionCollection ( ) , " video_picture " ) ;
new TDEAction ( i18n ( " &Equalizer " ) , NULL , Key_E , this , TQ T _SLOT( slotEqualizer ( ) ) , actionCollection ( ) , " equalizer " ) ;
new TDEAction ( i18n ( " &Auto " ) , " zoom-fit-best " , Key_F5 , m_xine , TQ _SLOT( slotAspectRatioAuto ( ) ) , actionCollection ( ) , " aspect_auto " ) ;
new TDEAction ( i18n ( " &4:3 " ) , " zoom-fit-best " , Key_F6 , m_xine , TQ _SLOT( slotAspectRatio4_3 ( ) ) , actionCollection ( ) , " aspect_43 " ) ;
new TDEAction ( i18n ( " A&namorphic " ) , " zoom-fit-best " , Key_F7 , m_xine , TQ _SLOT( slotAspectRatioAnamorphic ( ) ) , actionCollection ( ) , " aspect_anamorphic " ) ;
new TDEAction ( i18n ( " &DVB " ) , " zoom-fit-best " , Key_F8 , m_xine , TQ _SLOT( slotAspectRatioDVB ( ) ) , actionCollection ( ) , " aspect_dvb " ) ;
new TDEAction ( i18n ( " &Square " ) , " zoom-fit-best " , Key_F9 , m_xine , TQ _SLOT( slotAspectRatioSquare ( ) ) , actionCollection ( ) , " aspect_square " ) ;
KStdAction : : zoomIn ( m_xine , TQ _SLOT( slotZoomIn ( ) ) , actionCollection ( ) , " zoom_in " ) ;
KStdAction : : zoomOut ( m_xine , TQ _SLOT( slotZoomOut ( ) ) , actionCollection ( ) , " zoom_out " ) ;
KStdAction : : fitToPage ( m_xine , TQ _SLOT( slotZoomOff ( ) ) , actionCollection ( ) , " zoom_off " ) ;
new TDEAction ( i18n ( " Zoom In Horizontal " ) , NULL , CTRL | Key_H , m_xine , TQ _SLOT( slotZoomInX ( ) ) , actionCollection ( ) , " zoom_in_x " ) ;
new TDEAction ( i18n ( " Zoom Out Horizontal " ) , NULL , CTRL | SHIFT | Key_H , m_xine , TQ _SLOT( slotZoomOutX ( ) ) , actionCollection ( ) , " zoom_out_x " ) ;
new TDEAction ( i18n ( " Zoom In Vertical " ) , NULL , CTRL | Key_V , m_xine , TQ _SLOT( slotZoomInY ( ) ) , actionCollection ( ) , " zoom_in_y " ) ;
new TDEAction ( i18n ( " Zoom Out Vertical " ) , NULL , CTRL | SHIFT | Key_V , m_xine , TQ _SLOT( slotZoomOutY ( ) ) , actionCollection ( ) , " zoom_out_y " ) ;
new TDEAction ( i18n ( " Deinterlace &Quality " ) , " blend " , CTRL | Key_I , this , TQ _SLOT( slotDeinterlaceQuality ( ) ) , actionCollection ( ) , " video_deinterlace_quality " ) ;
new TDEAction ( i18n ( " &Video Settings " ) , " configure " , Key_V , this , TQ _SLOT( slotPictureSettings ( ) ) , actionCollection ( ) , " video_picture " ) ;
new TDEAction ( i18n ( " &Equalizer " ) , NULL , Key_E , this , TQ _SLOT( slotEqualizer ( ) ) , actionCollection ( ) , " equalizer " ) ;
m_subtitles = new TDESelectAction ( i18n ( " Subtitle " ) , 0 , actionCollection ( ) , " player_subtitles " ) ;
m_subtitles - > setToolTip ( i18n ( " Select Subtitle " ) ) ;
m_subtitles - > setComboWidth ( 50 ) ;
connect ( m_subtitles , TQ T _SIGNAL( activated ( int ) ) , this , TQ T _SLOT( slotSetSubtitle ( int ) ) ) ;
new TDEAction ( i18n ( " &Next Subtitle Channel " ) , 0 , 0 , this , TQ T _SLOT( slotNextSubtitleChannel ( ) ) , actionCollection ( ) , " next_player_subtitles " ) ;
new TDEAction ( i18n ( " Delay Subtitle " ) , 0 , CTRL | ALT | Key_Left , this , TQ T _SLOT( slotDelaySubTitle ( ) ) , actionCollection ( ) , " adv_sub " ) ;
new TDEAction ( i18n ( " Advance Subtitle " ) , 0 , CTRL | ALT | Key_Right , this , TQ T _SLOT( slotAdvanceSubTitle ( ) ) , actionCollection ( ) , " delay_sub " ) ;
new TDEAction ( i18n ( " Add subtitle... " ) , 0 , 0 , this , TQ T _SLOT( slotAddSubtitle ( ) ) , actionCollection ( ) , " add_subtitle " ) ;
new TDEAction ( i18n ( " &Menu Toggle " ) , " view_detailed " , Key_D , m_xine , TQ T _SLOT( slotMenuToggle ( ) ) , actionCollection ( ) , " dvd_toggle " ) ;
new TDEAction ( i18n ( " &Title " ) , NULL , 0 , m_xine , TQ T _SLOT( slotMenuTitle ( ) ) , actionCollection ( ) , " dvd_title " ) ;
new TDEAction ( i18n ( " &Root " ) , NULL , 0 , m_xine , TQ T _SLOT( slotMenuRoot ( ) ) , actionCollection ( ) , " dvd_root " ) ;
new TDEAction ( i18n ( " &Subpicture " ) , NULL , 0 , m_xine , TQ T _SLOT( slotMenuSubpicture ( ) ) , actionCollection ( ) , " dvd_subpicture " ) ;
new TDEAction ( i18n ( " &Audio " ) , NULL , 0 , m_xine , TQ T _SLOT( slotMenuAudio ( ) ) , actionCollection ( ) , " dvd_audio " ) ;
new TDEAction ( i18n ( " An&gle " ) , NULL , 0 , m_xine , TQ T _SLOT( slotMenuAngle ( ) ) , actionCollection ( ) , " dvd_angle " ) ;
new TDEAction ( i18n ( " &Part " ) , NULL , 0 , m_xine , TQ T _SLOT( slotMenuPart ( ) ) , actionCollection ( ) , " dvd_part " ) ;
connect ( m_subtitles , TQ _SIGNAL( activated ( int ) ) , this , TQ _SLOT( slotSetSubtitle ( int ) ) ) ;
new TDEAction ( i18n ( " &Next Subtitle Channel " ) , 0 , 0 , this , TQ _SLOT( slotNextSubtitleChannel ( ) ) , actionCollection ( ) , " next_player_subtitles " ) ;
new TDEAction ( i18n ( " Delay Subtitle " ) , 0 , CTRL | ALT | Key_Left , this , TQ _SLOT( slotDelaySubTitle ( ) ) , actionCollection ( ) , " adv_sub " ) ;
new TDEAction ( i18n ( " Advance Subtitle " ) , 0 , CTRL | ALT | Key_Right , this , TQ _SLOT( slotAdvanceSubTitle ( ) ) , actionCollection ( ) , " delay_sub " ) ;
new TDEAction ( i18n ( " Add subtitle... " ) , 0 , 0 , this , TQ _SLOT( slotAddSubtitle ( ) ) , actionCollection ( ) , " add_subtitle " ) ;
new TDEAction ( i18n ( " &Menu Toggle " ) , " view_detailed " , Key_D , m_xine , TQ _SLOT( slotMenuToggle ( ) ) , actionCollection ( ) , " dvd_toggle " ) ;
new TDEAction ( i18n ( " &Title " ) , NULL , 0 , m_xine , TQ _SLOT( slotMenuTitle ( ) ) , actionCollection ( ) , " dvd_title " ) ;
new TDEAction ( i18n ( " &Root " ) , NULL , 0 , m_xine , TQ _SLOT( slotMenuRoot ( ) ) , actionCollection ( ) , " dvd_root " ) ;
new TDEAction ( i18n ( " &Subpicture " ) , NULL , 0 , m_xine , TQ _SLOT( slotMenuSubpicture ( ) ) , actionCollection ( ) , " dvd_subpicture " ) ;
new TDEAction ( i18n ( " &Audio " ) , NULL , 0 , m_xine , TQ _SLOT( slotMenuAudio ( ) ) , actionCollection ( ) , " dvd_audio " ) ;
new TDEAction ( i18n ( " An&gle " ) , NULL , 0 , m_xine , TQ _SLOT( slotMenuAngle ( ) ) , actionCollection ( ) , " dvd_angle " ) ;
new TDEAction ( i18n ( " &Part " ) , NULL , 0 , m_xine , TQ _SLOT( slotMenuPart ( ) ) , actionCollection ( ) , " dvd_part " ) ;
m_dvdTitles = new TDESelectAction ( i18n ( " Titles " ) , 0 , actionCollection ( ) , " dvd_title_menu " ) ;
connect ( m_dvdTitles , TQ T _SIGNAL( activated ( const TQString & ) ) , this , TQ T _SLOT( slotSetDVDTitle ( const TQString & ) ) ) ;
connect ( m_dvdTitles , TQ _SIGNAL( activated ( const TQString & ) ) , this , TQ _SLOT( slotSetDVDTitle ( const TQString & ) ) ) ;
m_dvdChapters = new TDESelectAction ( i18n ( " Chapters " ) , 0 , actionCollection ( ) , " dvd_chapter_menu " ) ;
connect ( m_dvdChapters , TQ T _SIGNAL( activated ( const TQString & ) ) , this , TQ T _SLOT( slotSetDVDChapter ( const TQString & ) ) ) ;
connect ( m_dvdChapters , TQ _SIGNAL( activated ( const TQString & ) ) , this , TQ _SLOT( slotSetDVDChapter ( const TQString & ) ) ) ;
m_dvdAngles = new TDESelectAction ( i18n ( " Angles " ) , 0 , actionCollection ( ) , " dvd_angle_menu " ) ;
connect ( m_dvdAngles , TQ T _SIGNAL( activated ( const TQString & ) ) , this , TQ T _SLOT( slotSetDVDAngle ( const TQString & ) ) ) ;
connect ( m_dvdAngles , TQ _SIGNAL( activated ( const TQString & ) ) , this , TQ _SLOT( slotSetDVDAngle ( const TQString & ) ) ) ;
new TDEAction ( i18n ( " Track &Info " ) , " application-vnd.tde.info " , 0 , this , TQ T _SLOT( slotInfo ( ) ) , actionCollection ( ) , " player_track_info " ) ;
new TDEAction ( i18n ( " Effect &Plugins... " ) , " filter " , Key_X , this , TQ T _SLOT( slotFilterDialog ( ) ) , actionCollection ( ) , " player_post_filters " ) ;
new TDEAction ( i18n ( " Track &Info " ) , " application-vnd.tde.info " , 0 , this , TQ _SLOT( slotInfo ( ) ) , actionCollection ( ) , " player_track_info " ) ;
new TDEAction ( i18n ( " Effect &Plugins... " ) , " filter " , Key_X , this , TQ _SLOT( slotFilterDialog ( ) ) , actionCollection ( ) , " player_post_filters " ) ;
/* settings menu */
new TDEAction ( i18n ( " &xine Engine Parameters " ) , " edit " , 0 , this , TQ T _SLOT( slotConfigXine ( ) ) , actionCollection ( ) , " settings_xine_parameter " ) ;
new TDEAction ( i18n ( " &xine Engine Parameters " ) , " edit " , 0 , this , TQ _SLOT( slotConfigXine ( ) ) , actionCollection ( ) , " settings_xine_parameter " ) ;
m_volume = new VolumeSlider ( ) ;
TQToolTip : : add
@ -1419,8 +1419,8 @@ void XinePart::initActions()
m_volume - > setSteps ( 1 , 10 ) ;
m_volume - > setFocusPolicy ( TQWidget : : NoFocus ) ;
m_volume - > setFixedWidth ( 75 ) ;
connect ( m_volume , TQ T _SIGNAL( valueChanged ( int ) ) , this , TQ T _SLOT( slotVolumeChanged ( int ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalSyncVolume ( ) ) , this , TQ T _SLOT( slotSyncVolume ( ) ) ) ;
connect ( m_volume , TQ _SIGNAL( valueChanged ( int ) ) , this , TQ _SLOT( slotVolumeChanged ( int ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalSyncVolume ( ) ) , this , TQ _SLOT( slotSyncVolume ( ) ) ) ;
new KWidgetAction ( m_volume , i18n ( " Volume " ) , 0 , 0 , 0 , actionCollection ( ) , " audio_volume " ) ;
m_position = new PositionSlider ( Horizontal ) ;
@ -1431,10 +1431,10 @@ void XinePart::initActions()
m_position - > setTracking ( false ) ;
m_position - > setFocusPolicy ( TQWidget : : NoFocus ) ;
m_position - > setMinimumWidth ( 180 ) ;
connect ( m_position , TQ T _SIGNAL( sliderMoved ( int ) ) , m_xine , TQ T _SLOT( slotSeekToPosition ( int ) ) ) ;
connect ( m_position , TQ T _SIGNAL( sliderLastMove ( int ) ) , m_xine , TQ T _SLOT( slotSeekToPositionBlocking ( int ) ) ) ;
connect ( m_position , TQ T _SIGNAL( signalStartSeeking ( ) ) , m_xine , TQ T _SLOT( slotStartSeeking ( ) ) ) ;
connect ( m_position , TQ T _SIGNAL( signalStopSeeking ( ) ) , m_xine , TQ T _SLOT( slotStopSeeking ( ) ) ) ;
connect ( m_position , TQ _SIGNAL( sliderMoved ( int ) ) , m_xine , TQ _SLOT( slotSeekToPosition ( int ) ) ) ;
connect ( m_position , TQ _SIGNAL( sliderLastMove ( int ) ) , m_xine , TQ _SLOT( slotSeekToPositionBlocking ( int ) ) ) ;
connect ( m_position , TQ _SIGNAL( signalStartSeeking ( ) ) , m_xine , TQ _SLOT( slotStartSeeking ( ) ) ) ;
connect ( m_position , TQ _SIGNAL( signalStopSeeking ( ) ) , m_xine , TQ _SLOT( slotStopSeeking ( ) ) ) ;
new KWidgetAction ( m_position , i18n ( " Position " ) , 0 , 0 , 0 , actionCollection ( ) , " player_position " ) ;
m_playTime = new TQPushButton ( 0 ) ;
@ -1445,42 +1445,42 @@ void XinePart::initActions()
m_playTime - > setSizePolicy ( TQSizePolicy ( TQSizePolicy : : Fixed , TQSizePolicy : : Fixed ) ) ;
m_playTime - > setFocusPolicy ( TQWidget : : NoFocus ) ;
new KWidgetAction ( m_playTime , i18n ( " Playtime " ) , 0 , 0 , 0 , actionCollection ( ) , " player_playtime " ) ;
connect ( m_playTime , TQ T _SIGNAL( pressed ( ) ) , this , TQ T _SLOT( slotButtonTimerPressed ( ) ) ) ;
connect ( m_playTime , TQ T _SIGNAL( released ( ) ) , this , TQ T _SLOT( slotButtonTimerReleased ( ) ) ) ;
connect ( m_playTime , TQ _SIGNAL( pressed ( ) ) , this , TQ _SLOT( slotButtonTimerPressed ( ) ) ) ;
connect ( m_playTime , TQ _SIGNAL( released ( ) ) , this , TQ _SLOT( slotButtonTimerReleased ( ) ) ) ;
m_playTime - > setText ( " 0:00:00 " ) ;
m_equalizer = new Equalizer ( ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq30 ( int ) ) , m_xine , TQ T _SLOT( slotSetEq30 ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq60 ( int ) ) , m_xine , TQ T _SLOT( slotSetEq60 ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq125 ( int ) ) , m_xine , TQ T _SLOT( slotSetEq125 ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq250 ( int ) ) , m_xine , TQ T _SLOT( slotSetEq250 ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq500 ( int ) ) , m_xine , TQ T _SLOT( slotSetEq500 ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq1k ( int ) ) , m_xine , TQ T _SLOT( slotSetEq1k ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq2k ( int ) ) , m_xine , TQ T _SLOT( slotSetEq2k ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq4k ( int ) ) , m_xine , TQ T _SLOT( slotSetEq4k ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq8k ( int ) ) , m_xine , TQ T _SLOT( slotSetEq8k ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalNewEq16k ( int ) ) , m_xine , TQ T _SLOT( slotSetEq16k ( int ) ) ) ;
connect ( m_equalizer , TQ T _SIGNAL( signalSetVolumeGain ( bool ) ) , m_xine , TQ T _SLOT( slotSetVolumeGain ( bool ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq30 ( int ) ) , m_xine , TQ _SLOT( slotSetEq30 ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq60 ( int ) ) , m_xine , TQ _SLOT( slotSetEq60 ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq125 ( int ) ) , m_xine , TQ _SLOT( slotSetEq125 ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq250 ( int ) ) , m_xine , TQ _SLOT( slotSetEq250 ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq500 ( int ) ) , m_xine , TQ _SLOT( slotSetEq500 ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq1k ( int ) ) , m_xine , TQ _SLOT( slotSetEq1k ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq2k ( int ) ) , m_xine , TQ _SLOT( slotSetEq2k ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq4k ( int ) ) , m_xine , TQ _SLOT( slotSetEq4k ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq8k ( int ) ) , m_xine , TQ _SLOT( slotSetEq8k ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalNewEq16k ( int ) ) , m_xine , TQ _SLOT( slotSetEq16k ( int ) ) ) ;
connect ( m_equalizer , TQ _SIGNAL( signalSetVolumeGain ( bool ) ) , m_xine , TQ _SLOT( slotSetVolumeGain ( bool ) ) ) ;
}
void XinePart : : initConnections ( )
{
connect ( & m_posCheckTimer , TQ T _SIGNAL( timeout ( ) ) , this , TQ T _SLOT( slotCheckMoved ( ) ) ) ;
connect ( & m_osdTimerEnabler , TQ T _SIGNAL( timeout ( ) ) , this , TQ T _SLOT( slotToggleOsdTimer ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalXineReady ( ) ) , this , TQ T _SLOT( slotFinalize ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalNewChannels ( const TQStringList & , const TQStringList & , int , int ) ) ,
this , TQ T _SLOT( slotChannelInfo ( const TQStringList & , const TQStringList & , int , int ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalXinePlaying ( ) ) , this , TQ T _SLOT( slotTrackPlaying ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalNewPosition ( int , const TQTime & ) ) , this , TQ T _SLOT( slotNewPosition ( int , const TQTime & ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalXineStatus ( const TQString & ) ) , this , TQ T _SLOT( slotStatus ( const TQString & ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalXineError ( const TQString & ) ) , this , TQ T _SLOT( slotError ( const TQString & ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalXineMessage ( const TQString & ) ) , this , TQ T _SLOT( slotMessage ( const TQString & ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalPlaybackFinished ( ) ) , this , TQ T _SLOT( slotPlaybackFinished ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalTitleChanged ( ) ) , this , TQ T _SLOT( slotNewTitle ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalLengthChanged ( ) ) , this , TQ T _SLOT( slotNewLength ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalVideoSizeChanged ( ) ) , this , TQ T _SLOT( slotNewFrameSize ( ) ) ) ;
connect ( m_xine , TQ T _SIGNAL( signalRightClick ( const TQPoint & ) ) , this , TQ T _SLOT( slotContextMenu ( const TQPoint & ) ) ) ;
connect ( & m_posCheckTimer , TQ _SIGNAL( timeout ( ) ) , this , TQ _SLOT( slotCheckMoved ( ) ) ) ;
connect ( & m_osdTimerEnabler , TQ _SIGNAL( timeout ( ) ) , this , TQ _SLOT( slotToggleOsdTimer ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalXineReady ( ) ) , this , TQ _SLOT( slotFinalize ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalNewChannels ( const TQStringList & , const TQStringList & , int , int ) ) ,
this , TQ _SLOT( slotChannelInfo ( const TQStringList & , const TQStringList & , int , int ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalXinePlaying ( ) ) , this , TQ _SLOT( slotTrackPlaying ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalNewPosition ( int , const TQTime & ) ) , this , TQ _SLOT( slotNewPosition ( int , const TQTime & ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalXineStatus ( const TQString & ) ) , this , TQ _SLOT( slotStatus ( const TQString & ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalXineError ( const TQString & ) ) , this , TQ _SLOT( slotError ( const TQString & ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalXineMessage ( const TQString & ) ) , this , TQ _SLOT( slotMessage ( const TQString & ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalPlaybackFinished ( ) ) , this , TQ _SLOT( slotPlaybackFinished ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalTitleChanged ( ) ) , this , TQ _SLOT( slotNewTitle ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalLengthChanged ( ) ) , this , TQ _SLOT( slotNewLength ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalVideoSizeChanged ( ) ) , this , TQ _SLOT( slotNewFrameSize ( ) ) ) ;
connect ( m_xine , TQ _SIGNAL( signalRightClick ( const TQPoint & ) ) , this , TQ _SLOT( slotContextMenu ( const TQPoint & ) ) ) ;
}
void XinePart : : loadConfig ( )