summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/mainwindow.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 /knetwalk/src/mainwindow.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 'knetwalk/src/mainwindow.h')
-rw-r--r--knetwalk/src/mainwindow.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/knetwalk/src/mainwindow.h b/knetwalk/src/mainwindow.h
index c28b6ed6..622db60c 100644
--- a/knetwalk/src/mainwindow.h
+++ b/knetwalk/src/mainwindow.h
@@ -28,9 +28,9 @@ class MainWindow : public KMainWindow
{
Q_OBJECT
public:
- MainWindow(QWidget *parent=0, const char* name=0, WFlags fl=0);
+ MainWindow(TQWidget *parent=0, const char* name=0, WFlags fl=0);
protected:
- virtual void closeEvent(QCloseEvent*);
+ virtual void closeEvent(TQCloseEvent*);
private:
//enum Skill { Novice, Normal, Expert, Master };
enum BoardSize
@@ -45,7 +45,7 @@ class MainWindow : public KMainWindow
NumHighscores = 10,
MinimumNumCells = 20
};
- typedef QValueList<Cell*> CellList;
+ typedef TQValueList<Cell*> CellList;
public slots:
void slotNewGame();
void newGame(int);
@@ -64,30 +64,30 @@ class MainWindow : public KMainWindow
Cell* lCell(Cell* cell) const;
Cell* rCell(Cell* cell) const;
bool isGameOver();
- bool startBrowser(const QString& url);
+ bool startBrowser(const TQString& url);
bool updateConnections();
void blink(int index);
void rotate(int index, bool toleft);
void addRandomDir(CellList& list);
- void dialog(const QString& caption, const QString& text);
+ void dialog(const TQString& caption, const TQString& text);
private:
bool wrapped;
Cell* root;
Cell* board[MasterBoardSize * MasterBoardSize];
- QSound* clicksound;
- QSound* connectsound;
- QSound* startsound;
- QSound* turnsound;
- QSound* winsound;
+ TQSound* clicksound;
+ TQSound* connectsound;
+ TQSound* startsound;
+ TQSound* turnsound;
+ TQSound* winsound;
- QString username;
- QString soundpath;
- QAction* soundaction;
- QStringList highscores;
- QLCDNumber* lcd;
- QPopupMenu* gamemenu;
- QPopupMenu* skillmenu;
+ TQString username;
+ TQString soundpath;
+ TQAction* soundaction;
+ TQStringList highscores;
+ TQLCDNumber* lcd;
+ TQPopupMenu* gamemenu;
+ TQPopupMenu* skillmenu;
int m_clickcount;
KSelectAction* m_levels;