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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/services
From:       David Faure <faure () kde ! org>
Date:       2009-09-29 14:29:25
Message-ID: 1254234565.569197.10972.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029324 by dfaure:

Don't use KDE_DEPRECATED without a @deprecated tag telling people where to look...


 M  +7 -0      kservice.h  


--- trunk/KDE/kdelibs/kdecore/services/kservice.h #1029323:1029324
@@ -527,6 +527,9 @@
         return 0;
     }
 
+    /**
+     * @deprecated Use the non-static service->createInstance<T>(parent, args, &error)
+     */
     template <class T>
     static KDE_DEPRECATED T *createInstance(const KService::Ptr &service, QObject *parent = 0,
             const QVariantList &args = QVariantList(), QString *error = 0)
@@ -534,6 +537,10 @@
         return service->createInstance<T>(parent, args, error);
     }
 
+    /**
+     * @deprecated Use the non-static service->createInstance<T>(parent, args, &error)
+     * where args is a QVariantList rather than a QStringList
+     */
     template <class T>
     static KDE_DEPRECATED T *createInstance( const KService::Ptr &service,
                               QObject *parent,
[prev in list] [next in list] [prev in thread] [next in thread] 

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