24 #include <klineedit.h>
62 enum Type { Text, Url, Emails };
68 explicit LineEdit( Type type, TQWidget* parent = 0, const char* name = 0);
73 explicit LineEdit(TQWidget* parent = 0, const char* name = 0);
82 virtual void setText( const TQString& str);
84 virtual void focusInEvent(TQFocusEvent*);
85 virtual void dragEnterEvent(TQDragEnterEvent*);
86 virtual void dropEvent(TQDropEvent*);
Type Types of drag and drop content which will be accepted.
void setNoSelect() Prevents the line edit's contents being selected when the widget receives focus.
LineEdit(Type type, TQWidget *parent=0, const char *name=0) Constructor.
virtual void setText(const TQString &str) Sets the contents of the line edit to be str.
Line edit widget with extra drag and drop options.
void setCursorAtEnd(bool end=true) Sets whether the cursor should be set at the beginning or end of the text when setText() is called...
|