summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmprototypemanager.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/pmprototypemanager.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/pmprototypemanager.h')
-rw-r--r--kpovmodeler/pmprototypemanager.h42
1 files changed, 21 insertions, 21 deletions
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 <qdict.h>
-#include <qmap.h>
-#include <qvaluelist.h>
+#include <tqdict.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
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<PMMetaObject> prototypeIterator( ) const;
+ TQPtrListIterator<PMMetaObject> prototypeIterator( ) const;
/**
* Returns an iterator to the list of available declaration types
*/
- const QValueList<PMDeclareDescription>& declarationTypes( ) const;
+ const TQValueList<PMDeclareDescription>& 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<PMMetaObject> m_prototypes;
- QDict<PMMetaObject> m_metaDict;
- QMap<QString, QString> m_lowerCaseDict;
- QValueList<PMDeclareDescription> m_declareDescriptions;
+ TQPtrList<PMMetaObject> m_prototypes;
+ TQDict<PMMetaObject> m_metaDict;
+ TQMap<TQString, TQString> m_lowerCaseDict;
+ TQValueList<PMDeclareDescription> m_declareDescriptions;
PMPart* m_pPart;
};
#endif