~ubuntu-branches/ubuntu/saucy/unity8/saucy-proposed

« back to all changes in this revision

Viewing changes to plugins/Unity/preview.h

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2013-10-04 21:22:29 UTC
  • Revision ID: package-import@ubuntu.com-20131004212229-a2j9c8et8gfd7xue
Tags: 7.82+13.10.20131004.2-0ubuntu1
Revert 7.82+13.10.20131004.1-0ubuntu1 back to
7.81.3+13.10.20130927.3-0ubuntu1 due to CPU hogging issue with
7.82+13.10.20131004.1-0ubuntu1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    Q_PROPERTY(QVariant infoHints READ infoHints NOTIFY previewChanged)
48
48
    Q_PROPERTY(QVariantMap infoMap READ infoHintsHash NOTIFY previewChanged)
49
49
    Q_PROPERTY(QString image READ image NOTIFY previewChanged)
 
50
    Q_PROPERTY(QString imageSourceUri READ imageSourceUri NOTIFY previewChanged)
50
51
    Q_PROPERTY(QVariant result READ result NOTIFY previewChanged)
51
52
 
52
53
public:
61
62
    QVariant infoHints();
62
63
    QVariantMap infoHintsHash() const;
63
64
    QString image() const;
 
65
    QString imageSourceUri() const;
64
66
    QVariant result() const;
65
67
 
66
68
    Q_INVOKABLE void execute(const QString& actionId, const QHash<QString, QVariant>& hints);