//
// Author: Ian Reinhart Geiser <geiseri@kde.org>, (C) 2004
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef EMBEDVIEWIMP_H
#define EMBEDVIEWIMP_H

#include "embedview.h"
namespace KJSEmbed {
    class KJSEmbedPart;
}

class EmbedViewImp: public EmbedView {
    TQ_OBJECT

public:
    EmbedViewImp( TQWidget *parent = 0, const char *name = 0 );

    bool runScript( const TQString &file );

public slots:
    virtual void cancelClicked();
    virtual void okClicked();
    virtual void consoleClicked();

    TQVariant someValue() const;
    void setSomeValue( const TQVariant &var );
private:
    KJSEmbed::KJSEmbedPart *m_part;
};

#endif
