Changeset View
Changeset View
Standalone View
Standalone View
plasmoidviewer/view.h
Show All 30 Lines | |||||
31 | public: | 31 | public: | ||
32 | View(ViewerCorona *corona, bool konsoleVisible, QWindow *parent = 0); | 32 | View(ViewerCorona *corona, bool konsoleVisible, QWindow *parent = 0); | ||
33 | ~View(); | 33 | ~View(); | ||
34 | 34 | | |||
35 | void addApplet(const QString &applet); | 35 | void addApplet(const QString &applet); | ||
36 | void addContainment(const QString &containment); | 36 | void addContainment(const QString &containment); | ||
37 | void addFormFactor(const QString &formFactor = QStringLiteral("planar")); | 37 | void addFormFactor(const QString &formFactor = QStringLiteral("planar")); | ||
38 | void addLocation(const QString &location = QStringLiteral("floating")); | 38 | void addLocation(const QString &location = QStringLiteral("floating")); | ||
39 | void emitExternalData(const QString &data); | ||||
39 | bool konsoleVisible(); | 40 | bool konsoleVisible(); | ||
40 | 41 | | |||
41 | Q_INVOKABLE void changeFormFactor(int formFactor); | 42 | Q_INVOKABLE void changeFormFactor(int formFactor); | ||
42 | Q_INVOKABLE void changeLocation(int location); | 43 | Q_INVOKABLE void changeLocation(int location); | ||
43 | Q_INVOKABLE void takeScreenShot(); | 44 | Q_INVOKABLE void takeScreenShot(); | ||
44 | 45 | | |||
45 | static ViewerCorona *createCorona(); | 46 | static ViewerCorona *createCorona(); | ||
46 | 47 | | |||
Show All 9 Lines |