summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/mainwindow.h
diff options
context:
space:
mode:
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;