Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payroll - Initial compilation error #1

Open
gimpit opened this issue Apr 22, 2015 · 0 comments
Open

Payroll - Initial compilation error #1

gimpit opened this issue Apr 22, 2015 · 0 comments

Comments

@gimpit
Copy link

gimpit commented Apr 22, 2015

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant