From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmiomanager.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'kpovmodeler/pmiomanager.h') diff --git a/kpovmodeler/pmiomanager.h b/kpovmodeler/pmiomanager.h index ac3b78eb..f167068f 100644 --- a/kpovmodeler/pmiomanager.h +++ b/kpovmodeler/pmiomanager.h @@ -22,17 +22,17 @@ #include #endif -#include -#include -#include -#include +#include +#include +#include +#include class PMParser; class PMSerializer; class PMRenderer; class PMPart; -class QIODevice; +class TQIODevice; /** * Description class for input and output formats. @@ -68,11 +68,11 @@ public: /** * Returns an unique name of this format. */ - virtual QString name( ) const = 0; + virtual TQString name( ) const = 0; /** * Returns a translated description of this format */ - virtual QString description( ) const = 0; + virtual TQString description( ) const = 0; /** * Returns the supported services * (a bitwise combination of the Services enum values) @@ -83,7 +83,7 @@ public: * * The caller is responsible to delete the returned parser. */ - virtual PMParser* newParser( PMPart*, QIODevice* ) const + virtual PMParser* newParser( PMPart*, TQIODevice* ) const { return 0; }; @@ -92,7 +92,7 @@ public: * * The caller is responsible to delete the returned parser. */ - virtual PMParser* newParser( PMPart*, const QByteArray& ) const + virtual PMParser* newParser( PMPart*, const TQByteArray& ) const { return 0; }; @@ -102,7 +102,7 @@ public: * * The caller is responsible to delete the returned device */ - virtual PMSerializer* newSerializer( QIODevice* ) + virtual PMSerializer* newSerializer( TQIODevice* ) { return 0; } @@ -116,23 +116,23 @@ public: /** * Returns the mime type for this format */ - virtual QString mimeType( ) const + virtual TQString mimeType( ) const { - return QString::null; + return TQString::null; } /** * Returns a list of patterns for the import file dialog */ - virtual QStringList importPatterns( ) const + virtual TQStringList importPatterns( ) const { - return QStringList( ); + return TQStringList( ); } /** * Returns a list of patterns for the export file dialog */ - virtual QStringList exportPatterns( ) const + virtual TQStringList exportPatterns( ) const { - return QStringList( ); + return TQStringList( ); } }; @@ -159,25 +159,25 @@ public: /** * Removes a format by name */ - void removeFormat( const QString& name ); + void removeFormat( const TQString& name ); /** * Returns the list of registered io formats */ - const QPtrList& formats( ) const { return m_formats; } + const TQPtrList& formats( ) const { return m_formats; } /** * Returns a view type by name */ - PMIOFormat* format( const QString& name ) const; + PMIOFormat* format( const TQString& name ) const; /** * Returns the first io format that can handle the mime type * or 0 if there is none */ - PMIOFormat* formatForMimeType( const QString& mime ) const; + PMIOFormat* formatForMimeType( const TQString& mime ) const; private: - QPtrList m_formats; - QDict m_dict; + TQPtrList m_formats; + TQDict m_dict; PMPart* m_pPart; }; -- cgit v1.2.3