Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ShutdownImpl Class Reference

#include </home/clem/local/src/opie/core/launcher/shutdownimpl.h>

Collaboration diagram for ShutdownImpl:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { ShutdownSystem, RebootSystem, RestartDesktop, TerminateDesktop }

Signals

void shutdown (ShutdownImpl::Type)

Public Member Functions

 ShutdownImpl (QWidget *parent=0, const char *name=0, WFlags fl=0)
virtual void hide ()

Private Slots

void buttonClicked (int)
void cancelClicked ()
void timeout ()

Private Attributes

QTimer * m_timer
int m_counter
Type m_operation
QLabel * m_info
QProgressBar * m_progress

Member Enumeration Documentation

enum ShutdownImpl::Type
 

Enumeration values:
ShutdownSystem 
RebootSystem 
RestartDesktop 
TerminateDesktop 

Definition at line 35 of file shutdownimpl.h.


Constructor & Destructor Documentation

ShutdownImpl::ShutdownImpl QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 46 of file shutdownimpl.cpp.

References Qt::AlignTop, buttonClicked(), cancelClicked(), changeButtonColor(), hide(), Global::hideInputMethod(), m_info, m_progress, m_timer, shutdown(), timeout(), tr, and Qt::Vertical.


Member Function Documentation

void ShutdownImpl::buttonClicked int   )  [private, slot]
 

Definition at line 117 of file shutdownimpl.cpp.

References hide(), m_counter, m_info, m_operation, m_progress, m_timer, RebootSystem, RestartDesktop, ShutdownSystem, start, TerminateDesktop, and timeout().

Referenced by ShutdownImpl().

void ShutdownImpl::cancelClicked  )  [private, slot]
 

Definition at line 141 of file shutdownimpl.cpp.

References hide(), m_info, m_progress, and m_timer.

Referenced by ShutdownImpl().

void ShutdownImpl::hide  )  [virtual]
 

Definition at line 162 of file shutdownimpl.cpp.

Referenced by buttonClicked(), cancelClicked(), ShutdownImpl(), and timeout().

void ShutdownImpl::shutdown ShutdownImpl::Type   )  [signal]
 

Referenced by ShutdownImpl(), and timeout().

void ShutdownImpl::timeout  )  [private, slot]
 

Definition at line 151 of file shutdownimpl.cpp.

References hide(), m_counter, m_operation, m_progress, m_timer, and shutdown().

Referenced by buttonClicked(), and ShutdownImpl().


Member Data Documentation

int ShutdownImpl::m_counter [private]
 

Definition at line 49 of file shutdownimpl.h.

Referenced by buttonClicked(), and timeout().

QLabel* ShutdownImpl::m_info [private]
 

Definition at line 52 of file shutdownimpl.h.

Referenced by buttonClicked(), cancelClicked(), and ShutdownImpl().

Type ShutdownImpl::m_operation [private]
 

Definition at line 50 of file shutdownimpl.h.

Referenced by buttonClicked(), and timeout().

QProgressBar* ShutdownImpl::m_progress [private]
 

Definition at line 53 of file shutdownimpl.h.

Referenced by buttonClicked(), cancelClicked(), ShutdownImpl(), and timeout().

QTimer* ShutdownImpl::m_timer [private]
 

Definition at line 48 of file shutdownimpl.h.

Referenced by buttonClicked(), cancelClicked(), ShutdownImpl(), and timeout().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:53 2005 for OPIE by  doxygen 1.4.2