2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 Copyright (c) 2008 by Petri Damsten <damu@iki.fi>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef BACKGROUNDDIALOG_H
12 #define BACKGROUNDDIALOG_H
15 #include "ui_BackgroundDialog.h"
22 class WallpaperPreview
;
24 class BackgroundDialog
: public KDialog
, public Ui::BackgroundDialog
28 BackgroundDialog(const QSize
&res
, Plasma::Containment
*containment
,
29 Plasma::View
*view
, QWidget
*parent
= 0);
38 KConfigGroup
wallpaperConfig(const QString
&plugin
);
41 void changeBackgroundMode(int mode
);
45 Plasma::Wallpaper
* m_wallpaper
;
47 Plasma::Containment
* m_containment
;
48 WallpaperPreview
* m_preview
;
51 #endif // BACKGROUNDDIALOG_H