From b3662915cb2c966ed7b5c563b8e840ae5b82d4e6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 20 Oct 2004 09:45:16 +0000 Subject: fixed br for kopi --- (limited to 'korganizer/mainwindow.h') diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index e3383ed..0926313 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -11,7 +11,9 @@ #include #include "simplealarmclient.h" #include - +#ifndef DESKTOP_VERSION +#include +#endif class QAction; class CalendarView; class KSyncProfile; @@ -35,6 +37,7 @@ class MainWindow : public QMainWindow public: MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); ~MainWindow(); + bool beamReceiveEnabled(); public slots: virtual void showMaximized (); void configureAgenda( int ); @@ -76,6 +79,8 @@ class MainWindow : public QMainWindow void fillFilterMenu(); void selectFilter( int ); void exportToPhone( int ); + void toggleBeamReceive(); + void disableBR(bool); protected: @@ -91,6 +96,11 @@ class MainWindow : public QMainWindow void getFile( bool ); void syncFileRequest(); private: + bool mBRdisabled; +#ifndef DESKTOP_VERSION + QCopChannel* infrared; +#endif + QAction* brAction; KSyncManager* mSyncManager; bool mClosed; void saveOnClose(); -- cgit v0.9.0.2