Fix mixed EOL style.

This commit is contained in:
Kimmo Varis 2009-06-02 00:52:14 +03:00
parent fb53806172
commit 88c16ab226
1 changed files with 46 additions and 46 deletions

View File

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