summaryrefslogtreecommitdiffstats
path: root/katomic/molek.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /katomic/molek.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'katomic/molek.h')
-rw-r--r--katomic/molek.h24
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;
};