-TextItem::TextItem(std::string text, std::shared_ptr<AbstractAction> action)
- : AbstractItem(AbstractItem::Type::Text), impl_(new Impl(text)) {
-}
-
-TextItem::TextItem(std::string id, std::string text,
- std::shared_ptr<AbstractAction> action)
- : AbstractItem(id, AbstractItem::Type::Text), impl_(new Impl(text)) {
+TextItem::TextItem(std::string id, std::string text, std::string hyperlink,
+ std::shared_ptr<AbstractAction> action)
+ : AbstractItem(id, action), impl_(new Impl(this, text, hyperlink)) {