KWidgetsAddons

kmessageboxnotifyinterface.h
1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 2013 Aurélien Gâteau <agateau@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#ifndef KMESSAGEBOXNOTIFYINTERFACE_H
9#define KMESSAGEBOXNOTIFYINTERFACE_H
10
11#include "kmessagebox.h"
12#include <qmetatype.h>
13
14/**
15 * @internal
16 * Used internally by KMessageBox, implemented by plugin, for dynamic dependency on KNotification.
17 */
19{
20public:
22 {
23 }
25 {
26 }
27
28 virtual void sendNotification(QMessageBox::Icon notificationType, const QString &message, QWidget *parent) = 0;
29};
30
31Q_DECLARE_METATYPE(KMessageBoxNotifyInterface *)
32
33#define KMESSAGEBOXNOTIFY_PROPERTY "KMessageBoxNotify"
34
35#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:51:03 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.