summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kcmconfigs/ldapoptionswidget.cpp')
-rw-r--r--kaddressbook/kcmconfigs/ldapoptionswidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/kcmconfigs/ldapoptionswidget.cpp b/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
index a091c0f0c..3294dd96f 100644
--- a/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
+++ b/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
@@ -24,7 +24,7 @@
#include <tqgroupbox.h>
#include <tqheader.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqtoolbutton.h>
#include <tqstring.h>
@@ -258,7 +258,7 @@ void LDAPOptionsWidget::defaults()
void LDAPOptionsWidget::initGUI()
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
+ TQVBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
TQVGroupBox *groupBox = new TQVGroupBox( i18n( "LDAP Servers" ), this );
groupBox->setInsideSpacing( KDialog::spacingHint() );
@@ -285,7 +285,7 @@ void LDAPOptionsWidget::initGUI()
TQWidget* spacer = new TQWidget( upDownBox );
upDownBox->setStretchFactor( spacer, 100 );
- tqlayout->addWidget( groupBox );
+ layout->addWidget( groupBox );
KButtonBox *buttons = new KButtonBox( this );
buttons->addButton( i18n( "&Add Host..." ), TQT_TQOBJECT(this), TQT_SLOT( slotAddHost() ) );
@@ -293,11 +293,11 @@ void LDAPOptionsWidget::initGUI()
mEditButton->setEnabled( false );
mRemoveButton = buttons->addButton( i18n( "&Remove Host" ), TQT_TQOBJECT(this), TQT_SLOT( slotRemoveHost() ) );
mRemoveButton->setEnabled( false );
- buttons->tqlayout();
+ buttons->layout();
- tqlayout->addWidget( buttons );
+ layout->addWidget( buttons );
- resize( TQSize( 460, 300 ).expandedTo( tqsizeHint() ) );
+ resize( TQSize( 460, 300 ).expandedTo( sizeHint() ) );
}
#include "ldapoptionswidget.moc"