⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qrtlcodec.h

📁 著名的A780系列,E680系列的SDK开发包
💻 H
字号:
/* * Copyright (c) 1999 Lars Knoll <knoll@mpi-hd.mpg.de>, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted under the terms of the QPL, Version 1.0 * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */#ifndef QRTLCODEC_H#define QRTLCODEC_H#ifndef QT_H#include "qtextcodec.h"#endif // QT_H#ifndef QT_NO_RTLCODECclass Q_EXPORT QHebrewCodec : public QTextCodec {public:    virtual int mibEnum() const;    const char* name() const;    QCString fromUnicode(const QString& uc, int& len_in_out) const;    QString toUnicode(const char* chars, int len) const;    int heuristicContentMatch(const char* chars, int len) const;protected:    virtual bool to8bit(const QChar ch, QCString *str) const;     QString toUnicode(const char* chars, int len, const ushort *table) const;};class Q_EXPORT QArabicCodec : public QHebrewCodec {public:    virtual int mibEnum() const;    const char* name() const;    QString toUnicode(const char* chars, int len) const;    int heuristicContentMatch(const char* chars, int len) const;protected:    virtual bool to8bit(const QChar ch, QCString *str) const; };#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -