summaryrefslogtreecommitdiffstats
path: root/libk9copy/backupdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:54 -0600
commitb8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (patch)
tree9beca7fe1a592f5f49be1e0bb4d03f0dfc1829c7 /libk9copy/backupdlg.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/backupdlg.cpp')
-rw-r--r--libk9copy/backupdlg.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/libk9copy/backupdlg.cpp b/libk9copy/backupdlg.cpp
index e760dfa..065b050 100644
--- a/libk9copy/backupdlg.cpp
+++ b/libk9copy/backupdlg.cpp
@@ -15,7 +15,7 @@
#include <tqprogressbar.h>
#include <kpushbutton.h>
#include <tqframe.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include "kpushbutton.h"
@@ -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,59 +41,59 @@ 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 );
backupDlgLayout->addMultiCellWidget( textLabel1, 0, 0, 0, 3 );
- tqlayout3 = new TQVBoxLayout( 0, 0, 6, "tqlayout3");
+ layout3 = new TQVBoxLayout( 0, 0, 6, "layout3");
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 );
lblStep->setCursor( TQCursor( 3 ) );
- tqlayout3->addWidget( lblStep );
+ layout3->addWidget( lblStep );
pbStep = new TQProgressBar( this, "pbStep" );
pbStep->setCursor( TQCursor( 3 ) );
- tqlayout3->addWidget( pbStep );
+ layout3->addWidget( pbStep );
pbTotal = new TQProgressBar( this, "pbTotal" );
pbTotal->setCursor( TQCursor( 3 ) );
pbTotal->setMargin( 0 );
pbTotal->setTotalSteps( 4400 );
pbTotal->setPercentageVisible( TRUE );
- tqlayout3->addWidget( pbTotal );
+ layout3->addWidget( pbTotal );
- backupDlgLayout->addMultiCellLayout( tqlayout3, 3, 3, 0, 3 );
+ backupDlgLayout->addMultiCellLayout( layout3, 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 );
- tqlayout1 = new TQHBoxLayout( 0, 0, 6, "tqlayout1");
+ layout1 = new TQHBoxLayout( 0, 0, 6, "layout1");
spacer1 = new TQSpacerItem( 131, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
- tqlayout1->addItem( spacer1 );
+ layout1->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 );
+ layout1->addWidget( bAbort );
- backupDlgLayout->addMultiCellLayout( tqlayout1, 4, 4, 0, 3 );
+ backupDlgLayout->addMultiCellLayout( layout1, 4, 4, 0, 3 );
lblFactor = new TQLabel( this, "lblFactor" );
lblFactor->setCursor( TQCursor( 3 ) );
@@ -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