summaryrefslogtreecommitdiffstats
path: root/fifteenapplet/fifteenapplet.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /fifteenapplet/fifteenapplet.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'fifteenapplet/fifteenapplet.h')
-rw-r--r--fifteenapplet/fifteenapplet.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/fifteenapplet/fifteenapplet.h b/fifteenapplet/fifteenapplet.h
index 21f431c..fc8ea13 100644
--- a/fifteenapplet/fifteenapplet.h
+++ b/fifteenapplet/fifteenapplet.h
@@ -25,7 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define __fifteenapplet_h__
#include "qttableview.h"
-#include <qmemarray.h>
+#include <tqmemarray.h>
#include <kpanelapplet.h>
@@ -37,15 +37,15 @@ class PiecesTable : public QtTableView
Q_OBJECT
public:
- PiecesTable(QWidget* parent = 0, const char* name = 0);
- QPopupMenu* popup() { return _menu; }
+ PiecesTable(TQWidget* parent = 0, const char* name = 0);
+ TQPopupMenu* popup() { return _menu; }
protected:
- void resizeEvent(QResizeEvent*);
- void mousePressEvent(QMouseEvent*);
- void mouseMoveEvent(QMouseEvent*);
+ void resizeEvent(TQResizeEvent*);
+ void mousePressEvent(TQMouseEvent*);
+ void mouseMoveEvent(TQMouseEvent*);
- void paintCell(QPainter *, int row, int col);
+ void paintCell(TQPainter *, int row, int col);
void initMap();
void initColors();
@@ -56,9 +56,9 @@ protected slots:
void resetMap();
private:
- QMemArray<int> _map;
- QMemArray<QColor> _colors;
- QPopupMenu *_menu;
+ TQMemArray<int> _map;
+ TQMemArray<TQColor> _colors;
+ TQPopupMenu *_menu;
int _activeRow, _activeCol;
bool _randomized;
};
@@ -68,8 +68,8 @@ class FifteenApplet : public KPanelApplet
Q_OBJECT
public:
- FifteenApplet(const QString& configFile, Type t = Stretch, int actions = 0,
- QWidget *parent = 0, const char *name = 0);
+ FifteenApplet(const TQString& configFile, Type t = Stretch, int actions = 0,
+ TQWidget *parent = 0, const char *name = 0);
int widthForHeight(int height) const;
int heightForWidth(int width) const;