src/hbwidgets/widgets/hblabel.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
   492     Q_D(const HbLabel);
   492     Q_D(const HbLabel);
   493     return d->mActivePrimitive == HbStyle::P_None;
   493     return d->mActivePrimitive == HbStyle::P_None;
   494 }
   494 }
   495 
   495 
   496 /*!
   496 /*!
       
   497 
       
   498     \deprecated HbLabel::primitive(HbStyle::Primitive)
       
   499         is deprecated.
       
   500 
   497     Returns a pointer to the QGraphicsItem primitive used by this label.
   501     Returns a pointer to the QGraphicsItem primitive used by this label.
   498     \param primitive - the type of graphics primitive required.
   502     \param primitive - the type of graphics primitive required.
   499     HbLabel supports HbStyle::P_Label_text and HbStyle::P_Label_icon.
   503     HbLabel supports HbStyle::P_Label_text and HbStyle::P_Label_icon.
   500     \return the QGraphicsItem used by the label. It is 0 if type \a primitive not currently in use.
   504     \return the QGraphicsItem used by the label. It is 0 if type \a primitive not currently in use.
   501     It is also 0 if the text or icon object is empty.
   505     It is also 0 if the text or icon object is empty.