diff options
Diffstat (limited to 'sip/qt/qlineedit.sip')
-rw-r--r-- | sip/qt/qlineedit.sip | 218 |
1 files changed, 0 insertions, 218 deletions
diff --git a/sip/qt/qlineedit.sip b/sip/qt/qlineedit.sip index e7f6372..23488c3 100644 --- a/sip/qt/qlineedit.sip +++ b/sip/qt/qlineedit.sip @@ -54,8 +54,6 @@ This takes no parameters and returns the bool result and the %End -%If (TQt_3_0_0 -) - class TQLineEdit : TQFrame { %TypeHeaderCode @@ -65,10 +63,8 @@ class TQLineEdit : TQFrame public: TQLineEdit(TQWidget * /TransferThis/,const char * = 0); TQLineEdit(const TQString &,TQWidget * /TransferThis/,const char * = 0); -%If (TQt_3_2_0 -) TQLineEdit(const TQString &,const TQString &,TQWidget * /TransferThis/, const char * = 0); -%End TQString text() const; @@ -108,10 +104,8 @@ public: void home(bool); void end(bool); -%If (TQt_3_2_0 -) bool isModified() const; void clearModified(); -%End // Obsolete. bool edited() const; @@ -120,20 +114,16 @@ public: bool hasSelectedText() const; TQString selectedText() const; -%If (TQt_3_2_0 -) int selectionStart() const; -%End bool isUndoAvailable() const; bool isRedoAvailable() const; bool dragEnabled() const; -%If (TQt_3_2_0 -) TQString inputMask() const; void setInputMask(const TQString &); bool hasAcceptableInput() const; -%End public slots: virtual void setText(const TQString &); @@ -164,9 +154,7 @@ public slots: signals: void textChanged(const TQString &); void returnPressed(); -%If (TQt_3_1_0 -) void lostFocus(); -%End void selectionChanged(); protected: @@ -196,10 +184,8 @@ protected: public: // These appeared in v3.0.2 but defined as incompatible 3.0 addons, // until v3.1.0. v3.2.0 then defined them as internal and obsolete. -%If (TQt_3_1_0 -) void setPasswordChar(TQChar); TQChar passwordChar() const; -%End // Obsolete. SIP_PYTUPLE characterAt(int) const; @@ -221,207 +207,3 @@ public: private: TQLineEdit(const TQLineEdit &); }; - -%End - - -%If (- TQt_3_0_0) - -class TQLineEdit : TQWidget -{ -%TypeHeaderCode -#include <tqlineedit.h> -%End - -public: -%If (- TQt_2_00) - TQLineEdit(TQWidget * /TransferThis/ = 0,const char * = 0); -%End -%If (TQt_2_00 -) - TQLineEdit(TQWidget * /TransferThis/,const char * = 0); - TQLineEdit(const TQString &,TQWidget * /TransferThis/,const char * = 0); -%End - -%If (- TQt_2_00) - const char *text() const; -%End -%If (TQt_2_00 -) - TQString text() const; - - TQString displayText() const; -%End - -%If (- TQt_2_00) - void setMaxLength(int); -%End -%If (TQt_2_00 -) - virtual void setMaxLength(int); -%End - int maxLength() const; - -%If (- TQt_2_00) - void setFrame(bool); -%End -%If (TQt_2_00 -) - virtual void setFrame(bool); -%End - bool frame() const; - - enum EchoMode { - Normal, - NoEcho, - Password - }; - -%If (- TQt_2_00) - void setEchoMode(EchoMode); -%End -%If (TQt_2_00 -) - virtual void setEchoMode(EchoMode); -%End - EchoMode echoMode() const; - -%If (TQt_2_1_0 -) - void setReadOnly(bool); -%End -%If (TQt_2_1_0 -) - bool isReadOnly() const; -%End - -%If (- TQt_2_00) - void setValidator(TQValidator *); - TQValidator *validator() const; -%End -%If (TQt_2_00 -) - virtual void setValidator(TQValidator *); -%End -%If (TQt_2_00 -) - const TQValidator *validator() const; -%End - - TQSize sizeHint() const; -%If (TQt_2_00 -) - TQSize minimumSizeHint() const; -%End -%If (TQt_2_00 -) - TQSizePolicy sizePolicy() const; -%End - -%If (- TQt_2_00) - void setCursorPosition(int); -%End -%If (TQt_2_00 -) - virtual void setCursorPosition(int); -%End - int cursorPosition() const; -%If (- TQt_2_00) - bool validateAndSet(const char *,int,int,int); -%End -%If (TQt_2_00 -) - bool validateAndSet(const TQString &,int,int,int); -%End - -%If (TQt_2_00 -) - int alignment() const; -%End - -%If (TQt_2_00 -) - void cursorLeft(bool,int = 1); - void cursorRight(bool,int = 1); - void cursorWordForward(bool); - void cursorWordBackward(bool); - void backspace(); - void del() /PyName=delChar/; - void home(bool); - void end(bool); - - void setEdited(bool); - bool edited() const; -%End - -%If (TQt_2_00 -) - bool hasMarkedText() const; - TQString markedText() const; -%End - -%If (TQt_CLIPBOARD) - void cut(); - void copy() const; - void paste(); -%End - -%If (- TQt_2_00) - void setEnabled(bool); - void setFont(const TQFont &); - void setPalette(const TQPalette &); - void setSelection(int,int); -%End -%If (TQt_2_00 -) - virtual void setEnabled(bool); - virtual void setFont(const TQFont &); - virtual void setPalette(const TQPalette &); - virtual void setSelection(int,int); - - void setAlignment(int); -%End - -public slots: -%If (- TQt_2_00) - void setText(const char *); -%End -%If (TQt_2_00 -) - virtual void setText(const TQString &); -%End - void selectAll(); - void deselect(); - void clearValidator(); -%If (- TQt_2_00) - void insert(const char *); -%End -%If (TQt_2_00 -) - void insert(const TQString &); -%End - void clear(); - -signals: -%If (- TQt_2_00) - void textChanged(const char *); -%End -%If (TQt_2_00 -) - void textChanged(const TQString &); -%End - void returnPressed(); - -protected: -%If (TQt_2_2_0 -) - bool event(TQEvent *); -%End - void mousePressEvent(TQMouseEvent *); - void mouseMoveEvent(TQMouseEvent *); - void mouseReleaseEvent(TQMouseEvent *); - void mouseDoubleClickEvent(TQMouseEvent *); - void keyPressEvent(TQKeyEvent *); - void focusInEvent(TQFocusEvent *); - void focusOutEvent(TQFocusEvent *); - void paintEvent(TQPaintEvent *); - void resizeEvent(TQResizeEvent *); - void leaveEvent(TQEvent *); - void repaintArea(int,int); -%If (- TQt_2_00) - void timerEvent(TQTimerEvent *); - bool event(TQEvent *); - bool hasMarkedText() const; - TQString markedText() const; -%End -%If (TQt_2_00 -) -%If (TQt_DRAGANDDROP) - void dragEnterEvent(TQDragEnterEvent *); - void dropEvent(TQDropEvent *); -%End -%End - -private: - TQLineEdit(const TQLineEdit &); -}; - -%End |