void MsgFormatterWidget::handleBold () { CharFormatActor (boost::bind (&QTextCharFormat::setFontWeight, _1, FormatBold_->isChecked () ? QFont::Bold : QFont::Normal)); }
void MsgFormatterWidget::handleStrikeThrough () { CharFormatActor ([this] (QTextCharFormat *fmt) { fmt->setFontStrikeOut (FormatStrikeThrough_->isChecked ()); }); }
void MsgFormatterWidget::handleItalic () { CharFormatActor ([this] (QTextCharFormat *fmt) { fmt->setFontItalic (FormatItalic_->isChecked ()); }); }
void MsgFormatterWidget::handleUnderline () { CharFormatActor ([this] (QTextCharFormat *fmt) { fmt->setFontUnderline (FormatUnderline_->isChecked ()); }); }
void MsgFormatterWidget::handleBold () { CharFormatActor ([this] (QTextCharFormat *fmt) { fmt->setFontWeight (FormatBold_->isChecked () ? QFont::Bold : QFont::Normal); }); }