# Python wrapper code.
#
# Generated by SIP 3.8 (build 109) on Fri Dec 12 05:05:41 2003
#
# Copyright (c) 2003
# 	Riverbank Computing Limited <info@riverbankcomputing.co.uk>
# 
# This file is part of PyQt.
# 
# This copy of PyQt is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
# 
# PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
# 
# You should have received a copy of the GNU General Public License along with
# PyQt; see the file LICENSE.  If not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

import libsip

from qt import QIODevice
from qt import QObject
import libqtnetworkc

libqtnetworkc.sipInitModule(__name__)

class QDns(QObject):
	def __init__(self,*args):
		libqtnetworkc.sipCallCtor(5,self,args)

	class MailServer:
		def __init__(self,*args):
			libqtnetworkc.sipCallCtor(4,self,args)
		def __getattr__(self,name):
			return libqtnetworkc.sipCallGetVar(4,self,name)
		def __setattr__(self,name,value):
			return libqtnetworkc.sipCallSetVar(4,self,name,value)

	class Server:
		def __init__(self,*args):
			libqtnetworkc.sipCallCtor(3,self,args)
		def __getattr__(self,name):
			return libqtnetworkc.sipCallGetVar(3,self,name)
		def __setattr__(self,name,value):
			return libqtnetworkc.sipCallSetVar(3,self,name,value)

class QHostAddress:
	def __init__(self,*args):
		libqtnetworkc.sipCallCtor(2,self,args)

class QServerSocket(QObject):
	def __init__(self,*args):
		libqtnetworkc.sipCallCtor(1,self,args)

class QSocket(QObject,QIODevice):
	def __init__(self,*args):
		libqtnetworkc.sipCallCtor(0,self,args)

# Register the classes with the C++ module.

libqtnetworkc.sipRegisterClasses()
