Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveconditionwidgetlister.h
Show All 20 Lines | |||||
21 | #define SIEVECONDITIONWIDGETLISTER_H | 21 | #define SIEVECONDITIONWIDGETLISTER_H | ||
22 | 22 | | |||
23 | #include <Libkdepim/KWidgetLister> | 23 | #include <Libkdepim/KWidgetLister> | ||
24 | 24 | | |||
25 | class QPushButton; | 25 | class QPushButton; | ||
26 | class QGridLayout; | 26 | class QGridLayout; | ||
27 | class QXmlStreamReader; | 27 | class QXmlStreamReader; | ||
28 | class QToolButton; | 28 | class QToolButton; | ||
29 | 29 | class QComboBox; | |||
30 | namespace PimCommon { | | |||
31 | class MinimumComboBox; | | |||
32 | } | | |||
33 | 30 | | |||
34 | namespace KSieveUi { | 31 | namespace KSieveUi { | ||
35 | class SieveCondition; | 32 | class SieveCondition; | ||
36 | class SieveHelpButton; | 33 | class SieveHelpButton; | ||
37 | class SieveEditorGraphicalModeWidget; | 34 | class SieveEditorGraphicalModeWidget; | ||
38 | class SieveConditionWidget : public QWidget | 35 | class SieveConditionWidget : public QWidget | ||
39 | { | 36 | { | ||
40 | Q_OBJECT | 37 | Q_OBJECT | ||
Show All 17 Lines | 52 | private: | |||
58 | void slotConditionChanged(int index); | 55 | void slotConditionChanged(int index); | ||
59 | void slotHelp(); | 56 | void slotHelp(); | ||
60 | void slotAddComment(); | 57 | void slotAddComment(); | ||
61 | void initWidget(); | 58 | void initWidget(); | ||
62 | void setFilterCondition(QWidget *widget); | 59 | void setFilterCondition(QWidget *widget); | ||
63 | QList<KSieveUi::SieveCondition *> mConditionList; | 60 | QList<KSieveUi::SieveCondition *> mConditionList; | ||
64 | QPushButton *mAdd = nullptr; | 61 | QPushButton *mAdd = nullptr; | ||
65 | QPushButton *mRemove = nullptr; | 62 | QPushButton *mRemove = nullptr; | ||
66 | PimCommon::MinimumComboBox *mComboBox = nullptr; | 63 | QComboBox *mComboBox = nullptr; | ||
67 | QGridLayout *mLayout = nullptr; | 64 | QGridLayout *mLayout = nullptr; | ||
68 | SieveHelpButton *mHelpButton = nullptr; | 65 | SieveHelpButton *mHelpButton = nullptr; | ||
69 | QToolButton *mCommentButton = nullptr; | 66 | QToolButton *mCommentButton = nullptr; | ||
70 | SieveEditorGraphicalModeWidget *mSieveGraphicalModeWidget = nullptr; | 67 | SieveEditorGraphicalModeWidget *mSieveGraphicalModeWidget = nullptr; | ||
71 | }; | 68 | }; | ||
72 | 69 | | |||
73 | class SieveConditionWidgetLister : public KPIM::KWidgetLister | 70 | class SieveConditionWidgetLister : public KPIM::KWidgetLister | ||
74 | { | 71 | { | ||
Show All 29 Lines |