summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdeclare.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/pmdeclare.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/pmdeclare.cpp')
-rw-r--r--kpovmodeler/pmdeclare.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kpovmodeler/pmdeclare.cpp b/kpovmodeler/pmdeclare.cpp
index 2b698f0e..3f290e2f 100644
--- a/kpovmodeler/pmdeclare.cpp
+++ b/kpovmodeler/pmdeclare.cpp
@@ -22,7 +22,7 @@
#include "pmprototypemanager.h"
#include "pmpart.h"
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <klocale.h>
PMDefinePropertyClass( PMDeclare, PMDeclareProperty );
@@ -73,16 +73,16 @@ PMDeclare::~PMDeclare( )
{
}
-QString PMDeclare::description( ) const
+TQString PMDeclare::description( ) const
{
PMPart* pPart = part( );
- QString d = i18n( "declaration" );
+ TQString d = i18n( "declaration" );
if( m_pDeclareType && pPart )
{
- const QValueList<PMDeclareDescription>& descriptions
+ const TQValueList<PMDeclareDescription>& descriptions
= pPart->prototypeManager( )->declarationTypes( );
- QValueList<PMDeclareDescription>::const_iterator it;
+ TQValueList<PMDeclareDescription>::const_iterator it;
bool found = false;
for( it = descriptions.begin( ); it != descriptions.end( ) && !found; ++it )
{
@@ -96,16 +96,16 @@ QString PMDeclare::description( ) const
return d;
}
-QString PMDeclare::pixmap( ) const
+TQString PMDeclare::pixmap( ) const
{
PMPart* pPart = part( );
- QString d = "pmdeclare";
+ TQString d = "pmdeclare";
if( m_pDeclareType && pPart )
{
- const QValueList<PMDeclareDescription>& descriptions
+ const TQValueList<PMDeclareDescription>& descriptions
= pPart->prototypeManager( )->declarationTypes( );
- QValueList<PMDeclareDescription>::const_iterator it;
+ TQValueList<PMDeclareDescription>::const_iterator it;
bool found = false;
for( it = descriptions.begin( ); it != descriptions.end( ) && !found; ++it )
{
@@ -119,7 +119,7 @@ QString PMDeclare::pixmap( ) const
return d;
}
-void PMDeclare::serialize( QDomElement& e, QDomDocument& doc ) const
+void PMDeclare::serialize( TQDomElement& e, TQDomDocument& doc ) const
{
e.setAttribute( "id", m_id );
Base::serialize( e, doc );
@@ -131,12 +131,12 @@ void PMDeclare::readAttributes( const PMXMLHelper& h )
Base::readAttributes( h );
}
-PMDialogEditBase* PMDeclare::editWidget( QWidget* parent ) const
+PMDialogEditBase* PMDeclare::editWidget( TQWidget* parent ) const
{
return new PMDeclareEdit( parent );
}
-void PMDeclare::setID( const QString& newID )
+void PMDeclare::setID( const TQString& newID )
{
if( newID != m_id )
{
@@ -150,10 +150,10 @@ void PMDeclare::setID( const QString& newID )
}
}
-QString PMDeclare::declareType( ) const
+TQString PMDeclare::declareType( ) const
{
if( !m_pDeclareType )
- return QString( "None" );
+ return TQString( "None" );
return m_pDeclareType->className( );
}