KWidgetsAddons
ktogglefullscreenaction.cpp
40 q->setToolTip(KToggleFullScreenAction::tr("Display the window in full screen", "@info:tooltip"));
An action for switching between to/from full screen mode.
Definition ktogglefullscreenaction.h:45
KToggleFullScreenAction(QObject *parent)
Create a KToggleFullScreenAction.
Definition ktogglefullscreenaction.cpp:47
~KToggleFullScreenAction() override
Destroys the toggle fullscreen action.
static void setFullScreen(QWidget *window, bool set)
Helper function to set or reset the fullscreen state of a window.
Definition ktogglefullscreenaction.cpp:101
void setWindow(QWidget *window)
Sets the window that will be related to this action.
Definition ktogglefullscreenaction.cpp:66
Trigger
void activate(ActionEvent event)
checked
virtual bool event(QEvent *e) override
WindowStateChange
QIcon fromTheme(const QString &name)
QString tr(const char *sourceText, const char *disambiguation, int n)
WindowFullScreen
void setWindowState(Qt::WindowState state)
Qt::WindowState windowState() const const
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.