Hi to all,
Please tell me how to call super class methods from subclass ,when iam calling superclass method from subclass me getting error as shown below.
In file included from eclogic_lnx.h:8,
/eclogic_lnx.h:8: In file included from eclogic_lnx.h:8,
/eclogic.h:98: error: ISO C++ forbids declaration of ‘eclogic_lnx’ with no type
/eclogic.h:98: error: expected ‘;’ before ‘*’ token
In file included from eclogic_lnx.h:8,
/eclogic_lnx.h:8: In file included from eclogic_lnx.h:8,
/eclogic.h:98: error: ISO C++ forbids declaration of ‘eclogic_lnx’ with no type
/eclogic.h:98: error: expected ‘;’ before ‘*’ token
To copy to clipboard, switch view to plain text mode
and method iam calling like this
// eclogic_lnx is the subclass
{
if(button)
eclogic->createTreewidget(); //eclogic is the super class and createTreewidget is the super class method name
}
// eclogic_lnx is the subclass
void eclogic_lnx::on_buttonBox_clicked(QAbstractButton* button)
{
if(button)
eclogic->createTreewidget(); //eclogic is the super class and createTreewidget is the super class method name
}
To copy to clipboard, switch view to plain text mode
plz tell me how to call and write the code ,
thanks in advance
Bookmarks