Qt 4.8
Macros | Enumerations
qsjiscodec.cpp File Reference
#include "qsjiscodec.h"
#include "qlist.h"

Go to the source code of this file.

Macros

#define IsKana(c)   (((c) >= 0xa1) && ((c) <= 0xdf))
 
#define IsSjisChar1(c)
 
#define IsSjisChar2(c)   (((c) >= 0x40) && ((c) != 0x7f) && ((c) <= 0xfc))
 
#define IsUserDefinedChar1(c)   (((c) >= 0xf0) && ((c) <= 0xfc))
 
#define QValidChar(u)   ((u) ? QChar((ushort)(u)) : QChar(QChar::ReplacementCharacter))
 

Enumerations

enum  { Esc = 0x1b }
 

Macro Definition Documentation

◆ IsKana

#define IsKana (   c)    (((c) >= 0xa1) && ((c) <= 0xdf))

Definition at line 61 of file qsjiscodec.cpp.

Referenced by QSjisCodec::convertToUnicode().

◆ IsSjisChar1

#define IsSjisChar1 (   c)
Value:
((((c) >= 0x81) && ((c) <= 0x9f)) || \
(((c) >= 0xe0) && ((c) <= 0xfc)))
unsigned char c[8]
Definition: qnumeric_p.h:62

Definition at line 62 of file qsjiscodec.cpp.

Referenced by QSjisCodec::convertToUnicode().

◆ IsSjisChar2

#define IsSjisChar2 (   c)    (((c) >= 0x40) && ((c) != 0x7f) && ((c) <= 0xfc))

Definition at line 64 of file qsjiscodec.cpp.

Referenced by QSjisCodec::convertToUnicode().

◆ IsUserDefinedChar1

#define IsUserDefinedChar1 (   c)    (((c) >= 0xf0) && ((c) <= 0xfc))

Definition at line 65 of file qsjiscodec.cpp.

Referenced by QSjisCodec::convertToUnicode().

◆ QValidChar

#define QValidChar (   u)    ((u) ? QChar((ushort)(u)) : QChar(QChar::ReplacementCharacter))

Definition at line 67 of file qsjiscodec.cpp.

Referenced by QSjisCodec::convertToUnicode().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Esc 

Definition at line 57 of file qsjiscodec.cpp.

57  {
58  Esc = 0x1b
59 };