kandy Library API Documentation

mobilemain.h

00001 #ifndef MOBILEMAIN_H
00002 #define MOBILEMAIN_H
00003 
00004 #ifdef HAVE_CONFIG_H
00005 #include <config.h>
00006 #endif 
00007 
00008 #include <kapplication.h>
00009 #include <kmainwindow.h>
00010  
00011 class KToggleAction;
00012 
00013 class CommandScheduler;
00014 
00023 class MobileMain : public KMainWindow
00024 {
00025     Q_OBJECT
00026   public:
00030     MobileMain(CommandScheduler *);
00031 
00035     virtual ~MobileMain();
00036 
00037   public slots:
00038     void setConnected(bool);
00039 
00040   signals:
00041     void showTerminalWin();
00042     void showPreferencesWin();
00043 
00044     void modemConnect();
00045     void modemDisconnect();
00046 
00047   protected:
00051     virtual void dragEnterEvent(QDragEnterEvent *event);
00052     virtual void dropEvent(QDropEvent *event);
00053     
00054     bool queryClose();
00055 
00056   protected:
00061     void saveProperties(KConfig *);
00062 
00068     void readProperties(KConfig *);
00069 
00070 
00071   private slots:
00072     void showTerminal();
00073     void optionsShowToolbar();
00074     void optionsShowStatusbar();
00075     void optionsConfigureKeys();
00076     void optionsConfigureToolbars();
00077     void optionsPreferences();
00078 
00079     void showStatusMessage(const QString& text);
00080     void showTransientStatusMessage(const QString& text);
00081     void changeCaption(const QString& text);
00082 
00083 
00084   private:
00085     void setupActions();
00086 
00087   private:
00088     MobileGui *mView;
00089   
00090     KToggleAction *m_toolbarAction;
00091     KToggleAction *m_statusbarAction;
00092 };
00093 
00094 #endif // MOBILEMAIN_H
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:06 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001