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

Session Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-console/session.h>

Collaboration diagram for Session:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Session ()
 Session (const QString &, QWidgetStack *widget, IOLayer *)
 ~Session ()
QString name () const
QWidgetStack * widgetStack ()
QWidget * widget ()
IOLayerlayer ()
EmulationHandleremulationHandler ()
Profile profile () const
void connect ()
void disconnect ()
void setWidgetStack (QWidgetStack *widget)
void setEmulationHandler (EmulationHandler *lay)
void setIOLayer (IOLayer *)
void setName (const QString &)
void setProfile (const Profile &)
void setTransferDialog (QWidget *d)
QWidget * transferDialog ()

Private Attributes

QString m_name
QWidgetStack * m_widget
IOLayerm_layer
EmulationHandlerm_emu
bool m_connected: 1
Profile m_prof
QWidget * m_transfer

Detailed Description

This is a Session. A session contains a QWidget pointer and a IOLayer Imagine a session like a collection of what is needed to show your widget in a tab ;)

Definition at line 16 of file session.h.


Constructor & Destructor Documentation

Session::Session  ) 
 

c'tor with widget and layer ownership get's transfered

Definition at line 8 of file session.cpp.

References l, m_emu, m_layer, m_transfer, and m_widget.

Session::Session const QString ,
QWidgetStack *  widget,
IOLayer
 

Definition at line 14 of file session.cpp.

References l, and m_emu.

Session::~Session  ) 
 

Definition at line 21 of file session.cpp.

References m_emu, m_layer, and m_widget.


Member Function Documentation

void Session::connect  ) 
 

Definition at line 53 of file session.cpp.

References m_emu, and m_layer.

Referenced by ProfileManager::fromProfile().

void Session::disconnect  ) 
 

Definition at line 65 of file session.cpp.

References m_emu, and m_layer.

EmulationHandler * Session::emulationHandler  ) 
 

Definition at line 36 of file session.cpp.

References m_emu.

IOLayer * Session::layer  ) 
 

return the layer

Definition at line 33 of file session.cpp.

References m_layer.

QString Session::name  )  const
 

return the name of the session

Definition at line 27 of file session.cpp.

References m_name.

Referenced by TabWidget::add().

Profile Session::profile  )  const
 

Definition at line 45 of file session.cpp.

References m_prof.

void Session::setEmulationHandler EmulationHandler lay  ) 
 

Definition at line 93 of file session.cpp.

References m_emu.

Referenced by ProfileManager::fromProfile().

void Session::setIOLayer IOLayer  ) 
 

Definition at line 88 of file session.cpp.

References m_layer.

Referenced by ProfileManager::fromProfile().

void Session::setName const QString  ) 
 

Definition at line 76 of file session.cpp.

References m_name.

Referenced by ProfileManager::fromProfile().

void Session::setProfile const Profile  ) 
 

Definition at line 97 of file session.cpp.

References m_prof.

Referenced by ProfileManager::fromProfile().

void Session::setTransferDialog QWidget *  d  ) 
 

Definition at line 106 of file session.cpp.

References m_transfer.

void Session::setWidgetStack QWidgetStack *  widget  ) 
 

Definition at line 80 of file session.cpp.

References l, m_emu, and m_widget.

Referenced by ProfileManager::fromProfile().

QWidget * Session::transferDialog  ) 
 

Definition at line 111 of file session.cpp.

References m_transfer.

QWidget * Session::widget  ) 
 

Definition at line 39 of file session.cpp.

References l, m_emu, and EmulationHandler::widget().

QWidgetStack * Session::widgetStack  ) 
 

return the widgetstack this is used to be semi modal for FileTransfer

semi modal == SessionModal

Definition at line 30 of file session.cpp.

References m_widget.

Referenced by TabWidget::add(), TabWidget::remove(), and TabWidget::setCurrent().


Member Data Documentation

bool Session::m_connected [private]
 

Definition at line 75 of file session.h.

EmulationHandler* Session::m_emu [private]
 

Definition at line 74 of file session.h.

Referenced by connect(), disconnect(), emulationHandler(), Session(), setEmulationHandler(), setWidgetStack(), widget(), and ~Session().

IOLayer* Session::m_layer [private]
 

Definition at line 73 of file session.h.

Referenced by connect(), disconnect(), layer(), Session(), setIOLayer(), and ~Session().

QString Session::m_name [private]
 

Definition at line 71 of file session.h.

Referenced by name(), and setName().

Profile Session::m_prof [private]
 

Definition at line 76 of file session.h.

Referenced by profile(), and setProfile().

QWidget* Session::m_transfer [private]
 

Definition at line 77 of file session.h.

Referenced by Session(), setTransferDialog(), and transferDialog().

QWidgetStack* Session::m_widget [private]
 

Definition at line 72 of file session.h.

Referenced by Session(), setWidgetStack(), widgetStack(), and ~Session().


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