clock/clockui/clockviews/src/clockmainview.cpp
changeset 37 360d55486d7f
parent 26 a949c2543c15
child 49 5de72ea7a065
equal deleted inserted replaced
32:ea672fcb0ea0 37:360d55486d7f
    76 	}
    76 	}
    77 	HbStyleLoader::unregisterFilePath(
    77 	HbStyleLoader::unregisterFilePath(
    78 			":/style/clockalarmlistitemprototype.css");
    78 			":/style/clockalarmlistitemprototype.css");
    79 	HbStyleLoader::unregisterFilePath(
    79 	HbStyleLoader::unregisterFilePath(
    80 			":/style/clockalarmlistitemprototype.widgetml");
    80 			":/style/clockalarmlistitemprototype.widgetml");
       
    81 	HbStyleLoader::unregisterFilePath(
       
    82 			":/style/clockalarmlistitemprototype_color.css");
    81 
    83 
    82 }
    84 }
    83 
    85 
    84 /*!
    86 /*!
    85 	Called by the ClockViewManager after loading the view from the docml.
    87 	Called by the ClockViewManager after loading the view from the docml.
   142 			SLOT(handleLongPress(HbAbstractViewItem*, const QPointF&)));
   144 			SLOT(handleLongPress(HbAbstractViewItem*, const QPointF&)));
   143 
   145 
   144 	HbStyleLoader::registerFilePath(":/style/clockalarmlistitemprototype.css");
   146 	HbStyleLoader::registerFilePath(":/style/clockalarmlistitemprototype.css");
   145 	HbStyleLoader::registerFilePath(
   147 	HbStyleLoader::registerFilePath(
   146 			":/style/clockalarmlistitemprototype.widgetml");
   148 			":/style/clockalarmlistitemprototype.widgetml");
       
   149 	HbStyleLoader::registerFilePath(
       
   150 			":/style/clockalarmlistitemprototype_color.css");
   147 	setmodel();
   151 	setmodel();
   148 
   152 
   149 	// Load the correct section based on orientation.
   153 	// Load the correct section based on orientation.
   150 	if (Qt::Vertical == currentOrienation) {
   154 	if (Qt::Vertical == currentOrienation) {
   151 		mDocLoader->load(
   155 		mDocLoader->load(