From 621a8505690485db909a573f83433873197595c0 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Thu, 28 Oct 2004 00:21:13 +0000 Subject: implemented "nextView" QCop message to toggle between table and detailview --- (limited to 'kaddressbook') diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index d1dcb6e..638abc9 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -346,6 +346,15 @@ void KABCore::receive( const QCString& cmsg, const QByteArray& data ) recieve( fileName ); return; } + else if ( cmsg == "nextView()" ) + { + //toggle between details/ no details + bool b = !mActionDetails->isChecked(); + setDetailsVisible( b ); + mActionDetails->setChecked( b ); + } + + } void KABCore::toggleBeamReceive( ) { -- cgit v0.9.0.2