summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmoutputdevice.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/pmoutputdevice.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/pmoutputdevice.h')
-rw-r--r--kpovmodeler/pmoutputdevice.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kpovmodeler/pmoutputdevice.h b/kpovmodeler/pmoutputdevice.h
index 25b3c58b..41bad2e5 100644
--- a/kpovmodeler/pmoutputdevice.h
+++ b/kpovmodeler/pmoutputdevice.h
@@ -26,9 +26,9 @@
#include "pmserializer.h"
-#include <qstring.h>
+#include <tqstring.h>
-class QTextStream;
+class TQTextStream;
class PMPovrayFormat;
/**
@@ -49,12 +49,12 @@ public:
* Creates an PMOutputDevice that serializes the povray code
* to the device
*/
- PMOutputDevice( QIODevice* dev, PMPovrayFormat* format );
+ PMOutputDevice( TQIODevice* dev, PMPovrayFormat* format );
/** */
virtual ~PMOutputDevice( );
/** */
- virtual QString description( ) const;
+ virtual TQString description( ) const;
/** */
virtual void serialize( PMObject* o );
/** */
@@ -64,11 +64,11 @@ public:
* Writes the povray object type, an open bracket to the text stream
* and indents the next lines
*/
- void objectBegin( const QString& type );
+ void objectBegin( const TQString& type );
/**
* Begins a declare with the identifier id
*/
- void declareBegin( const QString& id );
+ void declareBegin( const TQString& id );
/**
* Writes an closing bracket to the text stream
* and decreases the indentation
@@ -80,11 +80,11 @@ public:
*
* Adds a newline before the string.
*/
- void writeLine( const QString& str );
+ void writeLine( const TQString& str );
/**
* Writes the string to the text stream
*/
- void write( const QString& str );
+ void write( const TQString& str );
/**
* Writes a new line to the text stream and indents the next line.
*/
@@ -92,7 +92,7 @@ public:
/**
* Writes a comment string to the text stream
*/
- void writeComment( const QString& text );
+ void writeComment( const TQString& text );
/**
* Writes a semicolon after a call to objectEnd( )
*/
@@ -101,7 +101,7 @@ public:
* Writes a special name comment to the text stream, if the
* name is not empty
*/
- void writeName( const QString& name );
+ void writeName( const TQString& name );
/**
* Returns the basic indentation offset
@@ -131,7 +131,7 @@ public:
* Escapes only not escaped characters. "\"" and "\\" in the string
* are not escaped.
*/
- static QString escapeAndQuoteString( const QString& s );
+ static TQString escapeAndQuoteString( const TQString& s );
/**
* Calls the serialization method for the object o and class
@@ -148,8 +148,8 @@ private:
PMPovrayFormat* m_pFormat;
unsigned int m_indentation;
- QString m_indentString;
- QTextStream m_stream;
+ TQString m_indentString;
+ TQTextStream m_stream;
bool m_lastWasComment;
bool m_pendingNewLine;
bool m_objectSeparation;