13 #ifndef __TDEIconTheme_h_Included__ 14 #define __TDEIconTheme_h_Included__ 17 #include <tqstringlist.h> 18 #include <tqptrlist.h> 19 #include <tqvaluelist.h> 20 #include "tdelibs_export.h" 23 class TDEIconThemeDir;
25 class TDEIconThemePrivate;
44 bool isValid()
const {
return size != 0; }
196 TDEIconTheme(
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<TDEIconThemeDir> mDirs;
363 TDEIconThemePrivate *d;
365 static TQString *_theme;
366 static TQStringList *_theme_list;
Access KDE Configuration entries.
TQString path
The full path of the icon.
bool isValid() const
Return true if this icon is valid, false otherwise.
An action icon (e.g. 'save', 'print').
An icon that represents a device.
An icon that is animated.
Overlays
This defines an overlay, a semi-transparent image that is projected onto the icon.
Only try to find an exact match.
An icon that adds information to an existing icon.
Type
The type of the icon.
StdSizes
These are the standard sizes for icons.
An icon that represents a category.
Class to use/access icon themes in KDE.
Context
Defines the context of the icon.
MatchType
The type of a match.
One icon as found by TDEIconTheme.
An icon that represents a location (e.g. 'home', 'trash').
An icon that represents a country's flag.
TQString description() const
A description for the icon theme.
An icon that represents a file system.
TQStringList inherits() const
The themes this icon theme falls back on.
TQString name() const
The stylized name of the icon theme.
Some icon with unknown purpose.
Type type
The type of the icon: Fixed, Scalable or Threshold.
Group
The group of the icon.
Context context
The context of the icon.
int threshold
The threshold in case type == Threshold.
int size
The size in pixels of the icon.
An icon that expresses an emotion.
TQString dir() const
Returns the toplevel theme directory.
An icon that represents an application.
An icon that represents a mime type (or file type).
int depth() const
The minimum display depth required for this theme.
States
Defines the possible states of an icon.