#ifndef CLIENTKITAPI_H #define CLIENTKITAPI_H class MainWindow; #include "p4api.h" #include "systemapi.h" #include "guiapi.h" #include <QObject> #include <QMap> #include <QObjectList> #include <QStringList> #include <QFileDialog> class ClientKitApi : public QObject { Q_OBJECT Q_PROPERTY(QObject* p4 READ p4Api) Q_PROPERTY(QObject* system READ systemApi) Q_PROPERTY(QObject* gui READ guiApi) public: explicit ClientKitApi(MainWindow* mw = 0); QObject* p4Api(); QObject* systemApi(); QObject* guiApi(); Q_INVOKABLE QString getVersion() {return "v0.2";} signals: public slots: private: P4Api* m_P4Api; SystemApi* m_SystemApi; GuiApi* m_GuiApi; }; #endif // CLIENTKITAPI_H
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 8115 | David George |
a bunch of changes to the GuiApi - probably bound to change, though, so use at your own risk! beginnings of migrating to an "all windows are created equal" model. (as opposed to a MainWindow) removing the unreliable Qt execution of the .js methods - please include in your HTML (<script type="text/javascript" src="qrc:/js/ClientKitMethods.js"></script>) |
||
#2 | 8107 | David George |
a little cleanup / bug squashing. Not much to see here. createP4 method now added directly to p4 object (rather than through proto) removing some methods that were only used for development debugging/testing |
||
#1 | 8101 | David George |
beginning of _massive_ re-factoring your current build settings will fail create a new project from newly added .pro file (but change its p4api paths to match your old one) look for updated README as soon as Dave agrees that changes are _indeed_ for the best (Changes by Jaimen) |