After removing kdelibs4support, these flags are enabled:
-DQT_USE_FAST_OPERATOR_PLUS -DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII -DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
So wrap naked string and character literals in QStringLiteral,
QLatin1Char and QLatin1String as appropriate.
To more easily see the changes, use «git show --color-words».
Thank $DEITY for vim macros.
Just use the pointer as id :-)
This is BIC and SIC, increase the soversion now to makes sure we don't forget in the future
Patch based in an earlier patch by Bogdan Cristea <cristeab@gmail.com>
REVIEW: 109115
It was only used to return 1, that was then used in
CHMGenerator::textPage, that code still looks a bit fishy, but that was already there, it's just now that looks a bit more fishier
- resolve percent-encoded urls
BUG: 198823
- when asking for the page of an url, strip the anchor, if present
svn path=/trunk/KDE/kdegraphics/okular/; revision=992313
(although the problem is not solved yet)
also, skip text nodes with a null area (we wouldn't be able to place them anywhere, anyway)
svn path=/trunk/KDE/kdegraphics/okular/; revision=966802
- put, if valid, the home url as first page
- accept .htm files too
- connect also to the signal for non-successful loading
svn path=/trunk/KDE/kdegraphics/okular/; revision=933582
FIlter out files not ending with ".html", to avoid loading non-HTML contents as pages.
BUG: 183542
svn path=/trunk/KDE/kdegraphics/okular/; revision=933550
This requires a generator to have a
MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.
Remove the 'lib' prefix from plugins, unneeded now.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
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
adapted the poppler and the chm generators to use that, instead of fiddling with the settings class
svn path=/trunk/KDE/kdegraphics/okular/; revision=712614
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
It seems getRect returns always the rect at 100% zoom so use page->width() and not request->width() to calculate link rect positions
svn path=/trunk/KDE/kdegraphics/okular/; revision=652717