#include <klflibbrowser_p.h>
Definition at line 57 of file klflibbrowser_p.h.
KLFLibBrowserViewContainer::KLFLibBrowserViewContainer | ( | KLFLibResourceEngine * | resource, |
QTabWidget * | parent | ||
) | [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().
virtual KLFLibBrowserViewContainer::~KLFLibBrowserViewContainer | ( | ) | [inline, virtual] |
Definition at line 100 of file klflibbrowser_p.h.
References KLF_DEBUG_BLOCK, and KLF_FUNC_NAME.
QString KLFLibBrowserViewContainer::currentViewTypeIdentifier | ( | ) | [inline] |
Definition at line 122 of file klflibbrowser_p.h.
References QMap::key(), and pOpenViewTypeIdents.
QString KLFLibBrowserViewContainer::defaultSubResource | ( | ) | [inline] |
Definition at line 126 of file klflibbrowser_p.h.
References KLFLibResourceEngine::defaultSubResource(), and pResource.
void KLFLibBrowserViewContainer::entriesSelected | ( | const KLFLibEntryList & | entries | ) | [signal] |
Referenced by openView(), slotCurrentChanged(), and slotEntriesSelected().
int KLFLibBrowserViewContainer::findViewTypeAction | ( | const QString & | vtype | ) | [inline, protected] |
Definition at line 436 of file klflibbrowser_p.h.
References KLF_DEBUG_BLOCK, KLF_FUNC_NAME, pViewTypeActions, and QList::size().
Referenced by slotCurrentChanged().
void KLFLibBrowserViewContainer::internalRequestOpenSubResourceSender | ( | ) | [inline, protected, slot] |
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().
void KLFLibBrowserViewContainer::loadGuiState | ( | const QVariantMap & | v | ) | [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().
void KLFLibBrowserViewContainer::moreCategorySuggestions | ( | const QStringList & | categorylist | ) | [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(), QUrl::toString(), QVariant::toString(), url(), and KLFLibResourceEngine::url().
Referenced by KLFLibBrowser::slotTabResourceShown().
bool KLFLibBrowserViewContainer::openView | ( | const QString & | viewTypeIdent | ) | [inline, slot] |
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().
void KLFLibBrowserViewContainer::requestOpenUrl | ( | const QString & | url | ) | [signal] |
Referenced by internalRequestOpenSubResourceSender().
void KLFLibBrowserViewContainer::requestRestore | ( | const KLFLibEntry & | entry, |
uint | restoreflags = KLFLib::RestoreLatexAndStyle |
||
) | [signal] |
Referenced by openView(), and slotRequestRestore().
void KLFLibBrowserViewContainer::requestRestoreStyle | ( | const KLFStyle & | style | ) | [signal] |
Referenced by openView(), and slotRequestRestoreStyle().
void KLFLibBrowserViewContainer::resourceDataChanged | ( | const QList< KLFLib::entryId > & | entryIdList | ) | [signal] |
Referenced by openView(), and slotResourceDataChanged().
KLFLibResourceEngine* KLFLibBrowserViewContainer::resourceEngine | ( | ) | [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().
uint KLFLibBrowserViewContainer::resourceRoleFlags | ( | ) | const [inline] |
Definition at line 135 of file klflibbrowser_p.h.
References pResFlags.
Referenced by KLFLibBrowser::saveGuiState(), KLFLibBrowser::slotRefreshResourceActionsEnabled(), and KLFLibBrowser::slotResourceClose().
QVariantMap KLFLibBrowserViewContainer::saveGuiState | ( | ) | const [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().
void KLFLibBrowserViewContainer::setResourceRoleFlags | ( | uint | flags | ) | [inline] |
Definition at line 132 of file klflibbrowser_p.h.
References pResFlags.
void KLFLibBrowserViewContainer::slotCurrentChanged | ( | int | index | ) | [inline, protected, slot] |
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().
void KLFLibBrowserViewContainer::slotEntriesSelected | ( | const KLFLibEntryList & | entries | ) | [inline, protected, slot] |
Definition at line 384 of file klflibbrowser_p.h.
References entriesSelected(), and view().
Referenced by openView().
void KLFLibBrowserViewContainer::slotMoreCategorySuggestions | ( | const QStringList & | categorylist | ) | [inline, protected, slot] |
Definition at line 388 of file klflibbrowser_p.h.
References moreCategorySuggestions(), and view().
Referenced by openView().
void KLFLibBrowserViewContainer::slotRequestRestore | ( | const KLFLibEntry & | entry, |
uint | restoreflags = KLFLib::RestoreLatexAndStyle |
||
) | [inline, protected, slot] |
Definition at line 372 of file klflibbrowser_p.h.
References requestRestore(), and view().
Referenced by openView().
void KLFLibBrowserViewContainer::slotRequestRestoreStyle | ( | const KLFStyle & | style | ) | [inline, protected, slot] |
Definition at line 376 of file klflibbrowser_p.h.
References requestRestoreStyle(), and view().
Referenced by openView().
void KLFLibBrowserViewContainer::slotResourceDataChanged | ( | const QList< KLFLib::entryId > & | entryIdList | ) | [inline, protected, slot] |
Definition at line 380 of file klflibbrowser_p.h.
References resourceDataChanged(), and view().
Referenced by openView().
QStringList KLFLibBrowserViewContainer::supportedViewTypeIdentifiers | ( | ) | const [inline] |
Definition at line 128 of file klflibbrowser_p.h.
References pOkViewTypeIdents.
QUrl KLFLibBrowserViewContainer::url | ( | ) | const [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().
KLFAbstractLibView* KLFLibBrowserViewContainer::view | ( | ) | [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(), slotResourceDataChanged(), KLFLibBrowser::slotResourceDataChanged(), KLFLibBrowser::slotResourceDelSubRes(), KLFLibBrowser::slotResourceNewSubRes(), KLFLibBrowser::slotTabResourceShown(), KLFLibBrowser::slotUpdateForResourceProperty(), and url().
void KLFLibBrowserViewContainer::viewContextMenuRequested | ( | const QPoint & | pos | ) | [signal] |
Referenced by openView().
void KLFLibBrowserViewContainer::viewOperationStartReportingProgress | ( | KLFProgressReporter * | progressReporter, |
const QString & | descriptiveText | ||
) | [signal] |
Referenced by openView().
Definition at line 130 of file klflibbrowser_p.h.
References pViewTypeActions.
Referenced by KLFLibBrowser::slotTabResourceShown().
void KLFLibBrowserViewContainer::viewTypeChanged | ( | const QString & | ) | [signal] |
Referenced by slotCurrentChanged().
Definition at line 423 of file klflibbrowser_p.h.
Referenced by KLFLibBrowserViewContainer(), and supportedViewTypeIdentifiers().
QMap<QString,QAction*> KLFLibBrowserViewContainer::pOpenSubResActionCache [protected] |
Definition at line 447 of file klflibbrowser_p.h.
Referenced by openSubResourceActions().
QMap<QString,int> KLFLibBrowserViewContainer::pOpenViewTypeIdents [protected] |
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().
uint KLFLibBrowserViewContainer::pResFlags [protected] |
Definition at line 434 of file klflibbrowser_p.h.
Referenced by KLFLibBrowserViewContainer(), resourceRoleFlags(), and setResourceRoleFlags().
Definition at line 424 of file klflibbrowser_p.h.
Referenced by defaultSubResource(), KLFLibBrowserViewContainer(), openSubResourceActions(), openView(), and resourceEngine().
QVariantMap KLFLibBrowserViewContainer::pViewState [protected] |
Definition at line 426 of file klflibbrowser_p.h.
Referenced by loadGuiState(), openView(), and saveGuiState().
Definition at line 431 of file klflibbrowser_p.h.
Referenced by KLFLibBrowserViewContainer().
QList<QAction*> KLFLibBrowserViewContainer::pViewTypeActions [protected] |
Definition at line 432 of file klflibbrowser_p.h.
Referenced by findViewTypeAction(), KLFLibBrowserViewContainer(), slotCurrentChanged(), and viewTypeActions().