summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQIconViewItem.java
blob: ec2d70eabf019dc94b9c9a3bcddc4ac73c197c0a (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQIconViewItem extends Qt  {
	protected TQIconViewItem(Class dummy){super((Class) null);}
	public TQIconViewItem(TQIconView parent) {
		super((Class) null);
		newTQIconViewItem(parent);
	}
	private native void newTQIconViewItem(TQIconView parent);
	public TQIconViewItem(TQIconView parent, TQIconViewItem after) {
		super((Class) null);
		newTQIconViewItem(parent,after);
	}
	private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after);
	public TQIconViewItem(TQIconView parent, String text) {
		super((Class) null);
		newTQIconViewItem(parent,text);
	}
	private native void newTQIconViewItem(TQIconView parent, String text);
	public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text) {
		super((Class) null);
		newTQIconViewItem(parent,after,text);
	}
	private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text);
	public TQIconViewItem(TQIconView parent, String text, TQPixmap icon) {
		super((Class) null);
		newTQIconViewItem(parent,text,icon);
	}
	private native void newTQIconViewItem(TQIconView parent, String text, TQPixmap icon);
	public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) {
		super((Class) null);
		newTQIconViewItem(parent,after,text,icon);
	}
	private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon);
	public TQIconViewItem(TQIconView parent, String text, TQPicture picture) {
		super((Class) null);
		newTQIconViewItem(parent,text,picture);
	}
	private native void newTQIconViewItem(TQIconView parent, String text, TQPicture picture);
	public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) {
		super((Class) null);
		newTQIconViewItem(parent,after,text,picture);
	}
	private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture);
	public native void setRenameEnabled(boolean allow);
	public native void setDragEnabled(boolean allow);
	public native void setDropEnabled(boolean allow);
	public native String text();
	public native TQPixmap pixmap();
	public native TQPicture picture();
	public native String key();
	public native boolean renameEnabled();
	public native boolean dragEnabled();
	public native boolean dropEnabled();
	public native TQIconView iconView();
	public native TQIconViewItem prevItem();
	public native TQIconViewItem nextItem();
	public native int index();
	public native void setSelected(boolean s, boolean cb);
	public native void setSelected(boolean s);
	public native void setSelectable(boolean s);
	public native boolean isSelected();
	public native boolean isSelectable();
	public native void repaint();
	public native boolean move(int x, int y);
	public native void moveBy(int dx, int dy);
	public native boolean move(TQPoint pnt);
	public native void moveBy(TQPoint pnt);
	public native TQRect rect();
	public native int x();
	public native int y();
	public native int width();
	public native int height();
	public native TQSize size();
	public native TQPoint pos();
	public native TQRect textRect(boolean relative);
	public native TQRect textRect();
	public native TQRect pixmapRect(boolean relative);
	public native TQRect pixmapRect();
	public native boolean contains(TQPoint pnt);
	public native boolean intersects(TQRect r);
	public native boolean acceptDrop(TQMimeSourceInterface mime);
	public native void rename();
	public native int compare(TQIconViewItem i);
	public native void setText(String text);
	public native void setPixmap(TQPixmap icon);
	public native void setPicture(TQPicture icon);
	public native void setText(String text, boolean recalc, boolean redraw);
	public native void setText(String text, boolean recalc);
	public native void setPixmap(TQPixmap icon, boolean recalc, boolean redraw);
	public native void setPixmap(TQPixmap icon, boolean recalc);
	public native void setKey(String k);
	public native int rtti();
	protected native void removeRenameBox();
	protected native void calcRect(String text_);
	protected native void calcRect();
	protected native void paintItem(TQPainter p, TQColorGroup cg);
	protected native void paintFocus(TQPainter p, TQColorGroup cg);
	// void dropped(TQDropEvent* arg1,const TQValueList<TQIconDragItem>& arg2); >>>> NOT CONVERTED
	protected native void dragEntered();
	protected native void dragLeft();
	protected native void setItemRect(TQRect r);
	protected native void setTextRect(TQRect r);
	protected native void setPixmapRect(TQRect r);
	protected native void calcTmpText();
	protected native String tempText();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}