13 #ifndef __KIconTheme_h_Included__ 14 #define __KIconTheme_h_Included__ 17 #include <tqstringlist.h> 18 #include <tqptrlist.h> 19 #include <tqvaluelist.h> 20 #include "kdelibs_export.h" 25 class KIconThemePrivate;
44 bool isValid()
const {
return size != 0; }
196 KIconTheme(
const TQString& name,
const TQString& appName=TQString::null);
203 TQString
name()
const {
return mName; }
217 TQString example()
const;
223 TQString screenshot()
const;
229 TQString linkOverlay()
const;
235 TQString zipOverlay()
const;
241 TQString lockOverlay()
const;
248 TQString shareOverlay ()
const;
254 TQString
dir()
const {
return mDir; }
260 TQStringList
inherits()
const {
return mInherits; }
266 bool isValid()
const;
273 bool isHidden()
const;
280 int depth()
const {
return mDepth; }
335 static TQStringList list();
341 static TQString current();
346 static void reconfigure();
353 static TQString defaultThemeName();
357 TQValueList<int> mSizes[8];
360 TQString mDir, mName, mDesc;
361 TQStringList mInherits;
362 TQPtrList<KIconThemeDir> mDirs;
363 KIconThemePrivate *d;
365 static TQString *_theme;
366 static TQStringList *_theme_list;
Overlays
This defines an overlay, a semi-transparent image that is projected onto the icon.
Some icon with unknown purpose.
Group
The group of the icon.
int depth() const
The minimum display depth required for this theme.
TQString name() const
The stylized name of the icon theme.
An icon that adds information to an existing icon.
int size
The size in pixels of the icon.
An icon that represents an application.
An icon that is animated.
Only try to find an exact match.
TQString description() const
A description for the icon theme.
An icon that represents a mime type (or file type).
An icon that represents a country's flag.
TQString dir() const
Returns the toplevel theme directory.
Context context
The context of the icon.
One icon as found by KIconTheme.
Type type
The type of the icon: Fixed, Scalable or Threshold.
bool isValid() const
Return true if this icon is valid, false otherwise.
States
Defines the possible states of an icon.
An icon that represents a location (e.g. 'home', 'trash').
An icon that represents a file system.
Context
Defines the context of the icon.
int threshold
The threshold in case type == Threshold.
Type
The type of the icon.
StdSizes
These are the standard sizes for icons.
Access KDE Configuration entries.
An icon that represents a device.
TQStringList inherits() const
The themes this icon theme falls back on.
TQString path
The full path of the icon.
MatchType
The type of a match.
An icon that expresses an emotion.
An icon that represents a category.
Class to use/access icon themes in KDE.
An action icon (e.g. 'save', 'print').