KNotifyConfig
knotifyconfigwidget.cpp
42 connect(d->eventList, SIGNAL(eventSelected(KNotifyConfigElement *)), this, SLOT(slotEventSelected(KNotifyConfigElement *)));
91 QDBusMessage::createSignal(QStringLiteral("/Config"), QStringLiteral("org.kde.knotification"), QStringLiteral("reparseConfiguration"));
122 buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Apply | QDialogButtonBox::Cancel);
131 connect(w, SIGNAL(changed(bool)), buttonBox->button(QDialogButtonBox::Apply), SLOT(setEnabled(bool)));
Represent the config for an event.
Definition knotifyconfigactionswidget.h:27
Configure the notification for a given application.
Definition knotifyconfigwidget.h:31
void selectEvent(const QString &eventId)
Select a given notification in the current list.
Definition knotifyconfigwidget.cpp:60
void setApplication(const QString &appname=QString())
Change the application.
Definition knotifyconfigwidget.cpp:53
void changed(bool state)
Indicate that the state of the modules contents has changed.
static KNotifyConfigWidget * configure(QWidget *parent=nullptr, const QString &appname=QString())
Show a dialog with the widget.
Definition knotifyconfigwidget.cpp:114
Definition knotifyeventlist.h:23
QString i18n(const char *text, const TYPE &arg...)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
applicationName
QCoreApplication * instance()
bool send(const QDBusMessage &message) const const
QDBusConnection sessionBus()
QDBusMessage createSignal(const QString &path, const QString &interface, const QString &name)
void setArguments(const QList< QVariant > &arguments)
QPushButton * button(StandardButton which) const const
void setStandardButtons(StandardButtons buttons)
void addWidget(QWidget *w)
void setContentsMargins(const QMargins &margins)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
bool isEmpty() const const
WA_DeleteOnClose
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
void setEnabled(bool)
QLayout * layout() const const
void setAttribute(Qt::WidgetAttribute attribute, bool on)
void show()
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:17:33 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:17:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.