diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/bindings/pixmap_imp.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/bindings/pixmap_imp.h')
-rw-r--r-- | kjsembed/bindings/pixmap_imp.h | 20 |
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, [email protected] * @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 |