[Digikam-devel] [Bug 221345] Do not process search immediately when enter text to query

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Jan 6 18:49:40 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=221345


Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg at gmx.de




--- Comment #11 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-01-06 19:49:38 ---
searchtabheader.cpp:
271
    d->keywordEditTimer = new QTimer(this);
    d->keywordEditTimer->setSingleShot(true);
    d->keywordEditTimer->setInterval(800);

    connect(d->keywordEdit, SIGNAL(textEdited(const QString &)),
            d->keywordEditTimer, SLOT(start()));

    connect(d->keywordEditTimer, SIGNAL(timeout()),
            this, SLOT(keywordChanged()));

    connect(d->keywordEdit, SIGNAL(editingFinished()),
            this, SLOT(keywordChanged()));

void QLineEdit::editingFinished ()   [signal]
This signal is emitted when the Return or Enter key is pressed or the line edit
loses focus. ...

Maybe editingFinished is too early for you?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list