summaryrefslogtreecommitdiffstats
path: root/kig/misc/coordinate_system.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/misc/coordinate_system.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/misc/coordinate_system.h')
-rw-r--r--kig/misc/coordinate_system.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kig/misc/coordinate_system.h b/kig/misc/coordinate_system.h
index af426909..000b52d1 100644
--- a/kig/misc/coordinate_system.h
+++ b/kig/misc/coordinate_system.h
@@ -21,7 +21,7 @@
#ifndef KIG_MISC_COORDINATE_SYSTEM_H
#define KIG_MISC_COORDINATE_SYSTEM_H
-#include <qnamespace.h>
+#include <tqnamespace.h>
class KigPainter;
class KigDocument;
@@ -42,8 +42,8 @@ class CoordinateSystemFactory
public:
enum { Euclidean = 0, Polar = 1 };
- static QStringList names();
- static QString setCoordinateSystemStatement( int id );
+ static TQStringList names();
+ static TQString setCoordinateSystemStatement( int id );
static CoordinateSystem* build( int which );
static CoordinateSystem* build( const char* type );
};
@@ -65,23 +65,23 @@ public:
CoordinateSystem();
virtual ~CoordinateSystem();
- virtual QString fromScreen ( const Coordinate& pt, const KigDocument& w ) const = 0;
+ virtual TQString fromScreen ( const Coordinate& pt, const KigDocument& w ) const = 0;
/**
* This returns a notice to say in which format coordinates should
* be entered. This should be something like:
* i18n( "Enter coordinates in the following form: \"(x,y)\", where
* x is the x coordinate, and y is the y coordinate." );
*/
- virtual QString coordinateFormatNotice() const = 0;
+ virtual TQString coordinateFormatNotice() const = 0;
/**
* Like \ref coordinateFormatNotice(), but with HTML tags useful to
* have a rich text...
*/
- virtual QString coordinateFormatNoticeMarkup() const = 0;
- virtual Coordinate toScreen (const QString& pt, bool& ok) const = 0;
+ virtual TQString coordinateFormatNoticeMarkup() const = 0;
+ virtual Coordinate toScreen (const TQString& pt, bool& ok) const = 0;
virtual void drawGrid ( KigPainter& p, bool showgrid = true,
bool showaxes = true ) const = 0;
- virtual QValidator* coordinateValidator() const = 0;
+ virtual TQValidator* coordinateValidator() const = 0;
virtual Coordinate snapToGrid( const Coordinate& c,
const KigWidget& w ) const = 0;
@@ -95,13 +95,13 @@ class EuclideanCoords
public:
EuclideanCoords();
~EuclideanCoords();
- QString fromScreen( const Coordinate& pt, const KigDocument& w ) const;
- QString coordinateFormatNotice() const;
- QString coordinateFormatNoticeMarkup() const;
- Coordinate toScreen (const QString& pt, bool& ok) const;
+ TQString fromScreen( const Coordinate& pt, const KigDocument& w ) const;
+ TQString coordinateFormatNotice() const;
+ TQString coordinateFormatNoticeMarkup() const;
+ Coordinate toScreen (const TQString& pt, bool& ok) const;
void drawGrid ( KigPainter& p, bool showgrid = true,
bool showaxes = true ) const;
- QValidator* coordinateValidator() const;
+ TQValidator* coordinateValidator() const;
Coordinate snapToGrid( const Coordinate& c,
const KigWidget& w ) const;
@@ -117,13 +117,13 @@ class PolarCoords
public:
PolarCoords();
~PolarCoords();
- QString fromScreen( const Coordinate& pt, const KigDocument& w ) const;
- QString coordinateFormatNotice() const;
- QString coordinateFormatNoticeMarkup() const;
- Coordinate toScreen (const QString& pt, bool& ok) const;
+ TQString fromScreen( const Coordinate& pt, const KigDocument& w ) const;
+ TQString coordinateFormatNotice() const;
+ TQString coordinateFormatNoticeMarkup() const;
+ Coordinate toScreen (const TQString& pt, bool& ok) const;
void drawGrid ( KigPainter& p, bool showgrid = true,
bool showaxes = true ) const;
- QValidator* coordinateValidator() const;
+ TQValidator* coordinateValidator() const;
Coordinate snapToGrid( const Coordinate& c,
const KigWidget& w ) const;