]> git.sesse.net Git - kdenlive/blobdiff - src/kis_curve_widget.h
Const'ref
[kdenlive] / src / kis_curve_widget.h
index da61a6b8336771cda670dbebb42cd678936be38b..200db10631c01cae46887da2408fce9bfb329aaf 100644 (file)
@@ -56,7 +56,7 @@ public:
      * Create a new curve widget with a default curve, that is a straight
      * line from bottom-left to top-right.
      */
-    KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0);
+    explicit KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0);
 
     virtual ~KisCurveWidget();
 
@@ -82,6 +82,8 @@ public:
      */
     void setPixmap(const QPixmap & pix);
 
+    virtual QSize sizeHint() const;
+
 signals:
 
     /**
@@ -131,7 +133,7 @@ public:
      * so the user can move this point anywhere in a moment
      */
     void addPointInTheMiddle();
-    
+
     void setMaxPoints(int max);
 
 private: