kalarm
specialactions.cpp
Go to the documentation of this file.
56 setWhatsThis(i18nc("@info:whatsthis", "Specify actions to execute before and after the alarm is displayed."));
63 void SpecialActionsButton::setActions(const QString& pre, const QString& post, KAEvent::ExtraActionOptions options)
80 AutoQPointer<SpecialActionsDlg> dlg = new SpecialActionsDlg(mPreAction, mPostAction, mOptions, mEnableCheckboxes, this);
181 "<para>Note that it is executed only when the alarm proper is displayed, not when a reminder or deferred alarm is displayed.</para>"
182 "<para><note>KAlarm will wait for the command to complete before displaying the alarm.</note></para>"));
187 mExecOnDeferral->setWhatsThis(i18nc("@info:whatsthis", "<para>If unchecked, the command is only executed before the alarm proper is displayed.</para>"
188 "<para>If checked, the pre-alarm command is also executed before a deferred alarm is displayed.</para>"));
192 mCancelOnError->setWhatsThis(i18nc("@info:whatsthis", "Cancel the alarm if the pre-alarm command fails, i.e. do not display the alarm or execute any post-alarm action command."));
196 mDontShowError->setWhatsThis(i18nc("@info:whatsthis", "Do not show error status or error message if the pre-alarm command fails."));
224 void SpecialActions::setActions(const QString& pre, const QString& post, KAEvent::ExtraActionOptions options)
virtual void setReadOnly(bool readOnly)
Definition: specialactions.h:65
void setActions(const QString &pre, const QString &post, KAEvent::ExtraActionOptions)
Definition: specialactions.cpp:224
virtual QByteArray text(quint32 serialNumber) const =0
SpecialActionsButton(bool enableCheckboxes, QWidget *parent=0)
Definition: specialactions.cpp:47
KAEvent::ExtraActionOptions options() const
Definition: specialactions.cpp:243
void addSpacing(int size)
KAEvent::ExtraActionOptions options() const
Definition: specialactions.h:101
void setBuddy(QWidget *buddy)
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
SpecialActions(bool enableCheckboxes, QWidget *parent=0)
Definition: specialactions.cpp:155
bool isEmpty() const
void clicked(bool checked)
void setCheckable(bool)
KAEvent::ExtraActionOptions options() const
Definition: specialactions.h:44
void setMargin(int margin)
SpecialActionsDlg(const QString &preAction, const QString &postAction, KAEvent::ExtraActionOptions, bool enableCheckboxes, QWidget *parent=0)
Definition: specialactions.cpp:102
const QSize & size() const
virtual void resizeEvent(QResizeEvent *)
Definition: specialactions.cpp:142
void setChecked(bool)
void setWhatsThis(const QString &)
Definition: specialactions.h:92
void setActions(const QString &pre, const QString &post, KAEvent::ExtraActionOptions)
Definition: specialactions.cpp:63
miscellaneous functions
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setSpacing(int spacing)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 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:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.