LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
settableiconprovider.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
#include "
widthiconprovider.h
"
12
#include <QHash>
13
#include <QIcon>
14
15
namespace
LC::Util
16
{
27
class
UTIL_QML_API
SettableIconProvider :
public
WidthIconProvider
28
{
29
QHash<QStringList, QIcon> Icons_;
30
public
:
45
void
SetIcon (
const
QStringList& path,
const
QIcon& icon);
46
54
void
ClearIcon (
const
QStringList& path);
55
66
QIcon GetIcon (
const
QStringList& path)
override
;
67
};
68
}
LC::Util
Definition:
icoreproxy.h:33
widthiconprovider.h
UTIL_QML_API
#define UTIL_QML_API
Definition:
qmlconfig.h:16
src
util
qml
settableiconprovider.h
Generated by
1.8.17