Use pragma once in plugins
For non-library code, this is simpler and more concise
This commit is contained in:
parent
f1c2202591
commit
75a8db1ec5
59 changed files with 59 additions and 234 deletions
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BATTERYPLUGIN_H
|
#pragma once
|
||||||
#define BATTERYPLUGIN_H
|
|
||||||
|
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
|
||||||
|
@ -42,5 +41,3 @@ private:
|
||||||
int m_charge = -1;
|
int m_charge = -1;
|
||||||
bool m_isCharging = false;
|
bool m_isCharging = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BIGSCREENPLUGIN_H
|
#pragma once
|
||||||
#define BIGSCREENPLUGIN_H
|
|
||||||
|
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
|
||||||
|
@ -26,5 +25,3 @@ public:
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
Q_SCRIPTABLE void messageReceived(const QString &message);
|
Q_SCRIPTABLE void messageReceived(const QString &message);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CLIPBOARD_CONFIG_H
|
#pragma once
|
||||||
#define CLIPBOARD_CONFIG_H
|
|
||||||
|
|
||||||
#include "kcmplugin/kdeconnectpluginkcm.h"
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
||||||
|
|
||||||
|
@ -29,5 +28,3 @@ private:
|
||||||
void autoShareChanged();
|
void autoShareChanged();
|
||||||
Ui::ClipboardConfigUi *m_ui;
|
Ui::ClipboardConfigUi *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CLIPBOARDLISTENER_H
|
#pragma once
|
||||||
#define CLIPBOARDLISTENER_H
|
|
||||||
|
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -56,5 +55,3 @@ private:
|
||||||
#endif
|
#endif
|
||||||
KSystemClipboard *clipboard;
|
KSystemClipboard *clipboard;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CLIPBOARDPLUGIN_H
|
#pragma once
|
||||||
#define CLIPBOARDPLUGIN_H
|
|
||||||
|
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -66,5 +65,3 @@ private:
|
||||||
bool autoShare;
|
bool autoShare;
|
||||||
bool sharePasswords;
|
bool sharePasswords;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CONNECTIVITY_REPORT_H
|
#pragma once
|
||||||
#define CONNECTIVITY_REPORT_H
|
|
||||||
|
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
|
||||||
|
@ -55,5 +54,3 @@ private:
|
||||||
QString m_cellularNetworkType;
|
QString m_cellularNetworkType;
|
||||||
int m_cellularNetworkStrength = -1;
|
int m_cellularNetworkStrength = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CONTACTSPLUGIN_H
|
#pragma once
|
||||||
#define CONTACTSPLUGIN_H
|
|
||||||
|
|
||||||
class QObject;
|
class QObject;
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
@ -147,5 +146,3 @@ protected:
|
||||||
*/
|
*/
|
||||||
bool sendRequestWithIDs(const QString &packetType, const uIDList_t &uIDs);
|
bool sendRequestWithIDs(const QString &packetType, const uIDList_t &uIDs);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CONTACTSPLUGIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FINDMYPHONEPLUGIN_H
|
#pragma once
|
||||||
#define FINDMYPHONEPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -26,5 +25,3 @@ public:
|
||||||
QString dbusPath() const override;
|
QString dbusPath() const override;
|
||||||
bool receivePacket(const NetworkPacket &np) override;
|
bool receivePacket(const NetworkPacket &np) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // FINDMYPHONEPLUGIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FINDTHISDEVICE_CONFIG_H
|
#pragma once
|
||||||
#define FINDTHISDEVICE_CONFIG_H
|
|
||||||
|
|
||||||
#include <kcmplugin/kdeconnectpluginkcm.h>
|
#include <kcmplugin/kdeconnectpluginkcm.h>
|
||||||
|
|
||||||
|
@ -29,5 +28,3 @@ private:
|
||||||
void playSound(const QUrl &soundUrl);
|
void playSound(const QUrl &soundUrl);
|
||||||
Ui::FindThisDeviceConfigUi *m_ui;
|
Ui::FindThisDeviceConfigUi *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FINDTHISDEVICEPLUGIN_H
|
#pragma once
|
||||||
#define FINDTHISDEVICEPLUGIN_H
|
|
||||||
|
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
|
||||||
|
@ -63,5 +62,3 @@ inline QString defaultSound()
|
||||||
}
|
}
|
||||||
return soundURL.toLocalFile();
|
return soundURL.toLocalFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // FINDTHISDEVICEPLUGIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LOCKDEVICEPLUGIN_WIN_H
|
#pragma once
|
||||||
#define LOCKDEVICEPLUGIN_WIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -39,5 +38,3 @@ private:
|
||||||
bool m_remoteLocked = false;
|
bool m_remoteLocked = false;
|
||||||
bool m_localLocked = false;
|
bool m_localLocked = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LOCKDEVICEPLUGIN_WIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LOCKDEVICEPLUGIN_H
|
#pragma once
|
||||||
#define LOCKDEVICEPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -45,5 +44,3 @@ private:
|
||||||
OrgFreedesktopLogin1SessionInterface m_login1Interface;
|
OrgFreedesktopLogin1SessionInterface m_login1Interface;
|
||||||
OrgFreedesktopDBusPropertiesInterface m_propertiesInterface;
|
OrgFreedesktopDBusPropertiesInterface m_propertiesInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TELEPHONYPLUGIN_H
|
#pragma once
|
||||||
#define TELEPHONYPLUGIN_H
|
|
||||||
|
|
||||||
#include <KPluginFactory>
|
#include <KPluginFactory>
|
||||||
#include <ModemManagerQt/Call>
|
#include <ModemManagerQt/Call>
|
||||||
|
@ -50,5 +49,3 @@ private:
|
||||||
void sendCancelMMTelephonyPacket(ModemManager::Call *call, const QString &lastState);
|
void sendCancelMMTelephonyPacket(ModemManager::Call *call, const QString &lastState);
|
||||||
static QString stateName(MMCallState state);
|
static QString stateName(MMCallState state);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ABSTRACTREMOTEINPUT_H
|
#pragma once
|
||||||
#define ABSTRACTREMOTEINPUT_H
|
|
||||||
|
|
||||||
#include <QLoggingCategory>
|
#include <QLoggingCategory>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -26,5 +25,3 @@ public:
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MACOSREMOTEINPUT_H
|
#pragma once
|
||||||
#define MACOSREMOTEINPUT_H
|
|
||||||
|
|
||||||
#include "abstractremoteinput.h"
|
#include "abstractremoteinput.h"
|
||||||
|
|
||||||
|
@ -19,5 +18,3 @@ public:
|
||||||
bool handlePacket(const NetworkPacket &np) override;
|
bool handlePacket(const NetworkPacket &np) override;
|
||||||
bool hasKeyboardSupport() override;
|
bool hasKeyboardSupport() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MOUSEPADPLUGIN_H
|
#pragma once
|
||||||
#define MOUSEPADPLUGIN_H
|
|
||||||
|
|
||||||
#include <config-mousepad.h>
|
#include <config-mousepad.h>
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
@ -30,5 +29,3 @@ public:
|
||||||
private:
|
private:
|
||||||
AbstractRemoteInput *m_impl;
|
AbstractRemoteInput *m_impl;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef WAYLANDREMOTEINPUT_H
|
#pragma once
|
||||||
#define WAYLANDREMOTEINPUT_H
|
|
||||||
|
|
||||||
#include "abstractremoteinput.h"
|
#include "abstractremoteinput.h"
|
||||||
#include "xdp_dbus_remotedesktop_interface.h"
|
#include "xdp_dbus_remotedesktop_interface.h"
|
||||||
|
@ -49,5 +48,3 @@ public:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef WINDOWSREMOTEINPUT_H
|
#pragma once
|
||||||
#define WINDOWSREMOTEINPUT_H
|
|
||||||
|
|
||||||
#include "abstractremoteinput.h"
|
#include "abstractremoteinput.h"
|
||||||
|
|
||||||
|
@ -19,5 +18,3 @@ public:
|
||||||
bool handlePacket(const NetworkPacket &np) override;
|
bool handlePacket(const NetworkPacket &np) override;
|
||||||
bool hasKeyboardSupport() override;
|
bool hasKeyboardSupport() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef X11REMOTEINPUT_H
|
#pragma once
|
||||||
#define X11REMOTEINPUT_H
|
|
||||||
|
|
||||||
#include "abstractremoteinput.h"
|
#include "abstractremoteinput.h"
|
||||||
|
|
||||||
|
@ -25,5 +24,3 @@ public:
|
||||||
private:
|
private:
|
||||||
FakeKey *m_fakekey;
|
FakeKey *m_fakekey;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MPRISCONTROLPLUGINWIN_H
|
#pragma once
|
||||||
#define MPRISCONTROLPLUGINWIN_H
|
|
||||||
|
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
|
||||||
|
@ -55,4 +54,3 @@ private:
|
||||||
|
|
||||||
QString randomUrl();
|
QString randomUrl();
|
||||||
};
|
};
|
||||||
#endif // MPRISCONTROLPLUGINWIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MPRISCONTROLPLUGIN_H
|
#pragma once
|
||||||
#define MPRISCONTROLPLUGIN_H
|
|
||||||
|
|
||||||
#include <QDBusServiceWatcher>
|
#include <QDBusServiceWatcher>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
|
@ -70,5 +69,3 @@ private:
|
||||||
int prevVolume;
|
int prevVolume;
|
||||||
QDBusServiceWatcher *m_watcher;
|
QDBusServiceWatcher *m_watcher;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MPRISREMOTEPLUGIN_H
|
#pragma once
|
||||||
#define MPRISREMOTEPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -65,5 +64,3 @@ private:
|
||||||
QString m_currentPlayer;
|
QString m_currentPlayer;
|
||||||
QMap<QString, MprisRemotePlayer *> m_players;
|
QMap<QString, MprisRemotePlayer *> m_players;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NOTIFICATION_H
|
#pragma once
|
||||||
#define NOTIFICATION_H
|
|
||||||
|
|
||||||
#include <KNotification>
|
#include <KNotification>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
@ -118,5 +117,3 @@ private:
|
||||||
|
|
||||||
static QMap<QString, FileTransferJob *> s_downloadsInProgress;
|
static QMap<QString, FileTransferJob *> s_downloadsInProgress;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NOTIFICATIONSPLUGIN_H
|
#pragma once
|
||||||
#define NOTIFICATIONSPLUGIN_H
|
|
||||||
|
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
|
||||||
|
@ -52,5 +51,3 @@ private:
|
||||||
QHash<QString, QString> m_internalIdToPublicId;
|
QHash<QString, QString> m_internalIdToPublicId;
|
||||||
int m_lastId = 0;
|
int m_lastId = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SENDREPLYDIALOG_H
|
#pragma once
|
||||||
#define SENDREPLYDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QSize>
|
#include <QSize>
|
||||||
|
@ -44,5 +43,3 @@ public:
|
||||||
|
|
||||||
Q_SIGNAL void send();
|
Q_SIGNAL void send();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PAUSEMUSIC_CONFIG_H
|
#pragma once
|
||||||
#define PAUSEMUSIC_CONFIG_H
|
|
||||||
|
|
||||||
#include "kcmplugin/kdeconnectpluginkcm.h"
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
||||||
|
|
||||||
|
@ -28,5 +27,3 @@ public:
|
||||||
private:
|
private:
|
||||||
Ui::PauseMusicConfigUi *m_ui;
|
Ui::PauseMusicConfigUi *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PAUSEMUSICPLUGINWIN_H
|
#pragma once
|
||||||
#define PAUSEMUSICPLUGINWIN_H
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -50,5 +49,3 @@ private:
|
||||||
QSet<QString> pausedSources;
|
QSet<QString> pausedSources;
|
||||||
QSet<QString> mutedSinks;
|
QSet<QString> mutedSinks;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PAUSEMUSICPLUGINWIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PAUSEMUSICPLUGIN_H
|
#pragma once
|
||||||
#define PAUSEMUSICPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
|
@ -26,5 +25,3 @@ private:
|
||||||
QSet<QString> pausedSources;
|
QSet<QString> pausedSources;
|
||||||
QSet<QString> mutedSinks;
|
QSet<QString> mutedSinks;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PHOTOPLUGIN_H
|
#pragma once
|
||||||
#define PHOTOPLUGIN_H
|
|
||||||
|
|
||||||
class QObject;
|
class QObject;
|
||||||
|
|
||||||
|
@ -34,5 +33,3 @@ Q_SIGNALS:
|
||||||
private:
|
private:
|
||||||
QStringList requestedFiles;
|
QStringList requestedFiles;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PINGPLUGIN_H
|
#pragma once
|
||||||
#define PINGPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -28,5 +27,3 @@ public:
|
||||||
bool receivePacket(const NetworkPacket &np) override;
|
bool receivePacket(const NetworkPacket &np) override;
|
||||||
QString dbusPath() const override;
|
QString dbusPath() const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PRESENTERPLUGIN_H
|
#pragma once
|
||||||
#define PRESENTERPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
@ -31,5 +30,3 @@ private:
|
||||||
QTimer *m_timer;
|
QTimer *m_timer;
|
||||||
float m_xPos, m_yPos;
|
float m_xPos, m_yPos;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef REMOTECOMMANDSPLUGIN_H
|
#pragma once
|
||||||
#define REMOTECOMMANDSPLUGIN_H
|
|
||||||
|
|
||||||
class QObject;
|
class QObject;
|
||||||
|
|
||||||
|
@ -52,5 +51,3 @@ private:
|
||||||
QByteArray m_commands;
|
QByteArray m_commands;
|
||||||
bool m_canAddCommand;
|
bool m_canAddCommand;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef REMOTECONTROLPLUGIN_H
|
#pragma once
|
||||||
#define REMOTECONTROLPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -30,5 +29,3 @@ public:
|
||||||
Q_SCRIPTABLE void moveCursor(const QPoint &p);
|
Q_SCRIPTABLE void moveCursor(const QPoint &p);
|
||||||
Q_SCRIPTABLE void sendCommand(const QVariantMap &body);
|
Q_SCRIPTABLE void sendCommand(const QVariantMap &body);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef REMOTEKEYBOARDPLUGIN_H
|
#pragma once
|
||||||
#define REMOTEKEYBOARDPLUGIN_H
|
|
||||||
|
|
||||||
#include <QDBusInterface>
|
#include <QDBusInterface>
|
||||||
#include <QVariantMap>
|
#include <QVariantMap>
|
||||||
|
@ -45,5 +44,3 @@ Q_SIGNALS:
|
||||||
Q_SCRIPTABLE void keyPressReceived(const QString &key, int specialKey = 0, bool shift = false, bool ctrl = false, bool alt = false);
|
Q_SCRIPTABLE void keyPressReceived(const QString &key, int specialKey = 0, bool shift = false, bool ctrl = false, bool alt = false);
|
||||||
Q_SCRIPTABLE void remoteStateChanged(bool state);
|
Q_SCRIPTABLE void remoteStateChanged(bool state);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef REMOTESYSTEMVOLUMEPLUGIN_H
|
#pragma once
|
||||||
#define REMOTESYSTEMVOLUMEPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -45,5 +44,3 @@ Q_SIGNALS:
|
||||||
private:
|
private:
|
||||||
QByteArray m_sinks;
|
QByteArray m_sinks;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // REMOTESYSTEMVOLUMEPLUGIN_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef RUNCOMMAND_CONFIG_H
|
#pragma once
|
||||||
#define RUNCOMMAND_CONFIG_H
|
|
||||||
|
|
||||||
#include "kcmplugin/kdeconnectpluginkcm.h"
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
||||||
|
|
||||||
|
@ -33,5 +32,3 @@ private:
|
||||||
|
|
||||||
QStandardItemModel *m_entriesModel;
|
QStandardItemModel *m_entriesModel;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // RUNCOMMAND_CONFIG_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef RUNCOMMANDPLUGIN_H
|
#pragma once
|
||||||
#define RUNCOMMANDPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -29,5 +28,3 @@ public:
|
||||||
private:
|
private:
|
||||||
void sendConfig();
|
void sendConfig();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCREENSAVERINHIBITPLUGIN_H
|
#pragma once
|
||||||
#define SCREENSAVERINHIBITPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
|
@ -25,5 +24,3 @@ public:
|
||||||
private:
|
private:
|
||||||
QProcess *m_caffeinateProcess;
|
QProcess *m_caffeinateProcess;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCREENSAVERINHIBITPLUGIN_H
|
#pragma once
|
||||||
#define SCREENSAVERINHIBITPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -21,5 +20,3 @@ public:
|
||||||
|
|
||||||
bool receivePacket(const NetworkPacket &np) override;
|
bool receivePacket(const NetworkPacket &np) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCREENSAVERINHIBITPLUGIN_H
|
#pragma once
|
||||||
#define SCREENSAVERINHIBITPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -24,5 +23,3 @@ public:
|
||||||
private:
|
private:
|
||||||
uint inhibitCookie;
|
uint inhibitCookie;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NOTIFICATIONSLISTENER_H
|
#pragma once
|
||||||
#define NOTIFICATIONSLISTENER_H
|
|
||||||
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QDBusAbstractAdaptor>
|
#include <QDBusAbstractAdaptor>
|
||||||
|
@ -56,5 +55,3 @@ private:
|
||||||
GDBusConnection *m_gdbusConnection = nullptr;
|
GDBusConnection *m_gdbusConnection = nullptr;
|
||||||
unsigned m_gdbusFilterId = 0;
|
unsigned m_gdbusFilterId = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // NOTIFICATIONSLISTENER_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NOTIFYINGAPPLICATION_H
|
#pragma once
|
||||||
#define NOTIFYINGAPPLICATION_H
|
|
||||||
|
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
|
|
||||||
|
@ -26,5 +25,3 @@ Q_DECLARE_METATYPE(NotifyingApplication);
|
||||||
QDataStream &operator<<(QDataStream &out, const NotifyingApplication &app);
|
QDataStream &operator<<(QDataStream &out, const NotifyingApplication &app);
|
||||||
QDataStream &operator>>(QDataStream &in, NotifyingApplication &app);
|
QDataStream &operator>>(QDataStream &in, NotifyingApplication &app);
|
||||||
QDebug operator<<(QDebug dbg, const NotifyingApplication &a);
|
QDebug operator<<(QDebug dbg, const NotifyingApplication &a);
|
||||||
|
|
||||||
#endif // NOTIFYINGAPPLICATION_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NOTIFYINGAPPLICATIONMODEL_H
|
#pragma once
|
||||||
#define NOTIFYINGAPPLICATIONMODEL_H
|
|
||||||
|
|
||||||
#include <QAbstractTableModel>
|
#include <QAbstractTableModel>
|
||||||
|
|
||||||
|
@ -37,5 +36,3 @@ Q_SIGNALS:
|
||||||
private:
|
private:
|
||||||
QVector<NotifyingApplication> m_apps;
|
QVector<NotifyingApplication> m_apps;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // NOTIFYINGAPPLICATIONMODEL_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SENDNOTIFICATIONS_CONFIG_H
|
#pragma once
|
||||||
#define SENDNOTIFICATIONS_CONFIG_H
|
|
||||||
|
|
||||||
#include "kcmplugin/kdeconnectpluginkcm.h"
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
||||||
|
|
||||||
|
@ -32,5 +31,3 @@ private:
|
||||||
Ui::SendNotificationsConfigUi *m_ui;
|
Ui::SendNotificationsConfigUi *m_ui;
|
||||||
NotifyingApplicationModel *appModel;
|
NotifyingApplicationModel *appModel;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SENDNOTIFICATIONSPLUGIN_H
|
#pragma once
|
||||||
#define SENDNOTIFICATIONSPLUGIN_H
|
|
||||||
|
|
||||||
#include "core/kdeconnectplugin.h"
|
#include "core/kdeconnectplugin.h"
|
||||||
|
|
||||||
|
@ -32,5 +31,3 @@ public:
|
||||||
protected:
|
protected:
|
||||||
NotificationsListener *notificationsListener;
|
NotificationsListener *notificationsListener;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SFTPPLUGIN_MOUNTER_H
|
#pragma once
|
||||||
#define SFTPPLUGIN_MOUNTER_H
|
|
||||||
|
|
||||||
#include <KJob>
|
#include <KJob>
|
||||||
#include <KProcess>
|
#include <KProcess>
|
||||||
|
@ -50,5 +49,3 @@ private:
|
||||||
QString m_mountPoint;
|
QString m_mountPoint;
|
||||||
bool m_started;
|
bool m_started;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SFTPPLUGIN_MOUNTLOOP_H
|
#pragma once
|
||||||
#define SFTPPLUGIN_MOUNTLOOP_H
|
|
||||||
|
|
||||||
#include <QEventLoop>
|
#include <QEventLoop>
|
||||||
|
|
||||||
|
@ -25,5 +24,3 @@ public Q_SLOTS:
|
||||||
void succeeded();
|
void succeeded();
|
||||||
void exitWith(bool status);
|
void exitWith(bool status);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SFTPPLUGIN_WIN_H
|
#pragma once
|
||||||
#define SFTPPLUGIN_WIN_H
|
|
||||||
|
|
||||||
#include <core/device.h>
|
#include <core/device.h>
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
@ -35,5 +34,3 @@ public Q_SLOTS:
|
||||||
private:
|
private:
|
||||||
QString deviceId; // Storing it to avoid accessing device() from the destructor which could cause a crash
|
QString deviceId; // Storing it to avoid accessing device() from the destructor which could cause a crash
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SFTPPLUGIN_H
|
#pragma once
|
||||||
#define SFTPPLUGIN_H
|
|
||||||
|
|
||||||
#include <core/device.h>
|
#include <core/device.h>
|
||||||
#include <core/kdeconnectplugin.h>
|
#include <core/kdeconnectplugin.h>
|
||||||
|
@ -61,5 +60,3 @@ private:
|
||||||
QVariantMap remoteDirectories; // Actually a QMap<String, String>, but QDBus prefers this
|
QVariantMap remoteDirectories; // Actually a QMap<String, String>, but QDBus prefers this
|
||||||
QString mountError;
|
QString mountError;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SHARE_CONFIG_H
|
#pragma once
|
||||||
#define SHARE_CONFIG_H
|
|
||||||
|
|
||||||
#include "kcmplugin/kdeconnectpluginkcm.h"
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
||||||
|
|
||||||
|
@ -28,5 +27,3 @@ public:
|
||||||
private:
|
private:
|
||||||
Ui::ShareConfigUi *m_ui;
|
Ui::ShareConfigUi *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SHAREPLUGIN_H
|
#pragma once
|
||||||
#define SHAREPLUGIN_H
|
|
||||||
|
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
|
@ -54,4 +53,3 @@ private:
|
||||||
|
|
||||||
QPointer<CompositeFileTransferJob> m_compositeJob;
|
QPointer<CompositeFileTransferJob> m_compositeJob;
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CONVERSATIONSDBUSINTERFACE_H
|
#pragma once
|
||||||
#define CONVERSATIONSDBUSINTERFACE_H
|
|
||||||
|
|
||||||
#include <QDBusAbstractAdaptor>
|
#include <QDBusAbstractAdaptor>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
@ -163,5 +162,3 @@ private /*attributes*/:
|
||||||
QMutex waitingForMessagesLock;
|
QMutex waitingForMessagesLock;
|
||||||
QWaitCondition waitingForMessages;
|
QWaitCondition waitingForMessages;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CONVERSATIONSDBUSINTERFACE_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef REQUESTCONVERSATIONWORKER_H
|
#pragma once
|
||||||
#define REQUESTCONVERSATIONWORKER_H
|
|
||||||
|
|
||||||
#include "conversationsdbusinterface.h"
|
#include "conversationsdbusinterface.h"
|
||||||
|
|
||||||
|
@ -61,5 +60,3 @@ private:
|
||||||
*/
|
*/
|
||||||
size_t replyForConversation(const QList<ConversationMessage> &conversation, int start, size_t howMany);
|
size_t replyForConversation(const QList<ConversationMessage> &conversation, int start, size_t howMany);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // REQUESTCONVERSATIONWORKER_H
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SMSPLUGIN_H
|
#pragma once
|
||||||
#define SMSPLUGIN_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -206,5 +205,3 @@ private:
|
||||||
ConversationsDbusInterface *m_conversationInterface;
|
ConversationsDbusInterface *m_conversationInterface;
|
||||||
QTextCodec *m_codec;
|
QTextCodec *m_codec;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SYSTEMVOLUMEPLUGINMACOS_H
|
#pragma once
|
||||||
#define SYSTEMVOLUMEPLUGINMACOS_H
|
|
||||||
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -37,5 +36,3 @@ public:
|
||||||
private:
|
private:
|
||||||
QMap<QString, MacOSCoreAudioDevice *> m_sinksMap;
|
QMap<QString, MacOSCoreAudioDevice *> m_sinksMap;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SYSTEMVOLUMEPLUGINMACOS_H
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SYSTEMVOLUMEPLUGINPULSE_H
|
#pragma once
|
||||||
#define SYSTEMVOLUMEPLUGINPULSE_H
|
|
||||||
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -31,5 +30,3 @@ private:
|
||||||
void sendSinkList();
|
void sendSinkList();
|
||||||
QMap<QString, PulseAudioQt::Sink *> sinksMap;
|
QMap<QString, PulseAudioQt::Sink *> sinksMap;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SYSTEMVOLUMEPLUGINWIN_H
|
#pragma once
|
||||||
#define SYSTEMVOLUMEPLUGINWIN_H
|
|
||||||
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -46,5 +45,3 @@ private:
|
||||||
bool sendSinkList();
|
bool sendSinkList();
|
||||||
HRESULT setDefaultAudioPlaybackDevice(QString &name, bool enabled);
|
HRESULT setDefaultAudioPlaybackDevice(QString &name, bool enabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SYSTEMVOLUMEPLUGINWIN_H
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TELEPHONYPLUGIN_H
|
#pragma once
|
||||||
#define TELEPHONYPLUGIN_H
|
|
||||||
|
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
|
@ -59,5 +58,3 @@ private:
|
||||||
|
|
||||||
QPointer<KNotification> m_currentCallNotification;
|
QPointer<KNotification> m_currentCallNotification;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef VIRTUALMONITORPLUGIN_H
|
#pragma once
|
||||||
#define VIRTUALMONITORPLUGIN_H
|
|
||||||
|
|
||||||
#include "plugin_virtualmonitor_debug.h"
|
#include "plugin_virtualmonitor_debug.h"
|
||||||
#include <QJsonObject>
|
#include <QJsonObject>
|
||||||
|
@ -38,5 +37,3 @@ private:
|
||||||
QJsonObject m_remoteResolution;
|
QJsonObject m_remoteResolution;
|
||||||
uint m_retries = 0;
|
uint m_retries = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in a new issue