summaryrefslogtreecommitdiffstats
path: root/kabc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 01:10:20 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:04:48 +0200
commit4418657ced76d97d20c3a4aeb79fefccdbd6ad7b (patch)
treef82b582603d8b791465315403bdb518f1793008d /kabc
parentab32d1dcfb2ee4c59ee3cfdc697adfb717ea91b9 (diff)
downloadtdelibs-4418657ced76d97d20c3a4aeb79fefccdbd6ad7b.tar.gz
tdelibs-4418657ced76d97d20c3a4aeb79fefccdbd6ad7b.zip
Rename tqsetSizePolicy to fix bindings
(cherry picked from commit d5b3ae721dc072e0c70055313de9b5228b6688a8)
Diffstat (limited to 'kabc')
-rw-r--r--kabc/ldapconfigwidget.cpp8
-rw-r--r--kabc/plugins/sql/resourcesqlconfig.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/kabc/ldapconfigwidget.cpp b/kabc/ldapconfigwidget.cpp
index 51c257389..b0a899d8c 100644
--- a/kabc/ldapconfigwidget.cpp
+++ b/kabc/ldapconfigwidget.cpp
@@ -129,7 +129,7 @@ void LdapConfigWidget::initWidget()
if ( mFlags & W_PORT ) {
label = new TQLabel( i18n( "Port:" ), this );
mPort = new TQSpinBox( 0, 65535, 1, this, "kcfg_ldapport" );
- mPort->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
+ mPort->setSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
mPort->setValue( 389 );
mainLayout->addWidget( label, row, col );
@@ -140,7 +140,7 @@ void LdapConfigWidget::initWidget()
if ( mFlags & W_VER ) {
label = new TQLabel( i18n( "LDAP version:" ), this );
mVer = new TQSpinBox( 2, 3, 1, this, "kcfg_ldapver" );
- mVer->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
+ mVer->setSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
mVer->setValue( 3 );
mainLayout->addWidget( label, row, col );
mainLayout->addWidget( mVer, row, col+1 );
@@ -151,7 +151,7 @@ void LdapConfigWidget::initWidget()
if ( mFlags & W_SIZELIMIT ) {
label = new TQLabel( i18n( "Size limit:" ), this );
mSizeLimit = new TQSpinBox( 0, 9999999, 1, this, "kcfg_ldapsizelimit" );
- mSizeLimit->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
+ mSizeLimit->setSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
mSizeLimit->setValue( 0 );
mSizeLimit->setSpecialValueText( i18n("Default") );
mainLayout->addWidget( label, row, col );
@@ -162,7 +162,7 @@ void LdapConfigWidget::initWidget()
if ( mFlags & W_TIMELIMIT ) {
label = new TQLabel( i18n( "Time limit:" ), this );
mTimeLimit = new TQSpinBox( 0, 9999999, 1, this, "kcfg_ldaptimelimit" );
- mTimeLimit->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
+ mTimeLimit->setSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Preferred ) );
mTimeLimit->setValue( 0 );
mTimeLimit->setSuffix( i18n(" sec") );
mTimeLimit->setSpecialValueText( i18n("Default") );
diff --git a/kabc/plugins/sql/resourcesqlconfig.cpp b/kabc/plugins/sql/resourcesqlconfig.cpp
index 403f8a6d0..ef1651cde 100644
--- a/kabc/plugins/sql/resourcesqlconfig.cpp
+++ b/kabc/plugins/sql/resourcesqlconfig.cpp
@@ -60,7 +60,7 @@ ResourceSqlConfig::ResourceSqlConfig( TQWidget* parent, const char* name )
label = new TQLabel( i18n( "Port:" ), this );
TQVBox *box = new TQVBox(this);
mPort = new TQSpinBox(0, 65535, 1, box );
- mPort->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
+ mPort->setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
mPort->setValue(389);
new TQWidget(box, "dummy");