• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kmilo

KVaioDriverInterface Class Reference

#include <kvaiodriverinterface.h>

Inheritance diagram for KVaioDriverInterface:

Inheritance graph
[legend]

List of all members.


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 
)

Get the battery status.

Definition at line 163 of file kvaiodriverinterface.cpp.

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:
  • kvaiodriverinterface.h
  • kvaiodriverinterface.cpp

kmilo

Skip menu "kmilo"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal