diff --git a/gui/resultstree.h b/gui/resultstree.h index 602a47769..6bd098d48 100644 --- a/gui/resultstree.h +++ b/gui/resultstree.h @@ -61,19 +61,19 @@ public: */ void Clear(); - /** - * @brief Function to show/hide certain type of errors + /** + * @brief Function to show/hide certain type of errors * Refreshes the tree. - * - * @param type Type of error to show/hide - * @param Should specified errors be shown (true) or hidden (false) + * + * @param type Type of error to show/hide + * @param Should specified errors be shown (true) or hidden (false) */ void ShowResults(ShowTypes type, bool show); protected slots: - /** - * @brief Slot to quickstart an error with default application - * - * @param index Model index to specify which error item to open + /** + * @brief Slot to quickstart an error with default application + * + * @param index Model index to specify which error item to open */ void QuickStartApplication(const QModelIndex &index); @@ -84,41 +84,41 @@ protected slots: */ void Context(int application); protected: - /** - * @brief Convert a severity string to a icon filename - * - * @param severity Severity string - * @param Icon filename + /** + * @brief Convert a severity string to a icon filename + * + * @param severity Severity string + * @param Icon filename */ QString SeverityToIcon(const QString &severity); - /** + /** * @brief Helper function to open an error within target with application - * - * - * @param target Error tree item to open - * @param application Index of the application to open with + * + * + * @param target Error tree item to open + * @param application Index of the application to open with */ void StartApplication(QStandardItem *target, int application); - /** - * @brief Context menu event (user right clicked on the tree) - * - * @param e Event + /** + * @brief Context menu event (user right clicked on the tree) + * + * @param e Event */ void contextMenuEvent(QContextMenuEvent * e); - /** - * @brief Add a new error item beneath a file or a backtrace item beneath an error - * - * @param parent Parent for the item. Either a file item or an error item + /** + * @brief Add a new error item beneath a file or a backtrace item beneath an error + * + * @param parent Parent for the item. Either a file item or an error item * @param file Filename of the error * @param line Line numer * @param severity Error severity * @param message Error message * @param hide Should this be hidden (true) or shown (false) - * @param addicon Should a default backtrace item icon be added - * @return newly created QStandardItem * + * @param addicon Should a default backtrace item icon be added + * @return newly created QStandardItem * */ QStandardItem *AddBacktraceFiles(QStandardItem *parent, const QString &file, @@ -129,25 +129,25 @@ protected: const QString &icon); - /** + /** * @brief Refresh tree by checking which of the items should be shown - * and which should be hidden - * + * and which should be hidden + * */ void RefreshTree(); - /** - * @brief Convert QVariant (that contains an int) to Showtypes value - * - * @param data QVariant (that contains an int) to be converted - * @return data converted to ShowTypes + /** + * @brief Convert QVariant (that contains an int) to Showtypes value + * + * @param data QVariant (that contains an int) to be converted + * @return data converted to ShowTypes */ ShowTypes VariantToShowType(const QVariant &data); - /** - * @brief Convert severity string to ShowTypes value + /** + * @brief Convert severity string to ShowTypes value * @param severity Error severity string - * @return Severity converted to ShowTypes value + * @return Severity converted to ShowTypes value */ ShowTypes SeverityToShowType(const QString &severity); @@ -207,16 +207,16 @@ protected: */ QSettings &mSettings; - /** + /** * @brief List of bools to determine which of ShowTypes to display on the tree - * (true) and which of them should be hidden (false) - * + * (true) and which of them should be hidden (false) + * */ bool mShowTypes[SHOW_NONE]; - /** - * @brief List of applications to open errors with - * + /** + * @brief List of applications to open errors with + * */ ApplicationList &mApplications;