summaryrefslogtreecommitdiff
path: root/client/widgets/frame.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-12 10:57:04 +0000
committerdeva <deva>2010-08-12 10:57:04 +0000
commitd9338083192084613e5530b02710b796252d342b (patch)
treee0ec2b36e0de62328e5fd5d3b597f6ee71d1b18f /client/widgets/frame.h
parentdbab8458dcce186e7eb7a114a83f759d7db5445a (diff)
New scripting system part2.
Diffstat (limited to 'client/widgets/frame.h')
-rw-r--r--client/widgets/frame.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/client/widgets/frame.h b/client/widgets/frame.h
index 3f83fc4..fe57a0f 100644
--- a/client/widgets/frame.h
+++ b/client/widgets/frame.h
@@ -28,24 +28,23 @@
#define __PRACRO_FRAME_H__
#include "widget.h"
-#include <QFrame>
+
#include <QDomNode>
-class Frame : public QFrame, public Widget
+class QFrame;
+class Frame : public Widget
{
public:
Frame(QDomNode &node, MacroWindow *macrowindow);
+ ~Frame();
- void disable();
- void enable();
- bool isDisabled();
+ QString value() { return ""; }
+ void setValue(QString, QString) {}
- void connectFrom(const char *signal,
- const QObject *receiver, const char *method);
+ void setWdgValid(bool) {}
- void connectTo(const QObject *sender, const char *signal,
- const char *method);
- void setVisibility(bool visible);
+private:
+ QFrame *frame;
};
#endif/*__PRACRO_FRAME_H__*/