MD::ItemWithOpts Class
template <typename Trait> class MD::ItemWithOptsBase class for items with style options. More...
Header: | #include <md4qt/doc.h> |
CMake: | find_package(md4qt REQUIRED COMPONENTS md4qt) target_link_libraries(mytarget PRIVATE md4qt::md4qt) |
Inherits: | MD::Item |
Inherited By: | MD::Code, MD::LinkBase, MD::RawHtml, and MD::Text |
Public Types
Public Functions
void | applyItemWithOpts(const MD::ItemWithOpts<Trait> &other) |
MD::ItemWithOpts<Trait>::Styles & | closeStyles() |
const MD::ItemWithOpts<Trait>::Styles & | closeStyles() const |
MD::ItemWithOpts<Trait>::Styles & | openStyles() |
const MD::ItemWithOpts<Trait>::Styles & | openStyles() const |
int | opts() const |
void | setOpts(int o) |
Detailed Description
Base class for items that can have style options. These are all items in Paragraph.
Member Type Documentation
[alias]
ItemWithOpts::Styles
Type of list of emphasis.
Member Function Documentation
void ItemWithOpts::applyItemWithOpts(const MD::ItemWithOpts<Trait> &other)
Apply other item with options to this.
other Value to apply.
MD::ItemWithOpts<Trait>::Styles &ItemWithOpts::closeStyles()
Returns list of all closing emphasises.
const MD::ItemWithOpts<Trait>::Styles &ItemWithOpts::closeStyles() const
Returns list of all closing emphasises.
MD::ItemWithOpts<Trait>::Styles &ItemWithOpts::openStyles()
Returns list of all opening emphasises.
const MD::ItemWithOpts<Trait>::Styles &ItemWithOpts::openStyles() const
Returns list of all opening emphasises.
int ItemWithOpts::opts() const
Returns style options.
See also setOpts().
void ItemWithOpts::setOpts(int o)
Set style options.
o New value.
See also opts().