KXmlGui
ktoggletoolbaraction.cpp
44KToggleToolBarAction::KToggleToolBarAction(KToolBar *toolBar, const QString &text, QObject *parent)
static Q_INVOKABLE bool authorizeAction(const QString &action)
An action that takes care of everything associated with showing or hiding a toolbar by a menu action.
Definition ktoggletoolbaraction.h:40
KToggleToolBarAction(KToolBar *toolBar, const QString &text, QObject *parent)
Create a KToggleToolBarAction that manages the toolBar.
Definition ktoggletoolbaraction.cpp:44
~KToggleToolBarAction() override
Destroys toggle toolbar action.
bool eventFilter(QObject *watched, QEvent *event) override
Reimplemented from QObject.
Definition ktoggletoolbaraction.cpp:58
KToolBar * toolBar()
Returns a pointer to the tool bar it manages.
Definition ktoggletoolbaraction.cpp:90
void setChecked(bool)
void setEnabled(bool)
virtual bool event(QEvent *e) override
void setVisible(bool)
Hide
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.