// -*- c++ -*-

#ifndef QT_CAM_IMAGE_MODE_H
#define QT_CAM_IMAGE_MODE_H

#include "qtcammode.h"
#include <gst/pbutils/encoding-profile.h>

class QtCamDevicePrivate;
class QtCamImageModePrivate;
class QtCamImageSettings;

class QtCamImageMode : public QtCamMode {
  Q_OBJECT

public:
  QtCamImageMode(QtCamDevicePrivate *d, QObject *parent = 0);
  ~QtCamImageMode();

  virtual bool canCapture();
  virtual void applySettings();

  bool capture(const QString& fileName);

  bool setSettings(const QtCamImageSettings& settings);

  void setProfile(GstEncodingProfile *profile);

protected:
  virtual void start();
  virtual void stop();

private:
  QtCamImageModePrivate *d_ptr;
};

#endif /* QT_CAM_IMAGE_MODE_H */

// -*- c++ -*-

#ifndef QT_CAM_IMAGE_MODE_H
#define QT_CAM_IMAGE_MODE_H

#include "qtcammode.h"
#include <gst/pbutils/encoding-profile.h>

class QtCamDevicePrivate;
class QtCamImageModePrivate;
class QtCamImageSettings;

class QtCamImageMode : public QtCamMode {
  Q_OBJECT

public:
  QtCamImageMode(QtCamDevicePrivate *d, QObject *parent = 0);
  ~QtCamImageMode();

  virtual bool canCapture();
  virtual void applySettings();

  bool capture(const QString& fileName);

  bool setSettings(const QtCamImageSettings& settings);

  void setProfile(GstEncodingProfile *profile);

signals:
  void imageSaved(const QString& fileName);

protected:
  virtual void start();
  virtual void stop();

private:
  QtCamImageModePrivate *d_ptr;
};

#endif /* QT_CAM_IMAGE_MODE_H */

--- 
+++ 
@@ -26,9 +26,6 @@
 
   void setProfile(GstEncodingProfile *profile);
 
-signals:
-  void imageSaved(const QString& fileName);
-
 protected:
   virtual void start();
   virtual void stop();
Remove imageSaved() signal as it is old code.
