From cfc42a28c327b96c6a2afee92af3bac1a479eb8a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:49:52 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- fifteenapplet/fifteenapplet.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'fifteenapplet/fifteenapplet.h') 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 +#include #include @@ -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 _map; - QMemArray _colors; - QPopupMenu *_menu; + TQMemArray _map; + TQMemArray _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; -- cgit v1.2.1