File indexing completed on 2024-03-24 15:27:32
0001 /* 0002 * 0003 * This file is part of the KDE project, module kdecore. 0004 * Copyright (C) 2000 Geert Jansen <jansen@kde.org> 0005 * Antonio Larrosa <larrosa@kde.org> 0006 * 0007 * This library is free software; you can redistribute it and/or 0008 * modify it under the terms of the GNU Library General Public 0009 * License version 2 as published by the Free Software Foundation. 0010 * 0011 * This library is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0014 * Library General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU Library General Public License 0017 * along with this library; see the file COPYING.LIB. If not, write to 0018 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0019 * Boston, MA 02110-1301, USA. 0020 */ 0021 0022 #ifndef K3ICON_P_H 0023 #define K3ICON_P_H 0024 0025 #include <QString> 0026 0027 #include <kdelibs4support_export.h> 0028 #include <kiconloader.h> 0029 0030 /** 0031 * @internal 0032 * One icon as found by KIconTheme. Also serves as a namespace containing 0033 * icon related constants. 0034 * @warning You should not use this class externally. This class is exported because 0035 * the KCM needs it. 0036 */ 0037 class KDELIBS4SUPPORT_DEPRECATED_EXPORT K3Icon 0038 { 0039 public: 0040 K3Icon(); 0041 ~K3Icon(); 0042 0043 bool isValid() const; 0044 int size; 0045 KIconLoader::Context context; 0046 KIconLoader::Type type; 0047 int threshold; 0048 QString path; 0049 0050 private: 0051 class KIconPrivate; 0052 KIconPrivate *d; 0053 }; 0054 0055 #endif