summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/stylepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/printing/stylepage.cpp')
-rw-r--r--kaddressbook/printing/stylepage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/printing/stylepage.cpp b/kaddressbook/printing/stylepage.cpp
index 4288919b..b1c29b46 100644
--- a/kaddressbook/printing/stylepage.cpp
+++ b/kaddressbook/printing/stylepage.cpp
@@ -24,7 +24,7 @@
#include <tqbuttongroup.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpixmap.h>
#include <tqradiobutton.h>
@@ -122,9 +122,9 @@ void StylePage::initGUI()
TQButtonGroup *group = new TQButtonGroup( i18n( "Sorting" ), this );
group->setColumnLayout( 0, Qt::Vertical );
- TQGridLayout *sortLayout = new TQGridLayout( group->layout(), 2, 2,
+ TQGridLayout *sortLayout = new TQGridLayout( group->tqlayout(), 2, 2,
KDialog::spacingHint() );
- sortLayout->setAlignment( TQt::AlignTop );
+ sortLayout->tqsetAlignment( TQt::AlignTop );
label = new TQLabel( i18n( "Criterion:" ), group );
sortLayout->addWidget( label, 0, 0 );
@@ -142,7 +142,7 @@ void StylePage::initGUI()
group = new TQButtonGroup( i18n( "Print Style" ), this );
group->setColumnLayout( 0, Qt::Vertical );
- TQVBoxLayout *styleLayout = new TQVBoxLayout( group->layout(),
+ TQVBoxLayout *styleLayout = new TQVBoxLayout( group->tqlayout(),
KDialog::spacingHint() );
mStyleCombo = new KComboBox( false, group );
@@ -153,7 +153,7 @@ void StylePage::initGUI()
font.setPointSize( 20 );
mPreview->setFont( font );
mPreview->setScaledContents( true );
- mPreview->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignCenter ) );
+ mPreview->tqsetAlignment( int( TQLabel::WordBreak | TQLabel::AlignCenter ) );
styleLayout->addWidget( mPreview );
topLayout->addWidget( group, 1, 1 );