summaryrefslogtreecommitdiffstats
path: root/ksnake
diff options
context:
space:
mode:
Diffstat (limited to 'ksnake')
-rw-r--r--ksnake/appearance.ui2
-rw-r--r--ksnake/game.cpp2
-rw-r--r--ksnake/general.ui2
-rw-r--r--ksnake/rattler.cpp2
-rw-r--r--ksnake/view.cpp2
-rw-r--r--ksnake/view.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/ksnake/appearance.ui b/ksnake/appearance.ui
index 7696fc19..d5f49530 100644
--- a/ksnake/appearance.ui
+++ b/ksnake/appearance.ui
@@ -71,7 +71,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>40</height>
diff --git a/ksnake/game.cpp b/ksnake/game.cpp
index 29e8b5df..c1f66680 100644
--- a/ksnake/game.cpp
+++ b/ksnake/game.cpp
@@ -98,7 +98,7 @@ void Game::setTrys(int tries){
void Game::gameEnd(int score){
KScoreDialog di(KScoreDialog::Name | KScoreDialog::Score | KScoreDialog::Date, this);
KScoreDialog::FieldInfo scoreInfo;
- TQString date = TQDateTime::tqcurrentDateTime().toString();
+ TQString date = TQDateTime::currentDateTime().toString();
scoreInfo.insert(KScoreDialog::Date, date);
if (di.addScore(score, scoreInfo, true))
di.exec();
diff --git a/ksnake/general.ui b/ksnake/general.ui
index 39e3f45b..e3a50cce 100644
--- a/ksnake/general.ui
+++ b/ksnake/general.ui
@@ -189,7 +189,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>70</height>
diff --git a/ksnake/rattler.cpp b/ksnake/rattler.cpp
index 4c68f316..97c166f8 100644
--- a/ksnake/rattler.cpp
+++ b/ksnake/rattler.cpp
@@ -314,7 +314,7 @@ void Rattler::pause()
label->setFont( TQFont( "Times", 14, TQFont::Bold ) );
label->setText(i18n("Game Paused\n Press %1 to resume\n")
.tqarg(tempPauseAction->shortcutText()));
- label->tqsetAlignment( AlignCenter );
+ label->setAlignment( AlignCenter );
label->setFrameStyle( TQFrame::Panel | TQFrame::Raised );
label->setGeometry(182, 206, 198, 80);
label->show();
diff --git a/ksnake/view.cpp b/ksnake/view.cpp
index add5cf16..a8503700 100644
--- a/ksnake/view.cpp
+++ b/ksnake/view.cpp
@@ -51,7 +51,7 @@ void View::resizeEvent( TQResizeEvent * )
rattler->setGeometry(0, BAR_HEIGHT, width(), height()-BAR_HEIGHT);
}
-TQSize View::tqsizeHint() const
+TQSize View::sizeHint() const
{
return TQSize(490,502);
}
diff --git a/ksnake/view.h b/ksnake/view.h
index 9e05da9f..871cd7a1 100644
--- a/ksnake/view.h
+++ b/ksnake/view.h
@@ -42,7 +42,7 @@ public:
protected:
void resizeEvent( TQResizeEvent * );
- virtual TQSize tqsizeHint() const;
+ virtual TQSize sizeHint() const;
};
#endif // VIEW_H