[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: [patch] The as-you-type-find cannot really be disabled.
From: Luciano Montanaro <mikelima () cirulla ! net>
Date: 2004-11-11 10:29:49
Message-ID: 200411111129.50135.mikelima () cirulla ! net
[Download RAW message or body]
This problem prevents building konqueror embedded.
Slots cannot be conditionally compiled out.
--
Luciano Montanaro
Any sufficiently advanced technology is indistinguishable from a yo-yo
- Enoch Root
["khtmlview.patch" (text/x-diff)]
Index: khtmlview.h
===================================================================
RCS file: /home/kde/kdelibs/khtml/khtmlview.h,v
retrieving revision 1.214
diff -p -u -r1.214 khtmlview.h
--- khtmlview.h 15 Oct 2004 03:47:28 -0000 1.214
+++ khtmlview.h 11 Nov 2004 10:24:09 -0000
@@ -210,9 +210,7 @@ protected slots:
private slots:
void tripleClickTimeout();
-#ifndef KHTML_NO_TYPE_AHEAD_FIND
void findTimeout();
-#endif // KHTML_NO_TYPE_AHEAD_FIND
void accessKeysTimeout();
private:
Index: khtmlview.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/khtmlview.cpp,v
retrieving revision 1.672
diff -p -u -r1.672 khtmlview.cpp
--- khtmlview.cpp 5 Nov 2004 15:00:04 -0000 1.672
+++ khtmlview.cpp 11 Nov 2004 10:24:09 -0000
@@ -1390,16 +1390,17 @@ void KHTMLView::keyPressEvent( QKeyEvent
_ke->accept();
}
-#ifndef KHTML_NO_TYPE_AHEAD_FIND
-
void KHTMLView::findTimeout()
{
+#ifndef KHTML_NO_TYPE_AHEAD_FIND
d->typeAheadActivated = false;
d->findString = "";
releaseKeyboard();
m_part->setStatusBarText(i18n("Find stopped."), KHTMLPart::BarDefaultText);
+#endif
}
+#ifndef KHTML_NO_TYPE_AHEAD_FIND
void KHTMLView::findAhead(bool increase)
{
QString status;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic