From 445633c8ffa0b5219c036b130230fdc6d97e9894 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:09:01 -0600 Subject: [PATCH] Rename old tq methods that no longer need a unique name --- k9Mplayer/k9mplayer.cpp | 2 +- k9Mplayer/mplayer.cpp | 18 +++++++++--------- k9Mplayer/mplayer.ui | 18 +++++++++--------- k9author/chapterEdit.cpp | 18 +++++++++--------- k9author/chapterEdit.ui | 10 +++++----- k9author/import.cpp | 12 ++++++------ k9author/import.ui | 4 ++-- k9author/k9menu.cpp | 2 +- k9author/k9menuedit.cpp | 4 ++-- k9author/menuEdit.cpp | 18 +++++++++--------- k9author/menuEdit.ui | 6 +++--- k9author/newTitle.cpp | 16 ++++++++-------- k9author/newTitle.ui | 8 ++++---- libdvdnav/dvdnav.h | 2 +- libk9copy/backupdlg.cpp | 18 +++++++++--------- libk9copy/backupdlg.ui | 14 +++++++------- libk9copy/dvdprogress.cpp | 12 ++++++------ libk9copy/dvdprogress.ui | 6 +++--- libk9copy/k9burndvd.cpp | 8 ++++---- libk9copy/k9dvdauthor.cpp | 4 ++-- libk9copy/k9dvdread.cpp | 2 +- libk9copy/k9mp4enc.cpp | 2 +- libk9copy/mp4dlg.cpp | 14 +++++++------- libk9copy/mp4dlg.ui | 6 +++--- libk9copy/processList.cpp | 4 ++-- libk9copy/processList.ui | 2 +- libk9copy/progress.cpp | 20 ++++++++++---------- libk9copy/progress.ui | 8 ++++---- src/configDlg.cpp | 8 ++++---- src/configDlg.ui | 2 +- src/k9mainw.cpp | 26 +++++++++++++------------- src/k9mainw.ui | 16 ++++++++-------- src/k9mainwsov.ui | 14 +++++++------- src/k9play.cpp | 10 +++++----- src/k9play.h | 6 +++--- src/langselectw.cpp | 4 ++-- src/langselectw.ui | 2 +- src/main.cpp | 2 +- src/mencoderCmdGen.cpp | 4 ++-- src/mencoderCmdGen.ui | 4 ++-- src/playbackoptionsw.cpp | 24 ++++++++++++------------ src/playbackoptionsw.ui | 18 +++++++++--------- src/prefAuthor.cpp | 6 +++--- src/prefAuthor.ui | 6 +++--- src/prefDVD.cpp | 10 +++++----- src/prefDVD.ui | 4 ++-- src/prefMPEG4.cpp | 34 +++++++++++++++++----------------- src/prefMPEG4.ui | 26 +++++++++++++------------- src/prefMencoder.cpp | 28 ++++++++++++++-------------- src/prefMencoder.ui | 26 +++++++++++++------------- src/prefpreview.cpp | 12 ++++++------ src/prefpreview.ui | 10 +++++----- src/titlefactor.cpp | 8 ++++---- src/titlefactor.ui | 2 +- src/viewmpeg2.cpp | 12 ++++++------ src/viewmpeg2.ui | 2 +- 56 files changed, 292 insertions(+), 292 deletions(-) diff --git a/k9Mplayer/k9mplayer.cpp b/k9Mplayer/k9mplayer.cpp index 24bc9a9..b9f0dc2 100644 --- a/k9Mplayer/k9mplayer.cpp +++ b/k9Mplayer/k9mplayer.cpp @@ -108,7 +108,7 @@ void K9Mplayer::setTitle( const TQString & _numTitle,const TQString &_numChapter /*$SPECIALIZATION$*/ void K9Mplayer::receivedStdout (KProcess *proc, char *buffer, int buflen) { - TQString buf = TQString::tqfromLatin1(buffer, buflen); + TQString buf = TQString::fromLatin1(buffer, buflen); sscanf(buf.latin1(),"ANS_PERCENT_POSITION=%d",&m_position); if (!m_seeking && m_position>0) { slider->setValue(m_position); diff --git a/k9Mplayer/mplayer.cpp b/k9Mplayer/mplayer.cpp index cd033e2..f43bb1a 100644 --- a/k9Mplayer/mplayer.cpp +++ b/k9Mplayer/mplayer.cpp @@ -492,14 +492,14 @@ MPlayer::MPlayer( TQWidget* parent, const char* name, WFlags fl ) tqlayout6 = new TQHBoxLayout( 0, 0, 6, "tqlayout6"); bStop = new KPushButton( this, "bStop" ); - bStop->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) ); + bStop->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) ); bStop->setMinimumSize( TQSize( 30, 30 ) ); bStop->setPixmap( image1 ); bStop->setFlat( TRUE ); tqlayout6->addWidget( bStop ); bPlay = new KPushButton( this, "bPlay" ); - bPlay->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); + bPlay->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); bPlay->setMinimumSize( TQSize( 30, 30 ) ); bPlay->setPixmap( image2 ); bPlay->setFlat( TRUE ); @@ -512,7 +512,7 @@ MPlayer::MPlayer( TQWidget* parent, const char* name, WFlags fl ) tqlayout5 = new TQHBoxLayout( 0, 0, 6, "tqlayout5"); bDown = new KPushButton( this, "bDown" ); - bDown->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bDown->sizePolicy().hasHeightForWidth() ) ); + bDown->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bDown->sizePolicy().hasHeightForWidth() ) ); bDown->setMinimumSize( TQSize( 22, 22 ) ); bDown->setMaximumSize( TQSize( 22, 22 ) ); TQFont bDown_font( bDown->font() ); @@ -528,7 +528,7 @@ MPlayer::MPlayer( TQWidget* parent, const char* name, WFlags fl ) tqlayout5->addWidget( pixmapLabel1 ); bUp = new KPushButton( this, "bUp" ); - bUp->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bUp->sizePolicy().hasHeightForWidth() ) ); + bUp->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bUp->sizePolicy().hasHeightForWidth() ) ); bUp->setMinimumSize( TQSize( 22, 22 ) ); bUp->setMaximumSize( TQSize( 22, 22 ) ); TQFont bUp_font( bUp->font() ); @@ -541,27 +541,27 @@ MPlayer::MPlayer( TQWidget* parent, const char* name, WFlags fl ) MPlayerLayout->addMultiCellLayout( tqlayout6, 4, 4, 0, 5 ); frame4 = new TQFrame( this, "frame4" ); - frame4->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) ); + frame4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) ); frame4->setFrameShape( TQFrame::HLine ); frame4->setFrameShadow( TQFrame::Raised ); MPlayerLayout->addMultiCellWidget( frame4, 1, 1, 0, 5 ); Label = new TQLabel( this, "Label" ); - Label->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, Label->sizePolicy().hasHeightForWidth() ) ); + Label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, Label->sizePolicy().hasHeightForWidth() ) ); Label->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) ); - Label->tqsetAlignment( int( TQLabel::AlignCenter ) ); + Label->setAlignment( int( TQLabel::AlignCenter ) ); MPlayerLayout->addMultiCellWidget( Label, 2, 2, 0, 5 ); frame3 = new TQFrame( this, "frame3" ); - frame3->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) ); + frame3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) ); frame3->setFrameShape( TQFrame::HLine ); frame3->setFrameShadow( TQFrame::Raised ); MPlayerLayout->addMultiCellWidget( frame3, 3, 3, 0, 5 ); languageChange(); - resize( TQSize(559, 458).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(559, 458).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/k9Mplayer/mplayer.ui b/k9Mplayer/mplayer.ui index c0c6854..f38b485 100644 --- a/k9Mplayer/mplayer.ui +++ b/k9Mplayer/mplayer.ui @@ -54,7 +54,7 @@ Expanding - + 190 20 @@ -78,7 +78,7 @@ bSwitchAudio - + 22 22 @@ -111,7 +111,7 @@ 0 - + 30 30 @@ -139,7 +139,7 @@ 0 - + 30 30 @@ -186,13 +186,13 @@ 0 - + 22 22 - + 22 22 @@ -217,7 +217,7 @@ pixmapLabel1 - + 22 22 @@ -242,13 +242,13 @@ 0 - + 22 22 - + 22 22 diff --git a/k9author/chapterEdit.cpp b/k9author/chapterEdit.cpp index 04eec11..5aa9d03 100644 --- a/k9author/chapterEdit.cpp +++ b/k9author/chapterEdit.cpp @@ -34,11 +34,11 @@ chapterEdit::chapterEdit( TQWidget* parent, const char* name, WFlags fl ) { if ( !name ) setName( "chapterEdit" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); chapterEditLayout = new TQGridLayout( this, 1, 1, 11, 6, "chapterEditLayout"); twstart = new KTimeWidget( this, "twstart" ); - twstart->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twstart->sizePolicy().hasHeightForWidth() ) ); + twstart->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twstart->sizePolicy().hasHeightForWidth() ) ); chapterEditLayout->addWidget( twstart, 1, 2 ); @@ -51,13 +51,13 @@ chapterEdit::chapterEdit( TQWidget* parent, const char* name, WFlags fl ) chapterEditLayout->addWidget( textLabel3, 0, 1 ); urFile = new KURLRequester( this, "urFile" ); - urFile->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, urFile->sizePolicy().hasHeightForWidth() ) ); + urFile->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, urFile->sizePolicy().hasHeightForWidth() ) ); urFile->setMinimumSize( TQSize( 200, 0 ) ); chapterEditLayout->addMultiCellWidget( urFile, 0, 0, 2, 4 ); bStart = new KPushButton( this, "bStart" ); - bStart->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStart->sizePolicy().hasHeightForWidth() ) ); + bStart->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStart->sizePolicy().hasHeightForWidth() ) ); chapterEditLayout->addWidget( bStart, 1, 3 ); spacer2 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); @@ -78,7 +78,7 @@ chapterEdit::chapterEdit( TQWidget* parent, const char* name, WFlags fl ) chapterEditLayout->addMultiCellWidget( ckBreakEnd, 5, 5, 2, 3 ); twend = new KTimeWidget( this, "twend" ); - twend->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twend->sizePolicy().hasHeightForWidth() ) ); + twend->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twend->sizePolicy().hasHeightForWidth() ) ); chapterEditLayout->addWidget( twend, 4, 2 ); spacer3 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Fixed ); @@ -87,7 +87,7 @@ chapterEdit::chapterEdit( TQWidget* parent, const char* name, WFlags fl ) tqlayout3 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout3"); lPosition = new TQLabel( this, "lPosition" ); - lPosition->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lPosition->sizePolicy().hasHeightForWidth() ) ); + lPosition->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lPosition->sizePolicy().hasHeightForWidth() ) ); tqlayout3->addWidget( lPosition, 1, 1 ); @@ -106,16 +106,16 @@ chapterEdit::chapterEdit( TQWidget* parent, const char* name, WFlags fl ) chapterEditLayout->addMultiCellLayout( tqlayout3, 0, 6, 0, 0 ); bEnd = new KPushButton( this, "bEnd" ); - bEnd->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bEnd->sizePolicy().hasHeightForWidth() ) ); + bEnd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bEnd->sizePolicy().hasHeightForWidth() ) ); chapterEditLayout->addWidget( bEnd, 4, 3 ); bTitleButton = new TQPushButton( this, "bTitleButton" ); - bTitleButton->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bTitleButton->sizePolicy().hasHeightForWidth() ) ); + bTitleButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bTitleButton->sizePolicy().hasHeightForWidth() ) ); chapterEditLayout->addWidget( bTitleButton, 7, 0 ); languageChange(); - resize( TQSize(627, 300).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(627, 300).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/k9author/chapterEdit.ui b/k9author/chapterEdit.ui index 1307bdc..1c389c8 100644 --- a/k9author/chapterEdit.ui +++ b/k9author/chapterEdit.ui @@ -68,7 +68,7 @@ 0 - + 200 0 @@ -105,7 +105,7 @@ Expanding - + 16 20 @@ -130,7 +130,7 @@ Expanding - + 21 60 @@ -176,7 +176,7 @@ Fixed - + 20 31 @@ -219,7 +219,7 @@ image - + 320 200 diff --git a/k9author/import.cpp b/k9author/import.cpp index 69ebdbc..cd87208 100644 --- a/k9author/import.cpp +++ b/k9author/import.cpp @@ -35,7 +35,7 @@ import::import( TQWidget* parent, const char* name, WFlags fl ) importLayout = new TQGridLayout( this, 1, 1, 11, 6, "importLayout"); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); importLayout->addWidget( textLabel1, 0, 0 ); @@ -46,7 +46,7 @@ import::import( TQWidget* parent, const char* name, WFlags fl ) lvDVD->header()->setClickEnabled( FALSE, lvDVD->header()->count() - 1 ); lvDVD->addColumn( tr2i18n( "..." ) ); lvDVD->header()->setClickEnabled( FALSE, lvDVD->header()->count() - 1 ); - lvDVD->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lvDVD->sizePolicy().hasHeightForWidth() ) ); + lvDVD->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lvDVD->sizePolicy().hasHeightForWidth() ) ); lvDVD->setMinimumSize( TQSize( 0, 200 ) ); lvDVD->setRootIsDecorated( FALSE ); lvDVD->setResizeMode( TQListView::AllColumns ); @@ -60,18 +60,18 @@ import::import( TQWidget* parent, const char* name, WFlags fl ) importLayout->addWidget( cbOutputDev, 0, 1 ); cbFormat = new TQComboBox( FALSE, this, "cbFormat" ); - cbFormat->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbFormat->sizePolicy().hasHeightForWidth() ) ); + cbFormat->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbFormat->sizePolicy().hasHeightForWidth() ) ); importLayout->addWidget( cbFormat, 0, 2 ); lTotal = new TQLabel( this, "lTotal" ); - lTotal->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotal->sizePolicy().hasHeightForWidth() ) ); + lTotal->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotal->sizePolicy().hasHeightForWidth() ) ); importLayout->addWidget( lTotal, 2, 3 ); gsTotal = new KGradientSelector( this, "gsTotal" ); gsTotal->setEnabled( FALSE ); - gsTotal->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gsTotal->sizePolicy().hasHeightForWidth() ) ); + gsTotal->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gsTotal->sizePolicy().hasHeightForWidth() ) ); gsTotal->setMaximumSize( TQSize( 32767, 13 ) ); gsTotal->setValue( 0 ); gsTotal->setMaxValue( 180 ); @@ -80,7 +80,7 @@ import::import( TQWidget* parent, const char* name, WFlags fl ) importLayout->addMultiCellWidget( gsTotal, 2, 2, 0, 2 ); languageChange(); - resize( TQSize(524, 416).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(524, 416).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/k9author/import.ui b/k9author/import.ui index 4569542..9ac3964 100644 --- a/k9author/import.ui +++ b/k9author/import.ui @@ -77,7 +77,7 @@ 0 - + 0 200 @@ -151,7 +151,7 @@ 0 - + 32767 13 diff --git a/k9author/k9menu.cpp b/k9author/k9menu.cpp index 82e1010..b8927f5 100644 --- a/k9author/k9menu.cpp +++ b/k9author/k9menu.cpp @@ -25,7 +25,7 @@ k9Menu::k9Menu(TQObject *parent, const char *name) m_canvas=new TQCanvas(this); TQPixmap pix(720,576); pix.fill(TQt::black); - m_canvas->tqsetBackgroundPixmap(pix); + m_canvas->setBackgroundPixmap(pix); m_startScript=m_startScript2=m_endScript=""; } diff --git a/k9author/k9menuedit.cpp b/k9author/k9menuedit.cpp index e9a018b..1c8365c 100644 --- a/k9author/k9menuedit.cpp +++ b/k9author/k9menuedit.cpp @@ -153,7 +153,7 @@ void k9MenuEdit::cbPosTitleActivated(int _value) { void k9MenuEdit::setBackgroundImage(const TQImage &_image) { m_background=_image; - m_canvas->tqsetBackgroundPixmap(TQPixmap(_image)); + m_canvas->setBackgroundPixmap(TQPixmap(_image)); emit backgroundImageChanged(_image); } @@ -219,7 +219,7 @@ void k9MenuEdit::setFormat(const eFormat& _value) { TQImage img=pix.convertToImage().smoothScale(720,m_imageHeight); m_canvas->resize(720,m_imageHeight); m_menuEditor->setMaximumSize(TQSize(724,m_imageHeight+4)); - m_canvas->tqsetBackgroundPixmap(TQPixmap(img)); + m_canvas->setBackgroundPixmap(TQPixmap(img)); } diff --git a/k9author/menuEdit.cpp b/k9author/menuEdit.cpp index 3f65a27..d51848a 100644 --- a/k9author/menuEdit.cpp +++ b/k9author/menuEdit.cpp @@ -37,12 +37,12 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout = new TQGridLayout( this, 1, 1, 2, 6, "menuEditLayout"); textLabel2 = new TQLabel( this, "textLabel2" ); - textLabel2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); + textLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addMultiCellWidget( textLabel2, 5, 6, 0, 0 ); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( textLabel1, 4, 0 ); @@ -51,17 +51,17 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout->addMultiCellWidget( urBackground, 4, 4, 1, 5 ); cbColor = new KColorButton( this, "cbColor" ); - cbColor->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbColor->sizePolicy().hasHeightForWidth() ) ); + cbColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbColor->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( cbColor, 6, 1 ); bFont = new KPushButton( this, "bFont" ); - bFont->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bFont->sizePolicy().hasHeightForWidth() ) ); + bFont->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bFont->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( bFont, 6, 2 ); cbPosTitle = new TQComboBox( FALSE, this, "cbPosTitle" ); - cbPosTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbPosTitle->sizePolicy().hasHeightForWidth() ) ); + cbPosTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbPosTitle->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( cbPosTitle, 6, 3 ); spacer1 = new TQSpacerItem( 51, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); @@ -72,14 +72,14 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout->addMultiCellWidget( leTitle, 5, 5, 1, 4 ); bAddText = new KPushButton( this, "bAddText" ); - bAddText->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, bAddText->sizePolicy().hasHeightForWidth() ) ); + bAddText->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, bAddText->sizePolicy().hasHeightForWidth() ) ); bAddText->setMinimumSize( TQSize( 24, 24 ) ); bAddText->setMaximumSize( TQSize( 24, 24 ) ); menuEditLayout->addWidget( bAddText, 5, 5 ); lTitle = new TQLabel( this, "lTitle" ); - lTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lTitle->sizePolicy().hasHeightForWidth() ) ); + lTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lTitle->sizePolicy().hasHeightForWidth() ) ); TQFont lTitle_font( lTitle->font() ); lTitle_font.setBold( TRUE ); lTitle->setFont( lTitle_font ); @@ -103,13 +103,13 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout->addMultiCellWidget( cbEnd, 3, 3, 1, 5 ); frame = new TQFrame( this, "frame" ); - frame->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, frame->sizePolicy().hasHeightForWidth() ) ); + frame->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, frame->sizePolicy().hasHeightForWidth() ) ); frame->setFrameShape( TQFrame::StyledPanel ); frame->setFrameShadow( TQFrame::Raised ); menuEditLayout->addMultiCellWidget( frame, 1, 1, 0, 5 ); languageChange(); - resize( TQSize(576, 682).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(576, 682).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/k9author/menuEdit.ui b/k9author/menuEdit.ui index 14abb77..7f34593 100644 --- a/k9author/menuEdit.ui +++ b/k9author/menuEdit.ui @@ -124,7 +124,7 @@ Expanding - + 51 20 @@ -148,13 +148,13 @@ 0 - + 24 24 - + 24 24 diff --git a/k9author/newTitle.cpp b/k9author/newTitle.cpp index 154e5ef..786145a 100644 --- a/k9author/newTitle.cpp +++ b/k9author/newTitle.cpp @@ -39,15 +39,15 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) newTitleLayout = new TQGridLayout( this, 1, 1, 11, 6, "newTitleLayout"); buttonGroup1 = new TQButtonGroup( this, "buttonGroup1" ); - buttonGroup1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); + buttonGroup1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); buttonGroup1->setColumnLayout(0, Qt::Vertical ); buttonGroup1->tqlayout()->setSpacing( 6 ); buttonGroup1->tqlayout()->setMargin( 11 ); buttonGroup1Layout = new TQGridLayout( buttonGroup1->tqlayout() ); - buttonGroup1Layout->tqsetAlignment( TQt::AlignTop ); + buttonGroup1Layout->setAlignment( TQt::AlignTop ); nbChapters = new KIntNumInput( buttonGroup1, "nbChapters" ); - nbChapters->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, nbChapters->sizePolicy().hasHeightForWidth() ) ); + nbChapters->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, nbChapters->sizePolicy().hasHeightForWidth() ) ); nbChapters->setMinValue( 1 ); nbChapters->setMaxValue( 99 ); @@ -55,7 +55,7 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) twLength = new KTimeWidget( buttonGroup1, "twLength" ); twLength->setEnabled( FALSE ); - twLength->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, twLength->sizePolicy().hasHeightForWidth() ) ); + twLength->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, twLength->sizePolicy().hasHeightForWidth() ) ); buttonGroup1Layout->addWidget( twLength, 1, 1 ); @@ -78,7 +78,7 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) bAdd = new KPushButton( this, "bAdd" ); bAdd->setEnabled( FALSE ); - bAdd->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); + bAdd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); bAdd->setProperty( "stdItem", 27 ); newTitleLayout->addWidget( bAdd, 2, 1 ); @@ -88,7 +88,7 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) tqlayout1 = new TQHBoxLayout( 0, 0, 6, "tqlayout1"); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); tqlayout1->addWidget( textLabel1 ); urFile = new KURLRequester( this, "urFile" ); @@ -96,12 +96,12 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) tqlayout1->addWidget( urFile ); lTotalTime = new TQLabel( this, "lTotalTime" ); - lTotalTime->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotalTime->sizePolicy().hasHeightForWidth() ) ); + lTotalTime->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotalTime->sizePolicy().hasHeightForWidth() ) ); tqlayout1->addWidget( lTotalTime ); newTitleLayout->addMultiCellLayout( tqlayout1, 0, 0, 0, 1 ); languageChange(); - resize( TQSize(605, 171).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(605, 171).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/k9author/newTitle.ui b/k9author/newTitle.ui index 7115c31..83a782e 100644 --- a/k9author/newTitle.ui +++ b/k9author/newTitle.ui @@ -102,7 +102,7 @@ Expanding - + 131 21 @@ -121,7 +121,7 @@ Expanding - + 21 16 @@ -138,7 +138,7 @@ Expanding - + 16 20 @@ -180,7 +180,7 @@ Expanding - + 470 20 diff --git a/libdvdnav/dvdnav.h b/libdvdnav/dvdnav.h index b9812ad..1e39d0b 100644 --- a/libdvdnav/dvdnav.h +++ b/libdvdnav/dvdnav.h @@ -52,7 +52,7 @@ extern "C" { */ typedef struct dvdnav_s dvdnav_t; -/* tqStatus as reported by most of libdvdnav's functions */ +/* Status as reported by most of libdvdnav's functions */ typedef int32_t dvdnav_status_t; /* diff --git a/libk9copy/backupdlg.cpp b/libk9copy/backupdlg.cpp index e760dfa..c111ceb 100644 --- a/libk9copy/backupdlg.cpp +++ b/libk9copy/backupdlg.cpp @@ -32,7 +32,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl { if ( !name ) setName( "backupDlg" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); setMinimumSize( TQSize( 0, 0 ) ); setMaximumSize( TQSize( 9999, 9999 ) ); setBaseSize( TQSize( 500, 230 ) ); @@ -41,7 +41,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl backupDlgLayout = new TQGridLayout( this, 1, 1, 3, 8, "backupDlgLayout"); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); textLabel1->setCursor( TQCursor( 3 ) ); textLabel1->setFrameShape( TQLabel::NoFrame ); textLabel1->setFrameShadow( TQLabel::Raised ); @@ -51,7 +51,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl tqlayout3 = new TQVBoxLayout( 0, 0, 6, "tqlayout3"); lblStep = new TQLabel( this, "lblStep" ); - lblStep->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblStep->sizePolicy().hasHeightForWidth() ) ); + lblStep->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblStep->sizePolicy().hasHeightForWidth() ) ); TQFont lblStep_font( lblStep->font() ); lblStep_font.setItalic( TRUE ); lblStep->setFont( lblStep_font ); @@ -72,13 +72,13 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl backupDlgLayout->addMultiCellLayout( tqlayout3, 3, 3, 0, 3 ); textLabel1_2 = new TQLabel( this, "textLabel1_2" ); - textLabel1_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) ); + textLabel1_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) ); textLabel1_2->setCursor( TQCursor( 3 ) ); backupDlgLayout->addWidget( textLabel1_2, 2, 0 ); lblTime = new TQLabel( this, "lblTime" ); - lblTime->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblTime->sizePolicy().hasHeightForWidth() ) ); + lblTime->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblTime->sizePolicy().hasHeightForWidth() ) ); lblTime->setCursor( TQCursor( 3 ) ); backupDlgLayout->addWidget( lblTime, 2, 1 ); @@ -88,7 +88,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl tqlayout1->addItem( spacer1 ); bAbort = new KPushButton( this, "bAbort" ); - bAbort->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAbort->sizePolicy().hasHeightForWidth() ) ); + bAbort->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAbort->sizePolicy().hasHeightForWidth() ) ); bAbort->setCursor( TQCursor( 0 ) ); bAbort->setProperty( "stdItem", 26 ); tqlayout1->addWidget( bAbort ); @@ -108,7 +108,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl frame3Layout = new TQGridLayout( frame3, 1, 1, 2, 6, "frame3Layout"); bPlay = new KPushButton( frame3, "bPlay" ); - bPlay->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); + bPlay->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); bPlay->setMinimumSize( TQSize( 25, 25 ) ); bPlay->setMaximumSize( TQSize( 25, 25 ) ); bPlay->setCursor( TQCursor( 0 ) ); @@ -121,7 +121,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl frame3Layout->addItem( spacer4, 1, 0 ); image = new TQLabel( frame3, "image" ); - image->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, image->sizePolicy().hasHeightForWidth() ) ); + image->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, image->sizePolicy().hasHeightForWidth() ) ); image->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) ); image->setCursor( TQCursor( 3 ) ); image->setScaledContents( TRUE ); @@ -132,7 +132,7 @@ backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl spacer3 = new TQSpacerItem( 380, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); backupDlgLayout->addItem( spacer3, 2, 2 ); languageChange(); - resize( TQSize(385, 425).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(385, 425).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/libk9copy/backupdlg.ui b/libk9copy/backupdlg.ui index 6bb8af5..e7381a2 100644 --- a/libk9copy/backupdlg.ui +++ b/libk9copy/backupdlg.ui @@ -20,13 +20,13 @@ 0 - + 0 0 - + 9999 9999 @@ -200,7 +200,7 @@ Expanding - + 131 20 @@ -271,13 +271,13 @@ 0 - + 25 25 - + 25 25 @@ -309,7 +309,7 @@ Expanding - + 476 20 @@ -354,7 +354,7 @@ Expanding - + 380 20 diff --git a/libk9copy/dvdprogress.cpp b/libk9copy/dvdprogress.cpp index c48b96b..ff914dc 100644 --- a/libk9copy/dvdprogress.cpp +++ b/libk9copy/dvdprogress.cpp @@ -29,7 +29,7 @@ DVDProgress::DVDProgress( TQWidget* parent, const char* name, bool modal, WFlags { if ( !name ) setName( "DVDProgress" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); setMinimumSize( TQSize( 0, 150 ) ); setMaximumSize( TQSize( 400, 150 ) ); setCursor( TQCursor( 3 ) ); @@ -65,12 +65,12 @@ DVDProgress::DVDProgress( TQWidget* parent, const char* name, bool modal, WFlags DVDProgressLayout->addLayout( tqlayout1, 0, 0 ); - lbltqStatus = new TQLabel( this, "lblStatus" ); - lbltqStatus->setCursor( TQCursor( 3 ) ); + lblStatus = new TQLabel( this, "lblStatus" ); + lblStatus->setCursor( TQCursor( 3 ) ); - DVDProgressLayout->addWidget( lbltqStatus, 2, 0 ); + DVDProgressLayout->addWidget( lblStatus, 2, 0 ); languageChange(); - resize( TQSize(278, 150).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(278, 150).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } @@ -91,7 +91,7 @@ void DVDProgress::languageChange() setCaption( tr2i18n( "k9Copy - DVD Analyze" ) ); lblTotal->setText( TQString() ); lblTitle->setText( TQString() ); - lbltqStatus->setText( TQString() ); + lblStatus->setText( TQString() ); } #include "dvdprogress.moc" diff --git a/libk9copy/dvdprogress.ui b/libk9copy/dvdprogress.ui index 8bb37b0..ec05e8c 100755 --- a/libk9copy/dvdprogress.ui +++ b/libk9copy/dvdprogress.ui @@ -20,13 +20,13 @@ 0 - + 0 150 - + 400 150 @@ -126,7 +126,7 @@ - lbltqStatus + lblStatus 3 diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp index b9114de..7a53968 100644 --- a/libk9copy/k9burndvd.cpp +++ b/libk9copy/k9burndvd.cpp @@ -101,13 +101,13 @@ void k9BurnDVD::burnWithK3b() { } void k9BurnDVD::mkisoSizeStderr(KProcess *proc, char *buffer, int buflen) { - TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc2->readStderr()); + TQString c=TQString::fromLatin1( buffer,buflen);// (proc2->readStderr()); imageSize=c.replace("\n",""); ; } void k9BurnDVD::mkisoSizeStdout(KProcess *proc, char *buffer, int buflen) { - TQString c=TQString::tqfromLatin1(buffer,buflen);// (proc2->readStdout()); + TQString c=TQString::fromLatin1(buffer,buflen);// (proc2->readStdout()); imageSize=c.replace("\n",""); ; } @@ -331,7 +331,7 @@ void k9BurnDVD::burnWithGrowisofs() { /** No descriptions */ void k9BurnDVD::growisoStderr(KProcess *proc, char *buffer, int buflen) { - TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc->readStderr()); + TQString c=TQString::fromLatin1( buffer,buflen);// (proc->readStderr()); char s[255]; int a,b; int pos; @@ -371,7 +371,7 @@ void k9BurnDVD::growisoStderr(KProcess *proc, char *buffer, int buflen) { } } void k9BurnDVD::growisoStdout(KProcess *proc, char *buffer, int buflen) { - TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc->readStdout()); + TQString c=TQString::fromLatin1( buffer,buflen);// (proc->readStdout()); int pos; pos=c.find("STAT"); if (pos!=-1) { diff --git a/libk9copy/k9dvdauthor.cpp b/libk9copy/k9dvdauthor.cpp index b35f063..71a4072 100755 --- a/libk9copy/k9dvdauthor.cpp +++ b/libk9copy/k9dvdauthor.cpp @@ -491,7 +491,7 @@ void k9DVDAuthor::author() { void k9DVDAuthor::DVDAuthorStderr(KProcess *proc, char *buffer, int buflen ) { //TQString m_stderr(proc->readStderr()); - TQString m_stderr=TQString::tqfromLatin1(buffer, buflen); + TQString m_stderr=TQString::fromLatin1(buffer, buflen); float m_percent; TQString m_remain; @@ -558,7 +558,7 @@ void k9DVDAuthor::DVDAuthorStderr(KProcess *proc, char *buffer, int buflen ) { } void k9DVDAuthor::DVDAuthorStdout(KProcess *proc, char *buffer, int buflen) { - TQString c=TQString::tqfromLatin1( buffer,buflen); + TQString c=TQString::fromLatin1( buffer,buflen); //(proc->readStdout()); int pos; pos=c.find("STAT"); diff --git a/libk9copy/k9dvdread.cpp b/libk9copy/k9dvdread.cpp index 54f1ad7..5d18420 100644 --- a/libk9copy/k9dvdread.cpp +++ b/libk9copy/k9dvdread.cpp @@ -68,7 +68,7 @@ uchar ID[17]; TQString id=""; if (DVDDiscID(m_dvd,ID) !=-1) { ID[16]=0; - id=TQString::tqfromLatin1((const char*)ID); + id=TQString::fromLatin1((const char*)ID); } return id; } diff --git a/libk9copy/k9mp4enc.cpp b/libk9copy/k9mp4enc.cpp index a59c37f..63460a0 100644 --- a/libk9copy/k9mp4enc.cpp +++ b/libk9copy/k9mp4enc.cpp @@ -503,7 +503,7 @@ void k9MP4Enc::getStdout ( KProcess *, char *buffer, int buflen ) void k9MP4Enc::getStderr ( KProcess *proc, char *buffer, int buflen ) { - //m_stderr=TQString::tqfromLatin1(buffer,buflen); + //m_stderr=TQString::fromLatin1(buffer,buflen); TQCString cstderr ( buffer,buflen+1 ); if ( cstderr.find ( "FATAL:" ) !=-1 ) diff --git a/libk9copy/mp4dlg.cpp b/libk9copy/mp4dlg.cpp index 59f0571..8e0955a 100644 --- a/libk9copy/mp4dlg.cpp +++ b/libk9copy/mp4dlg.cpp @@ -34,7 +34,7 @@ MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) MP4DlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "MP4DlgLayout"); lblTitle = new TQLabel( this, "lblTitle" ); - lblTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, lblTitle->sizePolicy().hasHeightForWidth() ) ); + lblTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, lblTitle->sizePolicy().hasHeightForWidth() ) ); TQFont lblTitle_font( lblTitle->font() ); lblTitle_font.setBold( TRUE ); lblTitle->setFont( lblTitle_font ); @@ -48,7 +48,7 @@ MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) MP4DlgLayout->addMultiCellWidget( pbProgress, 3, 3, 0, 2 ); frame3 = new TQFrame( this, "frame3" ); - frame3->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) ); + frame3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame3->sizePolicy().hasHeightForWidth() ) ); frame3->setCursor( TQCursor( 3 ) ); frame3->setFrameShape( TQFrame::NoFrame ); frame3->setFrameShadow( TQFrame::Raised ); @@ -56,13 +56,13 @@ MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) lblfps = new TQLabel( frame3, "lblfps" ); lblfps->setCursor( TQCursor( 3 ) ); - lblfps->tqsetAlignment( int( TQLabel::AlignVCenter ) ); + lblfps->setAlignment( int( TQLabel::AlignVCenter ) ); frame3Layout->addWidget( lblfps, 2, 1 ); lblRemain = new TQLabel( frame3, "lblRemain" ); lblRemain->setCursor( TQCursor( 3 ) ); - lblRemain->tqsetAlignment( int( TQLabel::AlignVCenter ) ); + lblRemain->setAlignment( int( TQLabel::AlignVCenter ) ); frame3Layout->addWidget( lblRemain, 3, 1 ); @@ -99,7 +99,7 @@ MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) MP4DlgLayout->addMultiCellWidget( frame3, 2, 2, 0, 2 ); bCancel = new KPushButton( this, "bCancel" ); - bCancel->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); + bCancel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); bCancel->setCursor( TQCursor( 0 ) ); bCancel->setProperty( "stdItem", 26 ); @@ -110,7 +110,7 @@ MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) MP4DlgLayout->addItem( spacer2, 4, 1 ); image = new TQLabel( this, "image" ); - image->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, image->sizePolicy().hasHeightForWidth() ) ); + image->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, image->sizePolicy().hasHeightForWidth() ) ); image->setMinimumSize( TQSize( 0, 250 ) ); image->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) ); image->setCursor( TQCursor( 3 ) ); @@ -118,7 +118,7 @@ MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) MP4DlgLayout->addMultiCellWidget( image, 1, 1, 0, 2 ); languageChange(); - resize( TQSize(416, 475).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(416, 475).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/libk9copy/mp4dlg.ui b/libk9copy/mp4dlg.ui index a5e124b..e601ce1 100644 --- a/libk9copy/mp4dlg.ui +++ b/libk9copy/mp4dlg.ui @@ -204,7 +204,7 @@ Expanding - + 225 21 @@ -221,7 +221,7 @@ Fixed - + 20 16 @@ -240,7 +240,7 @@ 0 - + 0 250 diff --git a/libk9copy/processList.cpp b/libk9copy/processList.cpp index 35551c1..2f5a4fa 100644 --- a/libk9copy/processList.cpp +++ b/libk9copy/processList.cpp @@ -37,14 +37,14 @@ processList::processList( TQWidget* parent, const char* name, WFlags fl ) processListLayout->addMultiCellWidget( lProcess, 0, 0, 0, 1 ); bCancel = new KPushButton( this, "bCancel" ); - bCancel->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); + bCancel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); bCancel->setProperty( "stdItem", 2 ); processListLayout->addWidget( bCancel, 1, 1 ); spacer1 = new TQSpacerItem( 361, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); processListLayout->addItem( spacer1, 1, 0 ); languageChange(); - resize( TQSize(600, 480).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(600, 480).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/libk9copy/processList.ui b/libk9copy/processList.ui index 8468f7b..0eaa9c0 100644 --- a/libk9copy/processList.ui +++ b/libk9copy/processList.ui @@ -89,7 +89,7 @@ Expanding - + 361 20 diff --git a/libk9copy/progress.cpp b/libk9copy/progress.cpp index e71faf9..d8f7fb4 100644 --- a/libk9copy/progress.cpp +++ b/libk9copy/progress.cpp @@ -28,14 +28,14 @@ Progress::Progress( TQWidget* parent, const char* name, WFlags fl ) { if ( !name ) setName( "Progress" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); setMinimumSize( TQSize( 0, 0 ) ); setCursor( TQCursor( 3 ) ); setMouseTracking( FALSE ); ProgressLayout = new TQGridLayout( this, 1, 1, 11, 6, "ProgressLayout"); lblTitle = new TQLabel( this, "lblTitle" ); - lblTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblTitle->sizePolicy().hasHeightForWidth() ) ); + lblTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblTitle->sizePolicy().hasHeightForWidth() ) ); TQFont lblTitle_font( lblTitle->font() ); lblTitle_font.setBold( TRUE ); lblTitle->setFont( lblTitle_font ); @@ -44,7 +44,7 @@ Progress::Progress( TQWidget* parent, const char* name, WFlags fl ) ProgressLayout->addMultiCellWidget( lblTitle, 0, 0, 0, 2 ); bCancel = new KPushButton( this, "bCancel" ); - bCancel->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); + bCancel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); bCancel->setCursor( TQCursor( 0 ) ); bCancel->setProperty( "stdItem", 26 ); @@ -60,38 +60,38 @@ Progress::Progress( TQWidget* parent, const char* name, WFlags fl ) ProgressLayout->addItem( spacer2, 5, 1 ); image = new TQLabel( this, "image" ); - image->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, image->sizePolicy().hasHeightForWidth() ) ); + image->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, image->sizePolicy().hasHeightForWidth() ) ); image->setMinimumSize( TQSize( 0, 250 ) ); image->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) ); image->setFrameShape( TQLabel::NoFrame ); image->setFrameShadow( TQLabel::Plain ); - image->tqsetAlignment( int( TQLabel::AlignCenter ) ); + image->setAlignment( int( TQLabel::AlignCenter ) ); ProgressLayout->addMultiCellWidget( image, 1, 1, 0, 2 ); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); textLabel1->setCursor( TQCursor( 3 ) ); ProgressLayout->addWidget( textLabel1, 2, 0 ); lblElapsed = new TQLabel( this, "lblElapsed" ); - lblElapsed->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblElapsed->sizePolicy().hasHeightForWidth() ) ); + lblElapsed->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblElapsed->sizePolicy().hasHeightForWidth() ) ); lblElapsed->setCursor( TQCursor( 3 ) ); ProgressLayout->addMultiCellWidget( lblElapsed, 2, 2, 1, 2 ); LabelText = new TQLabel( this, "LabelText" ); - LabelText->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, LabelText->sizePolicy().hasHeightForWidth() ) ); + LabelText->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, LabelText->sizePolicy().hasHeightForWidth() ) ); TQFont LabelText_font( LabelText->font() ); LabelText_font.setItalic( TRUE ); LabelText->setFont( LabelText_font ); LabelText->setCursor( TQCursor( 3 ) ); - LabelText->tqsetAlignment( int( TQLabel::AlignVCenter ) ); + LabelText->setAlignment( int( TQLabel::AlignVCenter ) ); ProgressLayout->addMultiCellWidget( LabelText, 3, 3, 0, 2 ); languageChange(); - resize( TQSize(473, 467).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(473, 467).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/libk9copy/progress.ui b/libk9copy/progress.ui index 91ca0de..17b0cb5 100644 --- a/libk9copy/progress.ui +++ b/libk9copy/progress.ui @@ -20,7 +20,7 @@ 0 - + 0 0 @@ -92,7 +92,7 @@ Expanding - + 161 21 @@ -117,7 +117,7 @@ Fixed - + 20 20 @@ -136,7 +136,7 @@ 0 - + 0 250 diff --git a/src/configDlg.cpp b/src/configDlg.cpp index 3a70e80..5ea0a84 100644 --- a/src/configDlg.cpp +++ b/src/configDlg.cpp @@ -26,7 +26,7 @@ configDlg::configDlg( TQWidget* parent, const char* name, WFlags fl ) { if ( !name ) setName( "configDlg" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); configDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "configDlgLayout"); Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1"); @@ -57,18 +57,18 @@ configDlg::configDlg( TQWidget* parent, const char* name, WFlags fl ) tqlayout4 = new TQVBoxLayout( 0, 0, 6, "tqlayout4"); bAdd = new KPushButton( this, "bAdd" ); - bAdd->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); + bAdd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); bAdd->setProperty( "stdItem", 27 ); tqlayout4->addWidget( bAdd ); bRemove = new KPushButton( this, "bRemove" ); - bRemove->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, bRemove->sizePolicy().hasHeightForWidth() ) ); + bRemove->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, bRemove->sizePolicy().hasHeightForWidth() ) ); bRemove->setProperty( "stdItem", 28 ); tqlayout4->addWidget( bRemove ); configDlgLayout->addLayout( tqlayout4, 1, 1 ); languageChange(); - resize( TQSize(578, 342).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(578, 342).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/configDlg.ui b/src/configDlg.ui index 62f037f..9778e0b 100644 --- a/src/configDlg.ui +++ b/src/configDlg.ui @@ -59,7 +59,7 @@ Expanding - + 20 190 diff --git a/src/k9mainw.cpp b/src/k9mainw.cpp index 24a9552..f921acf 100644 --- a/src/k9mainw.cpp +++ b/src/k9mainw.cpp @@ -35,17 +35,17 @@ MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) { if ( !name ) setName( "MainDlg" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); setMinimumSize( TQSize( 0, 200 ) ); MainDlgLayout = new TQGridLayout( this, 1, 1, 2, 6, "MainDlgLayout"); lblInput_2 = new TQLabel( this, "lblInput_2" ); - lblInput_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblInput_2->sizePolicy().hasHeightForWidth() ) ); + lblInput_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblInput_2->sizePolicy().hasHeightForWidth() ) ); MainDlgLayout->addWidget( lblInput_2, 1, 0 ); lblInput = new TQLabel( this, "lblInput" ); - lblInput->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblInput->sizePolicy().hasHeightForWidth() ) ); + lblInput->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblInput->sizePolicy().hasHeightForWidth() ) ); MainDlgLayout->addWidget( lblInput, 0, 0 ); @@ -54,7 +54,7 @@ MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) factor = new KGradientSelector( tab, "factor" ); factor->setEnabled( FALSE ); - factor->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)4, 0, 0, factor->sizePolicy().hasHeightForWidth() ) ); + factor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)4, 0, 0, factor->sizePolicy().hasHeightForWidth() ) ); factor->setMinimumSize( TQSize( 0, 15 ) ); factor->setValue( 0 ); factor->setMinValue( 0 ); @@ -69,7 +69,7 @@ MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) listView1->addColumn( tr2i18n( "Size" ) ); listView1->header()->setResizeEnabled( FALSE, listView1->header()->count() - 1 ); listView1->addColumn( tr2i18n( "Content" ) ); - listView1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, listView1->sizePolicy().hasHeightForWidth() ) ); + listView1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, listView1->sizePolicy().hasHeightForWidth() ) ); listView1->setMinimumSize( TQSize( 0, 200 ) ); listView1->setShowSortIndicator( TRUE ); @@ -78,23 +78,23 @@ MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) MainDlgLayout->addMultiCellWidget( tab, 2, 2, 0, 4 ); textLabel2_2 = new TQLabel( this, "textLabel2_2" ); - textLabel2_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); + textLabel2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); MainDlgLayout->addWidget( textLabel2_2, 1, 4 ); cbBurnSpeed = new KComboBox( FALSE, this, "cbBurnSpeed" ); - cbBurnSpeed->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbBurnSpeed->sizePolicy().hasHeightForWidth() ) ); + cbBurnSpeed->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbBurnSpeed->sizePolicy().hasHeightForWidth() ) ); cbBurnSpeed->setEditable( TRUE ); MainDlgLayout->addWidget( cbBurnSpeed, 1, 3 ); textLabel1_3 = new TQLabel( this, "textLabel1_3" ); - textLabel1_3->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_3->sizePolicy().hasHeightForWidth() ) ); + textLabel1_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_3->sizePolicy().hasHeightForWidth() ) ); MainDlgLayout->addWidget( textLabel1_3, 1, 2 ); cbInputDev = new TQComboBox( FALSE, this, "cbInputDev" ); - cbInputDev->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbInputDev->sizePolicy().hasHeightForWidth() ) ); + cbInputDev->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbInputDev->sizePolicy().hasHeightForWidth() ) ); cbInputDev->setEditable( TRUE ); cbInputDev->setAutoCompletion( TRUE ); @@ -103,13 +103,13 @@ MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) tqlayout2 = new TQHBoxLayout( 0, 0, 6, "tqlayout2"); bInputOpenDir = new KPushButton( this, "bInputOpenDir" ); - bInputOpenDir->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bInputOpenDir->sizePolicy().hasHeightForWidth() ) ); + bInputOpenDir->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bInputOpenDir->sizePolicy().hasHeightForWidth() ) ); bInputOpenDir->setMinimumSize( TQSize( 22, 22 ) ); bInputOpenDir->setMaximumSize( TQSize( 22, 22 ) ); tqlayout2->addWidget( bInputOpenDir ); bInputOpen = new KPushButton( this, "bInputOpen" ); - bInputOpen->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bInputOpen->sizePolicy().hasHeightForWidth() ) ); + bInputOpen->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bInputOpen->sizePolicy().hasHeightForWidth() ) ); bInputOpen->setMinimumSize( TQSize( 22, 22 ) ); bInputOpen->setMaximumSize( TQSize( 22, 22 ) ); tqlayout2->addWidget( bInputOpen ); @@ -119,13 +119,13 @@ MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) MainDlgLayout->addMultiCellLayout( tqlayout2, 0, 0, 2, 4 ); cbOutputDev = new TQComboBox( FALSE, this, "cbOutputDev" ); - cbOutputDev->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbOutputDev->sizePolicy().hasHeightForWidth() ) ); + cbOutputDev->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbOutputDev->sizePolicy().hasHeightForWidth() ) ); cbOutputDev->setEditable( FALSE ); cbOutputDev->setAutoCompletion( TRUE ); MainDlgLayout->addWidget( cbOutputDev, 1, 1 ); languageChange(); - resize( TQSize(743, 585).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(743, 585).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/k9mainw.ui b/src/k9mainw.ui index 1e6e0be..44be1e2 100644 --- a/src/k9mainw.ui +++ b/src/k9mainw.ui @@ -20,7 +20,7 @@ 0 - + 0 200 @@ -97,7 +97,7 @@ 0 - + 0 15 @@ -172,7 +172,7 @@ 0 - + 0 200 @@ -276,13 +276,13 @@ 0 - + 22 22 - + 22 22 @@ -307,13 +307,13 @@ 0 - + 22 22 - + 22 22 @@ -336,7 +336,7 @@ Expanding - + 50 21 diff --git a/src/k9mainwsov.ui b/src/k9mainwsov.ui index e4e82fc..0a18fae 100644 --- a/src/k9mainwsov.ui +++ b/src/k9mainwsov.ui @@ -189,7 +189,7 @@ 0 - + 0 15 @@ -260,7 +260,7 @@ 0 - + 0 0 @@ -297,13 +297,13 @@ 0 - + 22 22 - + 22 22 @@ -325,13 +325,13 @@ 0 - + 22 22 - + 22 22 @@ -351,7 +351,7 @@ Expanding - + 50 21 diff --git a/src/k9play.cpp b/src/k9play.cpp index 08dff4b..e546aab 100644 --- a/src/k9play.cpp +++ b/src/k9play.cpp @@ -27,7 +27,7 @@ #include #include -void k9play::savetqStatus(k9play_st _status) { +void k9play::saveStatus(k9play_st _status) { TQFile fstatus(m_inject); fstatus.open(IO_WriteOnly); fstatus.writeBlock((const char*)&_status,sizeof(k9play_st)); @@ -36,7 +36,7 @@ void k9play::savetqStatus(k9play_st _status) { } -void k9play::readtqStatus(k9play_st &_status) { +void k9play::readStatus(k9play_st &_status) { TQFile fstatus(m_inject); if (fstatus.open(IO_ReadOnly)) { fstatus.readBlock((char*)&_status,sizeof(k9play_st)); @@ -143,7 +143,7 @@ void k9play::setcell(TQString _value) { m_cell=_value.toUInt(); } -void k9play::setinittqStatus(bool _value) { +void k9play::setinitStatus(bool _value) { m_initstatus=_value; } @@ -234,7 +234,7 @@ void k9play::play() { if (m_initstatus) memset(&status,0,sizeof(k9play_st)); else { - readtqStatus( status); + readStatus( status); if (m_continue) m_startSector=status.sector; } @@ -521,7 +521,7 @@ void k9play::play() { status.bytesWritten +=vamps.getOutputBytes(); if (!m_firstPass) - savetqStatus( status); + saveStatus( status); delete bufferFile; } diff --git a/src/k9play.h b/src/k9play.h index c291151..21d39dc 100644 --- a/src/k9play.h +++ b/src/k9play.h @@ -63,8 +63,8 @@ private: bool readNavPack (k9DVDFile *fh, dsi_t *dsi,int sector, uchar *_buffer); void insert_dummy_pack (int8_t *buf); void insert_nav_pack (int8_t *buf); - void savetqStatus(k9play_st _status); - void readtqStatus(k9play_st &_status); + void saveStatus(k9play_st _status); + void readStatus(k9play_st &_status); void flush(k9SaveImage &_saveImage); public: k9play(); @@ -91,7 +91,7 @@ public: void setinject(TQString _value); void setdvdSize(TQString _value); void setchapterSize(TQString _value); - void setinittqStatus(bool _value); + void setinitStatus(bool _value); void setcontinue (bool _value); void setfirstPass (bool _value); void setforcedFactor(bool _value); diff --git a/src/langselectw.cpp b/src/langselectw.cpp index 283bde1..5dd31b9 100644 --- a/src/langselectw.cpp +++ b/src/langselectw.cpp @@ -91,14 +91,14 @@ langSelect::langSelect( TQWidget* parent, const char* name, WFlags fl ) lvLanguages = new TQListView( this, "lvLanguages" ); lvLanguages->addColumn( tr2i18n( "Languages" ) ); lvLanguages->header()->setClickEnabled( FALSE, lvLanguages->header()->count() - 1 ); - lvLanguages->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)7, 0, 0, lvLanguages->sizePolicy().hasHeightForWidth() ) ); + lvLanguages->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)7, 0, 0, lvLanguages->sizePolicy().hasHeightForWidth() ) ); lvLanguages->setMinimumSize( TQSize( 208, 0 ) ); lvLanguages->setHScrollBarMode( TQListView::AlwaysOff ); lvLanguages->setResizeMode( TQListView::LastColumn ); langSelectLayout->addWidget( lvLanguages, 0, 0 ); languageChange(); - resize( TQSize(600, 480).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(600, 480).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } diff --git a/src/langselectw.ui b/src/langselectw.ui index 352d52e..474dca7 100644 --- a/src/langselectw.ui +++ b/src/langselectw.ui @@ -48,7 +48,7 @@ 0 - + 208 0 diff --git a/src/main.cpp b/src/main.cpp index ee375b4..f5ee876 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -105,7 +105,7 @@ int main(int argc, char **argv) { bool redirect = args->isSet("redirect"); if (play) { k9play player; - player.setinittqStatus( args->isSet("initstatus")); + player.setinitStatus( args->isSet("initstatus")); player.setcontinue( args->isSet("continue")); player.setfirstPass(args->isSet("firstpass")); player.setuseCache(args->isSet("usecache")); diff --git a/src/mencoderCmdGen.cpp b/src/mencoderCmdGen.cpp index bd9addd..7089281 100644 --- a/src/mencoderCmdGen.cpp +++ b/src/mencoderCmdGen.cpp @@ -59,7 +59,7 @@ MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl listView->addColumn( TQString() ); listView->header()->setClickEnabled( FALSE, listView->header()->count() - 1 ); listView->header()->setResizeEnabled( FALSE, listView->header()->count() - 1 ); - listView->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, listView->sizePolicy().hasHeightForWidth() ) ); + listView->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, listView->sizePolicy().hasHeightForWidth() ) ); listView->setMinimumSize( TQSize( 200, 0 ) ); listView->setResizeMode( TQListView::LastColumn ); @@ -72,7 +72,7 @@ MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl MyDialog1Layout->addWidget( wsOptions, 0, 1 ); languageChange(); - resize( TQSize(655, 498).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(655, 498).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/mencoderCmdGen.ui b/src/mencoderCmdGen.ui index 6d18a21..3cc749b 100644 --- a/src/mencoderCmdGen.ui +++ b/src/mencoderCmdGen.ui @@ -46,7 +46,7 @@ Expanding - + 20 20 @@ -159,7 +159,7 @@ 0 - + 200 0 diff --git a/src/playbackoptionsw.cpp b/src/playbackoptionsw.cpp index 56b0f43..045f058 100644 --- a/src/playbackoptionsw.cpp +++ b/src/playbackoptionsw.cpp @@ -120,27 +120,27 @@ PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags f frPlayback = new TQFrame( this, "frPlayback" ); frPlayback->setEnabled( FALSE ); - frPlayback->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, frPlayback->sizePolicy().hasHeightForWidth() ) ); + frPlayback->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, frPlayback->sizePolicy().hasHeightForWidth() ) ); frPlayback->setFrameShape( TQFrame::NoFrame ); frPlayback->setFrameShadow( TQFrame::Sunken ); frPlaybackLayout = new TQGridLayout( frPlayback, 1, 1, 0, 2, "frPlaybackLayout"); lbSequence = new TQListBox( frPlayback, "lbSequence" ); - lbSequence->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lbSequence->sizePolicy().hasHeightForWidth() ) ); + lbSequence->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lbSequence->sizePolicy().hasHeightForWidth() ) ); frPlaybackLayout->addMultiCellWidget( lbSequence, 1, 5, 0, 0 ); spacer5 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); frPlaybackLayout->addMultiCell( spacer5, 0, 1, 1, 1 ); bSeqUp = new KPushButton( frPlayback, "bSeqUp" ); - bSeqUp->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqUp->sizePolicy().hasHeightForWidth() ) ); + bSeqUp->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqUp->sizePolicy().hasHeightForWidth() ) ); bSeqUp->setMinimumSize( TQSize( 21, 21 ) ); bSeqUp->setMaximumSize( TQSize( 21, 21 ) ); frPlaybackLayout->addMultiCellWidget( bSeqUp, 2, 2, 1, 2 ); bSeqDown = new KPushButton( frPlayback, "bSeqDown" ); - bSeqDown->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqDown->sizePolicy().hasHeightForWidth() ) ); + bSeqDown->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqDown->sizePolicy().hasHeightForWidth() ) ); bSeqDown->setMinimumSize( TQSize( 21, 21 ) ); bSeqDown->setMaximumSize( TQSize( 21, 21 ) ); @@ -149,7 +149,7 @@ PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags f frPlaybackLayout->addItem( spacer7, 3, 1 ); textLabel4 = new TQLabel( frPlayback, "textLabel4" ); - textLabel4->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) ); + textLabel4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) ); TQFont textLabel4_font( textLabel4->font() ); textLabel4_font.setBold( TRUE ); textLabel4->setFont( textLabel4_font ); @@ -157,14 +157,14 @@ PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags f frPlaybackLayout->addWidget( textLabel4, 0, 0 ); frame4 = new TQFrame( frPlayback, "frame4" ); - frame4->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) ); + frame4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) ); frame4->setMinimumSize( TQSize( 211, 100 ) ); frame4->setFrameShape( TQFrame::NoFrame ); frame4->setFrameShadow( TQFrame::Raised ); frame4Layout = new TQGridLayout( frame4, 1, 1, 0, 0, "frame4Layout"); textLabel1 = new TQLabel( frame4, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( 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 ); @@ -172,22 +172,22 @@ PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags f frame4Layout->addMultiCellWidget( textLabel1, 0, 0, 0, 2 ); cbDefSub = new TQComboBox( FALSE, frame4, "cbDefSub" ); - cbDefSub->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefSub->sizePolicy().hasHeightForWidth() ) ); + cbDefSub->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefSub->sizePolicy().hasHeightForWidth() ) ); frame4Layout->addWidget( cbDefSub, 2, 2 ); textLabel3 = new TQLabel( frame4, "textLabel3" ); - textLabel3->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel3->sizePolicy().hasHeightForWidth() ) ); + textLabel3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel3->sizePolicy().hasHeightForWidth() ) ); frame4Layout->addWidget( textLabel3, 2, 0 ); cbDefAudio = new TQComboBox( FALSE, frame4, "cbDefAudio" ); - cbDefAudio->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefAudio->sizePolicy().hasHeightForWidth() ) ); + cbDefAudio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefAudio->sizePolicy().hasHeightForWidth() ) ); frame4Layout->addWidget( cbDefAudio, 1, 2 ); textLabel2_3 = new TQLabel( frame4, "textLabel2_3" ); - textLabel2_3->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_3->sizePolicy().hasHeightForWidth() ) ); + textLabel2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_3->sizePolicy().hasHeightForWidth() ) ); frame4Layout->addWidget( textLabel2_3, 1, 0 ); spacer4 = new TQSpacerItem( 16, 21, TQSizePolicy::Fixed, TQSizePolicy::Minimum ); @@ -199,7 +199,7 @@ PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags f PlaybackOptionswLayout->addWidget( frPlayback, 0, 0 ); languageChange(); - resize( TQSize(328, 491).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(328, 491).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/playbackoptionsw.ui b/src/playbackoptionsw.ui index 19ebae5..d30fb3e 100644 --- a/src/playbackoptionsw.ui +++ b/src/playbackoptionsw.ui @@ -90,7 +90,7 @@ Expanding - + 20 31 @@ -109,13 +109,13 @@ 0 - + 21 21 - + 21 21 @@ -137,13 +137,13 @@ 0 - + 21 21 - + 21 21 @@ -163,7 +163,7 @@ Fixed - + 20 16 @@ -203,7 +203,7 @@ 0 - + 211 100 @@ -314,7 +314,7 @@ Fixed - + 16 21 @@ -333,7 +333,7 @@ Expanding - + 20 280 diff --git a/src/prefAuthor.cpp b/src/prefAuthor.cpp index 56f3657..d7b0cf4 100644 --- a/src/prefAuthor.cpp +++ b/src/prefAuthor.cpp @@ -40,7 +40,7 @@ prefAuthor::prefAuthor( TQWidget* parent, const char* name, WFlags fl ) groupBox1->tqlayout()->setSpacing( 6 ); groupBox1->tqlayout()->setMargin( 11 ); groupBox1Layout = new TQGridLayout( groupBox1->tqlayout() ); - groupBox1Layout->tqsetAlignment( TQt::AlignTop ); + groupBox1Layout->setAlignment( TQt::AlignTop ); cbAudioFormat = new TQComboBox( FALSE, groupBox1, "cbAudioFormat" ); @@ -69,7 +69,7 @@ prefAuthor::prefAuthor( TQWidget* parent, const char* name, WFlags fl ) groupBox2->tqlayout()->setSpacing( 6 ); groupBox2->tqlayout()->setMargin( 11 ); groupBox2Layout = new TQGridLayout( groupBox2->tqlayout() ); - groupBox2Layout->tqsetAlignment( TQt::AlignTop ); + groupBox2Layout->setAlignment( TQt::AlignTop ); textLabel3 = new TQLabel( groupBox2, "textLabel3" ); @@ -115,7 +115,7 @@ prefAuthor::prefAuthor( TQWidget* parent, const char* name, WFlags fl ) prefAuthorLayout->addWidget( groupBox2, 1, 0 ); languageChange(); - resize( TQSize(600, 480).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(600, 480).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/prefAuthor.ui b/src/prefAuthor.ui index c108b20..0633a84 100644 --- a/src/prefAuthor.ui +++ b/src/prefAuthor.ui @@ -91,7 +91,7 @@ Expanding - + 151 21 @@ -110,7 +110,7 @@ Expanding - + 20 60 @@ -146,7 +146,7 @@ Expanding - + 121 31 diff --git a/src/prefDVD.cpp b/src/prefDVD.cpp index 555c835..00be4af 100644 --- a/src/prefDVD.cpp +++ b/src/prefDVD.cpp @@ -33,12 +33,12 @@ prefDVD::prefDVD( TQWidget* parent, const char* name, WFlags fl ) prefDVDLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefDVDLayout"); lblworkDir = new TQLabel( this, "lblworkDir" ); - lblworkDir->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblworkDir->sizePolicy().hasHeightForWidth() ) ); + lblworkDir->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblworkDir->sizePolicy().hasHeightForWidth() ) ); prefDVDLayout->addWidget( lblworkDir, 0, 0 ); urOutput = new KURLRequester( this, "urOutput" ); - urOutput->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, urOutput->sizePolicy().hasHeightForWidth() ) ); + urOutput->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, urOutput->sizePolicy().hasHeightForWidth() ) ); prefDVDLayout->addMultiCellWidget( urOutput, 0, 0, 1, 2 ); @@ -47,7 +47,7 @@ prefDVD::prefDVD( TQWidget* parent, const char* name, WFlags fl ) prefDVDLayout->addMultiCellWidget( ckK3b, 2, 2, 0, 2 ); ckAutoBurn = new TQCheckBox( this, "ckAutoBurn" ); - ckAutoBurn->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, ckAutoBurn->sizePolicy().hasHeightForWidth() ) ); + ckAutoBurn->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, ckAutoBurn->sizePolicy().hasHeightForWidth() ) ); prefDVDLayout->addMultiCellWidget( ckAutoBurn, 3, 3, 0, 2 ); @@ -56,7 +56,7 @@ prefDVD::prefDVD( TQWidget* parent, const char* name, WFlags fl ) prefDVDLayout->addWidget( textLabel1_2, 1, 0 ); sbSize = new TQSpinBox( this, "sbSize" ); - sbSize->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbSize->sizePolicy().hasHeightForWidth() ) ); + sbSize->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbSize->sizePolicy().hasHeightForWidth() ) ); sbSize->setMinimumSize( TQSize( 80, 0 ) ); sbSize->setMaxValue( 9000 ); sbSize->setLineStep( 100 ); @@ -78,7 +78,7 @@ prefDVD::prefDVD( TQWidget* parent, const char* name, WFlags fl ) prefDVDLayout->addMultiCellWidget( ckDelTmpFiles, 6, 6, 0, 2 ); languageChange(); - resize( TQSize(600, 347).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(600, 347).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } diff --git a/src/prefDVD.ui b/src/prefDVD.ui index 4b113b6..07e904f 100644 --- a/src/prefDVD.ui +++ b/src/prefDVD.ui @@ -98,7 +98,7 @@ 0 - + 80 0 @@ -135,7 +135,7 @@ Expanding - + 21 110 diff --git a/src/prefMPEG4.cpp b/src/prefMPEG4.cpp index 6b4c858..525ab56 100644 --- a/src/prefMPEG4.cpp +++ b/src/prefMPEG4.cpp @@ -124,7 +124,7 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) tabVideoLayout->addWidget( textLabel1_4, 0, 0 ); cbMp4Codec = new TQComboBox( FALSE, tabVideo, "cbMp4Codec" ); - cbMp4Codec->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4Codec->sizePolicy().hasHeightForWidth() ) ); + cbMp4Codec->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4Codec->sizePolicy().hasHeightForWidth() ) ); tabVideoLayout->addMultiCellWidget( cbMp4Codec, 0, 0, 1, 2 ); @@ -137,16 +137,16 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) tabVideoLayout->addWidget( textLabel3_2_2, 2, 0 ); leMp4Width = new TQLineEdit( tabVideo, "leMp4Width" ); - leMp4Width->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, leMp4Width->sizePolicy().hasHeightForWidth() ) ); + leMp4Width->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, leMp4Width->sizePolicy().hasHeightForWidth() ) ); leMp4Width->setMinimumSize( TQSize( 0, 0 ) ); leMp4Width->setMaximumSize( TQSize( 70, 32767 ) ); leMp4Width->setMaxLength( 4 ); - leMp4Width->tqsetAlignment( int( TQLineEdit::AlignAuto ) ); + leMp4Width->setAlignment( int( TQLineEdit::AlignAuto ) ); tabVideoLayout->addWidget( leMp4Width, 1, 1 ); ckMp4AspectRatio = new TQCheckBox( tabVideo, "ckMp4AspectRatio" ); - ckMp4AspectRatio->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, ckMp4AspectRatio->sizePolicy().hasHeightForWidth() ) ); + ckMp4AspectRatio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, ckMp4AspectRatio->sizePolicy().hasHeightForWidth() ) ); ckMp4AspectRatio->setChecked( TRUE ); tabVideoLayout->addMultiCellWidget( ckMp4AspectRatio, 1, 1, 3, 6 ); @@ -155,25 +155,25 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) leMp4Height = new TQLineEdit( tabVideo, "leMp4Height" ); leMp4Height->setEnabled( FALSE ); - leMp4Height->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4Height->sizePolicy().hasHeightForWidth() ) ); + leMp4Height->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4Height->sizePolicy().hasHeightForWidth() ) ); leMp4Height->setMinimumSize( TQSize( 0, 0 ) ); leMp4Height->setMaximumSize( TQSize( 70, 32767 ) ); leMp4Height->setMaxLength( 4 ); - leMp4Height->tqsetAlignment( int( TQLineEdit::AlignAuto ) ); + leMp4Height->setAlignment( int( TQLineEdit::AlignAuto ) ); tabVideoLayout->addWidget( leMp4Height, 2, 1 ); spacer8 = new TQSpacerItem( 21, 110, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); tabVideoLayout->addItem( spacer8, 4, 5 ); sbMp4NumberCD = new TQSpinBox( tabVideo, "sbMp4NumberCD" ); - sbMp4NumberCD->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4NumberCD->sizePolicy().hasHeightForWidth() ) ); + sbMp4NumberCD->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4NumberCD->sizePolicy().hasHeightForWidth() ) ); sbMp4NumberCD->setMaxValue( 9 ); sbMp4NumberCD->setMinValue( 1 ); tabVideoLayout->addWidget( sbMp4NumberCD, 3, 5 ); textLabel1 = new TQLabel( tabVideo, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); tabVideoLayout->addWidget( textLabel1, 3, 4 ); @@ -183,14 +183,14 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) buttonGroup1->tqlayout()->setSpacing( 6 ); buttonGroup1->tqlayout()->setMargin( 2 ); buttonGroup1Layout = new TQGridLayout( buttonGroup1->tqlayout() ); - buttonGroup1Layout->tqsetAlignment( TQt::AlignTop ); + buttonGroup1Layout->setAlignment( TQt::AlignTop ); rbSize = new TQRadioButton( buttonGroup1, "rbSize" ); buttonGroup1Layout->addWidget( rbSize, 0, 0 ); sbMp4Size = new TQSpinBox( buttonGroup1, "sbMp4Size" ); - sbMp4Size->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4Size->sizePolicy().hasHeightForWidth() ) ); + sbMp4Size->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4Size->sizePolicy().hasHeightForWidth() ) ); sbMp4Size->setMinimumSize( TQSize( 80, 0 ) ); sbMp4Size->setButtonSymbols( TQSpinBox::UpDownArrows ); sbMp4Size->setMaxValue( 9999 ); @@ -207,14 +207,14 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) buttonGroup1Layout->addMultiCell( spacer6, 0, 1, 2, 2 ); leMp4VideoBitrate = new TQLineEdit( buttonGroup1, "leMp4VideoBitrate" ); - leMp4VideoBitrate->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, leMp4VideoBitrate->sizePolicy().hasHeightForWidth() ) ); + leMp4VideoBitrate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, leMp4VideoBitrate->sizePolicy().hasHeightForWidth() ) ); buttonGroup1Layout->addWidget( leMp4VideoBitrate, 1, 1 ); tabVideoLayout->addMultiCellWidget( buttonGroup1, 3, 3, 0, 3 ); spacer3 = new TQSpacerItem( 130, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); tabVideoLayout->addItem( spacer3, 3, 6 ); - tabWidget->insertTab( tabVideo, TQString::tqfromLatin1("") ); + tabWidget->insertTab( tabVideo, TQString::fromLatin1("") ); tabAudio = new TQWidget( tabWidget, "tabAudio" ); tabAudioLayout = new TQGridLayout( tabAudio, 1, 1, 11, 6, "tabAudioLayout"); @@ -224,7 +224,7 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) tabAudioLayout->addWidget( textLabel1_4_2, 0, 0 ); cbMp4AudioCodec = new TQComboBox( FALSE, tabAudio, "cbMp4AudioCodec" ); - cbMp4AudioCodec->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4AudioCodec->sizePolicy().hasHeightForWidth() ) ); + cbMp4AudioCodec->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4AudioCodec->sizePolicy().hasHeightForWidth() ) ); tabAudioLayout->addMultiCellWidget( cbMp4AudioCodec, 0, 0, 1, 2 ); @@ -233,11 +233,11 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) tabAudioLayout->addWidget( textLabel1_5, 1, 0 ); leMp4AudioBitrate = new TQLineEdit( tabAudio, "leMp4AudioBitrate" ); - leMp4AudioBitrate->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4AudioBitrate->sizePolicy().hasHeightForWidth() ) ); + leMp4AudioBitrate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4AudioBitrate->sizePolicy().hasHeightForWidth() ) ); leMp4AudioBitrate->setMinimumSize( TQSize( 0, 0 ) ); leMp4AudioBitrate->setMaximumSize( TQSize( 70, 32767 ) ); leMp4AudioBitrate->setMaxLength( 3 ); - leMp4AudioBitrate->tqsetAlignment( int( TQLineEdit::AlignAuto ) ); + leMp4AudioBitrate->setAlignment( int( TQLineEdit::AlignAuto ) ); tabAudioLayout->addWidget( leMp4AudioBitrate, 1, 1 ); spacer4 = new TQSpacerItem( 376, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); @@ -254,7 +254,7 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) tabAudioLayout->addWidget( textLabel1_2, 2, 0 ); spacer14 = new TQSpacerItem( 20, 61, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); tabAudioLayout->addItem( spacer14, 3, 3 ); - tabWidget->insertTab( tabAudio, TQString::tqfromLatin1("") ); + tabWidget->insertTab( tabAudio, TQString::fromLatin1("") ); prefMPEG4Layout->addWidget( tabWidget, 1, 0 ); @@ -262,7 +262,7 @@ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) prefMPEG4Layout->addWidget( ckUseCache, 2, 0 ); languageChange(); - resize( TQSize(582, 460).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(582, 460).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/prefMPEG4.ui b/src/prefMPEG4.ui index 7f8116a..caecf62 100644 --- a/src/prefMPEG4.ui +++ b/src/prefMPEG4.ui @@ -134,13 +134,13 @@ 0 - + 0 0 - + 70 32767 @@ -191,7 +191,7 @@ Expanding - + 380 21 @@ -213,13 +213,13 @@ 0 - + 0 0 - + 70 32767 @@ -245,7 +245,7 @@ Expanding - + 21 110 @@ -327,7 +327,7 @@ 0 - + 80 0 @@ -373,7 +373,7 @@ Expanding - + 51 20 @@ -405,7 +405,7 @@ Expanding - + 130 21 @@ -491,13 +491,13 @@ 0 - + 0 0 - + 70 32767 @@ -523,7 +523,7 @@ Expanding - + 376 20 @@ -559,7 +559,7 @@ Expanding - + 20 61 diff --git a/src/prefMencoder.cpp b/src/prefMencoder.cpp index fa9a857..9700c4b 100644 --- a/src/prefMencoder.cpp +++ b/src/prefMencoder.cpp @@ -36,7 +36,7 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) tqlayout2 = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout2"); textLabel2 = new TQLabel( this, "textLabel2" ); - textLabel2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); + textLabel2->setSizePolicy( 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 ); @@ -44,7 +44,7 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) tqlayout2->addWidget( textLabel2, 0, 0 ); textLabel2_2 = new TQLabel( this, "textLabel2_2" ); - textLabel2_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); + textLabel2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); tqlayout2->addWidget( textLabel2_2, 0, 1 ); @@ -60,13 +60,13 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) tabLayout->addMultiCellWidget( lbvCodecs, 0, 4, 0, 1 ); btnDeleteV = new KPushButton( tab, "btnDeleteV" ); - btnDeleteV->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnDeleteV->sizePolicy().hasHeightForWidth() ) ); + btnDeleteV->setSizePolicy( 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->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddV->sizePolicy().hasHeightForWidth() ) ); + btnAddV->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddV->sizePolicy().hasHeightForWidth() ) ); btnAddV->setProperty( "stdItem", 27 ); tabLayout->addWidget( btnAddV, 5, 0 ); @@ -132,7 +132,7 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) tqlayout8->addMultiCellWidget( teOpt1, 0, 1, 0, 0 ); btnOpt1 = new KPushButton( tab, "btnOpt1" ); - btnOpt1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOpt1->sizePolicy().hasHeightForWidth() ) ); + btnOpt1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOpt1->sizePolicy().hasHeightForWidth() ) ); btnOpt1->setMinimumSize( TQSize( 22, 22 ) ); btnOpt1->setMaximumSize( TQSize( 22, 22 ) ); @@ -152,19 +152,19 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) leVLabel->setEnabled( TRUE ); tabLayout->addWidget( leVLabel, 0, 3 ); - tabWidget2->insertTab( tab, TQString::tqfromLatin1("") ); + tabWidget2->insertTab( tab, TQString::fromLatin1("") ); 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->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnDeleteA->sizePolicy().hasHeightForWidth() ) ); + btnDeleteA->setSizePolicy( 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->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddA->sizePolicy().hasHeightForWidth() ) ); + btnAddA->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddA->sizePolicy().hasHeightForWidth() ) ); btnAddA->setProperty( "stdItem", 27 ); tabLayout_2->addWidget( btnAddA, 2, 0 ); @@ -190,7 +190,7 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) tqlayout11->addItem( spacer4_2, 1, 1 ); btnOptA = new KPushButton( tab_2, "btnOptA" ); - btnOptA->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOptA->sizePolicy().hasHeightForWidth() ) ); + btnOptA->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOptA->sizePolicy().hasHeightForWidth() ) ); btnOptA->setMinimumSize( TQSize( 22, 22 ) ); btnOptA->setMaximumSize( TQSize( 22, 22 ) ); @@ -199,15 +199,15 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) tabLayout_2->addMultiCellLayout( tqlayout11, 1, 2, 3, 3 ); 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() ) ); + textLabel1_2_2_2->setSizePolicy( 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, TQString::tqfromLatin1("") ); + tabWidget2->insertTab( tab_2, TQString::fromLatin1("") ); prefMencoderLayout->addMultiCellWidget( tabWidget2, 0, 0, 0, 2 ); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->setSizePolicy( 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 ); @@ -215,14 +215,14 @@ prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) prefMencoderLayout->addWidget( textLabel1, 1, 0 ); bReset = new KPushButton( this, "bReset" ); - bReset->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bReset->sizePolicy().hasHeightForWidth() ) ); + bReset->setSizePolicy( 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 TQSpacerItem( 121, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); prefMencoderLayout->addItem( spacer5_2, 1, 1 ); languageChange(); - resize( TQSize(672, 587).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(672, 587).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/prefMencoder.ui b/src/prefMencoder.ui index 1cab214..72c59a6 100644 --- a/src/prefMencoder.ui +++ b/src/prefMencoder.ui @@ -272,7 +272,7 @@ audio bitrate Expanding - + 20 81 @@ -283,13 +283,13 @@ audio bitrate btnOpt2 - + 22 22 - + 22 22 @@ -321,13 +321,13 @@ audio bitrate btnOpt3 - + 22 22 - + 22 22 @@ -347,7 +347,7 @@ audio bitrate Expanding - + 20 60 @@ -382,7 +382,7 @@ audio bitrate Expanding - + 20 90 @@ -415,13 +415,13 @@ audio bitrate 0 - + 22 22 - + 22 22 @@ -548,7 +548,7 @@ audio bitrate Expanding - + 20 78 @@ -567,13 +567,13 @@ audio bitrate 0 - + 22 22 - + 22 22 @@ -651,7 +651,7 @@ audio bitrate Expanding - + 121 21 diff --git a/src/prefpreview.cpp b/src/prefpreview.cpp index 872d86e..607d4fc 100644 --- a/src/prefpreview.cpp +++ b/src/prefpreview.cpp @@ -33,13 +33,13 @@ prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl ) prefPreviewLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefPreviewLayout"); buttonGroup1 = new TQButtonGroup( this, "buttonGroup1" ); - buttonGroup1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); + buttonGroup1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); buttonGroup1->setFrameShape( TQButtonGroup::NoFrame ); buttonGroup1->setColumnLayout(0, Qt::Vertical ); buttonGroup1->tqlayout()->setSpacing( 6 ); buttonGroup1->tqlayout()->setMargin( 11 ); buttonGroup1Layout = new TQGridLayout( buttonGroup1->tqlayout() ); - buttonGroup1Layout->tqsetAlignment( TQt::AlignTop ); + buttonGroup1Layout->setAlignment( TQt::AlignTop ); rbInternal = new TQRadioButton( buttonGroup1, "rbInternal" ); @@ -54,7 +54,7 @@ prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl ) prefPreviewLayout->addItem( spacer5, 2, 0 ); wsOptions = new TQWidgetStack( this, "wsOptions" ); - wsOptions->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, wsOptions->sizePolicy().hasHeightForWidth() ) ); + wsOptions->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, wsOptions->sizePolicy().hasHeightForWidth() ) ); wsOptions->setFrameShape( TQWidgetStack::NoFrame ); wsOptions->setFrameShadow( TQWidgetStack::Sunken ); wsOptions->setLineWidth( 1 ); @@ -85,7 +85,7 @@ prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl ) wspMplayerLayout->addWidget( textLabel3, 1, 0 ); textLabel4 = new TQLabel( wspMplayer, "textLabel4" ); - textLabel4->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) ); + textLabel4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) ); wspMplayerLayout->addWidget( textLabel4, 2, 0 ); @@ -94,7 +94,7 @@ prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl ) wspMplayerLayout->addWidget( cbVout, 1, 1 ); cbAout = new TQComboBox( FALSE, wspMplayer, "cbAout" ); - cbAout->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbAout->sizePolicy().hasHeightForWidth() ) ); + cbAout->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbAout->sizePolicy().hasHeightForWidth() ) ); wspMplayerLayout->addWidget( cbAout, 2, 1 ); spacer3 = new TQSpacerItem( 81, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); @@ -114,7 +114,7 @@ prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl ) spacer4 = new TQSpacerItem( 230, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); prefPreviewLayout->addItem( spacer4, 0, 1 ); languageChange(); - resize( TQSize(536, 470).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(536, 470).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/prefpreview.ui b/src/prefpreview.ui index ebef4fc..9230508 100644 --- a/src/prefpreview.ui +++ b/src/prefpreview.ui @@ -75,7 +75,7 @@ Expanding - + 21 210 @@ -148,7 +148,7 @@ Expanding - + 21 30 @@ -255,7 +255,7 @@ Expanding - + 81 21 @@ -272,7 +272,7 @@ Expanding - + 20 21 @@ -305,7 +305,7 @@ Expanding - + 230 21 diff --git a/src/titlefactor.cpp b/src/titlefactor.cpp index 774551e..a56d35b 100644 --- a/src/titlefactor.cpp +++ b/src/titlefactor.cpp @@ -265,8 +265,8 @@ titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl ) titleFactorLayout->addWidget( lbTitle, 0, 0 ); gbTitle = new TQGroupBox( this, "gbTitle" ); - gbTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); - gbTitle->tqsetAlignment( int( TQGroupBox::AlignVCenter ) ); + gbTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); + gbTitle->setAlignment( int( TQGroupBox::AlignVCenter ) ); gbTitle->setFlat( FALSE ); gbTitle->setCheckable( TRUE ); gbTitle->setChecked( FALSE ); @@ -274,7 +274,7 @@ titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl ) gbTitle->tqlayout()->setSpacing( 1 ); gbTitle->tqlayout()->setMargin( 6 ); gbTitleLayout = new TQGridLayout( gbTitle->tqlayout() ); - gbTitleLayout->tqsetAlignment( TQt::AlignTop ); + gbTitleLayout->setAlignment( TQt::AlignTop ); tFactor = new TQLabel( gbTitle, "tFactor" ); @@ -293,7 +293,7 @@ titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl ) spacer1 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); titleFactorLayout->addItem( spacer1, 2, 0 ); languageChange(); - resize( TQSize(551, 115).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(551, 115).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/titlefactor.ui b/src/titlefactor.ui index d7e804d..5381e12 100644 --- a/src/titlefactor.ui +++ b/src/titlefactor.ui @@ -115,7 +115,7 @@ Expanding - + 20 20 diff --git a/src/viewmpeg2.cpp b/src/viewmpeg2.cpp index 2313976..b73adc5 100644 --- a/src/viewmpeg2.cpp +++ b/src/viewmpeg2.cpp @@ -140,27 +140,27 @@ ViewMPEG2::ViewMPEG2( TQWidget* parent, const char* name, WFlags fl ) image2 = img; if ( !name ) setName( "ViewMPEG2" ); - tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); setSizeIncrement( TQSize( 0, 0 ) ); setBaseSize( TQSize( 0, 0 ) ); setIcon( image0 ); ViewMPEG2Layout = new TQGridLayout( this, 1, 1, 2, 6, "ViewMPEG2Layout"); frame7 = new TQFrame( this, "frame7" ); - frame7->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame7->sizePolicy().hasHeightForWidth() ) ); + frame7->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame7->sizePolicy().hasHeightForWidth() ) ); frame7->setMaximumSize( TQSize( 32767, 50 ) ); frame7->setFrameShape( TQFrame::StyledPanel ); frame7->setFrameShadow( TQFrame::Raised ); frame7Layout = new TQGridLayout( frame7, 1, 1, 11, 6, "frame7Layout"); bStop = new TQToolButton( frame7, "bStop" ); - bStop->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)1, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) ); + bStop->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)1, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) ); bStop->setIconSet( TQIconSet( image1 ) ); frame7Layout->addWidget( bStop, 0, 0 ); bPlay = new TQToolButton( frame7, "bPlay" ); - bPlay->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)1, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); + bPlay->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)1, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); bPlay->setIconSet( TQIconSet( image2 ) ); frame7Layout->addWidget( bPlay, 0, 1 ); @@ -173,11 +173,11 @@ ViewMPEG2::ViewMPEG2( TQWidget* parent, const char* name, WFlags fl ) ViewMPEG2Layout->addWidget( frame7, 1, 0 ); label = new TQLabel( this, "label" ); - label->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)2, (TQSizePolicy::SizeType)2, 0, 0, label->sizePolicy().hasHeightForWidth() ) ); + label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)2, (TQSizePolicy::SizeType)2, 0, 0, label->sizePolicy().hasHeightForWidth() ) ); ViewMPEG2Layout->addWidget( label, 0, 0 ); languageChange(); - resize( TQSize(320, 320).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(320, 320).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections diff --git a/src/viewmpeg2.ui b/src/viewmpeg2.ui index bdc4436..93566ac 100755 --- a/src/viewmpeg2.ui +++ b/src/viewmpeg2.ui @@ -57,7 +57,7 @@ 0 - + 32767 50