summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/embedding/simple-embed/embedviewimp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/docs/embedding/simple-embed/embedviewimp.h')
-rw-r--r--kjsembed/docs/embedding/simple-embed/embedviewimp.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/kjsembed/docs/embedding/simple-embed/embedviewimp.h b/kjsembed/docs/embedding/simple-embed/embedviewimp.h
new file mode 100644
index 00000000..c56f078c
--- /dev/null
+++ b/kjsembed/docs/embedding/simple-embed/embedviewimp.h
@@ -0,0 +1,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( QWidget *parent = 0, const char *name = 0 );
+
+ bool runScript( const QString &file );
+
+public slots:
+ virtual void cancelClicked();
+ virtual void okClicked();
+ virtual void consoleClicked();
+
+ QVariant someValue() const;
+ void setSomeValue( const QVariant &var );
+private:
+ KJSEmbed::KJSEmbedPart *m_part;
+};
+
+#endif