hi,

i have a form design that i implement using the multiple inheritance approach, so i have a class {i name it gui} that represents my form

Qt Code:
  1. class gui : public QDialog, private Ui::mainFormGUI
  2. {
  3. Q_OBJECT
  4.  
  5. //the constructor
  6. public:
  7. gui (QWidget *parent = 0);
  8.  
  9. //the buttons of the functions....
  10. private slots:
  11.  
  12. private:
  13. typeA test;
  14. };
To copy to clipboard, switch view to plain text mode 

the problem is that i want to make typeA access the gui interface....{for example write on a QTextEdit..... How can i do this?

i thought that i could pass to the typeA class a {this}pointer of gui {i.e. gui* p_gui} and then access the QTextEdit from p_gui but unfortunatelly it doesn't work....

any other ideas?

thanks in advance ,
N.A