Mailcommon
redirectdialog.cpp
123 auto LabelTo = new QLabel(i18nc("@label:textbox", "Select the recipient addresses to redirect to:"), this);
135 formLayout->addRow(d->redirectLabelType(RedirectDialog::RedirectDialogPrivate::ResendTo), d->mEditTo);
142 formLayout->addRow(d->redirectLabelType(RedirectDialog::RedirectDialogPrivate::ResendCc), d->mEditCc);
144 formLayout->addRow(d->redirectLabelType(RedirectDialog::RedirectDialogPrivate::ResendBcc), d->mEditBcc);
150 formLayout->addItem(new QSpacerItem(1, mainLayout->spacing(), QSizePolicy::Fixed, QSizePolicy::Fixed));
151 d->mComboboxIdentity = new KIdentityManagementWidgets::IdentityCombo(KernelIf->identityManager());
154 formLayout->addItem(new QSpacerItem(1, mainLayout->spacing(), QSizePolicy::Fixed, QSizePolicy::Fixed));
158 KGuiItem::assign(d->mUser1Button, KGuiItem(i18nc("@action:button", "&Send Now"), QIcon::fromTheme(QStringLiteral("mail-send"))));
159 KGuiItem::assign(d->mUser2Button, KGuiItem(i18nc("@action:button", "Send &Later"), QIcon::fromTheme(QStringLiteral("mail-queue"))));
207 KMessageBox::error(this, i18n("You cannot redirect the message without an address."), i18nc("@title:window", "Empty Redirection Address"));
static void assign(QPushButton *button, const KGuiItem &item)
A dialog to request information about message redirection from the user.
Definition redirectdialog.h:26
RedirectDialog(SendMode mode=SendNow, QWidget *parent=nullptr)
Creates a new redirect dialog.
Definition redirectdialog.cpp:98
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
void error(QWidget *parent, const QString &text, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
QString label(StandardShortcut id)
void clicked(bool checked)
Accepted
virtual void done(int r)
virtual void reject()
ActionRole
Cancel
void rejected()
AllNonFixedFieldsGrow
void setFieldGrowthPolicy(FieldGrowthPolicy policy)
QIcon fromTheme(const QString &name)
void setContentsMargins(const QMargins &margins)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
Fixed
bool isEmpty() const const
QString trimmed() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.