Solid
windevicemanager.cpp
39 qWarning() << "Failed to initialize KDEWinDeviceManager we will be unable to detect device changes";
55 qWarning() << "Failed to initialize KDEWinDeviceManager we will be unable to detect device changes";
81LRESULT CALLBACK SolidWinEventFilter::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
83 // some parts of the code are based on http://www.codeproject.com/Articles/119168/Hardware-Change-Detection
124 connect(solidWineventFilter, SIGNAL(deviceAdded(QSet<QString>)), this, SLOT(slotDeviceAdded(QSet<QString>)));
125 connect(solidWineventFilter, SIGNAL(deviceRemoved(QSet<QString>)), this, SLOT(slotDeviceRemoved(QSet<QString>)));
151QSet<Solid::DeviceInterface::Type> Solid::Backends::Win::WinDeviceManager::supportedInterfaces() const
161QStringList WinDeviceManager::devicesFromQuery(const QString &parentUdi, Solid::DeviceInterface::Type type)
196 const QSet<QString> tmp = udi - m_devices; // don't report devices that are already known(cd drive)
Type
This enum type defines the type of device interface that a Device can have.
Definition frontend/deviceinterface.h:50
void deviceAdded(const QString &udi)
This signal is emitted when a new device appears in the system.
void deviceRemoved(const QString &udi)
This signal is emitted when a device disappears from the system.
KIOCORE_EXPORT QStringList list(const QString &fileClass)
iterator begin()
iterator end()
Q_EMITQ_EMIT
iterator begin()
iterator end()
bool isEmpty() const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:47:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:47:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.