summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QDataTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QDataTable.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QDataTable.java110
1 files changed, 55 insertions, 55 deletions
diff --git a/qtjava/javalib/org/kde/qt/QDataTable.java b/qtjava/javalib/org/kde/qt/QDataTable.java
index a847ed39..70e90726 100644
--- a/qtjava/javalib/org/kde/qt/QDataTable.java
+++ b/qtjava/javalib/org/kde/qt/QDataTable.java
@@ -5,57 +5,57 @@ import org.kde.qt.Qt;
import java.util.ArrayList;
/**
- See {@link QDataTableSignals} for signals emitted by QDataTable
+ See {@link TQDataTableSignals} for signals emitted by TQDataTable
*/
-public class QDataTable extends QTable {
- protected QDataTable(Class dummy){super((Class) null);}
+public class TQDataTable extends TQTable {
+ protected TQDataTable(Class dummy){super((Class) null);}
public static final int RefreshData = 1;
public static final int RefreshColumns = 2;
public static final int RefreshAll = 3;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QDataTable(QWidget parent, String name) {
+ public TQDataTable(TQWidget parent, String name) {
super((Class) null);
- newQDataTable(parent,name);
+ newTQDataTable(parent,name);
}
- private native void newQDataTable(QWidget parent, String name);
- public QDataTable(QWidget parent) {
+ private native void newTQDataTable(TQWidget parent, String name);
+ public TQDataTable(TQWidget parent) {
super((Class) null);
- newQDataTable(parent);
+ newTQDataTable(parent);
}
- private native void newQDataTable(QWidget parent);
- public QDataTable() {
+ private native void newTQDataTable(TQWidget parent);
+ public TQDataTable() {
super((Class) null);
- newQDataTable();
+ newTQDataTable();
}
- private native void newQDataTable();
- public QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name) {
+ private native void newTQDataTable();
+ public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name) {
super((Class) null);
- newQDataTable(cursor,autoPopulate,parent,name);
+ newTQDataTable(cursor,autoPopulate,parent,name);
}
- private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name);
- public QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent) {
+ private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name);
+ public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent) {
super((Class) null);
- newQDataTable(cursor,autoPopulate,parent);
+ newTQDataTable(cursor,autoPopulate,parent);
}
- private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent);
- public QDataTable(QSqlCursor cursor, boolean autoPopulate) {
+ private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent);
+ public TQDataTable(TQSqlCursor cursor, boolean autoPopulate) {
super((Class) null);
- newQDataTable(cursor,autoPopulate);
+ newTQDataTable(cursor,autoPopulate);
}
- private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate);
- public QDataTable(QSqlCursor cursor) {
+ private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate);
+ public TQDataTable(TQSqlCursor cursor) {
super((Class) null);
- newQDataTable(cursor);
+ newTQDataTable(cursor);
}
- private native void newQDataTable(QSqlCursor cursor);
- public native void addColumn(String fieldName, String label, int width, QIconSet iconset);
+ private native void newTQDataTable(TQSqlCursor cursor);
+ public native void addColumn(String fieldName, String label, int width, TQIconSet iconset);
public native void addColumn(String fieldName, String label, int width);
public native void addColumn(String fieldName, String label);
public native void addColumn(String fieldName);
public native void removeColumn(int col);
- public native void setColumn(int col, String fieldName, String label, int width, QIconSet iconset);
+ public native void setColumn(int col, String fieldName, String label, int width, TQIconSet iconset);
public native void setColumn(int col, String fieldName, String label, int width);
public native void setColumn(int col, String fieldName, String label);
public native void setColumn(int col, String fieldName);
@@ -72,11 +72,11 @@ public class QDataTable extends QTable {
public native boolean autoEdit();
public native String filter();
public native ArrayList sort();
- public native void setSqlCursor(QSqlCursor cursor, boolean autoPopulate, boolean autoDelete);
- public native void setSqlCursor(QSqlCursor cursor, boolean autoPopulate);
- public native void setSqlCursor(QSqlCursor cursor);
+ public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate, boolean autoDelete);
+ public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate);
+ public native void setSqlCursor(TQSqlCursor cursor);
public native void setSqlCursor();
- public native QSqlCursor sqlCursor();
+ public native TQSqlCursor sqlCursor();
public native void setNullText(String nullText);
public native void setTrueText(String trueText);
public native void setFalseText(String falseText);
@@ -90,22 +90,22 @@ public class QDataTable extends QTable {
public native void setAutoEdit(boolean autoEdit);
public native void setFilter(String filter);
public native void setSort(String[] sort);
- public native void setSort(QSqlIndex sort);
+ public native void setSort(TQSqlIndex sort);
public native void refresh(int mode);
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 String text(int row, int col);
- public native QVariant value(int row, int col);
- public native QSqlRecord currentRecord();
- public native void installEditorFactory(QSqlEditorFactory f);
- public native void installPropertyMap(QSqlPropertyMap m);
+ public native TQVariant value(int row, int col);
+ public native TQSqlRecord currentRecord();
+ public native void installEditorFactory(TQSqlEditorFactory f);
+ public native void installPropertyMap(TQSqlPropertyMap m);
public native int numCols();
public native int numRows();
public native void setNumCols(int c);
public native void setNumRows(int r);
- public native boolean findBuffer(QSqlIndex idx, int atHint);
- public native boolean findBuffer(QSqlIndex idx);
+ public native boolean findBuffer(TQSqlIndex idx, int atHint);
+ public native boolean findBuffer(TQSqlIndex idx);
public native void hideColumn(int col);
public native void showColumn(int col);
public native void find(String str, boolean caseSensitive, boolean backwards);
@@ -124,32 +124,32 @@ public class QDataTable extends QTable {
protected native boolean deleteCurrent();
protected native int confirmEdit(int m);
protected native int confirmCancel(int m);
- protected native void handleError(QSqlError e);
+ protected native void handleError(TQSqlError e);
protected native boolean beginInsert();
- protected native QWidget beginUpdate(int row, int col, boolean replace);
- public native boolean eventFilter(QObject o, QEvent e);
- protected native void keyPressEvent(QKeyEvent arg1);
- protected native void resizeEvent(QResizeEvent arg1);
- protected native void contentsMousePressEvent(QMouseEvent e);
- protected native void contentsContextMenuEvent(QContextMenuEvent e);
+ protected native TQWidget beginUpdate(int row, int col, boolean replace);
+ public native boolean eventFilter(TQObject o, TQEvent e);
+ protected native void keyPressEvent(TQKeyEvent arg1);
+ protected native void resizeEvent(TQResizeEvent arg1);
+ protected native void contentsMousePressEvent(TQMouseEvent e);
+ protected native void contentsContextMenuEvent(TQContextMenuEvent e);
protected native void endEdit(int row, int col, boolean accept, boolean replace);
- protected native QWidget createEditor(int row, int col, boolean initFromCell);
+ protected native TQWidget createEditor(int row, int col, boolean initFromCell);
protected native void activateNextCell();
protected native int indexOf(int i);
protected native void reset();
- protected native void setSize(QSqlCursor sql);
+ protected native void setSize(TQSqlCursor sql);
protected native void repaintCell(int row, int col);
- public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg);
- protected native void paintField(QPainter p, QSqlField field, QRect cr, boolean selected);
- protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
- protected native int fieldAlignment(QSqlField field);
+ public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg);
+ protected native void paintField(TQPainter p, TQSqlField field, TQRect cr, boolean selected);
+ protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch);
+ protected native int fieldAlignment(TQSqlField field);
protected native void columnClicked(int col);
protected native void resizeData(int len);
- public native QTableItem item(int row, int col);
- public native void setItem(int row, int col, QTableItem item);
+ public native TQTableItem item(int row, int col);
+ public native void setItem(int row, int col, TQTableItem item);
public native void clearCell(int row, int col);
- public native void setPixmap(int row, int col, QPixmap pix);
- public native void takeItem(QTableItem i);
+ public native void setPixmap(int row, int col, TQPixmap pix);
+ public native void takeItem(TQTableItem i);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */