X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderwidget.h;h=7e4e8fe978022e69f1ee04f39491a0569e76a531;hb=e1984120c805806cba78941ec08839285c3b2591;hp=926e0e5409fccff7131be46657ecfcedf2a5fe19;hpb=4c78943062f9def895277b8239ad1f369bb42fbc;p=kdenlive diff --git a/src/renderwidget.h b/src/renderwidget.h index 926e0e54..7e4e8fe9 100644 --- a/src/renderwidget.h +++ b/src/renderwidget.h @@ -21,7 +21,6 @@ #ifndef RENDERWIDGET_H #define RENDERWIDGET_H -#include #include #include #include @@ -29,9 +28,12 @@ #include "definitions.h" #include "ui_renderwidget_ui.h" +class QDomElement; + // RenderViewDelegate is used to draw the progress bars. -class RenderViewDelegate : public QItemDelegate { +class RenderViewDelegate : public QItemDelegate +{ Q_OBJECT public: RenderViewDelegate(QWidget *parent) : QItemDelegate(parent) {} @@ -96,7 +98,8 @@ public: // RenderScriptDelegate is used to draw the script items. -class RenderScriptDelegate : public QItemDelegate { +class RenderScriptDelegate : public QItemDelegate +{ Q_OBJECT public: RenderScriptDelegate(QWidget *parent) : QItemDelegate(parent) {} @@ -130,7 +133,8 @@ public: } }; -class RenderWidget : public QDialog { +class RenderWidget : public QDialog +{ Q_OBJECT public: @@ -164,6 +168,8 @@ private slots: void slotCheckScript(); void slotCheckJob(); void slotEditItem(QListWidgetItem *item); + void slotCLeanUpJobs(); + void slotHideLog(); private: Ui::RenderWidget_UI m_view; @@ -173,9 +179,10 @@ private: void parseFile(QString exportFile, bool editable); void updateButtons(); KUrl filenameWithExtension(KUrl url, QString extension); + void checkRenderStatus(); signals: - void doRender(const QString&, const QString&, const QStringList &, const QStringList &, bool, bool, double, double, bool, const QString &); + void doRender(const QStringList&, const QStringList&); void abortProcess(const QString &url); void openDvdWizard(const QString &url, const QString &profile); };