summaryrefslogtreecommitdiffstats
path: root/ksnake/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksnake/view.cpp')
-rw-r--r--ksnake/view.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksnake/view.cpp b/ksnake/view.cpp
index 3db7d34f..a8503700 100644
--- a/ksnake/view.cpp
+++ b/ksnake/view.cpp
@@ -32,15 +32,15 @@ int MAPWIDTH = BRICKSIZE * 35;
int MAPHEIGHT = MAPWIDTH;
#define BAR_HEIGHT 12
-View::View( QWidget *parent, const char *name )
- : QWidget( parent, name )
+View::View( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
progress = new Progress(this);
rattler = new Rattler( this);
setMinimumSize(145,145+BAR_HEIGHT);
}
-void View::resizeEvent( QResizeEvent * )
+void View::resizeEvent( TQResizeEvent * )
{
// These hard coded number really need to be documented
BRICKSIZE= (int)16* ((width() < height() - BAR_HEIGHT) ? width() : height() - BAR_HEIGHT)/ 560;
@@ -51,9 +51,9 @@ void View::resizeEvent( QResizeEvent * )
rattler->setGeometry(0, BAR_HEIGHT, width(), height()-BAR_HEIGHT);
}
-QSize View::sizeHint() const
+TQSize View::sizeHint() const
{
- return QSize(490,502);
+ return TQSize(490,502);
}
#include "view.moc"