summaryrefslogtreecommitdiffstats
path: root/tdecore/kiconloader_p.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
commite16866e072f94410321d70daedbcb855ea878cac (patch)
treeee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /tdecore/kiconloader_p.h
parenta58c20c1a7593631a1b50213c805507ebc16adaf (diff)
downloadtdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz
tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'tdecore/kiconloader_p.h')
-rw-r--r--tdecore/kiconloader_p.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/tdecore/kiconloader_p.h b/tdecore/kiconloader_p.h
new file mode 100644
index 000000000..4a7695390
--- /dev/null
+++ b/tdecore/kiconloader_p.h
@@ -0,0 +1,60 @@
+/* vi: ts=8 sts=4 sw=4
+ *
+ * This file is part of the KDE project, module tdecore.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+ * Antonio Larrosa <larrosa@kde.org>
+ *
+ * This is free software; it comes under the GNU Library General
+ * Public License, version 2. See the file "COPYING.LIB" for the
+ * exact licensing terms.
+ */
+
+#ifndef __KIconLoader_p_h_Included__
+#define __KIconLoader_p_h_Included__
+
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <kicontheme.h>
+#include <kiconloader.h>
+#include <kiconeffect.h>
+#include <tqdict.h>
+
+class KIconThemeNode
+{
+public:
+ KIconThemeNode(KIconTheme *_theme);
+ ~KIconThemeNode();
+
+ 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 printTree(TQString& dbgString) const;
+
+ KIconTheme *theme;
+};
+
+class KIconLoaderPrivate : public TQObject
+{
+ Q_OBJECT
+public:
+ TQStringList mThemesInTree;
+ KIconGroup *mpGroups;
+ KIconThemeNode *mpThemeRoot;
+ KStandardDirs *mpDirs;
+ KIconLoader *q;
+ KIconEffect mpEffect;
+ TQDict<TQImage> 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<KIconThemeNode> links;
+ bool extraDesktopIconsLoaded;
+ bool delayedLoading;
+
+public slots:
+ void reconfigure();
+};
+
+#endif // __KIconLoader_p_h_Included__