-rw-r--r-- | korganizer/mainwindow.h | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 0da0be0..ee7bd87 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -44,8 +44,6 @@ class MainWindow : public QMainWindow static QString resourcePath(); protected slots: void setCaptionToDates(); - int ringSync(); - void multiSync( bool askforPrefs = false ); void about(); void licence(); void faq(); @@ -79,15 +77,6 @@ class MainWindow : public QMainWindow void selectFilter( int ); void exportToPhone( int ); - void slotSyncMenu( int ); - void confSync(); - void syncSharp(); - void syncPhone(); - void syncPi(); - void syncLocalFile(); - bool syncWithFile( QString, bool ); - void quickSyncLocalFile(); - protected: void displayText( QString, QString); @@ -99,19 +88,14 @@ class MainWindow : public QMainWindow QSocket* piSocket; QString piFileString; QTime piTime; - void deleteCommandSocket(KCommandSocket* s, int state ); - void fillSyncMenu(); void getFile( bool ); - void readFileFromSocket(); + void syncFileRequest(); private: + KSyncManager* mSyncManager; //QTimer* mTimerCommandSocket; - QString mPassWordPiSync; KServerSocket * mServerSocket; bool mClosed; void saveOnClose(); - int mCurrentSyncProfile; - void enableQuick(); - void syncRemote( KSyncProfile* , bool ask = true); bool mFlagKeyPressed; bool mBlockAtStartup; QPEToolBar *iconToolBar; @@ -124,7 +108,6 @@ class MainWindow : public QMainWindow QPopupMenu *configureAgendaMenu, *syncMenu; CalendarLocal *mCalendar; CalendarView *mView; - QString getPassword(); QAction *mNewSubTodoAction; QAction *mShowAction; @@ -135,11 +118,10 @@ class MainWindow : public QMainWindow QAction *mBeamAction; QAction *mCancelAction; - void closeEvent( QCloseEvent* ce ); SimpleAlarmClient mAlarmClient; QTimer mSaveTimer; - bool mBlockSaveFlag; + //bool mBlockSaveFlag; bool mCalendarModifiedFlag; QPixmap loadPixmap( QString ); }; |