File indexing completed on 2024-04-28 16:55:12
0001 /******************************************************************* 0002 * brightnessosdwidget.h 0003 * adapted from kdemultimedia/kmix/osdwidget.h 0004 * Copyright 2009 Aurélien Gâteau <agateau@kde.org> 0005 * Copyright 2009 Dario Andres Rodriguez <andresbajotierra@gmail.com> 0006 * Copyright 2009 Christian Esken <christian.esken@arcor.de> 0007 * Copyright 2010 Felix Geyer <debfx-kde@fobos.de> 0008 * Copyright 2015 Kai Uwe Broulik <kde@privat.broulik.de> 0009 * 0010 * This program is free software; you can redistribute it and/or 0011 * modify it under the terms of the GNU General Public License as 0012 * published by the Free Software Foundation; either version 2 of 0013 * the License, or (at your option) any later version. 0014 * 0015 * This program is distributed in the hope that it will be useful, 0016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0018 * GNU General Public License for more details. 0019 * 0020 * You should have received a copy of the GNU General Public License 0021 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0022 * 0023 ******************************************************************/ 0024 0025 #ifndef BRIGHTNESSOSDWIDGET_H 0026 #define BRIGHTNESSOSDWIDGET_H 0027 0028 #include "powerdevilbackendinterface.h" 0029 0030 namespace BrightnessOSDWidget 0031 { 0032 0033 Q_DECL_EXPORT void show(int percentage, PowerDevil::BackendInterface::BrightnessControlType type = PowerDevil::BackendInterface::Screen); 0034 0035 } 0036 0037 #endif // BRIGHTNESSOSDWIDGET_H