-rw-r--r-- | noncore/games/backgammon/aidialog.cpp | 3 | ||||
-rw-r--r-- | noncore/games/backgammon/filedialog.cpp | 3 | ||||
-rw-r--r-- | noncore/games/backgammon/playerdialog.cpp | 4 | ||||
-rw-r--r-- | noncore/games/backgammon/rulesdialog.cpp | 4 | ||||
-rw-r--r-- | noncore/games/backgammon/themedialog.cpp | 2 | ||||
-rw-r--r-- | noncore/games/sfcave/helpwindow.cpp | 4 | ||||
-rw-r--r-- | noncore/games/tetrix/ohighscoredlg.cpp | 3 | ||||
-rw-r--r-- | noncore/games/tictac/tictac.cpp | 4 |
8 files changed, 18 insertions, 9 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 @@ -3,4 +3,5 @@ #include <qgroupbox.h> +#include <qpe/qpeapplication.h> AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) @@ -77,5 +78,5 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) setHelpText(); - showMaximized(); + QPEApplication::showDialog( this ); } diff --git a/noncore/games/backgammon/filedialog.cpp b/noncore/games/backgammon/filedialog.cpp index 6c858a2..a5e71c9 100644 --- a/noncore/games/backgammon/filedialog.cpp +++ b/noncore/games/backgammon/filedialog.cpp @@ -23,5 +23,6 @@ FileDialog::FileDialog(QWidget* parent,QString header,QString extension,const ch fileinput=new QLineEdit(file_name,this); fileinput->setGeometry(1,220,235,20); - showMaximized(); +
+ QPEApplication::showDialog( this );
} diff --git a/noncore/games/backgammon/playerdialog.cpp b/noncore/games/backgammon/playerdialog.cpp index c16f202..0faf7e2 100644 --- a/noncore/games/backgammon/playerdialog.cpp +++ b/noncore/games/backgammon/playerdialog.cpp @@ -3,4 +3,6 @@ #include <qgroupbox.h> +#include <qpe/qpeapplication.h> + PlayerDialog::PlayerDialog(QWidget* parent,const char* name,bool modal,WFlags f) :QDialog(parent,name,modal,f) @@ -32,5 +34,5 @@ PlayerDialog::PlayerDialog(QWidget* parent,const char* name,bool modal,WFlags f) button2_state(auto2); - showMaximized(); + QPEApplication::showDialog( this ); } diff --git a/noncore/games/backgammon/rulesdialog.cpp b/noncore/games/backgammon/rulesdialog.cpp index 85c3db3..5e17eeb 100644 --- a/noncore/games/backgammon/rulesdialog.cpp +++ b/noncore/games/backgammon/rulesdialog.cpp @@ -4,4 +4,6 @@ #include <qlabel.h> +#include <qpe/qpeapplication.h> + RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f) : QDialog(parent,name,modal,f) @@ -33,5 +35,5 @@ RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f) nice_dice_help->setGeometry(10,40,200,60); - showMaximized(); + QPEApplication::showDialog( this ); } diff --git a/noncore/games/backgammon/themedialog.cpp b/noncore/games/backgammon/themedialog.cpp index dcb957c..f342381 100644 --- a/noncore/games/backgammon/themedialog.cpp +++ b/noncore/games/backgammon/themedialog.cpp @@ -60,5 +60,5 @@ ThemeDialog::ThemeDialog(QWidget* parent,const char* name,bool modal,WFlags f) fillBox("table",boxtable); - showMaximized(); + QPEApplication::showDialog( this ); } diff --git a/noncore/games/sfcave/helpwindow.cpp b/noncore/games/sfcave/helpwindow.cpp index c920312..544e237 100644 --- a/noncore/games/sfcave/helpwindow.cpp +++ b/noncore/games/sfcave/helpwindow.cpp @@ -21,4 +21,6 @@ #include <qtextview.h> +#include <qpe/qpeapplication.h> + #include "helpwindow.h" @@ -72,5 +74,5 @@ HelpWindow::HelpWindow( QWidget *parent, const char *name, bool modal, WFlags fl layout->insertSpacing( -1, 5 ); - showMaximized(); + QPEApplication::showDialog( this ); } diff --git a/noncore/games/tetrix/ohighscoredlg.cpp b/noncore/games/tetrix/ohighscoredlg.cpp index cf0dcf7..7581f51 100644 --- a/noncore/games/tetrix/ohighscoredlg.cpp +++ b/noncore/games/tetrix/ohighscoredlg.cpp @@ -18,4 +18,5 @@ #include <qlayout.h> #include <qpe/config.h> +#include <qpe/qpeapplication.h> #include <qstring.h> @@ -170,5 +171,5 @@ OHighscoreDialog::OHighscoreDialog(OHighscore *highscore, QWidget *parent, const vbox_layout->addWidget( list ); - showMaximized(); + QPEApplication::showDialog( this ); } diff --git a/noncore/games/tictac/tictac.cpp b/noncore/games/tictac/tictac.cpp index 4954ba4..9de3b58 100644 --- a/noncore/games/tictac/tictac.cpp +++ b/noncore/games/tictac/tictac.cpp @@ -64,5 +64,5 @@ TicTacGameBoard::TicTacGameBoard( int n, QWidget *parent, const char *name ) : QWidget( parent, name ) { - showMaximized(); + QPEApplication::showWidget( this ); st = Init; // initial state nBoard = n; @@ -334,5 +334,5 @@ TicTacToe::TicTacToe( QWidget *parent, const char *name, WFlags fl ) b->addWidget( newGame ); b->addWidget( quit ); - showMaximized(); + QPEApplication::showWidget( this ); newState(); } |