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

List:       kde-commits
Subject:    KDE/kdelibs/solid/solid
From:       Kevin Ottens <ervin () kde ! org>
Date:       2007-04-30 22:43:12
Message-ID: 1177972992.708648.1229.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 659866 by ervin:

Remove this method from the public API. We probably need something similar
to AudioInterface and PortableMediaPlayer.


 M  +0 -6      camera.cpp  
 M  +0 -8      camera.h  
 M  +0 -7      ifaces/camera.h  


--- trunk/KDE/kdelibs/solid/solid/camera.cpp #659865:659866
@@ -40,11 +40,5 @@
     return_SOLID_CALL(Ifaces::Camera *, d->backendObject(), Proprietary, accessMethod());
 }
 
-bool Solid::Camera::isGphotoSupported() const
-{
-    Q_D(const Camera);
-    return_SOLID_CALL(Ifaces::Camera *, d->backendObject(), false, isGphotoSupported());
-}
-
 #include "camera.moc"
 
--- trunk/KDE/kdelibs/solid/solid/camera.h #659865:659866
@@ -44,7 +44,6 @@
         Q_OBJECT
         Q_ENUMS(AccessType)
         Q_PROPERTY(AccessType accessMethod READ accessMethod)
-        Q_PROPERTY(bool gphotoSupport READ isGphotoSupported)
         Q_DECLARE_PRIVATE(Camera)
         friend class Device;
 
@@ -94,13 +93,6 @@
          * @see Solid::Camera::AccessType
          */
         AccessType accessMethod() const;
-
-        /**
-         * Indicates if the camera is supported by a driver from the libgphoto2 project.
-         *
-         * @return true if the camera is supported by libgphoto2, false otherwise.
-         */
-        bool isGphotoSupported() const;
     };
 }
 
--- trunk/KDE/kdelibs/solid/solid/ifaces/camera.h #659865:659866
@@ -54,13 +54,6 @@
          * @see Solid::Camera::AccessType
          */
         virtual Solid::Camera::AccessType accessMethod() const = 0;
-
-        /**
-         * Indicates if the camera is supported by a driver from the libgphoto2 project.
-         *
-         * @return true if the camera is supported by libgphoto2, false otherwise.
-         */
-        virtual bool isGphotoSupported() const = 0;
     };
 }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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