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
virtual void slotCancel();
00078
00082
void createItems();
00083
00084
private:
00085
QString mDelimiter;
00086
QStringList mFolderNames, mFolderPaths,
00087 mFolderMimeTypes, mFolderAttributes;
00088 ImapAccountBase::jobData mJobData;
00089 uint mCount;
00090
bool mCheckForExisting;
00091
QDict<GroupItem> mItemDict;
00092
QString mStartPath;
00093 };
00094
00095 }
00096
00097
#endif
This file is part of the documentation for kmail Library Version 3.3.0.