blob: 199fcfd2bcf7fcd2871bc5ee425f117a58c879e1 (
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
|
// (C) 2005 Max Howell ([email protected])
// See COPYING file for licensing information
#include <kaction.h>
/**
* @class FullSCreenAction
* @author Max Howell <[email protected]>
* @short Adapted KToggleFullScreenAction, mainly because that class is shit
*/
class FullScreenAction : public KToggleAction
{
public:
FullScreenAction( TQWidget *window, KActionCollection* );
virtual void setChecked( bool );
virtual void setEnabled( bool );
protected:
virtual bool eventFilter( TQObject* o, TQEvent* e );
private:
TQWidget *m_window;
bool m_shouldBeDisabled;
unsigned long m_state;
};
|