summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 9ef97c9..ea103a9 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -337,33 +337,24 @@ KABCore::~KABCore()
337#endif 337#endif
338} 338}
339void KABCore::receive( const QCString& cmsg, const QByteArray& data ) 339void KABCore::receive( const QCString& cmsg, const QByteArray& data )
340{ 340{
341 qDebug("KA: QCOP message received: %s ", cmsg.data() ); 341 qDebug("KA: QCOP message received: %s ", cmsg.data() );
342 if ( cmsg == "setDocument(QString)" ) { 342 if ( cmsg == "setDocument(QString)" ) {
343 QDataStream stream( data, IO_ReadOnly ); 343 QDataStream stream( data, IO_ReadOnly );
344 QString fileName; 344 QString fileName;
345 stream >> fileName; 345 stream >> fileName;
346 recieve( fileName ); 346 recieve( fileName );
347 return; 347 return;
348 } 348 }
349 else if ( cmsg == "nextView()" )
350 {
351 //toggle between details/ no details
352 bool b = !mActionDetails->isChecked();
353 setDetailsVisible( b );
354 mActionDetails->setChecked( b );
355 }
356
357
358} 349}
359void KABCore::toggleBeamReceive( ) 350void KABCore::toggleBeamReceive( )
360{ 351{
361 if ( mBRdisabled ) 352 if ( mBRdisabled )
362 return; 353 return;
363#ifndef DESKTOP_VERSION 354#ifndef DESKTOP_VERSION
364 if ( infrared ) { 355 if ( infrared ) {
365 qDebug("AB disable BeamReceive "); 356 qDebug("AB disable BeamReceive ");
366 delete infrared; 357 delete infrared;
367 infrared = 0; 358 infrared = 0;
368 mActionBR->setChecked(false); 359 mActionBR->setChecked(false);
369 return; 360 return;