view host/ImageAction.h @ 13:47b0a143db39

...
author cannam
date Tue, 12 Dec 2006 10:38:55 +0000
parents b30fcffc5000
children
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;
    static QString m_currentImage;
};

#endif