summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmformulalabel.h
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/pmformulalabel.h
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/pmformulalabel.h')
-rw-r--r--kpovmodeler/pmformulalabel.h28
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