From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kanagram/src/leitnersystemview.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kanagram/src/leitnersystemview.h') diff --git a/kanagram/src/leitnersystemview.h b/kanagram/src/leitnersystemview.h index be52bc0b..9f540cdf 100644 --- a/kanagram/src/leitnersystemview.h +++ b/kanagram/src/leitnersystemview.h @@ -12,8 +12,8 @@ #ifndef LEITNERSYSTEMVIEW_H #define LEITNERSYSTEMVIEW_H -#include -#include +#include +#include class LeitnerSystem; @@ -27,7 +27,7 @@ class LeitnerSystemView : public QScrollView Q_OBJECT public: - LeitnerSystemView(QWidget* parent = 0, const char* name = 0, WFlags f = 0); + LeitnerSystemView(TQWidget* parent = 0, const char* name = 0, WFlags f = 0); ~LeitnerSystemView(); @@ -38,17 +38,17 @@ signals: void boxClicked(int box); //is emited if the user clicks on a box protected: - virtual void drawContents(QPainter* p, int clipx, int clipy, int clipw, int cliph); - virtual void mousePressEvent(QMouseEvent* e); + virtual void drawContents(TQPainter* p, int clipx, int clipy, int clipw, int cliph); + virtual void mousePressEvent(TQMouseEvent* e); private: LeitnerSystem* m_leitnerSystem; //the system which is shown - void drawSystem(QPainter*); //paints the boxes - void drawConnections(QPainter*); //paints the arrows between the boxes + void drawSystem(TQPainter*); //paints the boxes + void drawConnections(TQPainter*); //paints the arrows between the boxes void calculateSize(); - //QRect m_viewArea; + //TQRect m_viewArea; int m_imageY; //high border of the images int m_distPixmap; int m_highlightedBox; //the box which is currently highlighted -- cgit v1.2.1