1/*
2 *
3 * This file is part of the KDE project, module kdecore.
4 * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
5 * Antonio Larrosa <larrosa@kde.org>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License version 2 as published by the Free Software Foundation.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 */
21
22#ifndef K3ICON_P_H
23#define K3ICON_P_H
24
25#include <QtCore/QString>
26
27#include <kdeui_export.h>
28#include <kiconloader.h>
29
30/**
31 * @internal
32 * One icon as found by KIconTheme. Also serves as a namespace containing
33 * icon related constants.
34 * @warning You should not use this class externally. This class is exported because
35 * the KCM needs it.
36 */
37class KDEUI_EXPORT K3Icon
38{
39public:
40 K3Icon();
41 ~K3Icon();
42
43 bool isValid() const;
44 int size;
45 KIconLoader::Context context;
46 KIconLoader::Type type;
47 int threshold;
48 QString path;
49
50private:
51 class KIconPrivate;
52 KIconPrivate * d;
53};
54
55#endif
56