knode
kscoringeditor.cpp
Go to the documentation of this file.
101 regExpButton->setEnabled(!KServiceTypeTrader::self()->query( "KRegExpEditor/KRegExpEditor" ).isEmpty());
655 RuleListWidget::RuleListWidget( KScoringManager *m, bool standalone, QWidget *p, const char *n )
SingleConditionWidget(KScoringManager *, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:68
void leavingRule()
Definition: kscoring.h:195
void ruleEdited(const QString &)
Definition: kscoring.h:101
virtual void slotClear()
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
this widget implements an editor for one condition.
Definition: kscoringeditor.h:50
void addButton(QAbstractButton *button)
void slotEditRule(KScoringRule *)
Definition: kscoringeditor.cpp:189
type * first()
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
Definition: kscoringeditor.h:261
void moveRuleBelow(KScoringRule *below, KScoringRule *above)
Definition: kscoring.cpp:1087
QWidget * createWidget(QWidget *)
Definition: kscoringeditor.cpp:175
void slotRuleNameChanged(const QString &, const QString &)
Definition: kscoringeditor.cpp:802
int exec()
Definition: kscoring.h:227
~SingleActionWidget()
Definition: kscoringeditor.cpp:287
QString join(const QString &separator) const
void setFrameStyle(int style)
QList< QWidget * > widgets() const
void addSpacing(int size)
void setLineWidth(int)
void setIcon(const QIcon &icon)
Definition: kscoring.h:94
Definition: kscoring.h:240
Q3ListBoxItem * prev() const
Definition: kscoring.h:120
void toggleRegExpButton(int)
Definition: kscoringeditor.cpp:138
void setSpacing(int spacing)
Definition: kscoring.h:96
type * next()
void clear()
void setBuddy(QWidget *buddy)
const char * name() const
ActionEditWidget(KScoringManager *m, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:365
Definition: kscoring.h:315
virtual void addWidgetAtEnd(QWidget *widget=0)
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
static int setCurrentItem(K3ListBox *box, const QString &s)
Definition: kscoringeditor.cpp:51
Definition: kscoring.h:185
void setCurrentWidget(QWidget *widget)
KScoringRule * findRule(const QString &)
Definition: kscoring.cpp:1172
Definition: kscoring.h:139
int toInt(bool *ok, int base) const
virtual void addItem(QLayoutItem *item)
void setObjectName(const QString &name)
bool isEmpty() const
RuleEditWidget(KScoringManager *m, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:433
void setCurrentIndex(int index)
void slotGroupFilter(const QString &)
Definition: kscoringeditor.cpp:833
bool isValid() const
KScoringExpression * createCondition() const
Definition: kscoringeditor.cpp:121
void shrink()
void moveRuleAbove(KScoringRule *above, KScoringRule *below)
Definition: kscoring.cpp:1073
void addExpression(KScoringExpression *)
Definition: kscoring.cpp:687
typedef Iterator
static int getTypeForUserName(const QString &name)
Definition: kscoring.cpp:223
virtual uint count() const
virtual QStringList getGroups() const =0
Definition: kscoring.h:155
void setMargin(int margin)
void setSizePolicy(QSizePolicy)
void slotEditRule(const QString &)
Definition: kscoringeditor.cpp:541
void editorReady()
called from an editor whenever it finishes editing the rule base, causes the finishedEditing signal t...
Definition: kscoring.cpp:1101
iterator end()
KScoringEditorWidgetDialog(KScoringManager *m, const QString &rName, QWidget *parent=0)
Definition: kscoringeditor.cpp:1059
static QStringList conditionNames()
Definition: kscoring.cpp:510
this widget implements an editor for one action.
Definition: kscoringeditor.h:103
QWidget * createWidget(QWidget *parent)
Definition: kscoringeditor.cpp:375
Definition: kscoring.h:239
virtual int getType() const =0
void setRuleName(KScoringRule *, const QString &)
Definition: kscoring.cpp:1030
~KScoringEditorWidget()
Definition: kscoringeditor.cpp:1123
void setChecked(bool)
virtual void setNumberOfShownWidgetsTo(int count)
static KScoringEditor * createEditor(KScoringManager *m, QWidget *parent=0)
Definition: kscoringeditor.cpp:996
~ConditionEditWidget()
Definition: kscoringeditor.cpp:172
Definition: kscoring.h:191
void setCondition(KScoringExpression *)
Definition: kscoringeditor.cpp:112
QFontMetrics fontMetrics() const
int insertWidget(int index, QWidget *widget)
void addStretch(int stretch)
void updateRule(KScoringRule *)
Definition: kscoringeditor.cpp:211
void sendPostedEvents()
ConditionEditWidget(KScoringManager *, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:165
Definition: kscoring.h:97
void addItem(QLayoutItem *item, int row, int column, int rowSpan, int columnSpan, QFlags< Qt::AlignmentFlag > alignment)
static QString getNameForCondition(int)
Definition: kscoring.cpp:487
QDate currentDate()
SingleActionWidget(KScoringManager *m, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:230
static int getConditionForName(const QString &)
Definition: kscoring.cpp:465
this widget implements the conditions editor
Definition: kscoringeditor.h:83
void slotDoShrink()
Definition: kscoringeditor.cpp:1100
void setToolTip(const QString &)
void slotEditRule(KScoringRule *)
Definition: kscoringeditor.cpp:380
KScoringEditor(KScoringManager *m, QWidget *parent=0)
Definition: kscoringeditor.cpp:949
const_iterator constEnd() const
const_iterator constBegin() const
~SingleConditionWidget()
Definition: kscoringeditor.cpp:109
virtual QStringList getDefaultHeaders() const
returns a list of common (or available) headers defaults to returning { Subject, From, Message-ID, Date }
Definition: kscoring.cpp:1233
virtual QString text() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void slotRuleSelected(const QString &)
Definition: kscoringeditor.cpp:839
void showRegExpDialog()
Definition: kscoringeditor.cpp:146
ActionBase * createAction() const
Definition: kscoringeditor.cpp:321
iterator begin()
void setSpacing(int spacing)
void slotRuleEdited(const QString &)
Definition: kscoringeditor.cpp:1128
This widget shows a list of rules with buttons for copy, delete aso.
Definition: kscoringeditor.h:208
RuleListWidget(KScoringManager *m, bool=false, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:655
KScoringEditorWidget(KScoringManager *m, QWidget *p=0, const char *n=0)
Definition: kscoringeditor.cpp:1112
Definition: kscoring.h:95
void ruleSelected(const QString &)
Q3ListBoxItem * next() const
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.