author | sandman <sandman> | 2002-06-27 01:48:58 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-27 01:48:58 (UTC) |
commit | ddb50e049fad86aa83e196117a062fc67ff2fe7d (patch) (side-by-side diff) | |
tree | 1bfb1181c41f5704a5dfefe31150ccbcb38e123b | |
parent | 6d0df38a805c5560b0815df62b212d4be0913154 (diff) | |
download | opie-ddb50e049fad86aa83e196117a062fc67ff2fe7d.zip opie-ddb50e049fad86aa83e196117a062fc67ff2fe7d.tar.gz opie-ddb50e049fad86aa83e196117a062fc67ff2fe7d.tar.bz2 |
Forgot to run astyle to get a sane formating
-rw-r--r-- | core/launcher/shutdownimpl.cpp | 1 | ||||
-rw-r--r-- | core/launcher/shutdownimpl.h | 0 |
2 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/shutdownimpl.cpp b/core/launcher/shutdownimpl.cpp index 0c5b4f6..b1925d9 100644 --- a/core/launcher/shutdownimpl.cpp +++ b/core/launcher/shutdownimpl.cpp @@ -94,48 +94,49 @@ ShutdownImpl::ShutdownImpl( QWidget* parent, const char *name, WFlags fl ) m_progress-> setFrameShape ( QProgressBar::Panel ); m_progress-> setFrameShadow ( QProgressBar::Sunken ); m_progress-> setTotalSteps ( 20 ); m_progress-> setIndicatorFollowsStyle ( false ); vbox-> addWidget ( m_progress ); vbox-> addItem ( new QSpacerItem ( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding )); QPushButton *cancel = new QPushButton ( tr( "Cancel" ), this, "cancel" ); changeButtonColor ( cancel, QColor( 181, 222, 178 )); cancel-> setDefault ( true ); cancel-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding, cancel-> sizePolicy ( ). hasHeightForWidth ( ))); vbox-> addWidget ( cancel ); m_timer = new QTimer ( this ); connect ( m_timer, SIGNAL( timeout ( )), this, SLOT( timeout ( ))); connect ( btngrp, SIGNAL( clicked ( int )), this, SLOT( buttonClicked ( int ))); connect ( cancel, SIGNAL( clicked ( )), this, SLOT( cancelClicked ( ))); m_progress-> hide ( ); Global::hideInputMethod ( ); #ifdef QT_QWS_CUSTOM + shutdown-> hide ( ); #endif } void ShutdownImpl::buttonClicked ( int b ) { m_counter = 0; switch ( b ) { case 1: m_operation = ShutdownSystem; break; case 2: m_operation = RebootSystem; break; case 3: m_operation = RestartDesktop; break; case 4: m_operation = TerminateDesktop; break; } m_info-> hide ( ); m_progress-> show ( ); diff --git a/core/launcher/shutdownimpl.h b/core/launcher/shutdownimpl.h index 462f347..c2ebcc7 100644 --- a/core/launcher/shutdownimpl.h +++ b/core/launcher/shutdownimpl.h |