summaryrefslogtreecommitdiffstats
path: root/krec/krecconfigure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecconfigure.cpp')
-rw-r--r--krec/krecconfigure.cpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/krec/krecconfigure.cpp b/krec/krecconfigure.cpp
index 76d949f4..c29d6b4a 100644
--- a/krec/krecconfigure.cpp
+++ b/krec/krecconfigure.cpp
@@ -18,23 +18,23 @@
#include <kgenericfactory.h>
#include <kdebug.h>
-#include <qlayout.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qlineedit.h>
-#include <qhbox.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlineedit.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
#include <kapplication.h>
#include <kconfig.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kpushbutton.h>
-typedef KGenericFactory<KRecConfigGeneral, QWidget> KRecConfigGeneralFactory;
+typedef KGenericFactory<KRecConfigGeneral, TQWidget> KRecConfigGeneralFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_krec, KRecConfigGeneralFactory( "krec" ) )
-KRecConfigGeneral::KRecConfigGeneral( QWidget* p, const char*, const QStringList& s )
+KRecConfigGeneral::KRecConfigGeneral( TQWidget* p, const char*, const TQStringList& s )
: KCModule( KRecConfigGeneralFactory::instance(), p, s )
, _layout( 0 ), _layout_display( 0 )
, _display_title( 0 )
@@ -44,54 +44,54 @@ KRecConfigGeneral::KRecConfigGeneral( QWidget* p, const char*, const QStringList
, _framebaseotherbox( 0 ), _framebaseotherlabel( 0 ), _framebaseotherline( 0 )
, _displaymode( 0 ), _framebase( 25 )
{
- _layout = new QBoxLayout( this, QBoxLayout::TopToBottom );
+ _layout = new TQBoxLayout( this, TQBoxLayout::TopToBottom );
_layout->addSpacing( 10 );
- _display_title = new QLabel( i18n( "<qt><b>Timedisplay Related Settings</b></qt>" ), this );
+ _display_title = new TQLabel( i18n( "<qt><b>Timedisplay Related Settings</b></qt>" ), this );
_layout->addWidget( _display_title, -100 );
- _layout_display = new QBoxLayout( _layout, QBoxLayout::LeftToRight );
+ _layout_display = new TQBoxLayout( _layout, TQBoxLayout::LeftToRight );
_layout->setStretchFactor( _layout_display, -100 );
- _displaybox = new QButtonGroup( 1, Qt::Horizontal, i18n( "Timedisplay Style" ), this );
+ _displaybox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Timedisplay Style" ), this );
_layout_display->addWidget( _displaybox, 100 );
- connect( _displaybox, SIGNAL( clicked( int ) ), this, SLOT( displaychanged( int ) ) );
- _display0 = new QRadioButton( i18n( "Plain samples" ), _displaybox );
- _display1 = new QRadioButton( i18n( "[hours:]mins:secs:samples" ), _displaybox );
- _display2 = new QRadioButton( i18n( "[hours:]mins:secs:frames" ), _displaybox );
- _display3 = new QRadioButton( i18n( "MByte.KByte" ), _displaybox );
- _framebasebox = new QButtonGroup( 1, Qt::Horizontal, i18n( "Framebase" ), this );
+ connect( _displaybox, TQT_SIGNAL( clicked( int ) ), this, TQT_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 );
_layout_display->addWidget( _framebasebox, 100 );
- connect( _framebasebox, SIGNAL( clicked( int ) ), this, SLOT( framebasechanged( int ) ) );
- _framebase30 = new QRadioButton( i18n( "30 frames per second (American TV)" ), _framebasebox );
- _framebase25 = new QRadioButton( i18n( "25 frames per second (European TV)" ), _framebasebox );
- _framebase75 = new QRadioButton( i18n( "75 frames per second (CD)" ), _framebasebox );
- _framebaseother = new QRadioButton( i18n( "Other" ), _framebasebox );
- _framebaseotherbox = new QHBox( _framebasebox );
+ connect( _framebasebox, TQT_SIGNAL( clicked( int ) ), this, TQT_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 );
+ _framebaseother = new TQRadioButton( i18n( "Other" ), _framebasebox );
+ _framebaseotherbox = new TQHBox( _framebasebox );
_framebaseotherbox->setSpacing( 2 );
- _framebaseotherlabel = new QLabel( i18n( "Other" ), _framebaseotherbox );
- _framebaseotherline = new QLineEdit( _framebaseotherbox );
+ _framebaseotherlabel = new TQLabel( i18n( "Other" ), _framebaseotherbox );
+ _framebaseotherline = new TQLineEdit( _framebaseotherbox );
_framebaseotherline->setMaxLength( 10 );
_framebaseotherbox->setEnabled( false );
- connect( _framebaseotherline, SIGNAL( textChanged( const QString& ) ), this, SLOT( framebaseotherchanged( const QString& ) ) );
+ connect( _framebaseotherline, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( framebaseotherchanged( const TQString& ) ) );
_layout->addSpacing( 5 );
- _verboseDisplayMode = new QCheckBox( i18n( "Show verbose times ( XXmins:XXsecs:XXframes instead of XX:XX::XX )" ), this );
- connect( _verboseDisplayMode, SIGNAL( toggled( bool ) ), this, SLOT( verboseDisplayChanged( bool ) ) );
+ _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 ) ) );
_layout->addWidget( _verboseDisplayMode );
_layout->addSpacing( 10 );
- _other_title = new QLabel( i18n( "<qt><b>Miscellaneous Settings</b></qt>" ), this );
+ _other_title = new TQLabel( i18n( "<qt><b>Miscellaneous Settings</b></qt>" ), this );
_layout->addWidget( _other_title );
- _tipofday = new QCheckBox( i18n( "Show tip of the day at startup" ), this );
- connect( _tipofday, SIGNAL( toggled( bool ) ), this, SLOT( tipofdaychanged( bool ) ) );
+ _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 );
- QBoxLayout* _tmplayout = new QBoxLayout( this, QBoxLayout::LeftToRight );
+ TQBoxLayout* _tmplayout = new TQBoxLayout( this, TQBoxLayout::LeftToRight );
_enableAllMessages = new KPushButton( i18n( "Enable All Hidden Messages" ), this );
- connect( _enableAllMessages, SIGNAL( clicked() ), this, SLOT( enableallmessagesclicked() ) );
+ connect( _enableAllMessages, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableallmessagesclicked() ) );
_tmplayout->addWidget( _enableAllMessages );
- QLabel* _tmplbl = new QLabel( i18n( "<qt><i>All messages with the \"Don't show this message again\" option are shown again after selecting this button.</i></qt>" ), this );
+ 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 );
@@ -124,7 +124,7 @@ kdDebug( 60005 ) << k_funcinfo << endl;
default:
_framebaseother->setChecked( true );
_framebaseotherbox->setEnabled( true );
- _framebaseotherline->setText( QString::number( _framebase ) );
+ _framebaseotherline->setText( TQString::number( _framebase ) );
break;
};
kapp->config()->setGroup( "TipOfDay" );
@@ -169,7 +169,7 @@ kdDebug(60005) << k_funcinfo << "Framebase=" << _framebase << endl;
_framebaseotherbox->setEnabled( false );
emit changed( true );
}
-void KRecConfigGeneral::framebaseotherchanged( const QString& text ) {
+void KRecConfigGeneral::framebaseotherchanged( const TQString& text ) {
_framebase = text.toInt();
kdDebug(60005) << k_funcinfo << "Framebase=" << _framebase << endl;
emit changed( true );