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"
23 class WallpaperPreview
;
24 class QStandardItemModel
;
26 class BackgroundDialog
: public KDialog
, public Ui::BackgroundDialog
30 BackgroundDialog(const QSize
&res
, Plasma::Containment
*containment
,
31 Plasma::View
*view
, QWidget
*parent
= 0);
40 KConfigGroup
wallpaperConfig(const QString
&plugin
);
44 void changeBackgroundMode(int mode
);
48 ThemeModel
* m_themeModel
;
49 QStandardItemModel
* m_containmentModel
;
50 Plasma::Wallpaper
* m_wallpaper
;
52 Plasma::Containment
* m_containment
;
53 WallpaperPreview
* m_preview
;
56 #endif // BACKGROUNDDIALOG_H