summaryrefslogtreecommitdiffstats
path: root/krec/krecnewproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecnewproperties.cpp')
-rw-r--r--krec/krecnewproperties.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/krec/krecnewproperties.cpp b/krec/krecnewproperties.cpp
index b63cd032..12d386ed 100644
--- a/krec/krecnewproperties.cpp
+++ b/krec/krecnewproperties.cpp
@@ -18,24 +18,24 @@
#include "krecconfig_fileswidget.h"
#include <kconfig.h>
-#include <qbuttongroup.h>
-#include <qvbuttongroup.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
+#include <tqbuttongroup.h>
+#include <tqvbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqlayout.h>
#include <kseparator.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>
-#include <qlabel.h>
-#include <qhbox.h>
-#include <qvbox.h>
-#include <qfont.h>
+#include <tqlabel.h>
+#include <tqhbox.h>
+#include <tqvbox.h>
+#include <tqfont.h>
#include <kdebug.h>
#include <klocale.h>
-KRecNewProperties::KRecNewProperties( QWidget* p, const char* n )
- : QDialog( p,n, 0, Qt::WType_Dialog|Qt::WStyle_Customize|Qt::WStyle_DialogBorder )
- , _filename( QString::null )
+KRecNewProperties::KRecNewProperties( TQWidget* p, const char* n )
+ : TQDialog( p,n, 0, Qt::WType_Dialog|Qt::WStyle_Customize|Qt::WStyle_DialogBorder )
+ , _filename( TQString::null )
, _samplerate( 44100 ), _channels( 2 ), _bits( 16 )
{
kdDebug( 60005 ) << k_funcinfo << endl;
@@ -46,10 +46,10 @@ kdDebug( 60005 ) << k_funcinfo << endl;
_bits = config->readNumEntry( "Bits", 16 );
_usedefaults = config->readBoolEntry( "UseDefaults", false );
- _layout = new QVBoxLayout( this, 5, 5 );
+ _layout = new TQVBoxLayout( this, 5, 5 );
- QLabel *captionlabel = new QLabel( this );
- QFont labelfont( captionlabel->font() );
+ TQLabel *captionlabel = new TQLabel( this );
+ TQFont labelfont( captionlabel->font() );
labelfont.setPointSize( labelfont.pointSize()*3/2 );
captionlabel->setFont( labelfont );
captionlabel->setText( i18n( "Properties for the new File" ) );
@@ -57,16 +57,16 @@ kdDebug( 60005 ) << k_funcinfo << endl;
_layout->addWidget( captionlabel );
_filewidget = new KRecConfigFilesWidget( this );
- connect( _filewidget, SIGNAL( sRateChanged( int ) ), this, SLOT( ratechanged( int ) ) );
- connect( _filewidget, SIGNAL( sChannelsChanged( int ) ), this, SLOT( channelschanged( int ) ) );
- connect( _filewidget, SIGNAL( sBitsChanged( int ) ), this, SLOT( bitschanged( int ) ) );
- connect( _filewidget, SIGNAL( sUseDefaultsChanged( bool ) ), this, SLOT( usedefaultschanged( bool ) ) );
+ connect( _filewidget, TQT_SIGNAL( sRateChanged( int ) ), this, TQT_SLOT( ratechanged( int ) ) );
+ connect( _filewidget, TQT_SIGNAL( sChannelsChanged( int ) ), this, TQT_SLOT( channelschanged( int ) ) );
+ connect( _filewidget, TQT_SIGNAL( sBitsChanged( int ) ), this, TQT_SLOT( bitschanged( int ) ) );
+ connect( _filewidget, TQT_SIGNAL( sUseDefaultsChanged( bool ) ), this, TQT_SLOT( usedefaultschanged( bool ) ) );
- QWidget *_btnWidget = new QWidget( this );
- _layoutbuttons = new QHBoxLayout( _btnWidget );
+ TQWidget *_btnWidget = new TQWidget( this );
+ _layoutbuttons = new TQHBoxLayout( _btnWidget );
_layoutbuttons->addStretch( 100 );
_btnok = new KPushButton( KStdGuiItem::ok(), _btnWidget );
- connect( _btnok, SIGNAL( clicked() ), this, SLOT( accept() ) );
+ connect( _btnok, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
_layoutbuttons->addWidget( _btnok, 0 );
_layout->addWidget( new KSeparator( KSeparator::HLine, this ) );
@@ -74,13 +74,13 @@ kdDebug( 60005 ) << k_funcinfo << endl;
_layout->addWidget( new KSeparator( KSeparator::HLine, this ) );
_layout->addWidget( _btnWidget );
- setSizePolicy( QSizePolicy::Maximum, QSizePolicy::Maximum );
+ setSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Maximum );
}
KRecNewProperties::~KRecNewProperties() {
kdDebug( 60005 ) << k_funcinfo << endl;
}
-QString KRecNewProperties::filename() { return _filename; }
+TQString KRecNewProperties::filename() { return _filename; }
int KRecNewProperties::samplerate() { return _samplerate; }
int KRecNewProperties::channels() { return _channels; }
int KRecNewProperties::bits() { return _bits; }
@@ -97,6 +97,6 @@ void KRecNewProperties::usedefaultschanged( bool n ) {
void KRecNewProperties::done( int r ) {
kdDebug( 60005 ) << k_funcinfo << endl;
- QDialog::done( r );
+ TQDialog::done( r );
}