summaryrefslogtreecommitdiffstats
path: root/kjsembed/tools/headers/qpen.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/tools/headers/qpen.h')
-rw-r--r--kjsembed/tools/headers/qpen.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kjsembed/tools/headers/qpen.h b/kjsembed/tools/headers/qpen.h
index e1a5c582..ef631a87 100644
--- a/kjsembed/tools/headers/qpen.h
+++ b/kjsembed/tools/headers/qpen.h
@@ -1,7 +1,7 @@
/****************************************************************************
**
**
-** Definition of TTQPen class
+** Definition of TQPen class
**
** Created : 940112
**
@@ -44,41 +44,41 @@
#endif // QT_H
-class Q_EXPORT TTQPen: public Qt
+class Q_EXPORT TQPen: public Qt
{
public:
- TTQPen();
- TTQPen( PenStyle );
- TTQPen( const TTQColor &color, uint width=0, PenStyle style=SolidLine );
- TTQPen( const TTQColor &cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j);
- TTQPen( const TTQPen & );
- ~TTQPen();
- TTQPen &operator=( const TTQPen & );
+ TQPen();
+ TQPen( PenStyle );
+ TQPen( const TQColor &color, uint width=0, PenStyle style=SolidLine );
+ TQPen( const TQColor &cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j);
+ TQPen( const TQPen & );
+ ~TQPen();
+ TQPen &operator=( const TQPen & );
PenStyle style() const { return data->style; }
void setStyle( PenStyle );
uint width() const { return data->width; }
void setWidth( uint );
- const TTQColor &color() const { return data->color; }
- void setColor( const TTQColor & );
+ const TQColor &color() const { return data->color; }
+ void setColor( const TQColor & );
PenCapStyle capStyle() const;
void setCapStyle( PenCapStyle );
PenJoinStyle joinStyle() const;
void setJoinStyle( PenJoinStyle );
- bool operator==( const TTQPen &p ) const;
- bool operator!=( const TTQPen &p ) const
+ bool operator==( const TQPen &p ) const;
+ bool operator!=( const TQPen &p ) const
{ return !(operator==(p)); }
private:
- friend class TTQPainter;
+ friend class TQPainter;
#ifdef Q_WS_WIN
friend class TQFontEngineWin;
#endif
TQPen copy() const;
void detach();
- void init( const TTQColor &, uint, uint );
+ void init( const TQColor &, uint, uint );
struct TQPenData : public TQShared { // pen data
PenStyle style;
uint width;
@@ -89,11 +89,11 @@ private:
/*****************************************************************************
- TTQPen stream functions
+ TQPen stream functions
*****************************************************************************/
#ifndef QT_NO_DATASTREAM
-Q_EXPORT TTQDataStream &operator<<( TTQDataStream &, const TTQPen & );
-Q_EXPORT TTQDataStream &operator>>( TTQDataStream &, TTQPen & );
+Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPen & );
+Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPen & );
#endif
#endif // TQPEN_H