• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmail

folderdialogquotatab.h

Go to the documentation of this file.
00001 // -*- mode: C++; c-file-style: "gnu" -*-
00032 #ifndef FOLDERDIALOGQUOTATAB_H
00033 #define FOLDERDIALOGQUOTATAB_H
00034 
00035 #include "kmfolderdialog.h"
00036 #include "kmfoldertype.h"
00037 #include "quotajobs.h"
00038 
00039 namespace KMail {
00040   class QuotaWidget;
00041 }
00042 class QStackedWidget;
00043 
00044 namespace KMail {
00045 
00046 class ImapAccountBase;
00047 
00052 class FolderDialogQuotaTab : public FolderDialogTab
00053 {
00054   Q_OBJECT
00055 
00056 public:
00057   FolderDialogQuotaTab( KMFolderDialog* dlg, QWidget* parent, const char* name = 0 );
00058 
00059   virtual void load();
00060   virtual bool save();
00061   virtual AcceptStatus accept();
00062 
00063   static bool supports( KMFolder* refFolder );
00064 
00065 private:
00066   void initializeWithValuesFromFolder( KMFolder* folder );
00067   void showQuotaWidget();
00068 private slots:
00069   // Network (KIO) slots
00070   void slotConnectionResult( int, const QString& );
00071   void slotReceivedQuotaInfo( KMFolder*, KIO::Job*, const KMail::QuotaInfo& );
00072 
00073 
00074 private:
00075 
00076   QLabel* mLabel;
00077   KMail::QuotaWidget* mQuotaWidget;
00078   QStackedWidget* mStack;
00079   ImapAccountBase* mImapAccount;
00080   QString mImapPath;
00081   KMFolderDialog* mDlg;
00082 
00083   QuotaInfo mQuotaInfo;
00084   KMFolderType mFolderType;
00085 };
00086 
00087 } // end of namespace KMail
00088 
00089 #endif /* FOLDERDIALOGQUOTATAB_H */
00090 

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal