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

RunningAppBar Class Reference

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

Collaboration diagram for RunningAppBar:

Collaboration graph
[legend]
List of all members.

Public Slots

void applicationLaunched (const QString &)
void applicationTerminated (const QString &)

Public Member Functions

 RunningAppBar (QWidget *parent)
 ~RunningAppBar ()
QSize sizeHint () const

Protected Member Functions

void addTask (const AppLnk &appLnk)
void removeTask (const AppLnk &appLnk)
void paintEvent (QPaintEvent *event)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)

Private Slots

void received (const QCString &msg, const QByteArray &data)

Private Attributes

const AppLnkSetappLnkSet
QList< AppLnkappList
int selectedAppIndex
int spacing

Constructor & Destructor Documentation

RunningAppBar::RunningAppBar QWidget *  parent  ) 
 

Definition at line 37 of file runningappbar.cpp.

References channel, received(), AppLnk::smallIconSize(), and spacing.

RunningAppBar::~RunningAppBar  ) 
 

Definition at line 47 of file runningappbar.cpp.


Member Function Documentation

void RunningAppBar::addTask const AppLnk appLnk  )  [protected]
 

Definition at line 69 of file runningappbar.cpp.

References appList, AppLnk::exec(), AppLnk::name(), odebug, oendl, and AppLnk::setExec().

Referenced by applicationLaunched(), and received().

void RunningAppBar::applicationLaunched const QString  )  [slot]
 

Definition at line 158 of file runningappbar.cpp.

References addTask(), ServerInterface::appLnks(), QString::data(), odebug, and oendl.

Referenced by TaskBar::setApplicationState().

void RunningAppBar::applicationTerminated const QString  )  [slot]
 

Definition at line 167 of file runningappbar.cpp.

References ServerInterface::appLnks(), and removeTask().

Referenced by TaskBar::setApplicationState().

void RunningAppBar::mousePressEvent QMouseEvent *   )  [protected]
 

Definition at line 90 of file runningappbar.cpp.

References appList, FALSE, selectedAppIndex, spacing, width, and Opie::MM::x.

void RunningAppBar::mouseReleaseEvent QMouseEvent *   )  [protected]
 

Definition at line 114 of file runningappbar.cpp.

References app, appList, and selectedAppIndex.

void RunningAppBar::paintEvent QPaintEvent *  event  )  [protected]
 

Definition at line 127 of file runningappbar.cpp.

References appList, background, height, i, AppLnk::name(), oendl, owarn, p, AppLnk::pixmap(), selectedAppIndex, AppLnk::smallIconSize(), spacing, width, Opie::MM::x, and Opie::MM::y.

void RunningAppBar::received const QCString msg,
const QByteArray data
[private, slot]
 

Definition at line 51 of file runningappbar.cpp.

References addTask(), ServerInterface::appLnks(), f, IO_ReadOnly, removeTask(), and stream.

Referenced by RunningAppBar().

void RunningAppBar::removeTask const AppLnk appLnk  )  [protected]
 

Definition at line 77 of file runningappbar.cpp.

References appList, AppLnk::exec(), i, AppLnk::name(), odebug, and oendl.

Referenced by applicationTerminated(), and received().

QSize RunningAppBar::sizeHint  )  const
 

Definition at line 153 of file runningappbar.cpp.

References AppLnk::smallIconSize().


Member Data Documentation

QList<AppLnk> RunningAppBar::appList [private]
 

Definition at line 65 of file runningappbar.h.

Referenced by addTask(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), and removeTask().

const AppLnkSet* RunningAppBar::appLnkSet [private]
 

Definition at line 64 of file runningappbar.h.

int RunningAppBar::selectedAppIndex [private]
 

Definition at line 66 of file runningappbar.h.

Referenced by mousePressEvent(), mouseReleaseEvent(), and paintEvent().

int RunningAppBar::spacing [private]
 

Definition at line 67 of file runningappbar.h.

Referenced by mousePressEvent(), paintEvent(), and RunningAppBar().


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