calendarui/views/dayview/src/calendayeventspane.cpp
changeset 55 2c54b51f39c4
parent 45 b6db4fd4947b
child 63 a3cb48f6c889
equal deleted inserted replaced
51:0b38fc5b94c6 55:2c54b51f39c4
    60 /*!
    60 /*!
    61  \brief Shows/hides a line at top of event pane.
    61  \brief Shows/hides a line at top of event pane.
    62  
    62  
    63  \param drawTopLine Flag to be set if top line should be drawn.
    63  \param drawTopLine Flag to be set if top line should be drawn.
    64  */
    64  */
    65 void CalenDayEventsPane::drawTopLine(bool drawTopLine)
    65 void CalenDayEventsPane::setDrawTopLine(bool drawTopLine)
    66 {
    66 {
    67     mDrawTopLine = drawTopLine;
    67     mDrawTopLine = drawTopLine;
       
    68 }
       
    69 
       
    70 /*!
       
    71    \brief It return if top line is drawed.
       
    72  */
       
    73 bool CalenDayEventsPane::isTopLineDrawed() const
       
    74 {
       
    75     return mDrawTopLine;
    68 }
    76 }
    69 
    77 
    70 /*!
    78 /*!
    71  \brief Paints the item with given painter.
    79  \brief Paints the item with given painter.
    72  
    80