blob: 96fff4cb7c1aa66c67ca39a278bbb82b44aa2def (
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
|
/****************************************************************************
KHotKeys
Copyright (C) 2003 Lubos Lunak <[email protected]>
Distributed under the terms of the GNU General Public License version 2.
****************************************************************************/
#ifndef _WINDOWSELECTOR_H_
#define _WINDOWSELECTOR_H_
#include <tqwidget.h>
namespace KHotKeys
{
class WindowSelector
: public QWidget
{
TQ_OBJECT
public:
WindowSelector( TQObject* receiver, const char* slot );
void select();
protected:
virtual bool x11Event( XEvent* e );
signals:
void selected_signal( WId w );
private:
WId findRealWindow( WId w, int depth = 0 );
};
//***************************************************************************
// Inline
//***************************************************************************
} // namespace KHotKeys
#endif
|