Warning, file /network/kdeconnect-kde/indicator/indicatorhelper.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * SPDX-FileCopyrightText: 2019 Weixuan XIAO <veyx.shaw@gmail.com>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #include "indicatorhelper.h"
0008 
0009 #include <QApplication>
0010 #include <QIcon>
0011 
0012 IndicatorHelper::IndicatorHelper()
0013 {
0014 }
0015 IndicatorHelper::~IndicatorHelper()
0016 {
0017 }
0018 
0019 void IndicatorHelper::preInit()
0020 {
0021 }
0022 
0023 void IndicatorHelper::postInit()
0024 {
0025 }
0026 
0027 void IndicatorHelper::iconPathHook()
0028 {
0029 }
0030 
0031 int IndicatorHelper::daemonHook(QProcess & /*kdeconnectd*/)
0032 {
0033     return 0;
0034 }
0035 
0036 void IndicatorHelper::systrayIconHook(KStatusNotifierItem &systray)
0037 {
0038     systray.setIconByName(QStringLiteral("kdeconnectindicatordark"));
0039 }