4 KMail, the KDE mail client.
5 Copyright (c) 2005 Martijn Klingens <klingens@kde.org>
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License,
9 version 2.0, as published by the Free Software Foundation.
10 You should have received a copy of the GNU General Public License
11 along with this program; if not, write to the Free Software Foundation,
12 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
15 #ifndef __sievedebugdialog_h__
16 #define __sievedebugdialog_h__
18 // This file is only compiled when debug is enabled, it is
19 // not useful enough for non-developers to have this in releases.
31 template <typename T
> class QList
;
33 class OrgKdeAkonadiImapSettingsInterface
;
40 typedef QList
<AddrSpec
> AddrSpecList
;
49 * Diagnostic info for Sieve. Only compiled when debug is enabled, it is
50 * not useful enough for non-developers to have this in releases.
52 class SieveDebugDialog
: public KDialog
57 SieveDebugDialog( QWidget
*parent
= 0 );
58 virtual ~SieveDebugDialog();
61 void handlePutResult( KMail::SieveJob
*job
, bool success
, bool );
64 void result( bool success
);
67 void slotGetScript( KMail::SieveJob
*job
, bool success
, const QString
&script
, bool active
);
68 void slotGetScriptList( KMail::SieveJob
*job
, bool success
, const QStringList
&scriptList
, const QString
&activeScript
);
71 void slotPutActiveResult( KMail::SieveJob
*, bool );
72 void slotPutInactiveResult( KMail::SieveJob
*, bool );
73 void slotDiagNextAccount();
74 void slotDiagNextScript();
77 KMail::SieveJob
*mSieveJob
;
82 QStringList mResourceIdentifier
;
83 QStringList mScriptList
;
84 OrgKdeAkonadiImapSettingsInterface
*mImapSettingsInterface
;
91 #endif // __sievedebugdialog_h__