summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSycocaEntry.java
blob: 89efbcecddee55851b772fb42eb00c249e6ec832 (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.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/kdeqt/trinityarch/tdesycoca#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(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);
}