summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmenumproperty.cpp
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/pmenumproperty.cpp
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/pmenumproperty.cpp')
-rw-r--r--kpovmodeler/pmenumproperty.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/pmenumproperty.cpp b/kpovmodeler/pmenumproperty.cpp
index 72a03788..f82579ad 100644
--- a/kpovmodeler/pmenumproperty.cpp
+++ b/kpovmodeler/pmenumproperty.cpp
@@ -23,15 +23,15 @@ PMEnumProperty::PMEnumProperty( const char* name, bool readOnly,
{
}
-void PMEnumProperty::addEnumValue( const QString& str, int value )
+void PMEnumProperty::addEnumValue( const TQString& str, int value )
{
m_valueMap[value] = str;
m_stringMap[str] = value;
}
-QStringList PMEnumProperty::enumValues( ) const
+TQStringList PMEnumProperty::enumValues( ) const
{
- QStringList l;
+ TQStringList l;
PMEnumStringValueMap::const_iterator it;
for( it = m_stringMap.begin( ); it != m_stringMap.end( ); ++it )
l.append( it.key( ) );
@@ -52,6 +52,6 @@ PMVariant PMEnumProperty::getProtected( const PMObject* obj )
int v = getEnum( obj );
PMEnumValueStringMap::const_iterator it = m_valueMap.find( v );
if( it == m_valueMap.end( ) )
- return PMVariant( QString::null );
+ return PMVariant( TQString::null );
return it.data( );
}