[Qt-interest] two interfaces: gui, cl, inherit a QObject

Gabriele Kahlout gabriele at mysimpatico.com
Wed May 19 15:00:48 CEST 2010


Hello,

I'm trying to have a ui Q_Object base that defines signals and slots both of
my Window and CLInterface classes inherit, and re-implement.
Window also needs to inherit QDialog. Yet I cannot, inherit from two
qobjects. What do you suggest doing in this common scenario?

Also, CLInterface should inherit QThread, so that it loops for stdin input.
Any readyRead to stdin to avoid the thread, Thiago?

-- 
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer OR with
" ACK" appended to this subject within 48 hours. Otherwise, I might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this)
∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a priori
senders, or if the subject of this email ends with a code, eg. -LICHT01X,
then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y,
subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100519/0e9a4532/attachment.html 


More information about the Qt-interest-old mailing list