summaryrefslogtreecommitdiffstats
path: root/python/pykde/extra/kde332/kicontheme.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /python/pykde/extra/kde332/kicontheme.h
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/extra/kde332/kicontheme.h')
-rw-r--r--python/pykde/extra/kde332/kicontheme.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/python/pykde/extra/kde332/kicontheme.h b/python/pykde/extra/kde332/kicontheme.h
index 5eabf75b..73167a0f 100644
--- a/python/pykde/extra/kde332/kicontheme.h
+++ b/python/pykde/extra/kde332/kicontheme.h
@@ -15,9 +15,9 @@
#ifndef __KIconTheme_h_Included__
#define __KIconTheme_h_Included__
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qptrlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqptrlist.h>
class KConfig;
//class KIconThemeDir;
@@ -145,7 +145,7 @@ public:
/**
* The full path of the icon.
*/
- QString path;
+ TQString path;
private:
KIconPrivate *d;
@@ -168,71 +168,71 @@ public:
* @param appName the name of the application. Can be null. This argument
* allows applications to have themed application icons.
*/
- KIconTheme(const QString& name, const QString& appName=QString::null);
+ KIconTheme(const TQString& name, const TQString& appName=TQString::null);
~KIconTheme();
/**
* The stylized name of the icon theme.
* @return the (human-readable) name of the theme
*/
- QString name() const { return mName; }
+ TQString name() const { return mName; }
/**
* A description for the icon theme.
- * @return a human-readable description of the theme, QString::null
+ * @return a human-readable description of the theme, TQString::null
* if there is none
*/
- QString description() const { return mDesc; }
+ TQString description() const { return mDesc; }
/**
* Return the name of the "example" icon. This can be used to
* present the theme to the user.
- * @return the name of the example icon, QString::null if there is none
+ * @return the name of the example icon, TQString::null if there is none
*/
- QString example() const;
+ TQString example() const;
/**
* Return the name of the screenshot.
- * @return the name of the screenshot, QString::null if there is none
+ * @return the name of the screenshot, TQString::null if there is none
*/
- QString screenshot() const;
+ TQString screenshot() const;
/**
* Returns the name of this theme's link overlay.
* @return the name of the link overlay
*/
- QString linkOverlay() const;
+ TQString linkOverlay() const;
/**
* Returns the name of this theme's zip overlay.
* @return the name of the zip overlay
*/
- QString zipOverlay() const;
+ TQString zipOverlay() const;
/**
* Returns the name of this theme's lock overlay.
* @return the name of the lock overlay
*/
- QString lockOverlay() const;
+ TQString lockOverlay() const;
/**
* Returns the name of this theme's share overlay.
* @return the name of the share overlay
* @since 3.1
*/
- QString shareOverlay () const;
+ TQString shareOverlay () const;
/**
* Returns the toplevel theme directory.
* @return the directory of the theme
*/
- QString dir() const { return mDir; }
+ TQString dir() const { return mDir; }
/**
* The themes this icon theme falls back on.
* @return a list of icon themes that are used as fall-backs
*/
- QStringList inherits() const { return mInherits; }
+ TQStringList inherits() const { return mInherits; }
/**
* The icon theme exists?
@@ -266,7 +266,7 @@ public:
* @param group The icon group. See KIcon::Group.
* @return a list of available sized for the given group
*/
- QValueList<int> querySizes(KIcon::Group group) const;
+ TQValueList<int> querySizes(KIcon::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
*/
- QStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const;
+ TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const;
/**
* Query available icons for a context and preferred size.
@@ -282,7 +282,7 @@ public:
* @param context the context of the icons
* @return the list of icon names
*/
- QStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const;
+ TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const;
/**
@@ -295,19 +295,19 @@ public:
* @return A KIcon class that describes the icon. If an icon is found,
* @see KIcon::isValid will return true, and false otherwise.
*/
- KIcon iconPath(const QString& name, int size, KIcon::MatchType match) const;
+ KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const;
/**
* List all icon themes installed on the system, global and local.
* @return the list of all icon themes
*/
- static QStringList list();
+ static TQStringList list();
/**
* Returns the current icon theme.
* @return the name of the current theme
*/
- static QString current();
+ static TQString current();
/**
* Reconfigure the theme.
@@ -319,20 +319,20 @@ public:
* @return the name of the default theme name
* @since 3.1
*/
- static QString defaultThemeName();
+ static TQString defaultThemeName();
private:
int mDefSize[8];
- QValueList<int> mSizes[8];
+ TQValueList<int> mSizes[8];
int mDepth;
- QString mDir, mName, mDesc;
- QStringList mInherits;
-// QPtrList<KIconThemeDir> mDirs;
+ TQString mDir, mName, mDesc;
+ TQStringList mInherits;
+// TQPtrList<KIconThemeDir> mDirs;
// KIconThemePrivate *d;
- static QString *_theme;
- static QStringList *_theme_list;
+ static TQString *_theme;
+ static TQStringList *_theme_list;
};
#endif