Commit graph

4078 commits

Author SHA1 Message Date
Script Kiddy 4973559541 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=729164
2007-10-25 07:10:56 +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
Pino Toscano 3237f94761 use 'graphics-viewer-document' as icon in our .desktop files
svn path=/trunk/KDE/kdegraphics/okular/; revision=728493
2007-10-23 13:12:33 +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 714952d5cf Titus Laska asked me to being removed from the list of the documentation authors.
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=727007
2007-10-19 12:57:29 +00:00
Pino Toscano fb825ff1d4 add a form widget controller to prepare the pageview to possible changes when the content in a form widget changes
svn path=/trunk/KDE/kdegraphics/okular/; revision=726788
2007-10-18 22:09:49 +00:00
Pino Toscano 7f44aafa94 correctly hide the form widgets when a widget is focused
svn path=/trunk/KDE/kdegraphics/okular/; revision=726769
2007-10-18 20:35:34 +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
Albert Astals Cid c68ae02dcc this is a dummy commit to check if i still can commit as i'm having problems commiting to www/media, but while at it i update the C year and mail :-D
svn path=/trunk/KDE/kdegraphics/okular/; revision=724219
2007-10-11 18:57:28 +00:00
Script Kiddy d5fcbc09a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=724043
2007-10-11 08:09:20 +00:00
Pino Toscano 36e6e85b46 Make the text of the values in the Properties dialog selectable using mouse.
BUG: 150293

svn path=/trunk/KDE/kdegraphics/okular/; revision=723800
2007-10-10 18:41:10 +00:00
Pino Toscano 4060ef669e Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff.
This affects all the generators that use the internal generator threading, own threading models have to be fixed properly.

svn path=/trunk/KDE/kdegraphics/okular/; revision=723161
2007-10-08 21:49:27 +00:00
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
2007-10-08 16:46:51 +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
Pino Toscano a580378469 no need for the PageViewToolBar to have the mouse tracking enabled
svn path=/trunk/KDE/kdegraphics/okular/; revision=722555
2007-10-07 15:30:02 +00:00
Pino Toscano 5e0c1a1671 hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722543
2007-10-07 15:10:58 +00:00
Pino Toscano b321f9ea21 when adding a rotated annotation to a rotated page, rotate its base coordinates to 0-degrees, then rotate again all its stuff correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722456
2007-10-07 11:00:57 +00:00
Pino Toscano b654434a0e add private helpers to properly transform the base coordinates of an annotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=722451
2007-10-07 10:52:05 +00:00
Pino Toscano 8d2b86906e okular -> graphics-viewer-document
svn path=/trunk/KDE/kdegraphics/okular/; revision=722448
2007-10-07 10:44:59 +00:00
Albert Astals Cid 498c0fc0e0 QPixmap::toImage does not always give us QImage::Format_ARGB32_Premultiplied so enforce it
svn path=/trunk/KDE/kdegraphics/okular/; revision=722225
2007-10-06 23:04:28 +00:00
Pino Toscano e38e9b397b no more need to show the 'debug' config page
svn path=/trunk/KDE/kdegraphics/okular/; revision=722138
2007-10-06 17:54:33 +00:00
Pino Toscano 61a5cee757 revert nonsense
svn path=/trunk/KDE/kdegraphics/okular/; revision=721905
2007-10-06 09:07:18 +00:00
Thomas Georgiou 5908d4e67d Compile. Thanks to hdh.
svn path=/trunk/KDE/kdegraphics/okular/; revision=721771
2007-10-06 03:08:55 +00:00
Andreas Pakulat 8cac1e3509 Merge KConfig branch
svn path=/trunk/KDE/kdegraphics/okular/; revision=721735
2007-10-06 00:01:16 +00:00
David Faure 6fddec063f Merged KIO::JobFlags branch
svn path=/trunk/KDE/kdegraphics/okular/; revision=721447
2007-10-05 09:14:03 +00:00
David Faure ec14632b2c Merged revisions 721075-721429 via svnmerge from
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE

svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721435
2007-10-05 08:52:47 +00:00
Pino Toscano a5940e0132 correctly initialize the history; crash spotted by Bram, thanks!
svn path=/trunk/KDE/kdegraphics/okular/; revision=721277
2007-10-04 21:41:19 +00:00
Pino Toscano 42372d4dfb fix layout of the Created/Modified labels
svn path=/trunk/KDE/kdegraphics/okular/; revision=721216
2007-10-04 20:15:43 +00:00
Pino Toscano b44e127990 use a grid layout for the 'general' tab; align the labels of the edit fields to the right
svn path=/trunk/KDE/kdegraphics/okular/; revision=721094
2007-10-04 15:00:39 +00:00
David Faure 52f8e0905e Merged revisions 721024-721074 via svnmerge from·
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE
to get the kdevplatform compile fix

svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721075
2007-10-04 13:58:33 +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
Jakob Petsovits 433c44499c Icon naming spec compliance (code changes):
arrow-* -> go-*

svn path=/trunk/KDE/kdegraphics/okular/; revision=721061
2007-10-04 13:03:22 +00:00
Script Kiddy d5dc96cb3b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
2007-10-04 05:56:53 +00:00
Bernhard Loos 5412b15459 port parts of kdegraphics
svn path=/branches/work/kde4_kconfig/kconfig/port_trunk/kdegraphics/okular/; revision=720917
2007-10-04 01:19:39 +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 6e6eaab798 when drawing a normalized path, use a polygon to draw the path when the path has no filling
svn path=/trunk/KDE/kdegraphics/okular/; revision=720899
2007-10-03 23:48:38 +00:00
Pino Toscano c47c606f5b all of these functions should have a valid pointer as parameter, so assert instead of silently return
svn path=/trunk/KDE/kdegraphics/okular/; revision=720880
2007-10-03 22:53:27 +00:00
Pino Toscano 76008f84da use the new icon here as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=720879
2007-10-03 22:51:11 +00:00
Pino Toscano bc5aeb2bb8 dear line in the annotation tooltip, please use less vertical space, thanks
svn path=/trunk/KDE/kdegraphics/okular/; revision=720874
2007-10-03 22:45:20 +00:00
Pino Toscano f2684504bc remove the "advanced" tab, whose only purpouse was debugging
add a ' %' suffix for the opacity spinbox

svn path=/trunk/KDE/kdegraphics/okular/; revision=720873
2007-10-03 22:44:11 +00:00
Pino Toscano 6582af2a38 text proofread by mwoehlke
svn path=/trunk/KDE/kdegraphics/okular/; revision=720792
2007-10-03 18:23:22 +00:00
Pino Toscano 27f624d1f7 check whether the document is open
svn path=/trunk/KDE/kdegraphics/okular/; revision=720717
2007-10-03 15:03:49 +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 bdcfe1ee03 proper graphics-viewer-document icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=720714
2007-10-03 14:50:20 +00:00
Pino Toscano 5df1895ec0 don't use deprecated api of KUser
svn path=/trunk/KDE/kdegraphics/okular/; revision=720663
2007-10-03 12:43:44 +00:00
Pino Toscano cba7ce25cc bump version to 0.5.92
svn path=/trunk/KDE/kdegraphics/okular/; revision=720302
2007-10-02 22:48:39 +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