[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kparts
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2010-10-29 19:41:31
Message-ID: 20101029194131.98CC9AC899 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1191162 by adawit:

- For supportedQueryMethods return None by default instead to make sure
  reimplementors do the right thing for their parts.


 M  +1 -1      htmlextension.cpp  
 M  +1 -1      htmlextension.h  


--- trunk/KDE/kdelibs/kparts/htmlextension.cpp #1191161:1191162
@@ -47,7 +47,7 @@
 
 SelectorInterface::QueryMethods SelectorInterface::supportedQueryMethods() const
 {
-    return EntireContent;
+    return KParts::SelectorInterface::None;
 }
 
 class SelectorInterface::ElementPrivate : public QSharedData
--- trunk/KDE/kdelibs/kparts/htmlextension.h #1191161:1191162
@@ -110,7 +110,7 @@
     /**
      * Returns the supported query methods.
      * 
-     * By default only quering the entire content is supported.
+     * By default this function returns None.
      * 
      * @see QueryMethod
      */
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic