Changeset View
Changeset View
Standalone View
Standalone View
dataengines/hotplug/hotplugengine.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
43 | void init(); | 43 | void init(); | ||
44 | Plasma::Service* serviceForSource(const QString& source) override; | 44 | Plasma::Service* serviceForSource(const QString& source) override; | ||
45 | 45 | | |||
46 | protected Q_SLOTS: | 46 | protected Q_SLOTS: | ||
47 | void onDeviceAdded(const QString &udi); | 47 | void onDeviceAdded(const QString &udi); | ||
48 | void onDeviceRemoved(const QString &udi); | 48 | void onDeviceRemoved(const QString &udi); | ||
49 | 49 | | |||
50 | private: | 50 | private: | ||
51 | void onDeviceAdded(Solid::Device &dev, bool added = true); | 51 | void handleDeviceAdded(Solid::Device &dev, bool added = true); | ||
52 | void findPredicates(); | 52 | void findPredicates(); | ||
53 | QStringList predicatesForDevice(Solid::Device &device) const; | 53 | QStringList predicatesForDevice(Solid::Device &device) const; | ||
54 | QVariantList actionsForPredicates(const QStringList &predicates) const; | 54 | QVariantList actionsForPredicates(const QStringList &predicates) const; | ||
55 | 55 | | |||
56 | private Q_SLOTS: | 56 | private Q_SLOTS: | ||
57 | void processNextStartupDevice(); | 57 | void processNextStartupDevice(); | ||
58 | void updatePredicates(const QString &path); | 58 | void updatePredicates(const QString &path); | ||
59 | 59 | | |||
Show All 9 Lines |