Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

keys.h

Go to the documentation of this file.
00001 #ifndef KEYS_H
00002 #define KEYS_H
00003 
00004 #ifdef HAVE_CONFIG_H
00005 #include <config.h>
00006 #endif
00007 
00008 #include "portable.h"
00009 
00010 #if defined( KDE2_PORT )
00011 #include <kapp.h>
00012 #include <kaccel.h>
00013 #endif
00014 
00015 #include <qdialog.h>
00016 #include <qlabel.h>
00017 #include <qstring.h>
00018 
00019 class Keys : public QDialog
00020 {
00021     Q_OBJECT
00022 public:
00023     Keys( QWidget *parent=0, const char *name=0 );
00024 
00025 private slots:
00026     void butRight();
00027     void butLeft();
00028     void butUp();
00029     void butDown();
00030 
00031     void getKey(int);
00032     void defaults();
00033     void focusIn(QLabel *);
00034     void focusOut(QLabel *);
00035 
00036     void ok();
00037 
00038 protected:
00039     void  keyPressEvent( QKeyEvent * );
00040 
00041 private:
00042     void init();
00043 
00044     QLabel *labels[4];
00045     QLabel *lab;
00046 };
00047 
00048 #endif // KEYS_H

Generated on Sat Nov 5 16:17:21 2005 for OPIE by  doxygen 1.4.2