/***************************************************************************
                            QTranslator.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 QTranslatorSignals} for signals emitted by QTranslator.

 See {@link QTranslatorEventHandling} for event handlers to override in subclasses of QTranslator.

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

	private native void newQTranslator( QObject parent, String name);
	public QTranslator( QObject parent, String name) {
		super((Class) null);
		newQTranslator( parent, name);
	}
	private native void newQTranslator( QObject parent);
	public QTranslator( QObject parent) {
		super((Class) null);
		newQTranslator( parent);
	}
	protected native void finalize() throws InternalError;
	public native String find( String context, String sourceText, String comment);
	public native QTranslatorMessage findMessage( String arg1, String arg2, String arg3);
	public native boolean load( String filename, String directory, String search_delimiters, String suffix);
	public native boolean load( String filename);
	public native void clear();
	public native boolean save( String filename, int mode);
	public native boolean save( String filename);
	public native void insert( QTranslatorMessage arg1);
	public native void insert( String context, String sourceText, String translation);
	public native void remove( QTranslatorMessage arg1);
	public native void remove( String context, String sourceText);
	public native boolean contains( String arg1, String arg2, String comment);
	public native boolean contains( String arg1, String arg2);
	public native void squeeze( int arg1);
	public native void squeeze();
	public native void unsqueeze();
	public static final int Everything = 0;
	public static final int Stripped = 1;
}
