X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=f629ce8d007562389b7109dbdf0cb0b101836284;hb=b2a49357aaba842416da302dcc932b8eb94b7d18;hp=dad33684f8d98bd7ebe2fb1dad64241489c49dc7;hpb=11717c7ecafec38d11023395011599a89bf86766;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index dad33684..f629ce8d 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -63,7 +63,15 @@ class MainWindow : public KXmlGuiWindow { Q_OBJECT public: - MainWindow(const QString &MltPath = QString(), QWidget *parent = 0); + /** Constructor + * \param MltPath path to MLT environment + * \param Url Url to open + * \param parent Std. widget parent + * + * 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); void parseProfiles(const QString &mltPath = QString()); static EffectsList videoEffects;