summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/pixmap_imp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/pixmap_imp.h')
-rw-r--r--kjsembed/bindings/pixmap_imp.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/bindings/pixmap_imp.h b/kjsembed/bindings/pixmap_imp.h
index 994c2699..08baa96c 100644
--- a/kjsembed/bindings/pixmap_imp.h
+++ b/kjsembed/bindings/pixmap_imp.h
@@ -24,13 +24,13 @@
#include <kjsembed/jsobjectproxy_imp.h>
-#include <qpixmap.h>
+#include <tqpixmap.h>
namespace KJSEmbed {
namespace Bindings {
/**
- * QObject Binding for QPixmap.
+ * TQObject Binding for TQPixmap.
*
* @author Richard Moore, rich@kde.org
* @version $Id$
@@ -60,25 +60,25 @@ private:
int width() const { return pix.width(); }
int height() const { return pix.height(); }
- QSize size() const { return pix.size(); }
- QRect rect() const { return pix.rect(); }
+ TQSize size() const { return pix.size(); }
+ TQRect rect() const { return pix.rect(); }
int depth() const { return pix.depth(); }
void resize( int w, int h );
- void resize( const QSize &size );
- void fill( const QColor &color );
+ void resize( const TQSize &size );
+ void fill( const TQColor &color );
- QPixmap mask();
- void setMask(const QPixmap& mask);
- QPixmap createHeuristicMask ( bool clipTight );
+ TQPixmap mask();
+ void setMask(const TQPixmap& mask);
+ TQPixmap createHeuristicMask ( bool clipTight );
// Image Capture
void grabWindow(int winID, int x =0, int y = 0, int w = -1, int h = -1);
private:
int mid;
- QPixmap pix;
+ TQPixmap pix;
};
} // namespace