Skip to content

Payroll - Initial compilation error #1

@gimpit

Description

@gimpit

Initial compilation error resulted with conversion of QObject to QWidget in employeelistview.cpp.

Corrections: employeelistview.h & employeelistview.cpp

employeelistview.cpp

include "employeelistview.h"

// Changed from QObject to QWidget
EmployeeListView::EmployeeListView(QWidget *parent) :
QTreeView(parent)
{
}

employeelistview.h

ifndef EMPLOYEELISTVIEW_H

define EMPLOYEELISTVIEW_H

include

include

class EmployeeListView : public QTreeView
{
Q_OBJECT
public:
// Changed QObject to QWidget
explicit EmployeeListView(QWidget *parent = 0);

signals:

public slots:

};

endif // EMPLOYEELISTVIEW_H

Jay Scherrer
[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions