summaryrefslogtreecommitdiffstats
path: root/kjsembed
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-02 13:14:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-02 13:14:46 +0900
commit225aca6edcb3be930e4dda017e64e42dd2235a27 (patch)
tree403ea1192d0063c80921db53d3ab7f59853830a1 /kjsembed
parentf248cde27726e2df27c341b6cd28b104c88a5d35 (diff)
downloadtdebindings-225aca6edcb3be930e4dda017e64e42dd2235a27.tar.gz
tdebindings-225aca6edcb3be930e4dda017e64e42dd2235a27.zip
Fix FTBFS caused by removal of tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kjsembed')
-rw-r--r--kjsembed/qtbindings/qt_imp.cpp10
-rw-r--r--kjsembed/qtbindings/qt_imp.h4
-rw-r--r--kjsembed/tools/headers/qbrush.h2
-rw-r--r--kjsembed/tools/headers/qcanvas.h2
-rw-r--r--kjsembed/tools/headers/qpen.h2
5 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/qtbindings/qt_imp.cpp b/kjsembed/qtbindings/qt_imp.cpp
index d7b2ed2e..899710f2 100644
--- a/kjsembed/qtbindings/qt_imp.cpp
+++ b/kjsembed/qtbindings/qt_imp.cpp
@@ -718,15 +718,15 @@ void QtImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
}
/**
- * Extract a Qt pointer from an Object.
+ * Extract a TQt pointer from an Object.
*/
-Qt *QtImp::toQt( KJS::Object &self )
+TQt *QtImp::toTQt( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<Qt *>( obj );
+ return dynamic_cast<TQt *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
@@ -736,7 +736,7 @@ Qt *QtImp::toQt( KJS::Object &self )
if ( op->typeName() != "Qt" )
return 0;
- return op->toNative<Qt>();
+ return op->toNative<TQt>();
}
/**
@@ -757,7 +757,7 @@ KJS::Object QtImp::construct( KJS::ExecState *exec, const KJS::List &args )
KJS::Value QtImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args )
{
- instance = QtImp::toQt( self );
+ instance = QtImp::toTQt( self );
switch( id ) {
diff --git a/kjsembed/qtbindings/qt_imp.h b/kjsembed/qtbindings/qt_imp.h
index 4dfbfc3c..5faa7be5 100644
--- a/kjsembed/qtbindings/qt_imp.h
+++ b/kjsembed/qtbindings/qt_imp.h
@@ -51,7 +51,7 @@ public:
*/
static void addBindings( KJS::ExecState *exec, KJS::Object &object );
- static Qt *toQt( KJS::Object &object );
+ static TQt *toTQt( KJS::Object &object );
//
// Constructors implemented by this class.
@@ -80,7 +80,7 @@ public:
virtual KJS::Value call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args );
private:
- Qt *instance; // Temp
+ TQt *instance; // Temp
int id;
bool cons;
};
diff --git a/kjsembed/tools/headers/qbrush.h b/kjsembed/tools/headers/qbrush.h
index 5c5fb034..60f7f638 100644
--- a/kjsembed/tools/headers/qbrush.h
+++ b/kjsembed/tools/headers/qbrush.h
@@ -44,7 +44,7 @@
#endif // QT_H
-class TQ_EXPORT TQBrush: public Qt
+class TQ_EXPORT TQBrush: public TQt
{
friend class TQPainter;
public:
diff --git a/kjsembed/tools/headers/qcanvas.h b/kjsembed/tools/headers/qcanvas.h
index dbdd6548..dc46c8e8 100644
--- a/kjsembed/tools/headers/qcanvas.h
+++ b/kjsembed/tools/headers/qcanvas.h
@@ -82,7 +82,7 @@ public:
class TQCanvasItemExtra;
-class TQM_EXPORT_CANVAS TQCanvasItem : public Qt
+class TQM_EXPORT_CANVAS TQCanvasItem : public TQt
{
public:
TQCanvasItem(TQCanvas* canvas);
diff --git a/kjsembed/tools/headers/qpen.h b/kjsembed/tools/headers/qpen.h
index 17fc002c..7532f50b 100644
--- a/kjsembed/tools/headers/qpen.h
+++ b/kjsembed/tools/headers/qpen.h
@@ -44,7 +44,7 @@
#endif // QT_H
-class TQ_EXPORT TQPen: public Qt
+class TQ_EXPORT TQPen: public TQt
{
public:
TQPen();