summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPrinterDlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kpresenter/KPrPrinterDlg.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kpresenter/KPrPrinterDlg.cpp')
-rw-r--r--kpresenter/KPrPrinterDlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpresenter/KPrPrinterDlg.cpp b/kpresenter/KPrPrinterDlg.cpp
index 7fc553cf..3dce55a3 100644
--- a/kpresenter/KPrPrinterDlg.cpp
+++ b/kpresenter/KPrPrinterDlg.cpp
@@ -21,7 +21,7 @@
*/
// TQt includes
-#include <layout.h>
+#include <tqlayout.h>
// KDE includes
#include <kdebug.h>
@@ -36,7 +36,7 @@
: KPrintDialogPage( parent, name )
{
setTitle( i18n( "KPresenter Options" ) );
- TQGridLayout *layout = new TQGridLayout( this, 2, 1, 11, 6 );
+ TQGridLayout *tqlayout = new TQGridLayout( this, 2, 1, 11, 6 );
txtRows = new KIntNumInput(this );
txtRows->setMinValue(1);
txtRows->setMaxValue(5);
@@ -50,21 +50,21 @@
TQLabel *caption = new TQLabel(i18n("Slides in the pages:"), this );
TQToolTip::add( caption, i18n("Choose how many rows and columns with slides you want to have on all pages") );
- layout->addMultiCellWidget( caption, 0, 0, 0, 1 );
+ tqlayout->addMultiCellWidget( caption, 0, 0, 0, 1 );
TQVBoxLayout *l2 = new TQVBoxLayout( 0, 0, 6 );
l2->addWidget( new TQLabel(i18n("Rows: "), this) );
l2->addWidget( new TQLabel(i18n("Columns: "), this) );
- layout->addLayout( l2, 1, 0 );
+ tqlayout->addLayout( l2, 1, 0 );
TQVBoxLayout *l3 = new TQVBoxLayout( 0, 0, 6 );
l3->addWidget( txtRows );
l3->addWidget( txtColumns );
- layout->addLayout( l3, 1, 1 );
+ tqlayout->addLayout( l3, 1, 1 );
drawBorder = new TQCheckBox(i18n("Draw border around the slides"), this );
drawBorder->setChecked( true );
drawBorder->setEnabled( false );
- layout->addMultiCellWidget( drawBorder, 2, 2, 0, 1 );
+ tqlayout->addMultiCellWidget( drawBorder, 2, 2, 0, 1 );
}
void KPrPrinterDlg::getOptions( TQMap<TQString, TQString>& opts, bool )