~ubuntu-branches/ubuntu/oneiric/kdeplasma-addons/oneiric

« back to all changes in this revision

Viewing changes to applets/frame/configdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-05-25 09:50:14 UTC
  • mto: (0.4.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 68.
  • Revision ID: james.westby@ubuntu.com-20100525095014-e3cebfkdenjrx3xg
Tags: upstream-4.4.80
Import upstream version 4.4.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    /// Randomness for the slideshow
39
39
    void setRandom(bool random);
40
40
    bool random() const;
41
 
    /// Smooth scaling
42
 
    void setSmoothScaling(bool smooth);
43
 
    bool smoothScaling() const;
44
41
    /// Set a shadow for the frame
45
42
    void setShadow(bool round);
46
43
    bool shadow() const;
60
57
    QWidget *appearanceSettings;
61
58
    /// Image Preview
62
59
    /// Allow to preview each new chosen picture
63
 
    void previewPicture(const QPixmap &pix);
 
60
    void previewPicture(const QImage &img);
64
61
 
65
62
private slots:
66
63
    /// Update preview when URL changes via the file dialog
68
65
    /// Update preview when URL changes via the combobox
69
66
    void changePreview(const QString &);
70
67
    /// The image is loaded, update the preview
71
 
    void pictureLoaded(QPixmap image);
 
68
    void pictureLoaded(QImage image);
 
69
    /// The preview is scaled
 
70
    void previewScaled(const QImage &);
72
71
 
73
72
private:
74
73
    Picture *m_picture;