summaryrefslogtreecommitdiffstats
path: root/kbarcode/definitiondialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:05 -0600
commit64e14d1bc38e39001b5ec84a6e13198ef3c67315 (patch)
tree437361622d1cb449120e4eb6ca9265f3e838db8c /kbarcode/definitiondialog.cpp
parentfb010b103703b3229758ce9cf1341979cc450204 (diff)
downloadkbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.tar.gz
kbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.zip
Rename a number of old tq methods that are no longer tq specific
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 64da5c5..f371707 100644
--- a/kbarcode/definitiondialog.cpp
+++ b/kbarcode/definitiondialog.cpp
@@ -24,7 +24,7 @@
#include <kpushbutton.h>
#include <krestrictedline.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.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* tqlayout = new TQHBoxLayout( this, 6, 6 );
+ TQHBoxLayout* layout = 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):" ) ).tqarg( Measurements::system() ) );
+ TextLabel3->setText( TQString( i18n( "Width (in %1):" ) ).arg( Measurements::system() ) );
Layout13->addWidget( TextLabel3 );
TextLabel4 = new TQLabel( this, "TextLabel4" );
- TextLabel4->setText( TQString( i18n( "Height (in %1):" ) ).tqarg( Measurements::system() ) );
+ TextLabel4->setText( TQString( i18n( "Height (in %1):" ) ).arg( 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 );
- tqlayout->addLayout( DefinitionDialogLayout );
- tqlayout->addWidget( preview );
+ layout->addLayout( DefinitionDialogLayout );
+ layout->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->tqrepaint();
+ preview->repaint();
}
void DefinitionDialog::drawGraphic()