summaryrefslogtreecommitdiffstats
path: root/src/pixmapviewer.h
diff options
context:
space:
mode:
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 <peter.penz@gmx.at>
*/
-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;
};