QLineEdit *SearchLineEdit::getLineEdit() {
return m_lineEdit;
}
+
+void SearchLineEdit::setEnabled(bool enabled) {
+ ExLineEdit::setEnabled(enabled);
+ emit enabledChanged(enabled);
+}
QLineEdit *getLineEdit();
QWidget *toWidget() { return qobject_cast<QWidget*>(this); }
+ void setEnabled(bool enabled);
+
public slots:
void returnPressed();
void search(const QString &text);
void suggestionAccepted(Suggestion *suggestion);
+ void enabledChanged(bool enabled);
+
protected:
void updateGeometries();
void resizeEvent(QResizeEvent *e);