radioapp/radiowidgets/src/radiocarouselitem.cpp
changeset 38 f8c3d4e6102c
parent 36 ba22309243a1
child 51 bbebb0235466
--- 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 );
 }
-