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/pmformulalabel.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/pmformulalabel.h')
-rw-r--r-- | kpovmodeler/pmformulalabel.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpovmodeler/pmformulalabel.h b/kpovmodeler/pmformulalabel.h index 329ba639..ee2cace5 100644 --- a/kpovmodeler/pmformulalabel.h +++ b/kpovmodeler/pmformulalabel.h @@ -23,12 +23,12 @@ #include <config.h> #endif -#include <qwidget.h> +#include <tqwidget.h> class PMPolynomExponents; /** - * QLabel with a rich text to display a polynom for the quadric, + * TQLabel with a rich text to display a polynom for the quadric, * cubic, quartic and polynom objects. */ class PMFormulaLabel : public QWidget @@ -37,33 +37,33 @@ public: /** * Displays the exponents of the @ref PMPolynomExponents */ - PMFormulaLabel( const PMPolynomExponents& exp, QWidget* parent, const char* name = 0 ); + PMFormulaLabel( const PMPolynomExponents& exp, TQWidget* parent, const char* name = 0 ); /** * Displays the given exponents */ - PMFormulaLabel( int x, int y, int z, QWidget* parent, const char* name = 0 ); + PMFormulaLabel( int x, int y, int z, TQWidget* parent, const char* name = 0 ); /** * Destructor */ ~PMFormulaLabel( ); - virtual QSize sizeHint( ) const; - virtual QSize minimumSizeHint( ) const; + virtual TQSize sizeHint( ) const; + virtual TQSize minimumSizeHint( ) const; protected: - virtual void drawContents( QPainter* p ); - virtual void paintEvent( QPaintEvent* e ); - virtual void fontChange( const QFont& oldFont ); + virtual void drawContents( TQPainter* p ); + virtual void paintEvent( TQPaintEvent* e ); + virtual void fontChange( const TQFont& oldFont ); private: - QFont exponentFont( ) const; + TQFont exponentFont( ) const; void calculateSizeHint( ); - QSize m_sizeHint; + TQSize m_sizeHint; int m_exponents[3]; - static QString s_xyz[3]; - static QString s_digit[10]; - static QString s_nullString; + static TQString s_xyz[3]; + static TQString s_digit[10]; + static TQString s_nullString; }; #endif |