コード例 #1
0
ファイル: ext3of9.cpp プロジェクト: nimxor/kreport
QString convertTo3of9(const QString &str)
{
    QString result;
    for (int i = 0; i < str.length(); i++) {
        result += convertTo3of9(str.at(i).toLatin1());
    }
    return result;
}
コード例 #2
0
ファイル: ext3of9.cpp プロジェクト: abhishekmurthy/Calligra
void renderExtended3of9(OROPage * page, const QRectF & r, const QString & str, int align)
{
    QString new_str;
    QChar c;

    for (int i = 0; i < str.length(); i++) {
        c = str.at(i);
        new_str += convertTo3of9(c);
    }

    render3of9(page, r, new_str, align);
}
コード例 #3
0
ファイル: ext3of9.cpp プロジェクト: Wushaowei001/xtuple
void renderExtended3of9(const QRect & r, const QString & str, int align, QPainter * pPainter) {
    QString new_str;
    QChar c;

    for(unsigned int i = 0; i < str.length(); i++) {
        c = str.at(i);
        new_str += convertTo3of9(c);
    }

    render3of9(r, new_str, align, pPainter);

    return;
}
コード例 #4
0
ファイル: ext3of9.cpp プロジェクト: nimxor/kreport
void renderExtended3of9(OROPage * page, const QRectF & r, const QString & str, int align)
{
    render3of9(page, r, convertTo3of9(str), align);
}