CharacterSelectDialog::CharacterSelectDialog(QWidget *parent, const QString &name, const QChar &_chr, const QString &_font, bool _modal) : KoDialog(parent), d(new Private()) { setCaption(i18n("Select Character")); setModal(_modal); setButtons(Ok | Cancel); setDefaultButton(Ok); setObjectName(name); initDialog(_chr, _font); KGuiItem okItem = KStandardGuiItem::ok(); // start from std item to keep the OK icon... okItem.setText(i18n("&Insert")); okItem.setWhatsThis(i18n("Insert the selected character in the text")); setButtonGuiItem(KoDialog::Ok, okItem); }