- kpDocument changes
- getPixmapFromFile(): return <mimeType> as ptr not ref - clearer
- add setURL() & isFromURL()
- add constructorWidth() & constructorHeight() to assist with "reloading" an empty document
- add comment warning for open()
- prepare for JPEG quality()
- add d-ptr for reduce compile time hack (not BC)
- kpMainWindow
- permit "reloading" of an empty document (now F5 consistently returns you to a clean state which is more usable)
- handle cases when kolourpaint "opened" a <filedoesntexist> and so doesn't actually have a URL even though kpDocument::url() returns one (using new kpDocument::isFromURL()):
- don't add <filedoesntexist> to recent files
- improve reload: % recreate empty doc if doc doesn't come from URL (and URL hasn't magically appeared) % PREVENT DATA LOSS: don't reload if the doc is supposed to have a URL but it disappeared % reduce flicker by using fewer setDocument() calls
- don't mail or set-as-wallpaper URL that doesn't exist