diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /src/prefMencoder.cpp | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/prefMencoder.cpp')
-rw-r--r-- | src/prefMencoder.cpp | 254 |
1 files changed, 127 insertions, 127 deletions
diff --git a/src/prefMencoder.cpp b/src/prefMencoder.cpp index 98a56ca..63de9a1 100644 --- a/src/prefMencoder.cpp +++ b/src/prefMencoder.cpp @@ -9,241 +9,241 @@ #include "prefMencoder.h" -#include <qvariant.h> -#include <qpushbutton.h> -#include <qlabel.h> -#include <qtabwidget.h> -#include <qlistbox.h> +#include <tqvariant.h> +#include <tqpushbutton.h> +#include <tqlabel.h> +#include <tqtabwidget.h> +#include <tqlistbox.h> #include <kpushbutton.h> -#include <qtextedit.h> -#include <qlineedit.h> -#include <qlayout.h> -#include <qtooltip.h> -#include <qwhatsthis.h> +#include <tqtextedit.h> +#include <tqlineedit.h> +#include <tqlayout.h> +#include <tqtooltip.h> +#include <tqwhatsthis.h> #include "kpushbutton.h" /* - * Constructs a prefMencoder as a child of 'parent', with the + * Constructs a prefMencoder as a child of 'tqparent', with the * name 'name' and widget flags set to 'f'. */ -prefMencoder::prefMencoder( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) +prefMencoder::prefMencoder( TQWidget* tqparent, const char* name, WFlags fl ) + : TQWidget( tqparent, name, fl ) { if ( !name ) setName( "prefMencoder" ); - prefMencoderLayout = new QGridLayout( this, 1, 1, 11, 6, "prefMencoderLayout"); + prefMencoderLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefMencoderLayout"); - layout2 = new QGridLayout( 0, 1, 1, 0, 6, "layout2"); + tqlayout2 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout2"); - textLabel2 = new QLabel( this, "textLabel2" ); - textLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); - QFont textLabel2_font( textLabel2->font() ); + textLabel2 = new TQLabel( this, "textLabel2" ); + textLabel2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); + TQFont textLabel2_font( textLabel2->font() ); textLabel2_font.setBold( TRUE ); textLabel2->setFont( textLabel2_font ); - layout2->addWidget( textLabel2, 0, 0 ); + tqlayout2->addWidget( textLabel2, 0, 0 ); - textLabel2_2 = new QLabel( this, "textLabel2_2" ); - textLabel2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); + textLabel2_2 = new TQLabel( this, "textLabel2_2" ); + textLabel2_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); - layout2->addWidget( textLabel2_2, 0, 1 ); + tqlayout2->addWidget( textLabel2_2, 0, 1 ); - prefMencoderLayout->addLayout( layout2, 2, 0 ); + prefMencoderLayout->addLayout( tqlayout2, 2, 0 ); - tabWidget2 = new QTabWidget( this, "tabWidget2" ); + tabWidget2 = new TQTabWidget( this, "tabWidget2" ); - tab = new QWidget( tabWidget2, "tab" ); - tabLayout = new QGridLayout( tab, 1, 1, 11, 6, "tabLayout"); + tab = new TQWidget( tabWidget2, "tab" ); + tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); - lbvCodecs = new QListBox( tab, "lbvCodecs" ); + lbvCodecs = new TQListBox( tab, "lbvCodecs" ); tabLayout->addMultiCellWidget( lbvCodecs, 0, 4, 0, 1 ); btnDeleteV = new KPushButton( tab, "btnDeleteV" ); - btnDeleteV->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, btnDeleteV->sizePolicy().hasHeightForWidth() ) ); + btnDeleteV->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnDeleteV->sizePolicy().hasHeightForWidth() ) ); btnDeleteV->setProperty( "stdItem", 28 ); tabLayout->addWidget( btnDeleteV, 5, 1 ); btnAddV = new KPushButton( tab, "btnAddV" ); - btnAddV->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, btnAddV->sizePolicy().hasHeightForWidth() ) ); + btnAddV->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddV->sizePolicy().hasHeightForWidth() ) ); btnAddV->setProperty( "stdItem", 27 ); tabLayout->addWidget( btnAddV, 5, 0 ); - textLabel1_3 = new QLabel( tab, "textLabel1_3" ); + textLabel1_3 = new TQLabel( tab, "textLabel1_3" ); tabLayout->addWidget( textLabel1_3, 0, 2 ); - textLabel2_3 = new QLabel( tab, "textLabel2_3" ); + textLabel2_3 = new TQLabel( tab, "textLabel2_3" ); tabLayout->addWidget( textLabel2_3, 1, 2 ); - textLabel1_2_3 = new QLabel( tab, "textLabel1_2_3" ); + textLabel1_2_3 = new TQLabel( tab, "textLabel1_2_3" ); tabLayout->addWidget( textLabel1_2_3, 3, 2 ); - layout9 = new QGridLayout( 0, 1, 1, 0, 6, "layout9"); + tqlayout9 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout9"); - teOpt2 = new QTextEdit( tab, "teOpt2" ); + teOpt2 = new TQTextEdit( tab, "teOpt2" ); teOpt2->setEnabled( TRUE ); - layout9->addMultiCellWidget( teOpt2, 0, 1, 0, 0 ); - spacer5 = new QSpacerItem( 20, 81, QSizePolicy::Minimum, QSizePolicy::Expanding ); - layout9->addItem( spacer5, 1, 1 ); + tqlayout9->addMultiCellWidget( teOpt2, 0, 1, 0, 0 ); + spacer5 = new TQSpacerItem( 20, 81, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); + tqlayout9->addItem( spacer5, 1, 1 ); btnOpt2 = new KPushButton( tab, "btnOpt2" ); - btnOpt2->setMinimumSize( QSize( 22, 22 ) ); - btnOpt2->setMaximumSize( QSize( 22, 22 ) ); + btnOpt2->setMinimumSize( TQSize( 22, 22 ) ); + btnOpt2->setMaximumSize( TQSize( 22, 22 ) ); - layout9->addWidget( btnOpt2, 0, 1 ); + tqlayout9->addWidget( btnOpt2, 0, 1 ); - tabLayout->addLayout( layout9, 3, 3 ); + tabLayout->addLayout( tqlayout9, 3, 3 ); - layout10 = new QGridLayout( 0, 1, 1, 0, 6, "layout10"); + tqlayout10 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout10"); - teOpt3 = new QTextEdit( tab, "teOpt3" ); + teOpt3 = new TQTextEdit( tab, "teOpt3" ); teOpt3->setEnabled( TRUE ); - layout10->addMultiCellWidget( teOpt3, 0, 1, 0, 0 ); + tqlayout10->addMultiCellWidget( teOpt3, 0, 1, 0, 0 ); btnOpt3 = new KPushButton( tab, "btnOpt3" ); - btnOpt3->setMinimumSize( QSize( 22, 22 ) ); - btnOpt3->setMaximumSize( QSize( 22, 22 ) ); + btnOpt3->setMinimumSize( TQSize( 22, 22 ) ); + btnOpt3->setMaximumSize( TQSize( 22, 22 ) ); - layout10->addWidget( btnOpt3, 0, 1 ); - spacer6 = new QSpacerItem( 20, 60, QSizePolicy::Minimum, QSizePolicy::Expanding ); - layout10->addItem( spacer6, 1, 1 ); + tqlayout10->addWidget( btnOpt3, 0, 1 ); + spacer6 = new TQSpacerItem( 20, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); + tqlayout10->addItem( spacer6, 1, 1 ); - tabLayout->addMultiCellLayout( layout10, 4, 5, 3, 3 ); + tabLayout->addMultiCellLayout( tqlayout10, 4, 5, 3, 3 ); - textLabel1_2 = new QLabel( tab, "textLabel1_2" ); + textLabel1_2 = new TQLabel( tab, "textLabel1_2" ); tabLayout->addWidget( textLabel1_2, 2, 2 ); - layout8 = new QGridLayout( 0, 1, 1, 0, 6, "layout8"); - spacer4 = new QSpacerItem( 20, 90, QSizePolicy::Minimum, QSizePolicy::Expanding ); - layout8->addItem( spacer4, 1, 1 ); + tqlayout8 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout8"); + spacer4 = new TQSpacerItem( 20, 90, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); + tqlayout8->addItem( spacer4, 1, 1 ); - teOpt1 = new QTextEdit( tab, "teOpt1" ); + teOpt1 = new TQTextEdit( tab, "teOpt1" ); teOpt1->setEnabled( TRUE ); - teOpt1->setWordWrap( QTextEdit::WidgetWidth ); + teOpt1->setWordWrap( TQTextEdit::WidgetWidth ); - layout8->addMultiCellWidget( teOpt1, 0, 1, 0, 0 ); + tqlayout8->addMultiCellWidget( teOpt1, 0, 1, 0, 0 ); btnOpt1 = new KPushButton( tab, "btnOpt1" ); - btnOpt1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, btnOpt1->sizePolicy().hasHeightForWidth() ) ); - btnOpt1->setMinimumSize( QSize( 22, 22 ) ); - btnOpt1->setMaximumSize( QSize( 22, 22 ) ); + btnOpt1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOpt1->sizePolicy().hasHeightForWidth() ) ); + btnOpt1->setMinimumSize( TQSize( 22, 22 ) ); + btnOpt1->setMaximumSize( TQSize( 22, 22 ) ); - layout8->addWidget( btnOpt1, 0, 1 ); + tqlayout8->addWidget( btnOpt1, 0, 1 ); - tabLayout->addLayout( layout8, 2, 3 ); + tabLayout->addLayout( tqlayout8, 2, 3 ); - textLabel1_2_3_2 = new QLabel( tab, "textLabel1_2_3_2" ); + textLabel1_2_3_2 = new TQLabel( tab, "textLabel1_2_3_2" ); tabLayout->addMultiCellWidget( textLabel1_2_3_2, 4, 5, 2, 2 ); - leFourcc = new QLineEdit( tab, "leFourcc" ); + leFourcc = new TQLineEdit( tab, "leFourcc" ); tabLayout->addWidget( leFourcc, 1, 3 ); - leVLabel = new QLineEdit( tab, "leVLabel" ); + leVLabel = new TQLineEdit( tab, "leVLabel" ); leVLabel->setEnabled( TRUE ); tabLayout->addWidget( leVLabel, 0, 3 ); - tabWidget2->insertTab( tab, QString::fromLatin1("") ); + tabWidget2->insertTab( tab, TQString::tqfromLatin1("") ); - tab_2 = new QWidget( tabWidget2, "tab_2" ); - tabLayout_2 = new QGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); + tab_2 = new TQWidget( tabWidget2, "tab_2" ); + tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); btnDeleteA = new KPushButton( tab_2, "btnDeleteA" ); - btnDeleteA->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, btnDeleteA->sizePolicy().hasHeightForWidth() ) ); + btnDeleteA->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnDeleteA->sizePolicy().hasHeightForWidth() ) ); btnDeleteA->setProperty( "stdItem", 28 ); tabLayout_2->addWidget( btnDeleteA, 2, 1 ); btnAddA = new KPushButton( tab_2, "btnAddA" ); - btnAddA->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, btnAddA->sizePolicy().hasHeightForWidth() ) ); + btnAddA->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddA->sizePolicy().hasHeightForWidth() ) ); btnAddA->setProperty( "stdItem", 27 ); tabLayout_2->addWidget( btnAddA, 2, 0 ); - lbaCodecs = new QListBox( tab_2, "lbaCodecs" ); + lbaCodecs = new TQListBox( tab_2, "lbaCodecs" ); tabLayout_2->addMultiCellWidget( lbaCodecs, 0, 1, 0, 1 ); - leALabel = new QLineEdit( tab_2, "leALabel" ); + leALabel = new TQLineEdit( tab_2, "leALabel" ); tabLayout_2->addWidget( leALabel, 0, 3 ); - textLabel3 = new QLabel( tab_2, "textLabel3" ); + textLabel3 = new TQLabel( tab_2, "textLabel3" ); tabLayout_2->addWidget( textLabel3, 0, 2 ); - layout11 = new QGridLayout( 0, 1, 1, 0, 6, "layout11"); + tqlayout11 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout11"); - teOptA = new QTextEdit( tab_2, "teOptA" ); + teOptA = new TQTextEdit( tab_2, "teOptA" ); - layout11->addMultiCellWidget( teOptA, 0, 1, 0, 0 ); - spacer4_2 = new QSpacerItem( 20, 78, QSizePolicy::Minimum, QSizePolicy::Expanding ); - layout11->addItem( spacer4_2, 1, 1 ); + tqlayout11->addMultiCellWidget( teOptA, 0, 1, 0, 0 ); + spacer4_2 = new TQSpacerItem( 20, 78, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); + tqlayout11->addItem( spacer4_2, 1, 1 ); btnOptA = new KPushButton( tab_2, "btnOptA" ); - btnOptA->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, btnOptA->sizePolicy().hasHeightForWidth() ) ); - btnOptA->setMinimumSize( QSize( 22, 22 ) ); - btnOptA->setMaximumSize( QSize( 22, 22 ) ); + btnOptA->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOptA->sizePolicy().hasHeightForWidth() ) ); + btnOptA->setMinimumSize( TQSize( 22, 22 ) ); + btnOptA->setMaximumSize( TQSize( 22, 22 ) ); - layout11->addWidget( btnOptA, 0, 1 ); + tqlayout11->addWidget( btnOptA, 0, 1 ); - tabLayout_2->addMultiCellLayout( layout11, 1, 2, 3, 3 ); + tabLayout_2->addMultiCellLayout( tqlayout11, 1, 2, 3, 3 ); - textLabel1_2_2_2 = new QLabel( tab_2, "textLabel1_2_2_2" ); - textLabel1_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, textLabel1_2_2_2->sizePolicy().hasHeightForWidth() ) ); + textLabel1_2_2_2 = new TQLabel( tab_2, "textLabel1_2_2_2" ); + textLabel1_2_2_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1_2_2_2->sizePolicy().hasHeightForWidth() ) ); tabLayout_2->addMultiCellWidget( textLabel1_2_2_2, 1, 2, 2, 2 ); - tabWidget2->insertTab( tab_2, QString::fromLatin1("") ); + tabWidget2->insertTab( tab_2, TQString::tqfromLatin1("") ); prefMencoderLayout->addMultiCellWidget( tabWidget2, 0, 0, 0, 2 ); - textLabel1 = new QLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - QFont textLabel1_font( textLabel1->font() ); + textLabel1 = new TQLabel( this, "textLabel1" ); + textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + TQFont textLabel1_font( textLabel1->font() ); textLabel1_font.setBold( TRUE ); textLabel1->setFont( textLabel1_font ); prefMencoderLayout->addWidget( textLabel1, 1, 0 ); bReset = new KPushButton( this, "bReset" ); - bReset->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bReset->sizePolicy().hasHeightForWidth() ) ); + bReset->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bReset->sizePolicy().hasHeightForWidth() ) ); bReset->setProperty( "stdItem", 21 ); prefMencoderLayout->addMultiCellWidget( bReset, 1, 2, 2, 2 ); - spacer5_2 = new QSpacerItem( 121, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); + spacer5_2 = new TQSpacerItem( 121, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); prefMencoderLayout->addItem( spacer5_2, 1, 1 ); languageChange(); - resize( QSize(672, 587).expandedTo(minimumSizeHint()) ); + resize( TQSize(672, 587).expandedTo(tqminimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections - connect( lbvCodecs, SIGNAL( currentChanged(QListBoxItem*) ), this, SLOT( lbvCodecsCurrentChanged(QListBoxItem*) ) ); - connect( teOpt1, SIGNAL( textChanged() ), this, SLOT( teOpt1TextChanged() ) ); - connect( teOpt2, SIGNAL( textChanged() ), this, SLOT( teOpt2TextChanged() ) ); - connect( leVLabel, SIGNAL( textChanged(const QString&) ), this, SLOT( leVLabelTextChanged(const QString&) ) ); - connect( teOpt3, SIGNAL( textChanged() ), this, SLOT( teOpt3TextChanged() ) ); - connect( lbaCodecs, SIGNAL( currentChanged(QListBoxItem*) ), this, SLOT( lbaCodecsCurrentChanged(QListBoxItem*) ) ); - connect( teOptA, SIGNAL( textChanged() ), this, SLOT( teOptATextChanged() ) ); - connect( leALabel, SIGNAL( textChanged(const QString&) ), this, SLOT( leALabelTextChanged(const QString&) ) ); - connect( btnOpt1, SIGNAL( clicked() ), this, SLOT( btnOpt1Clicked() ) ); - connect( btnOpt2, SIGNAL( clicked() ), this, SLOT( btnOpt2Clicked() ) ); - connect( btnOpt3, SIGNAL( clicked() ), this, SLOT( btnOpt3Clicked() ) ); - connect( btnOptA, SIGNAL( clicked() ), this, SLOT( btnOptAClicked() ) ); - connect( btnAddA, SIGNAL( clicked() ), this, SLOT( btnAddAClicked() ) ); - connect( btnAddV, SIGNAL( clicked() ), this, SLOT( btnAddVClicked() ) ); - connect( btnDeleteA, SIGNAL( clicked() ), this, SLOT( btnDeleteAClicked() ) ); - connect( btnDeleteV, SIGNAL( clicked() ), this, SLOT( btnDeleteVClicked() ) ); - connect( leFourcc, SIGNAL( textChanged(const QString&) ), this, SLOT( leFourccTextChanged(const QString&) ) ); - connect( bReset, SIGNAL( clicked() ), this, SLOT( bResetClicked() ) ); + connect( lbvCodecs, TQT_SIGNAL( currentChanged(TQListBoxItem*) ), this, TQT_SLOT( lbvCodecsCurrentChanged(TQListBoxItem*) ) ); + connect( teOpt1, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOpt1TextChanged() ) ); + connect( teOpt2, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOpt2TextChanged() ) ); + connect( leVLabel, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leVLabelTextChanged(const TQString&) ) ); + connect( teOpt3, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOpt3TextChanged() ) ); + connect( lbaCodecs, TQT_SIGNAL( currentChanged(TQListBoxItem*) ), this, TQT_SLOT( lbaCodecsCurrentChanged(TQListBoxItem*) ) ); + connect( teOptA, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOptATextChanged() ) ); + connect( leALabel, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leALabelTextChanged(const TQString&) ) ); + connect( btnOpt1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOpt1Clicked() ) ); + connect( btnOpt2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOpt2Clicked() ) ); + connect( btnOpt3, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOpt3Clicked() ) ); + connect( btnOptA, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOptAClicked() ) ); + connect( btnAddA, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnAddAClicked() ) ); + connect( btnAddV, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnAddVClicked() ) ); + connect( btnDeleteA, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnDeleteAClicked() ) ); + connect( btnDeleteV, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnDeleteVClicked() ) ); + connect( leFourcc, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leFourccTextChanged(const TQString&) ) ); + connect( bReset, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bResetClicked() ) ); // tab order setTabOrder( lbvCodecs, leVLabel ); @@ -274,7 +274,7 @@ prefMencoder::prefMencoder( QWidget* parent, const char* name, WFlags fl ) */ prefMencoder::~prefMencoder() { - // no need to delete child widgets, Qt does it all for us + // no need to delete child widgets, TQt does it all for us } /* @@ -313,29 +313,29 @@ void prefMencoder::languageChange() lbvCodecs->insertItem( tr2i18n( "ffvHuff" ) ); lbvCodecs->insertItem( tr2i18n( "ASUS v1" ) ); lbvCodecs->insertItem( tr2i18n( "ASUS v2" ) ); - btnDeleteV->setAccel( QKeySequence( QString::null ) ); + btnDeleteV->setAccel( TQKeySequence( TQString() ) ); textLabel1_3->setText( tr2i18n( "label" ) ); textLabel2_3->setText( tr2i18n( "fourcc" ) ); textLabel1_2_3->setText( tr2i18n( "first pass" ) ); - btnOpt2->setText( QString::null ); - btnOpt3->setText( QString::null ); + btnOpt2->setText( TQString() ); + btnOpt3->setText( TQString() ); textLabel1_2->setText( tr2i18n( "one pass" ) ); - teOpt1->setText( QString::null ); - btnOpt1->setText( QString::null ); + teOpt1->setText( TQString() ); + btnOpt1->setText( TQString() ); textLabel1_2_3_2->setText( tr2i18n( "second pass" ) ); tabWidget2->changeTab( tab, tr2i18n( "Video codecs" ) ); lbaCodecs->clear(); lbaCodecs->insertItem( tr2i18n( "New Item" ) ); textLabel3->setText( tr2i18n( "label" ) ); - btnOptA->setText( QString::null ); + btnOptA->setText( TQString() ); textLabel1_2_2_2->setText( tr2i18n( "options" ) ); tabWidget2->changeTab( tab_2, tr2i18n( "Audio codecs" ) ); textLabel1->setText( tr2i18n( "Available variables" ) ); } -void prefMencoder::lbvCodecsCurrentChanged(QListBoxItem*) +void prefMencoder::lbvCodecsCurrentChanged(TQListBoxItem*) { - qWarning( "prefMencoder::lbvCodecsCurrentChanged(QListBoxItem*): Not implemented yet" ); + qWarning( "prefMencoder::lbvCodecsCurrentChanged(TQListBoxItem*): Not implemented yet" ); } void prefMencoder::teOpt1TextChanged() @@ -348,9 +348,9 @@ void prefMencoder::teOpt2TextChanged() qWarning( "prefMencoder::teOpt2TextChanged(): Not implemented yet" ); } -void prefMencoder::leVLabelTextChanged(const QString&) +void prefMencoder::leVLabelTextChanged(const TQString&) { - qWarning( "prefMencoder::leVLabelTextChanged(const QString&): Not implemented yet" ); + qWarning( "prefMencoder::leVLabelTextChanged(const TQString&): Not implemented yet" ); } void prefMencoder::teOpt3TextChanged() @@ -358,9 +358,9 @@ void prefMencoder::teOpt3TextChanged() qWarning( "prefMencoder::teOpt3TextChanged(): Not implemented yet" ); } -void prefMencoder::lbaCodecsCurrentChanged(QListBoxItem*) +void prefMencoder::lbaCodecsCurrentChanged(TQListBoxItem*) { - qWarning( "prefMencoder::lbaCodecsCurrentChanged(QListBoxItem*): Not implemented yet" ); + qWarning( "prefMencoder::lbaCodecsCurrentChanged(TQListBoxItem*): Not implemented yet" ); } void prefMencoder::teOptATextChanged() @@ -368,9 +368,9 @@ void prefMencoder::teOptATextChanged() qWarning( "prefMencoder::teOptATextChanged(): Not implemented yet" ); } -void prefMencoder::leALabelTextChanged(const QString&) +void prefMencoder::leALabelTextChanged(const TQString&) { - qWarning( "prefMencoder::leALabelTextChanged(const QString&): Not implemented yet" ); + qWarning( "prefMencoder::leALabelTextChanged(const TQString&): Not implemented yet" ); } void prefMencoder::btnOpt1Clicked() @@ -413,9 +413,9 @@ void prefMencoder::btnDeleteAClicked() qWarning( "prefMencoder::btnDeleteAClicked(): Not implemented yet" ); } -void prefMencoder::leFourccTextChanged(const QString&) +void prefMencoder::leFourccTextChanged(const TQString&) { - qWarning( "prefMencoder::leFourccTextChanged(const QString&): Not implemented yet" ); + qWarning( "prefMencoder::leFourccTextChanged(const TQString&): Not implemented yet" ); } void prefMencoder::bResetClicked() |