1 #ifndef __KMAIL__MANAGESIEVESCRIPTSDIALOG_H__
2 #define __KMAIL__MANAGESIEVESCRIPTSDIALOG_H__
4 #include <kdialogbase.h>
16 class ManageSieveScriptsDialog : public KDialogBase {
20 ManageSieveScriptsDialog( TQWidget * parent=0, const char * name=0 );
21 ~ManageSieveScriptsDialog();
25 void slotItem( KMail::SieveJob *, const TQString &, bool );
26 void slotResult( KMail::SieveJob *, bool, const TQString &, bool );
27 void slotContextMenuRequested( TQListViewItem *, const TQPoint & );
28 void slotDoubleClicked( TQListViewItem * );
29 void slotSelectionChanged( TQListViewItem * );
31 void slotEditScript();
32 void slotDeactivateScript();
33 void slotDeleteScript();
34 void slotGetResult( KMail::SieveJob *, bool, const TQString &, bool );
35 void slotPutResult( KMail::SieveJob *, bool );
36 void slotSieveEditorOkClicked();
37 void slotSieveEditorCancelClicked();
41 void changeActiveScript( TQCheckListItem *, bool activate = true );
44 TQListView * mListView;
45 SieveEditor * mSieveEditor;
46 TQMap<KMail::SieveJob*,TQCheckListItem*> mJobs;
47 TQMap<TQCheckListItem*,KURL> mUrls;
48 TQMap<TQCheckListItem*,TQCheckListItem*> mSelectedItems;
49 TQCheckListItem * mContextMenuItem;
|