Commit graph

293 commits

Author SHA1 Message Date
Stephan Binner c06deaf9fc i18n style guide fixes, the capitalization rules are explained on
http://developer.kde.org/documentation/standards/kde/style/basics/labels.html

svn path=/trunk/KDE/kdegraphics/okular/; revision=757596
2008-01-05 13:41:54 +00:00
Pino Toscano 4d047a47b0 rename the "save as" action as "save copy as", as it's what it really does
svn path=/trunk/KDE/kdegraphics/okular/; revision=757449
2008-01-04 23:58:22 +00:00
Pino Toscano a4827e24a5 i18n fix: Postscript -> PostScript
svn path=/trunk/KDE/kdegraphics/okular/; revision=757269
2008-01-04 15:46:44 +00:00
Pino Toscano 9c64d8e720 disable the GHNS implementation, as not really ready, yet
(hoping it's not too late)

svn path=/trunk/KDE/kdegraphics/okular/; revision=757059
2008-01-04 01:14:54 +00:00
Jakob Petsovits 46eaee7f44 Icon renaming (code and icon changes - KDE/):
* bookmark -> bookmarks
* and finally, remove user-2 and konv-message[2] from Oxygen

svn path=/trunk/KDE/kdegraphics/okular/; revision=757019
2008-01-03 23:54:18 +00:00
Jakob Petsovits 0141282203 Icon naming spec compliance (code changes - KDE/):
* zoom-best-fit -> zoom-fit-best
* plasmagik -> tools-wizard
* and some other fixes, many of them in KMobileTools

svn path=/trunk/KDE/kdegraphics/okular/; revision=756800
2008-01-03 19:55:37 +00:00
Pino Toscano 6848a3ec6a no need to watch the locally downloaded files of remote urls
svn path=/trunk/KDE/kdegraphics/okular/; revision=755441
2008-01-01 15:59:18 +00:00
Jakob Petsovits 6164d717d8 Icon naming spec compliance (code changes - KDE/):
* go-{next,previous,first,last}-rtl -> go-{previous,next,last,first}
* document-start-presentation -> view-presentation

svn path=/trunk/KDE/kdegraphics/okular/; revision=753149
2007-12-26 19:31:48 +00:00
Pino Toscano 44aa2d7088 Globally store an icon loader different that the global one (eg the KPart one);
this way we can load our custom icons when embedded in other shells than ours.

svn path=/trunk/KDE/kdegraphics/okular/; revision=752473
2007-12-24 15:02:32 +00:00
Pino Toscano cad5fe4806 use the new document{Back|Forward}() standard actions
svn path=/trunk/KDE/kdegraphics/okular/; revision=752443
2007-12-24 13:11:19 +00:00
Pino Toscano 1022878a5a icon renaming:
- pencil -> draw-freehand

svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
2007-12-08 18:49:02 +00:00
Pino Toscano be088ab698 fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=746279
2007-12-08 14:57:24 +00:00
Christian Ehrlicher 690bfc7456 add missing qtimer.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=746030
2007-12-07 15:40:25 +00:00
Jakob Petsovits d9de20dfe7 Masses of icon fixes and adaptions, caused by the original
desire to rename "edit" to "object-edit". I changed my mind
in the middle of the process (but had lots of other changes
lying around already and really need to stop), so many
or all of the newly renamed "object-edit" icons might
vanish again.

But all in all, there are improvements in many places.

svn path=/trunk/KDE/kdegraphics/okular/; revision=744272
2007-12-03 06:27:42 +00:00
Pino Toscano bd294e1de6 move the FilePrinterPreview to the kpart (no need for it to be in the core library)
svn path=/trunk/KDE/kdegraphics/okular/; revision=744225
2007-12-03 00:17:12 +00:00
John Layt 1b1ed9451b Enable Okular printing features:
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
  printing ability

Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.



svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
2007-11-26 21:43:54 +00:00
Pino Toscano 76ed5e18e5 enable the "copy" and "select all" actions only when there's a document open
temporary "steal" the usage of the "format-justify-(left|right)" icons as table-of-contents icon in the sidebar

svn path=/trunk/KDE/kdegraphics/okular/; revision=736339
2007-11-14 00:04:07 +00:00
Pino Toscano 2e26d12531 icon renaming:
- thumbnail-show -> view-preview

svn path=/trunk/KDE/kdegraphics/okular/; revision=735048
2007-11-10 18:49:57 +00:00
Craig Drummond 4863ab4e2d Fix parentless dialogs
svn path=/trunk/KDE/kdegraphics/okular/; revision=734688
2007-11-09 16:16:05 +00:00
Pino Toscano 6ae58b8250 properly pass a directory
svn path=/trunk/KDE/kdegraphics/okular/; revision=732148
2007-11-02 23:00:38 +00:00
Pino Toscano 1cd4ae0a3e When reloading, properly remember the state of the sidebar.
CCBUG: 151130

svn path=/trunk/KDE/kdegraphics/okular/; revision=731721
2007-11-01 17:52:47 +00:00
Pino Toscano 6d375af868 Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
2007-10-28 18:31:33 +00:00
Oswald Buddenhagen 77801a028d KConfig* API overhaul. only cosmetics, so don't panic.
KConfigBase:
- remove separator argument from list entry reading/writing functions
- introduce {read,write}XdgListEntry()
- kill readPathListEntry(), add readPathEntry() overload
  instead. the default value is not optional any more, as it defines the
  return type. this is consistent with the readEntry() functions.
- rename clean() => markAsClean(), remove rollback()
- rename ConfigState => AccessMode, getConfigState() => accessMode()
- rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
- remove NLS alias to Localized

KConfig:
- remove setGroup() & group()
- reshuffle OpenFlag enum, introduce NoCascade for symmetry
- remove setExtraConfigFiles() alias to addConfigSources()

KConfigGroup:
- inherit KConfigBase::deleteGroup() overloads
- make convertToQVariant() private, it will probably change somehow

- KConfig & KConfigGroup: deprecate entryMap()
- remove bogus declarations: KConfigGroup::setReadDefaults(),
  KConfig::readEntryUntranslated()
- apidox
- reshuffle the declarations in the headers


svn path=/trunk/KDE/kdegraphics/okular/; revision=728852
2007-10-24 13:08:37 +00:00
Oswald Buddenhagen a99df4c192 follow path entry changes - auto-port, reviewed, not tested
svn path=/branches/work/kconfig_new_take3/KDE/kdegraphics/okular/; revision=728208
2007-10-22 18:21:51 +00:00
Pino Toscano cd62fb8d6a icon renamings:
- find-next -> edit-find-next
- find-previous -> edit-find-previous

svn path=/trunk/KDE/kdegraphics/okular/; revision=727831
2007-10-21 21:40:12 +00:00
Pino Toscano b975359158 make print preview working again
(of course, just for few document types, as QPrinter sucks and kdeprint is too good)

svn path=/trunk/KDE/kdegraphics/okular/; revision=726764
2007-10-18 20:25:33 +00:00
John Layt 070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
*** Note this is not a complete port, most of the generators use the 
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution.  At least it removes
the dependency so we can remove from kdelibs.

svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
2007-10-15 23:01:27 +00:00
Pino Toscano 8ff3d1d705 more use of standard actions
svn path=/trunk/KDE/kdegraphics/okular/; revision=722702
2007-10-07 23:09:08 +00:00
Pino Toscano 0b26a91f1f use the standard action names
svn path=/trunk/KDE/kdegraphics/okular/; revision=722687
2007-10-07 22:21:13 +00:00
David Faure 1a463cb358 Merged revisions 720689-721023 via svnmerge from
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE
+ resolved conflicts, fixed compilation in a number of places.

svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721065
2007-10-04 13:23:29 +00:00
David Faure 56eecebe3f Ported
svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=720904
2007-10-03 23:53:38 +00:00
Pino Toscano 4a429ecd7b when shutting down, close the current document
svn path=/trunk/KDE/kdegraphics/okular/; revision=720716
2007-10-03 14:59:57 +00:00
Pino Toscano 175cc2bce6 use the same about data for both the part and the shell, so:
- the part uses the same app share for its specific stuff
- no manual need to load another catalog ("okular") in the part

svn path=/trunk/KDE/kdegraphics/okular/; revision=720296
2007-10-02 22:42:59 +00:00
Pino Toscano 02d6dab204 adapt to the new icon names
svn path=/trunk/KDE/kdegraphics/okular/; revision=720180
2007-10-02 16:23:28 +00:00
Pino Toscano 424ebb655d use better icons for a couple of sections in the preferences dialog, and in the File menu
svn path=/trunk/KDE/kdegraphics/okular/; revision=719820
2007-10-01 22:49:47 +00:00
Pino Toscano 49166c17aa simplify a bit, and assign the temporary file name only if the whole extraction procedure succeeded
svn path=/trunk/KDE/kdegraphics/okular/; revision=719677
2007-10-01 17:06:42 +00:00
Pino Toscano 211ab15c2e use KAboutData by value, and remove an old static method of the part
svn path=/trunk/KDE/kdegraphics/okular/; revision=719241
2007-09-30 16:52:27 +00:00
Pino Toscano cee21b54b2 no need for a "checked state" for the show navigation panel menu action
svn path=/trunk/KDE/kdegraphics/okular/; revision=715110
2007-09-21 08:47:58 +00:00
Pino Toscano 81f852094b use the 'attach' icon for the embedded files menu action
svn path=/trunk/KDE/kdegraphics/okular/; revision=712981
2007-09-15 22:17:34 +00:00
Pino Toscano 54c2e91df6 fix logic
svn path=/trunk/KDE/kdegraphics/okular/; revision=712857
2007-09-15 14:14:33 +00:00
Pino Toscano f72692799e look for the old kpdf stuff only if the "new okular" stuff is not found
svn path=/trunk/KDE/kdegraphics/okular/; revision=710703
2007-09-10 17:20:58 +00:00
Pino Toscano b56ad8c3ae Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
2007-09-09 10:50:36 +00:00
Pino Toscano eb27c7f823 use the new icon Nuno kindly made for the presentation mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=709542
2007-09-07 19:14:03 +00:00
Pino Toscano a2b2db70eb SVN_SILENT old code
svn path=/trunk/KDE/kdegraphics/okular/; revision=709398
2007-09-07 12:46:16 +00:00
Pino Toscano 0cf7f95f3a Disable the minibar for now, let's see how okular looks like w/o it.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709374
2007-09-07 10:59:28 +00:00
Pino Toscano 0517d30bfc Remove the "Show Search Bar" option, mostly unuseful.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709361
2007-09-07 10:31:33 +00:00
Pino Toscano 962a134d2b Properly enable/disable the whole "Export As" menu, not just the "Export to Text" action.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709336
2007-09-07 09:09:39 +00:00
Pino Toscano 969bc7b908 Ctrl+A to select all the text in the document.
Implements KPDF bug #109346.

svn path=/trunk/KDE/kdegraphics/okular/; revision=708124
2007-09-03 21:35:05 +00:00
Pino Toscano 37870961b7 disable by default the "review" and "bookmarks" sidebar items, and re-enable them only if we're not in dummy mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=708029
2007-09-03 17:25:52 +00:00
Pino Toscano d96bb9e9a4 find the print preview "placeholder" correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=706138
2007-08-29 14:25:44 +00:00