summaryrefslogtreecommitdiffstats
path: root/kaddressbook/jumpbuttonbar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kaddressbook/jumpbuttonbar.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/jumpbuttonbar.cpp')
-rw-r--r--kaddressbook/jumpbuttonbar.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kaddressbook/jumpbuttonbar.cpp b/kaddressbook/jumpbuttonbar.cpp
index baa84ce23..aa7cb891c 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 *layout = new TQVBoxLayout( this, 0, 0 );
- layout->setAlignment( Qt::AlignTop );
- layout->setAutoAdd( true );
- layout->setResizeMode( TQLayout::FreeResize );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 0, 0 );
+ tqlayout->tqsetAlignment( Qt::AlignTop );
+ tqlayout->setAutoAdd( true );
+ tqlayout->setResizeMode( TQLayout::FreeResize );
mGroupBox = new TQButtonGroup( 1, Qt::Horizontal, this );
mGroupBox->setExclusive( true );
- mGroupBox->layout()->setSpacing( 0 );
- mGroupBox->layout()->setMargin( 0 );
+ mGroupBox->tqlayout()->setSpacing( 0 );
+ mGroupBox->tqlayout()->setMargin( 0 );
mGroupBox->setFrameStyle( TQFrame::NoFrame );
}
@@ -121,7 +121,7 @@ void JumpButtonBar::updateButtons()
return;
}
- if ( !character.isEmpty() && !characters.contains( character ) )
+ if ( !character.isEmpty() && !characters.tqcontains( character ) )
characters.append( character );
}
@@ -179,7 +179,7 @@ void JumpButtonBar::updateButtons()
int maxWidth = 0;
TQPushButton *button;
for ( button = mButtons.first(); button; button = mButtons.next() )
- maxWidth = QMAX( maxWidth, button->sizeHint().width() );
+ maxWidth = QMAX( maxWidth, button->tqsizeHint().width() );
setFixedWidth( maxWidth );
}