diff options
| author | Niklas Goby | 2011-02-01 16:25:38 +0100 |
|---|---|---|
| committer | Niklas Goby | 2011-02-01 16:25:38 +0100 |
| commit | a1c5fea9ed618b296548560d5806d99448cca262 (patch) | |
| tree | 397eca35be1527b1d4e6b3952439f3e1ccd36a65 /src/jsObject.h | |
| parent | Alternative to getPath() function using QT classes (diff) | |
| download | fbgui-a1c5fea9ed618b296548560d5806d99448cca262.tar.gz fbgui-a1c5fea9ed618b296548560d5806d99448cca262.tar.xz fbgui-a1c5fea9ed618b296548560d5806d99448cca262.zip | |
i added jsObject
Please enter the commit message for your changes. Lines starting
Diffstat (limited to 'src/jsObject.h')
| -rw-r--r-- | src/jsObject.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/jsObject.h b/src/jsObject.h new file mode 100644 index 0000000..20ae403 --- /dev/null +++ b/src/jsObject.h @@ -0,0 +1,37 @@ +/* + * jsObject.h + * + * Created on: Feb 1, 2011 + * Author: niklas + */ + +#ifndef JSOBJECT_H_ +#define JSOBJECT_H_ + +enum Action +{ + QUIT, + SHOW_USB_DEVICES, + SHOW_HARDDRIVES, + SHOW_MAC_ADDRESS, + SHOW_IP_ADDRESS, + SHOW_TIME, + SHOW_DATE +}; + +class jsObject { + Q_OBJECT + +public: + jsObject(const fbbrowser & browser); + virtual ~jsObject(); + +private: + fbbrowser browser; + +slots: + void performAction(Action a)); + +}; + +#endif /* JSOBJECT_H_ */ |
