diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmcomment.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-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/pmcomment.h')
-rw-r--r-- | kpovmodeler/pmcomment.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpovmodeler/pmcomment.h b/kpovmodeler/pmcomment.h index 82c62fa8..d435423d 100644 --- a/kpovmodeler/pmcomment.h +++ b/kpovmodeler/pmcomment.h @@ -21,7 +21,7 @@ #define PMCOMMENT_H #include "pmobject.h" -#include <qstring.h> +#include <tqstring.h> /** @@ -39,7 +39,7 @@ public: /** * Creates a comment with text t */ - PMComment( PMPart* part, const QString& t ); + PMComment( PMPart* part, const TQString& t ); /** * Copy constructor */ @@ -52,11 +52,11 @@ public: /** * Sets the comment text */ - void setText( const QString& text ); + void setText( const TQString& text ); /** * Returns the comment text */ - QString text( ) const { return m_text; } + TQString text( ) const { return m_text; } /** */ virtual PMObject* copy( ) const { return new PMComment( *this ); } @@ -67,17 +67,17 @@ public: virtual void cleanUp( ) const; /** */ - virtual QString description( ) const; + virtual TQString description( ) const; /** */ - virtual void serialize( QDomElement& e, QDomDocument& doc ) const; + virtual void serialize( TQDomElement& e, TQDomDocument& doc ) const; /** */ virtual void readAttributes( const PMXMLHelper& h ); /** */ - virtual PMDialogEditBase* editWidget( QWidget* parent ) const; + virtual PMDialogEditBase* editWidget( TQWidget* parent ) const; /** */ - virtual QString pixmap( ) const { return QString( "pmcomment" ); } + virtual TQString pixmap( ) const { return TQString( "pmcomment" ); } /** */ virtual void restoreMemento( PMMemento* s ); private: @@ -85,7 +85,7 @@ private: * IDs for @ref PMMementoData */ enum PMCommentMementoID { PMTextID }; - QString m_text; + TQString m_text; static PMMetaObject* s_pMetaObject; }; |