/***************************************************************************
                            qt_QUrl.h -  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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QURL
#define QT_QURL

#include <qtc/qtc_types.h>

qt_QUrl * qt_new_QUrl();
qt_QUrl * qt_new_QUrl1(qt_QString * url);
qt_QUrl * qt_new_QUrl2(qt_QUrl* url);
qt_QUrl * qt_new_QUrl3(qt_QUrl* url, qt_QString * relUrl, int checkSlash);
void qt_del_QUrl( qt_QUrl* p );
qt_QString * qt_QUrl_protocol(qt_QUrl* instPointer);
void qt_QUrl_setProtocol(qt_QUrl* instPointer,qt_QString * protocol);
qt_QString * qt_QUrl_user(qt_QUrl* instPointer);
void qt_QUrl_setUser(qt_QUrl* instPointer,qt_QString * user);
int qt_QUrl_hasUser(qt_QUrl* instPointer);
qt_QString * qt_QUrl_password(qt_QUrl* instPointer);
void qt_QUrl_setPassword(qt_QUrl* instPointer,qt_QString * pass);
int qt_QUrl_hasPassword(qt_QUrl* instPointer);
qt_QString * qt_QUrl_host(qt_QUrl* instPointer);
void qt_QUrl_setHost(qt_QUrl* instPointer,qt_QString * user);
int qt_QUrl_hasHost(qt_QUrl* instPointer);
int qt_QUrl_port(qt_QUrl* instPointer);
void qt_QUrl_setPort(qt_QUrl* instPointer,int port);
int qt_QUrl_hasPort(qt_QUrl* instPointer);
qt_QString * qt_QUrl_path(qt_QUrl* instPointer,int correct);
void qt_QUrl_setPath(qt_QUrl* instPointer,qt_QString * path);
int qt_QUrl_hasPath(qt_QUrl* instPointer);
void qt_QUrl_setEncodedPathAndQuery(qt_QUrl* instPointer,qt_QString * enc);
qt_QString * qt_QUrl_encodedPathAndQuery(qt_QUrl* instPointer);
void qt_QUrl_setQuery(qt_QUrl* instPointer,qt_QString * txt);
qt_QString * qt_QUrl_query(qt_QUrl* instPointer);
qt_QString * qt_QUrl_ref(qt_QUrl* instPointer);
void qt_QUrl_setRef(qt_QUrl* instPointer,qt_QString * txt);
int qt_QUrl_hasRef(qt_QUrl* instPointer);
int qt_QUrl_isValid(qt_QUrl* instPointer);
int qt_QUrl_isLocalFile(qt_QUrl* instPointer);
void qt_QUrl_addPath(qt_QUrl* instPointer,qt_QString * path);
void qt_QUrl_setFileName(qt_QUrl* instPointer,qt_QString * txt);
qt_QString * qt_QUrl_fileName(qt_QUrl* instPointer);
qt_QString * qt_QUrl_dirPath(qt_QUrl* instPointer);
qt_QString * qt_QUrl_toString(qt_QUrl* instPointer,int encodedPath, int forcePrependProtocol);
int qt_QUrl_cdUp(qt_QUrl* instPointer);
void qt_QUrl_decode( qt_QString * url);
void qt_QUrl_encode( qt_QString * url);
int qt_QUrl_isRelativeUrl( qt_QString * url);
void qt_QUrl_reset(qt_QUrl* instPointer);
int qt_QUrl_parse(qt_QUrl* instPointer,qt_QString * url);

#endif
