Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/shell/documentationcontroller.cpp
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | |||||
123 | } | 123 | } | ||
124 | 124 | | |||
125 | DocumentationController::~DocumentationController() | 125 | DocumentationController::~DocumentationController() | ||
126 | { | 126 | { | ||
127 | } | 127 | } | ||
128 | 128 | | |||
129 | void DocumentationController::initialize() | 129 | void DocumentationController::initialize() | ||
130 | { | 130 | { | ||
131 | if(!documentationProviders().isEmpty() && !(Core::self()->setupFlags() & Core::NoUi)) { | 131 | if (!(Core::self()->setupFlags() & Core::NoUi)) { | ||
132 | Core::self()->uiController()->addToolView(i18n("Documentation"), m_factory); | 132 | Core::self()->uiController()->addToolView(i18n("Documentation"), m_factory); | ||
133 | } | 133 | } | ||
134 | } | 134 | } | ||
135 | 135 | | |||
136 | 136 | | |||
137 | void KDevelop::DocumentationController::doShowDocumentation() | 137 | void KDevelop::DocumentationController::doShowDocumentation() | ||
138 | { | 138 | { | ||
139 | KTextEditor::View* view = ICore::self()->documentController()->activeTextDocumentView(); | 139 | KTextEditor::View* view = ICore::self()->documentController()->activeTextDocumentView(); | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |