summaryrefslogtreecommitdiffstats
path: root/tdepacman/keys.h
blob: 33b6f2d6a0c7ca8942d62cd1b41842e63f5d2b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef KEYS_H
#define KEYS_H

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <tdeapplication.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