~ci-train-bot/ubuntu-system-settings/ubuntu-system-settings-ubuntu-zesty-2066

« back to all changes in this revision

Viewing changes to plugins/background/background.h

  • Committer: Bileto Bot
  • Author(s): Jonas G. Drange
  • Date: 2016-09-30 13:48:06 UTC
  • mfrom: (1720.3.7 path-fixes)
  • Revision ID: ci-train-bot@canonical.com-20160930134806-tir714ireb8xzaau
uses XDG_DATA_DIRS where applicable to enable USS to find files and folders on snappy-based systems (LP: #1629009)

Approved by: Alberto Mardegan, Ken VanDine, Lukáš Tinkl, system-apps-ci-bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    explicit Background(QObject *parent = 0);
54
54
    ~Background();
55
55
    QString backgroundFile();
56
 
    void setBackgroundFile(QUrl backgroundFile);
 
56
    void setBackgroundFile(const QUrl &backgroundFile);
57
57
    Q_INVOKABLE QUrl prepareBackgroundFile(const QUrl &url, bool shareWithGreeter);
58
58
    Q_INVOKABLE bool fileExists(const QString &file);
59
59
    Q_INVOKABLE void rmFile(const QString &file);