--===============1957612927== Content-Type: multipart/signed; boundary="nextPart2193557.EEseoxPARK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2193557.EEseoxPARK Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Tuesday 27 July 2010 00:48:52 Aaron J. Seigo wrote: > On July 25, 2010, Robert Riemann wrote: > > I have a KLineEdit which is used to get the users Youtube query. >=20 > the easy way is to use KHistoryComboBox. yes, it's a non-obvious name for= a > widget that does what it does, but you should be able to use > setHistoryItems(const QStringList &historyItems) to provide your > completable list to the user. >=20 > documentation is here: >=20 > http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/classKHistoryComboBox.ht= ml This comes a little bit late. Anyway thank you for pointing me to that clas= s.=20 I am using it alreay and it works really nice. I took a look and try to find out how konquerors google bar works. I found a lot of bugs - not in code, but while looking how konquerors searc= h=20 bar behaves: =2D konqueror combobox has tabs disabled =2D klicking on a suggestion opens a new section of suggestions. Doing that= 3=20 times in the same CompletionBox rusults in a crash (as konqi doesn't show u= p I=20 am not able to deliver a backtrace) =2D konquerer doesn't use KLineEdit::userTextChanged, but ::textChanged whi= ch is probably wrong =46urther I expect userTextChanged not to drop signals when tabbing in my=20 KCompletionBox, but it does. Looks like a bug in KLineEdit to me. I am using KDE 4.5 from openuse build service. --nextPart2193557.EEseoxPARK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkxOJJ8ACgkQe/YPSoYbw6M6SwCbBSWs8MsYOJMRX3d9pXx4ISs5 HWQAn3XEZdlE9//Y3Wnt7qOsTFhFSwh1 =g8JD -----END PGP SIGNATURE----- --nextPart2193557.EEseoxPARK-- --===============1957612927== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1957612927==--