equal
deleted
inserted
replaced
77 return; |
77 return; |
78 |
78 |
79 c->setWidget(this); |
79 c->setWidget(this); |
80 c->setCompletionMode(QCompleter::PopupCompletion); |
80 c->setCompletionMode(QCompleter::PopupCompletion); |
81 c->setCaseSensitivity(Qt::CaseInsensitive); |
81 c->setCaseSensitivity(Qt::CaseInsensitive); |
82 QObject::connect(c, SIGNAL(activated(const QString&)), |
82 QObject::connect(c, SIGNAL(activated(QString)), |
83 this, SLOT(insertCompletion(const QString&))); |
83 this, SLOT(insertCompletion(QString))); |
84 } |
84 } |
85 //! [2] |
85 //! [2] |
86 |
86 |
87 //! [3] |
87 //! [3] |
88 QCompleter *TextEdit::completer() const |
88 QCompleter *TextEdit::completer() const |