-
- void fillList(const QString selectedProfile = QString());
- 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);
+ /** @brief Using this constructor, the dialog only allows editing one profile. */
+ explicit ProfilesDialog(QString profilePath, QWidget * parent = 0);
+
+ void fillList(const QString &selectedProfile = QString());
+ 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(const QString &name);