example/DemoGUI/CustomListWidget.cpp
changeset 26 83d6a149c755
parent 16 b78fa4cdbf2b
--- a/example/DemoGUI/CustomListWidget.cpp	Thu Sep 23 17:43:31 2010 +0530
+++ b/example/DemoGUI/CustomListWidget.cpp	Mon Oct 11 21:59:54 2010 +0530
@@ -84,6 +84,7 @@
 
 void CustomListWidget::AddListItem(QMainWindow *mainWindow,QStringList aIconPath,QStringList aNames)
 {
+	Q_UNUSED(mainWindow)
 	qDebug()<<"Inside GridView::CreateGridView()";
 	qDebug()<<"aIconPath count = "<<aIconPath.count();
 	qDebug()<<"names count = "<<aNames.count();
@@ -121,7 +122,6 @@
 		{
 		QPushButton *pushBtn = new QPushButton();
 		qDebug()<<"name = "<<aNames[index];
-		int gapFac = KHeadNameHeight+ToolbarIconHeight;
 		pushBtn->setGeometry(i*colSpace,(j*rowSpace + KWidgetGapFactor),colSpace,rowSpace);
 		pushBtn->setIconSize(QSize(colSpace-(3*KWidgetGapFactor),colSpace+(3*KWidgetGapFactor)));
 		qDebug()<<"icon = "<<aIconPath[index];
@@ -319,10 +319,10 @@
     return customlist;
 	
 	}
-QWidget* CreateListwidget(SmfActivityEntryList *activityList)
+/*QWidget* CreateListwidget(SmfActivityEntryList *activityList)
 			{
 	
-			}
+			}*/
 
 /*QWidget* CustomListWidget::CreateListwidget(QString aIconPath,QString aFirstLine,QString aSecondLine)
 {