Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Okular
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andi Sardina Ramos
Okular
Commits
ee6357d4
Commit
ee6357d4
authored
Oct 24, 2004
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add const
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357310
parent
e9e9be99
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
kpdf/document.h
kpdf/document.h
+1
-1
kpdf/pageview.h
kpdf/pageview.h
+1
-1
kpdf/thumbnaillist.h
kpdf/thumbnaillist.h
+1
-1
kpdf/toc.cpp
kpdf/toc.cpp
+1
-1
kpdf/toc.h
kpdf/toc.h
+1
-1
No files found.
kpdf/document.h
View file @
ee6357d4
...
...
@@ -29,7 +29,7 @@ class KPDFDocumentObserver
{
public:
// you must give each observer a unique ID (used for notifications)
virtual
uint
observerId
()
=
0
;
virtual
uint
observerId
()
const
=
0
;
// monitor changes in pixmaps (generation thread complete)
virtual
void
notifyPixmapChanged
(
int
/*pageNumber*/
)
{};
...
...
kpdf/pageview.h
View file @
ee6357d4
...
...
@@ -54,7 +54,7 @@ public:
void
saveSettings
(
KConfigGroup
*
config
);
// inherited from KPDFDocumentObserver
uint
observerId
()
{
return
PAGEVIEW_ID
;
}
uint
observerId
()
const
{
return
PAGEVIEW_ID
;
}
void
pageSetup
(
const
QValueVector
<
KPDFPage
*>
&
pages
,
bool
documentChanged
);
void
pageSetCurrent
(
int
pageNumber
,
const
QRect
&
viewport
);
void
notifyPixmapChanged
(
int
pageNumber
);
...
...
kpdf/thumbnaillist.h
View file @
ee6357d4
...
...
@@ -32,7 +32,7 @@ Q_OBJECT
ThumbnailList
(
QWidget
*
parent
,
KPDFDocument
*
document
);
// create actions that interact with this widget and load/save settings
uint
observerId
()
{
return
THUMBNAILS_ID
;
}
uint
observerId
()
const
{
return
THUMBNAILS_ID
;
}
void
setupActions
(
KActionCollection
*
/*collection*/
,
KConfigGroup
*
/*config*/
)
{};
void
saveSettings
(
KConfigGroup
*
/*config*/
)
{};
...
...
kpdf/toc.cpp
View file @
ee6357d4
...
...
@@ -51,7 +51,7 @@ TOC::TOC(QWidget *parent, KPDFDocument *document) : KListView(parent), m_documen
connect
(
this
,
SIGNAL
(
executed
(
QListViewItem
*
)),
this
,
SLOT
(
slotExecuted
(
QListViewItem
*
)));
}
uint
TOC
::
observerId
()
uint
TOC
::
observerId
()
const
{
return
TOC_ID
;
}
...
...
kpdf/toc.h
View file @
ee6357d4
...
...
@@ -25,7 +25,7 @@ Q_OBJECT
public:
TOC
(
QWidget
*
parent
,
KPDFDocument
*
document
);
uint
observerId
();
uint
observerId
()
const
;
void
pageSetup
(
const
QValueVector
<
KPDFPage
*>
&
/*pages*/
,
bool
documentChanged
);
signals:
...
...
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