summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/backgammon/aidialog.cpp3
-rw-r--r--noncore/games/backgammon/filedialog.cpp3
-rw-r--r--noncore/games/backgammon/playerdialog.cpp4
-rw-r--r--noncore/games/backgammon/rulesdialog.cpp4
-rw-r--r--noncore/games/backgammon/themedialog.cpp2
-rw-r--r--noncore/games/sfcave/helpwindow.cpp4
-rw-r--r--noncore/games/tetrix/ohighscoredlg.cpp3
-rw-r--r--noncore/games/tictac/tictac.cpp4
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
@@ -4,2 +4,3 @@
+#include <qpe/qpeapplication.h>
@@ -78,3 +79,3 @@ 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
@@ -24,3 +24,4 @@ FileDialog::FileDialog(QWidget* parent,QString header,QString extension,const ch
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
@@ -4,2 +4,4 @@
+#include <qpe/qpeapplication.h>
+
PlayerDialog::PlayerDialog(QWidget* parent,const char* name,bool modal,WFlags f)
@@ -33,3 +35,3 @@ PlayerDialog::PlayerDialog(QWidget* parent,const char* name,bool modal,WFlags f)
- 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
@@ -5,2 +5,4 @@
+#include <qpe/qpeapplication.h>
+
RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f)
@@ -34,3 +36,3 @@ RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f)
- 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
@@ -61,3 +61,3 @@ ThemeDialog::ThemeDialog(QWidget* parent,const char* name,bool modal,WFlags f)
- 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
@@ -22,2 +22,4 @@
+#include <qpe/qpeapplication.h>
+
#include "helpwindow.h"
@@ -73,3 +75,3 @@ HelpWindow::HelpWindow( QWidget *parent, const char *name, bool modal, WFlags fl
- 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
@@ -19,2 +19,3 @@
#include <qpe/config.h>
+#include <qpe/qpeapplication.h>
@@ -171,3 +172,3 @@ 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
@@ -65,3 +65,3 @@ TicTacGameBoard::TicTacGameBoard( int n, QWidget *parent, const char *name )
{
- showMaximized();
+ QPEApplication::showWidget( this );
st = Init; // initial state
@@ -335,3 +335,3 @@ TicTacToe::TicTacToe( QWidget *parent, const char *name, WFlags fl )
b->addWidget( quit );
- showMaximized();
+ QPEApplication::showWidget( this );
newState();