summaryrefslogtreecommitdiffstats
path: root/klines/prompt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klines/prompt.cpp')
-rw-r--r--klines/prompt.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/klines/prompt.cpp b/klines/prompt.cpp
index 09c17e2a..7a9ec36a 100644
--- a/klines/prompt.cpp
+++ b/klines/prompt.cpp
@@ -15,12 +15,12 @@
* *
***************************************************************************/
-#include <qpainter.h>
+#include <tqpainter.h>
#include "prompt.h"
#include "prompt.moc"
-LinesPrompt::LinesPrompt( BallPainter * abPainter, QWidget* parent, const char* name )
- : QWidget( parent, name )
+LinesPrompt::LinesPrompt( BallPainter * abPainter, TQWidget* parent, const char* name )
+ : TQWidget( parent, name )
{
bPainter = abPainter;
@@ -47,9 +47,9 @@ int LinesPrompt::height() { return CELLSIZE ; }
int LinesPrompt::wPrompt() { return CELLSIZE * 3 ; }
int LinesPrompt::hPrompt() { return CELLSIZE ; }
-void LinesPrompt::paintEvent( QPaintEvent* )
+void LinesPrompt::paintEvent( TQPaintEvent* )
{
- QPainter paint( this );
+ TQPainter paint( this );
if(PromptEnabled){
paint.drawPixmap(0, 0, bPainter->GetNormalBall(cb[0]) );
paint.drawPixmap(CELLSIZE, 0, bPainter->GetNormalBall(cb[1]) );
@@ -65,7 +65,7 @@ void LinesPrompt::paintEvent( QPaintEvent* )
/*
Handles mouse press events for the LinesPrompt widget.
*/
-void LinesPrompt::mousePressEvent( QMouseEvent* )
+void LinesPrompt::mousePressEvent( TQMouseEvent* )
{
emit PromptPressed();
}