[Qt-interest] protected function

vyshakh krishnan vyshakh.krishnan at gmail.com
Sun Jun 20 14:50:34 CEST 2010


hi,

Can anyone tell the exact working of protected function in a qt class.

protected:
    void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *mouseEvent);

These functions are seen to be made protected in one of the tutorial program
(diagramscene) in qt. But these are not called anywhere or not connected to
any signal. How do these work?

Regards
vyshakh krishnan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100620/76534e3b/attachment.html 


More information about the Qt-interest-old mailing list