From 24857cad8e92c27bc7d7377549ae887adbeccc58 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 09:59:06 -0500 Subject: Convert to TDE R14 API --- src/qdialarc.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src/qdialarc.h') diff --git a/src/qdialarc.h b/src/qdialarc.h index a5db935..42c254e 100644 --- a/src/qdialarc.h +++ b/src/qdialarc.h @@ -15,20 +15,20 @@ * * ***************************************************************************/ -#ifndef QDIALARC_H -#define QDIALARC_H +#ifndef TQDIALARC_H +#define TQDIALARC_H -#include +#include /** *@author Miguel Novas */ -class QDialArc : public QWidget { +class TQDialArc : public TQWidget { Q_OBJECT public: - QDialArc(QWidget *parent=0, const char *name=0); - ~QDialArc(); + TQDialArc(TQWidget *parent=0, const char *name=0); + ~TQDialArc(); void setValue (double value); void setValueMin (double value); @@ -46,19 +46,19 @@ public: void setShowMarks (bool flag); - void setColorMax(const QColor &color); - void setColorMid(const QColor &color); - void setColorMin(const QColor &color); - void setColorRanges(const QColor &min,const QColor &mid, const QColor &max); + void setColorMax(const TQColor &color); + void setColorMid(const TQColor &color); + void setColorMin(const TQColor &color); + void setColorRanges(const TQColor &min,const TQColor &mid, const TQColor &max); - void setArrowColor(const QColor &color); + void setArrowColor(const TQColor &color); inline double getValue() { return val; } protected: - void resizeEvent( QResizeEvent *); - void paintEvent ( QPaintEvent *); + void resizeEvent( TQResizeEvent *); + void paintEvent ( TQPaintEvent *); private: @@ -73,17 +73,17 @@ private: int centerx,centery; bool fCalcParams; - QColor arrowColor; - QColor colorMin; - QColor colorMid; - QColor colorMax; + TQColor arrowColor; + TQColor colorMin; + TQColor colorMid; + TQColor colorMax; bool fShowMarks; void calcParams(); void paramsChanged(); - void drawMarks(QPainter *p,int l1,int l2); - void drawArc(QPainter *p,int l1,int l2,const QColor &color); - void drawArrow(QPainter *p, double value); + void drawMarks(TQPainter *p,int l1,int l2); + void drawArc(TQPainter *p,int l1,int l2,const TQColor &color); + void drawArrow(TQPainter *p, double value); }; #endif -- cgit v1.2.1