131 // --------------------------------------------------------------------------- |
131 // --------------------------------------------------------------------------- |
132 // --------------------------------------------------------------------------- |
132 // --------------------------------------------------------------------------- |
133 // |
133 // |
134 void HsCollectionNameDialog::makeConnect() |
134 void HsCollectionNameDialog::makeConnect() |
135 { |
135 { |
136 /*connect(lineEdit(), SIGNAL(textChanged(const QString &text)), |
136 /*connect(lineEdit(), SIGNAL(textChanged(QString&text)), |
137 SLOT(onTextChanged(const QString &text)));*/ |
137 SLOT(onTextChanged(QString&text)));*/ |
138 |
138 |
139 connect(lineEdit(), SIGNAL(contentsChanged()), |
139 connect(lineEdit(), SIGNAL(contentsChanged()), |
140 SLOT(onContentsChanged())); |
140 SLOT(onContentsChanged())); |
141 } |
141 } |
142 |
142 |
143 // --------------------------------------------------------------------------- |
143 // --------------------------------------------------------------------------- |
144 // --------------------------------------------------------------------------- |
144 // --------------------------------------------------------------------------- |
145 // |
145 // |
146 void HsCollectionNameDialog::makeDisconnect() |
146 void HsCollectionNameDialog::makeDisconnect() |
147 { |
147 { |
148 /*disconnect(lineEdit(), SIGNAL(textChanged(const QString &text)), |
148 /*disconnect(lineEdit(), SIGNAL(textChanged(QString&text)), |
149 this, SLOT(onTextChanged(const QString &text)));*/ |
149 this, SLOT(onTextChanged(QString&text)));*/ |
150 disconnect(lineEdit(), SIGNAL(contentsChanged()), |
150 disconnect(lineEdit(), SIGNAL(contentsChanged()), |
151 this, SLOT(onContentsChanged())); |
151 this, SLOT(onContentsChanged())); |
152 } |
152 } |
153 |
153 |
154 // --------------------------------------------------------------------------- |
154 // --------------------------------------------------------------------------- |