summaryrefslogtreecommitdiffstats
path: root/kchart/kchartPrinterDlg.cc
diff options
context:
space:
mode:
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 )