KIdentityManagement
signatureconfigurator.cpp
118 mSourceCombo->setWhatsThis(i18n("Click on the widgets below to obtain help on the input methods."));
120 mSourceCombo->addItems(QStringList() << i18nc("continuation of \"obtain signature text from\"", "Input Field Below")
133 q->connect(mSourceCombo, &QComboBox::currentIndexChanged, widgetStack, &QStackedWidget::setCurrentIndex);
134 q->connect(mSourceCombo, &QComboBox::highlighted, widgetStack, &QStackedWidget::setCurrentIndex);
174 mEditToolBar->addAction(actionCollection->action(QStringLiteral("format_text_foreground_color")));
175 mEditToolBar->addAction(actionCollection->action(QStringLiteral("format_text_background_color")));
231 q->connect(mFileRequester, &KUrlRequester::textEdited, q, &SignatureConfigurator::slotUrlChanged);
232 q->connect(mFileRequester, &KUrlRequester::urlSelected, q, &SignatureConfigurator::slotUrlChanged);
420 KMessageBox::information(this, i18n("This text file size exceeds 1kb."), i18nc("@title:window", "Text File Size"));
470 QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/emailidentities/%1/").arg(QString::number(identity.uoid()));
Abstraction of a signature (aka "footer").
Definition signature.h:61
void setPath(const QString &path, bool isExecutable=false)
Set the signature URL and mark this signature as being of "from file" resp.
Definition signature.cpp:288
void setText(const QString &text)
Set the signature text and mark this signature as being of "inline text" type.
Definition signature.cpp:499
void setImageLocation(const QString &path)
Sets the location where the copies of the signature images will be stored.
Definition signature.cpp:470
void setInlinedHtml(bool isHtml)
Sets the inlined signature to text or html.
Definition signature.cpp:294
bool isInlinedHtml() const
Definition signature.cpp:299
void addImage(const QImage &image, const QString &imageName)
Adds the given image to the signature.
Definition signature.cpp:461
This widget gives an interface so users can edit their signature.
Definition signatureconfigurator.h:28
QString commandPath() const
Returns the url of the command which the users wants to use as signature.
Definition signatureconfigurator.cpp:344
void setSignatureEnabled(bool enable)
Use this to activate the signature.
Definition signatureconfigurator.cpp:281
void setInlineText(const QString &text)
Make text the text for the signature.
Definition signatureconfigurator.cpp:321
QString filePath() const
Returns the file url which the user wants to use as a signature.
Definition signatureconfigurator.cpp:326
void setFileURL(const QString &url)
Set url for the file url part of the widget.
Definition signatureconfigurator.cpp:338
~SignatureConfigurator() override
destructor
void setSignatureType(Signature::Type type)
Set the signature type to type.
Definition signatureconfigurator.cpp:300
void setImageLocation(const QString &path)
Sets the directory where the images used in the HTML signature will be stored.
Definition signatureconfigurator.cpp:462
Signature::Type signatureType() const
This returns the type of the signature, so that can be Disabled, Inline, fromFile,...
Definition signatureconfigurator.cpp:286
void setCommandURL(const QString &url)
Sets url as the command to execute.
Definition signatureconfigurator.cpp:349
bool isSignatureEnabled() const
Indicated if the user wants a signature.
Definition signatureconfigurator.cpp:276
AutoHandlingEnabled
void urlSelected(const QUrl &)
void textEdited(const QString &)
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
KIOCORE_EXPORT KJobUiDelegate * createDefaultJobUiDelegate()
void information(QWidget *parent, const QString &text, const QString &title=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
QString label(StandardShortcut id)
void clicked(bool checked)
void toggled(bool checked)
void currentIndexChanged(int index)
void highlighted(int index)
QString absolutePath() const const
QDir home()
bool mkpath(const QString &dirPath) const const
void setCurrentIndex(int index)
GenericDataLocation
QString writableLocation(StandardLocation type)
QString arg(Args &&... args) const const
bool isEmpty() const const
QString number(double n, char format, int precision)
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
QString trimmed() const const
Checked
ToolButtonIconOnly
QString toHtml() const const
QUrl fromLocalFile(const QString &localFile)
void setEnabled(bool)
void setFocus()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.