summaryrefslogtreecommitdiffstats
path: root/kbarcode/definitiondialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:56 -0600
commitabb955bc2a696c0283c1efd82c4edf4d06f314a7 (patch)
tree90639442ba9f4e06fccc0f4f7b7aed315423e6f1 /kbarcode/definitiondialog.cpp
parent64e14d1bc38e39001b5ec84a6e13198ef3c67315 (diff)
downloadkbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.tar.gz
kbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 64e14d1bc38e39001b5ec84a6e13198ef3c67315.
Diffstat (limited to 'kbarcode/definitiondialog.cpp')
-rw-r--r--kbarcode/definitiondialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kbarcode/definitiondialog.cpp b/kbarcode/definitiondialog.cpp
index f371707..64da5c5 100644
--- a/kbarcode/definitiondialog.cpp
+++ b/kbarcode/definitiondialog.cpp
@@ -24,7 +24,7 @@
#include <kpushbutton.h>
#include <krestrictedline.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpainter.h>
// KDE includes
@@ -80,7 +80,7 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo
{
resize( 465, 345 );
setCaption( i18n( "Add Label Definition" ) );
- TQHBoxLayout* layout = new TQHBoxLayout( this, 6, 6 );
+ TQHBoxLayout* tqlayout = new TQHBoxLayout( this, 6, 6 );
DefinitionDialogLayout = new TQVBoxLayout( 0, 11, 6, "DefinitionDialogLayout");
Layout17 = new TQHBoxLayout( 0, 0, 6, "Layout17");
@@ -96,11 +96,11 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo
Layout13->addWidget( TextLabel2 );
TextLabel3 = new TQLabel( this, "TextLabel3" );
- TextLabel3->setText( TQString( i18n( "Width (in %1):" ) ).arg( Measurements::system() ) );
+ TextLabel3->setText( TQString( i18n( "Width (in %1):" ) ).tqarg( Measurements::system() ) );
Layout13->addWidget( TextLabel3 );
TextLabel4 = new TQLabel( this, "TextLabel4" );
- TextLabel4->setText( TQString( i18n( "Height (in %1):" ) ).arg( Measurements::system() ) );
+ TextLabel4->setText( TQString( i18n( "Height (in %1):" ) ).tqarg( Measurements::system() ) );
Layout13->addWidget( TextLabel4 );
TextLabel5 = new TQLabel( this, "TextLabel5" );
@@ -202,8 +202,8 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo
DefinitionDialogLayout->addLayout( Layout16 );
preview = new LabelPreview( this );
- layout->addLayout( DefinitionDialogLayout );
- layout->addWidget( preview );
+ tqlayout->addLayout( DefinitionDialogLayout );
+ tqlayout->addWidget( preview );
l = new TQLabel( this );
setExtension( l );
@@ -335,7 +335,7 @@ void DefinitionDialog::updatePreview()
preview->setRect( TQRect( (int)m.gapLeftMM(), (int)m.gapTopMM(), (int)m.widthMM(), (int)m.heightMM() ) );
preview->setMeasurements( m );
- preview->repaint();
+ preview->tqrepaint();
}
void DefinitionDialog::drawGraphic()