diff options
Diffstat (limited to 'kjsembed/bindings/brush_imp.cpp')
-rw-r--r-- | kjsembed/bindings/brush_imp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/bindings/brush_imp.cpp b/kjsembed/bindings/brush_imp.cpp index 061dc1f4..c01a03a2 100644 --- a/kjsembed/bindings/brush_imp.cpp +++ b/kjsembed/bindings/brush_imp.cpp @@ -22,8 +22,8 @@ #include <kjsembed/global.h> #include <kjsembed/jsvalueproxy.h> #include <kjsembed/jsbinding.h> -#include <qvariant.h> -#include <qbrush.h> +#include <tqvariant.h> +#include <tqbrush.h> #include "brush_imp.h" @@ -41,7 +41,7 @@ BrushImp::~BrushImp() void BrushImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { - if( !JSProxy::checkType(object, JSProxy::ValueProxy, "QBrush") ) return; + if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TQBrush") ) return; JSProxy::MethodTable methods[] = { { Methodstyle, "style"}, @@ -80,9 +80,9 @@ void BrushImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { KJS::Value BrushImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) { - if( !JSProxy::checkType(self, JSProxy::ValueProxy, "QBrush") ) return KJS::Value(); + if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TQBrush") ) return KJS::Value(); JSValueProxy *op = JSProxy::toValueProxy( self.imp() ); - QBrush brush = op->toVariant().toBrush(); + TQBrush brush = op->toVariant().toBrush(); KJS::Value retValue = KJS::Value(); switch ( mid ) { @@ -104,7 +104,7 @@ KJS::Value BrushImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::L } case MethodsetColor: { - QColor color = extractQColor(exec, args, 0); + TQColor color = extractQColor(exec, args, 0); brush.setColor(color); break; } |