diff -r 6df133bd92e1 -r 075425b8d9a4 radioapp/radiowidgetsplugin/main.cpp --- a/radioapp/radiowidgetsplugin/main.cpp Fri Jun 04 10:21:36 2010 +0100 +++ b/radioapp/radiowidgetsplugin/main.cpp Fri Jun 11 13:38:32 2010 +0300 @@ -20,12 +20,8 @@ #include // User includes -#include "radiostationsview.h" -#include "radiomainview.h" -#include "radiohistoryview.h" #include "radiostationcarousel.h" #include "radiofrequencystrip.h" -#include "radiobannerlabel.h" #include "radiofadinglabel.h" // Class declaration @@ -47,18 +43,10 @@ { QObject* object = 0; - if ( type == RadioMainView::staticMetaObject.className() ) { - object = new RadioMainView(); - } else if ( type == RadioStationsView::staticMetaObject.className() ) { - object = new RadioStationsView(); - } else if ( type == RadioHistoryView::staticMetaObject.className() ) { - object = new RadioHistoryView(); - } else if ( type == RadioStationCarousel::staticMetaObject.className() ) { + if ( type == RadioStationCarousel::staticMetaObject.className() ) { object = new RadioStationCarousel(); } else if ( type == RadioFrequencyStrip::staticMetaObject.className() ) { object = new RadioFrequencyStrip(); - } else if ( type == RadioBannerLabel::staticMetaObject.className() ) { - object = new RadioBannerLabel(); } else if ( type == RadioFadingLabel::staticMetaObject.className() ) { object = new RadioFadingLabel(); } @@ -76,10 +64,6 @@ QList RadioWidgetsPlugin::supportedObjects() { QList result; - result.append( &RadioMainView::staticMetaObject ); - result.append( &RadioStationsView::staticMetaObject ); - result.append( &RadioHistoryView::staticMetaObject ); - result.append( &RadioBannerLabel::staticMetaObject ); result.append( &RadioFadingLabel::staticMetaObject ); result.append( &RadioFrequencyStrip::staticMetaObject ); result.append( &RadioStationCarousel::staticMetaObject );