rembemer the values of m_menuBarWasShown and m_toolBarWasShown
Patch based in a patch by Victor Blazquez
svn path=/trunk/KDE/kdegraphics/okular/; revision=1185957
make the function able to be reused in unit tests (ie adding a function hook for the filename existance check)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032962
- on command line, properly read the URL ref ('#foobar' at the end), avoiding a KCmdLineArgs behaviour which encodes it as part of the file name
- pass what was specified as ref or the page (as specified with -p/--page) to the kpart
- make the okularpart take out the ref from the URL it opens and then:
a) if it is a number, assume it is the destination page number
b) otherwise, use that string as named destination
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=969227
This currently does not seem to work as it should, because the max size is really contrained to 2/3 of the screen size, as per Qt behaviour (or bug?)
Anyway, even 2/3 is better than before.
svn path=/trunk/KDE/kdegraphics/okular/; revision=912463
Rafael:
new order contradicts with API docs:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKXmlGuiWindow.html#e5ac6ec22a61a4d854600c0f5a41e8d4
if this is an exception (i.e. both docs and okular's calling order are fine),
then please add appropriate comment to the code.
also, I ask you to look into another problem: okular doesn't restore maximization on start.
CCMAIL:pino@kde.org
CCMAIL:ereslibre@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=868604
-don't call setAutoSaveSettings() as it is called implicitly by kxmlgui system
the problem i was shooting at still doesn't solved though: maximization ain't restored properly.
it is saved correctly, but it seems that in restoreWindowSize calling KWindowSystem::setState doesn't do the job.
obviously, this must have smth to do with kparts framework.
CCMAIL:pino@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=868586
need to call to createGUI before that (if no Create flag is passed to setupGUI, that isn't in
this case).
CCMAIL: pino@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=853433
they do more then just change the state of the window and all these usage
cases were wrong (that is, all their usage).
For changing the state, use something like
window->setWindowState( window->windowState() | Qt::WindowFullScreen ); // set
window->setWindowState( window->windowState() & ~Qt::WindowFullScreen ); // reset
or simply use the new KToggleFullScreenAction::setFullScreen() helper.
svn path=/trunk/KDE/kdegraphics/okular/; revision=784333
[the compressed versions are not in the "generator" .desktop files because okular can deal natively with any gzip- or bzip2- compressed version of the supported document types]
svn path=/trunk/KDE/kdegraphics/okular/; revision=755661
Can be deactivated using unsetDummyMode(), that is the first thing the okular shell does
that's useful because for example for print preview you don't want to embed all the okular ui to do the preview, you just want to see the ps
svn path=/trunk/KDE/kdegraphics/okular/; revision=671928