Mailcommon
filteractionsettransport.cpp
31 connect(transportCombobox, &MailTransport::TransportComboBox::currentIndexChanged, this, &FilterActionSetTransport::filterActionModified);
41bool FilterActionSetTransport::argsFromStringInteractive(const QString &argsStr, const QString &filterName)
46 QPointer<MailCommon::FilterActionMissingTransportDialog> dlg = new MailCommon::FilterActionMissingTransportDialog(filterName);
64 const MailTransport::Transport *transport = MailTransport::TransportManager::self()->transportById(mParameter);
88 const MailTransport::TransportComboBox *comboBox = qobject_cast<MailTransport::TransportComboBox *>(paramWidget);
137 return label() + QLatin1StringView(" \"") + (mTransportName.isEmpty() ? argsAsString().toHtmlEscaped() : mTransportName) + QLatin1StringView("\"");
T payload() const
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
void setNeedsPayloadStore()
Marks that the item's payload has been changed and needs to be written back.
Definition itemcontext.cpp:33
bool setCurrentTransport(int transportId)
int currentTransportId() const
Q_SCRIPTABLE QStringList transportNames() const
Transport * transportById(Transport::Id id, bool def=true) const
static TransportManager * self()
Q_SCRIPTABLE QList< int > transportIds() const
QString i18n(const char *text, const TYPE &arg...)
KGuiItem ok()
void setCurrentIndex(int index)
void currentIndexChanged(int index)
const_reference at(qsizetype i) const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
T qobject_cast(QObject *object)
void clear()
bool isEmpty() const const
QString number(double n, char format, int precision)
int toInt(bool *ok, int base) const const
QString trimmed() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.