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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Francois Marier, Francois Marier, Mark Purcell
  • Date: 2014-10-18 15:08:50 UTC
  • mfrom: (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20141018150850-2exfk34ckb15pcwi
Tags: 1.4.1-0.1
[ Francois Marier ]
* Non-maintainer upload
* New upstream release (closes: #759576, #741130)
  - debian/rules +PJPROJECT_VERSION := 2.2.1
  - add upstream patch to fix broken TLS support
  - add patch to fix pjproject regression

[ Mark Purcell ]
* Build-Depends:
  - sflphone-daemon + libavformat-dev, libavcodec-dev, libswscale-dev,
  libavdevice-dev, libavutil-dev
  - sflphone-gnome + libclutter-gtk-1.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#define VIDEOWIDGET3_H
20
20
 
21
21
#include <QtGui/QGraphicsView>
 
22
#include "videoglframe.h"
 
23
#include <lib/video/videorenderer.h>
22
24
 
23
25
//Qt
24
26
class QGLWidget;
 
27
class QDragLeaveEvent;
 
28
class QDragEnterEvent;
 
29
class QDragMoveEvent;
 
30
class QDropEvent;
25
31
 
26
32
//SFLPhone
27
33
class VideoRenderer;
28
34
class VideoScene;
 
35
class VideoGLFrame;
29
36
 
30
37
class VideoWidget3 : public QGraphicsView
31
38
{
39
46
 
40
47
protected:
41
48
   virtual void resizeEvent(QResizeEvent* event);
 
49
   virtual void dragLeaveEvent   ( QDragLeaveEvent   * e );
 
50
   virtual void dragEnterEvent   ( QDragEnterEvent   * e );
 
51
   virtual void dragMoveEvent    ( QDragMoveEvent    * e );
 
52
   virtual void dropEvent        ( QDropEvent        * e );
42
53
 
43
54
private:
44
55
   VideoScene*          m_pScene  ;
45
56
   QGLWidget*           m_pWdg    ;
 
57
   QHash<VideoRenderer*,VideoGLFrame*> m_hFrames;
 
58
   VideoDevice*         m_pBackDevice;
46
59
 
47
60
public Q_SLOTS:
48
61
   void addRenderer(VideoRenderer* renderer);
 
62
   void removeRenderer(VideoRenderer* renderer);
 
63
   void slotRotateLeft();
 
64
   void slotRotateRight();
 
65
   void slotShowPreview(bool show);
 
66
   void slotMuteOutgoindVideo(bool mute);
 
67
   void slotKeepAspectRatio(bool mute);
 
68
   void slotPreviewEnabled(bool show);
49
69
 
50
70
Q_SIGNALS:
51
71
   void changed();