summaryrefslogtreecommitdiffstats
path: root/kaddressbook/jumpbuttonbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/jumpbuttonbar.cpp')
-rw-r--r--kaddressbook/jumpbuttonbar.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/jumpbuttonbar.cpp b/kaddressbook/jumpbuttonbar.cpp
index 07bc98093..4d052fd75 100644
--- a/kaddressbook/jumpbuttonbar.cpp
+++ b/kaddressbook/jumpbuttonbar.cpp
@@ -67,15 +67,15 @@ JumpButtonBar::JumpButtonBar( KAB::Core *core, TQWidget *parent, const char *nam
{
setMinimumSize( 1, 1 );
- TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 0, 0 );
- tqlayout->setAlignment( TQt::AlignTop );
- tqlayout->setAutoAdd( true );
- tqlayout->setResizeMode( TQLayout::FreeResize );
+ TQVBoxLayout *layout = new TQVBoxLayout( this, 0, 0 );
+ layout->setAlignment( TQt::AlignTop );
+ layout->setAutoAdd( true );
+ layout->setResizeMode( TQLayout::FreeResize );
mGroupBox = new TQButtonGroup( 1, Qt::Horizontal, this );
mGroupBox->setExclusive( true );
- mGroupBox->tqlayout()->setSpacing( 0 );
- mGroupBox->tqlayout()->setMargin( 0 );
+ mGroupBox->layout()->setSpacing( 0 );
+ mGroupBox->layout()->setMargin( 0 );
mGroupBox->setFrameStyle( TQFrame::NoFrame );
}
@@ -98,7 +98,7 @@ void JumpButtonBar::updateButtons()
TQFontMetrics fm = fontMetrics();
TQPushButton *btn = new TQPushButton( "", this );
btn->hide();
- TQSize buttonSize = tqstyle().tqsizeFromContents( TQStyle::CT_PushButton, btn,
+ TQSize buttonSize = style().tqsizeFromContents( TQStyle::CT_PushButton, btn,
fm.size( ShowPrefix, "X - X") ).
expandedTo( TQApplication::globalStrut() );
delete btn;