kmilo
KVaioDriverInterface Class Reference
#include <kvaiodriverinterface.h>
Inheritance diagram for KVaioDriverInterface:

Detailed Description
Definition at line 33 of file kvaiodriverinterface.h.
Public Slots | |
| void | setBrightness (int) |
Signals | |
| void | vaioEvent (int) |
Public Member Functions | |
| KVaioDriverInterface (QObject *parent=0) | |
| bool | connectToDriver (bool listen=true) |
| void | disconnectFromDriver () |
| int | brightness () |
| bool | getBatteryStatus (bool &bat1Avail, int &bat1Remaining, int &bat1Max, bool &bat2Avail, int &bat2Remaining, int &bat2Max, bool &acConnected) |
Protected Slots | |
| void | socketActivated (int) |
Protected Attributes | |
| int | mFd |
| fd_set | mRfds |
| QSocketNotifier * | mNotifier |
Constructor & Destructor Documentation
| KVaioDriverInterface::KVaioDriverInterface | ( | QObject * | parent = 0 |
) |
Definition at line 65 of file kvaiodriverinterface.cpp.
Member Function Documentation
| bool KVaioDriverInterface::connectToDriver | ( | bool | listen = true |
) |
Definition at line 72 of file kvaiodriverinterface.cpp.
| void KVaioDriverInterface::disconnectFromDriver | ( | ) |
Definition at line 97 of file kvaiodriverinterface.cpp.
| int KVaioDriverInterface::brightness | ( | ) |
Return the current display brightness, a value between 0 and 255.
Returns -1 if the setting cannot be retrieved.
Definition at line 123 of file kvaiodriverinterface.cpp.
| bool KVaioDriverInterface::getBatteryStatus | ( | bool & | bat1Avail, | |
| int & | bat1Remaining, | |||
| int & | bat1Max, | |||
| bool & | bat2Avail, | |||
| int & | bat2Remaining, | |||
| int & | bat2Max, | |||
| bool & | acConnected | |||
| ) |
| void KVaioDriverInterface::setBrightness | ( | int | value | ) | [slot] |
Set the display brightness.
0<= value <=255.
Definition at line 139 of file kvaiodriverinterface.cpp.
| void KVaioDriverInterface::vaioEvent | ( | int | ) | [signal] |
| void KVaioDriverInterface::socketActivated | ( | int | ) | [protected, slot] |
Definition at line 109 of file kvaiodriverinterface.cpp.
Member Data Documentation
int KVaioDriverInterface::mFd [protected] |
Definition at line 51 of file kvaiodriverinterface.h.
fd_set KVaioDriverInterface::mRfds [protected] |
Definition at line 52 of file kvaiodriverinterface.h.
QSocketNotifier* KVaioDriverInterface::mNotifier [protected] |
Definition at line 53 of file kvaiodriverinterface.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference