~ubuntu-branches/ubuntu/trusty/kdeplasma-addons/trusty

« back to all changes in this revision

Viewing changes to applets/frame/picture.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-05-25 09:50:14 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100525095014-6mlrm9z9bkws0zkt
Tags: 4:4.4.80-0ubuntu1
* New upstream beta release:
  - Bump kde-sc-dev-latest build-dep version to 4.4.80
  - Refresh kubuntu_04_kimpanel_disable_scim.diff
  - Update various .install files
  - Drop liblancelot0a and liblancelot-dev packages; Upstream has broken ABI
    without an .so version bump, and after discussion with Debian it was
    decided it was not worth it to ship an unstable library.
  - Add liblancelot files to plasma-widget-lancelot, adding appropriate
    Replaces: entries
* Switch to source format 3.0 (quilt):
  - Bump debhelper build-depend version to 7.3.16 or greater

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    * Set Default picture with written message @p message if no picture or folder was chosen
46
46
    * by the user
47
47
    **/
48
 
    QPixmap defaultPicture(const QString &message);
 
48
    QImage defaultPicture(const QString &message);
49
49
    /**
50
50
    * Set picture from location @p currentUrl
51
51
    **/
52
52
    void setPicture(const KUrl &currentUrl);
53
 
    QPixmap correctRotation(const QPixmap& tempImage, const QString &path);
54
53
    KIO::StoredTransferJob * m_job;
55
54
    KUrl url();
56
55
    QString message();
57
56
    void setMessage(const QString &message);
58
57
 
59
58
Q_SIGNALS:
60
 
    void pictureLoaded(QPixmap image);
 
59
    void pictureLoaded(QImage image);
61
60
 
62
61
private Q_SLOTS:
63
62
    void slotFinished(KJob *job);
64
63
    void reload();
 
64
    void checkImageLoaded(QImage newImage);
65
65
 
66
66
private:
67
67
    void setPath(const QString &path);