Skip to content

Commit 1e48fe7

Browse files
committed
Fix typos.
1 parent b0b3a3c commit 1e48fe7

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

lib/libebook/ebook_epub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ bool EBook_EPUB::parseBookinfo()
276276
}
277277
else
278278
{
279-
// Copy them from spline
279+
// Copy them from spine
280280
Q_FOREACH ( QString url, m_spinePath )
281281
{
282282
EBookTocEntry e;

lib/libebook/helperxmlhandler_epubcontent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HelperXmlHandler_EpubContent : public QXmlDefaultHandler
3838
// Manifest storage, id -> href
3939
QMap< QString, QString > manifest;
4040

41-
// Spline storage
41+
// Spine storage
4242
QList< QString > spine;
4343

4444
// TOC (NCX) filename

src/tab_contents.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void TabContents::refillTableOfContents( )
156156

157157
static TreeItem_TOC* findTreeItem( TreeItem_TOC* item, const QUrl& url, bool ignorefragment )
158158
{
159-
if ( item->containstUrl( url, ignorefragment ) )
159+
if ( item->containsUrl( url, ignorefragment ) )
160160
return item;
161161

162162
for ( int i = 0; i < item->childCount(); ++i )

src/treeitem_index.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ QUrl TreeItem_Index::getUrl() const
7777
return dlg.getSelectedItemUrl( m_urls, titles );
7878
}
7979

80-
bool TreeItem_Index::containstUrl( const QUrl& url ) const
80+
bool TreeItem_Index::containsUrl( const QUrl& url ) const
8181
{
8282
for ( int i = 0; i < m_urls.size(); i++ )
8383
{

src/treeitem_index.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TreeItem_Index : public QTreeWidgetItem
3434
TreeItem_Index( QTreeWidget* parent, QTreeWidgetItem* after, const QString& name, const QList<QUrl>& urls, const QString& seealso );
3535

3636
QUrl getUrl() const;
37-
bool containstUrl( const QUrl& url ) const;
37+
bool containsUrl( const QUrl& url ) const;
3838
bool isSeeAlso() const;
3939
QString seeAlso() const;
4040

src/treeitem_toc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ QUrl TreeItem_TOC::getUrl() const
5252
return m_url;
5353
}
5454

55-
bool TreeItem_TOC::containstUrl( const QUrl& url, bool ignorefragment ) const
55+
bool TreeItem_TOC::containsUrl( const QUrl& url, bool ignorefragment ) const
5656
{
5757
if ( ignorefragment )
5858
{

src/treeitem_toc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TreeItem_TOC : public QTreeWidgetItem
3333
TreeItem_TOC( QTreeWidget* parent, QTreeWidgetItem* after, const QString& name, const QUrl& url, int image );
3434

3535
QUrl getUrl() const;
36-
bool containstUrl( const QUrl& url, bool ignorefragment ) const;
36+
bool containsUrl( const QUrl& url, bool ignorefragment ) const;
3737

3838
// Overridden methods
3939
int columnCount() const;

0 commit comments

Comments
 (0)