diff options
Diffstat (limited to 'kjsembed/bindings/pen_imp.cpp')
-rw-r--r-- | kjsembed/bindings/pen_imp.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/bindings/pen_imp.cpp b/kjsembed/bindings/pen_imp.cpp index 67ada965..25a38eee 100644 --- a/kjsembed/bindings/pen_imp.cpp +++ b/kjsembed/bindings/pen_imp.cpp @@ -19,10 +19,10 @@ * Boston, MA 02110-1301, USA. */ -#include <qpainter.h> -#include <qpixmap.h> +#include <tqpainter.h> +#include <tqpixmap.h> #include <kjsembed/global.h> -#include <qpen.h> +#include <tqpen.h> #include "pen_imp.h" #include <kjsembed/jsvalueproxy.h> #include <kjsembed/jsbinding.h> @@ -40,7 +40,7 @@ Pen::~Pen() } void Pen::addBindings( KJS::ExecState *exec, KJS::Object &object ) { - if( !JSProxy::checkType(object, JSProxy::ValueProxy, "QPen") ) 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, "QPen") ) return KJS::Value(); + if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TQPen") ) return KJS::Value(); JSValueProxy *op = JSProxy::toValueProxy( self.imp() ); - QPen 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: { - QColor color = extractQColor(exec, args, 0); + TQColor color = extractQColor(exec, args, 0); pen.setColor(color); break; } |