KXmlGui
khelpmenu.cpp
62 // TODO evaluate if we use static_cast<QWidget*>(parent()) instead of mParent to win that bit of memory
118 if (KAuthorized::authorizeAction(QStringLiteral("help_report_bug")) && !mAboutData.bugAddress().isEmpty()) {
122 if (KAuthorized::authorizeAction(QStringLiteral("help_donate")) && mAboutData.bugAddress() == QLatin1String("submit@bugs.kde.org")) {
127 mSwitchApplicationLanguageAction = KStandardAction::switchApplicationLanguage(q, &KHelpMenu::switchApplicationLanguage, q);
318 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:201
void showAboutApplication()
This signal is emitted from aboutApplication() if no "about application" string has been defined.
void contextHelpActivated()
Activates What's This help for the application.
Definition khelpmenu.cpp:354
QMenu * menu()
Returns a popup menu you can use in the menu bar or where you need it.
Definition khelpmenu.cpp:140
void switchApplicationLanguage()
Opens the changing default application language dialog box.
Definition khelpmenu.cpp:307
KHelpMenu(QWidget *parent=nullptr, const QString &aboutAppText=QString(), bool showWhatsThis=true)
Constructor.
Definition khelpmenu.cpp:79
Dialog
QString i18n(const char *text, const TYPE &arg...)
QAction * reportBug(const QObject *recvr, const char *slot, QObject *parent)
QAction * aboutKDE(const QObject *recvr, const char *slot, QObject *parent)
QAction * helpContents(const QObject *recvr, const char *slot, QObject *parent)
QAction * switchApplicationLanguage(const QObject *recvr, const char *slot, QObject *parent)
QAction * aboutApp(const QObject *recvr, const char *slot, QObject *parent)
QAction * donate(const QObject *recvr, const char *slot, QObject *parent)
QAction * whatsThis(const QObject *recvr, const char *slot, QObject *parent)
applicationName
bool openUrl(const QUrl &url)
void finished(int result)
void setStandardButtons(StandardButtons buttons)
applicationDisplayName
void setPixmap(const QPixmap &)
void setText(const QString &)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void destroyed(QObject *obj)
QList< T > findChildren(Qt::FindChildOptions options) const const
QObject * parent() const const
int receivers(const char *signal) const const
void setObjectName(QAnyStringView name)
bool isEmpty() const const
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const const=0
Dialog
singleShot
void enterWhatsThisMode()
void setLayout(QLayout *layout)
void show()
QStyle * style() const const
bool isVisible() const const
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.