/***************************************************************************
                            kde_KStringHandler.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 "kde_KStringHandler.h"
}

#include <kstringhandler.h>

qt_QString * kde_KStringHandler_word( qt_QString * text, unsigned int pos){
	return (qt_QString *)new QString(KStringHandler::word((QString&)* (QString*)text, (uint)pos));
}
qt_QString * kde_KStringHandler_word1( qt_QString * text, char* range){
	return (qt_QString *)new QString(KStringHandler::word((QString&)* (QString*)text, (char*)range));
}
qt_QString * kde_KStringHandler_insword( qt_QString * text, qt_QString * word, unsigned int pos){
	return (qt_QString *)new QString(KStringHandler::insword((QString&)* (QString*)text, (QString&)* (QString*)word, (uint)pos));
}
qt_QString * kde_KStringHandler_setword( qt_QString * text, qt_QString * word, unsigned int pos){
	return (qt_QString *)new QString(KStringHandler::setword((QString&)* (QString*)text, (QString&)* (QString*)word, (uint)pos));
}
qt_QString * kde_KStringHandler_remrange( qt_QString * text, char* range){
	return (qt_QString *)new QString(KStringHandler::remrange((QString&)* (QString*)text, (char*)range));
}
qt_QString * kde_KStringHandler_remword( qt_QString * text, unsigned int pos){
	return (qt_QString *)new QString(KStringHandler::remword((QString&)* (QString*)text, (uint)pos));
}
qt_QString * kde_KStringHandler_remword1( qt_QString * text, qt_QString * word){
	return (qt_QString *)new QString(KStringHandler::remword((QString&)* (QString*)text, (QString&)* (QString*)word));
}
qt_QString * kde_KStringHandler_capwords( qt_QString * text){
	return (qt_QString *)new QString(KStringHandler::capwords((QString&)* (QString*)text));
}
qt_QStringList* kde_KStringHandler_capwords1( qt_QStringList* list){
	return (qt_QStringList*)new QStringList(KStringHandler::capwords((QStringList&)* (QStringList*)list));
}
qt_QString * kde_KStringHandler_reverse( qt_QString * text){
	return (qt_QString *)new QString(KStringHandler::reverse((QString&)* (QString*)text));
}
qt_QStringList* kde_KStringHandler_reverse1( qt_QStringList* list){
	return (qt_QStringList*)new QStringList(KStringHandler::reverse((QStringList&)* (QStringList*)list));
}
qt_QString * kde_KStringHandler_ljust( qt_QString * text, unsigned int width){
	return (qt_QString *)new QString(KStringHandler::ljust((QString&)* (QString*)text, (uint)width));
}
qt_QString * kde_KStringHandler_rjust( qt_QString * text, unsigned int width){
	return (qt_QString *)new QString(KStringHandler::rjust((QString&)* (QString*)text, (uint)width));
}
qt_QString * kde_KStringHandler_center( qt_QString * text, unsigned int width){
	return (qt_QString *)new QString(KStringHandler::center((QString&)* (QString*)text, (uint)width));
}
qt_QString * kde_KStringHandler_lsqueeze( qt_QString * str, unsigned int maxlen){
	return (qt_QString *)new QString(KStringHandler::lsqueeze((QString&)* (QString*)str, (uint)maxlen));
}
qt_QString * kde_KStringHandler_csqueeze( qt_QString * str, unsigned int maxlen){
	return (qt_QString *)new QString(KStringHandler::csqueeze((QString&)* (QString*)str, (uint)maxlen));
}
qt_QString * kde_KStringHandler_rsqueeze( qt_QString * str, unsigned int maxlen){
	return (qt_QString *)new QString(KStringHandler::rsqueeze((QString&)* (QString*)str, (uint)maxlen));
}
int kde_KStringHandler_matchFileName( qt_QString * filename, qt_QString * pattern){
	return (int) KStringHandler::matchFileName((QString&)* (QString*)filename, (QString&)* (QString*)pattern);
}
qt_QStringList* kde_KStringHandler_perlSplit( qt_QString * sep, qt_QString * s, unsigned int max){
	return (qt_QStringList*)new QStringList(KStringHandler::perlSplit((QString&)* (QString*)sep, (QString&)* (QString*)s, (uint)max));
}
qt_QStringList* kde_KStringHandler_perlSplit1( qt_QChar* sep, qt_QString * s, unsigned int max){
	return (qt_QStringList*)new QStringList(KStringHandler::perlSplit((QChar&)* (QChar*)sep, (QString&)* (QString*)s, (uint)max));
}
qt_QStringList* kde_KStringHandler_perlSplit2( qt_QRegExp* sep, qt_QString * s, unsigned int max){
	return (qt_QStringList*)new QStringList(KStringHandler::perlSplit((QRegExp&)* (QRegExp*)sep, (QString&)* (QString*)s, (uint)max));
}
