summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/embedding/simple-embed/embedviewimp.h
blob: 7c678a32390780a54625cc7d053fea01677d18ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// 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 {
    Q_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