/* SPDX-FileCopyrightText: 2009 Kevin Ottens SPDX-License-Identifier: LGPL-2.0-only */ #pragma once #include namespace Solid { class Device; } class SolidAutoEject : public KDEDModule { Q_OBJECT public: SolidAutoEject(QObject *parent, const QList &); ~SolidAutoEject() override; private Q_SLOTS: void onDeviceAdded(const QString &udi); void onEjectPressed(const QString &udi); private: void connectDevice(const Solid::Device &device); };