Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > b90d0d295bc5deaa2f765776f8c386b5 > files > 37

ecawave-debug-0.6.1-10mdv2009.0.i586.rpm

#ifndef INCLUDED_QEINPUT_H
#define INCLUDED_QEINPUT_H

#include <qwidget.h>

/**
 * A base class for libqtecasound input dialogs
 */
class QEInput : public QWidget {
  Q_OBJECT
public:

  /**
   * Class constructor
   */
  QEInput (QWidget *parent = 0, const char *name = 0) : QWidget(parent, name) { }

  ~QEInput(void) { }

public slots:


  /**
   * Enables/activates the inputs
   */
  virtual void enable(void) { setEnabled(true); }
 
  /**
   * Disables the inputs
   */
  virtual void disable(void) { setEnabled(false); }

  /** 
   * Fetch result data from widgets
   */
  virtual void update_results(void) = 0;

signals:

  /**
    * Emitted when input values are changed
    */
  void changed(void);
};

#endif