Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

xeackey.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           xeackey.h  -  description
00003                              -------------------
00004     begin                : Sun Jun 9 2002
00005     copyright            : (C) 2002 by Sheldon Lee Wen
00006     email                : leewsb@hotmail.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef XEACKEY_H
00019 #define XEACKEY_H
00020 
00021 #include <iostream.h>
00022 #include <qwidget.h>
00023 
00024 extern "C" {
00025 #include <stdio.h>
00026 #include <X11/Xlib.h>
00027 #include <X11/Xutil.h>
00028 #include <X11/XKBlib.h>
00029 #include <stdlib.h>
00030 #include <string.h>
00031 }
00032 
00033 
00038 class XEACKey : public QWidget  {
00039    Q_OBJECT
00040 public: 
00041     XEACKey(QWidget *parent=0, const char *name=0);
00042     ~XEACKey();
00044   int getXEACKeyCode();
00045 
00046 private:
00047     /* Xlib variables */
00048     Window          win;
00049     Display *       display;
00050     XEvent          report;
00051     int                 screen_num;
00052     char *              display_name;
00053 
00054 };
00055 
00056 #endif

Generated on Tue Jun 11 00:31:45 2002 for KLineakConfig by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002