diff --git a/CMakeLists.txt b/CMakeLists.txt index 097d722..4296fb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,10 @@ set(CMAKE_MODULE_FILES cmake/modules/WebViewProviderConfig.cmake ) +set(DOC_FILES + README.md +) + # meta data set(META_PROJECT_NAME qtutilities) set(META_PROJECT_VARNAME QT_UTILITIES) @@ -87,7 +91,7 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}") set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models.") set(META_VERSION_MAJOR 4) set(META_VERSION_MINOR 0) -set(META_VERSION_PATCH 0) +set(META_VERSION_PATCH 1) set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}) # required to include CMake modules from own project directory @@ -116,3 +120,4 @@ include(QtGuiConfig) include(QtConfig) include(WindowsResources) include(LibraryTarget) +include(Doxygen) diff --git a/misc/recentmenumanager.cpp b/misc/recentmenumanager.cpp index 015b0c8..d1a115e 100644 --- a/misc/recentmenumanager.cpp +++ b/misc/recentmenumanager.cpp @@ -18,6 +18,7 @@ namespace MiscUtils { /*! * \brief Constructs a new recent menu manager. * \param menu Specifies the QMenu instance to operate with. + * \param parent Specifies the parent QObject; might be nullptr. * \remarks * - Menu title and icon are set within the constructor. * - The current menu entries are cleared. diff --git a/resources/resources.cpp b/resources/resources.cpp index e2634bd..18c7891 100644 --- a/resources/resources.cpp +++ b/resources/resources.cpp @@ -97,7 +97,7 @@ void loadApplicationTranslationFile(const QString &applicationName) /*! * \brief Loads and installs the appropriate application translation file for the specified locale. * \param applicationName Specifies the name of the application. - * \param localName Specifies the name of the locale. + * \param localeName Specifies the name of the locale. * \remarks Translation files have to be placed in one of the following * locations: * - ./translations diff --git a/settingsdialog/optioncategorymodel.cpp b/settingsdialog/optioncategorymodel.cpp index 442dfbb..3d98828 100644 --- a/settingsdialog/optioncategorymodel.cpp +++ b/settingsdialog/optioncategorymodel.cpp @@ -22,10 +22,9 @@ OptionCategoryModel::OptionCategoryModel(QObject *parent) : /*! * \brief Constructs an option category model with the specified \a categories. - * - * The model takes ownership over the given categories. + * \remarks The model takes ownership over the given categories. */ -OptionCategoryModel::OptionCategoryModel(const QList &categories, QObject *parent) : +OptionCategoryModel::OptionCategoryModel(const QList &categories, QObject *parent) : QAbstractListModel(parent), m_categories(categories) { diff --git a/settingsdialog/optionpage.cpp b/settingsdialog/optionpage.cpp index 54955bf..2a4a40a 100644 --- a/settingsdialog/optionpage.cpp +++ b/settingsdialog/optionpage.cpp @@ -84,11 +84,6 @@ bool OptionPage::matches(const QString &searchKeyWord) return false; } -/*! - * \fn OptionPage::displayName() - * \brief Returns the display name of the page. - */ - /*! * \fn OptionPage::apply() * \brief Applies altered settings.