summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/battery.cpp2
-rw-r--r--core/launcher/launcher.cpp3
-rw-r--r--core/launcher/serverapp.cpp2
-rw-r--r--core/multimedia/opieplayer/audiowidget.cpp2
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp2
-rw-r--r--core/multimedia/opieplayer/videowidget.cpp2
-rw-r--r--core/obex/obexhandler.cpp3
-rw-r--r--core/pim/today/today.cpp2
-rw-r--r--core/pim/today/todayconfig.cpp3
-rw-r--r--core/settings/button/buttonsettings.cpp3
-rw-r--r--core/settings/launcher/tabssettings.cpp4
-rw-r--r--core/settings/light-and-power/light.cpp3
-rw-r--r--core/settings/security/security.cpp2
13 files changed, 16 insertions, 17 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp
index 4adcab4..3b64fb5 100644
--- a/core/applets/batteryapplet/battery.cpp
+++ b/core/applets/batteryapplet/battery.cpp
@@ -77,5 +77,5 @@ void BatteryMeter::mouseReleaseEvent( QMouseEvent* e)
} else {
if ( !batteryView ) batteryView = new BatteryStatus( ps );
- batteryView->showMaximized();
+ QPEApplication::showWidget( batteryView );
batteryView->raise();
batteryView->show();
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index bdddd37..98e7481 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -614,6 +614,5 @@ void Launcher::properties( AppLnk *appLnk )
LnkProperties prop(appLnk,0 );
- prop.showMaximized();
- prop.exec();
+ QPEApplication::execDialog( &prop );
}
}
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp
index e8d49fd..e18bcee 100644
--- a/core/launcher/serverapp.cpp
+++ b/core/launcher/serverapp.cpp
@@ -703,5 +703,5 @@ void ServerApplication::shutdown()
connect( sd, SIGNAL(shutdown(ShutdownImpl::Type)),
this, SLOT(shutdown(ShutdownImpl::Type)) );
- sd->showMaximized();
+ QPEApplication::showWidget( sd );
}
diff --git a/core/multimedia/opieplayer/audiowidget.cpp b/core/multimedia/opieplayer/audiowidget.cpp
index 44fbe48..fbc5072 100644
--- a/core/multimedia/opieplayer/audiowidget.cpp
+++ b/core/multimedia/opieplayer/audiowidget.cpp
@@ -287,5 +287,5 @@ void AudioWidget::setView( char view ) {
startTimer( 150 );
// show();
- showMaximized();
+ QPEApplication::showWidget( this );
} else {
killTimers();
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp
index 82fd1e1..db99866 100644
--- a/core/multimedia/opieplayer/playlistwidget.cpp
+++ b/core/multimedia/opieplayer/playlistwidget.cpp
@@ -706,5 +706,5 @@ void PlayListWidget::setPlaylist( bool shown ) {
void PlayListWidget::setView( char view ) {
if ( view == 'l' )
- showMaximized();
+ QPEApplication::showWidget( this );
else
hide();
diff --git a/core/multimedia/opieplayer/videowidget.cpp b/core/multimedia/opieplayer/videowidget.cpp
index d9a9478..5273ad3 100644
--- a/core/multimedia/opieplayer/videowidget.cpp
+++ b/core/multimedia/opieplayer/videowidget.cpp
@@ -421,5 +421,5 @@ void VideoWidget::makeVisible() {
setBackgroundPixmap( *pixBg );
showNormal();
- showMaximized();
+ QPEApplication::showWidget( this );
slider->show();
}
diff --git a/core/obex/obexhandler.cpp b/core/obex/obexhandler.cpp
index 5aaf63c..c237555 100644
--- a/core/obex/obexhandler.cpp
+++ b/core/obex/obexhandler.cpp
@@ -2,4 +2,5 @@
#include <qpe/qcopenvelope_qws.h>
+#include <qpe/qpeapplication.h>
#include "obexsend.h"
@@ -27,5 +28,5 @@ void ObexHandler::doSend(const QString& str, const QString& desc) {
m_sender = new SendWidget;
m_sender->raise();
- m_sender->showMaximized();
+ QPEApplication::showWidget( m_sender );
connect(m_sender, SIGNAL(done() ),
this, SLOT(slotSent() ) );
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 139c91b..c83a5df 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -83,5 +83,5 @@ Today::Today( QWidget* parent, const char* name, WFlags fl )
qApp->processEvents();
loadPlugins();
- showMaximized();
+ QPEApplication::showWidget( this );
}
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp
index e71c5b0..9ced0d8 100644
--- a/core/pim/today/todayconfig.cpp
+++ b/core/pim/today/todayconfig.cpp
@@ -20,4 +20,5 @@
#include <qpe/resource.h>
#include <qpe/qcopenvelope_qws.h>
+#include <qpe/qpeapplication.h>
#include <qcheckbox.h>
@@ -88,5 +89,5 @@ TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal )
readConfig();
- showMaximized();
+ QPEApplication::showDialog( this );
}
diff --git a/core/settings/button/buttonsettings.cpp b/core/settings/button/buttonsettings.cpp
index 523e295..141e0f6 100644
--- a/core/settings/button/buttonsettings.cpp
+++ b/core/settings/button/buttonsettings.cpp
@@ -215,6 +215,5 @@ void ButtonSettings::edit ( buttoninfo *bi, bool hold )
RemapDlg *d = new RemapDlg ( bi-> m_button, hold, this );
- d-> showMaximized ( );
- if ( d-> exec ( ) == QDialog::Accepted ) {
+ if ( QPEApplication::execDialog ( d ) == QDialog::Accepted ) {
diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp
index a3d31a5..17a1609 100644
--- a/core/settings/launcher/tabssettings.cpp
+++ b/core/settings/launcher/tabssettings.cpp
@@ -33,4 +33,5 @@
#include <qpe/qcopenvelope_qws.h>
#include <qpe/config.h>
+#include <qpe/qpeapplication.h>
#include <qlistbox.h>
@@ -301,6 +302,5 @@ void TabsSettings::editClicked ( )
TabDialog *d = new TabDialog ( m_list-> pixmap ( ind ), m_list-> text ( ind ), tc, this, "TabDialog", true );
- d-> showMaximized ( );
- if ( d-> exec ( ) == QDialog::Accepted ) {
+ if ( QPEApplication::execDialog( d ) == QDialog::Accepted ) {
tc. m_changed = true;
m_tabs [m_ids [ind]] = tc;
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp
index b21215b..60f7417 100644
--- a/core/settings/light-and-power/light.cpp
+++ b/core/settings/light-and-power/light.cpp
@@ -211,6 +211,5 @@ void LightSettings::calibrateSensorAC ( )
Sensor *s = new Sensor ( m_sensordata_ac, this );
connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int )));
- s-> showMaximized ( );
- s-> exec ( );
+ QPEApplication::execDialog ( s );
delete s;
}
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp
index 7bb14cd..34f7e50 100644
--- a/core/settings/security/security.cpp
+++ b/core/settings/security/security.cpp
@@ -103,5 +103,5 @@
dl = new QPEDialogListener(this);
- showMaximized();
+ QPEApplication::showDialog( this );
}