summaryrefslogtreecommitdiff
path: root/core/launcher/shutdownimpl.cpp
authorsandman <sandman>2002-11-17 02:03:01 (UTC)
committer sandman <sandman>2002-11-17 02:03:01 (UTC)
commit5a1f5ba99dfb754f1be4500dd55dca42b36413b8 (patch) (unidiff)
tree18b10582e1a4b1d28f5091494a2939fcad5f9de9 /core/launcher/shutdownimpl.cpp
parentd28c78c564f3c6ecad91506c50e2c80e66c1a718 (diff)
downloadopie-5a1f5ba99dfb754f1be4500dd55dca42b36413b8.zip
opie-5a1f5ba99dfb754f1be4500dd55dca42b36413b8.tar.gz
opie-5a1f5ba99dfb754f1be4500dd55dca42b36413b8.tar.bz2
- enabled the Shutdown button in Shutdown-Settings on OZ
- enabled the LockKeyState indicator for iPAQs (to the right of the clock applet, since also iPAQs can have keyboards) - kergoth forgot a QT_QWS_EBX -> QT_QWS_SHARP - the launcher binary is now exactly the same on iPAQ and Zaurus
Diffstat (limited to 'core/launcher/shutdownimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/shutdownimpl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/launcher/shutdownimpl.cpp b/core/launcher/shutdownimpl.cpp
index a202b7b..cf4f926 100644
--- a/core/launcher/shutdownimpl.cpp
+++ b/core/launcher/shutdownimpl.cpp
@@ -105,29 +105,24 @@ ShutdownImpl::ShutdownImpl( QWidget* parent, const char *name, WFlags fl )
105 cancel-> setDefault ( true ); 105 cancel-> setDefault ( true );
106 cancel-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding, cancel-> sizePolicy ( ). hasHeightForWidth ( ) ) ); 106 cancel-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding, cancel-> sizePolicy ( ). hasHeightForWidth ( ) ) );
107 vbox-> addWidget ( cancel ); 107 vbox-> addWidget ( cancel );
108 108
109 m_timer = new QTimer ( this ); 109 m_timer = new QTimer ( this );
110 connect ( m_timer, SIGNAL( timeout ( ) ), this, SLOT( timeout ( ) ) ); 110 connect ( m_timer, SIGNAL( timeout ( ) ), this, SLOT( timeout ( ) ) );
111 111
112 connect ( btngrp, SIGNAL( clicked ( int ) ), this, SLOT( buttonClicked ( int ) ) ); 112 connect ( btngrp, SIGNAL( clicked ( int ) ), this, SLOT( buttonClicked ( int ) ) );
113 connect ( cancel, SIGNAL( clicked ( ) ), this, SLOT( cancelClicked ( ) ) ); 113 connect ( cancel, SIGNAL( clicked ( ) ), this, SLOT( cancelClicked ( ) ) );
114 114
115 m_progress-> hide ( ); 115 m_progress-> hide ( );
116 Global::hideInputMethod ( ); 116 Global::hideInputMethod ( );
117
118#ifdef QT_QWS_SHARP
119
120 shutdown-> hide ( );
121#endif
122} 117}
123 118
124void ShutdownImpl::buttonClicked ( int b ) 119void ShutdownImpl::buttonClicked ( int b )
125{ 120{
126 m_counter = 0; 121 m_counter = 0;
127 122
128 switch ( b ) { 123 switch ( b ) {
129 case 1: 124 case 1:
130 m_operation = ShutdownSystem; 125 m_operation = ShutdownSystem;
131 break; 126 break;
132 case 2: 127 case 2:
133 m_operation = RebootSystem; 128 m_operation = RebootSystem;