summaryrefslogtreecommitdiffstats
path: root/krec/krecconfigure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecconfigure.cpp')
-rw-r--r--krec/krecconfigure.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/krec/krecconfigure.cpp b/krec/krecconfigure.cpp
index 5063c461..04311206 100644
--- a/krec/krecconfigure.cpp
+++ b/krec/krecconfigure.cpp
@@ -53,16 +53,16 @@ KRecConfigGeneral::KRecConfigGeneral( TQWidget* p, const char*, const TQStringLi
_layout_display = new TQBoxLayout( _layout, TQBoxLayout::LeftToRight );
_layout->setStretchFactor( _layout_display, -100 );
- _displaybox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Timedisplay Style" ), this );
+ _displaybox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Timedisplay Style" ), this );
_layout_display->addWidget( _displaybox, 100 );
- connect( _displaybox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( displaychanged( int ) ) );
+ connect( _displaybox, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( displaychanged( int ) ) );
_display0 = new TQRadioButton( i18n( "Plain samples" ), _displaybox );
_display1 = new TQRadioButton( i18n( "[hours:]mins:secs:samples" ), _displaybox );
_display2 = new TQRadioButton( i18n( "[hours:]mins:secs:frames" ), _displaybox );
_display3 = new TQRadioButton( i18n( "MByte.KByte" ), _displaybox );
- _framebasebox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Framebase" ), this );
+ _framebasebox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Framebase" ), this );
_layout_display->addWidget( _framebasebox, 100 );
- connect( _framebasebox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( framebasechanged( int ) ) );
+ connect( _framebasebox, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( framebasechanged( int ) ) );
_framebase30 = new TQRadioButton( i18n( "30 frames per second (American TV)" ), _framebasebox );
_framebase25 = new TQRadioButton( i18n( "25 frames per second (European TV)" ), _framebasebox );
_framebase75 = new TQRadioButton( i18n( "75 frames per second (CD)" ), _framebasebox );
@@ -73,11 +73,11 @@ KRecConfigGeneral::KRecConfigGeneral( TQWidget* p, const char*, const TQStringLi
_framebaseotherline = new TQLineEdit( _framebaseotherbox );
_framebaseotherline->setMaxLength( 10 );
_framebaseotherbox->setEnabled( false );
- connect( _framebaseotherline, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( framebaseotherchanged( const TQString& ) ) );
+ connect( _framebaseotherline, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( framebaseotherchanged( const TQString& ) ) );
_layout->addSpacing( 5 );
_verboseDisplayMode = new TQCheckBox( i18n( "Show verbose times ( XXmins:XXsecs:XXframes instead of XX:XX::XX )" ), this );
- connect( _verboseDisplayMode, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( verboseDisplayChanged( bool ) ) );
+ connect( _verboseDisplayMode, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( verboseDisplayChanged( bool ) ) );
_layout->addWidget( _verboseDisplayMode );
_layout->addSpacing( 10 );
@@ -85,11 +85,11 @@ KRecConfigGeneral::KRecConfigGeneral( TQWidget* p, const char*, const TQStringLi
_layout->addWidget( _other_title );
_tipofday = new TQCheckBox( i18n( "Show tip of the day at startup" ), this );
- connect( _tipofday, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( tipofdaychanged( bool ) ) );
+ connect( _tipofday, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( tipofdaychanged( bool ) ) );
_layout->addWidget( _tipofday );
TQBoxLayout* _tmplayout = new TQBoxLayout( this, TQBoxLayout::LeftToRight );
_enableAllMessages = new KPushButton( i18n( "Enable All Hidden Messages" ), this );
- connect( _enableAllMessages, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableallmessagesclicked() ) );
+ connect( _enableAllMessages, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableallmessagesclicked() ) );
_tmplayout->addWidget( _enableAllMessages );
TQLabel* _tmplbl = new TQLabel( i18n( "<qt><i>All messages with the \"Don't show this message again\" option are shown again after selecting this button.</i></qt>" ), this );
_tmplayout->addWidget( _tmplbl );
@@ -127,8 +127,8 @@ kdDebug( 60005 ) << k_funcinfo << endl;
_framebaseotherline->setText( TQString::number( _framebase ) );
break;
};
- kapp->config()->setGroup( "TipOfDay" );
- _tip = kapp->config()->readBoolEntry( "RunOnStart", true );
+ tdeApp->config()->setGroup( "TipOfDay" );
+ _tip = tdeApp->config()->readBoolEntry( "RunOnStart", true );
_tipofday->setChecked( _tip );
}
@@ -137,10 +137,10 @@ void KRecConfigGeneral::save() {
KRecGlobal::the()->setFrameBase( _framebase );
kdDebug(60005) << k_funcinfo << "Framebase=" << _framebase << endl;
- kapp->config()->setGroup( "TipOfDay" );
- kapp->config()->writeEntry( "RunOnStart", _tip );
+ tdeApp->config()->setGroup( "TipOfDay" );
+ tdeApp->config()->writeEntry( "RunOnStart", _tip );
- kapp->config()->sync();
+ tdeApp->config()->sync();
emit changed( false );
}