17 #include <QDragEnterEvent>
24 setObjectName(name ? name :
"Go4LineEdit");
25 setAcceptDrops(
true );
34 if (event->mimeData()->hasText())
35 event->acceptProposedAction();
40 setText(event->mimeData()->text());
QGo4LineEdit(QWidget *parent=0, const char *name=0)
virtual void dropEvent(QDropEvent *)
virtual void dragEnterEvent(QDragEnterEvent *)