logsui/tsrc/logsengineapitester/src/logsengineapitester.cpp
changeset 14 f27aebe284bb
parent 0 4a5361db8937
--- a/logsui/tsrc/logsengineapitester/src/logsengineapitester.cpp	Tue Jul 06 14:16:36 2010 +0300
+++ b/logsui/tsrc/logsengineapitester/src/logsengineapitester.cpp	Wed Aug 18 09:49:12 2010 +0300
@@ -16,11 +16,11 @@
 */
 
 #include <QDebug>
-#include <HbListView.h>
-#include <HbMenu.h>
-#include <HbAction.h>
-#include <HbLabel.h>
-#include <HbMessageBox.h>
+#include <hblistview.h>
+#include <hbmenu.h>
+#include <hbaction.h>
+#include <hblabel.h>
+#include <hbmessagebox.h>
 #include <QGraphicsLinearLayout>
 #include <logsmodel.h>
 #include <logsevent.h>
@@ -208,16 +208,12 @@
 
 void TestView::markingCompleted(int err)
 {
-     HbMessageBox box(HbMessageBox::MessageTypeInformation);
-     box.setText( QString("Marking completed, err:%1").arg(err) );
-     box.exec();
+     HbMessageBox::information( QString("Marking completed, err:%1").arg(err) );
 }
 
 void TestView::clearingCompleted(int err)
 {
-     HbMessageBox box(HbMessageBox::MessageTypeInformation);
-     box.setText( QString("Clearing completed, err:%1").arg(err) );
-     box.exec();
+    HbMessageBox::information( QString("Clearing completed, err:%1").arg(err) );
 }
 
 TestModel::TestModel(QAbstractItemModel& logsModel) : mLogsModel(logsModel)
@@ -237,6 +233,7 @@
 }
 int TestModel::rowCount(const QModelIndex &parent) const
 {
+    Q_UNUSED(parent);
     return mEvents.count();
 }
 QVariant TestModel::data(const QModelIndex &index, int role) const