#include </home/clem/local/src/opie/core/applets/cardmon/cardmon.h>
Collaboration diagram for CardMonitor:

Public Types | |
| enum | { PCMCIA_Socket1, PCMCIA_Socket2, MMC_Socket } |
Public Member Functions | |
| CardMonitor (QWidget *parent=0) | |
| ~CardMonitor () | |
| bool | getStatusPcmcia (int showPopUp=FALSE) |
| bool | getStatusSd (int showPopUp=FALSE) |
Static Public Member Functions | |
| static int | position () |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *) |
| void | mousePressEvent (QMouseEvent *) |
Private Slots | |
| void | cardMessage (const QCString &msg, const QByteArray &) |
| void | slotExited (Opie::Core::OProcess *proc) |
| void | popupTimeout () |
Private Member Functions | |
| void | execCommand (const QStringList &command) |
| void | iconShow () |
| void | popUp (QString message, QString icon=QString::null) |
Private Attributes | |
| int | m_commandOrig |
| QPixmap | pm |
| bool | cardInPcmcia0 |
| QString | cardInPcmcia0Name |
| QString | cardInPcmcia0Type |
| bool | cardInPcmcia1 |
| QString | cardInPcmcia1Name |
| QString | cardInPcmcia1Type |
| bool | cardInSd |
| QString | cardSdName |
| QPopupMenu * | popupMenu |
| Opie::Core::OProcess * | m_process |
|
|
|
|
|
Definition at line 52 of file cardmon.cpp. References cardInPcmcia0, cardInPcmcia1, cardInSd, cardMessage(), FALSE, getStatusPcmcia(), getStatusSd(), Opie::Core::OResource::loadPixmap(), m_process, pm, popupMenu, Opie::Core::OResource::SmallIcon, AppLnk::smallIconSize(), and TRUE. |
|
|
Definition at line 82 of file cardmon.cpp. References popupMenu. |
|
||||||||||||
|
Definition at line 159 of file cardmon.cpp. References getStatusPcmcia(), and getStatusSd(). Referenced by CardMonitor(). |
|
|
Definition at line 344 of file cardmon.cpp. References OProcess::AllOutput, QValueList< T >::begin(), QValueList< T >::end(), m_process, OProcess::NotifyOnExit, OProcess, slotExited(), and Opie::Core::OProcess::start(). Referenced by mousePressEvent(). |
|
|
Definition at line 169 of file cardmon.cpp. References QValueList< T >::begin(), cardInPcmcia0, cardInPcmcia0Name, cardInPcmcia0Type, cardInPcmcia1, cardInPcmcia1Name, cardInPcmcia1Type, QValueList< T >::end(), QFile::exists(), f, FALSE, Resource::findSound(), IO_ReadOnly, list, QString::mid(), QString::null, odebug, oendl, QFile::open(), popUp(), pos, QTextStream::read(), QStringList::split(), stream, QString::stripWhiteSpace(), text, tr, and TRUE. Referenced by cardMessage(), and CardMonitor(). |
|
|
Definition at line 276 of file cardmon.cpp. References cardInSd, cardSdName, QFile::decodeName(), FALSE, Resource::findSound(), QString::left(), QString::null, popUp(), text, tr, and TRUE. Referenced by cardMessage(), and CardMonitor(). |
|
|
|
|
|
Definition at line 111 of file cardmon.cpp. References cardInPcmcia0, cardInPcmcia0Name, cardInPcmcia0Type, cardInPcmcia1, cardInPcmcia1Name, cardInPcmcia1Type, cardInSd, cardSdName, execCommand(), Opie::Core::OResource::loadPixmap(), m_commandOrig, MMC_Socket, p, PCMCIA_Socket1, PCMCIA_Socket2, s, Opie::Core::OResource::SmallIcon, tr, and width. |
|
|
Definition at line 327 of file cardmon.cpp. References cardInPcmcia0, cardInPcmcia1, cardInSd, p, and pm. |
|
||||||||||||
|
Definition at line 86 of file cardmon.cpp. References QString::isEmpty(), Opie::Core::OResource::loadPixmap(), p, popupMenu, popupTimeout(), s, Opie::Core::OResource::SmallIcon, and width. Referenced by getStatusPcmcia(), getStatusSd(), and slotExited(). |
|
|
Definition at line 107 of file cardmon.cpp. References popupMenu. Referenced by popUp(). |
|
|
Definition at line 340 of file cardmon.cpp. |
|
|
Definition at line 366 of file cardmon.cpp. References Opie::Core::OProcess::exitStatus(), m_commandOrig, m_process, MMC_Socket, Opie::Core::OProcess::normalExit(), PCMCIA_Socket1, PCMCIA_Socket2, popUp(), and tr. Referenced by execCommand(). |
|
|
Definition at line 60 of file cardmon.h. Referenced by CardMonitor(), getStatusPcmcia(), mousePressEvent(), and paintEvent(). |
|
|
Definition at line 61 of file cardmon.h. Referenced by getStatusPcmcia(), and mousePressEvent(). |
|
|
Definition at line 62 of file cardmon.h. Referenced by getStatusPcmcia(), and mousePressEvent(). |
|
|
Definition at line 64 of file cardmon.h. Referenced by CardMonitor(), getStatusPcmcia(), mousePressEvent(), and paintEvent(). |
|
|
Definition at line 65 of file cardmon.h. Referenced by getStatusPcmcia(), and mousePressEvent(). |
|
|
Definition at line 66 of file cardmon.h. Referenced by getStatusPcmcia(), and mousePressEvent(). |
|
|
Definition at line 67 of file cardmon.h. Referenced by CardMonitor(), getStatusSd(), mousePressEvent(), and paintEvent(). |
|
|
Definition at line 68 of file cardmon.h. Referenced by getStatusSd(), and mousePressEvent(). |
|
|
Definition at line 57 of file cardmon.h. Referenced by mousePressEvent(), and slotExited(). |
|
|
Definition at line 72 of file cardmon.h. Referenced by CardMonitor(), execCommand(), and slotExited(). |
|
|
Definition at line 58 of file cardmon.h. Referenced by CardMonitor(), and paintEvent(). |
|
|
Definition at line 70 of file cardmon.h. Referenced by CardMonitor(), popUp(), popupTimeout(), and ~CardMonitor(). |
1.4.2