KXmlGui
khelpmenu.cpp
63 // TODO evaluate if we use static_cast<QWidget*>(parent()) instead of mParent to win that bit of memory
119 if (KAuthorized::authorizeAction(QStringLiteral("help_report_bug")) && !mAboutData.bugAddress().isEmpty()) {
129 mSwitchApplicationLanguageAction = KStandardAction::switchApplicationLanguage(q, SLOT(switchApplicationLanguage()), q);
325 QDesktopServices::openUrl(QUrl(QLatin1String("https://www.kde.org/donate?app=") + d->mAboutData.componentName()));
QAction * donate(const QObject *recvr, const char *slot, QObject *parent)
QAction * switchApplicationLanguage(const QObject *recvr, const char *slot, QObject *parent)
QMenu * menu()
Returns a popup menu you can use in the menu bar or where you need it.
Definition: khelpmenu.cpp:142
Definition: khelpmenu.h:171
void showAboutApplication()
This signal is emitted from aboutApplication() if no "about application" string has been defined...
void setPixmap(const QPixmap &)
void switchApplicationLanguage()
Opens the changing default application language dialog box.
Definition: khelpmenu.cpp:313
Standard "About Application" dialog box.
Definition: kaboutapplicationdialog.h:42
KHelpMenu(QWidget *parent=nullptr, const QString &aboutAppText=QString(), bool showWhatsThis=true)
Constructor.
Definition: khelpmenu.cpp:80
QAction * whatsThis(const QObject *recvr, const char *slot, QObject *parent)
void finished(int result)
QAction * reportBug(const QObject *recvr, const char *slot, QObject *parent)
QAction * aboutApp(const QObject *recvr, const char *slot, QObject *parent)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
QAction * helpContents(const QObject *recvr, const char *slot, QObject *parent)
bool isEmpty() const const
Dialog
void setText(const QString &)
QString i18n(const char *text, const TYPE &arg...)
PM_DefaultLayoutSpacing
void enterWhatsThisMode()
void setStandardButtons(QDialogButtonBox::StandardButtons buttons)
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:204
Definition: kedittoolbar.cpp:55
QAction * aboutKDE(const QObject *recvr, const char *slot, QObject *parent)
void contextHelpActivated()
Activates What's This help for the application.
Definition: khelpmenu.cpp:357
bool openUrl(const QUrl &url)
KCONFIGCORE_EXPORT bool authorizeAction(const QString &action)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const const
void setMargin(int margin)
Dialog
QString applicationDisplayName()
void destroyed(QObject *obj)
void setSpacing(int spacing)
Q_EMITQ_EMIT
QString applicationName()
int receivers(const char *signal) const const
void addLayout(QLayout *layout, int stretch)
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:52:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:52:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.