summaryrefslogtreecommitdiffstats
path: root/kaddressbook/jumpbuttonbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/jumpbuttonbar.cpp')
-rw-r--r--kaddressbook/jumpbuttonbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/jumpbuttonbar.cpp b/kaddressbook/jumpbuttonbar.cpp
index 2b603fe23..11c9a9d1a 100644
--- a/kaddressbook/jumpbuttonbar.cpp
+++ b/kaddressbook/jumpbuttonbar.cpp
@@ -68,7 +68,7 @@ JumpButtonBar::JumpButtonBar( KAB::Core *core, TQWidget *parent, const char *nam
setMinimumSize( 1, 1 );
TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 0, 0 );
- tqlayout->tqsetAlignment( TQt::AlignTop );
+ tqlayout->setAlignment( TQt::AlignTop );
tqlayout->setAutoAdd( true );
tqlayout->setResizeMode( TQLayout::FreeResize );
@@ -179,7 +179,7 @@ void JumpButtonBar::updateButtons()
int maxWidth = 0;
TQPushButton *button;
for ( button = mButtons.first(); button; button = mButtons.next() )
- maxWidth = TQMAX( maxWidth, button->tqsizeHint().width() );
+ maxWidth = TQMAX( maxWidth, button->sizeHint().width() );
setFixedWidth( maxWidth );
}