summaryrefslogtreecommitdiff
authorar <ar>2004-02-14 17:15:39 (UTC)
committer ar <ar>2004-02-14 17:15:39 (UTC)
commitf8e43c3ba35bc784fc332e27db2898d4191269ac (patch) (side-by-side diff)
tree2783066d8dc6d902765d1f733e04618914b88f18
parentc6bca75c479533d064a782a5f27d3dfb3aa1c042 (diff)
downloadopie-f8e43c3ba35bc784fc332e27db2898d4191269ac.zip
opie-f8e43c3ba35bc784fc332e27db2898d4191269ac.tar.gz
opie-f8e43c3ba35bc784fc332e27db2898d4191269ac.tar.bz2
improve support for BigScreen
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp4
-rw-r--r--noncore/multimedia/tonleiter/editinst.cpp4
-rw-r--r--noncore/multimedia/tonleiter/editscale.cpp4
3 files changed, 9 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index 2c54ae6..4242aa6 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -36,6 +36,8 @@
#include "mediaplayerstate.h"
#include "playlistwidget.h"
+#include <qpe/qpeapplication.h>
+
namespace
{
@@ -145,7 +147,7 @@ void AudioWidget::setLength( long max ) {
void AudioWidget::setDisplayType( MediaPlayerState::DisplayType mediaType ) {
if ( mediaType == MediaPlayerState::Audio ) {
// startTimer( 150 );
- showMaximized();
+ QPEApplication::showDialog( this );
return;
}
diff --git a/noncore/multimedia/tonleiter/editinst.cpp b/noncore/multimedia/tonleiter/editinst.cpp
index f172ef8..5616569 100644
--- a/noncore/multimedia/tonleiter/editinst.cpp
+++ b/noncore/multimedia/tonleiter/editinst.cpp
@@ -3,6 +3,8 @@
#include <qlabel.h>
#include <qpushbutton.h>
+#include <qpe/qpeapplication.h>
+
Menu::InstEditDialog::InstEditDialog(TonleiterData* data,QWidget* parent,const char* name)
:QDialog(parent,name,true,0),data(data)
{
@@ -54,7 +56,7 @@ Menu::InstEditDialog::InstEditDialog(TonleiterData* data,QWidget* parent,const c
masterlayout->addWidget(addlowButton);
//make dialog fit the screen
- showMaximized();
+ QPEApplication::showDialog( this );
}
//****************************************************************************
Menu::InstEditDialog::~InstEditDialog()
diff --git a/noncore/multimedia/tonleiter/editscale.cpp b/noncore/multimedia/tonleiter/editscale.cpp
index 0be0058..28bd579 100644
--- a/noncore/multimedia/tonleiter/editscale.cpp
+++ b/noncore/multimedia/tonleiter/editscale.cpp
@@ -3,6 +3,8 @@
#include <qlayout.h>
#include <qpushbutton.h>
+#include <qpe/qpeapplication.h>
+
Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const char* name)
:QDialog(parent,name,true,0),data(data)
{
@@ -36,7 +38,7 @@ Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const
masterlayout->addWidget(pianoscale);
//make dialog fit the screen
- showMaximized();
+ QPEApplication::showDialog( this );
}
//****************************************************************************
Menu::ScaleEditDialog::~ScaleEditDialog()