Make Task and TaskWindowPrivate classes

They both used to be structs.
This commit is contained in:
Tobias Hunger
2010-06-16 14:24:22 +02:00
parent bf5c990283
commit d9fbf55a98
3 changed files with 8 additions and 6 deletions

View File

@@ -39,7 +39,9 @@
namespace ProjectExplorer {
// Build issue (warning or error).
struct PROJECTEXPLORER_EXPORT Task {
class PROJECTEXPLORER_EXPORT Task
{
public:
enum TaskType {
Unknown,
Error,

View File

@@ -478,7 +478,9 @@ bool TaskFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceP
// TaskWindow
/////
struct TaskWindowPrivate {
class TaskWindowPrivate
{
public:
Internal::TaskModel *m_model;
Internal::TaskFilterModel *m_filter;
Internal::TaskView *m_listview;

View File

@@ -42,10 +42,8 @@ class QModelIndex;
QT_END_NAMESPACE
namespace ProjectExplorer {
struct Task;
struct TaskWindowPrivate;
struct TaskWindowPrivate;
class Task;
class TaskWindowPrivate;
// Show build issues (warnings or errors) and open the editor on click.
class PROJECTEXPLORER_EXPORT TaskWindow : public Core::IOutputPane