From kde-core-devel Wed Feb 27 16:50:56 2002 From: Carsten Pfeiffer Date: Wed, 27 Feb 2002 16:50:56 +0000 To: kde-core-devel Subject: Re: QLineEdit (and Klipper) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101482906327241 On Tue, Feb 26, 2002 at 10:04:52AM -0500, Scott Wheeler wrote: Hi, > As a reminder, this connects the QClipboard selectionChanged() signal to > Klipper's newClipData() slot. Currently this is implemented by polling every > second, which is needed for non-Qt apps. However, this patch will also make > the synchronization instant (well, almost ;-) ) in Qt/KDE apps when the > "Synchronize contents of the clipboard and the selection" in Klipper is > checked. > > Could one of the Klipper maintainers take a look at this? thanks for the patch. The problem with this small fix is that newClipData() does a lot of stuff, as it checks both the selection and the clipboard. I'll factor out some code so that it only either one and make this mess a bit more readable. Cheers Carsten Pfeiffer