#include <klflibbrowser_p.h>
Public Slots | |
bool | openView (const QString &viewTypeIdent) |
Signals | |
void | viewContextMenuRequested (const QPoint &pos) |
void | viewTypeChanged (const QString &) |
void | requestRestore (const KLFLibEntry &entry, uint restoreflags=KLFLib::RestoreLatexAndStyle) |
void | requestRestoreStyle (const KLFStyle &style) |
void | resourceDataChanged (const QList< KLFLib::entryId > &entryIdList) |
void | entriesSelected (const KLFLibEntryList &entries) |
void | moreCategorySuggestions (const QStringList &categorylist) |
void | requestOpenUrl (const QString &url) |
void | viewOperationStartReportingProgress (KLFProgressReporter *progressReporter, const QString &descriptiveText) |
Protected Slots | |
void | slotRequestRestore (const KLFLibEntry &entry, uint restoreflags=KLFLib::RestoreLatexAndStyle) |
void | slotRequestRestoreStyle (const KLFStyle &style) |
void | slotResourceDataChanged (const QList< KLFLib::entryId > &entryIdList) |
void | slotEntriesSelected (const KLFLibEntryList &entries) |
void | slotMoreCategorySuggestions (const QStringList &categorylist) |
void | slotCurrentChanged (int index) |
void | internalRequestOpenSubResourceSender () |
Protected Member Functions | |
int | findViewTypeAction (const QString &vtype) |
Protected Attributes | |
QStringList | pOkViewTypeIdents |
KLFLibResourceEngine * | pResource |
QVariantMap | pViewState |
QMap< QString, int > | pOpenViewTypeIdents |
QActionGroup * | pViewTypeActionGroup |
QList< QAction * > | pViewTypeActions |
uint | pResFlags |
QMap< QString, QAction * > | pOpenSubResActionCache |
Definition at line 57 of file klflibbrowser_p.h.
|
inline |
Definition at line 61 of file klflibbrowser_p.h.
References KLFLibViewFactory::allSupportedViewTypeIdentifiers(), KLFLibViewFactory::canCreateLibView(), QStackedWidget::currentChanged(), KLFLibViewFactory::findFactoryFor(), KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, openView(), pOkViewTypeIdents, pResFlags, pResource, pViewTypeActionGroup, pViewTypeActions, QAction::setData(), QSignalMapper::setMapping(), slotCurrentChanged(), and KLFLibViewFactory::viewTypeTitle().
|
inlinevirtual |
Definition at line 100 of file klflibbrowser_p.h.
References KLF_DEBUG_BLOCK, and KLF_FUNC_NAME.
|
inline |
Definition at line 122 of file klflibbrowser_p.h.
References QMap::key(), and pOpenViewTypeIdents.
|
inline |
Definition at line 126 of file klflibbrowser_p.h.
References KLFLibResourceEngine::defaultSubResource(), and pResource.
|
signal |
Referenced by openView(), slotCurrentChanged(), and slotEntriesSelected().
|
inlineprotected |
Definition at line 436 of file klflibbrowser_p.h.
References KLF_DEBUG_BLOCK, KLF_FUNC_NAME, pViewTypeActions, and QList::size().
Referenced by slotCurrentChanged().
|
inlineprotectedslot |
Definition at line 412 of file klflibbrowser_p.h.
References QAction::data(), KLF_ASSERT_NOT_NULL, KLF_DEBUG_BLOCK, KLF_FUNC_NAME, and requestOpenUrl().
Referenced by openSubResourceActions().
|
inline |
Definition at line 175 of file klflibbrowser_p.h.
References QString::isEmpty(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, openView(), pOpenViewTypeIdents, pViewState, KLFAbstractLibView::restoreGuiState(), url(), QMap::value(), view(), and QStackedWidget::widget().
Referenced by KLFLibBrowser::openResourceFromGuiState().
|
signal |
Referenced by openView(), and slotMoreCategorySuggestions().
Definition at line 212 of file klflibbrowser_p.h.
References QUrl::addQueryItem(), QMap::contains(), KLFLibResourceEngine::FeatureSubResourceProps, KLFLibResourceEngine::FeatureSubResources, internalRequestOpenSubResourceSender(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, pOpenSubResActionCache, pResource, QAction::setData(), KLFLibResourceEngine::subResourceList(), KLFLibResourceEngine::subResourceProperty(), KLFLibResourceEngine::SubResPropTitle, KLFLibResourceEngine::supportedFeatureFlags(), QVariant::toString(), QUrl::toString(), url(), and KLFLibResourceEngine::url().
Referenced by KLFLibBrowser::slotTabResourceShown().
|
inlineslot |
Definition at line 257 of file klflibbrowser_p.h.
References QStackedWidget::addWidget(), QMap::contains(), KLFLibViewFactory::createLibView(), KLFLibResourceEngine::defaultSubResource(), entriesSelected(), KLFLibResourceEngine::FeatureSubResourceProps, KLFLibResourceEngine::FeatureSubResources, KLFLibViewFactory::findFactoryFor(), KLFConfig::groupSubCategories, KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfconfig, klfDbg, klfDbgT, KLFConfig::LibraryBrowser, moreCategorySuggestions(), pOpenViewTypeIdents, pResource, pViewState, requestRestore(), requestRestoreStyle(), resourceDataChanged(), KLFAbstractLibView::restoreGuiState(), KLFLibDefaultView::setGroupSubCategories(), KLFLibResourceEngine::setSubResourceProperty(), KLFLibResourceEngine::setViewType(), slotCurrentChanged(), slotEntriesSelected(), slotMoreCategorySuggestions(), slotRequestRestore(), slotRequestRestoreStyle(), slotResourceDataChanged(), KLFLibResourceEngine::SubResPropViewType, KLFLibResourceEngine::supportedFeatureFlags(), KLFLibResourceEngine::url(), viewContextMenuRequested(), and viewOperationStartReportingProgress().
Referenced by KLFLibBrowserViewContainer(), loadGuiState(), and KLFLibBrowser::openResource().
|
signal |
Referenced by internalRequestOpenSubResourceSender().
|
signal |
Referenced by openView(), and slotRequestRestore().
|
signal |
Referenced by openView(), and slotRequestRestoreStyle().
|
signal |
Referenced by openView(), and slotResourceDataChanged().
|
inline |
Definition at line 114 of file klflibbrowser_p.h.
References pResource.
Referenced by KLFLibBrowser::getOpenResource(), KLFLibBrowser::showEvent(), KLFLibBrowser::slotMetaInfoChanged(), KLFLibBrowser::slotRefreshResourceActionsEnabled(), KLFLibBrowser::slotResourceClose(), KLFLibBrowser::slotResourceProperties(), KLFLibBrowser::slotResourceRename(), and KLFLibBrowser::slotResourceRenameFinished().
|
inline |
Definition at line 135 of file klflibbrowser_p.h.
References pResFlags.
Referenced by KLFLibBrowser::saveGuiState(), KLFLibBrowser::slotRefreshResourceActionsEnabled(), and KLFLibBrowser::slotResourceClose().
|
inline |
Definition at line 137 of file klflibbrowser_p.h.
References QMap::begin(), QStringList::contains(), QStackedWidget::currentWidget(), QMap::end(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, pOpenViewTypeIdents, pViewState, KLFAbstractLibView::saveGuiState(), view(), and QStackedWidget::widget().
Referenced by KLFLibBrowser::saveGuiState().
|
inline |
Definition at line 132 of file klflibbrowser_p.h.
References pResFlags.
|
inlineprotectedslot |
Definition at line 393 of file klflibbrowser_p.h.
References entriesSelected(), findViewTypeAction(), QMap::key(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, pOpenViewTypeIdents, pViewTypeActions, KLFAbstractLibView::searchable(), KLFAbstractLibView::selectedEntries(), KLFSearchableProxy::setSearchTarget(), view(), and viewTypeChanged().
Referenced by KLFLibBrowserViewContainer(), and openView().
|
inlineprotectedslot |
Definition at line 384 of file klflibbrowser_p.h.
References entriesSelected(), and view().
Referenced by openView().
|
inlineprotectedslot |
Definition at line 388 of file klflibbrowser_p.h.
References moreCategorySuggestions(), and view().
Referenced by openView().
|
inlineprotectedslot |
Definition at line 372 of file klflibbrowser_p.h.
References requestRestore(), and view().
Referenced by openView().
|
inlineprotectedslot |
Definition at line 376 of file klflibbrowser_p.h.
References requestRestoreStyle(), and view().
Referenced by openView().
|
inlineprotectedslot |
Definition at line 380 of file klflibbrowser_p.h.
References resourceDataChanged(), and view().
Referenced by openView().
|
inline |
Definition at line 128 of file klflibbrowser_p.h.
References pOkViewTypeIdents.
|
inline |
Definition at line 105 of file klflibbrowser_p.h.
References QStackedWidget::currentWidget(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, KLFAbstractLibView::url(), and view().
Referenced by loadGuiState(), openSubResourceActions(), KLFLibBrowser::slotResourceClose(), KLFLibBrowser::slotResourceRename(), and KLFLibBrowser::slotTabResourceShown().
|
inline |
Definition at line 116 of file klflibbrowser_p.h.
References QStackedWidget::currentWidget(), and klfDbg.
Referenced by KLFLibBrowser::curLibView(), KLFLibBrowser::getView(), loadGuiState(), KLFLibBrowser::openResource(), saveGuiState(), KLFLibBrowser::slotCopyMoveToResource(), slotCurrentChanged(), slotEntriesSelected(), KLFLibBrowser::slotMetaInfoChanged(), slotMoreCategorySuggestions(), slotRequestRestore(), slotRequestRestoreStyle(), KLFLibBrowser::slotResourceDataChanged(), slotResourceDataChanged(), KLFLibBrowser::slotResourceDelSubRes(), KLFLibBrowser::slotResourceNewSubRes(), KLFLibBrowser::slotTabResourceShown(), KLFLibBrowser::slotUpdateForResourceProperty(), and url().
|
signal |
Referenced by openView().
|
signal |
Referenced by openView().
Definition at line 130 of file klflibbrowser_p.h.
References pViewTypeActions.
Referenced by KLFLibBrowser::slotTabResourceShown().
|
signal |
Referenced by slotCurrentChanged().
|
protected |
Definition at line 423 of file klflibbrowser_p.h.
Referenced by KLFLibBrowserViewContainer(), and supportedViewTypeIdentifiers().
Definition at line 447 of file klflibbrowser_p.h.
Referenced by openSubResourceActions().
Stores the view type identifier with the index in widget stack for each open view
Definition at line 430 of file klflibbrowser_p.h.
Referenced by currentViewTypeIdentifier(), loadGuiState(), openView(), saveGuiState(), and slotCurrentChanged().
|
protected |
Definition at line 434 of file klflibbrowser_p.h.
Referenced by KLFLibBrowserViewContainer(), resourceRoleFlags(), and setResourceRoleFlags().
|
protected |
Definition at line 424 of file klflibbrowser_p.h.
Referenced by defaultSubResource(), KLFLibBrowserViewContainer(), openSubResourceActions(), openView(), and resourceEngine().
|
protected |
Definition at line 426 of file klflibbrowser_p.h.
Referenced by loadGuiState(), openView(), and saveGuiState().
|
protected |
Definition at line 431 of file klflibbrowser_p.h.
Referenced by KLFLibBrowserViewContainer().
Definition at line 432 of file klflibbrowser_p.h.
Referenced by findViewTypeAction(), KLFLibBrowserViewContainer(), slotCurrentChanged(), and viewTypeActions().