view host/ImageAction.h @ 7:b30fcffc5000

* Better organisation of action classes; support for AND-type rules
author cannam
date Mon, 27 Nov 2006 11:03:52 +0000
parents
children 47b0a143db39
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

#ifndef _IMAGE_ACTION_H_
#define _IMAGE_ACTION_H_

#include "Action.h"

class ImageAction : public Action    
{
    Q_OBJECT

public:
    ImageAction(QString imageName);
    virtual ~ImageAction();

    virtual QString getName() const;
    virtual void fire();

signals:
    void showImage(QString image);

protected:
    QString m_imageName;
};

#endif