diff options
Diffstat (limited to 'kjsembed/bindings/brush_imp.cpp')
-rw-r--r-- | kjsembed/bindings/brush_imp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kjsembed/bindings/brush_imp.cpp b/kjsembed/bindings/brush_imp.cpp index c01a03a2..571d64ea 100644 --- a/kjsembed/bindings/brush_imp.cpp +++ b/kjsembed/bindings/brush_imp.cpp @@ -41,7 +41,7 @@ BrushImp::~BrushImp() void BrushImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) { - if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TQBrush") ) return; + if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TTQBrush") ) 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, "TQBrush") ) return KJS::Value(); + if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TTQBrush") ) return KJS::Value(); JSValueProxy *op = JSProxy::toValueProxy( self.imp() ); - TQBrush brush = op->toVariant().toBrush(); + TTQBrush brush = op->toVariant().toBrush(); KJS::Value retValue = KJS::Value(); switch ( mid ) { @@ -94,7 +94,7 @@ KJS::Value BrushImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::L case MethodsetStyle: { int style = extractInt(exec, args, 0); - brush.setStyle((Qt::BrushStyle)style); + brush.setStyle((TQt::BrushStyle)style); break; } case MethodColor: @@ -104,7 +104,7 @@ KJS::Value BrushImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::L } case MethodsetColor: { - TQColor color = extractQColor(exec, args, 0); + TTQColor color = extractTQColor(exec, args, 0); brush.setColor(color); break; } |