2019-12-11 15:00:39 +00:00
|
|
|
/*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2019 Weixuan XIAO <veyx.shaw@gmail.com>
|
2019-12-11 15:00:39 +00:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2019-12-11 15:00:39 +00:00
|
|
|
*/
|
|
|
|
|
2019-12-22 07:49:55 +00:00
|
|
|
#include "indicatorhelper.h"
|
|
|
|
|
2019-12-11 15:00:39 +00:00
|
|
|
#include <QApplication>
|
|
|
|
#include <QIcon>
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
IndicatorHelper::IndicatorHelper()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
IndicatorHelper::~IndicatorHelper()
|
|
|
|
{
|
|
|
|
}
|
2019-12-11 15:00:39 +00:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
void IndicatorHelper::preInit()
|
|
|
|
{
|
|
|
|
}
|
2019-12-11 15:00:39 +00:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
void IndicatorHelper::postInit()
|
|
|
|
{
|
|
|
|
}
|
2019-12-11 15:00:39 +00:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
void IndicatorHelper::iconPathHook()
|
|
|
|
{
|
|
|
|
}
|
2019-12-11 15:00:39 +00:00
|
|
|
|
2023-07-28 08:11:43 +01:00
|
|
|
int IndicatorHelper::daemonHook(QProcess & /*kdeconnectd*/)
|
2019-12-11 15:00:39 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void IndicatorHelper::systrayIconHook(KStatusNotifierItem &systray)
|
|
|
|
{
|
|
|
|
systray.setIconByName(QStringLiteral("kdeconnectindicatordark"));
|
|
|
|
}
|