summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Wooninck <tittiatcoke@gmail.com>2014-09-17 18:48:23 (GMT)
committerRaymond Wooninck <tittiatcoke@gmail.com>2014-09-17 18:48:23 (GMT)
commita146b5b307e03356825421fd671d9fb704f7341f (patch)
treed59b8f3d1a777b795aae316471efd2eee6d9065c
parentf7d1dd9312135e3f1820d98d38db5195b863fad9 (diff)
Convert some remaining kWarning/kDebug
-rw-r--r--generators/epub/converter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/generators/epub/converter.cpp b/generators/epub/converter.cpp
index a66f63a..1e7dc9b 100644
--- a/generators/epub/converter.cpp
+++ b/generators/epub/converter.cpp
@@ -148,7 +148,7 @@ static QPoint calculateXYPosition( QTextDocument *document, int startPosition )
QTextLayout *startLayout = startBlock.layout();
if (!startLayout) {
- kWarning() << "Start layout not found" << startLayout;
+ qWarning() << "Start layout not found" << startLayout;
return QPoint();
}
@@ -412,7 +412,7 @@ QTextDocument* Converter::convert( const QString &fileName )
QString::fromUtf8(label),
block);
} else {
- kDebug() << "Error: no block found for"<< link;
+ qDebug() << "Error: no block found for"<< link;
}
if (clink)
@@ -424,7 +424,7 @@ QTextDocument* Converter::convert( const QString &fileName )
epub_free_titerator(tit);
} else {
- kDebug() << "no toc found";
+ qDebug() << "no toc found";
}
// adding link actions
@@ -443,7 +443,7 @@ QTextDocument* Converter::convert( const QString &fileName )
emit addAction(action, hit.value()[i].first, hit.value()[i].second);
} else {
- kDebug() << "Error: no block found for "<< hit.key();
+ qDebug() << "Error: no block found for "<< hit.key();
}
}
}