From e63beeb5bdb82987b1e00bc35178667786fbad48 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 16:20:48 -0600 Subject: Fix incorrect conversion --- kjsembed/bindings/brush_imp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kjsembed/bindings/brush_imp.cpp') diff --git a/kjsembed/bindings/brush_imp.cpp b/kjsembed/bindings/brush_imp.cpp index 571d64ea..ab2eee3f 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, "TTQBrush") ) 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, "TTQBrush") ) return KJS::Value(); + if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TQBrush") ) return KJS::Value(); JSValueProxy *op = JSProxy::toValueProxy( self.imp() ); - TTQBrush 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: { - TTQColor color = extractTQColor(exec, args, 0); + TQColor color = extractTQColor(exec, args, 0); brush.setColor(color); break; } -- cgit v1.2.1