summaryrefslogtreecommitdiffstats
path: root/kbruch/src/fractionbasewidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kbruch/src/fractionbasewidget.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbruch/src/fractionbasewidget.h')
-rw-r--r--kbruch/src/fractionbasewidget.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kbruch/src/fractionbasewidget.h b/kbruch/src/fractionbasewidget.h
index 4472ade3..21b2fdc8 100644
--- a/kbruch/src/fractionbasewidget.h
+++ b/kbruch/src/fractionbasewidget.h
@@ -27,7 +27,7 @@
#include "ratio.h"
-#include <qwidget.h>
+#include <tqwidget.h>
/*! base class for painting fractions
@@ -39,7 +39,7 @@ class FractionBaseWidget : public QWidget
public:
/** constructor */
- FractionBaseWidget(QWidget * parent, const char * name);
+ FractionBaseWidget(TQWidget * parent, const char * name);
/** destructor */
~FractionBaseWidget();
@@ -50,21 +50,21 @@ public:
protected:
/* store the different colors */
- QColor m_colorNumber;
- QColor m_colorLine;
- QColor m_colorOperation;
+ TQColor m_colorNumber;
+ TQColor m_colorLine;
+ TQColor m_colorOperation;
/* the font to paint with */
- QFont m_font;
+ TQFont m_font;
- /** overrideing the paint event of QWidget */
- virtual void paintEvent(QPaintEvent*) = 0;
+ /** overrideing the paint event of TQWidget */
+ virtual void paintEvent(TQPaintEvent*) = 0;
/** paints a ratio at the given position */
- void paintRatio(QPainter & paint, ratio tmp_ratio, int & x_pos, QFontMetrics & fm, bool show_mixed, bool addMargin = true);
+ void paintRatio(TQPainter & paint, ratio tmp_ratio, int & x_pos, TQFontMetrics & fm, bool show_mixed, bool addMargin = true);
/** paints a string in the vertical middle (aligned to the operation signs) */
- void paintMiddle(QPainter & paint, const QString& paint_str, int & x_pos, QFontMetrics & fm, QColor color, bool addMargin = true);
+ void paintMiddle(TQPainter & paint, const TQString& paint_str, int & x_pos, TQFontMetrics & fm, TQColor color, bool addMargin = true);
private:
/** sets the font and color; values taken from settingsclass */