kdeconnect-kde/indicator/indicatorhelper.cpp

40 lines
656 B
C++
Raw Permalink Normal View History

/*
* 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
*/
2019-12-22 07:49:55 +00:00
#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"));
}