summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQTable.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:06:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:06:26 -0600
commite1a0e352b6ead69ed6f55476272ace842fbbdf74 (patch)
treef3052eff3deddf34c2297517f59cc178c130feda /qtjava/javalib/org/kde/qt/TQTable.java
parentbf9353f84ee5920dec2872f63de9f07508e7b4a8 (diff)
downloadtdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.tar.gz
tdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.zip
Rename java files to TQ
Diffstat (limited to 'qtjava/javalib/org/kde/qt/TQTable.java')
-rw-r--r--qtjava/javalib/org/kde/qt/TQTable.java212
1 files changed, 212 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/TQTable.java b/qtjava/javalib/org/kde/qt/TQTable.java
new file mode 100644
index 00000000..622e9391
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/TQTable.java
@@ -0,0 +1,212 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link TQTableSignals} for signals emitted by TQTable
+*/
+public class TQTable extends TQScrollView {
+ protected TQTable(Class dummy){super((Class) null);}
+ public static final int Single = 0;
+ public static final int Multi = 1;
+ public static final int SingleRow = 2;
+ public static final int MultiRow = 3;
+ public static final int NoSelection = 4;
+
+ public static final int FollowStyle = 0;
+ public static final int SpreadSheet = 1;
+
+ public static final int NotEditing = 0;
+ public static final int Editing = 1;
+ public static final int Replacing = 2;
+
+ public native TQMetaObject metaObject();
+ public native String className();
+ public TQTable(TQWidget parent, String name) {
+ super((Class) null);
+ newTQTable(parent,name);
+ }
+ private native void newTQTable(TQWidget parent, String name);
+ public TQTable(TQWidget parent) {
+ super((Class) null);
+ newTQTable(parent);
+ }
+ private native void newTQTable(TQWidget parent);
+ public TQTable() {
+ super((Class) null);
+ newTQTable();
+ }
+ private native void newTQTable();
+ public TQTable(int numRows, int numCols, TQWidget parent, String name) {
+ super((Class) null);
+ newTQTable(numRows,numCols,parent,name);
+ }
+ private native void newTQTable(int numRows, int numCols, TQWidget parent, String name);
+ public TQTable(int numRows, int numCols, TQWidget parent) {
+ super((Class) null);
+ newTQTable(numRows,numCols,parent);
+ }
+ private native void newTQTable(int numRows, int numCols, TQWidget parent);
+ public TQTable(int numRows, int numCols) {
+ super((Class) null);
+ newTQTable(numRows,numCols);
+ }
+ private native void newTQTable(int numRows, int numCols);
+ public native TQHeader horizontalHeader();
+ public native TQHeader verticalHeader();
+ public native void setSelectionMode(int mode);
+ public native int selectionMode();
+ public native void setItem(int row, int col, TQTableItem item);
+ public native void setText(int row, int col, String text);
+ public native void setPixmap(int row, int col, TQPixmap pix);
+ public native TQTableItem item(int row, int col);
+ public native String text(int row, int col);
+ public native TQPixmap pixmap(int row, int col);
+ public native void clearCell(int row, int col);
+ public native TQRect cellGeometry(int row, int col);
+ public native int columnWidth(int col);
+ public native int rowHeight(int row);
+ public native int columnPos(int col);
+ public native int rowPos(int row);
+ public native int columnAt(int x);
+ public native int rowAt(int y);
+ public native int numRows();
+ public native int numCols();
+ public native void updateCell(int row, int col);
+ public native boolean eventFilter(TQObject o, TQEvent arg2);
+ public native int currentRow();
+ public native int currentColumn();
+ public native void ensureCellVisible(int row, int col);
+ public native boolean isSelected(int row, int col);
+ public native boolean isRowSelected(int row, boolean full);
+ public native boolean isRowSelected(int row);
+ public native boolean isColumnSelected(int col, boolean full);
+ public native boolean isColumnSelected(int col);
+ public native int numSelections();
+ public native TQTableSelection selection(int num);
+ public native int addSelection(TQTableSelection s);
+ public native void removeSelection(TQTableSelection s);
+ public native void removeSelection(int num);
+ public native int currentSelection();
+ public native void selectCells(int start_row, int start_col, int end_row, int end_col);
+ public native void selectRow(int row);
+ public native void selectColumn(int col);
+ public native boolean showGrid();
+ public native boolean columnMovingEnabled();
+ public native boolean rowMovingEnabled();
+ public native void sortColumn(int col, boolean ascending, boolean wholeRows);
+ public native void sortColumn(int col, boolean ascending);
+ public native void sortColumn(int col);
+ public native boolean sortOnInsert();
+ public native void takeItem(TQTableItem i);
+ public native void setCellWidget(int row, int col, TQWidget e);
+ public native TQWidget cellWidget(int row, int col);
+ public native void clearCellWidget(int row, int col);
+ public native TQRect cellRect(int row, int col);
+ public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected);
+ public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg);
+ public native void paintFocus(TQPainter p, TQRect r);
+ public native TQSize sizeHint();
+ public native boolean isReadOnly();
+ public native boolean isRowReadOnly(int row);
+ public native boolean isColumnReadOnly(int col);
+ public native void setEnabled(boolean b);
+ public native void repaintSelections();
+ public native void setFocusStyle(int fs);
+ public native int focusStyle();
+ public native void updateHeaderStates();
+ public native void setNumRows(int r);
+ public native void setNumCols(int r);
+ public native void setShowGrid(boolean b);
+ public native void hideRow(int row);
+ public native void hideColumn(int col);
+ public native void showRow(int row);
+ public native void showColumn(int col);
+ public native boolean isRowHidden(int row);
+ public native boolean isColumnHidden(int col);
+ public native void setColumnWidth(int col, int w);
+ public native void setRowHeight(int row, int h);
+ public native void adjustColumn(int col);
+ public native void adjustRow(int row);
+ public native void setColumnStretchable(int col, boolean stretch);
+ public native void setRowStretchable(int row, boolean stretch);
+ public native boolean isColumnStretchable(int col);
+ public native boolean isRowStretchable(int row);
+ public native void setSorting(boolean b);
+ public native void swapRows(int row1, int row2, boolean swapHeader);
+ public native void swapRows(int row1, int row2);
+ public native void swapColumns(int col1, int col2, boolean swapHeader);
+ public native void swapColumns(int col1, int col2);
+ public native void swapCells(int row1, int col1, int row2, int col2);
+ public native void setLeftMargin(int m);
+ public native void setTopMargin(int m);
+ public native void setCurrentCell(int row, int col);
+ public native void clearSelection(boolean repaint);
+ public native void clearSelection();
+ public native void setColumnMovingEnabled(boolean b);
+ public native void setRowMovingEnabled(boolean b);
+ public native void setReadOnly(boolean b);
+ public native void setRowReadOnly(int row, boolean ro);
+ public native void setColumnReadOnly(int col, boolean ro);
+ public native void setDragEnabled(boolean b);
+ public native boolean dragEnabled();
+ public native void insertRows(int row, int count);
+ public native void insertRows(int row);
+ public native void insertColumns(int col, int count);
+ public native void insertColumns(int col);
+ public native void removeRow(int row);
+ // void removeRows(const TQMemArray<int>& arg1); >>>> NOT CONVERTED
+ public native void removeColumn(int col);
+ // void removeColumns(const TQMemArray<int>& arg1); >>>> NOT CONVERTED
+ public native void editCell(int row, int col, boolean replace);
+ public native void editCell(int row, int col);
+ public native void setRowLabels(String[] labels);
+ public native void setColumnLabels(String[] labels);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch);
+ protected native void contentsMousePressEvent(TQMouseEvent arg1);
+ protected native void contentsMouseMoveEvent(TQMouseEvent arg1);
+ protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1);
+ protected native void contentsMouseReleaseEvent(TQMouseEvent arg1);
+ protected native void contentsContextMenuEvent(TQContextMenuEvent e);
+ protected native void keyPressEvent(TQKeyEvent arg1);
+ protected native void focusInEvent(TQFocusEvent arg1);
+ protected native void focusOutEvent(TQFocusEvent arg1);
+ protected native void viewportResizeEvent(TQResizeEvent arg1);
+ public native void showEvent(TQShowEvent e);
+ protected native void paintEvent(TQPaintEvent e);
+ // void setEditMode(TQTable::EditMode arg1,int arg2,int arg3); >>>> NOT CONVERTED
+ 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 TQDragObject dragObject();
+ protected native void startDrag();
+ protected native void paintEmptyArea(TQPainter p, int cx, int cy, int cw, int ch);
+ protected native void activateNextCell();
+ protected native TQWidget createEditor(int row, int col, boolean initFromCell);
+ protected native void setCellContentFromEditor(int row, int col);
+ protected native TQWidget beginEdit(int row, int col, boolean replace);
+ protected native void endEdit(int row, int col, boolean accept, boolean replace);
+ protected native void resizeData(int len);
+ protected native void insertWidget(int row, int col, TQWidget w);
+ protected native int indexOf(int row, int col);
+ protected native void windowActivationChange(boolean arg1);
+ protected native boolean isEditing();
+ // TQTable::EditMode editMode(); >>>> NOT CONVERTED
+ protected native int currEditRow();
+ protected native int currEditCol();
+ protected native void columnWidthChanged(int col);
+ protected native void rowHeightChanged(int row);
+ protected native void columnIndexChanged(int section, int fromIndex, int toIndex);
+ protected native void rowIndexChanged(int section, int fromIndex, int toIndex);
+ protected native void columnClicked(int col);
+ /** 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();
+}