--- a/radioapp/radiowidgets/src/radiocarouselitem.cpp Thu Jul 08 12:44:18 2010 +0300
+++ b/radioapp/radiowidgets/src/radiocarouselitem.cpp Fri Jul 23 10:16:59 2010 +0300
@@ -64,6 +64,7 @@
mUrlItem( NULL ),
mAppearance( Default ),
mOwnsCss( registerCss ),
+ mLandscapeMode( false ),
mFlags( DefaultFlags )
{
mStation.reset( new RadioStation() );
@@ -247,6 +248,22 @@
/*!
*
*/
+void RadioCarouselItem::setLandscape( bool landscape )
+{
+ mLandscapeMode = landscape;
+}
+
+/*!
+ *
+ */
+bool RadioCarouselItem::landscape() const
+{
+ return mLandscapeMode;
+}
+
+/*!
+ *
+ */
void RadioCarouselItem::setSeekLayout( bool seekLayout )
{
if ( seekLayout ) {
@@ -400,4 +417,3 @@
{
setAppearance( mStation->hasSentRds() ? Full : Default );
}
-