File indexing completed on 2024-06-23 05:14:07
0001 /* 0002 main.cpp 0003 0004 This file is part of Kleopatra, the KDE keymanager 0005 SPDX-FileCopyrightText: 2001, 2002, 2004 Klarälvdalens Datakonsult AB 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include <KStatusNotifierItem> 0013 #include <QIcon> 0014 0015 class KWatchGnuPGMainWindow; 0016 0017 class KWatchGnuPGTray : public KStatusNotifierItem 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit KWatchGnuPGTray(KWatchGnuPGMainWindow *mainwin); 0022 ~KWatchGnuPGTray() override; 0023 0024 public Q_SLOTS: 0025 void setAttention(bool att); 0026 0027 private: 0028 QIcon mNormalPix; 0029 QIcon mAttentionPix; 0030 };