summaryrefslogtreecommitdiffstats
path: root/kdeprint/marginpreview.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/marginpreview.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/marginpreview.h')
-rw-r--r--kdeprint/marginpreview.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdeprint/marginpreview.h b/kdeprint/marginpreview.h
index 808c1188f..8cceba7bc 100644
--- a/kdeprint/marginpreview.h
+++ b/kdeprint/marginpreview.h
@@ -20,14 +20,14 @@
#ifndef MARGINPREVIEW_H
#define MARGINPREVIEW_H
-#include <qwidget.h>
+#include <tqwidget.h>
class MarginPreview : public QWidget
{
Q_OBJECT
public:
- MarginPreview(QWidget *parent = 0, const char *name = 0);
+ MarginPreview(TQWidget *parent = 0, const char *name = 0);
~MarginPreview();
// note : unit -> points (1/72th in)
void setPageSize(float w, float h);
@@ -43,13 +43,13 @@ signals:
void marginChanged(int type, float value);
protected:
- void paintEvent(QPaintEvent *);
- void resizeEvent(QResizeEvent *);
- void mouseMoveEvent(QMouseEvent *);
- void mousePressEvent(QMouseEvent *);
- void mouseReleaseEvent(QMouseEvent *);
- int locateMouse(const QPoint& p);
- void drawTempLine(QPainter*);
+ void paintEvent(TQPaintEvent *);
+ void resizeEvent(TQResizeEvent *);
+ void mouseMoveEvent(TQMouseEvent *);
+ void mousePressEvent(TQMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
+ int locateMouse(const TQPoint& p);
+ void drawTempLine(TQPainter*);
private:
float width_, height_;