summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmvector.cpp
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/pmvector.cpp
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/pmvector.cpp')
-rw-r--r--kpovmodeler/pmvector.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpovmodeler/pmvector.cpp b/kpovmodeler/pmvector.cpp
index 035f0d2b..13ba6ba4 100644
--- a/kpovmodeler/pmvector.cpp
+++ b/kpovmodeler/pmvector.cpp
@@ -21,7 +21,7 @@
#include "pmmatrix.h"
#include "pmdebug.h"
-#include <qtextstream.h>
+#include <tqtextstream.h>
#include <stdio.h>
#include <stdlib.h>
@@ -528,10 +528,10 @@ PMVector PMVector::orthogonal( ) const
return result / rl;
}
-QString PMVector::serialize( ) const
+TQString PMVector::serialize( ) const
{
- QString result;
- QTextStream str( &result, IO_WriteOnly );
+ TQString result;
+ TQTextStream str( &result, IO_WriteOnly );
unsigned int i;
if( m_size > 0 )
@@ -551,10 +551,10 @@ QString PMVector::serialize( ) const
return result;
}
-QString PMVector::serializeXML( ) const
+TQString PMVector::serializeXML( ) const
{
- QString result;
- QTextStream str( &result, IO_WriteOnly );
+ TQString result;
+ TQTextStream str( &result, IO_WriteOnly );
unsigned int i;
if( m_size > 0 )
@@ -572,13 +572,13 @@ QString PMVector::serializeXML( ) const
return result;
}
-bool PMVector::loadXML( const QString& str )
+bool PMVector::loadXML( const TQString& str )
{
int i;
int size = str.contains( ' ' ) + 1;
- QString tmp( str );
- QTextStream s( &tmp, IO_ReadOnly );
- QString val;
+ TQString tmp( str );
+ TQTextStream s( &tmp, IO_ReadOnly );
+ TQString val;
bool ok;
resize( size );