Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Andi Sardina Ramos
Okular
Commits
1bf56ad4
Commit
1bf56ad4
authored
Jun 13, 2005
by
Enrico Ros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged patch_090
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425043
parent
b4e8b1e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
part.cpp
part.cpp
+3
-3
No files found.
part.cpp
View file @
1bf56ad4
...
...
@@ -232,13 +232,13 @@ Part::Part(QWidget *parentWidget, const char *widgetName,
m_saveAs
=
KStdAction
::
saveAs
(
this
,
SLOT
(
slotSaveFileAs
()
),
ac
,
"save"
);
m_saveAs
->
setEnabled
(
false
);
KAction
*
prefs
=
KStdAction
::
preferences
(
this
,
SLOT
(
slotPreferences
()
),
ac
,
"preferences"
);
prefs
->
setText
(
i18n
(
"Configure
PDF Viewer..."
)
);
prefs
->
setText
(
i18n
(
"Configure
KPDF..."
)
);
// TODO: use "Configure PDF Viewer..." when used as part (like in konq
m_printPreview
=
KStdAction
::
printPreview
(
this
,
SLOT
(
slotPrintPreview
()
),
ac
);
m_printPreview
->
setEnabled
(
false
);
m_showLeftPanel
=
new
KToggleAction
(
i18n
(
"Show &
left
panel"
),
"show_side_panel"
,
0
,
this
,
SLOT
(
slotShowLeftPanel
()
),
ac
,
"show_leftpanel"
);
m_showLeftPanel
=
new
KToggleAction
(
i18n
(
"Show &
Navigation
panel"
),
"show_side_panel"
,
0
,
this
,
SLOT
(
slotShowLeftPanel
()
),
ac
,
"show_leftpanel"
);
m_showLeftPanel
->
setShortcut
(
"CTRL+L"
);
m_showLeftPanel
->
setCheckedState
(
i18n
(
"Hide &
left p
anel"
)
);
m_showLeftPanel
->
setCheckedState
(
i18n
(
"Hide &
Navigation P
anel"
)
);
m_showLeftPanel
->
setChecked
(
Settings
::
showLeftPanel
()
);
slotShowLeftPanel
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment