Diffstat (limited to 'noncore/games/backgammon/aidialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/backgammon/aidialog.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/noncore/games/backgammon/aidialog.cpp b/noncore/games/backgammon/aidialog.cpp index 7dfe403..32e9b52 100644 --- a/noncore/games/backgammon/aidialog.cpp +++ b/noncore/games/backgammon/aidialog.cpp @@ -4,2 +4,3 @@ +#include <qpe/qpeapplication.h> @@ -30,3 +31,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) connect(eliminatehelp,SIGNAL(released()),this,SLOT(eliminatehelp_released())); - + QLabel* expose_label=new QLabel(tr( "<b>Expose</b>" ),settings); @@ -39,3 +40,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) connect(exposeehelp,SIGNAL(released()),this,SLOT(exposehelp_released())); - + QLabel* protect_label=new QLabel(tr( "<b>Protect</b>" ),settings); @@ -48,3 +49,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) connect(protecthelp,SIGNAL(released()),this,SLOT(protecthelp_released())); - + QLabel* safe_label=new QLabel(tr( "<b>Safe</b>" ),settings); @@ -57,3 +58,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) connect(safeehelp,SIGNAL(released()),this,SLOT(safehelp_released())); - + QLabel* empty_label=new QLabel(tr( "<b>Empty</b>" ),settings); @@ -66,3 +67,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) connect(emptyhelp,SIGNAL(released()),this,SLOT(emptyhelp_released())); - + defaultvalues=new QPushButton(tr( "Default Values" ),settings); @@ -76,5 +77,5 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) help->setGeometry(10,15,200,65); - + setHelpText(); - showMaximized(); + QPEApplication::showDialog( this ); } |