summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addviewdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/addviewdialog.cpp')
-rw-r--r--kaddressbook/addviewdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/addviewdialog.cpp b/kaddressbook/addviewdialog.cpp
index b42729e34..c936e5fa8 100644
--- a/kaddressbook/addviewdialog.cpp
+++ b/kaddressbook/addviewdialog.cpp
@@ -44,23 +44,23 @@ AddViewDialog::AddViewDialog( TQDict<ViewFactory> *viewFactoryDict,
TQWidget *page = plainPage();
- TQGridLayout *layout = new TQGridLayout( page, 2, 2 );
- layout->setSpacing( spacingHint() );
- layout->setRowStretch( 1, 1 );
- layout->setColStretch( 1, 1 );
+ TQGridLayout *tqlayout = new TQGridLayout( page, 2, 2 );
+ tqlayout->setSpacing( spacingHint() );
+ tqlayout->setRowStretch( 1, 1 );
+ tqlayout->setColStretch( 1, 1 );
TQLabel *label = new TQLabel( i18n( "View name:" ), page );
- layout->addWidget( label, 0, 0 );
+ tqlayout->addWidget( label, 0, 0 );
mViewNameEdit = new TQLineEdit( page );
connect( mViewNameEdit, TQT_SIGNAL( textChanged( const TQString& ) ),
TQT_SLOT( textChanged( const TQString& ) ) );
- layout->addWidget( mViewNameEdit, 0, 1 );
+ tqlayout->addWidget( mViewNameEdit, 0, 1 );
mTypeGroup = new TQButtonGroup( 0, Qt::Horizontal, i18n( "View Type" ), page );
connect( mTypeGroup, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( clicked( int ) ) );
- layout->addMultiCellWidget( mTypeGroup, 1, 1, 0, 1 );
- TQGridLayout *groupLayout = new TQGridLayout( mTypeGroup->layout(), 3, 2 );
+ tqlayout->addMultiCellWidget( mTypeGroup, 1, 1, 0, 1 );
+ TQGridLayout *groupLayout = new TQGridLayout( mTypeGroup->tqlayout(), 3, 2 );
groupLayout->setSpacing( spacingHint() );
int row = 0;
@@ -69,7 +69,7 @@ AddViewDialog::AddViewDialog( TQDict<ViewFactory> *viewFactoryDict,
TQRadioButton *button = new TQRadioButton( i18n((*iter)->type().utf8()),
mTypeGroup, (*iter)->type().latin1() );
label = new TQLabel( (*iter)->description(), mTypeGroup );
- label->setAlignment( Qt::WordBreak );
+ label->tqsetAlignment( Qt::WordBreak );
groupLayout->addWidget( button, row, 0, Qt::AlignTop );
groupLayout->addWidget( label, row, 1, Qt::AlignTop );