summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QIconViewItem.java
blob: 3572432d4ec7865ca592d5acf9c8b13abe18cd28 (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.kde.qt;

import org.kde.qt.Qt;

public class QIconViewItem extends Qt  {
	protected QIconViewItem(Class dummy){super((Class) null);}
	public QIconViewItem(QIconView parent) {
		super((Class) null);
		newQIconViewItem(parent);
	}
	private native void newQIconViewItem(QIconView parent);
	public QIconViewItem(QIconView parent, QIconViewItem after) {
		super((Class) null);
		newQIconViewItem(parent,after);
	}
	private native void newQIconViewItem(QIconView parent, QIconViewItem after);
	public QIconViewItem(QIconView parent, String text) {
		super((Class) null);
		newQIconViewItem(parent,text);
	}
	private native void newQIconViewItem(QIconView parent, String text);
	public QIconViewItem(QIconView parent, QIconViewItem after, String text) {
		super((Class) null);
		newQIconViewItem(parent,after,text);
	}
	private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text);
	public QIconViewItem(QIconView parent, String text, QPixmap icon) {
		super((Class) null);
		newQIconViewItem(parent,text,icon);
	}
	private native void newQIconViewItem(QIconView parent, String text, QPixmap icon);
	public QIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon) {
		super((Class) null);
		newQIconViewItem(parent,after,text,icon);
	}
	private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon);
	public QIconViewItem(QIconView parent, String text, QPicture picture) {
		super((Class) null);
		newQIconViewItem(parent,text,picture);
	}
	private native void newQIconViewItem(QIconView parent, String text, QPicture picture);
	public QIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture) {
		super((Class) null);
		newQIconViewItem(parent,after,text,picture);
	}
	private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture 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 QPixmap pixmap();
	public native QPicture picture();
	public native String key();
	public native boolean renameEnabled();
	public native boolean dragEnabled();
	public native boolean dropEnabled();
	public native QIconView iconView();
	public native QIconViewItem prevItem();
	public native QIconViewItem 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(QPoint pnt);
	public native void moveBy(QPoint pnt);
	public native QRect rect();
	public native int x();
	public native int y();
	public native int width();
	public native int height();
	public native QSize size();
	public native QPoint pos();
	public native QRect textRect(boolean relative);
	public native QRect textRect();
	public native QRect pixmapRect(boolean relative);
	public native QRect pixmapRect();
	public native boolean contains(QPoint pnt);
	public native boolean intersects(QRect r);
	public native boolean acceptDrop(QMimeSourceInterface mime);
	public native void rename();
	public native int compare(QIconViewItem i);
	public native void setText(String text);
	public native void setPixmap(QPixmap icon);
	public native void setPicture(QPicture icon);
	public native void setText(String text, boolean recalc, boolean redraw);
	public native void setText(String text, boolean recalc);
	public native void setPixmap(QPixmap icon, boolean recalc, boolean redraw);
	public native void setPixmap(QPixmap 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(QPainter p, QColorGroup cg);
	protected native void paintFocus(QPainter p, QColorGroup cg);
	// void dropped(QDropEvent* arg1,const QValueList<QIconDragItem>& arg2); >>>> NOT CONVERTED
	protected native void dragEntered();
	protected native void dragLeft();
	protected native void setItemRect(QRect r);
	protected native void setTextRect(QRect r);
	protected native void setPixmapRect(QRect 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();
}