summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/pen_imp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/bindings/pen_imp.cpp
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt 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 25a38eee..8f9396bc 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, "TQPen") ) return;
+ if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TTQPen") ) 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, "TQPen") ) return KJS::Value();
+ if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TTQPen") ) return KJS::Value();
JSValueProxy *op = JSProxy::toValueProxy( self.imp() );
- TQPen pen = op->toVariant().toPen();
+ TTQPen 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:
{
- TQColor color = extractQColor(exec, args, 0);
+ TTQColor color = extractTQColor(exec, args, 0);
pen.setColor(color);
break;
}