]> git.sesse.net Git - kdenlive/blobdiff - src/profilesdialog.h
Cleanup and add mimetype for TGA images, also add EXR, TIFF and TGA to the list of...
[kdenlive] / src / profilesdialog.h
index d7f8ea055083886d991cb82d1fa2f8c5b23ee07a..00b2369425873e2b63afdc46864e8cae5cc1794f 100644 (file)
@@ -40,18 +40,27 @@ public:
     static MltVideoProfile getVideoProfile(QString name);
     static QMap <QString, QString> getProfilesInfo();
 
+protected:
+    virtual void closeEvent(QCloseEvent *event);
+
 private slots:
     void slotUpdateDisplay();
     void slotCreateProfile();
-    void slotSaveProfile();
+    bool slotSaveProfile();
     void slotDeleteProfile();
+    void slotSetDefaultProfile();
+    void slotProfileEdited();
+    virtual void accept();
 
 private:
     Ui::ProfilesDialog_UI m_view;
     QStringList m_mltProfilesList;
     QStringList m_customProfilesList;
+    int m_selectedProfileIndex;
+    bool m_profileIsModified;
     bool m_isCustomProfile;
     void saveProfile(const QString path);
+    bool askForSave();
 };