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*);
Line edit widget with extra drag and drop options.
Type Types of drag and drop content which will be accepted.
LineEdit(Type type, TQWidget *parent=0, const char *name=0) Constructor.
void setCursorAtEnd(bool end=true) Sets whether the cursor should be set at the beginning or end of the text when setText() is called.
void setNoSelect() Prevents the line edit's contents being selected when the widget receives focus.
virtual void setText(const TQString &str) Sets the contents of the line edit to be str.
|