CalendarSupport

messagewidget.h
1/*
2 This file is part of KOrganizer.
3
4 SPDX-FileCopyrightText: 2013 Sérgio Martins <iamsergio@gmail.com>
5
6 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
7*/
8
9#pragma once
10
11#include "calendarsupport_export.h"
12
13#include <KMessageWidget>
14
15namespace CalendarSupport
16{
17/**
18 * Even less instrusive message dialog.
19 * This one goes away when you click somewhere, doesn't need a close button.
20 */
21class CALENDARSUPPORT_EXPORT MessageWidget : public KMessageWidget
22{
23 Q_OBJECT
24public:
25 explicit MessageWidget(QWidget *parent = nullptr);
26 ~MessageWidget() override;
27 [[nodiscard]] bool eventFilter(QObject *watched, QEvent *event) override;
28 void showEvent(QShowEvent *event) override;
29 void hideEvent(QHideEvent *event) override;
30};
31}
Even less instrusive message dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.