You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
652 B
45 lines
652 B
#ifndef KEYS_H
|
|
#define KEYS_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <kapp.h>
|
|
|
|
#include <tqdialog.h>
|
|
#include <tqlabel.h>
|
|
#include <tqstring.h>
|
|
#include <tdeaccel.h>
|
|
|
|
class PKeys : public TQDialog
|
|
{
|
|
TQ_OBJECT
|
|
public:
|
|
PKeys( TQWidget *parent=0, const char *name=0 );
|
|
|
|
private slots:
|
|
void butRight();
|
|
void butLeft();
|
|
void butUp();
|
|
void butDown();
|
|
|
|
void getKey(int);
|
|
void defaults();
|
|
void focusIn(TQLabel *);
|
|
void focusOut(TQLabel *);
|
|
|
|
void ok();
|
|
|
|
protected:
|
|
void keyPressEvent( TQKeyEvent * );
|
|
|
|
private:
|
|
void init();
|
|
|
|
TQLabel *labels[4];
|
|
TQLabel *lab;
|
|
};
|
|
|
|
#endif // KEYS_H
|