• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

backgrounddialog.h

Go to the documentation of this file.
00001 /*
00002   Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
00003   Copyright (c) 2008 by Petri Damsten <damu@iki.fi>
00004 
00005   This program is free software; you can redistribute it and/or modify
00006   it under the terms of the GNU General Public License as published by
00007   the Free Software Foundation; either version 2 of the License, or
00008   (at your option) any later version.
00009 */
00010 
00011 #ifndef BACKGROUNDDIALOG_H
00012 #define BACKGROUNDDIALOG_H
00013 
00014 #include <KDialog>
00015 #include "ui_BackgroundDialog.h"
00016 
00017 namespace Plasma {
00018     class Wallpaper;
00019     class Containment;
00020     class View;
00021 }
00022 class WallpaperPreview;
00023 
00024 class BackgroundDialog : public KDialog, public Ui::BackgroundDialog
00025 {
00026     Q_OBJECT
00027 public:
00028     BackgroundDialog(const QSize &res, Plasma::Containment *containment,
00029                      Plasma::View *view, QWidget *parent = 0);
00030     ~BackgroundDialog();
00031 
00032     void reloadConfig();
00033 
00034 public slots:
00035     void saveConfig();
00036 
00037 private:
00038     KConfigGroup wallpaperConfig(const QString &plugin);
00039 
00040 private slots:
00041     void changeBackgroundMode(int mode);
00042     void cleanup();
00043 
00044 private:
00045     Plasma::Wallpaper* m_wallpaper;
00046     Plasma::View* m_view;
00047     Plasma::Containment* m_containment;
00048     WallpaperPreview* m_preview;
00049 };
00050 
00051 #endif // BACKGROUNDDIALOG_H

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal