summaryrefslogtreecommitdiffstats
path: root/kaddressbook/distributionlistpicker.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/distributionlistpicker.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/distributionlistpicker.cpp')
-rw-r--r--kaddressbook/distributionlistpicker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/distributionlistpicker.cpp b/kaddressbook/distributionlistpicker.cpp
index a43c76d0a..7858e2957 100644
--- a/kaddressbook/distributionlistpicker.cpp
+++ b/kaddressbook/distributionlistpicker.cpp
@@ -48,12 +48,12 @@ KPIM::DistributionListPickerDialog::DistributionListPickerDialog( KABC::AddressB
enableButton( Ok, false );
setButtonText( User1, i18n( "Add New Distribution List" ) );
TQWidget* main = new TQWidget( this );
- TQGridLayout* layout = new TQGridLayout( main );
- layout->setSpacing( KDialog::spacingHint() );
+ TQGridLayout* tqlayout = new TQGridLayout( main );
+ tqlayout->setSpacing( KDialog::spacingHint() );
m_label = new TQLabel( main );
- layout->addWidget( m_label, 0, 0 );
+ tqlayout->addWidget( m_label, 0, 0 );
m_listBox = new KListBox( main );
- layout->addWidget( m_listBox, 1, 0 );
+ tqlayout->addWidget( m_listBox, 1, 0 );
connect( m_listBox, TQT_SIGNAL( highlighted( const TQString& ) ),
this, TQT_SLOT( entrySelected( const TQString& ) ) );
connect( m_listBox, TQT_SIGNAL( selected( const TQString& ) ),
@@ -97,7 +97,7 @@ void KPIM::DistributionListPickerDialog::slotUser1()
if ( name.isEmpty() )
return;
- validName = !listNames.contains( name );
+ validName = !listNames.tqcontains( name );
if ( validName )
{