]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.h
Small string cleanup as recommended by jmpoure
[kdenlive] / src / mainwindow.h
index dad33684f8d98bd7ebe2fb1dad64241489c49dc7..629b1519e01679724a31a0ceafae02de8a802eae 100644 (file)
@@ -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;
@@ -150,6 +158,7 @@ private:
     KAction *m_buttonFitZoom;
     KAction *m_buttonSelectTool;
     KAction *m_buttonRazorTool;
+    KAction *m_buttonSpacerTool;
     KAction *m_buttonSnap;
     QActionGroup *m_toolGroup;
     KAction *m_saveAction;
@@ -184,9 +193,9 @@ private slots:
     void connectDocument(TrackView*, KdenliveDoc*);
     void openFile();
     void openLastFile();
-    void saveFile();
-    void saveFileAs();
-    void saveFileAs(const QString &outputFileName);
+    bool saveFile();
+    bool saveFileAs();
+    bool saveFileAs(const QString &outputFileName);
     void slotPreferences(int page = -1, int option = -1);
     void updateConfiguration();
     void slotConnectMonitors();
@@ -236,6 +245,8 @@ private slots:
     void findTimeout();
     void slotFindNext();
 
+    void slotInsertSpace();
+    void slotRemoveSpace();
     void slotAddGuide();
     void slotEditGuide();
     void slotDeleteGuide();
@@ -255,6 +266,12 @@ private slots:
     void slotSetInPoint();
     void slotSetOutPoint();
     void configureNotifications();
+    void slotInsertTrack(int ix = 0);
+    void slotDeleteTrack(int ix = 0);
+    void slotChangeTrack(int ix = 0);
+    void slotGetNewStuff();
+    void slotAutoTransition();
+    void slotRunWizard();
 };