Qtリファレンス QTextCodec 新しいページはコチラ
提供: yonewiki
(→概要) |
(→概要) |
||
2行: | 2行: | ||
#include<QTextCodec>をインクルードする必要があります。 | #include<QTextCodec>をインクルードする必要があります。 | ||
− | + | QTextCodecクラスは純粋仮想関数を含んでいます。継承して純粋仮想関数(name, mibEnum, convertToUnicord, convertFromUnicode)を新規に定義したクラスを作らないとQTextCodecの実体を作ることは出来ません。以下のようにメンバ関数だけを使うことは簡単に出来ます。 | |
*<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; ">void QTextCodec::setCodecForLocale(QTextCodec* QTextCodecLocale)</span> | *<span style = "background:linear-gradient(transparent 75%, #ffbf7f 75%); font-weight:bold; ">void QTextCodec::setCodecForLocale(QTextCodec* QTextCodecLocale)</span> |