summaryrefslogtreecommitdiffstats
path: root/kjsembed/tools/headers/qbrush.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/tools/headers/qbrush.h
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-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/tools/headers/qbrush.h')
-rw-r--r--kjsembed/tools/headers/qbrush.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kjsembed/tools/headers/qbrush.h b/kjsembed/tools/headers/qbrush.h
index 16e4f3db..e85f0750 100644
--- a/kjsembed/tools/headers/qbrush.h
+++ b/kjsembed/tools/headers/qbrush.h
@@ -1,7 +1,7 @@
/****************************************************************************
**
**
-** Definition of QBrush class
+** Definition of TQBrush class
**
** Created : 940112
**
@@ -39,38 +39,38 @@
#define QBRUSH_H
#ifndef QT_H
-#include "qcolor.h"
-#include "qshared.h"
+#include "tqcolor.h"
+#include "tqshared.h"
#endif // QT_H
-class Q_EXPORT QBrush: public Qt
+class Q_EXPORT TQBrush: public Qt
{
friend class QPainter;
public:
- QBrush();
- QBrush( BrushStyle );
- QBrush( const QColor &, BrushStyle=SolidPattern );
- QBrush( const QColor &, const QPixmap & );
- QBrush( const QBrush & );
- ~QBrush();
- QBrush &operator=( const QBrush & );
+ TQBrush();
+ TQBrush( BrushStyle );
+ TQBrush( const TQColor &, BrushStyle=SolidPattern );
+ TQBrush( const TQColor &, const TQPixmap & );
+ TQBrush( const TQBrush & );
+ ~TQBrush();
+ TQBrush &operator=( const TQBrush & );
BrushStyle style() const { return data->style; }
void setStyle( BrushStyle );
- const QColor &color()const { return data->color; }
- void setColor( const QColor & );
- QPixmap *pixmap() const { return data->pixmap; }
- void setPixmap( const QPixmap & );
+ const TQColor &color()const { return data->color; }
+ void setColor( const TQColor & );
+ TQPixmap *pixmap() const { return data->pixmap; }
+ void setPixmap( const TQPixmap & );
- bool operator==( const QBrush &p ) const;
- bool operator!=( const QBrush &b ) const
+ bool operator==( const TQBrush &p ) const;
+ bool operator!=( const TQBrush &b ) const
{ return !(operator==(b)); }
private:
QBrush copy() const;
void detach();
- void init( const QColor &, BrushStyle );
+ void init( const TQColor &, BrushStyle );
struct QBrushData : public QShared { // brush data
BrushStyle style;
QColor color;
@@ -80,12 +80,12 @@ private:
/*****************************************************************************
- QBrush stream functions
+ TQBrush stream functions
*****************************************************************************/
#ifndef QT_NO_DATASTREAM
-Q_EXPORT QDataStream &operator<<( QDataStream &, const QBrush & );
-Q_EXPORT QDataStream &operator>>( QDataStream &, QBrush & );
+Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & );
+Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & );
#endif
#endif // QBRUSH_H