From f6f5f5cfcaa38f3e2bf36d8466b2b44ba7b3fb28 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 20 Oct 2004 10:24:19 +0000 Subject: fixed br for kapi --- (limited to 'kaddressbook/kabcore.h') diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index c7be343..fcbe1e8 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -34,6 +34,9 @@ #include #include #include +#ifndef DESKTOP_VERSION +#include +#endif namespace KABC { class AddressBook; @@ -352,6 +355,9 @@ class KABCore : public QWidget, public KSyncInterface void setDetailsToState(); // void slotSyncMenu( int ); private slots: + void receive( const QCString& cmsg, const QByteArray& data ); + void toggleBeamReceive( ); + void disableBR(bool); void setJumpButtonBarVisible( bool visible ); void setCaptionBack(); void importFromOL(); @@ -370,6 +376,10 @@ class KABCore : public QWidget, public KSyncInterface void addressBookChanged(); private: + bool mBRdisabled; +#ifndef DESKTOP_VERSION + QCopChannel* infrared; +#endif QTimer *mMessageTimer; void initGUI(); void initActions(); @@ -408,6 +418,7 @@ class KABCore : public QWidget, public KSyncInterface //US file menu KAction *mActionMail; KAction *mActionBeam; + KToggleAction *mActionBR; KAction *mActionExport2phone; KAction* mActionPrint; KAction* mActionNewContact; -- cgit v0.9.0.2