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/pmprototypemanager.h | 42 ++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kpovmodeler/pmprototypemanager.h') diff --git a/kpovmodeler/pmprototypemanager.h b/kpovmodeler/pmprototypemanager.h index 025b8213..bade9e29 100644 --- a/kpovmodeler/pmprototypemanager.h +++ b/kpovmodeler/pmprototypemanager.h @@ -21,9 +21,9 @@ #define PMPTMANAGER_H #include "pmobject.h" -#include -#include -#include +#include +#include +#include class PMPart; @@ -41,7 +41,7 @@ public: description = d.description; pixmap = d.pixmap; } - PMDeclareDescription( PMMetaObject* t, const QString& d, const QString& p ) + PMDeclareDescription( PMMetaObject* t, const TQString& d, const TQString& p ) { type = t; description = d; @@ -55,8 +55,8 @@ public: return *this; } PMMetaObject* type; - QString description; - QString pixmap; + TQString description; + TQString pixmap; }; /** @@ -91,31 +91,31 @@ public: * Adds a declaration type. Needed information is the class type, * the @ref description( ) and the @ref pixmap( ) */ - void addDeclarationType( const QString& className, - const QString& description, - const QString& pixmap ); + void addDeclarationType( const TQString& className, + const TQString& description, + const TQString& pixmap ); /** * Returns an iterator to the list of available objects */ - QPtrListIterator prototypeIterator( ) const; + TQPtrListIterator prototypeIterator( ) const; /** * Returns an iterator to the list of available declaration types */ - const QValueList& declarationTypes( ) const; + const TQValueList& declarationTypes( ) const; /** * Returns a new PMObject by class name */ - PMObject* newObject( const QString& name ) const; + PMObject* newObject( const TQString& name ) const; /** * Returns the meta object by class name or 0 if this class does * not exist. * @see PMMetaObject */ - PMMetaObject* metaObject( const QString& name ) const; + PMMetaObject* metaObject( const TQString& name ) const; /** * Returns true if the class exists */ - bool existsClass( const QString& name ) const + bool existsClass( const TQString& name ) const { return metaObject( name ); } @@ -123,27 +123,27 @@ public: * Returns true if the second class is a base class for * the first class */ - bool isA( const QString& className, const QString& baseClassName ) const; + bool isA( const TQString& className, const TQString& baseClassName ) const; /** * Returns true if the second class is a base class for * the first class */ - bool isA( PMMetaObject* c, const QString& baseClassName ) const; + bool isA( PMMetaObject* c, const TQString& baseClassName ) const; /** * Returns the real class if only the lower case version is know. * Used by the xml parser */ - QString className( const QString& lowercase ) const; + TQString className( const TQString& lowercase ) const; /** * Returns a pointer to the part */ PMPart* part( ) const { return m_pPart; } private: - QPtrList m_prototypes; - QDict m_metaDict; - QMap m_lowerCaseDict; - QValueList m_declareDescriptions; + TQPtrList m_prototypes; + TQDict m_metaDict; + TQMap m_lowerCaseDict; + TQValueList m_declareDescriptions; PMPart* m_pPart; }; #endif -- cgit v1.2.1