summaryrefslogtreecommitdiffstats
path: root/src/pixmapviewer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
commit7a741e43ff09e70396a918956219b8316c48e522 (patch)
tree3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/pixmapviewer.h
parenta48487ef0c329434b58b6f920111bb0999f1109e (diff)
downloaddolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz
dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/pixmapviewer.h')
-rw-r--r--src/pixmapviewer.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/pixmapviewer.h b/src/pixmapviewer.h
index 6c24974..7783b13 100644
--- a/src/pixmapviewer.h
+++ b/src/pixmapviewer.h
@@ -21,8 +21,8 @@
#ifndef PIXMAPVIEWER_H
#define PIXMAPVIEWER_H
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
/**
* @brief Widget which shows a pixmap centered inside the boundaries.
@@ -30,20 +30,21 @@
* @see IconsViewSettingsPage
* @author Peter Penz <[email protected]>
*/
-class PixmapViewer : public QWidget
+class PixmapViewer : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- PixmapViewer(QWidget* parent);
+ PixmapViewer(TQWidget* tqparent);
virtual ~PixmapViewer();
- void setPixmap(const QPixmap& pixmap);
- const QPixmap& pixmap() const { return m_pixmap; }
+ void setPixmap(const TQPixmap& pixmap);
+ const TQPixmap& pixmap() const { return m_pixmap; }
protected:
- virtual void paintEvent(QPaintEvent* event);
+ virtual void paintEvent(TQPaintEvent* event);
private:
- QPixmap m_pixmap;
+ TQPixmap m_pixmap;
};