summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoPageLayoutColumns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoPageLayoutColumns.cpp')
-rw-r--r--lib/kofficeui/KoPageLayoutColumns.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/KoPageLayoutColumns.cpp b/lib/kofficeui/KoPageLayoutColumns.cpp
index 8ea3b0b9..2d1e6b77 100644
--- a/lib/kofficeui/KoPageLayoutColumns.cpp
+++ b/lib/kofficeui/KoPageLayoutColumns.cpp
@@ -25,18 +25,18 @@
#include <tqlabel.h>
#include <tqlayout.h>
-KoPageLayoutColumns::KoPageLayoutColumns(TQWidget *parent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& tqlayout)
+KoPageLayoutColumns::KoPageLayoutColumns(TQWidget *parent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& layout)
: KoPageLayoutColumnsBase(parent) {
m_columns = columns;
TQHBoxLayout *lay = new TQHBoxLayout(previewPane);
- m_preview = new KoPagePreview( previewPane, "Preview", tqlayout );
+ m_preview = new KoPagePreview( previewPane, "Preview", layout );
lay->addWidget(m_preview);
lay = new TQHBoxLayout(columnSpacingPane);
m_spacing = new KoUnitDoubleSpinBox( columnSpacingPane );
m_spacing->setValue( m_columns.ptColumnSpacing );
m_spacing->setUnit( unit );
double dStep = KoUnit::fromUserValue( 0.2, unit );
- m_spacing->setMinMaxStep( 0, tqlayout.ptWidth/2, dStep );
+ m_spacing->setMinMaxStep( 0, layout.ptWidth/2, dStep );
lay->addWidget(m_spacing);
labelSpacing->setBuddy( m_spacing );
nColumns->setValue( m_columns.columns );
@@ -63,8 +63,8 @@ void KoPageLayoutColumns::nSpaceChanged( double spacing ) {
emit propertyChange(m_columns);
}
-void KoPageLayoutColumns::setLayout(KoPageLayout &tqlayout) {
- m_preview->setPageLayout( tqlayout );
+void KoPageLayoutColumns::setLayout(KoPageLayout &layout) {
+ m_preview->setPageLayout( layout );
}
#include <KoPageLayoutColumns.moc>