source: trunk/doc/html/qsjiscodec.html@ 208

Last change on this file since 208 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 5.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/codecs/qsjiscodec.cpp:42 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QSjisCodec Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QSjisCodec Class Reference</h1>
33
34<p>The QSjisCodec class provides conversion to and from Shift-JIS.
35<a href="#details">More...</a>
36<p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when Qt is built with thread support.</p>
37<p><tt>#include &lt;<a href="qsjiscodec-h.html">qsjiscodec.h</a>&gt;</tt>
38<p>Inherits <a href="qtextcodec.html">QTextCodec</a>.
39<p><a href="qsjiscodec-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn>virtual const char * <a href="#mimeName"><b>mimeName</b></a> () const</li>
43<li class=fn><a href="#QSjisCodec"><b>QSjisCodec</b></a> ()</li>
44<li class=fn><a href="#~QSjisCodec"><b>~QSjisCodec</b></a> ()</li>
45</ul>
46<hr><a name="details"></a><h2>Detailed Description</h2>
47
48
49
50The QSjisCodec class provides conversion to and from Shift-JIS.
51<p> More precisely, the QSjisCodec class subclasses <a href="qtextcodec.html">QTextCodec</a> to
52provide support for Shift-JIS, an encoding of JIS X 0201 Latin, JIS
53X 0201 Kana or JIS X 0208.
54<p> The environment variable <tt>UNICODEMAP_JP</tt> can be used to fine-tune
55<a href="qjiscodec.html">QJisCodec</a>, QSjisCodec and <a href="qeucjpcodec.html">QEucJpCodec</a>. The <a href="qjiscodec.html">QJisCodec</a>
56documentation describes how to use this variable.
57<p> Most of the code here was written by Serika Kurusugawa,
58a.k.a. Junji Takagi, and is included in Qt with the author's
59permission and the grateful thanks of the Trolltech team.
60Here is the copyright statement for the code as it was at the
61point of contribution. Trolltech's subsequent modifications
62are covered by the usual copyright for Qt.
63<p>
64<p> Copyright (C) 1999 Serika Kurusugawa. All rights reserved.
65<p> Redistribution and use in source and binary forms, with or without
66modification, are permitted provided that the following conditions
67are met:
68<ol type=1>
69<li> Redistributions of source code must retain the above copyright
70notice, this list of conditions and the following disclaimer.
71<li> Redistributions in binary form must reproduce the above copyright
72notice, this list of conditions and the following disclaimer in the
73documentation and/or other materials provided with the distribution.
74</ol>
75<p> THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS".
76ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
77IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
78ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
79FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
80DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
81OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
82HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
83LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
84OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
85SUCH DAMAGE.
86<p>See also <a href="i18n.html">Internationalization with Qt</a>.
87
88<hr><h2>Member Function Documentation</h2>
89<h3 class=fn><a name="QSjisCodec"></a>QSjisCodec::QSjisCodec ()
90</h3>
91Creates a Shift-JIS codec. Note that this is done automatically by
92the <a href="qapplication.html">QApplication</a>, you do not need construct your own.
93
94<h3 class=fn><a name="~QSjisCodec"></a>QSjisCodec::~QSjisCodec ()
95</h3>
96Destroys the Shift-JIS codec.
97
98<h3 class=fn>const char * <a name="mimeName"></a>QSjisCodec::mimeName () const<tt> [virtual]</tt>
99</h3>
100Returns the codec's mime name.
101
102<p>Reimplemented from <a href="qtextcodec.html#mimeName">QTextCodec</a>.
103<!-- eof -->
104<hr><p>
105This file is part of the <a href="index.html">Qt toolkit</a>.
106Copyright &copy; 1995-2007
107<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
108<table width=100% cellspacing=0 border=0><tr>
109<td>Copyright &copy; 2007
110<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
111<td align=right><div align=right>Qt 3.3.8</div>
112</table></div></address></body>
113</html>
Note: See TracBrowser for help on using the repository browser.