digiKam
Loading...
Searching...
No Matches
dnotificationwrapper.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2008-07-03
7 * Description : A wrapper send desktop notifications
8 *
9 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2009-2011 by Michael G. Hansen <mike at mghansen dot de>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Qt includes
19
20#include <QString>
21#include <QPixmap>
22
23// Local includes
24
25#include "digikam_export.h"
26
27class QWidget;
28
29namespace Digikam
30{
31
42void DIGIKAM_EXPORT DNotificationWrapper(const QString& eventId, const QString& message,
43 QWidget* const parent, const QString& windowTitle,
44 const QPixmap& pixmap = QPixmap());
45} // namespace Digikam
46
47#ifdef Q_OS_DARWIN
48
49bool MacNativeDispatchNotify(const QString& summary, const QString& message);
50
51#endif
Definition datefolderview.cpp:34
void DNotificationWrapper(const QString &eventId, const QString &message, QWidget *const parent, const QString &windowTitle, const QPixmap &pixmap)
Show a notification using KNotify, or KPassivePopup if KNotify is unavailable.
Definition dnotificationwrapper.cpp:107