summaryrefslogtreecommitdiffstats
path: root/libk9copy/progress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/progress.cpp')
-rw-r--r--libk9copy/progress.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libk9copy/progress.cpp b/libk9copy/progress.cpp
index f7111fd..e71faf9 100644
--- a/libk9copy/progress.cpp
+++ b/libk9copy/progress.cpp
@@ -13,7 +13,7 @@
#include <tqlabel.h>
#include <kpushbutton.h>
#include <kprogress.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include "kpushbutton.h"
@@ -28,14 +28,14 @@ Progress::Progress( TQWidget* parent, const char* name, WFlags fl )
{
if ( !name )
setName( "Progress" );
- setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
+ tqsetSizePolicy( 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->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblTitle->sizePolicy().hasHeightForWidth() ) );
+ lblTitle->tqsetSizePolicy( 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->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) );
+ bCancel->tqsetSizePolicy( 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->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, image->sizePolicy().hasHeightForWidth() ) );
+ image->tqsetSizePolicy( 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->setAlignment( int( TQLabel::AlignCenter ) );
+ image->tqsetAlignment( int( TQLabel::AlignCenter ) );
ProgressLayout->addMultiCellWidget( image, 1, 1, 0, 2 );
textLabel1 = new TQLabel( this, "textLabel1" );
- textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) );
+ textLabel1->tqsetSizePolicy( 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->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lblElapsed->sizePolicy().hasHeightForWidth() ) );
+ lblElapsed->tqsetSizePolicy( 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->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, LabelText->sizePolicy().hasHeightForWidth() ) );
+ LabelText->tqsetSizePolicy( 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->setAlignment( int( TQLabel::AlignVCenter ) );
+ LabelText->tqsetAlignment( int( TQLabel::AlignVCenter ) );
ProgressLayout->addMultiCellWidget( LabelText, 3, 3, 0, 2 );
languageChange();
- resize( TQSize(473, 467).expandedTo(minimumSizeHint()) );
+ resize( TQSize(473, 467).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections