-rw-r--r-- | kaddressbook/kabcore.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index d1dcb6e..638abc9 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -343,12 +343,21 @@ void KABCore::receive( const QCString& cmsg, const QByteArray& data ) | |||
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 | |||
349 | } | 358 | } |
350 | void KABCore::toggleBeamReceive( ) | 359 | void KABCore::toggleBeamReceive( ) |
351 | { | 360 | { |
352 | if ( mBRdisabled ) | 361 | if ( mBRdisabled ) |
353 | return; | 362 | return; |
354 | #ifndef DESKTOP_VERSION | 363 | #ifndef DESKTOP_VERSION |