summaryrefslogtreecommitdiffstats
path: root/kanagram/src/leitnersystemview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kanagram/src/leitnersystemview.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/leitnersystemview.h')
-rw-r--r--kanagram/src/leitnersystemview.h16
1 files changed, 8 insertions, 8 deletions
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 <qscrollview.h>
-#include <qpixmap.h>
+#include <tqscrollview.h>
+#include <tqpixmap.h>
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