summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/pen_imp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/bindings/pen_imp.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
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;
}