22 #ifndef PHONON_VIDEOGRAPHICSOBJECT_H
23 #define PHONON_VIDEOGRAPHICSOBJECT_H
25 #include <QGraphicsObject>
28 #include "medianode.h"
31 #include "videoframe.h"
38 class VideoGraphicsFormatSpy;
39 class VideoGraphicsObjectPrivate;
41 enum GraphicsPainterType {
45 GraphicsPainterQPainter
51 static QMap<GraphicsPainterType, QList<VideoFrame::Format> > detectTypes();
111 virtual QRectF boundingRect()
const;
114 void setGeometry(
const QRectF &newGeometry);
117 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
132 bool isReady()
const;
135 bool canNegotiate()
const;
153 Q_PRIVATE_SLOT(k_func(),
void _p_negotiateFormat())
158 #endif // PHONON_VIDEOGRAPHICSOBJECT_H