diff options
Diffstat (limited to 'kpdf')
-rw-r--r-- | kpdf/conf/dlggeneral.ui.h | 2 | ||||
-rw-r--r-- | kpdf/core/document.cpp | 2 | ||||
-rw-r--r-- | kpdf/core/generator_pdf/generator_pdf.cpp | 2 | ||||
-rw-r--r-- | kpdf/shell/shell.cpp | 2 | ||||
-rw-r--r-- | kpdf/ui/pageviewutils.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/kpdf/conf/dlggeneral.ui.h b/kpdf/conf/dlggeneral.ui.h index 3a12c7c9..262d3c71 100644 --- a/kpdf/conf/dlggeneral.ui.h +++ b/kpdf/conf/dlggeneral.ui.h @@ -19,7 +19,7 @@ void DlgGeneral::showEvent( TQShowEvent * ) #if KPDF_FORCE_DRM kcfg_ObeyDRM->hide(); #else - if (kapp->authorize("skip_drm")) kcfg_ObeyDRM->show(); + if (tdeApp->authorize("skip_drm")) kcfg_ObeyDRM->show(); else kcfg_ObeyDRM->hide(); #endif } diff --git a/kpdf/core/document.cpp b/kpdf/core/document.cpp index 97bc6706..e58151e8 100644 --- a/kpdf/core/document.cpp +++ b/kpdf/core/document.cpp @@ -1068,7 +1068,7 @@ void KPDFDocument::processLink( const KPDFLink * link ) const KPDFLinkBrowse * browse = static_cast< const KPDFLinkBrowse * >( link ); // if the url is a mailto one, invoke mailer if ( browse->url().startsWith( "mailto:", false ) ) - kapp->invokeMailer( browse->url() ); + tdeApp->invokeMailer( browse->url() ); else { TQString url = browse->url(); diff --git a/kpdf/core/generator_pdf/generator_pdf.cpp b/kpdf/core/generator_pdf/generator_pdf.cpp index 08578a8e..7818f2c3 100644 --- a/kpdf/core/generator_pdf/generator_pdf.cpp +++ b/kpdf/core/generator_pdf/generator_pdf.cpp @@ -260,7 +260,7 @@ const DocumentSynopsis * PDFGenerator::generateDocumentSynopsis() bool PDFGenerator::isAllowed( int permissions ) { #if !KPDF_FORCE_DRM - if (kapp->authorize("skip_drm") && !KpdfSettings::obeyDRM()) return true; + if (tdeApp->authorize("skip_drm") && !KpdfSettings::obeyDRM()) return true; #endif bool b = true; diff --git a/kpdf/shell/shell.cpp b/kpdf/shell/shell.cpp index a0fdefdc..463f8a12 100644 --- a/kpdf/shell/shell.cpp +++ b/kpdf/shell/shell.cpp @@ -209,7 +209,7 @@ Shell::applyNewToolbarConfig() void Shell::slotQuit() { - kapp->closeAllWindows(); + tdeApp->closeAllWindows(); } // only called when starting the program diff --git a/kpdf/ui/pageviewutils.cpp b/kpdf/ui/pageviewutils.cpp index 90d90472..9f09ca09 100644 --- a/kpdf/ui/pageviewutils.cpp +++ b/kpdf/ui/pageviewutils.cpp @@ -26,7 +26,7 @@ PageViewMessage::PageViewMessage( TQWidget * parent ) { setFocusPolicy( TQWidget::NoFocus ); setBackgroundMode( NoBackground ); - setPaletteBackgroundColor(kapp->palette().color(TQPalette::Active, TQColorGroup::Background)); + setPaletteBackgroundColor(tdeApp->palette().color(TQPalette::Active, TQColorGroup::Background)); // if the layout is LtR, we can safely place it in the right position if ( !TQApplication::reverseLayout() ) move( 10, 10 ); |