diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
commit | cfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch) | |
tree | e3219edf5f827eaa4db3feb509a17846a1a5a752 /amor/amorpm.h | |
parent | a73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff) | |
download | tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amor/amorpm.h')
-rw-r--r-- | amor/amorpm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/amor/amorpm.h b/amor/amorpm.h index f67850b..ad2a355 100644 --- a/amor/amorpm.h +++ b/amor/amorpm.h @@ -31,8 +31,8 @@ #include <config.h> #endif -#include <qdict.h> -#include <qpixmap.h> +#include <tqdict.h> +#include <tqpixmap.h> //--------------------------------------------------------------------------- // @@ -44,19 +44,19 @@ public: AmorPixmapManager(); virtual ~AmorPixmapManager(); - void setPixmapDir(const QString &dir) + void setPixmapDir(const TQString &dir) { mPixmapDir = dir; } void reset() { mPixmapDir = "."; mPixmaps.clear(); } - const QPixmap *load(const QString & img); - const QPixmap *pixmap(const QString & img) const + const TQPixmap *load(const TQString & img); + const TQPixmap *pixmap(const TQString & img) const { return mPixmaps.find(img); } static AmorPixmapManager *manager(); public: - QString mPixmapDir; // get pixmaps from here - QDict<QPixmap> mPixmaps; // list of pixmaps + TQString mPixmapDir; // get pixmaps from here + TQDict<TQPixmap> mPixmaps; // list of pixmaps static AmorPixmapManager *mManager; // static pointer to instance }; |