diff options
Diffstat (limited to 'ksnake')
-rw-r--r-- | ksnake/progress.cpp | 2 | ||||
-rw-r--r-- | ksnake/rattler.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ksnake/progress.cpp b/ksnake/progress.cpp index 547ddbab..f155a5ac 100644 --- a/ksnake/progress.cpp +++ b/ksnake/progress.cpp @@ -26,7 +26,7 @@ #include "progress.h" Progress::Progress(TQWidget *parent, const char *name) - : KGameProgress(0, 300, 300, Qt::Horizontal, parent, name) + : KGameProgress(0, 300, 300, TQt::Horizontal, parent, name) { setBarColor("green1"); setTextEnabled(false); diff --git a/ksnake/rattler.cpp b/ksnake/rattler.cpp index 400e9794..d7bc630c 100644 --- a/ksnake/rattler.cpp +++ b/ksnake/rattler.cpp @@ -196,7 +196,7 @@ void Rattler::mousePressEvent( TQMouseEvent *e ) return; uint button = e->button(); - if (button == Qt::RightButton) + if (button == TQt::RightButton) { switch (direction) { @@ -211,7 +211,7 @@ void Rattler::mousePressEvent( TQMouseEvent *e ) } e->accept(); } - else if (button == Qt::LeftButton) + else if (button == TQt::LeftButton) { switch (direction) { |