blob: 4f52312ea18bfc962514afecc19b265785b1a151 (
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 <l.lunak@kde.org>
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
{
Q_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
|