summaryrefslogtreecommitdiff
path: root/noncore/tools/opie-sh/opie-sh.cpp
authorar <ar>2004-02-21 19:09:12 (UTC)
committer ar <ar>2004-02-21 19:09:12 (UTC)
commitc7e563cbb26c20807e66dd4284d1ce9cbf8e1419 (patch) (side-by-side diff)
treee55119af88abe930c1ce492f30efb72c929a730c /noncore/tools/opie-sh/opie-sh.cpp
parent536f271b1e6a1d1886e96a28524a3503c4c38c4e (diff)
downloadopie-c7e563cbb26c20807e66dd4284d1ce9cbf8e1419.zip
opie-c7e563cbb26c20807e66dd4284d1ce9cbf8e1419.tar.gz
opie-c7e563cbb26c20807e66dd4284d1ce9cbf8e1419.tar.bz2
improve support for BigScreen
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
@@ -14,17 +14,23 @@ You should have received a copy of the GNU General Public License along with thi
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>
#include <qwidget.h>
+/* STD */
#include <stdio.h>
-#include "mbox.h"
-#include "fviewer.h"
-#include "inputdialog.h"
int myMessageBox(int wi, int h, QWidget *w, int argc, QStringList args)
{
@@ -84,7 +90,7 @@ int myMessageBox(int wi, int h, QWidget *w, int argc, QStringList args)
if(full)
{
w->setCaption(title);
- w->showMaximized();
+ QPEApplication::showWidget( w );
}
// mbox->show();
switch(mbox->exec() )
@@ -161,7 +167,7 @@ int fileviewer(QPEApplication *a, int argc, QStringList args)
}
FViewer *fview = new FViewer(icon, filename, title, 0, (QString) "fileviewer");
a->setMainWidget(fview);
- fview->showMaximized();
+ QPEApplication::showWidget( fview );
return a->exec();
}
@@ -225,7 +231,7 @@ int input(int wi, int h, QWidget *w, int argc, QStringList args)
if(full)
{
w->setCaption(title);
- w->showMaximized();
+ QPEApplication::showWidget( w );
}
if( id->exec() == 1)
{