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.

Qt Code:
  1. In file included from eclogic_lnx.h:8,
  2. /eclogic_lnx.h:8: In file included from eclogic_lnx.h:8,
  3. /eclogic.h:98: error: ISO C++ forbids declaration of ‘eclogic_lnx’ with no type
  4. /eclogic.h:98: error: expected ‘;’ before ‘*’ token
To copy to clipboard, switch view to plain text mode 

and method iam calling like this
Qt Code:
  1. // eclogic_lnx is the subclass
  2. void eclogic_lnx::on_buttonBox_clicked(QAbstractButton* button)
  3. {
  4. if(button)
  5.  
  6. eclogic->createTreewidget(); //eclogic is the super class and createTreewidget is the super class method name
  7. }
To copy to clipboard, switch view to plain text mode 

plz tell me how to call and write the code ,
thanks in advance