• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KToggleFullScreenAction Class Reference

An action for switching between to/from full screen mode. More...

#include <kactionclasses.h>

Inheritance diagram for KToggleFullScreenAction:

Inheritance graph
[legend]

List of all members.


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)
virtual ~KToggleFullScreenAction ()

Protected Member Functions

virtual bool eventFilter (QObject *o, QEvent *e)
virtual void virtual_hook (int id, void *data)

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.


Constructor & Destructor Documentation

KToggleFullScreenAction::KToggleFullScreenAction ( const KShortcut &  cut,
const QObject *  receiver,
const char *  slot,
QObject *  parent,
QWidget *  window,
const char *  name 
)

Create a KToggleFullScreenAction.

Parameters:
cut The corresponding keyboard accelerator (shortcut).
receiver The SLOT's parent.
slot The SLOT to invoke to execute this action.
parent This action's parent.
window the window that will switch to/from full screen mode
name An internal name for this action.

Definition at line 2045 of file kactionclasses.cpp.

KToggleFullScreenAction::~KToggleFullScreenAction (  )  [virtual]

Definition at line 2055 of file kactionclasses.cpp.


Member Function Documentation

bool KToggleFullScreenAction::eventFilter ( QObject *  o,
QEvent *  e 
) [protected, virtual]

For internal use only.

Reimplemented from QObject.

Definition at line 2083 of file kactionclasses.cpp.

void KToggleFullScreenAction::setChecked ( bool  c  )  [virtual, slot]

Sets the state of the action.

Reimplemented from KToggleAction.

Definition at line 2068 of file kactionclasses.cpp.

void KToggleFullScreenAction::setWindow ( QWidget *  window  ) 

Sets the window that will be related to this action.

Definition at line 2059 of file kactionclasses.cpp.

void KToggleFullScreenAction::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Reimplemented from KToggleAction.

Definition at line 2386 of file kactionclasses.cpp.


The documentation for this class was generated from the following files:
  • kactionclasses.h
  • kactionclasses.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal