Warning, file /plasma/oxygen/kdecoration/oxygendecohelper.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #ifndef oxygendecohelper_h
0002 #define oxygendecohelper_h
0003 
0004 /*
0005  * SPDX-FileCopyrightText: 2013 Hugo Pereira Da Costa <hugo.pereira@free.fr>
0006  * SPDX-FileCopyrightText: 2008 Long Huynh Huu <long.upcase@googlemail.com>
0007  * SPDX-FileCopyrightText: 2007 Matthew Woehlke <mw_triad@users.sourceforge.net>
0008  * SPDX-FileCopyrightText: 2007 Casper Boemann <cbr@boemann.dk>
0009  * SPDX-FileCopyrightText: 2015 David Edmundson <davidedmundson@kde.org>
0010  *
0011  * SPDX-License-Identifier: LGPL-2.0-only
0012  */
0013 
0014 #include "oxygenhelper.h"
0015 #include <ksharedconfig.h>
0016 
0017 //* helper class
0018 /*! contains utility functions used at multiple places in oxygen style */
0019 namespace Oxygen
0020 {
0021 
0022 class DecoHelper : public Helper
0023 {
0024 public:
0025     //* constructor
0026     explicit DecoHelper();
0027 
0028     //* reset all caches
0029     void invalidateCaches() override;
0030 
0031     //* windeco buttons
0032     QPixmap windecoButton(const QColor &color, const QColor &glow, bool sunken, int size = 21);
0033 
0034 private:
0035     //* windeco buttons
0036     Cache<QPixmap> _windecoButtonCache;
0037 };
0038 }
0039 
0040 #endif // __OXYGEN_STYLE_HELPER_H