author | zautrix <zautrix> | 2005-01-27 07:29:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-27 07:29:29 (UTC) |
commit | db6adbdecaa74972df9e2b78b09f81b2d74752b2 (patch) (side-by-side diff) | |
tree | 69af62cb8748e1071539a6bca034f1acec0a6954 /korganizer/mainwindow.h | |
parent | f20b5e71f9ae61b18f0ced792508b40432ad50b6 (diff) | |
download | kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.zip kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.tar.gz kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.tar.bz2 |
fixes
-rw-r--r-- | korganizer/mainwindow.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 96e627e..6de0543 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -25,40 +25,40 @@ class KSyncProfile; class QPEToolBar; namespace KCal { class CalendarLocal; } using namespace KCal; class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); ~MainWindow(); bool beamReceiveEnabled(); + static QString defaultFileName(); + static QString syncFileName(); + static QString resourcePath(); public slots: virtual void showMaximized (); void configureAgenda( int ); void recieve( const QCString& msg, const QByteArray& data ); - static QString defaultFileName(); - static QString syncFileName(); - static QString resourcePath(); - protected slots: + protected slots: void setCaptionToDates(); void about(); void licence(); void faq(); void usertrans(); void features(); void synchowto(); void kdesynchowto(); void multisynchowto(); void whatsNew(); void keyBindings(); void aboutAutoSaving();; void aboutKnownBugs(); void processIncidenceSelection( Incidence * ); @@ -71,69 +71,71 @@ class MainWindow : public QMainWindow void slotModifiedChanged( bool ); void save(); void configureToolBar( int ); void printSel(); void printCal(); void saveCalendar(); void loadCalendar(); void exportVCalendar(); void fillFilterMenu(); void selectFilter( int ); void exportToPhone( int ); void toggleBeamReceive(); void disableBR(bool); + private slots: + void showConfigureAgenda(); + void getFile( bool ); + void syncFileRequest(); protected: void displayText( QString, QString); - void enableIncidenceActions( bool ); - private slots: - QSocket* piSocket; - QString piFileString; - QTime piTime; - void getFile( bool ); - void syncFileRequest(); private: bool mBRdisabled; #ifndef DESKTOP_VERSION QCopChannel* infrared; #endif QAction* brAction; KSyncManager* mSyncManager; bool mClosed; void saveOnClose(); bool mFlagKeyPressed; bool mBlockAtStartup; QPEToolBar *iconToolBar; void initActions(); void setDefaultPreferences(); void keyPressEvent ( QKeyEvent * ) ; void keyReleaseEvent ( QKeyEvent * ) ; QPopupMenu *configureToolBarMenu; QPopupMenu *selectFilterMenu; QPopupMenu *configureAgendaMenu, *syncMenu; CalendarLocal *mCalendar; CalendarView *mView; QAction *mNewSubTodoAction; QAction *mShowAction; QAction *mEditAction; QAction *mDeleteAction; QAction *mCloneAction; QAction *mMoveAction; QAction *mBeamAction; QAction *mCancelAction; + QAction *mToggleNav; + QAction *mToggleFilter; + QAction *mToggleAllday; + + void closeEvent( QCloseEvent* ce ); SimpleAlarmClient mAlarmClient; QTimer mSaveTimer; //bool mBlockSaveFlag; bool mCalendarModifiedFlag; QPixmap loadPixmap( QString ); }; #endif |