summaryrefslogtreecommitdiffstats
path: root/klines/prompt.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /klines/prompt.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();
}