summaryrefslogtreecommitdiffstats
path: root/krec/krecconfigure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecconfigure.cpp')
-rw-r--r--krec/krecconfigure.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/krec/krecconfigure.cpp b/krec/krecconfigure.cpp
index c29d6b4a..65cb7497 100644
--- a/krec/krecconfigure.cpp
+++ b/krec/krecconfigure.cpp
@@ -87,13 +87,13 @@ KRecConfigGeneral::KRecConfigGeneral( TQWidget* p, const char*, const TQStringLi
_tipofday = new TQCheckBox( i18n( "Show tip of the day at startup" ), this );
connect( _tipofday, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( tipofdaychanged( bool ) ) );
_layout->addWidget( _tipofday );
- TQBoxLayout* _tmplayout = new TQBoxLayout( this, TQBoxLayout::LeftToRight );
+ TQBoxLayout* _tmptqlayout = new TQBoxLayout( this, TQBoxLayout::LeftToRight );
_enableAllMessages = new KPushButton( i18n( "Enable All Hidden Messages" ), this );
connect( _enableAllMessages, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableallmessagesclicked() ) );
- _tmplayout->addWidget( _enableAllMessages );
+ _tmptqlayout->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 );
- _layout->addLayout( _tmplayout );
+ _tmptqlayout->addWidget( _tmplbl );
+ _layout->addLayout( _tmptqlayout );
_layout->addStretch( 100 );
@@ -151,17 +151,17 @@ void KRecConfigGeneral::defaults() {
void KRecConfigGeneral::displaychanged( int index ) {
int verbose = _displaymode / 100;
- if ( _displaybox->find( index ) == _display0 ) _displaymode = 0 + verbose * 100;
- if ( _displaybox->find( index ) == _display1 ) _displaymode = 1 + verbose * 100;
- if ( _displaybox->find( index ) == _display2 ) _displaymode = 2 + verbose * 100;
- if ( _displaybox->find( index ) == _display3 ) _displaymode = 3 + verbose * 100;
+ if ( _displaybox->tqfind( index ) == _display0 ) _displaymode = 0 + verbose * 100;
+ if ( _displaybox->tqfind( index ) == _display1 ) _displaymode = 1 + verbose * 100;
+ if ( _displaybox->tqfind( index ) == _display2 ) _displaymode = 2 + verbose * 100;
+ if ( _displaybox->tqfind( index ) == _display3 ) _displaymode = 3 + verbose * 100;
emit changed( true );
}
void KRecConfigGeneral::framebasechanged( int index ) {
- if ( _framebasebox->find( index ) == _framebase30 ) _framebase = 30;
- if ( _framebasebox->find( index ) == _framebase25 ) _framebase = 25;
- if ( _framebasebox->find( index ) == _framebase75 ) _framebase = 75;
- if ( _framebasebox->find( index ) == _framebaseother ) {
+ if ( _framebasebox->tqfind( index ) == _framebase30 ) _framebase = 30;
+ if ( _framebasebox->tqfind( index ) == _framebase25 ) _framebase = 25;
+ if ( _framebasebox->tqfind( index ) == _framebase75 ) _framebase = 75;
+ if ( _framebasebox->tqfind( index ) == _framebaseother ) {
_framebaseotherbox->setEnabled( true );
_framebase = _framebaseotherline->text().toInt();
kdDebug(60005) << k_funcinfo << "Framebase=" << _framebase << endl;