#ifndef P4API_H #define P4API_H #include <QObject> #include <QVariantMap> #include <QMap> #include <QObjectList> #include <QStringList> class P4Api : public QObject { Q_OBJECT public: explicit P4Api(){} Q_INVOKABLE QObject* _newConnection(QVariantMap config); Q_INVOKABLE void destroyConnection(QString name); Q_INVOKABLE QObject* getConnection(QString name); Q_INVOKABLE QObjectList getConnections(); Q_INVOKABLE QStringList getConnectionNames(); signals: public slots: private: QObjectList m_Connections; QStringList m_ConnectionNames; }; #endif // P4_H
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 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>) |
||
#4 | 8108 | David George | changing the way the window refreshing gets handled | ||
#3 | 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 |
||
#2 | 8104 | David George |
merged .runAsync and .run into one method that runs sync/async depending on the presence of a callback function argument. restored some storage-related QWebSettings |
||
#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) |