Utility class to deal with current highlighting state (and stack of states). More...
Public Member Functions | |
Qt4HighlightStateData (HighlightStateData *data) | |
Constructs a Qt4HighlightStateData using the passed HighlightStateData (this object becomes the owner of the passed HighlightStateData). | |
void | updateData (HighlightStateData *data) |
Updates the HighlightStateData of this object, and becomes its owner. | |
Public Attributes | |
HighlightStateData * | highlightData |
Utility class to deal with current highlighting state (and stack of states).
srchiliteqt::Qt4HighlightStateData::Qt4HighlightStateData | ( | HighlightStateData * | data | ) | [inline] |
Constructs a Qt4HighlightStateData using the passed HighlightStateData (this object becomes the owner of the passed HighlightStateData).
data |
void srchiliteqt::Qt4HighlightStateData::updateData | ( | HighlightStateData * | data | ) | [inline] |
Updates the HighlightStateData of this object, and becomes its owner.
If the data of this object was already set, it will be deleted.
data |