50 Commits (bd72d3cb3bdad00a590c970a9c5cc2df2f633feb)

Author SHA1 Message Date
Albert Astals Cid 2e29cd8ffa port to new kchmviewer code, this brings us to almost no local patch on extern code (we have 1 bugfix + making kio-msits work that i'll notify upstream) 18 years ago
Pino Toscano 6aa123656a Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far. 19 years ago
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected. 19 years ago
Pino Toscano a3aca79a4e a vector of bool is better here 19 years ago
Pino Toscano 4dcadf5544 Add a mutex in the base generator class, so any generator that wants a mutex can use it. 19 years ago
Pino Toscano 231839f344 SVN_SILENT include fixes 19 years ago
Pino Toscano 78e2377a87 Add a method for generators to know some metadata of the document 19 years ago
Pino Toscano 48b2cad049 fixed wrong example in the apidox, and all the code that was done by copy&paste from it, basically... 19 years ago
Thiago Macieira c778ca36b0 Unbreak compilation. 19 years ago
Arto Hytönen e8ad05552b kdegraphics QString::null clean-up. 19 years ago
Aaron J. Seigo 425252e04a add about data to this generator. also makes a pot file possible again. everyone wins. ;) 19 years ago
Pino Toscano 758daf07d1 connect() to finished() only once, and close the url of the khtml part after every usage 19 years ago
Pino Toscano de45467966 properly free the resources of a document when calling closeDocument(), not in the destructor of the generator or in loadDocument() 19 years ago
Pino Toscano e0f08ab3e9 delete the khtml part on destruction; remove unused #include 19 years ago
Tobias Koenig 06e831a3c9 Add a new method DocumentInfo::set( enum, QString ) to get more 19 years ago
Pino Toscano 106e96240c rename (almost) every ActionFoo class to FooAction 19 years ago
Pino Toscano 5f21b15d99 Link -> Action renaming. 19 years ago
Pino Toscano f3e484082d Link -> Action renaming. 19 years ago
Albert Astals Cid 3f927c095a maks was right, zoom was the problem 19 years ago
Tobias Koenig 68e1c81b9a * Fixed the loading of chm documents (avoids crashes) 19 years ago
Tobias Koenig f6db3a7408 Replaced the kapp->processEvents magic by a clean nested QEventLoop 19 years ago
Pino Toscano 6068c76df6 Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now. 19 years ago
Tobias Koenig baf1fb2870 Several changes: 19 years ago
Pino Toscano 55dfb87f3f simplify a bit the Feature system: move it to the base Generator class, and add a protected method to switch a feature on and off easily - no more need to copy&paste hasFeature() anymore 19 years ago
Tobias Koenig d227a94e79 First part of the porting to a threaded api for generators 19 years ago
Pino Toscano 135a18b407 get rid of supportsSearching() by using a proper feature 19 years ago
Pino Toscano 468a0da775 bye bye canGenerateTextPage(), unused nowadays 19 years ago
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular. 19 years ago
Tobias Koenig ea51ee18f5 Do a lot of include cleanups... we install all important 19 years ago
Tobias Koenig 86a1fd3b69 Big cleanup of Document API and documentation: 19 years ago
Tobias Koenig a7b04cb92b Replaced 20 years ago
Tobias Koenig a490cc0cd7 Add the following functionality: 20 years ago
Albert Astals Cid 24651d3743 delete m_file when closing the documetn 20 years ago
Pino Toscano 8def2109ec change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility 20 years ago
Tobias Koenig a375953402 Adapt ghostview, kimgio, pdf, dvi, chm, xps and ooo generators to setImage() 20 years ago
Tobias Koenig d22b2f1892 A rather big change: 20 years ago
Pino Toscano a62cd3aa2f The internal search is a pretty bad concept, as the Document provides it for free 20 years ago
Pino Toscano 18028a8a2c API change in the Generator: use an empty construct, and set the document for the generator right after its construction. 20 years ago
Tobias Koenig fccd412d69 * Added documentation to Generator API 20 years ago
Albert Astals Cid 49554bd23b make internals link work, at least for the dia-manual.chm file, i have no other chm file laying around 20 years ago
Albert Astals Cid f67a7f00a6 chm generator no longer needs qt3support 20 years ago
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed 20 years ago
Pino Toscano 5ee6d32f1b clean up a bit by removing some stuff we probably won't ever use 20 years ago
Albert Astals Cid 760fdbcadb makeItBuild 20 years ago
Pino Toscano 7ba0c4df3a Show the title of the current document - if available - as title of the main window, as requested in comments of KPDF bug #103362. 20 years ago
Pino Toscano b6d7a36eda Small addition to the Ganarator API: bool closeDocument(). 20 years ago
Pino Toscano 9b55ffedd4 better check case-insensitively here 20 years ago
Pino Toscano 1ba01ac6f1 Refactor a bit how ObjectRect works: now it's an independent class, that keeps the shape of the "kept" object using a QPainterPath [the qreal version to QRegion]. 20 years ago
Pino Toscano e37ff4f3fe small trick: when generating small pixmaps (ie less wide than 300px) the render it as a page wider than 800px, and then rescale it back. this way, we respect more the geometry of the page in the small pixmaps (tipically, thumbnails). 20 years ago
Pino Toscano 80a843cbed TGenerator -> CHMGenerator 20 years ago