Skip to content

Commit

Permalink
Fix mixed EOL style.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimmov committed Jun 1, 2009
1 parent fb53806 commit 88c16ab
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions gui/resultstree.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ class ResultsTree : public QTreeView
*/
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);

Expand All @@ -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,
Expand All @@ -129,25 +129,25 @@ protected slots:
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);

Expand Down Expand Up @@ -207,16 +207,16 @@ protected slots:
*/
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;

Expand Down

0 comments on commit 88c16ab

Please sign in to comment.