kandy
mobilemain.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef MOBILEMAIN_H
00025 #define MOBILEMAIN_H
00026
00027 #ifdef HAVE_CONFIG_H
00028 #include <config.h>
00029 #endif
00030
00031 #include <kapplication.h>
00032 #include <kmainwindow.h>
00033
00034 #include "kandyprefs.h"
00035
00036 class CommandScheduler;
00037
00046 class MobileMain : public KMainWindow
00047 {
00048 Q_OBJECT
00049 TQ_OBJECT
00050 public:
00054 MobileMain(CommandScheduler *, KandyPrefs *prefs);
00055
00059 virtual ~MobileMain();
00060
00061 MobileGui *view() { return mView; };
00062
00063 signals:
00064 void showTerminalWin();
00065 void showPreferencesWin();
00066
00067 protected:
00071 virtual void dragEnterEvent(TQDragEnterEvent *event);
00072 virtual void dropEvent(TQDropEvent *event);
00073
00074 bool queryClose();
00075
00076 protected:
00081 void saveProperties(KConfig *);
00082
00088 void readProperties(KConfig *);
00089
00090
00091 private slots:
00092 void showTerminal();
00093 void optionsConfigureKeys();
00094 void optionsConfigureToolbars();
00095 void optionsPreferences();
00096 void newToolbarConfig();
00097
00098 void showStatusMessage(const TQString& text);
00099 void showTransienStatusMessage(const TQString& text);
00100 void changeCaption(const TQString& text);
00101
00102
00103 private:
00104 void setupActions();
00105
00106 private:
00107 MobileGui *mView;
00108 };
00109
00110 #endif // MOBILEMAIN_H
|