summaryrefslogtreecommitdiffstats
path: root/kaddressbook/undocmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/undocmds.cpp')
-rw-r--r--kaddressbook/undocmds.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/undocmds.cpp b/kaddressbook/undocmds.cpp
index bd26270fa..c0cd5a8a6 100644
--- a/kaddressbook/undocmds.cpp
+++ b/kaddressbook/undocmds.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqapplication.h>
@@ -84,7 +84,7 @@ void DeleteCommand::execute()
TQStringList::ConstIterator it;
const TQStringList::ConstIterator endIt( mUIDList.end() );
for ( it = mUIDList.begin(); it != endIt; ++it ) {
- addr = addressBook()->tqfindByUid( *it );
+ addr = addressBook()->findByUid( *it );
lock()->lock( addr.resource() );
mAddresseeList.append( addr );
AddresseeConfig cfg( addr );
@@ -261,7 +261,7 @@ void CutCommand::unexecute()
mAddresseeList.clear();
- QClipboard *cb = TQApplication::clipboard();
+ TQClipboard *cb = TQApplication::clipboard();
kapp->processEvents();
cb->setText( mOldText );
}
@@ -273,7 +273,7 @@ void CutCommand::execute()
TQStringList::ConstIterator it;
const TQStringList::ConstIterator endIt( mUIDList.end() );
for ( it = mUIDList.begin(); it != endIt; ++it ) {
- addr = addressBook()->tqfindByUid( *it );
+ addr = addressBook()->findByUid( *it );
mAddresseeList.append( addr );
lock()->lock( addr.resource() );
}
@@ -289,7 +289,7 @@ void CutCommand::execute()
// Convert to clipboard
mClipText = AddresseeUtil::addresseesToClipboard( mAddresseeList );
- QClipboard *cb = TQApplication::clipboard();
+ TQClipboard *cb = TQApplication::clipboard();
mOldText = cb->text();
kapp->processEvents();
#if defined(KABC_VCARD_ENCODING_FIX)
@@ -332,7 +332,7 @@ void CopyToCommand::execute()
TQStringList::Iterator it( mUIDList.begin() );
const TQStringList::Iterator endIt( mUIDList.end() );
while ( it != endIt ) {
- KABC::Addressee addr = addressBook()->tqfindByUid( *it++ );
+ KABC::Addressee addr = addressBook()->findByUid( *it++ );
if ( !addr.isEmpty() ) {
KABC::Addressee newAddr( addr );
// We need to set a new uid, otherwise the insert below is
@@ -379,7 +379,7 @@ void MoveToCommand::moveContactTo( KABC::Resource *resource )
TQStringList::Iterator it( mUIDList.begin() );
const TQStringList::Iterator endIt( mUIDList.end() );
while ( it != endIt ) {
- KABC::Addressee addr = addressBook()->tqfindByUid( *it++ );
+ KABC::Addressee addr = addressBook()->findByUid( *it++ );
if ( !addr.isEmpty() ) {
KABC::Addressee newAddr( addr );
// We need to set a new uid, otherwise the insert below is
@@ -391,7 +391,7 @@ void MoveToCommand::moveContactTo( KABC::Resource *resource )
addressBook()->insertAddressee( newAddr );
mAddresseeList.append( newAddr );
mUIDList.append( uid );
- const bool inserted = addressBook()->find( newAddr ) != addressBook()->end();
+ const bool inserted = addressBook()->tqfind( newAddr ) != addressBook()->end();
if ( inserted ) {
if ( resourceExist( addr.resource() ) ) {
KABLock::self( addressBook() )->lock( addr.resource() );