KNotifyConfig

knotifyconfigactionswidget.h
1/*
2 This file is part of the KDE project
3 SPDX-FileCopyrightText: 2005-2007 Olivier Goffart <ogoffart at kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-only
6*/
7
8#ifndef KNOTIFYCONFIGACTIONSWIDGET_H
9#define KNOTIFYCONFIGACTIONSWIDGET_H
10
11#include "knotify-config.h"
12#include "ui_knotifyconfigactionswidgetbase.h"
13#include <QWidget>
14
15#if HAVE_CANBERRA
16struct ca_context;
17#endif
18
20
21/**
22 * Represent the config for an event
23 * @internal
24 * @author Olivier Goffart <ogoffart @ kde.org>
25 */
27{
29public:
32
33 void setConfigElement(KNotifyConfigElement *config);
34 void save(KNotifyConfigElement *config);
36 void changed();
37private Q_SLOTS:
38 void slotPlay();
39
40private:
41 Ui::KNotifyConfigActionsWidgetBase m_ui;
42#if HAVE_CANBERRA
43 ca_context *m_context = nullptr;
44#endif
45};
46
47#endif // KNOTIFYCONFIGACTIONSWIDGET_H
Represent the config for an event.
Represent the config for an event.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:45 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.