~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy

« back to all changes in this revision

Viewing changes to plasma/plasma/desktopview.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-11 14:04:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071011140448-v0eb7lxbb24zagca
Tags: 3.94.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    Q_OBJECT
38
38
 
39
39
public:
40
 
    DesktopView(QWidget *parent);
 
40
    DesktopView(QWidget *parent, int screen = -1);
41
41
    ~DesktopView();
42
42
 
43
43
public slots:
44
44
    void zoomIn();
45
45
    void zoomOut();
46
 
    void launchExplorer();
47
 
    void runCommand();
48
 
    void initializeWallpaper();
49
46
 
50
47
protected:
51
 
    void drawBackground(QPainter *painter, const QRectF &);
52
 
    void resizeEvent(QResizeEvent *event);
53
48
    void wheelEvent(QWheelEvent *event);
54
 
    void contextMenuEvent(QContextMenuEvent *event);
55
49
 
56
50
private:
57
 
    Plasma::Svg *m_background;
58
 
    QPixmap* m_bitmapBackground;
59
 
    QString m_wallpaperPath;
60
 
    QAction *m_engineExplorerAction;
61
 
    QAction *m_runCommandAction;
62
51
    QAction *m_zoomInAction;
63
52
    QAction *m_zoomOutAction;
 
53
    int m_screen;
64
54
    Plasma::ZoomLevel m_zoomLevel;
65
55
};
66
56