#include "p4connection.h" #include "p4commandrunner.h" P4Connection::P4Connection(QVariantMap config, QString conName, P4Api* p) { m_P4Api = p; if (config.keys().contains("port")) m_port = config.value("port").toString(); if (config.keys().contains("user")) m_user = config.value("user").toString(); if (config.keys().contains("client")) m_client = config.value("client").toString(); if (config.keys().contains("charset")) m_charset = config.value("charset").toString(); m_name = conName; } void P4Connection::destroy() { m_P4Api->destroyConnection(m_name); } QObject* P4Connection::_createBGRunner(QVariantList cmd) { return new P4CommandRunner(this,cmd); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 8119 | David George |
fixing setInput for -i commands, and fixing connectionObject.run() to take a form as its second argument. (if the second argument is a form, it will check the third argument for a callback function) |
||
#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) |