summaryrefslogtreecommitdiffstats
path: root/kword/KWConfigFootNoteDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWConfigFootNoteDia.cpp')
-rw-r--r--kword/KWConfigFootNoteDia.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kword/KWConfigFootNoteDia.cpp b/kword/KWConfigFootNoteDia.cpp
index e0bf26de..8cfa8975 100644
--- a/kword/KWConfigFootNoteDia.cpp
+++ b/kword/KWConfigFootNoteDia.cpp
@@ -35,7 +35,7 @@
#include <tqvbuttongroup.h>
#include <tqlabel.h>
#include <tqvbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcombobox.h>
@@ -81,8 +81,8 @@ void KWConfigFootNoteDia::setupTab3()
"of the three alignments.");
TQWhatsThis::add(positionGroupBox, comment);
positionGroupBox->setColumnLayout(0, Qt::Vertical );
- TQVBoxLayout *positionLayout = new TQVBoxLayout( positionGroupBox->layout() );
- positionLayout->setAlignment( TQt::AlignTop );
+ TQVBoxLayout *positionLayout = new TQVBoxLayout( positionGroupBox->tqlayout() );
+ positionLayout->tqsetAlignment( TQt::AlignTop );
// i18n context information necessary for gender considerations (e.g. in Polish)
rbPosLeft = new TQRadioButton( i18n("Position", "Left"), positionGroupBox, "rbPosLeft" );
@@ -106,35 +106,35 @@ void KWConfigFootNoteDia::setupTab3()
break;
}
- TQGridLayout *layout = new TQGridLayout( 0, 1, 1, 0, KDialog::spacingHint());
+ TQGridLayout *tqlayout = new TQGridLayout( 0, 1, 1, 0, KDialog::spacingHint());
spWidth = new KoUnitDoubleSpinBox(page, 0, 5, 0.5, m_doc->footNoteSeparatorLineWidth(), m_doc->unit(), 1);
- layout->addWidget( spWidth, 1, 1 );
+ tqlayout->addWidget( spWidth, 1, 1 );
spLength = new KIntNumInput( page, "spLength" );
spLength->setRange( 1, 100, 1,false );
spLength->setValue( m_doc->footNoteSeparatorLineLength());
spLength->setSuffix(i18n(" %"));
- layout->addWidget( spLength, 0, 1 );
+ tqlayout->addWidget( spLength, 0, 1 );
TQLabel *lSize = new TQLabel( i18n( "&Width:"), page );
lSize->setBuddy( spWidth );
comment= i18n ("The width is the thickness of the separator line, set to 0 for no separator line.");
TQWhatsThis::add(lSize, comment);
TQWhatsThis::add(spWidth, comment);
- layout->addWidget( lSize, 1, 0 );
+ tqlayout->addWidget( lSize, 1, 0 );
TQSpacerItem* spacer = new TQSpacerItem( 0, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
- layout->addMultiCell( spacer, 0, 1, 2, 2 );
+ tqlayout->addMultiCell( spacer, 0, 1, 2, 2 );
TQLabel *lWidth = new TQLabel( i18n("&Size on page:"), page, "lWidth" );
lWidth->setBuddy( spLength );
comment= i18n ("The size of the separator line can be defined as a percentage of the width of the page.");
TQWhatsThis::add(spLength, comment);
TQWhatsThis::add(lWidth, comment);
- layout->addWidget( lWidth, 0, 0 );
- pageLayout->addLayout( layout );
+ tqlayout->addWidget( lWidth, 0, 0 );
+ pageLayout->addLayout( tqlayout );
TQHBoxLayout *styleLayout = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "styleLayout");