- void slotAddClipFile(const KUrl url, const QString group, const QString &groupId);
- void slotAddClipList(const KUrl::List urls, const QString group, const QString &groupId);
- void slotAddTextClipFile(const QString titleName, const QString imagePath, const QString xml, const QString group, const QString &groupId);
- void slotAddTextTemplateClip(QString titleName, const QString imagePath, const KUrl path, const QString group, const QString &groupId);
- void slotAddColorClipFile(const QString name, const QString color, QString duration, const QString group, const QString &groupId);
- void slotAddSlideshowClipFile(const QString name, const QString path, int count, const QString duration, const bool loop, const bool fade, const QString &luma_duration, const QString &luma_file, const int softness, const QString group, const QString &groupId);
+
+ /** @brief Add a file to the project.
+ * @ref slotAddClipList
+ * @param url file to add
+ * @param group name of the group to insert the file in (can be empty)
+ * @param groupId id of the group (if any) */
+ void slotAddClipFile(const KUrl &url, const QMap<QString, QString> &data);
+
+ /** @brief Adds a list of files to the project.
+ * @param urls files to add
+ * @param group name of the group to insert the files in (can be empty)
+ * @param groupId id of the group (if any)
+ * It checks for duplicated items and asks to the user for instructions. */
+ void slotAddClipList(const KUrl::List &urls, const QMap<QString, QString> &data);
+ void slotAddTextClipFile(const QString &titleName, int out, const QString &xml, const QString &group, const QString &groupId);
+ void slotAddTextTemplateClip(QString titleName, const KUrl &path, const QString &group, const QString &groupId);
+ void slotAddXmlClipFile(const QString &name, const QDomElement &xml, const QString &group, const QString &groupId);
+ void slotAddColorClipFile(const QString &name, const QString &color, const QString &duration, const QString &group, const QString &groupId);
+ void slotAddSlideshowClipFile(QMap <QString, QString> properties, const QString &group, const QString &groupId);