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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2006-09-14 18:24:20
Message-ID: 1158258260.479564.1649.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 584401 by dfaure:

Fix docu for allowAsDefault, but in fact I don't see -any- .desktop file here using AllowDefault=false.
servicemenus are being used instead. I think I'll get rid of allowAsDefault in kde4 (it's not even in
the desktop entry standard)


 M  +9 -5      kservice.h  


--- branches/KDE/3.5/kdelibs/kio/kio/kservice.h #584400:584401
@@ -278,12 +278,16 @@
    *        otherwise false.
    */
   bool hasServiceType( const QString& _service ) const;
+
   /**
-   * Checks whether a service is used as a default setting, for
-   *         example as plugin in a file manager. Usually that is the
-   *         case, but some services may only be started when the user
-   *         selected them. This kind of services returns false here.
-   * @return true if the service may be used as a default setting
+   * Set to true if it is allowed to use this service as the default (main)
+   * action for the files it supports (e.g. Left Click in a file manager, or KRun in general).
+   *
+   * If not, then this service is only available in RMB popups, so it must
+   * be selected explicitely by the user in order to be used.
+   * Note that servicemenus supersede this functionality though, at least in konqueror.
+   *
+   * @return true if the service may be used as the default (main) handler
    */
   bool allowAsDefault() const { return m_bAllowAsDefault; }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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