X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprofilesdialog.h;h=92a7fc4e8965db7f0a90ec4f3e9179d519b1814e;hb=5bac38471d4c90a8a520d6ec32b90913b6f0dbcb;hp=f75faef0002d8ed5ec8fe1b51db71d260ba15ea2;hpb=c42a026234a44a2d766e57bc64a6ac7bbd094000;p=kdenlive diff --git a/src/profilesdialog.h b/src/profilesdialog.h index f75faef0..92a7fc4e 100644 --- a/src/profilesdialog.h +++ b/src/profilesdialog.h @@ -33,12 +33,16 @@ public: ProfilesDialog(QWidget * parent = 0); void fillList(const QString selectedProfile = QString()); - static QString getProfileDescription(QString name); static QMap< QString, QString > getSettingsForProfile(const QString profileName); static QMap< QString, QString > getSettingsFromFile(const QString path); static QString getPathFromDescription(const QString profileDesc); static MltVideoProfile getVideoProfile(QString name); static QMap getProfilesInfo(); + static void saveProfile(MltVideoProfile &profile); + static QString existingProfile(MltVideoProfile profile); + static bool existingProfileDescription(const QString &desc); + static QString getPathFromProperties(int width, int height, double fps, double par = 0, double dar = 0); + static double getStringEval(const MltVideoProfile &profile, QString eval); protected: virtual void closeEvent(QCloseEvent *event); @@ -54,8 +58,6 @@ private slots: private: Ui::ProfilesDialog_UI m_view; - QStringList m_mltProfilesList; - QStringList m_customProfilesList; int m_selectedProfileIndex; bool m_profileIsModified; bool m_isCustomProfile;