diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmformulalabel.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmformulalabel.h')
-rw-r--r-- | kpovmodeler/pmformulalabel.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmformulalabel.h b/kpovmodeler/pmformulalabel.h index ee2cace5..bac843d2 100644 --- a/kpovmodeler/pmformulalabel.h +++ b/kpovmodeler/pmformulalabel.h @@ -31,23 +31,23 @@ class PMPolynomExponents; * TQLabel with a rich text to display a polynom for the quadric, * cubic, quartic and polynom objects. */ -class PMFormulaLabel : public QWidget +class PMFormulaLabel : public TQWidget { public: /** * Displays the exponents of the @ref PMPolynomExponents */ - PMFormulaLabel( const PMPolynomExponents& exp, TQWidget* parent, const char* name = 0 ); + PMFormulaLabel( const PMPolynomExponents& exp, TQWidget* tqparent, const char* name = 0 ); /** * Displays the given exponents */ - PMFormulaLabel( int x, int y, int z, TQWidget* parent, const char* name = 0 ); + PMFormulaLabel( int x, int y, int z, TQWidget* tqparent, const char* name = 0 ); /** * Destructor */ ~PMFormulaLabel( ); - virtual TQSize sizeHint( ) const; - virtual TQSize minimumSizeHint( ) const; + virtual TQSize tqsizeHint( ) const; + virtual TQSize tqminimumSizeHint( ) const; protected: virtual void drawContents( TQPainter* p ); @@ -58,7 +58,7 @@ private: TQFont exponentFont( ) const; void calculateSizeHint( ); - TQSize m_sizeHint; + TQSize m_tqsizeHint; int m_exponents[3]; static TQString s_xyz[3]; |