summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/imagepreview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/cups/imagepreview.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/cups/imagepreview.h')
-rw-r--r--kdeprint/cups/imagepreview.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/cups/imagepreview.h b/kdeprint/cups/imagepreview.h
index e709490fb..1967efdc2 100644
--- a/kdeprint/cups/imagepreview.h
+++ b/kdeprint/cups/imagepreview.h
@@ -20,19 +20,19 @@
#ifndef IMAGEPREVIEW_H
#define IMAGEPREVIEW_H
-#include <qwidget.h>
-#include <qimage.h>
+#include <tqwidget.h>
+#include <tqimage.h>
class ImagePreview : public QWidget
{
public:
- ImagePreview(QWidget *parent=0, const char *name=0);
+ ImagePreview(TQWidget *parent=0, const char *name=0);
~ImagePreview();
void setParameters(int brightness, int hue, int saturation, int gamma);
- void setImage(const QImage& image);
+ void setImage(const TQImage& image);
void setBlackAndWhite(bool on);
- QSize minimumSizeHint() const;
+ TQSize minimumSizeHint() const;
private: // Private attributes
int brightness_;
@@ -40,10 +40,10 @@ private: // Private attributes
int saturation_;
int gamma_;
bool bw_;
- QImage image_;
+ TQImage image_;
protected: // Protected methods
- void paintEvent(QPaintEvent*);
+ void paintEvent(TQPaintEvent*);
};
#endif