--- a/notes/notesui/notesmodelhandler/src/notesmodelhandler.cpp Fri Apr 16 14:57:40 2010 +0300
+++ b/notes/notesui/notesmodelhandler/src/notesmodelhandler.cpp Mon May 03 12:30:32 2010 +0300
@@ -17,8 +17,6 @@
// System includes
#include <QtGui>
-#include <QDebug>
-
// User includes
#include "notesmodelhandler.h"
#include "agendautil.h"
@@ -38,15 +36,11 @@
mAgendaUtil(0),
mNotesModel(0)
{
- qDebug() << "notes: NotesModelHandler::NotesModelHandler -->";
-
QT_TRAP_THROWING(mAgendaUtil = new AgendaUtil(this));
Q_ASSERT_X(mAgendaUtil, "notesviewmanager.cpp", "mAgendaUtil is 0");
// Construct the source model here.
mNotesModel = new NotesModel(mAgendaUtil, this);
-
- qDebug() << "notes: NotesModelHandler::NotesModelHandler <--";
}
/*!
@@ -54,8 +48,6 @@
*/
NotesModelHandler::~NotesModelHandler()
{
- qDebug() << "notes: NotesModelHandler::~NotesModelHandler -->";
-
if (mAgendaUtil) {
delete mAgendaUtil;
mAgendaUtil = 0;
@@ -64,8 +56,6 @@
delete mNotesModel;
mNotesModel = 0;
}
-
- qDebug() << "notes: NotesModelHandler::~NotesModelHandler <--";
}
/*!
@@ -75,12 +65,8 @@
*/
AgendaUtil *NotesModelHandler::agendaInterface()
{
- qDebug() << "notes: NotesModelHandler::agendaInterface -->";
-
Q_ASSERT(mAgendaUtil);
- qDebug() << "notes: NotesModelHandler::agendaInterface <--";
-
return mAgendaUtil;
}
@@ -91,12 +77,8 @@
*/
NotesModel *NotesModelHandler::notesModel()
{
- qDebug() << "notes: NotesModelHandler::notesModel -->";
-
Q_ASSERT(mNotesModel);
- qDebug() << "notes: NotesModelHandler::notesModel <--";
-
return mNotesModel;
}