blob: c510cd5043a96eeac8da18855b219bce742b4156 (
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
45
46
47
48
49
50
51
52
53
54
55
|
#ifndef TQACCESSIBLEMENU_H
#define TQACCESSIBLEMENU_H
#include "tqaccessiblewidget.h"
class TQPopupMenu;
class TQMenuBar;
class TQAccessiblePopup : public TQAccessibleWidget
{
public:
TQAccessiblePopup( TQObject *o );
int childCount() const;
TQRESULT queryChild( int control, TQAccessibleInterface ** ) const;
TQRect rect( int control ) const;
int controlAt( int x, int y ) const;
int navigate( NavDirection direction, int control ) const;
TQString text( Text t, int control ) const;
Role role( int control ) const;
State state( int control ) const;
bool doDefaultAction( int control );
bool setFocus( int control );
protected:
TQPopupMenu *popupMenu() const;
};
class TQAccessibleMenuBar : public TQAccessibleWidget
{
public:
TQAccessibleMenuBar( TQObject *o );
int childCount() const;
TQRESULT queryChild( int control, TQAccessibleInterface ** ) const;
TQRect rect( int control ) const;
int controlAt( int x, int y ) const;
int navigate( NavDirection direction, int control ) const;
TQString text( Text t, int control ) const;
Role role( int control ) const;
State state( int control ) const;
bool doDefaultAction( int control );
bool setFocus( int control );
protected:
TQMenuBar *menuBar() const;
};
#endif // TQACCESSIBLEMENU_H
|