diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /python/pykde/extra/kde300/kicontheme.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-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/kde300/kicontheme.h')
-rw-r--r-- | python/pykde/extra/kde300/kicontheme.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/python/pykde/extra/kde300/kicontheme.h b/python/pykde/extra/kde300/kicontheme.h index 78fc8f15..29666371 100644 --- a/python/pykde/extra/kde300/kicontheme.h +++ b/python/pykde/extra/kde300/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; @@ -75,7 +75,7 @@ public: /** * The full path of the icon. */ - QString path; + TQString path; private: KIconPrivate *d; @@ -94,53 +94,53 @@ public: /** * Load an icon theme by name. */ - 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. */ - QString name() const { return mName; } + TQString name() const { return mName; } /** * A description for the icon theme. */ - QString description() const { return mDesc; } + TQString description() const { return mDesc; } /** * Return the name of the "example" icon. */ - QString example() const; + TQString example() const; /** * Return the name of the screenshot. */ - QString screenshot() const; + TQString screenshot() const; /** * Returns the name of this theme's link overlay. */ - QString linkOverlay() const; + TQString linkOverlay() const; /** * Returns the name of this theme's zip overlay. */ - QString zipOverlay() const; + TQString zipOverlay() const; /** * Returns the name of this theme's lock overlay. */ - QString lockOverlay() const; + TQString lockOverlay() const; /** * Returns the toplevel theme directory. */ - QString dir() const { return mDir; } + TQString dir() const { return mDir; } /** * The themes this icon theme falls back on. */ - QStringList inherits() const { return mInherits; } + TQStringList inherits() const { return mInherits; } /** * The icon theme exists? @@ -163,17 +163,17 @@ public: /** * Query available sizes for a group. */ - QValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(KIcon::Group group) const; /** * Query available icons for a size and context. */ - 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. */ - QStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; /** @@ -186,32 +186,32 @@ public: * @return A KIcon class that describes the icon. If an icon is found, * @ref #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. */ - static QStringList list(); + static TQStringList list(); /** * Returns the current icon theme. */ - static QString current(); + static TQString current(); static void reconfigure(); 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 |