summaryrefslogtreecommitdiffstats
path: root/src/qlcdstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qlcdstring.h')
-rw-r--r--src/qlcdstring.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/qlcdstring.h b/src/qlcdstring.h
index 9db6b98..d0a517a 100644
--- a/src/qlcdstring.h
+++ b/src/qlcdstring.h
@@ -15,13 +15,13 @@
* *
***************************************************************************/
-#ifndef QLCDSTRING_H
-#define QLCDSTRING_H
+#ifndef TQLCDSTRING_H
+#define TQLCDSTRING_H
-#include <qframe.h>
-#include <qpainter.h>
-#include <qcolor.h>
-#include <qstring.h>
+#include <ntqframe.h>
+#include <ntqpainter.h>
+#include <ntqcolor.h>
+#include <ntqstring.h>
#include "qlcddraw.h"
@@ -29,9 +29,9 @@
*@author Miguel Novas
*/
-#include <qpalette.h>
+#include <ntqpalette.h>
-class QLCDString : public QWidget {
+class TQLCDString : public TQWidget {
Q_OBJECT
public:
@@ -42,35 +42,35 @@ public:
alignJustify= 0x0003
};
- QLCDString( QWidget *parent=0, const char *name=0 );
- ~QLCDString();
+ TQLCDString( TQWidget *parent=0, const char *name=0 );
+ ~TQLCDString();
- void display( const QString &str );
+ void display( const TQString &str );
void setShadow(bool enable);
- bool getShadow() { return (bool)(options & QLcd::drawShadow); };
+ bool getShadow() { return (bool)(options & TQLcd::drawShadow); };
void setAlign(Align newAlign);
- void setForeColor(const QColor &fore);
- void setShadowColor(const QColor &sha);
+ void setForeColor(const TQColor &fore);
+ void setShadowColor(const TQColor &sha);
void setNumberDisplay(bool enable);
- const QColor& foreColor();
- const QColor& shadowColor();
+ const TQColor& foreColor();
+ const TQColor& shadowColor();
protected:
- void resizeEvent( QResizeEvent *);
- void paintEvent ( QPaintEvent *);
+ void resizeEvent( TQResizeEvent *);
+ void paintEvent ( TQPaintEvent *);
private:
- QString digitStr;
+ TQString digitStr;
int options;
- QColor forColor,shaColor;
+ TQColor forColor,shaColor;
};
#endif