Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F37954712
kleopageconfigdialog.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
kleopageconfigdialog.h
View Options
/*
kleopageconfigdialog.h.h
This file is part of Kleopatra
SPDX-FileCopyrightText: 2016 Bundesamt für Sicherheit in der Informationstechnik
SPDX-FileContributor: Intevation GmbH
SPDX-License-Identifier: GPL-2.0-only
*/
#pragma once
#include
<KPageDialog>
#include
<QList>
class
KPageWidgetItem
;
namespace
Kleo
{
namespace
Config
{
class
KleoConfigModule
;
}
}
/**
* KPageDialog based config dialog to be used when
* KCMUtils are not available. */
class
KleoPageConfigDialog
:
public
KPageDialog
{
Q_OBJECT
public
:
explicit
KleoPageConfigDialog
(
QWidget
*
parent
=
nullptr
);
void
addModule
(
const
QString
&
name
,
const
QString
&
docPath
,
const
QString
&
icon
,
Kleo
::
Config
::
KleoConfigModule
*
module
);
Q_SIGNALS
:
void
configCommitted
();
protected
Q_SLOTS
:
void
slotDefaultClicked
();
void
slotUser1Clicked
();
void
slotApplyClicked
();
void
slotOkClicked
();
void
slotHelpClicked
();
void
slotCurrentPageChanged
(
KPageWidgetItem
*
current
,
KPageWidgetItem
*
previous
);
void
moduleChanged
(
bool
value
);
private
:
void
clientChanged
();
void
apply
();
QList
<
Kleo
::
Config
::
KleoConfigModule
*>
mModules
;
QList
<
Kleo
::
Config
::
KleoConfigModule
*>
mChangedModules
;
QMap
<
QString
,
QString
>
mHelpUrls
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Mar 19, 6:01 PM (5 h, 17 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
43/a3/bf393e02fe5f0f444bab27dc3a0a
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment