//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQDataStream;

/**

 Base class for all Sycoca entries.
 You can't create an instance of KSycocaEntry, but it provides
 the common functionality for servicetypes and services.
		@short    Base class for all Sycoca entries.
		@see #http://developer#kde#org/documentation/library/kdetqt/trinityarch/tdesycoca#html

*/
public class KSycocaEntry extends TDEShared  {
	protected KSycocaEntry(Class dummy){super((Class) null);}
	public native boolean isType(int t);
	public native int sycocaType();
	/**
		 Default constructor
		    		@short    Default constructor
	*/
	/**
			 Restores itself from a stream.
		    		@short
	*/
	/**
				@return the name of this entry

		@short
	*/
	public native String name();
	/**
				@return the path of this entry
 The path can be absolute or relative.
 The corresponding factory should know relative to what.

		@short
	*/
	public native String entryPath();
	/**
				@return true if valid

		@short
	*/
	public native boolean isValid();
	/**
				@return true if deleted

		@short
	*/
	public native boolean isDeleted();
	/**
				@return the position of the entry in the sycoca file

		@short
	*/
	public native int offset();
	/**
			 Save ourselves to the database. Don't forget to call the parent class
		 first if you override this function.
		    		@short
	*/
	public native void save(TQDataStream s);
	/**
			 Load ourselves from the database. Don't call the parent class!
		    		@short
	*/
	public native void load(TQDataStream arg1);
	/**
		 Safe demarshalling functions.
		    		@short    Safe demarshalling functions.
	*/
	public static native void read(TQDataStream s, StringBuffer str);
	public static native void read(TQDataStream s, String[] list);
}
