KXmlGui
khelpmenu.cpp
62 // TODO evaluate if we use static_cast<QWidget*>(parent()) instead of mParent to win that bit of memory
124 d->mWhatsThisAction = KStandardActions::whatsThis(this, &KHelpMenu::contextHelpActivated, this);
137 if (KAuthorized::authorizeAction(QStringLiteral("help_report_bug")) && !mAboutData.bugAddress().isEmpty()) {
141 if (KAuthorized::authorizeAction(QStringLiteral("help_donate")) && mAboutData.bugAddress() == QLatin1String("submit@bugs.kde.org")) {
146 mSwitchApplicationLanguageAction = KStandardActions::switchApplicationLanguage(q, &KHelpMenu::switchApplicationLanguage, q);
293 QDesktopServices::openUrl(QUrl(QLatin1String("https://www.kde.org/donate?app=") + d->mAboutData.componentName()));
Standard "About Application" dialog box.
Definition kaboutapplicationdialog.h:42
QString componentName() const
QString bugAddress() const
static Q_INVOKABLE bool authorizeAction(const QString &action)
QAction * action(MenuId id) const
Returns the QAction * associated with the given parameter Will return a nullptr if menu() has not bee...
Definition khelpmenu.cpp:218
void showAboutApplication()
This signal is emitted from aboutApplication() if no "about application" string has been defined.
void setShowWhatsThis(bool showWhatsThis)
Set whether to show the What's This menu entry in the help menu.
Definition khelpmenu.cpp:118
void contextHelpActivated()
Activates What's This help for the application.
Definition khelpmenu.cpp:329
KHelpMenu(QWidget *parent, const QString &unused, bool showWhatsThis=true)
Constructor.
Definition khelpmenu.cpp:76
QMenu * menu()
Returns a popup menu you can use in the menu bar or where you need it.
Definition khelpmenu.cpp:159
void switchApplicationLanguage()
Opens the changing default application language dialog box.
Definition khelpmenu.cpp:282
QString i18n(const char *text, const TYPE &arg...)
bool openUrl(const QUrl &url)
void finished(int result)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void destroyed(QObject *obj)
QObject * parent() const const
int receivers(const char *signal) const const
bool isEmpty() const const
singleShot
void enterWhatsThisMode()
void show()
bool isVisible() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:32 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:19:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.