summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSycocaEntry.java
blob: 5e14ff5951abefc4541fbffac8e74d52531ae6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.QDataStream;

/**

 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/kdeqt/kde3arch/ksycoca#html

*/
public class KSycocaEntry extends KShared  {
	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(QDataStream s);
	/**	
			 Load ourselves from the database. Don't call the parent class!
		    		@short
	*/
	public native void load(QDataStream arg1);
	/**	
		 Safe demarshalling functions.
		    		@short    Safe demarshalling functions.
	*/
	public static native void read(QDataStream s, StringBuffer str);
	public static native void read(QDataStream s, String[] list);
}