summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmformulalabel.h
diff options
context:
space:
mode:
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