summaryrefslogtreecommitdiffstats
path: root/src/iconstorage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 19:00:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 19:00:37 +0000
commit25794f504692e5a36c490438814e9dfda8aaa2dd (patch)
tree8061e6d27b5bc9042afdff177872779c4e8c9015 /src/iconstorage.h
parent35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff)
downloadkchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.tar.gz
kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.zip
TQt4 port kchmviewer
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/iconstorage.h')
-rw-r--r--src/iconstorage.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/iconstorage.h b/src/iconstorage.h
index 0a7a14e..d9d60dd 100644
--- a/src/iconstorage.h
+++ b/src/iconstorage.h
@@ -22,8 +22,8 @@
#ifndef ICON_STORAGE_H
#define ICON_STORAGE_H
-#include <qmap.h>
-#include <qpixmap.h>
+#include <tqmap.h>
+#include <tqpixmap.h>
class KCHMIconStorage
@@ -54,16 +54,16 @@ class KCHMIconStorage
};
KCHMIconStorage();
- const QPixmap * getToolbarPixmap (pixmap_index_t pix);
- const QPixmap * getApplicationIcon();
- const QPixmap * getCloseWindowIcon();
+ const TQPixmap * getToolbarPixmap (pixmap_index_t pix);
+ const TQPixmap * getApplicationIcon();
+ const TQPixmap * getCloseWindowIcon();
private:
- const QPixmap * returnOrLoadImage (unsigned int id, const png_memory_image_t * image);
+ const TQPixmap * returnOrLoadImage (unsigned int id, const png_memory_image_t * image);
- QMap<unsigned int, QPixmap*> m_iconMap;
- QPixmap * m_iconApplication;
- QPixmap * m_iconCloseWindow;
+ TQMap<unsigned int, TQPixmap*> m_iconMap;
+ TQPixmap * m_iconApplication;
+ TQPixmap * m_iconCloseWindow;
};
extern KCHMIconStorage gIconStorage;