forked from qt-creator/qt-creator
Variables: Remove some outdated documentation
Change-Id: I63d6c0ec006c586729ec4352b56c1275456a8ad3 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -87,10 +87,8 @@ public:
|
|||||||
|
|
||||||
\section1 Providing Variable Values
|
\section1 Providing Variable Values
|
||||||
|
|
||||||
Plugins can register variables together with a description through registerVariable(),
|
Plugins can register variables together with a description through registerVariable().
|
||||||
and then need to connect to the variableUpdateRequested() signal to actually give
|
A typical setup is to register variables in the Plugin::initialize() function.
|
||||||
the variable its value when requested. A typical setup is to register
|
|
||||||
variables in the Plugin::initialize() function.
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
bool MyPlugin::initialize(const QStringList &arguments, QString *errorString)
|
bool MyPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||||
@@ -166,12 +164,6 @@ public:
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
|
||||||
* \fn void VariableManager::variableUpdateRequested(const QByteArray &variable)
|
|
||||||
* Signals that the value of the \a variable should be updated because someone requests its value.
|
|
||||||
* Handlers of this signal should call insert() and return as fast as possible.
|
|
||||||
*/
|
|
||||||
|
|
||||||
static VariableManager *variableManagerInstance = 0;
|
static VariableManager *variableManagerInstance = 0;
|
||||||
static VariableManagerPrivate *d;
|
static VariableManagerPrivate *d;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user