diff options
Diffstat (limited to 'sip/qt/qmultilinedit.sip')
-rw-r--r-- | sip/qt/qmultilinedit.sip | 240 |
1 files changed, 0 insertions, 240 deletions
diff --git a/sip/qt/qmultilinedit.sip b/sip/qt/qmultilinedit.sip index cc3f347..4b3b4f7 100644 --- a/sip/qt/qmultilinedit.sip +++ b/sip/qt/qmultilinedit.sip @@ -66,8 +66,6 @@ This takes no parameters and returns a tuple of the bool result and the %End -%If (TQt_3_0_0 -) - class TQMultiLineEdit : TQTextEdit { %TypeHeaderCode @@ -81,22 +79,12 @@ public: int numLines() const; virtual void insertLine(const TQString &,int = -1); -%If (TQt_3_1_0 -) virtual void insertAt(const TQString &,int,int); virtual void insertAt(const TQString &,int,int,bool); -%End -%If (- TQt_3_1_0) - virtual void insertAt(const TQString &,int,int,bool = 0); -%End virtual void removeLine(int); -%If (TQt_3_1_0 -) virtual void setCursorPosition(int,int); virtual void setCursorPosition(int,int,bool); -%End -%If (- TQt_3_1_0) - virtual void setCursorPosition(int,int,bool = 0); -%End bool atBeginning() const; bool atEnd() const; @@ -144,231 +132,3 @@ protected: private: TQMultiLineEdit(const TQMultiLineEdit &); }; - -%End - - -%If (- TQt_3_0_0) - -class TQMultiLineEdit : TQTableView -{ -%TypeHeaderCode -#include <tqmultilinedit.h> -%End - -public: - TQMultiLineEdit(TQWidget * /TransferThis/ = 0,const char * = 0); - - int numLines() const; - virtual void removeLine(int); - - void cursorPosition(int *,int *) const; - void getCursorPosition(int *,int *) const; - - bool atBeginning() const; - bool atEnd() const; - int maxLineWidth() const; - bool autoUpdate() const; - bool isReadOnly() const; - bool isOverwriteMode() const; - TQString text() const; - -%If (- TQt_2_00) - const char *textLine(int) const; - void setFont(const TQFont &); - virtual void insertLine(const char *,int = -1); - virtual void insertAt(const char *,int,int); - void setCursorPosition(int,int,bool = 0); - void setFixedVisibleLines(int); - void setAutoUpdate(bool); -%End - -%If (TQt_2_00 -) - TQString textLine(int) const; - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSizePolicy sizePolicy() const; - virtual void setFont(const TQFont &); - virtual void insertLine(const TQString &,int = -1); - virtual void insertAt(const TQString &,int,int,bool = 0); - virtual void setCursorPosition(int,int,bool = 0); - virtual void setFixedVisibleLines(int); - void setAlignment(int); - int alignment() const; - virtual void setValidator(const TQValidator *); - const TQValidator *validator() const; - void setEdited(bool); - bool edited() const; - void cursorWordForward(bool); - void cursorWordBackward(bool); - - enum EchoMode - { - Normal, - NoEcho, - Password - }; - - virtual void setEchoMode(EchoMode); - EchoMode echoMode() const; - virtual void setMaxLineLength(int); - int maxLineLength() const; - virtual void setMaxLines(int); - int maxLines() const; - virtual void setHMargin(int); - int hMargin() const; - virtual void setSelection(int,int,int,int); - virtual void setAutoUpdate(bool); -%End - -%If (TQt_2_1_0 -) - void setMaxLength(int); - int maxLength() const; - - enum WordWrap { - NoWrap, - WidgetWidth, - FixedPixelWidth, - FixedColumnWidth - }; - - void setWordWrap(WordWrap); - WordWrap wordWrap() const; - void setWrapColumnOrWidth(int); - int wrapColumnOrWidth() const; - - enum WrapPolicy { - AtWhiteSpace, - Anywhere - }; - - void setWrapPolicy(WrapPolicy); - WrapPolicy wrapPolicy() const; - void setUndoEnabled(bool); - bool isUndoEnabled() const; - void setUndoDepth(int); - int undoDepth() const; - int length() const; - static void setDefaultTabStop(int); - static int defaultTabStop(); -%End - -public slots: - void clear(); - void deselect(); - void selectAll(); -%If (TQt_CLIPBOARD) - void paste(); -%If (TQt_2_2_0 -) - void pasteSubType(const TQCString &); -%End - void cut(); -%End -%If (- TQt_2_00) - void setText(const char *); - void setReadOnly(bool); - void setOverwriteMode(bool); - void append(const char *); - void copyText(); -%End -%If (TQt_2_00 -) - virtual void setText(const TQString &); - virtual void setReadOnly(bool); - virtual void setOverwriteMode(bool); - void append(const TQString &); -%If (TQt_CLIPBOARD) - void copyText() const; - void copy() const; -%End - void insert(const TQString &); -%End -%If (TQt_2_1_0 -) - void undo(); - void redo(); -%End - -signals: - void textChanged(); - void returnPressed(); -%If (TQt_2_1_0 -) - void undoAvailable(bool); - void redoAvailable(bool); -%End -%If (TQt_2_2_0 -) - void copyAvailable(bool); -%End - -protected: - void paintCell(TQPainter *,int,int); -%If (TQt_2_2_0 -) - bool event(TQEvent *); -%End - void mousePressEvent(TQMouseEvent *); - void mouseMoveEvent(TQMouseEvent *); - void mouseReleaseEvent(TQMouseEvent *); - void mouseDoubleClickEvent(TQMouseEvent *); -%If (TQt_2_00 -) - void wheelEvent(TQWheelEvent *); -%End - void keyPressEvent(TQKeyEvent *); - void focusInEvent(TQFocusEvent *); - void focusOutEvent(TQFocusEvent *); - void timerEvent(TQTimerEvent *); - void leaveEvent(TQEvent *); - void resizeEvent(TQResizeEvent *); -%If (TQt_DRAGANDDROP) -%If (TQt_2_00 -) - void dragMoveEvent(TQDragMoveEvent *); -%End -%If (TQt_2_1_0 -) - void dragEnterEvent(TQDragEnterEvent *); -%End -%If (TQt_2_00 -) - void dropEvent(TQDropEvent *); - void dragLeaveEvent(TQDragLeaveEvent *); -%End -%End - bool hasMarkedText() const; - TQString markedText() const; - int textWidth(int); -%If (- TQt_2_00) - int textWidth(TQString *); -%End -%If (TQt_2_00 -) - int textWidth(const TQString &); -%End - TQPoint cursorPoint() const; -%If (- TQt_2_00) - virtual void insertChar(char); -%End -%If (TQt_2_00 -) - virtual void insert(const TQString &,bool); -%End - virtual void newLine(); - virtual void killLine(); - virtual void pageUp(bool = 0); - virtual void pageDown(bool = 0); - virtual void cursorLeft(bool = 0,bool = 1); - virtual void cursorRight(bool = 0,bool = 1); - virtual void cursorUp(bool = 0); - virtual void cursorDown(bool = 0); - virtual void backspace(); - virtual void del() /PyName=delChar/; - virtual void home(bool = 0); - virtual void end(bool = 0); - bool getMarkedRegion(int *,int *,int *,int *) const; - int lineLength(int) const; - TQString *getString(int) const; -%If (TQt_2_1_0 -) - bool isEndOfParagraph(int) const; -%End -%If (TQt_2_00 -) - TQString stringShown(int) const; - void insertChar(TQChar); -%End - -private: - TQMultiLineEdit(const TQMultiLineEdit &); -}; - -%End |