kandy Library API Documentation

mobilemain.h

00001 /* 00002 This file is part of Kandy. 00003 00004 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 00020 As a special exception, permission is given to link this program 00021 with any edition of Qt, and distribute the resulting executable, 00022 without including the source code for Qt in the source distribution. 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
KDE Logo
This file is part of the documentation for kandy Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:34 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003