405f61bf85
By commenting out the parameter name, we get compile-time checks Also, we can omit them for slots and Qt will not forward the parameters. In case we had TODOs next to the code, I kept the Q_UNUSED statements for now.
39 lines
656 B
C++
39 lines
656 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2019 Weixuan XIAO <veyx.shaw@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
*/
|
|
|
|
#include "indicatorhelper.h"
|
|
|
|
#include <QApplication>
|
|
#include <QIcon>
|
|
|
|
IndicatorHelper::IndicatorHelper()
|
|
{
|
|
}
|
|
IndicatorHelper::~IndicatorHelper()
|
|
{
|
|
}
|
|
|
|
void IndicatorHelper::preInit()
|
|
{
|
|
}
|
|
|
|
void IndicatorHelper::postInit()
|
|
{
|
|
}
|
|
|
|
void IndicatorHelper::iconPathHook()
|
|
{
|
|
}
|
|
|
|
int IndicatorHelper::daemonHook(QProcess & /*kdeconnectd*/)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void IndicatorHelper::systrayIconHook(KStatusNotifierItem &systray)
|
|
{
|
|
systray.setIconByName(QStringLiteral("kdeconnectindicatordark"));
|
|
}
|