KXmlGui
ktoolbarhandler.cpp
42 BarActionBuilder(KActionCollection *actionCollection, KXmlGuiWindow *mainWindow, QList<KToolBar *> &oldToolBarList)
113 KToggleToolBarAction *action = new KToggleToolBarAction(toolBar, toolBar->windowTitle(), m_actionCollection);
161 QObject::connect(mainWindow->guiFactory(), &KXMLGUIFactory::clientAdded, parent, &ToolBarHandler::clientAdded);
164 QString completeDescription = QString::fromLatin1(guiDescription).arg(QLatin1String(actionListName));
void readSettings(KConfigGroup *config=nullptr)
Read all key associations from config.
Definition kactioncollection.cpp:538
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
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:40
KMainWindow with convenience functions and integration with XmlGui files.
Definition kxmlguiwindow.h:88
QString i18n(const char *text, const TYPE &arg...)
QAction * create(StandardAction id, const Receiver *recvr, Func slot, QObject *parent, std::optional< Qt::ConnectionType > connectionType=std::nullopt)
QString label(StandardShortcut id)
ShowToolbar
QCA_EXPORT void init()
QList< QObject * > associatedObjects() const const
void setText(const QString &text)
void append(QList< T > &&value)
bool contains(const AT &value) const const
qsizetype count() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
objectName
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
windowTitle
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.