Warning, file /games/kreversi/src/colorscheme.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: 2013 Denis Kuplyakov <dener.kup@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef COLORSCHEME_H 0008 #define COLORSCHEME_H 0009 0010 #include <QQuickItem> 0011 #include <KColorScheme> 0012 #include <QColor> 0013 0014 class ColorScheme : public QQuickItem 0015 { 0016 Q_OBJECT 0017 Q_PROPERTY(QColor background READ background NOTIFY placeHolder) 0018 Q_PROPERTY(QColor foreground READ foreground NOTIFY placeHolder) 0019 Q_PROPERTY(QColor border READ border NOTIFY placeHolder) 0020 public: 0021 explicit ColorScheme(QQuickItem *parent = nullptr); 0022 0023 QColor background() const; 0024 QColor foreground() const; 0025 QColor border() const; 0026 0027 Q_SIGNALS: 0028 void placeHolder(); 0029 }; 0030 0031 #endif // COLORSCHEME_H