From f2bfcad7ffdd09911f282afe2a2051b3708601c9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:51 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- tdecore/kiconloader_p.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'tdecore/kiconloader_p.h') diff --git a/tdecore/kiconloader_p.h b/tdecore/kiconloader_p.h index 4c3c87339..82ff9dbe8 100644 --- a/tdecore/kiconloader_p.h +++ b/tdecore/kiconloader_p.h @@ -9,8 +9,8 @@ * exact licensing terms. */ -#ifndef __KIconLoader_p_h_Included__ -#define __KIconLoader_p_h_Included__ +#ifndef __TDEIconLoader_p_h_Included__ +#define __TDEIconLoader_p_h_Included__ #include #include @@ -19,37 +19,37 @@ #include #include -class KIconThemeNode +class TDEIconThemeNode { public: - KIconThemeNode(KIconTheme *_theme); - ~KIconThemeNode(); + TDEIconThemeNode(TDEIconTheme *_theme); + ~TDEIconThemeNode(); - void queryIcons(TQStringList *lst, int size, KIcon::Context context) const; - void queryIconsByContext(TQStringList *lst, int size, KIcon::Context context) const; - KIcon findIcon(const TQString& name, int size, KIcon::MatchType match) const; + void queryIcons(TQStringList *lst, int size, TDEIcon::Context context) const; + void queryIconsByContext(TQStringList *lst, int size, TDEIcon::Context context) const; + TDEIcon findIcon(const TQString& name, int size, TDEIcon::MatchType match) const; void printTree(TQString& dbgString) const; - KIconTheme *theme; + TDEIconTheme *theme; }; -class KIconLoaderPrivate : public TQObject +class TDEIconLoaderPrivate : public TQObject { Q_OBJECT public: TQStringList mThemesInTree; - KIconGroup *mpGroups; - KIconThemeNode *mpThemeRoot; + TDEIconGroup *mpGroups; + TDEIconThemeNode *mpThemeRoot; TDEStandardDirs *mpDirs; - KIconLoader *q; - KIconEffect mpEffect; + TDEIconLoader *q; + TDEIconEffect mpEffect; TQDict imgDict; TQImage lastImage; // last loaded image without effect applied TQString lastImageKey; // key for icon without effect TQString appname; - int lastIconType; // see KIcon::type - int lastIconThreshold; // see KIcon::threshold - TQPtrList links; + int lastIconType; // see TDEIcon::type + int lastIconThreshold; // see TDEIcon::threshold + TQPtrList links; bool extraDesktopIconsLoaded; bool delayedLoading; @@ -57,4 +57,4 @@ public slots: void reconfigure(); }; -#endif // __KIconLoader_p_h_Included__ +#endif // __TDEIconLoader_p_h_Included__ -- cgit v1.2.1