--- a/emailuis/nmailui/src/nmeditortextdocument.cpp Thu May 27 12:43:55 2010 +0300
+++ b/emailuis/nmailui/src/nmeditortextdocument.cpp Fri Jun 11 13:27:14 2010 +0300
@@ -31,6 +31,8 @@
NmEditorTextDocument::NmEditorTextDocument(QNetworkAccessManager &manager) :
mManager(manager)
{
+ NM_FUNCTION;
+
connect(&mManager, SIGNAL(finished(QNetworkReply*)),
this, SLOT(replyFinished(QNetworkReply*)));
}
@@ -40,6 +42,8 @@
*/
NmEditorTextDocument::~NmEditorTextDocument()
{
+ NM_FUNCTION;
+
foreach(QNetworkReply *reply, mReplyList) {
if(reply) {
reply->abort();
@@ -53,6 +57,8 @@
*/
void NmEditorTextDocument::replyFinished(QNetworkReply *reply)
{
+ NM_FUNCTION;
+
if(reply) {
if(reply->error() == QNetworkReply::NoError) {
QPixmap image;
@@ -71,6 +77,8 @@
*/
QVariant NmEditorTextDocument::loadResource(int type, const QUrl &name)
{
+ NM_FUNCTION;
+
QVariant retVal;
if(type == QTextDocument::ImageResource) {