summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/pixmap_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/pixmap_imp.cpp')
-rw-r--r--kjsembed/bindings/pixmap_imp.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/bindings/pixmap_imp.cpp b/kjsembed/bindings/pixmap_imp.cpp
index 50396d3a..5fead7ce 100644
--- a/kjsembed/bindings/pixmap_imp.cpp
+++ b/kjsembed/bindings/pixmap_imp.cpp
@@ -43,7 +43,7 @@ Pixmap::~Pixmap()
void Pixmap::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
- if( !JSProxy::checkType( object, JSProxy::ValueProxy, "TTQPixmap") )
+ if( !JSProxy::checkType( object, JSProxy::ValueProxy, "TQPixmap") )
return;
JSProxy::MethodTable methods[] = {
@@ -68,7 +68,7 @@ void Pixmap::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
KJS::Value Pixmap::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) {
- if( !JSProxy::checkType( self, JSProxy::ValueProxy, "TTQPixmap") )
+ if( !JSProxy::checkType( self, JSProxy::ValueProxy, "TQPixmap") )
return KJS::Value();
JSValueProxy *op = JSProxy::toValueProxy( self.imp() );
@@ -144,35 +144,35 @@ void Pixmap::resize( int w, int h )
pix.resize( w, h );
}
-void Pixmap::resize( const TTQSize &size )
+void Pixmap::resize( const TQSize &size )
{
pix.resize( size );
}
-void Pixmap::fill( const TTQColor &c )
+void Pixmap::fill( const TQColor &c )
{
pix.fill( c );
}
void Pixmap::grabWindow(int winID, int x, int y, int w, int h)
{
- pix = TTQPixmap::grabWindow((WId)winID, x, y, w, h);
+ pix = TQPixmap::grabWindow((WId)winID, x, y, w, h);
}
-TTQPixmap Pixmap::mask()
+TQPixmap Pixmap::mask()
{
return *(pix.mask());
}
-void Pixmap::setMask(const TTQPixmap& mask)
+void Pixmap::setMask(const TQPixmap& mask)
{
- TTQBitmap bm;
+ TQBitmap bm;
bm = mask;
pix.setMask(bm);
}
-TTQPixmap Pixmap::createHeuristicMask ( bool clipTight )
+TQPixmap Pixmap::createHeuristicMask ( bool clipTight )
{
- return (TTQPixmap)pix.createHeuristicMask(clipTight);
+ return (TQPixmap)pix.createHeuristicMask(clipTight);
}
} // namespace KJSEmbed::Bindings