summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/brush_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/brush_imp.cpp')
-rw-r--r--kjsembed/bindings/brush_imp.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}