Changeset View
Changeset View
Standalone View
Standalone View
src/scriptengines/qml/plasmoid/containmentinterface.h
Show First 20 Lines • Show All 209 Lines • ▼ Show 20 Line(s) | |||||
210 | 210 | | |||
211 | private Q_SLOTS: | 211 | private Q_SLOTS: | ||
212 | Plasma::Applet *createApplet(const QString &plugin, const QVariantList &args, const QPoint &pos); | 212 | Plasma::Applet *createApplet(const QString &plugin, const QVariantList &args, const QPoint &pos); | ||
213 | Plasma::Applet *createApplet(const QString &plugin, const QVariantList &args, const QRectF &geom); | 213 | Plasma::Applet *createApplet(const QString &plugin, const QVariantList &args, const QRectF &geom); | ||
214 | 214 | | |||
215 | private: | 215 | private: | ||
216 | void clearDataForMimeJob(KIO::Job *job); | 216 | void clearDataForMimeJob(KIO::Job *job); | ||
217 | void setAppletArgs(Plasma::Applet *applet, const QString &mimetype, const QString &data); | 217 | void setAppletArgs(Plasma::Applet *applet, const QString &mimetype, const QString &data); | ||
218 | void showDropjobMenu(KIO::DropJob *dropJob, QPoint dropPoint); | ||||
218 | 219 | | |||
219 | WallpaperInterface *m_wallpaperInterface; | 220 | WallpaperInterface *m_wallpaperInterface; | ||
220 | QList<QObject *> m_appletInterfaces; | 221 | QList<QObject *> m_appletInterfaces; | ||
221 | QHash<KJob *, QPoint> m_dropPoints; | 222 | QHash<KJob *, QPoint> m_dropPoints; | ||
222 | QHash<KJob *, QMenu *> m_dropMenus; | 223 | QHash<KJob *, QMenu *> m_dropMenus; | ||
223 | QHash<KJob *, QJSValue *> m_dropCallbacks; | 224 | QHash<KJob *, QJSValue *> m_dropCallbacks; | ||
224 | QHash<KJob *, KIO::DropJob *> m_dropJobs; | 225 | QHash<KJob *, KIO::DropJob *> m_dropJobs; | ||
226 | QList<QAction *> m_dropActions; | ||||
227 | QList<QUrl > m_urlsHaveSameMimename; | ||||
228 | bool m_multipleMimenames; | ||||
225 | KActivities::Info *m_activityInfo; | 229 | KActivities::Info *m_activityInfo; | ||
226 | QPointer<Plasma::Containment> m_containment; | 230 | QPointer<Plasma::Containment> m_containment; | ||
227 | QPointer<QMenu> m_contextMenu; | 231 | QPointer<QMenu> m_contextMenu; | ||
228 | int m_wheelDelta; | 232 | int m_wheelDelta; | ||
229 | friend class AppletInterface; | 233 | friend class AppletInterface; | ||
230 | }; | 234 | }; | ||
231 | 235 | | |||
232 | QML_DECLARE_TYPEINFO(ContainmentInterface, QML_HAS_ATTACHED_PROPERTIES) | 236 | QML_DECLARE_TYPEINFO(ContainmentInterface, QML_HAS_ATTACHED_PROPERTIES) | ||
233 | 237 | | |||
234 | #endif | 238 | #endif |