Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
510cae20
Commit
510cae20
authored
15 years ago
by
Thorbjørn Lindeijer
Browse files
Options
Downloads
Patches
Plain Diff
Updated ICore documentation to recent additional contexts API change
Reviewed-by: con
parent
a4e31396
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/coreplugin/icore.cpp
+8
-31
8 additions, 31 deletions
src/plugins/coreplugin/icore.cpp
with
8 additions
and
31 deletions
src/plugins/coreplugin/icore.cpp
+
8
−
31
View file @
510cae20
...
@@ -255,40 +255,25 @@
...
@@ -255,40 +255,25 @@
\fn IContext *ICore::currentContextObject() const
\fn IContext *ICore::currentContextObject() const
\brief Returns the context object of the current main context.
\brief Returns the context object of the current main context.
\sa ICore::
add
AdditionalContext()
\sa ICore::
update
AdditionalContext
s
()
\sa ICore::addContextObject()
\sa ICore::addContextObject()
*/
*/
/*!
/*!
\fn void ICore::
add
AdditionalContext
(int context
)
\fn void ICore::
update
AdditionalContext
s(const QList<int> &remove, const QList<int> &add
)
\brief
Register additional context to be currently active
.
\brief
Change the currently active additional contexts
.
Appends the additional \a context to the list of currently active
Removes the list of additional contexts specified by \a remove and adds the
contexts. You need to call ICore::updateContext to make that change
list of additional contexts specified by \a add.
take effect.
\sa ICore::removeAdditionalContext()
\sa ICore::hasContext()
\sa ICore::hasContext()
\sa ICore::updateContext()
*/
/*!
\fn void ICore::removeAdditionalContext(int context)
\brief Removes the given \a context from the list of currently active contexts.
You need to call ICore::updateContext to make that change
take effect.
\sa ICore::addAdditionalContext()
\sa ICore::hasContext()
\sa ICore::updateContext()
*/
*/
/*!
/*!
\fn bool ICore::hasContext(int context) const
\fn bool ICore::hasContext(int context) const
\brief Returns if the given \a context is currently one of the active contexts.
\brief Returns if the given \a context is currently one of the active contexts.
\sa ICore::
add
AdditionalContext()
\sa ICore::
update
AdditionalContext
s
()
\sa ICore::addContextObject()
\sa ICore::addContextObject()
*/
*/
...
@@ -300,7 +285,7 @@
...
@@ -300,7 +285,7 @@
current context object whenever its widget gets focus.
current context object whenever its widget gets focus.
\sa ICore::removeContextObject()
\sa ICore::removeContextObject()
\sa ICore::
add
AdditionalContext()
\sa ICore::
update
AdditionalContext
s
()
\sa ICore::currentContextObject()
\sa ICore::currentContextObject()
*/
*/
...
@@ -309,19 +294,11 @@
...
@@ -309,19 +294,11 @@
\brief Unregisters a \a context object from the list of know contexts.
\brief Unregisters a \a context object from the list of know contexts.
\sa ICore::addContextObject()
\sa ICore::addContextObject()
\sa ICore::
add
AdditionalContext()
\sa ICore::
update
AdditionalContext
s
()
\sa ICore::currentContextObject()
\sa ICore::currentContextObject()
}
}
*/
*/
/*!
\fn void ICore::updateContext()
\brief Update the list of active contexts after adding or removing additional ones.
\sa ICore::addAdditionalContext()
\sa ICore::removeAdditionalContext()
*/
/*!
/*!
\fn void ICore::openFiles(const QStringList &fileNames)
\fn void ICore::openFiles(const QStringList &fileNames)
\brief Open all files from a list of \a fileNames like it would be
\brief Open all files from a list of \a fileNames like it would be
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment