Commit d9fbf55a authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Make Task and TaskWindowPrivate classes

They both used to be structs.
parent bf5c9902
...@@ -39,7 +39,9 @@ ...@@ -39,7 +39,9 @@
namespace ProjectExplorer { namespace ProjectExplorer {
// Build issue (warning or error). // Build issue (warning or error).
struct PROJECTEXPLORER_EXPORT Task { class PROJECTEXPLORER_EXPORT Task
{
public:
enum TaskType { enum TaskType {
Unknown, Unknown,
Error, Error,
......
...@@ -478,7 +478,9 @@ bool TaskFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceP ...@@ -478,7 +478,9 @@ bool TaskFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceP
// TaskWindow // TaskWindow
///// /////
struct TaskWindowPrivate { class TaskWindowPrivate
{
public:
Internal::TaskModel *m_model; Internal::TaskModel *m_model;
Internal::TaskFilterModel *m_filter; Internal::TaskFilterModel *m_filter;
Internal::TaskView *m_listview; Internal::TaskView *m_listview;
......
...@@ -42,10 +42,8 @@ class QModelIndex; ...@@ -42,10 +42,8 @@ class QModelIndex;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace ProjectExplorer { namespace ProjectExplorer {
struct Task; class Task;
struct TaskWindowPrivate; class TaskWindowPrivate;
struct TaskWindowPrivate;
// Show build issues (warnings or errors) and open the editor on click. // Show build issues (warnings or errors) and open the editor on click.
class PROJECTEXPLORER_EXPORT TaskWindow : public Core::IOutputPane class PROJECTEXPLORER_EXPORT TaskWindow : public Core::IOutputPane
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment