QString animation() const;
/** @brief Get the image frame number from a file path, for example image_047.jpg will return 47. */
- static int getFrameNumberFromPath(KUrl path);
+ static int getFrameNumberFromPath(const KUrl &path);
/** @brief return the url pattern for selected slideshow. */
- static QString selectedPath(KUrl url, bool isMime, QString extension, QStringList *list);
+ static QString selectedPath(const KUrl &url, bool isMime, QString extension, QStringList *list);
/** @brief Convert the selection animation style into an affine geometry string. */
static QString animationToGeometry(const QString &animation, int &ttl);