Plasma
desktopcorona.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef DESKTOPCORONA_H
00021 #define DESKTOPCORONA_H
00022
00023 #include <QtGui/QGraphicsScene>
00024
00025 #include <plasma/corona.h>
00026
00027 namespace Plasma
00028 {
00029 class Applet;
00030 }
00031
00035 class PLASMA_EXPORT DesktopCorona : public Plasma::Corona
00036 {
00037 Q_OBJECT
00038
00039 public:
00040 explicit DesktopCorona(QObject * parent = 0);
00041
00045 void loadDefaultLayout();
00046
00050 void checkScreens();
00051
00052 protected Q_SLOTS:
00053 void screenResized(int);
00054
00055 private:
00056 void init();
00057 Plasma::Applet *loadDefaultApplet(const QString &pluginName, Plasma::Containment *c);
00058
00059 int m_numScreens;
00060 };
00061
00062 #endif
00063
00064