summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QTextEdit.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QTextEdit.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QTextEdit.java154
1 files changed, 77 insertions, 77 deletions
diff --git a/qtjava/javalib/org/kde/qt/QTextEdit.java b/qtjava/javalib/org/kde/qt/QTextEdit.java
index 829ea8ba..84780ea3 100644
--- a/qtjava/javalib/org/kde/qt/QTextEdit.java
+++ b/qtjava/javalib/org/kde/qt/QTextEdit.java
@@ -4,10 +4,10 @@ package org.kde.qt;
import org.kde.qt.Qt;
/**
- See {@link QTextEditSignals} for signals emitted by QTextEdit
+ See {@link TQTextEditSignals} for signals emitted by TQTextEdit
*/
-public class QTextEdit extends QScrollView {
- protected QTextEdit(Class dummy){super((Class) null);}
+public class TQTextEdit extends TQScrollView {
+ protected TQTextEdit(Class dummy){super((Class) null);}
public static final int NoWrap = 0;
public static final int WidgetWidth = 1;
public static final int FixedPixelWidth = 2;
@@ -50,44 +50,44 @@ public class QTextEdit extends QScrollView {
public static final int CheckNewLines = 0x0002;
public static final int RemoveSelected = 0x0004;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QTextEdit(String text, String context, QWidget parent, String name) {
+ public TQTextEdit(String text, String context, TQWidget parent, String name) {
super((Class) null);
- newQTextEdit(text,context,parent,name);
+ newTQTextEdit(text,context,parent,name);
}
- private native void newQTextEdit(String text, String context, QWidget parent, String name);
- public QTextEdit(String text, String context, QWidget parent) {
+ private native void newTQTextEdit(String text, String context, TQWidget parent, String name);
+ public TQTextEdit(String text, String context, TQWidget parent) {
super((Class) null);
- newQTextEdit(text,context,parent);
+ newTQTextEdit(text,context,parent);
}
- private native void newQTextEdit(String text, String context, QWidget parent);
- public QTextEdit(String text, String context) {
+ private native void newTQTextEdit(String text, String context, TQWidget parent);
+ public TQTextEdit(String text, String context) {
super((Class) null);
- newQTextEdit(text,context);
+ newTQTextEdit(text,context);
}
- private native void newQTextEdit(String text, String context);
- public QTextEdit(String text) {
+ private native void newTQTextEdit(String text, String context);
+ public TQTextEdit(String text) {
super((Class) null);
- newQTextEdit(text);
+ newTQTextEdit(text);
}
- private native void newQTextEdit(String text);
- public QTextEdit(QWidget parent, String name) {
+ private native void newTQTextEdit(String text);
+ public TQTextEdit(TQWidget parent, String name) {
super((Class) null);
- newQTextEdit(parent,name);
+ newTQTextEdit(parent,name);
}
- private native void newQTextEdit(QWidget parent, String name);
- public QTextEdit(QWidget parent) {
+ private native void newTQTextEdit(TQWidget parent, String name);
+ public TQTextEdit(TQWidget parent) {
super((Class) null);
- newQTextEdit(parent);
+ newTQTextEdit(parent);
}
- private native void newQTextEdit(QWidget parent);
- public QTextEdit() {
+ private native void newTQTextEdit(TQWidget parent);
+ public TQTextEdit() {
super((Class) null);
- newQTextEdit();
+ newTQTextEdit();
}
- private native void newQTextEdit();
- public native void setPalette(QPalette arg1);
+ private native void newTQTextEdit();
+ public native void setPalette(TQPalette arg1);
public native String text();
public native String text(int para);
public native int textFormat();
@@ -104,13 +104,13 @@ public class QTextEdit extends QScrollView {
public native int linesOfParagraph(int para);
public native int lineOfChar(int para, int chr);
public native int length();
- public native QRect paragraphRect(int para);
- public native int paragraphAt(QPoint pos);
- public native int charAt(QPoint pos, int[] para);
+ public native TQRect paragraphRect(int para);
+ public native int paragraphAt(TQPoint pos);
+ public native int charAt(TQPoint pos, int[] para);
public native int paragraphLength(int para);
- public native QStyleSheet styleSheet();
- public native QMimeSourceFactory mimeSourceFactory();
- public native QBrush paper();
+ public native TQStyleSheet styleSheet();
+ public native TQMimeSourceFactory mimeSourceFactory();
+ public native TQBrush paper();
public native boolean linkUnderline();
public native int heightForWidth(int w);
public native boolean hasSelectedText();
@@ -121,9 +121,9 @@ public class QTextEdit extends QScrollView {
public native int wrapColumnOrWidth();
public native int wrapPolicy();
public native int tabStopWidth();
- public native String anchorAt(QPoint pos);
- public native String anchorAt(QPoint pos, int a);
- public native QSize sizeHint();
+ public native String anchorAt(TQPoint pos);
+ public native String anchorAt(TQPoint pos, int a);
+ public native TQSize sizeHint();
public native boolean isReadOnly();
public native void getCursorPosition(int[] parag, int[] index);
public native boolean isModified();
@@ -132,26 +132,26 @@ public class QTextEdit extends QScrollView {
public native boolean underline();
public native String family();
public native int pointSize();
- public native QColor color();
- public native QFont font();
- public native QFont currentFont();
+ public native TQColor color();
+ public native TQFont font();
+ public native TQFont currentFont();
public native int alignment();
public native int undoDepth();
- public native boolean getFormat(int para, int index, QFont font, QColor color, int verticalAlignment);
- public native boolean getParagraphFormat(int para, QFont font, QColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth);
+ public native boolean getFormat(int para, int index, TQFont font, TQColor color, int verticalAlignment);
+ public native boolean getParagraphFormat(int para, TQFont font, TQColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth);
public native boolean isOverwriteMode();
- public native QColor paragraphBackgroundColor(int para);
+ public native TQColor paragraphBackgroundColor(int para);
public native boolean isUndoRedoEnabled();
- public native boolean eventFilter(QObject o, QEvent e);
+ public native boolean eventFilter(TQObject o, TQEvent e);
public native boolean tabChangesFocus();
public native void setAutoFormatting(int features);
public native int autoFormatting();
- public native QSyntaxHighlighter syntaxHighlighter();
+ public native TQSyntaxHighlighter syntaxHighlighter();
public native void setEnabled(boolean arg1);
- public native void setMimeSourceFactory(QMimeSourceFactory factory);
- public native void setStyleSheet(QStyleSheet styleSheet);
+ public native void setMimeSourceFactory(TQMimeSourceFactory factory);
+ public native void setStyleSheet(TQStyleSheet styleSheet);
public native void scrollToAnchor(String name);
- public native void setPaper(QBrush pap);
+ public native void setPaper(TQBrush pap);
public native void setLinkUnderline(boolean arg1);
public native void setWordWrap(int mode);
public native void setWrapColumnOrWidth(int arg1);
@@ -184,29 +184,29 @@ public class QTextEdit extends QScrollView {
public native void setUnderline(boolean b);
public native void setFamily(String f);
public native void setPointSize(int s);
- public native void setColor(QColor c);
- public native void setFont(QFont f);
+ public native void setColor(TQColor c);
+ public native void setFont(TQFont f);
public native void setVerticalAlignment(int a);
public native void setAlignment(int a);
public native void setParagType(int dm, int listStyle);
public native void setCursorPosition(int parag, int index);
public native void setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum);
public native void setSelection(int parag_from, int index_from, int parag_to, int index_to);
- public native void setSelectionAttributes(int selNum, QColor back, boolean invertText);
+ public native void setSelectionAttributes(int selNum, TQColor back, boolean invertText);
public native void setModified(boolean m);
public native void resetFormat();
public native void setUndoDepth(int d);
- // void setFormat(QTextFormat* arg1,int arg2); >>>> NOT CONVERTED
+ // void setFormat(TQTextFormat* arg1,int arg2); >>>> NOT CONVERTED
public native void ensureCursorVisible();
- // void placeCursor(const QPoint& arg1,QTextCursor* arg2); >>>> NOT CONVERTED
- public native void placeCursor(QPoint pos);
+ // void placeCursor(const TQPoint& arg1,TQTextCursor* arg2); >>>> NOT CONVERTED
+ public native void placeCursor(TQPoint pos);
public native void moveCursor(int action, boolean select);
public native void doKeyboardAction(int action);
public native void removeSelectedText(int selNum);
public native void removeSelectedText();
public native void removeSelection(int selNum);
public native void removeSelection();
- public native void setCurrentFont(QFont f);
+ public native void setCurrentFont(TQFont f);
public native void setOverwriteMode(boolean b);
public native void scrollToBottom();
public native void insert(String text, int insertionFlags);
@@ -217,7 +217,7 @@ public class QTextEdit extends QScrollView {
public native void insertAt(String text, int para, int index);
public native void removeParagraph(int para);
public native void insertParagraph(String text, int para);
- public native void setParagraphBackgroundColor(int para, QColor bg);
+ public native void setParagraphBackgroundColor(int para, TQColor bg);
public native void clearParagraphBackground(int para);
public native void setUndoRedoEnabled(boolean b);
public native void setTabChangesFocus(boolean b);
@@ -225,30 +225,30 @@ public class QTextEdit extends QScrollView {
public static native String tr(String arg1);
protected native void repaintChanged();
protected native void updateStyles();
- protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
- public native boolean event(QEvent e);
- protected native void keyPressEvent(QKeyEvent e);
- protected native void resizeEvent(QResizeEvent e);
- protected native void viewportResizeEvent(QResizeEvent arg1);
- protected native void contentsMousePressEvent(QMouseEvent e);
- protected native void contentsMouseMoveEvent(QMouseEvent e);
- protected native void contentsMouseReleaseEvent(QMouseEvent e);
- protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
- protected native void contentsWheelEvent(QWheelEvent e);
- protected native void imStartEvent(QIMEvent arg1);
- protected native void imComposeEvent(QIMEvent arg1);
- protected native void imEndEvent(QIMEvent arg1);
- 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 contentsContextMenuEvent(QContextMenuEvent e);
+ protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch);
+ public native boolean event(TQEvent e);
+ protected native void keyPressEvent(TQKeyEvent e);
+ protected native void resizeEvent(TQResizeEvent e);
+ protected native void viewportResizeEvent(TQResizeEvent arg1);
+ protected native void contentsMousePressEvent(TQMouseEvent e);
+ protected native void contentsMouseMoveEvent(TQMouseEvent e);
+ protected native void contentsMouseReleaseEvent(TQMouseEvent e);
+ protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
+ protected native void contentsWheelEvent(TQWheelEvent e);
+ protected native void imStartEvent(TQIMEvent arg1);
+ protected native void imComposeEvent(TQIMEvent arg1);
+ protected native void imEndEvent(TQIMEvent arg1);
+ 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 contentsContextMenuEvent(TQContextMenuEvent e);
protected native boolean focusNextPrevChild(boolean next);
- // QTextDocument* document(); >>>> NOT CONVERTED
- // QTextCursor* textCursor(); >>>> NOT CONVERTED
- // void setDocument(QTextDocument* arg1); >>>> NOT CONVERTED
- protected native QPopupMenu createPopupMenu(QPoint pos);
- protected native QPopupMenu createPopupMenu();
+ // TQTextDocument* document(); >>>> NOT CONVERTED
+ // TQTextCursor* textCursor(); >>>> NOT CONVERTED
+ // void setDocument(TQTextDocument* arg1); >>>> NOT CONVERTED
+ protected native TQPopupMenu createPopupMenu(TQPoint pos);
+ protected native TQPopupMenu createPopupMenu();
protected native void drawCursor(boolean visible);
protected native void windowActivationChange(boolean arg1);
protected native void doChangeInterval();