mobilemain.h
00001
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 class CommandScheduler;
00035
00044 class MobileMain : public KMainWindow
00045 {
00046 Q_OBJECT
00047 public:
00051 MobileMain(CommandScheduler *);
00052
00056 virtual ~MobileMain();
00057
00058 public slots:
00059 void setConnected(bool);
00060
00061 signals:
00062 void showTerminalWin();
00063 void showPreferencesWin();
00064
00065 void modemConnect();
00066 void modemDisconnect();
00067
00068 protected:
00072 virtual void dragEnterEvent(QDragEnterEvent *event);
00073 virtual void dropEvent(QDropEvent *event);
00074
00075 bool queryClose();
00076
00077 protected:
00082 void saveProperties(KConfig *);
00083
00089 void readProperties(KConfig *);
00090
00091
00092 private slots:
00093 void showTerminal();
00094 void optionsConfigureKeys();
00095 void optionsConfigureToolbars();
00096 void optionsPreferences();
00097 void newToolbarConfig();
00098
00099 void showStatusMessage(const QString& text);
00100 void showTransientStatusMessage(const QString& text);
00101 void changeCaption(const QString& text);
00102
00103
00104 private:
00105 void setupActions();
00106
00107 private:
00108 MobileGui *mView;
00109 };
00110
00111 #endif // MOBILEMAIN_H
This file is part of the documentation for kandy Library Version 3.2.2.