KToggleFullScreenAction Class Reference
#include <kactionclasses.h>
Inheritance diagram for KToggleFullScreenAction:

Detailed Description
An action for switching between to/from full screen mode.Note that QWidget::isFullScreen() may reflect the new or the old state depending on how the action was triggered (by the application or from the window manager). Also don't try to track the window state yourself. Rely on this action's state (isChecked()) instead.
Important: If you need to set/change the fullscreen state manually, use the relevant QWidget function (showFullScreen etc.), do not call directly the slot connected to the toggled() signal. The slot still needs to explicitly set the window state though.
- Since:
- 3.2
Definition at line 1254 of file kactionclasses.h.
Public Slots | |
virtual void | setChecked (bool) |
Public Member Functions | |
KToggleFullScreenAction (const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, QWidget *window, const char *name) | |
void | setWindow (QWidget *window) |
Protected Member Functions | |
virtual bool | eventFilter (QObject *o, QEvent *e) |
virtual void | virtual_hook (int id, void *data) |
Constructor & Destructor Documentation
|
Create a KToggleFullScreenAction.
Definition at line 2043 of file kactionclasses.cpp. |
Member Function Documentation
|
For internal use only.
Definition at line 2081 of file kactionclasses.cpp. |
|
Sets the state of the action.
Reimplemented from KToggleAction. Definition at line 2066 of file kactionclasses.cpp. |
|
Sets the window that will be related to this action.
Definition at line 2057 of file kactionclasses.cpp. |
The documentation for this class was generated from the following files: