From 47d455dd55be855e4cc691c32f687f723d9247ee Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpdf/conf/dlggeneral.ui.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 kpdf/conf/dlggeneral.ui.h (limited to 'kpdf/conf/dlggeneral.ui.h') diff --git a/kpdf/conf/dlggeneral.ui.h b/kpdf/conf/dlggeneral.ui.h new file mode 100644 index 00000000..8eafde39 --- /dev/null +++ b/kpdf/conf/dlggeneral.ui.h @@ -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 + +#include + +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 +} + -- cgit v1.2.1