mailcommon
filteractionwithurl.cpp
Go to the documentation of this file.
43 FilterActionWithUrl::FilterActionWithUrl( const QString &name, const QString &label, QObject *parent )
81 QString fullWhatsThis = QLatin1String("You can get specific header when when you use %{headername}.");
100 KUrlRequester *requester = paramWidget->findChild<KUrlRequester*>( QLatin1String("requester") );
107 KUrlRequester *requester = paramWidget->findChild<KUrlRequester*>( QLatin1String("requester") );
virtual void setParamWidgetValue(QWidget *paramWidget) const
The filter action shall set it's widget's contents from it's parameter.
Definition: filteractionwithurl.cpp:98
virtual QString displayString() const
Returns a translated string describing this filter for visualization purposes, e.g.
Definition: filteractionwithurl.cpp:122
void showText(const QPoint &pos, const QString &text, QWidget *w)
virtual void applyParamWidgetValue(QWidget *paramWidget)
The filter action shall set it's parameter from the widget's contents.
Definition: filteractionwithurl.cpp:85
virtual void clearParamWidget(QWidget *paramWidget) const
The filter action shall clear it's parameter widget's contents.
Definition: filteractionwithurl.cpp:105
void setIcon(const QIcon &icon)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setLayout(QLayout *layout)
virtual QWidget * createParamWidget(QWidget *parent) const
Creates a widget for setting the filter action parameter.
Definition: filteractionwithurl.cpp:57
void setObjectName(const QString &name)
bool isEmpty() const
QString trimmed() const
virtual void argsFromString(const QString &argsStr)
Definition: filteractionwithurl.cpp:112
void setMargin(int margin)
FilterActionWithUrl(const QString &name, const QString &label, QObject *parent=0)
Creates a new filter action.
Definition: filteractionwithurl.cpp:43
virtual QString argsAsString() const
Return extra arguments as string.
Definition: filteractionwithurl.cpp:117
QPoint pos()
QString escape(const QString &plain)
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
~FilterActionWithUrlHelpButton()
Definition: filteractionwithurl.cpp:38
FilterActionWithUrlHelpButton(QWidget *parent=0)
Definition: filteractionwithurl.cpp:30
Abstract base class for filter actions with a command line as parameter.
Definition: filteractionwithurl.h:48
void setToolTip(const QString &)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionwithurl.cpp:52
void setSpacing(int spacing)
T findChild(const QString &name) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 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:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.