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
517 B
30 lines
517 B
/* |
|
SPDX-FileCopyrightText: 2009 Kevin Ottens <ervin@kde.org> |
|
|
|
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 slots: |
|
void onDeviceAdded(const QString &udi); |
|
void onEjectPressed(const QString &udi); |
|
|
|
private: |
|
void connectDevice(const Solid::Device &device); |
|
};
|
|
|