Dumbledore
17th October 2007, 00:00
I have a class derived from TcpSocket. From a method in this class I want to assign some text to a QTextBrowser. What's the best way to do that?
Also is this okay? To get access to those generated objects from my class that derives from QMainWindow I am inheriting Ui::GeneratedClass.
class MChat : public QMainWindow, private Ui::MChat {
With this I can get access to QTextBrowser::append()
but this:
class MSocket : public QTcpSocket, private Ui::MChat
Will not.
Also is this okay? To get access to those generated objects from my class that derives from QMainWindow I am inheriting Ui::GeneratedClass.
class MChat : public QMainWindow, private Ui::MChat {
With this I can get access to QTextBrowser::append()
but this:
class MSocket : public QTcpSocket, private Ui::MChat
Will not.