Changeset View
Changeset View
Standalone View
Standalone View
generators/chm/lib/ebook.h
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Line(s) | 75 | public: | |||
---|---|---|---|---|---|
183 | * | 183 | * | ||
184 | * \ingroup dataretrieve | 184 | * \ingroup dataretrieve | ||
185 | */ | 185 | */ | ||
186 | virtual bool enumerateFiles( QList<QUrl>& files ) = 0; | 186 | virtual bool enumerateFiles( QList<QUrl>& files ) = 0; | ||
187 | 187 | | |||
188 | /*! | 188 | /*! | ||
189 | * \brief Gets the Title of the page referenced by url. | 189 | * \brief Gets the Title of the page referenced by url. | ||
190 | * \param url An URL in ebook file to get title from. Must be absolute. | 190 | * \param url An URL in ebook file to get title from. Must be absolute. | ||
191 | * \return The title, or QString::null if the URL cannot be found or not a HTML page. | 191 | * \return The title, or QString() if the URL cannot be found or not a HTML page. | ||
192 | * | 192 | * | ||
193 | * \ingroup dataretrieve | 193 | * \ingroup dataretrieve | ||
194 | */ | 194 | */ | ||
195 | virtual QString getTopicByUrl ( const QUrl& url ) = 0; | 195 | virtual QString getTopicByUrl ( const QUrl& url ) = 0; | ||
196 | 196 | | |||
197 | /*! | 197 | /*! | ||
198 | * \brief Gets the current ebook encoding (set or autodetected) as qtcodec name. Must be implemented, | 198 | * \brief Gets the current ebook encoding (set or autodetected) as qtcodec name. Must be implemented, | ||
199 | * even if the book doesn't support change of encoding (then it should return a default encoding) | 199 | * even if the book doesn't support change of encoding (then it should return a default encoding) | ||
Show All 34 Lines |