/***************************************************************************
                            qt_QCharRef.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QCharRef.h"
}

#include <qstring.h>

unsigned short qt_QCharRef_unicode( qt_QCharRef* instPointer){
	return (unsigned short) ((QCharRef*)instPointer)->unicode();
}
char qt_QCharRef_latin1( qt_QCharRef* instPointer){
	return (char) ((QCharRef*)instPointer)->latin1();
}
int qt_QCharRef_isNull( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isNull();
}
int qt_QCharRef_isPrint( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isPrint();
}
int qt_QCharRef_isPunct( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isPunct();
}
int qt_QCharRef_isSpace( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isSpace();
}
int qt_QCharRef_isMark( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isMark();
}
int qt_QCharRef_isLetter( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isLetter();
}
int qt_QCharRef_isNumber( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isNumber();
}
int qt_QCharRef_isLetterOrNumber( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isLetterOrNumber();
}
int qt_QCharRef_isDigit( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->isDigit();
}
int qt_QCharRef_digitValue( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->digitValue();
}
qt_QChar* qt_QCharRef_lower( qt_QCharRef* instPointer){
	return (qt_QChar*)new QChar(((QCharRef*)instPointer)->lower());
}
qt_QChar* qt_QCharRef_upper( qt_QCharRef* instPointer){
	return (qt_QChar*)new QChar(((QCharRef*)instPointer)->upper());
}
int qt_QCharRef_category( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->category();
}
int qt_QCharRef_direction( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->direction();
}
int qt_QCharRef_joining( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->joining();
}
int qt_QCharRef_mirrored( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->mirrored();
}
qt_QChar* qt_QCharRef_mirroredChar( qt_QCharRef* instPointer){
	return (qt_QChar*)new QChar(((QCharRef*)instPointer)->mirroredChar());
}
qt_QString * qt_QCharRef_decomposition( qt_QCharRef* instPointer){
	return (qt_QString *) (const QString *)&((QCharRef*)instPointer)->decomposition();
}
int qt_QCharRef_decompositionTag( qt_QCharRef* instPointer){
	return (int) ((QCharRef*)instPointer)->decompositionTag();
}
unsigned char qt_QCharRef_combiningClass( qt_QCharRef* instPointer){
	return (unsigned char) ((QCharRef*)instPointer)->combiningClass();
}
unsigned char qt_QCharRef_cell( qt_QCharRef* instPointer){
	return (unsigned char) ((QCharRef*)instPointer)->cell();
}
unsigned char qt_QCharRef_row( qt_QCharRef* instPointer){
	return (unsigned char) ((QCharRef*)instPointer)->row();
}
