summaryrefslogtreecommitdiffstats
path: root/krec/krecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecord.cpp')
-rw-r--r--krec/krecord.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/krec/krecord.cpp b/krec/krecord.cpp
index 164a38df..66737d32 100644
--- a/krec/krecord.cpp
+++ b/krec/krecord.cpp
@@ -265,7 +265,7 @@ void KRecPrivate::execKMix() {
*/
KRecord::KRecord(TQWidget *parent, const char *name )
- : KMainWindow(parent,name)
+ : TDEMainWindow(parent,name)
, d( new KRecPrivate( this ) )
{
kdDebug( 60005 ) << k_funcinfo << endl;
@@ -294,33 +294,33 @@ KRecord::KRecord(TQWidget *parent, const char *name )
KStdAction::tipOfDay( d, TQT_SLOT( forceTipOfDay() ), actionCollection() );
- d->aExportFile = new KAction( i18n( "Export..." ), KShortcut(),
+ d->aExportFile = new TDEAction( i18n( "Export..." ), TDEShortcut(),
d, TQT_SLOT( exportFile() ), actionCollection(), "export_file" );
- d->aRecord = new KAction( i18n( "&Record" ), KShortcut( Key_R ),
+ d->aRecord = new TDEAction( i18n( "&Record" ), TDEShortcut( Key_R ),
TQT_TQOBJECT(this), TQT_SLOT( startRec() ), actionCollection(), "player_record" );
- d->aPlay = new KAction( i18n( "&Play" ), KShortcut( Key_P ),
+ d->aPlay = new TDEAction( i18n( "&Play" ), TDEShortcut( Key_P ),
TQT_TQOBJECT(this), TQT_SLOT( startPlay() ), actionCollection(), "player_play" );
- d->aStop = new KAction( i18n( "&Stop" ), KShortcut( Key_S ),
+ d->aStop = new TDEAction( i18n( "&Stop" ), TDEShortcut( Key_S ),
TQT_TQOBJECT(this), TQT_SLOT( stopRec() ), actionCollection(), "player_stop" );
- d->aThru = new KToggleAction( i18n( "Play Through" ), KShortcut( CTRL + Key_P), actionCollection(), "play_thru" );
+ d->aThru = new TDEToggleAction( i18n( "Play Through" ), TDEShortcut( CTRL + Key_P), actionCollection(), "play_thru" );
connect( d->aThru, TQT_SIGNAL( toggled( bool ) ), d, TQT_SLOT( playthru( bool ) ) );
- d->aBegin = new KAction( i18n( "Go to &Beginning" ), KShortcut( SHIFT + Key_Left ),
+ d->aBegin = new TDEAction( i18n( "Go to &Beginning" ), TDEShortcut( SHIFT + Key_Left ),
d, TQT_SLOT( toBegin() ), actionCollection(), "player_gobegin" );
- d->aEnd = new KAction( i18n( "Go to &End" ), KShortcut( SHIFT + Key_Right ),
+ d->aEnd = new TDEAction( i18n( "Go to &End" ), TDEShortcut( SHIFT + Key_Right ),
d, TQT_SLOT( toEnd() ), actionCollection(), "player_goend" );
( void* ) d->artsactions->actionAudioManager();
- d->aExecaRtsControl = new KAction( i18n( "Start aRts Control Tool" ), KShortcut(),
+ d->aExecaRtsControl = new TDEAction( i18n( "Start aRts Control Tool" ), TDEShortcut(),
d, TQT_SLOT( execaRtsControl() ), actionCollection(), "exec_artscontrol" );
- d->aExecKMix = new KAction( i18n( "Start KMix" ), KShortcut(),
+ d->aExecKMix = new TDEAction( i18n( "Start KMix" ), TDEShortcut(),
d, TQT_SLOT( execKMix() ), actionCollection(), "exec_kmix" );
// * * * GUI * * *
// TODO Fix toolbar config so this line can just be setupGUI()
- setupGUI(KMainWindow::Keys | StatusBar | Save | Create );
+ setupGUI(TDEMainWindow::Keys | StatusBar | Save | Create );
setStandardToolBarMenuEnabled( true );
// TODO Fix the arts toolbar to know it own minium size, this app shouldn't care!
setMinimumWidth( 400 );
@@ -333,7 +333,7 @@ KRecord::KRecord(TQWidget *parent, const char *name )
d->w->setName( "kde toolbar widget" );
toolBar( "compressor" )->insertWidget( 1, 400, d->w );
- toolBar( "compressor" )->setBarPos( KToolBar::Bottom );
+ toolBar( "compressor" )->setBarPos( TDEToolBar::Bottom );
}
else
{