• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

TDEToggleFullScreenAction Class Reference

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

#include <tdeactionclasses.h>

Inheritance diagram for TDEToggleFullScreenAction:
TDEToggleAction TDEAction TQObject

List of all members.

Public Slots

virtual void setChecked (bool)

Public Member Functions

 TDEToggleFullScreenAction (const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, TQWidget *window, const char *name)
void setWindow (TQWidget *window)

Protected Member Functions

virtual bool eventFilter (TQObject *o, TQEvent *e)
virtual void virtual_hook (int id, void *data)

Detailed Description

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

Note that TQWidget::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 TQWidget 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 1264 of file tdeactionclasses.h.


Constructor & Destructor Documentation

TDEToggleFullScreenAction::TDEToggleFullScreenAction ( const TDEShortcut &  cut,
const TQObject *  receiver,
const char *  slot,
TQObject *  parent,
TQWidget *  window,
const char *  name 
)

Create a TDEToggleFullScreenAction.

Parameters:
cut The corresponding keyboard accelerator (shortcut).
receiver The SLOT's parent.
slot The TQT_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 2066 of file tdeactionclasses.cpp.


Member Function Documentation

bool TDEToggleFullScreenAction::eventFilter ( TQObject *  o,
TQEvent *  e 
) [protected, virtual]

For internal use only.

Reimplemented from TQObject.

Definition at line 2104 of file tdeactionclasses.cpp.

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

Sets the state of the action.

Reimplemented from TDEToggleAction.

Definition at line 2089 of file tdeactionclasses.cpp.

void TDEToggleFullScreenAction::setWindow ( TQWidget *  window  ) 

Sets the window that will be related to this action.

Definition at line 2080 of file tdeactionclasses.cpp.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.6.3
This website is maintained by Timothy Pearson.