summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdocumentationmap.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/pmdocumentationmap.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/pmdocumentationmap.h')
-rw-r--r--kpovmodeler/pmdocumentationmap.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kpovmodeler/pmdocumentationmap.h b/kpovmodeler/pmdocumentationmap.h
index 3027095c..19654089 100644
--- a/kpovmodeler/pmdocumentationmap.h
+++ b/kpovmodeler/pmdocumentationmap.h
@@ -23,14 +23,14 @@
#include <config.h>
#endif
-#include <qstring.h>
-#include <qmap.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
#include <kstaticdeleter.h>
class KConfig;
-class QDomElement;
+class TQDomElement;
/**
* Class used internally by @ref PMDocumentationMap
@@ -47,19 +47,19 @@ public:
*/
~PMDocumentationVersion( ) { }
- QString version( ) const { return m_version; }
- void setVersion( const QString& str ) { m_version = str; }
- QString index( ) const { return m_index; }
- void setIndex( const QString& str ) { m_index = str; }
+ TQString version( ) const { return m_version; }
+ void setVersion( const TQString& str ) { m_version = str; }
+ TQString index( ) const { return m_index; }
+ void setIndex( const TQString& str ) { m_index = str; }
- QString documentation( const QString& className ) const;
+ TQString documentation( const TQString& className ) const;
- void loadData( QDomElement& e );
+ void loadData( TQDomElement& e );
private:
- QString m_version;
- QString m_index;
- QMap< QString, QString > m_map;
+ TQString m_version;
+ TQString m_index;
+ TQMap< TQString, TQString > m_map;
};
/**
@@ -81,14 +81,14 @@ public:
/**
* Sets the path to the povray user documentation
*/
- void setPovrayDocumentationPath( const QString& s )
+ void setPovrayDocumentationPath( const TQString& s )
{
m_documentationPath = s;
}
/**
* Returns the path to the povray user documentation
*/
- QString povrayDocumentationPath( )
+ TQString povrayDocumentationPath( )
{
return m_documentationPath;
}
@@ -96,22 +96,22 @@ public:
/**
* Sets the povray documentation version
*/
- void setDocumentationVersion( const QString& str );
+ void setDocumentationVersion( const TQString& str );
/**
* Returns the povray documentation version
*/
- QString documentationVersion( ) const { return m_currentVersion; }
+ TQString documentationVersion( ) const { return m_currentVersion; }
/**
* Returns the list of available documentation versions
*/
- QValueList<QString> availableVersions( );
+ TQValueList<TQString> availableVersions( );
/**
* Returns the povray documentation file for the
* given object type
*/
- QString documentation( const QString& objectName );
+ TQString documentation( const TQString& objectName );
void saveConfig( KConfig* cfg );
void restoreConfig( KConfig* cfg );
@@ -125,11 +125,11 @@ private:
void loadMap( );
void findVersion( );
- QString m_documentationPath;
+ TQString m_documentationPath;
bool m_mapLoaded;
- QPtrList< PMDocumentationVersion > m_maps;
+ TQPtrList< PMDocumentationVersion > m_maps;
PMDocumentationVersion* m_pCurrentVersion;
- QString m_currentVersion;
+ TQString m_currentVersion;
static PMDocumentationMap* s_pInstance;
static KStaticDeleter<PMDocumentationMap> s_staticDeleter;