kmail Library API Documentation

kmmainwin.h

00001 /* kmail main window 00002 * Maintained by Stefan Taferner <taferner@kde.org> 00003 * This code is under the GPL 00004 */ 00005 #ifndef __KMMAINWIN 00006 #define __KMMAINWIN 00007 00008 #include <kmainwindow.h> 00009 #include "kdeversion.h" 00010 #include "qstring.h" 00011 00012 class KMMainWidget; 00013 namespace KPIM { 00014 class StatusbarProgressWidget; 00015 class ProgressDialog; 00016 } 00017 using KPIM::StatusbarProgressWidget; 00018 using KPIM::ProgressDialog; 00019 00020 class KMMainWin : public KMainWindow 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 // the main window needs to have a name since else restoring the window 00026 // settings by kwin doesn't work 00027 KMMainWin(QWidget *parent = 0); 00028 virtual ~KMMainWin(); 00029 KMMainWidget *mainKMWidget() const { return mKMMainWidget; }; 00030 StatusbarProgressWidget* progressWidget() const { return mLittleProgress; } 00031 ProgressDialog* progressDialog() const { return mProgressDialog; } 00032 00033 00035 virtual void readConfig(void); 00036 00038 virtual void writeConfig(void); 00039 00040 public slots: 00041 void displayStatusMsg(const QString&); 00042 void slotEditToolbars(); 00043 void slotUpdateToolbars(); 00044 void setupStatusBar(); 00045 00046 protected: 00047 virtual bool queryClose (); 00048 00049 protected slots: 00050 void slotQuit(); 00051 void slotConfigChanged(); 00052 00053 private: 00054 KMMainWidget *mKMMainWidget; 00055 StatusbarProgressWidget *mLittleProgress; 00056 ProgressDialog *mProgressDialog; 00057 int mMessageStatusId; 00058 bool mReallyClose; 00059 }; 00060 00061 #endif
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:23 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003