summaryrefslogtreecommitdiff
path: root/noncore/tools/opie-sh/opie-sh.cpp
Side-by-side diff
Diffstat (limited to 'noncore/tools/opie-sh/opie-sh.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/tools/opie-sh/opie-sh.cpp20
1 files changed, 13 insertions, 7 deletions
diff --git a/noncore/tools/opie-sh/opie-sh.cpp b/noncore/tools/opie-sh/opie-sh.cpp
index a353d3f..7d54a03 100644
--- a/noncore/tools/opie-sh/opie-sh.cpp
+++ b/noncore/tools/opie-sh/opie-sh.cpp
@@ -16,5 +16,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+#include "mbox.h"
+#include "fviewer.h"
+#include "inputdialog.h"
+
+/* OPIE */
+#include <qpe/qpeapplication.h>
+
+/* QT */
#include <qstring.h>
#include <qstringlist.h>
-#include <qpe/qpeapplication.h>
#include <qmessagebox.h>
@@ -22,7 +30,5 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+/* STD */
#include <stdio.h>
-#include "mbox.h"
-#include "fviewer.h"
-#include "inputdialog.h"
@@ -86,3 +92,3 @@ int myMessageBox(int wi, int h, QWidget *w, int argc, QStringList args)
w->setCaption(title);
- w->showMaximized();
+ QPEApplication::showWidget( w );
}
@@ -163,3 +169,3 @@ int fileviewer(QPEApplication *a, int argc, QStringList args)
a->setMainWidget(fview);
- fview->showMaximized();
+ QPEApplication::showWidget( fview );
return a->exec();
@@ -227,3 +233,3 @@ int input(int wi, int h, QWidget *w, int argc, QStringList args)
w->setCaption(title);
- w->showMaximized();
+ QPEApplication::showWidget( w );
}