We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Initial compilation error resulted with conversion of QObject to QWidget in employeelistview.cpp.
Corrections: employeelistview.h & employeelistview.cpp
employeelistview.cpp
// Changed from QObject to QWidget EmployeeListView::EmployeeListView(QWidget *parent) : QTreeView(parent) { }
employeelistview.h
class EmployeeListView : public QTreeView { Q_OBJECT public: // Changed QObject to QWidget explicit EmployeeListView(QWidget *parent = 0);
signals:
public slots:
};
Jay Scherrer [email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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]
The text was updated successfully, but these errors were encountered: