diff options
Diffstat (limited to 'katomic/molek.h')
-rw-r--r-- | katomic/molek.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/katomic/molek.h b/katomic/molek.h index 6189e4e8..354cf49b 100644 --- a/katomic/molek.h +++ b/katomic/molek.h @@ -9,12 +9,12 @@ #include <stdio.h> #include <stdlib.h> -#include <qwidget.h> -#include <qpoint.h> -#include <qpainter.h> -#include <qpixmap.h> +#include <tqwidget.h> +#include <tqpoint.h> +#include <tqpainter.h> +#include <tqpixmap.h> #include "atom.h" -#include <qvaluelist.h> +#include <tqvaluelist.h> class KSimpleConfig; @@ -25,7 +25,7 @@ class Molek : public QWidget Q_OBJECT public: - Molek (QWidget *parent=0, const char *name=0); + Molek (TQWidget *parent=0, const char *name=0); ~Molek (); void load(const KSimpleConfig& config); @@ -33,18 +33,18 @@ public: const atom& getAtom(uint index) const; int atomSize() const { return atoms.count(); } - QSize molecSize() const { return _size; } + TQSize molecSize() const { return _size; } uint getAtom(int x, int y) const { return molek[x][y]; } protected: - void paintEvent( QPaintEvent * ); + void paintEvent( TQPaintEvent * ); private: - QPixmap data; + TQPixmap data; uint molek[MOLEK_SIZE][MOLEK_SIZE]; // the indexes within atoms - QValueList<atom> atoms; - QString mname; - QSize _size; + TQValueList<atom> atoms; + TQString mname; + TQSize _size; }; |