summaryrefslogtreecommitdiffstats
path: root/arts/builder/mwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/mwidget.h')
-rw-r--r--arts/builder/mwidget.h24
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();