diff options
Diffstat (limited to 'src/plugins/coreplugin/icore.cpp')
-rw-r--r-- | src/plugins/coreplugin/icore.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp index 39938d7889..531319a5ad 100644 --- a/src/plugins/coreplugin/icore.cpp +++ b/src/plugins/coreplugin/icore.cpp @@ -68,7 +68,7 @@ */ /*! - \fn void ICore::showOptionsDialog(const QString &group = QString(), + \fn bool ICore::showOptionsDialog(const QString &group = QString(), const QString &page = QString()) \brief Opens the application options/preferences dialog with preselected \a page in a specified \a group. @@ -77,6 +77,20 @@ */ /*! + \fn bool ICore::showWarningWithOptions(const QString &title, const QString &text, + const QString &details = QString(), + const QString &settingsCategory = QString(), + const QString &settingsId = QString(), + QWidget *parent = 0); + + \brief Show a warning message with a button that opens a settings page. + + Should be used to display configuration errors and point users to the setting. + Returns true if the settings dialog was accepted. +*/ + + +/*! \fn ActionManager *ICore::actionManager() const \brief Returns the application's action manager. |