diff options
Diffstat (limited to 'libk9copy')
-rw-r--r-- | libk9copy/backupdlg.cpp | 18 | ||||
-rw-r--r-- | libk9copy/backupdlg.ui | 14 | ||||
-rw-r--r-- | libk9copy/dvdprogress.cpp | 12 | ||||
-rwxr-xr-x | libk9copy/dvdprogress.ui | 6 | ||||
-rw-r--r-- | libk9copy/k9burndvd.cpp | 8 | ||||
-rwxr-xr-x | libk9copy/k9dvdauthor.cpp | 4 | ||||
-rw-r--r-- | libk9copy/k9dvdread.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9mp4enc.cpp | 2 | ||||
-rw-r--r-- | libk9copy/mp4dlg.cpp | 14 | ||||
-rw-r--r-- | libk9copy/mp4dlg.ui | 6 | ||||
-rw-r--r-- | libk9copy/processList.cpp | 4 | ||||
-rw-r--r-- | libk9copy/processList.ui | 2 | ||||
-rw-r--r-- | libk9copy/progress.cpp | 20 | ||||
-rw-r--r-- | libk9copy/progress.ui | 8 |
14 files changed, 60 insertions, 60 deletions
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 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>9999</width> <height>9999</height> @@ -200,7 +200,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>131</width> <height>20</height> @@ -271,13 +271,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>25</width> <height>25</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>25</width> <height>25</height> @@ -309,7 +309,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>476</width> <height>20</height> @@ -354,7 +354,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>380</width> <height>20</height> 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 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>0</width> <height>150</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>400</width> <height>150</height> @@ -126,7 +126,7 @@ </widget> <widget class="TQLabel" row="2" column="0"> <property name="name"> - <cstring>lbltqStatus</cstring> + <cstring>lblStatus</cstring> </property> <property name="cursor"> <cursor>3</cursor> 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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>225</width> <height>21</height> @@ -221,7 +221,7 @@ <property name="sizeType"> <enum>Fixed</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>16</height> @@ -240,7 +240,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>0</width> <height>250</height> 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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>361</width> <height>20</height> 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 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>0</width> <height>0</height> @@ -92,7 +92,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>161</width> <height>21</height> @@ -117,7 +117,7 @@ <property name="sizeType"> <enum>Fixed</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>20</height> @@ -136,7 +136,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>0</width> <height>250</height> |