summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_widget.h')
-rw-r--r--src/modules/objects/class_widget.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/modules/objects/class_widget.h b/src/modules/objects/class_widget.h
index ecd87bba..807d50ab 100644
--- a/src/modules/objects/class_widget.h
+++ b/src/modules/objects/class_widget.h
@@ -23,21 +23,22 @@
//
#include <kvi_tal_tooltip.h>
#include "kvi_string.h"
-#include "qtooltip.h"
+#include "tqtooltip.h"
#include "object_macros.h"
class KviKvsObject_widget : public KviKvsObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KVSO_DECLARE_OBJECT(KviKvsObject_widget)
public:
- QWidget * widget() { return (QWidget *)object(); };
+ TQWidget * widget() { return (TQWidget *)object(); };
protected:
virtual bool init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams);
- virtual bool eventFilter(QObject *o,QEvent *e);
+ virtual bool eventFilter(TQObject *o,TQEvent *e);
// ok, it is clear that we're messing with the naming conventions for the
// object classes :D
@@ -58,7 +59,7 @@ protected:
bool function_fontMetricsHeight(KviKvsObjectFunctionCall * c);
bool function_fontMetricsWidth(KviKvsObjectFunctionCall * c);
bool function_foregroundColor(KviKvsObjectFunctionCall *c);
- bool function_geometry(KviKvsObjectFunctionCall *c);
+ bool function_tqgeometry(KviKvsObjectFunctionCall *c);
bool function_globalCursorX(KviKvsObjectFunctionCall *c);
bool function_globalCursorY(KviKvsObjectFunctionCall *c);
bool function_hasFocus(KviKvsObjectFunctionCall *c);
@@ -73,7 +74,7 @@ protected:
bool function_move(KviKvsObjectFunctionCall *c);
bool function_parentWidget(KviKvsObjectFunctionCall *c);
bool function_raise(KviKvsObjectFunctionCall *);
- bool function_repaint(KviKvsObjectFunctionCall *c);
+ bool function_tqrepaint(KviKvsObjectFunctionCall *c);
bool function_reparent(KviKvsObjectFunctionCall *c);
bool function_resize(KviKvsObjectFunctionCall *c);
bool function_screenResolution(KviKvsObjectFunctionCall * c);
@@ -95,7 +96,7 @@ protected:
bool function_setGeometry(KviKvsObjectFunctionCall *c);
bool function_setWFlags(KviKvsObjectFunctionCall *c);
bool function_show(KviKvsObjectFunctionCall *c);
- bool function_sizeHint(KviKvsObjectFunctionCall *c);
+ bool function_tqsizeHint(KviKvsObjectFunctionCall *c);
bool function_width(KviKvsObjectFunctionCall *);
bool function_x(KviKvsObjectFunctionCall *);
bool function_y(KviKvsObjectFunctionCall *);