diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QIconView.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QIconView.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QIconView.java | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/qtjava/javalib/org/kde/qt/QIconView.java b/qtjava/javalib/org/kde/qt/QIconView.java index efb0ced0..5bf2ea6e 100644 --- a/qtjava/javalib/org/kde/qt/QIconView.java +++ b/qtjava/javalib/org/kde/qt/QIconView.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QIconViewSignals} for signals emitted by QIconView + See {@link TQIconViewSignals} for signals emitted by TQIconView */ -public class QIconView extends QScrollView { - protected QIconView(Class dummy){super((Class) null);} +public class TQIconView extends TQScrollView { + protected TQIconView(Class dummy){super((Class) null);} public static final int Single = 0; public static final int Multi = 1; public static final int Extended = 2; @@ -22,53 +22,53 @@ public class QIconView extends QScrollView { public static final int Bottom = 0; public static final int Right = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QIconView(QWidget parent, String name, int f) { + public TQIconView(TQWidget parent, String name, int f) { super((Class) null); - newQIconView(parent,name,f); + newTQIconView(parent,name,f); } - private native void newQIconView(QWidget parent, String name, int f); - public QIconView(QWidget parent, String name) { + private native void newTQIconView(TQWidget parent, String name, int f); + public TQIconView(TQWidget parent, String name) { super((Class) null); - newQIconView(parent,name); + newTQIconView(parent,name); } - private native void newQIconView(QWidget parent, String name); - public QIconView(QWidget parent) { + private native void newTQIconView(TQWidget parent, String name); + public TQIconView(TQWidget parent) { super((Class) null); - newQIconView(parent); + newTQIconView(parent); } - private native void newQIconView(QWidget parent); - public QIconView() { + private native void newTQIconView(TQWidget parent); + public TQIconView() { super((Class) null); - newQIconView(); + newTQIconView(); } - private native void newQIconView(); - public native void insertItem(QIconViewItem item, QIconViewItem after); - public native void insertItem(QIconViewItem item); - public native void takeItem(QIconViewItem item); - public native int index(QIconViewItem item); - public native QIconViewItem firstItem(); - public native QIconViewItem lastItem(); - public native QIconViewItem currentItem(); - public native void setCurrentItem(QIconViewItem item); - public native void setSelected(QIconViewItem item, boolean s, boolean cb); - public native void setSelected(QIconViewItem item, boolean s); + private native void newTQIconView(); + public native void insertItem(TQIconViewItem item, TQIconViewItem after); + public native void insertItem(TQIconViewItem item); + public native void takeItem(TQIconViewItem item); + public native int index(TQIconViewItem item); + public native TQIconViewItem firstItem(); + public native TQIconViewItem lastItem(); + public native TQIconViewItem currentItem(); + public native void setCurrentItem(TQIconViewItem item); + public native void setSelected(TQIconViewItem item, boolean s, boolean cb); + public native void setSelected(TQIconViewItem item, boolean s); public native int count(); - public native void showEvent(QShowEvent arg1); + public native void showEvent(TQShowEvent arg1); public native void setSelectionMode(int m); public native int selectionMode(); - public native QIconViewItem findItem(QPoint pos); - public native QIconViewItem findItem(String text, int compare); - public native QIconViewItem findItem(String text); + public native TQIconViewItem findItem(TQPoint pos); + public native TQIconViewItem findItem(String text, int compare); + public native TQIconViewItem findItem(String text); public native void selectAll(boolean select); public native void clearSelection(); public native void invertSelection(); - public native void repaintItem(QIconViewItem item); + public native void repaintItem(TQIconViewItem item); public native void repaintSelectedItems(); - public native void ensureItemVisible(QIconViewItem item); - public native QIconViewItem findFirstVisibleItem(QRect r); - public native QIconViewItem findLastVisibleItem(QRect r); + public native void ensureItemVisible(TQIconViewItem item); + public native TQIconViewItem findFirstVisibleItem(TQRect r); + public native TQIconViewItem findLastVisibleItem(TQRect r); public native void clear(); public native void setGridX(int rx); public native void setGridY(int ry); @@ -78,8 +78,8 @@ public class QIconView extends QScrollView { public native int spacing(); public native void setItemTextPos(int pos); public native int itemTextPos(); - public native void setItemTextBackground(QBrush b); - public native QBrush itemTextBackground(); + public native void setItemTextBackground(TQBrush b); + public native TQBrush itemTextBackground(); public native void setArrangement(int am); public native int arrangement(); public native void setResizeMode(int am); @@ -100,47 +100,47 @@ public class QIconView extends QScrollView { public native boolean itemsMovable(); public native void setWordWrapIconText(boolean b); public native boolean wordWrapIconText(); - public native boolean eventFilter(QObject o, QEvent arg2); - public native QSize minimumSizeHint(); - public native QSize sizeHint(); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native TQSize minimumSizeHint(); + public native TQSize sizeHint(); public native void sort(boolean ascending); public native void sort(); - public native void setFont(QFont arg1); - public native void setPalette(QPalette arg1); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); public native boolean isRenaming(); - public native void arrangeItemsInGrid(QSize grid, boolean update); - public native void arrangeItemsInGrid(QSize grid); + public native void arrangeItemsInGrid(TQSize grid, boolean update); + public native void arrangeItemsInGrid(TQSize grid); public native void arrangeItemsInGrid(boolean update); public native void arrangeItemsInGrid(); public native void setContentsPos(int x, int y); public native void updateContents(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsMouseReleaseEvent(QMouseEvent e); - protected native void contentsMouseMoveEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void contentsContextMenuEvent(QContextMenuEvent e); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent e); - protected native void resizeEvent(QResizeEvent e); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void enterEvent(QEvent e); - protected native void drawRubber(QPainter p); - protected native QDragObject dragObject(); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void enterEvent(TQEvent e); + protected native void drawRubber(TQPainter p); + protected native TQDragObject dragObject(); protected native void startDrag(); - protected native void insertInGrid(QIconViewItem item); - protected native void drawBackground(QPainter p, QRect r); - protected native void emitSelectionChanged(QIconViewItem i); + protected native void insertInGrid(TQIconViewItem item); + protected native void drawBackground(TQPainter p, TQRect r); + protected native void emitSelectionChanged(TQIconViewItem i); protected native void emitSelectionChanged(); - protected native void emitRenamed(QIconViewItem item); - protected native QIconViewItem makeRowLayout(QIconViewItem begin, int[] y, boolean changed); - public native void styleChange(QStyle arg1); + protected native void emitRenamed(TQIconViewItem item); + protected native TQIconViewItem makeRowLayout(TQIconViewItem begin, int[] y, boolean changed); + public native void styleChange(TQStyle arg1); protected native void windowActivationChange(boolean arg1); protected native void doAutoScroll(); protected native void adjustItems(); |