Changeset View
Changeset View
Standalone View
Standalone View
part.cpp
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Line(s) | |||||
107 | #include "ui/layers.h" | 107 | #include "ui/layers.h" | ||
108 | #include "ui/okmenutitle.h" | 108 | #include "ui/okmenutitle.h" | ||
109 | #include "conf/preferencesdialog.h" | 109 | #include "conf/preferencesdialog.h" | ||
110 | #include "settings.h" | 110 | #include "settings.h" | ||
111 | #include "core/action.h" | 111 | #include "core/action.h" | ||
112 | #include "core/annotations.h" | 112 | #include "core/annotations.h" | ||
113 | #include "core/bookmarkmanager.h" | 113 | #include "core/bookmarkmanager.h" | ||
114 | #include "core/document.h" | 114 | #include "core/document.h" | ||
115 | #include "core/document_p.h" | ||||
115 | #include "core/generator.h" | 116 | #include "core/generator.h" | ||
116 | #include "core/page.h" | 117 | #include "core/page.h" | ||
117 | #include "core/fileprinter.h" | 118 | #include "core/fileprinter.h" | ||
118 | #include <memory> | 119 | #include <memory> | ||
119 | 120 | | |||
120 | #ifdef OKULAR_KEEP_FILE_OPEN | 121 | #ifdef OKULAR_KEEP_FILE_OPEN | ||
121 | class FileKeeper | 122 | class FileKeeper | ||
122 | { | 123 | { | ||
▲ Show 20 Lines • Show All 1038 Lines • ▼ Show 20 Line(s) | 1149 | { | |||
1161 | } | 1162 | } | ||
1162 | 1163 | | |||
1163 | emit setWindowCaption( title ); | 1164 | emit setWindowCaption( title ); | ||
1164 | } | 1165 | } | ||
1165 | 1166 | | |||
1166 | KConfigDialog * Part::slotGeneratorPreferences( ) | 1167 | KConfigDialog * Part::slotGeneratorPreferences( ) | ||
1167 | { | 1168 | { | ||
1168 | // Create dialog | 1169 | // Create dialog | ||
1169 | KConfigDialog * dialog = new KConfigDialog( m_pageView, QStringLiteral("generator_prefs"), Okular::Settings::self() ); | 1170 | KConfigDialog * dialog = new Okular::BackendConfigDialog( m_pageView, QStringLiteral("generator_prefs"), Okular::Settings::self() ); | ||
1170 | dialog->setAttribute( Qt::WA_DeleteOnClose ); | 1171 | dialog->setAttribute( Qt::WA_DeleteOnClose ); | ||
1171 | 1172 | | |||
1172 | if( m_embedMode == ViewerWidgetMode ) | 1173 | if( m_embedMode == ViewerWidgetMode ) | ||
1173 | { | 1174 | { | ||
1174 | dialog->setWindowTitle( i18n( "Configure Viewer Backends" ) ); | 1175 | dialog->setWindowTitle( i18n( "Configure Viewer Backends" ) ); | ||
1175 | } | 1176 | } | ||
1176 | else | 1177 | else | ||
1177 | { | 1178 | { | ||
▲ Show 20 Lines • Show All 2414 Lines • Show Last 20 Lines |