/***************************************************************************
                            QDns.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QDnsSignals} for signals emitted by QDns.

 See {@link QDnsEventHandling} for event handlers to override in subclasses of QDns.

*/
public class QDns extends QObject  {
	protected QDns(Class dummy){super((Class) null);}

	private native void newQDns();
	public QDns() {
		super((Class) null);
		newQDns();
	}
	private native void newQDns( String label, int rr);
	public QDns( String label, int rr) {
		super((Class) null);
		newQDns( label, rr);
	}
	private native void newQDns( String label);
	public QDns( String label) {
		super((Class) null);
		newQDns( label);
	}
	private native void newQDns( QHostAddress address, int rr);
	public QDns( QHostAddress address, int rr) {
		super((Class) null);
		newQDns( address, rr);
	}
	private native void newQDns( QHostAddress address);
	public QDns( QHostAddress address) {
		super((Class) null);
		newQDns( address);
	}
	protected native void finalize() throws InternalError;
	public native void setLabel( String label);
	public native void setLabel( QHostAddress address);
	public native String label();
	public native void setRecordType( int rr);
	public native void setRecordType();
	public native int recordType();
	public native boolean isWorking();
	public native ArrayList hostNames();
	public native ArrayList texts();
	public native String canonicalName();
	public native ArrayList qualifiedNames();
	protected native void connectNotify( String signal);
	public static final int None = 0;
	public static final int A = 1;
	public static final int Aaaa = 2;
	public static final int Mx = 3;
	public static final int Srv = 4;
	public static final int Cname = 5;
	public static final int Ptr = 6;
	public static final int Txt = 7;
}
