LeechCraft
0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Toggle main menu visibility
Loading...
Searching...
No Matches
icolorthememanager.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#pragma once
10
11
class
QColor;
12
17
class
Q_DECL_EXPORT
IColorThemeManager
18
{
19
public
:
20
virtual
~IColorThemeManager
() {}
21
36
virtual
QColor
GetQMLColor
(
const
QByteArray& section,
const
QByteArray& key) = 0;
37
44
virtual
QObject*
GetQObject
() = 0;
45
protected
:
52
virtual
void
themeChanged
() = 0;
53
};
54
55
Q_DECLARE_INTERFACE (
IColorThemeManager
,
"org.Deviant.LeechCraft.IColorThemeManager/1.0"
)
IColorThemeManager
Proxy class to the color theme management engine.
Definition
icolorthememanager.h:18
IColorThemeManager::GetQObject
virtual QObject * GetQObject()=0
Returns the manager as a QObject.
IColorThemeManager::GetQMLColor
virtual QColor GetQMLColor(const QByteArray §ion, const QByteArray &key)=0
Returns the color for the given QML section and key.
IColorThemeManager::~IColorThemeManager
virtual ~IColorThemeManager()
Definition
icolorthememanager.h:20
IColorThemeManager::themeChanged
virtual void themeChanged()=0
Emitted after the color theme changes.
src
interfaces
core
icolorthememanager.h
Generated by
1.17.0