diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | a13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch) | |
tree | 1f1d3e407ae668b1448847970b2f1b626083faf6 /knetwalk | |
parent | 24c5cdc2737fe0044b11a12359606973eb93fc0b (diff) | |
download | tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knetwalk')
-rw-r--r-- | knetwalk/src/cell.cpp | 2 | ||||
-rw-r--r-- | knetwalk/src/cell.h | 2 | ||||
-rw-r--r-- | knetwalk/src/mainwindow.cpp | 4 | ||||
-rw-r--r-- | knetwalk/src/mainwindow.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/knetwalk/src/cell.cpp b/knetwalk/src/cell.cpp index 7df96806..2847f4d2 100644 --- a/knetwalk/src/cell.cpp +++ b/knetwalk/src/cell.cpp @@ -69,7 +69,7 @@ void Cell::initPixmaps() } } -Cell::Cell(TQWidget* tqparent, int i) : TQWidget(tqparent, 0, WNoAutoErase) +Cell::Cell(TQWidget* parent, int i) : TQWidget(parent, 0, WNoAutoErase) { angle = 0; light = 0; diff --git a/knetwalk/src/cell.h b/knetwalk/src/cell.h index f2423362..6d8e2f75 100644 --- a/knetwalk/src/cell.h +++ b/knetwalk/src/cell.h @@ -24,7 +24,7 @@ class Cell : public TQWidget TQ_OBJECT public: enum Dirs { Free = 0, U = 1, R = 2, D = 4, L = 8, None = 16 }; - Cell(TQWidget* tqparent, int i); + Cell(TQWidget* parent, int i); int index() const; void rotate(int a); void setDirs(Dirs d); diff --git a/knetwalk/src/mainwindow.cpp b/knetwalk/src/mainwindow.cpp index 21de29c0..dbce60a4 100644 --- a/knetwalk/src/mainwindow.cpp +++ b/knetwalk/src/mainwindow.cpp @@ -52,8 +52,8 @@ static TQMap<Cell::Dirs, Cell::Dirs> contrdirs; -MainWindow::MainWindow(TQWidget *tqparent, const char* name, WFlags /*fl*/) : - KMainWindow(tqparent, name, WStyle_NoBorder) +MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) : + KMainWindow(parent, name, WStyle_NoBorder) { m_clickcount = 0; diff --git a/knetwalk/src/mainwindow.h b/knetwalk/src/mainwindow.h index 40402930..11118e0e 100644 --- a/knetwalk/src/mainwindow.h +++ b/knetwalk/src/mainwindow.h @@ -29,7 +29,7 @@ class MainWindow : public KMainWindow Q_OBJECT TQ_OBJECT public: - MainWindow(TQWidget *tqparent=0, const char* name=0, WFlags fl=0); + MainWindow(TQWidget *parent=0, const char* name=0, WFlags fl=0); protected: virtual void closeEvent(TQCloseEvent*); private: |