QortalOS Brooklyn for Raspberry Pi 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
519 B

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