diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/builder/mwidget.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/builder/mwidget.h')
-rw-r--r-- | arts/builder/mwidget.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arts/builder/mwidget.h b/arts/builder/mwidget.h index 93f7726f..8f92c946 100644 --- a/arts/builder/mwidget.h +++ b/arts/builder/mwidget.h @@ -55,15 +55,15 @@ protected: ModulePort *selectedPort; std::list<Module *> *ModuleList; - std::list<QRect> UpdateList; + std::list<TQRect> UpdateList; - void paintCell(QPainter *p, int y, int x); - void paintCellBackground(QPainter *p, int y, int x); - void paintConnection(QPainter *p, int x, int y, int arx, int ary); - void paintConnections(QPainter *p, int y, int x); - void mousePressEvent( QMouseEvent *e ); - void mouseMoveEvent( QMouseEvent *e ); - void mouseReleaseEvent( QMouseEvent *e ); + void paintCell(TQPainter *p, int y, int x); + void paintCellBackground(TQPainter *p, int y, int x); + void paintConnection(TQPainter *p, int x, int y, int arx, int ary); + void paintConnections(TQPainter *p, int y, int x); + void mousePressEvent( TQMouseEvent *e ); + void mouseMoveEvent( TQMouseEvent *e ); + void mouseReleaseEvent( TQMouseEvent *e ); bool hasSpace(StructureComponent *c, int destx, int desty, bool ignore_selected = false); @@ -72,7 +72,7 @@ protected: void setSelectAll(bool newstate); void beginUpdate(); - void redrawCells(QRect &r); + void redrawCells(TQRect &r); void redrawAll(); void endUpdate(); @@ -105,10 +105,10 @@ public: void reInit(); void leaveTool(MWidgetTool *tool, bool wasModified= false); - QPoint componentPos(const StructureComponent *component) const; - QPoint portPos(const ModulePort *port) const; + TQPoint componentPos(const StructureComponent *component) const; + TQPoint portPos(const ModulePort *port) const; - ModuleWidget( Structure *structure, QWidget *parent = 0, + ModuleWidget( Structure *structure, TQWidget *parent = 0, const char *name = 0, WFlags f = 0); ~ModuleWidget(); |