• Skip to content
  • Skip to link menu
KDE 4.4 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 
00023 class ScreenPreviewWidget;
00024 
00025 class BackgroundDialog : public KDialog, public Ui::BackgroundDialog
00026 {
00027     Q_OBJECT
00028 public:
00029     BackgroundDialog(const QSize &res, Plasma::Containment *containment,
00030                      Plasma::View *view, QWidget *parent = 0);
00031     ~BackgroundDialog();
00032 
00033     void reloadConfig();
00034 
00035 public slots:
00036     void saveConfig();
00037 
00038 private:
00039     KConfigGroup wallpaperConfig(const QString &plugin);
00040 
00041 private slots:
00042     void changeBackgroundMode(int mode);
00043     void cleanup();
00044 
00045 private:
00046     Plasma::Wallpaper* m_wallpaper;
00047     Plasma::View* m_view;
00048     Plasma::Containment* m_containment;
00049     ScreenPreviewWidget* m_preview;
00050 };
00051 
00052 #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
  • System Settings
  •   SystemSettingsView
Generated for API Reference by doxygen 1.5.9-20090814
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