Warning, file /plasma/kwin/src/osd.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2016 Martin Graesslin <mgraesslin@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 0006 */ 0007 0008 #pragma once 0009 0010 #include <QFlags> 0011 #include <QString> 0012 0013 namespace KWin 0014 { 0015 namespace OSD 0016 { 0017 0018 void show(const QString &message, const QString &iconName = QString()); 0019 void show(const QString &message, int timeout); 0020 void show(const QString &message, const QString &iconName, int timeout); 0021 enum class HideFlag { 0022 SkipCloseAnimation = 1, 0023 }; 0024 Q_DECLARE_FLAGS(HideFlags, HideFlag) 0025 void hide(HideFlags flags = HideFlags()); 0026 0027 } 0028 }