mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
This commit was manufactured by cvs2svn to create branch
'kpdf_annotations'. svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=394413
This commit is contained in:
commit
8d960f1ed8
26
conf/dlggeneral.ui.h
Normal file
26
conf/dlggeneral.ui.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
/****************************************************************************
|
||||
** ui.h extension file, included from the uic-generated form implementation.
|
||||
**
|
||||
** If you want to add, delete, or rename functions or slots, use
|
||||
** Qt Designer to update this file, preserving your code.
|
||||
**
|
||||
** You should not define a constructor or destructor in this file.
|
||||
** Instead, write your code in functions called init() and destroy().
|
||||
** These will automatically be called by the form's constructor and
|
||||
** destructor.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <config.h>
|
||||
|
||||
void DlgGeneral::showEvent( QShowEvent * )
|
||||
{
|
||||
#if KPDF_FORCE_DRM
|
||||
kcfg_ObeyDRM->hide();
|
||||
#else
|
||||
if (kapp->authorize("skip_drm")) kcfg_ObeyDRM->show();
|
||||
else kcfg_ObeyDRM->hide();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in a new issue