• 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 ThemeModel;
00023 class WallpaperPreview;
00024 class QStandardItemModel;
00025 
00026 class BackgroundDialog : public KDialog, public Ui::BackgroundDialog
00027 {
00028     Q_OBJECT
00029 public:
00030     BackgroundDialog(const QSize &res, Plasma::Containment *containment,
00031                      Plasma::View *view, QWidget *parent = 0);
00032     ~BackgroundDialog();
00033 
00034     void reloadConfig();
00035 
00036 public slots:
00037     void saveConfig();
00038 
00039 private:
00040     KConfigGroup wallpaperConfig(const QString &plugin);
00041 
00042 private slots:
00043     void getNewThemes();
00044     void changeBackgroundMode(int mode);
00045     void cleanup();
00046 
00047 private:
00048     ThemeModel* m_themeModel;
00049     QStandardItemModel* m_containmentModel;
00050     Plasma::Wallpaper* m_wallpaper;
00051     Plasma::View* m_view;
00052     Plasma::Containment* m_containment;
00053     WallpaperPreview* m_preview;
00054 };
00055 
00056 #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