summaryrefslogtreecommitdiffstats
path: root/kaddressbook/incsearchwidget.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/incsearchwidget.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/incsearchwidget.cpp')
-rw-r--r--kaddressbook/incsearchwidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kaddressbook/incsearchwidget.cpp b/kaddressbook/incsearchwidget.cpp
index 479f79c73..74349bd72 100644
--- a/kaddressbook/incsearchwidget.cpp
+++ b/kaddressbook/incsearchwidget.cpp
@@ -40,32 +40,32 @@
IncSearchWidget::IncSearchWidget( TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- TQHBoxLayout *layout = new TQHBoxLayout( this, 2, KDialog::spacingHint() );
+ TQHBoxLayout *tqlayout = new TQHBoxLayout( this, 2, KDialog::spacingHint() );
TQToolButton *button = new TQToolButton( this );
- button->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
+ button->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
button->setPixmap( SmallIcon( TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase" ) );
button->setAccel( TQKeySequence( CTRL+ALT+Key_S ) );
button->setAutoRaise( true );
TQToolTip::add( button, i18n( "Reset" ) );
- layout->addWidget( button );
+ tqlayout->addWidget( button );
TQLabel *label = new TQLabel( i18n( "Search:" ), this, "kde toolbar widget" );
- label->setAlignment( TQLabel::AlignVCenter | TQLabel::AlignRight );
- layout->addWidget( label );
+ label->tqsetAlignment( TQLabel::AlignVCenter | TQLabel::AlignRight );
+ tqlayout->addWidget( label );
mSearchText = new KLineEdit( this );
- mSearchText->setSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred );
+ mSearchText->tqsetSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred );
TQWhatsThis::add( mSearchText, i18n( "The incremental search<p>Enter some text here will start the search for the contact, which matches the search pattern best. The part of the contact, which will be used for matching, depends on the field selection." ) );
label->setBuddy( mSearchText );
- layout->addWidget( mSearchText );
+ tqlayout->addWidget( mSearchText );
label = new TQLabel( i18n( "as in 'Search in:'", "&in:" ), this, "kde toolbar widget" );
- label->setAlignment( TQLabel::AlignVCenter | TQLabel::AlignRight );
- layout->addWidget( label );
+ label->tqsetAlignment( TQLabel::AlignVCenter | TQLabel::AlignRight );
+ tqlayout->addWidget( label );
mFieldCombo = new TQComboBox( false, this );
- layout->addWidget( mFieldCombo );
+ tqlayout->addWidget( mFieldCombo );
label->setBuddy(mFieldCombo);
TQToolTip::add( mFieldCombo, i18n( "Select incremental search field" ) );