File indexing completed on 2024-09-01 11:51:40
0001 /* 0002 SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef VOLUMEOSD_H 0008 #define VOLUMEOSD_H 0009 0010 #include <QObject> 0011 0012 class VolumeOSD : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit VolumeOSD(QObject *parent = nullptr); 0017 0018 public Q_SLOTS: 0019 void show(int percent, int maximumPercent = 100); 0020 void showMicrophone(int percent); 0021 void showText(const QString &iconName, const QString &text); 0022 }; 0023 0024 #endif // VOLUMEOSD_H