summaryrefslogtreecommitdiffstats
path: root/kchart/kchartPrinterDlg.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kchart/kchartPrinterDlg.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kchart/kchartPrinterDlg.cc')
-rw-r--r--kchart/kchartPrinterDlg.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kchart/kchartPrinterDlg.cc b/kchart/kchartPrinterDlg.cc
index 9bd898d6..1d69a0af 100644
--- a/kchart/kchartPrinterDlg.cc
+++ b/kchart/kchartPrinterDlg.cc
@@ -21,7 +21,7 @@
*/
// TQt includes
-#include <tqlayout.h>
+#include <layout.h>
// KDE includes
#include <kdebug.h>
@@ -37,9 +37,9 @@ namespace KChart
: KPrintDialogPage( parent, name )
{
setTitle( i18n( "KChart Options" ) );
- TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
- tqlayout->setMargin( KDialog::marginHint() );
- tqlayout->setSpacing( KDialog::spacingHint() );
+ TQVBoxLayout *layout = new TQVBoxLayout( this );
+ layout->setMargin( KDialog::marginHint() );
+ layout->setSpacing( KDialog::spacingHint() );
txtSizex = new KIntNumInput(this );
txtSizex->setSuffix("%");
txtSizex->setMinValue(1);
@@ -51,12 +51,12 @@ namespace KChart
txtSizey->setMaxValue(100);
txtSizey->setValue(100);
- tqlayout->addWidget( new TQLabel(i18n("Print Size"), this) );
- tqlayout->addWidget( new TQLabel(i18n("Width: "), this) );
- tqlayout->addWidget( txtSizex );
- tqlayout->addWidget( new TQLabel(i18n("Height: "), this) );
- tqlayout->addWidget( txtSizey );
- tqlayout->addStretch( 1 );
+ layout->addWidget( new TQLabel(i18n("Print Size"), this) );
+ layout->addWidget( new TQLabel(i18n("Width: "), this) );
+ layout->addWidget( txtSizex );
+ layout->addWidget( new TQLabel(i18n("Height: "), this) );
+ layout->addWidget( txtSizey );
+ layout->addStretch( 1 );
}
void KChartPrinterDlg::getOptions( TQMap<TQString, TQString>& opts, bool )