]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackedit.h
use QObject since we don't need more
[kdenlive] / src / effectstackedit.h
index 10e456ee947a95ea387ec9d15a03fe504ca17aa6..334e4af89d29a9dade12337c94a1b19137197cd2 100644 (file)
 #ifndef EFFECTSTACKEDIT_H
 #define EFFECTSTACKEDIT_H
 
+#include "definitions.h"
+#include "timecode.h"
+
+
 #include <QWidget>
 #include <QDomElement>
 #include <QVBoxLayout>
 #include <QList>
 #include <QMap>
 
-#include "definitions.h"
-#include "timecode.h"
-
 enum WIPE_DIRECTON { UP = 0, DOWN = 1, LEFT = 2, RIGHT = 3, CENTER = 4 };
 
 struct wipeInfo {
@@ -38,7 +39,7 @@ struct wipeInfo {
 
 class QFrame;
 
-class EffectStackEdit : public QWidget
+class EffectStackEdit : public QObject
 {
     Q_OBJECT
 public:
@@ -63,7 +64,7 @@ private:
     QList<UiItem*> m_uiItems;
     QDomElement m_params;
     QMap<QString, void*> m_valueItems;
-    void createSliderItem(const QString& name, int val , int min, int max);
+    void createSliderItem(const QString& name, int val , int min, int max, const QString);
     wipeInfo getWipeInfo(QString value);
     QString getWipeString(wipeInfo info);
     MltVideoProfile m_profile;
@@ -73,7 +74,7 @@ private:
     QPoint m_frameSize;
 
 public slots:
-    void transferParamDesc(const QDomElement&, int , int);
+    void transferParamDesc(const QDomElement, int , int);
     void slotSliderMoved(int);
     /** \brief Called whenever(?) some parameter is changed in the gui.
      *
@@ -84,7 +85,7 @@ private slots:
     void slotSeekToPos(int);
 
 signals:
-    void parameterChanged(const QDomElement&, const QDomElement&);
+    void parameterChanged(const QDomElement, const QDomElement);
     void seekTimeline(int);
 };