X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=2324af53e7efc067747ce8c3cf04e869895f23a9;hb=3c844989ad9fdb96bb9258a990a9874773b3d792;hp=af94b763b663d2d31e45dd347853125cc828312a;hpb=9f9a125d2a21119f55ba744b027d9372b5a95f08;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index af94b763..2324af53 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -279,7 +279,7 @@ private: void connectDocumentInfo(KdenliveDoc *doc); void findAhead(); void doOpenFile(const KUrl &url, KAutoSaveFile *stale); - void recoverFiles(QList staleFiles, const KUrl &originUrl); + void recoverFiles(const QList &staleFiles, const KUrl &originUrl); /** @brief Loads static and dynamic plugins. * @@ -422,12 +422,12 @@ private slots: void slotSelectAddTimelineTransition(); void slotAddVideoEffect(QAction *result); void slotAddTransition(QAction *result); - void slotAddProjectClip(KUrl url, stringMap data = stringMap()); - void slotAddProjectClipList(KUrl::List urls); + void slotAddProjectClip(const KUrl &url, const stringMap &data = stringMap()); + void slotAddProjectClipList(const KUrl::List &urls); void slotShowClipProperties(DocClipBase *clip); void slotShowClipProperties(const QList &cliplist, const QMap &commonproperties); void slotTimelineClipSelected(ClipItem* item, bool raise = true); - void slotTrackSelected(int index, TrackInfo info, bool raise = true); + void slotTrackSelected(int index, const TrackInfo &info, bool raise = true); void slotActivateTransitionView(Transition *); void slotChangeTool(QAction * action); void slotChangeEdit(QAction * action); @@ -531,7 +531,7 @@ private slots: void slotUpdateCaptureFolder(); /** @brief Apply new properties to a clip */ - void slotApplyNewClipProperties(const QString id, QMap props, QMap newprops, bool refresh, bool reload); + void slotApplyNewClipProperties(const QString &id, const QMap &props, const QMap &newprops, bool refresh, bool reload); /** @brief Delete a clip from current project */ void slotDeleteClip(const QString &id);