Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F28200728
systrayicon.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
systrayicon.h
View Options
/* -*- mode: c++; c-basic-offset:4 -*-
systrayicon.h
This file is part of Kleopatra, the KDE keymanager
SPDX-FileCopyrightText: 2007 Klarälvdalens Datakonsult AB
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
<utils/systemtrayicon.h>
#ifndef QT_NO_SYSTEMTRAYICON
#include
<utils/pimpl_ptr.h>
class
MainWindow
;
class
QDialog
;
class
SysTrayIcon
:
public
Kleo
::
SystemTrayIcon
{
Q_OBJECT
public
:
explicit
SysTrayIcon
(
QObject
*
parent
=
nullptr
);
~
SysTrayIcon
()
override
;
MainWindow
*
mainWindow
()
const
;
QDialog
*
attentionWindow
()
const
;
void
setLearningInProgress
(
bool
value
);
public
Q_SLOTS
:
void
setFirstCardWithNullPin
(
const
std
::
string
&
serialNumber
);
void
setAnyCardCanLearnKeys
(
bool
);
private
:
void
doActivated
()
override
;
void
slotEnableDisableActions
()
override
;
private
:
class
Private
;
kdtools
::
pimpl_ptr
<
Private
>
d
;
Q_PRIVATE_SLOT
(
d
,
void
slotAbout
())
Q_PRIVATE_SLOT
(
d
,
void
slotSetInitialPin
())
Q_PRIVATE_SLOT
(
d
,
void
slotLearnCertificates
())
};
#endif
// QT_NO_SYSTEMTRAYICON
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Oct 7, 3:52 AM (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
18/55/4a8633edd39b68c96c1a2285fe8c
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment