subscriptiondialog.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
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __SUBSCRIPTIONDIALOG
00033 #define __SUBSCRIPTIONDIALOG
00034
00035 #include <qdict.h>
00036 #include <ksubscription.h>
00037 #include "imapaccountbase.h"
00038
00039 class KMMessage;
00040 class FolderStorage;
00041
00042 namespace KMail {
00043
00044 class SubscriptionDialog : public KSubscription
00045 {
00046 Q_OBJECT
00047
00048 public:
00049 SubscriptionDialog( QWidget *parent, const QString &caption, KAccount* acct,
00050 QString startPath = QString::null );
00051
00052 protected:
00053 void findParentItem ( QString &name, QString &path, QString &compare,
00054 GroupItem **parent, GroupItem **oldItem );
00055
00056 public slots:
00060 void slotListDirectory(const QStringList&, const QStringList&,
00061 const QStringList&, const QStringList&, const ImapAccountBase::jobData &);
00062
00066 void slotSave();
00067
00068 protected slots:
00072 void slotLoadFolders();
00073
00077 void createItems();
00078
00079 private:
00080 QString mDelimiter;
00081 QStringList mFolderNames, mFolderPaths,
00082 mFolderMimeTypes, mFolderAttributes;
00083 ImapAccountBase::jobData mJobData;
00084 uint mCount;
00085 bool mCheckForExisting;
00086 QDict<GroupItem> mItemDict;
00087 QString mStartPath;
00088 };
00089
00090 }
00091
00092 #endif
This file is part of the documentation for kmail Library Version 3.3.2.