summaryrefslogtreecommitdiffstats
path: root/kaddressbook/viewmanager.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/viewmanager.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/viewmanager.cpp')
-rw-r--r--kaddressbook/viewmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp
index 5dab74e25..46eb653b5 100644
--- a/kaddressbook/viewmanager.cpp
+++ b/kaddressbook/viewmanager.cpp
@@ -133,7 +133,7 @@ KABC::Addressee::List ViewManager::selectedAddressees() const
const TQStringList uids = selectedUids();
TQStringList::ConstIterator it;
for ( it = uids.begin(); it != uids.end(); ++it ) {
- KABC::Addressee addr = mCore->addressBook()->findByUid( *it );
+ KABC::Addressee addr = mCore->addressBook()->tqfindByUid( *it );
if ( !addr.isEmpty() )
list.append( addr );
}
@@ -342,7 +342,7 @@ void ViewManager::addView()
// Check for name conflicts
bool firstConflict = true;
int numTries = 1;
- while ( mViewNameList.contains( newName ) > 0 ) {
+ while ( mViewNameList.tqcontains( newName ) > 0 ) {
if ( !firstConflict ) {
newName = newName.left( newName.length() - 4 );
firstConflict = false;
@@ -436,7 +436,7 @@ void ViewManager::dropped( TQDropEvent *e )
} else if ( KVCardDrag::decode( e, list ) ) {
KABC::Addressee::List::ConstIterator it;
for ( it = list.begin(); it != list.end(); ++it ) {
- KABC::Addressee a = mCore->addressBook()->findByUid( (*it).uid() );
+ KABC::Addressee a = mCore->addressBook()->tqfindByUid( (*it).uid() );
if ( a.isEmpty() ) { // not yet in address book
mCore->addressBook()->insertAddressee( *it );
emit modified();
@@ -459,7 +459,7 @@ void ViewManager::startDrag()
TQStringList::ConstIterator it;
for ( it = uidList.begin(); it != uidList.end(); ++it )
- addrList.append( mCore->addressBook()->findByUid( *it ) );
+ addrList.append( mCore->addressBook()->tqfindByUid( *it ) );
KMultipleDrag *drag = new KMultipleDrag( this );
@@ -601,9 +601,9 @@ void ViewManager::initActions()
void ViewManager::initGUI()
{
- TQHBoxLayout *layout = new TQHBoxLayout( this );
+ TQHBoxLayout *tqlayout = new TQHBoxLayout( this );
mViewWidgetStack = new TQWidgetStack( this );
- layout->addWidget( mViewWidgetStack );
+ tqlayout->addWidget( mViewWidgetStack );
}
#include "viewmanager.moc"