summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/pen_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/pen_imp.cpp')
-rw-r--r--kjsembed/bindings/pen_imp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/bindings/pen_imp.cpp b/kjsembed/bindings/pen_imp.cpp
index 8f9396bc..63344a52 100644
--- a/kjsembed/bindings/pen_imp.cpp
+++ b/kjsembed/bindings/pen_imp.cpp
@@ -40,7 +40,7 @@ Pen::~Pen()
}
void Pen::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
- if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TTQPen") ) return;
+ if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TQPen") ) return;
JSProxy::MethodTable methods[] = {
{ Methodwidth, "width"},
@@ -80,9 +80,9 @@ void Pen::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
KJS::Value Pen::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) {
- if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TTQPen") ) return KJS::Value();
+ if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TQPen") ) return KJS::Value();
JSValueProxy *op = JSProxy::toValueProxy( self.imp() );
- TTQPen pen = op->toVariant().toPen();
+ TQPen pen = op->toVariant().toPen();
KJS::Value retValue = KJS::Value();
switch ( mid ) {
@@ -104,7 +104,7 @@ KJS::Value Pen::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &
}
case MethodsetColor:
{
- TTQColor color = extractTQColor(exec, args, 0);
+ TQColor color = extractTQColor(exec, args, 0);
pen.setColor(color);
break;
}