summaryrefslogtreecommitdiffstats
path: root/krec
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:43:01 +0900
commitb3df4d055e72863ca51ec9c0428a490306989ff4 (patch)
treedf96e48a48115df6c20bff7b24ba13d8ca361b91 /krec
parentb6d4b7931aaf79a821bcbf5c653beb9c06916750 (diff)
downloadtdemultimedia-b3df4d055e72863ca51ec9c0428a490306989ff4.tar.gz
tdemultimedia-b3df4d055e72863ca51ec9c0428a490306989ff4.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'krec')
-rw-r--r--krec/krecconfig_fileswidget.cpp6
-rw-r--r--krec/krecconfigure.cpp4
-rw-r--r--krec/krecfileviewhelpers.cpp2
-rw-r--r--krec/krecfilewidgets.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/krec/krecconfig_fileswidget.cpp b/krec/krecconfig_fileswidget.cpp
index 42fcd11d..d396d41f 100644
--- a/krec/krecconfig_fileswidget.cpp
+++ b/krec/krecconfig_fileswidget.cpp
@@ -36,7 +36,7 @@ KRecConfigFilesWidget::KRecConfigFilesWidget( TQWidget* p, const char* n )
, _bits16( 0 ), _bits8( 0 )
, _samplingRate( 44100 ), _channels( 2 ), _bits( 16 )
{
- _ratebox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Sampling Rate" ), _hbox );
+ _ratebox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Sampling Rate" ), _hbox );
connect( _ratebox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( ratechanged( int ) ) );
_rate48 = new TQRadioButton( i18n( "48000 Hz" ), _ratebox );
_rate44 = new TQRadioButton( i18n( "44100 Hz" ), _ratebox );
@@ -51,11 +51,11 @@ KRecConfigFilesWidget::KRecConfigFilesWidget( TQWidget* p, const char* n )
_rateotherline->setFrame( true );
_rateotherbox->setEnabled( false );
connect( _rateotherline, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( rateotherchanged( const TQString& ) ) );
- _channelsbox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Channels" ), _hbox );
+ _channelsbox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Channels" ), _hbox );
connect( _channelsbox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( channelschanged( int ) ) );
_channels2 = new TQRadioButton( i18n( "Stereo (2 channels)" ), _channelsbox );
_channels1 = new TQRadioButton( i18n( "Mono (1 channel)" ), _channelsbox );
- _bitsbox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Bits" ), _hbox );
+ _bitsbox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Bits" ), _hbox );
connect( _bitsbox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( bitschanged( int ) ) );
_bits16 = new TQRadioButton( i18n( "16 bit" ), _bitsbox );
_bits8 = new TQRadioButton( i18n( "8 bit" ), _bitsbox );
diff --git a/krec/krecconfigure.cpp b/krec/krecconfigure.cpp
index 5063c461..32e0dafa 100644
--- a/krec/krecconfigure.cpp
+++ b/krec/krecconfigure.cpp
@@ -53,14 +53,14 @@ 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 ) ) );
_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 ) ) );
_framebase30 = new TQRadioButton( i18n( "30 frames per second (American TV)" ), _framebasebox );
diff --git a/krec/krecfileviewhelpers.cpp b/krec/krecfileviewhelpers.cpp
index 2ca5b582..8a177e20 100644
--- a/krec/krecfileviewhelpers.cpp
+++ b/krec/krecfileviewhelpers.cpp
@@ -262,7 +262,7 @@ TQString KRecTimeDisplay::sizeText( int m, int n ) {
}
void AKLabel::mousePressEvent( TQMouseEvent* qme ) {
- if ( qme->button() == Qt::RightButton )
+ if ( qme->button() == TQt::RightButton )
emit showContextMenu( qme->globalPos() );
}
diff --git a/krec/krecfilewidgets.cpp b/krec/krecfilewidgets.cpp
index c0b778de..a0c2180d 100644
--- a/krec/krecfilewidgets.cpp
+++ b/krec/krecfilewidgets.cpp
@@ -233,7 +233,7 @@ void KRecBufferWidget::paintEvent( TQPaintEvent* ) {
void KRecBufferWidget::mousePressEvent( TQMouseEvent* qme ) {
kdDebug( 60005 ) << k_funcinfo << endl;
if ( _main_region->contains( qme->pos() ) || _title_region->contains( qme->pos() ) )
- if ( qme->button() == Qt::RightButton )
+ if ( qme->button() == TQt::RightButton )
emit popupMenu( this, qme->globalPos() );
}
void KRecBufferWidget::mouseDoubleClickEvent( TQMouseEvent* qme ) {