summaryrefslogtreecommitdiffstats
path: root/kig/objects/object_drawer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/objects/object_drawer.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/objects/object_drawer.h')
-rw-r--r--kig/objects/object_drawer.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kig/objects/object_drawer.h b/kig/objects/object_drawer.h
index 2781acdc..6206522e 100644
--- a/kig/objects/object_drawer.h
+++ b/kig/objects/object_drawer.h
@@ -18,8 +18,8 @@
#ifndef KIG_OBJECTS_OBJECT_DRAWER_H
#define KIG_OBJECTS_OBJECT_DRAWER_H
-#include <qcolor.h>
-#include <qnamespace.h>
+#include <tqcolor.h>
+#include <tqnamespace.h>
class ObjectImp;
class KigPainter;
@@ -45,7 +45,7 @@ class Rect;
*/
class ObjectDrawer
{
- QColor mcolor;
+ TQColor mcolor;
bool mshown;
int mwidth;
Qt::PenStyle mstyle;
@@ -57,7 +57,7 @@ public:
* and pointstyle ( 0 )
*/
ObjectDrawer();
- ObjectDrawer( const QColor& color, int width = -1, bool shown = true, Qt::PenStyle = Qt::SolidLine, int pointStyle = 0 );
+ ObjectDrawer( const TQColor& color, int width = -1, bool shown = true, Qt::PenStyle = Qt::SolidLine, int pointStyle = 0 );
/**
* Draw the object \p imp on kigpainter \p p . If \p selected is true, it is
* drawn in red, otherwise in its normal color.
@@ -83,7 +83,7 @@ public:
/**
* returns the color that the object will be drawn in
*/
- QColor color() const;
+ TQColor color() const;
/**
* return the width of the object
*/
@@ -99,11 +99,11 @@ public:
/**
* return pointStyle trasnformed in a string
*/
- QString pointStyleToString() const;
+ TQString pointStyleToString() const;
/**
* return style trasnformed in a string
*/
- QString styleToString() const;
+ TQString styleToString() const;
/**
* returns a new ObjectDrawer that is identical to this one.. except
* that the shown state is set to \p s ..
@@ -113,7 +113,7 @@ public:
* returns a new ObjectDrawer that is identical to this one.. except
* that the color is set to \p c ..
*/
- ObjectDrawer* getCopyColor( const QColor& c ) const;
+ ObjectDrawer* getCopyColor( const TQColor& c ) const;
/**
* returns a new ObjectDrawer that is identical to this one.. except
* that the width is set to \p w ..
@@ -134,13 +134,13 @@ public:
* the given \p style string is unknown. In that case it returns a
* default value.
*/
- static int pointStyleFromString( const QString& style );
+ static int pointStyleFromString( const TQString& style );
/**
* Note that this returns a valid style in every case, even if the
* given \p style string is unknown. In that case it returns a default
* value.
*/
- static Qt::PenStyle styleFromString( const QString& style );
+ static Qt::PenStyle styleFromString( const TQString& style );
};
#endif