summaryrefslogtreecommitdiffstats
path: root/kpat/cardmaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/cardmaps.cpp')
-rw-r--r--kpat/cardmaps.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpat/cardmaps.cpp b/kpat/cardmaps.cpp
index 563f4bfe..a7461daa 100644
--- a/kpat/cardmaps.cpp
+++ b/kpat/cardmaps.cpp
@@ -95,7 +95,7 @@ bool cardMap::setCardDir( const TQString &dir)
card_width = image.width();
card_height = image.height();
- const int diff_x_between_cards = QMAX(card_width / 9, 1);
+ const int diff_x_between_cards = TQMAX(card_width / 9, 1);
TQString wait_message = i18n("please wait, loading cards...");
TQString greeting = i18n("KPatience - a Solitaire game");
@@ -103,23 +103,23 @@ bool cardMap::setCardDir( const TQString &dir)
if( animate ) {
t1 = TQTime::currentTime();
- w = new TQWidget( 0, "", Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_Tool );
+ w = new TQWidget( 0, "", TQt::WStyle_Customize | TQt::WStyle_NoBorder | TQt::WStyle_Tool );
TQRect dg = KGlobalSettings::splashScreenDesktopGeometry();
- w->setBackgroundColor( Qt::darkGreen );
+ w->setBackgroundColor( TQt::darkGreen );
w->setGeometry( dg.left() + ( dg.width() - greeting_width ) / 2, dg.top() + ( dg.height() - 180 ) / 2, greeting_width, 180);
w->show();
- qApp->processEvents();
+ tqApp->processEvents();
p.begin( w );
- p.drawText(0, 150, greeting_width, 20, Qt::AlignCenter,
+ p.drawText(0, 150, greeting_width, 20, TQt::AlignCenter,
wait_message );
p.setFont(TQFont("Times", 24));
- p.drawText(0, 0, greeting_width, 40, Qt::AlignCenter,
+ p.drawText(0, 0, greeting_width, 40, TQt::AlignCenter,
greeting);
p.setPen(TQPen(TQColor(0, 0, 0), 4));
- p.setBrush(Qt::NoBrush);
+ p.setBrush(TQt::NoBrush);
p.drawRect(0, 0, greeting_width, 180);
p.flush();
}