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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/services
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2010-04-19 14:56:30
Message-ID: 20100419145630.4C4D1AC89D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1116467 by lunakl:

There is no offers() in KMimeTypeTrader, make the docs refer to the proper function \
name.



 M  +3 -3      kmimetypetrader.h  


--- trunk/KDE/kdelibs/kdecore/services/kmimetypetrader.h #1116466:1116467
@@ -87,11 +87,11 @@
     /**
      * Returns the preferred service for @p mimeType and @p genericServiceType
      *
-     * This is almost like offers().first(), except that it also checks
+     * This is almost like query().first(), except that it also checks
      * if the service is allowed as a preferred service (see \
                KService::allowAsDefault).
      *
-     * @param mimeType the mime type (see offers())
-     * @param genericServiceType the service type (see offers())
+     * @param mimeType the mime type (see query())
+     * @param genericServiceType the service type (see query())
      * @return the preferred service, or 0 if no service is available
      */
     KService::Ptr preferredService( const QString & mimeType, const QString & \
genericServiceType = QString::fromLatin1("Application") );


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

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