summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_common.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kivio/kiviopart/kiviosdk/kivio_common.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_common.h')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_common.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_common.h b/kivio/kiviopart/kiviosdk/kivio_common.h
index 7ddb3382..44576ece 100644
--- a/kivio/kiviopart/kiviosdk/kivio_common.h
+++ b/kivio/kiviopart/kiviosdk/kivio_common.h
@@ -19,8 +19,8 @@
#ifndef KIVIO_COMMON_H
#define KIVIO_COMMON_H
-#include <qdom.h>
-#include <qcolor.h>
+#include <tqdom.h>
+#include <tqcolor.h>
class KivioConnectorPoint;
class KoPoint;
@@ -28,26 +28,26 @@ class KoRect;
extern "C" {
- KoRect XmlReadRect( const QDomElement &, const QString &, const KoRect & );
- void XmlWriteRect( QDomElement &, const QString &, const KoRect & );
+ KoRect XmlReadRect( const TQDomElement &, const TQString &, const KoRect & );
+ void XmlWriteRect( TQDomElement &, const TQString &, const KoRect & );
- QColor XmlReadColor( const QDomElement &, const QString &, const QColor & );
- void XmlWriteColor( QDomElement &, const QString &, const QColor & );
+ TQColor XmlReadColor( const TQDomElement &, const TQString &, const TQColor & );
+ void XmlWriteColor( TQDomElement &, const TQString &, const TQColor & );
- int XmlReadInt( const QDomElement &, const QString &, const int & );
- void XmlWriteInt( QDomElement &, const QString &, const int & );
+ int XmlReadInt( const TQDomElement &, const TQString &, const int & );
+ void XmlWriteInt( TQDomElement &, const TQString &, const int & );
- uint XmlReadUInt( const QDomElement &, const QString &, const uint & );
- void XmlWriteUInt( QDomElement &, const QString &, const uint & );
+ uint XmlReadUInt( const TQDomElement &, const TQString &, const uint & );
+ void XmlWriteUInt( TQDomElement &, const TQString &, const uint & );
- double XmlReadDouble( const QDomElement &, const QString &, const double & );
- void XmlWriteDouble( QDomElement &, const QString &, const double & );
+ double XmlReadDouble( const TQDomElement &, const TQString &, const double & );
+ void XmlWriteDouble( TQDomElement &, const TQString &, const double & );
- float XmlReadFloat( const QDomElement &, const QString &, const float & );
- void XmlWriteFloat( QDomElement &, const QString &, const float & );
+ float XmlReadFloat( const TQDomElement &, const TQString &, const float & );
+ void XmlWriteFloat( TQDomElement &, const TQString &, const float & );
- QString XmlReadString( const QDomElement &, const QString &, const QString & );
- void XmlWriteString( QDomElement &, const QString &, const QString & );
+ TQString XmlReadString( const TQDomElement &, const TQString &, const TQString & );
+ void XmlWriteString( TQDomElement &, const TQString &, const TQString & );
bool PointInPoly( KoPoint *points, int numPoints, KoPoint *hitPos );