X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=ec949c45261462f065af53a521a4ba4dbfa088a2;hb=3b13016cd88e03cb2498ade2fe5c6b0d049376dd;hp=36e943288461da8412a2586b52bea9950ddcdb11;hpb=8c6936858b3946b713a580504b9a8bb9a533f0e7;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index 36e94328..ec949c45 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -61,7 +61,8 @@ class DocClipBase; class Render; class Transition; -class MainWindow : public KXmlGuiWindow { +class MainWindow : public KXmlGuiWindow +{ Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kdenlive.MainWindow") @@ -74,7 +75,7 @@ public: * The constructor inits the main window. If Url is present, it will be opened. * If Url is not present, and openLastproject is set, last project will be set * If no file is open after trying this, a default "newfile" will be created. */ - MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0); + explicit MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0); void parseProfiles(const QString &mltPath = QString()); static EffectsList videoEffects; @@ -170,6 +171,7 @@ private: QAction *m_loopZone; QAction *m_playZone; StatusBarMessageLabel *m_messageLabel; + QActionGroup *m_clipTypeGroup; bool m_findActivated; QString m_findString; @@ -193,6 +195,7 @@ private: QActionGroup *actionGroup); void aboutPlugins(); QStringList m_pluginFileNames; + QByteArray m_timelineState; public slots: void openFile(const KUrl &url); @@ -225,7 +228,7 @@ private slots: void slotSwitchMarkersComments(); void slotSwitchSnap(); void slotRenderProject(); - void slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile); + void slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile, const QString &scriptExport); void slotFullScreen(); void slotUpdateDocumentState(bool modified); void slotZoomIn(); @@ -283,13 +286,21 @@ private slots: void slotInsertTrack(int ix = 0); void slotDeleteTrack(int ix = 0); void slotChangeTrack(int ix = 0); - void slotGetNewStuff(); + void slotGetNewLumaStuff(); + void slotGetNewRenderStuff(); + void slotGetNewMltProfileStuff(); void slotAutoTransition(); void slotRunWizard(); void generateClip(); void slotZoneMoved(int start, int end); void slotUpdatePreviewSettings(); - void slotDvdWizard(const QString &url = QString()); + void slotDvdWizard(const QString &url = QString(), const QString &profile = "dv_pal"); + void slotGroupClips(); + void slotUnGroupClips(); + void slotSplitAudio(); + void slotUpdateClipType(QAction *action); + void slotShowTimeline(bool show); + void slotMaximizeCurrent(bool show); signals: Q_SCRIPTABLE void abortRenderJob(const QString &url);