kdeconnect-kde/indicator/deviceindicator.h

30 lines
653 B
C
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2016 Aleix Pol Gonzalez <aleixpol@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#ifndef DEVICEINDICATOR_H
#define DEVICEINDICATOR_H
#include <QMenu>
2019-03-11 17:50:14 +00:00
class DeviceDbusInterface;
class RemoteCommandsDbusInterface;
class DeviceIndicator : public QMenu
{
Q_OBJECT
public:
DeviceIndicator(DeviceDbusInterface* device);
2016-11-23 17:43:17 +00:00
public Q_SLOTS:
void setText(const QString& text) { setTitle(text); }
2016-11-23 17:43:17 +00:00
private:
DeviceDbusInterface* m_device;
RemoteCommandsDbusInterface* m_remoteCommandsInterface;
};
#endif // DEVICEINDICATOR_H