diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:12:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:12:48 -0600 |
commit | f49521ca3d0cbf2197b353a7c35f924e7b5b89ff (patch) | |
tree | 58fdba2caa721a57abc5ad2a293c978f57629778 /extra | |
parent | 77ad361b74e6bda59916cc01c13c0b44306d730e (diff) | |
download | pytde-f49521ca3d0cbf2197b353a7c35f924e7b5b89ff.tar.gz pytde-f49521ca3d0cbf2197b353a7c35f924e7b5b89ff.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'extra')
-rw-r--r-- | extra/kde300/kicontheme.h | 54 | ||||
-rw-r--r-- | extra/kde301/kicontheme.h | 54 | ||||
-rw-r--r-- | extra/kde303/kicontheme.h | 54 | ||||
-rw-r--r-- | extra/kde310/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde311/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde312/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde313/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde314/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde315/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde320/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde321/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde322/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde323/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde330/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde331/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde332/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde340/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde341/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde342/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde343/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde350/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde351/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde352/kicontheme.h | 64 | ||||
-rw-r--r-- | extra/kde353/kicontheme.h | 64 |
24 files changed, 753 insertions, 753 deletions
diff --git a/extra/kde300/kicontheme.h b/extra/kde300/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde300/kicontheme.h +++ b/extra/kde300/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde301/kicontheme.h b/extra/kde301/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde301/kicontheme.h +++ b/extra/kde301/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde303/kicontheme.h b/extra/kde303/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde303/kicontheme.h +++ b/extra/kde303/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde310/kicontheme.h b/extra/kde310/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde310/kicontheme.h +++ b/extra/kde310/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde311/kicontheme.h b/extra/kde311/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde311/kicontheme.h +++ b/extra/kde311/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde312/kicontheme.h b/extra/kde312/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde312/kicontheme.h +++ b/extra/kde312/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde313/kicontheme.h b/extra/kde313/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde313/kicontheme.h +++ b/extra/kde313/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde314/kicontheme.h b/extra/kde314/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde314/kicontheme.h +++ b/extra/kde314/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde315/kicontheme.h b/extra/kde315/kicontheme.h index cfd6eed..36b21db 100644 --- a/extra/kde315/kicontheme.h +++ b/extra/kde315/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde320/kicontheme.h b/extra/kde320/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde320/kicontheme.h +++ b/extra/kde320/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde321/kicontheme.h b/extra/kde321/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde321/kicontheme.h +++ b/extra/kde321/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde322/kicontheme.h b/extra/kde322/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde322/kicontheme.h +++ b/extra/kde322/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde323/kicontheme.h b/extra/kde323/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde323/kicontheme.h +++ b/extra/kde323/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde330/kicontheme.h b/extra/kde330/kicontheme.h index d1ac559..1bd639a 100644 --- a/extra/kde330/kicontheme.h +++ b/extra/kde330/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -146,18 +146,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -166,8 +166,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -254,17 +254,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -272,7 +272,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -280,20 +280,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -326,8 +326,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde331/kicontheme.h b/extra/kde331/kicontheme.h index 913bea4..8fb5cf8 100644 --- a/extra/kde331/kicontheme.h +++ b/extra/kde331/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -148,18 +148,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -168,8 +168,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -256,17 +256,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -274,7 +274,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -282,20 +282,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -328,8 +328,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde332/kicontheme.h b/extra/kde332/kicontheme.h index 8031d39..11b9c9d 100644 --- a/extra/kde332/kicontheme.h +++ b/extra/kde332/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -148,18 +148,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -168,8 +168,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -256,17 +256,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -274,7 +274,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -282,20 +282,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -328,8 +328,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde340/kicontheme.h b/extra/kde340/kicontheme.h index fac3fdb..1345d00 100644 --- a/extra/kde340/kicontheme.h +++ b/extra/kde340/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde341/kicontheme.h b/extra/kde341/kicontheme.h index fac3fdb..1345d00 100644 --- a/extra/kde341/kicontheme.h +++ b/extra/kde341/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde342/kicontheme.h b/extra/kde342/kicontheme.h index 9c94b4c..43a53d9 100644 --- a/extra/kde342/kicontheme.h +++ b/extra/kde342/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde343/kicontheme.h b/extra/kde343/kicontheme.h index 9c94b4c..43a53d9 100644 --- a/extra/kde343/kicontheme.h +++ b/extra/kde343/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde350/kicontheme.h b/extra/kde350/kicontheme.h index 793f4a6..6c5bd06 100644 --- a/extra/kde350/kicontheme.h +++ b/extra/kde350/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde351/kicontheme.h b/extra/kde351/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde351/kicontheme.h +++ b/extra/kde351/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde352/kicontheme.h b/extra/kde352/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde352/kicontheme.h +++ b/extra/kde352/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde353/kicontheme.h b/extra/kde353/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde353/kicontheme.h +++ b/extra/kde353/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; |