summaryrefslogtreecommitdiffstats
path: root/libk9copy/dvdprogress.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:29:54 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:29:54 -0600
commitb8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (patch)
tree9beca7fe1a592f5f49be1e0bb4d03f0dfc1829c7 /libk9copy/dvdprogress.cpp
parent23c5272c1c49acf0906f7c97a524333705f7be46 (diff)
downloadk9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.tar.gz
k9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libk9copy/dvdprogress.cpp')
-rw-r--r--libk9copy/dvdprogress.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/libk9copy/dvdprogress.cpp b/libk9copy/dvdprogress.cpp
index c48b96b..691ccfc 100644
--- a/libk9copy/dvdprogress.cpp
+++ b/libk9copy/dvdprogress.cpp
@@ -13,7 +13,7 @@
#include <tqpushbutton.h>
#include <tqlabel.h>
#include <tqprogressbar.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -29,31 +29,31 @@ 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 ) );
DVDProgressLayout = new TQGridLayout( this, 1, 1, 11, 6, "DVDProgressLayout");
- tqlayout2 = new TQVBoxLayout( 0, 0, 6, "tqlayout2");
+ layout2 = new TQVBoxLayout( 0, 0, 6, "layout2");
lblTotal = new TQLabel( this, "lblTotal" );
lblTotal->setCursor( TQCursor( 3 ) );
- tqlayout2->addWidget( lblTotal );
+ layout2->addWidget( lblTotal );
pbTotal = new TQProgressBar( this, "pbTotal" );
pbTotal->setCursor( TQCursor( 3 ) );
pbTotal->setProgress( 100 );
pbTotal->setPercentageVisible( FALSE );
- tqlayout2->addWidget( pbTotal );
+ layout2->addWidget( pbTotal );
- DVDProgressLayout->addLayout( tqlayout2, 1, 0 );
+ DVDProgressLayout->addLayout( layout2, 1, 0 );
- tqlayout1 = new TQVBoxLayout( 0, 0, 6, "tqlayout1");
+ layout1 = new TQVBoxLayout( 0, 0, 6, "layout1");
lblTitle = new TQLabel( this, "lblTitle" );
lblTitle->setCursor( TQCursor( 3 ) );
- tqlayout1->addWidget( lblTitle );
+ layout1->addWidget( lblTitle );
pbTitle = new TQProgressBar( this, "pbTitle" );
pbTitle->setCursor( TQCursor( 3 ) );
@@ -61,16 +61,16 @@ DVDProgress::DVDProgress( TQWidget* parent, const char* name, bool modal, WFlags
pbTitle->setProgress( 100 );
pbTitle->setCenterIndicator( TRUE );
pbTitle->setPercentageVisible( FALSE );
- tqlayout1->addWidget( pbTitle );
+ layout1->addWidget( pbTitle );
- DVDProgressLayout->addLayout( tqlayout1, 0, 0 );
+ DVDProgressLayout->addLayout( layout1, 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"