~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to kde/src/widgets/videoscene.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
   void drawBackground(QPainter *painter, const QRectF &rect);
35
35
 
36
36
   //Setters
37
 
   void setToolbar( VideoToolbar* tb    );
38
37
   void addFrame  ( VideoGLFrame* frame );
 
38
   void removeFrame( VideoGLFrame* frame );
39
39
 
40
40
protected:
41
41
   //Events
42
 
   virtual void mousePressEvent  ( QGraphicsSceneMouseEvent* event      );
43
 
   virtual void mouseReleaseEvent( QGraphicsSceneMouseEvent* event      );
44
 
   virtual void mouseMoveEvent   ( QGraphicsSceneMouseEvent* event      );
45
42
   virtual void wheelEvent       ( QGraphicsSceneWheelEvent* wheelEvent );
46
43
 
47
44
private:
48
45
   //Atributes
49
46
   QList<VideoGLFrame*> m_lFrames        ;
50
47
   QColor               m_backgroundColor;
51
 
   VideoToolbar*        m_pToolbar       ;
 
48
//    VideoToolbar*        m_pToolbar       ;
52
49
//    QGraphicsRectItem *m_lightItem;
 
50
   VideoGLFrame* m_pPreviewFrame;
53
51
 
54
52
 
55
53
public Q_SLOTS:
56
 
   void setBackgroundColor();
57
54
   void frameChanged      ();
 
55
   void slotRotateLeft();
 
56
   void slotRotateRight();
 
57
   void slotKeepAspectRatio(bool keep);
58
58
};
59
59
 
60
60
#endif