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

klaptopdaemon

laptop_daemon.cpp File Reference

#include <stdlib.h>
#include <fcntl.h>
#include <QTimer>
#include <QTimerEvent>
#include <Q3CString>
#include <kconfig.h>
#include <klocale.h>
#include <kcmdlineargs.h>
#include "laptop_daemon.h"
#include "portable.h"
#include <kaboutdata.h>
#include <kaudioplayer.h>
#include <kapplication.h>
#include <sys/ioctl.h>
#include <kmessagebox.h>
#include <kpassivepopup.h>
#include <qsocketnotifier.h>
#include <qcursor.h>
#include <unistd.h>
#include <sys/time.h>
#include <libkworkspace/kworkspace.h>
#include <kpluginfactory.h>
#include <kpluginloader.h>
#include "laptop_daemon.moc"

Include dependency graph for laptop_daemon.cpp:

Go to the source code of this file.


Defines

#define MAX_SAMPLES_USED   3
#define SONYPI_EVENT_JOGDIAL_DOWN   1
#define SONYPI_EVENT_JOGDIAL_UP   2
#define SONYPI_EVENT_JOGDIAL_DOWN_PRESSED   3
#define SONYPI_EVENT_JOGDIAL_UP_PRESSED   4
#define SONYPI_EVENT_JOGDIAL_PRESSED   5
#define SONYPI_EVENT_JOGDIAL_RELEASED   6

Functions

g K_PLUGIN_FACTORY (LaptopDaemonFactory, registerPlugin< laptop_daemon >();) K_EXPORT_PLUGIN(LaptopDaemonFactory("klaptopdaemon")) class XWidget
static void simulateButton (Display *disp, int button)
static void simulateButtonDown (Display *disp, int button)
static void simulateButtonUp (Display *disp, int button)

Define Documentation

#define MAX_SAMPLES_USED   3

#define SONYPI_EVENT_JOGDIAL_DOWN   1

Definition at line 889 of file laptop_daemon.cpp.

#define SONYPI_EVENT_JOGDIAL_DOWN_PRESSED   3

Definition at line 891 of file laptop_daemon.cpp.

#define SONYPI_EVENT_JOGDIAL_PRESSED   5

Definition at line 893 of file laptop_daemon.cpp.

#define SONYPI_EVENT_JOGDIAL_RELEASED   6

Definition at line 894 of file laptop_daemon.cpp.

#define SONYPI_EVENT_JOGDIAL_UP   2

Definition at line 890 of file laptop_daemon.cpp.

#define SONYPI_EVENT_JOGDIAL_UP_PRESSED   4

Definition at line 892 of file laptop_daemon.cpp.


Function Documentation

g K_PLUGIN_FACTORY ( LaptopDaemonFactory  ,
registerPlugin< laptop_daemon >();   
)

Definition at line 58 of file laptop_daemon.cpp.

static void simulateButton ( Display *  disp,
int  button 
) [static]

Definition at line 867 of file laptop_daemon.cpp.

static void simulateButtonDown ( Display *  disp,
int  button 
) [static]

Definition at line 875 of file laptop_daemon.cpp.

static void simulateButtonUp ( Display *  disp,
int  button 
) [static]

Definition at line 882 of file laptop_daemon.cpp.

klaptopdaemon

Skip menu "klaptopdaemon"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • 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