summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmvariant.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmvariant.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmvariant.h')
-rw-r--r--kpovmodeler/pmvariant.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpovmodeler/pmvariant.h b/kpovmodeler/pmvariant.h
index 01519a01..e6bcdee9 100644
--- a/kpovmodeler/pmvariant.h
+++ b/kpovmodeler/pmvariant.h
@@ -19,7 +19,7 @@
#ifndef PMVARIANT_H
#define PMVARIANT_H
-#include <qstring.h>
+#include <tqstring.h>
#include "pmcolor.h"
#include "pmvector.h"
#include "pmthreestate.h"
@@ -30,9 +30,9 @@ class PMObject;
* Variant class for KPovModeler.
*
* Can store and convert: int, unsigned int, double, bool,
- * PMThreeState, QString, PMVector, PMColor, PMObject*.
+ * PMThreeState, TQString, PMVector, PMColor, PMObject*.
*
- * Enums are stored as QString.
+ * Enums are stored as TQString.
*
* The variant can store one type at a time. You can try to convert
* the type with the convertTo* methods. These will return bool on success.
@@ -76,7 +76,7 @@ public:
/**
* Stores a string
*/
- PMVariant( const QString& data );
+ PMVariant( const TQString& data );
/**
* Stores a @ref PMVector
*/
@@ -131,7 +131,7 @@ public:
/**
* Sets the string data
*/
- void setString( const QString& data );
+ void setString( const TQString& data );
/**
* Sets the vector data
*/
@@ -168,7 +168,7 @@ public:
/**
* Returns the string data. Data type has to be String!
*/
- QString stringData( ) const;
+ TQString stringData( ) const;
/**
* Returns the vector data. Data type has to be Vector!
*/
@@ -195,11 +195,11 @@ public:
/**
* Returns the value of the stored data in string format
*/
- QString asString( ) const;
+ TQString asString( ) const;
/**
* Sets the value of the variant based on the string
*/
- bool fromString( const PMVariant::PMVariantDataType t, const QString& value );
+ bool fromString( const PMVariant::PMVariantDataType t, const TQString& value );
private:
void clear( );
@@ -214,8 +214,8 @@ private:
};
// Streaming operators for PMVariant
-QDataStream& operator<<( QDataStream& stream, const PMVariant& value );
-QDataStream& operator>>( QDataStream& stream, PMVariant& value );
+TQDataStream& operator<<( TQDataStream& stream, const PMVariant& value );
+TQDataStream& operator>>( TQDataStream& stream, PMVariant& value );
#endif