summaryrefslogtreecommitdiffstats
path: root/kpdf/conf/dlggeneral.ui.h
blob: 262d3c7131e8150eecaae1c8ca6b0f9a8ce6e130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** TQt 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 <tdeapplication.h>

#include <config.h>

void DlgGeneral::showEvent( TQShowEvent * )
{
#if KPDF_FORCE_DRM
    kcfg_ObeyDRM->hide();
#else
    if (tdeApp->authorize("skip_drm")) kcfg_ObeyDRM->show();
    else kcfg_ObeyDRM->hide();
#endif
}