|
LibreOffice Module dbaccess (master) 1
|
#include <dbfindex.hxx>
Public Member Functions | |
| ODbaseIndexDialog (weld::Window *pParent, OUString aDataSrcName) | |
| virtual | ~ODbaseIndexDialog () override |
Public Member Functions inherited from weld::GenericDialogController | |
| GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
| virtual Dialog * | getDialog () override |
| virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
| virtual Dialog * | getDialog ()=0 |
| const Dialog * | getConstDialog () const |
| virtual short | run () |
| void | set_title (const OUString &rTitle) |
| OUString | get_title () const |
| void | set_help_id (const OUString &rHelpId) |
| OUString | get_help_id () const |
| void | response (int nResponse) |
| virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Protected Member Functions | |
| void | Init () |
| void | SetCtrls () |
| OTableIndex | RemoveFreeIndex (const OUString &_rName, bool _bMustExist) |
| void | InsertFreeIndex (const OTableIndex &_rIndex) |
| OTableIndex | RemoveTableIndex (std::u16string_view _rTableName, const OUString &_rIndexName) |
| void | InsertTableIndex (std::u16string_view _rTableName, const OTableIndex &_rIndex) |
| void | checkButtons () |
Static Protected Member Functions | |
| static OTableIndex | implRemoveIndex (const OUString &_rName, TableIndexList &_rList, weld::TreeView &_rDisplay, bool _bMustExist) |
| static void | implInsertIndex (const OTableIndex &_rIndex, TableIndexList &_rList, weld::TreeView &_rDisplay) |
Private Member Functions | |
| DECL_LINK (TableSelectHdl, weld::ComboBox &, void) | |
| DECL_LINK (AddClickHdl, weld::Button &, void) | |
| DECL_LINK (RemoveClickHdl, weld::Button &, void) | |
| DECL_LINK (AddAllClickHdl, weld::Button &, void) | |
| DECL_LINK (RemoveAllClickHdl, weld::Button &, void) | |
| DECL_LINK (OKClickHdl, weld::Button &, void) | |
| DECL_LINK (OnListEntrySelected, weld::TreeView &, void) | |
Private Attributes | |
| OUString | m_aDSN |
| TableInfoList | m_aTableInfoList |
| TableIndexList | m_aFreeIndexList |
| std::unique_ptr< weld::Button > | m_xPB_OK |
| std::unique_ptr< weld::ComboBox > | m_xCB_Tables |
| std::unique_ptr< weld::Widget > | m_xIndexes |
| std::unique_ptr< weld::TreeView > | m_xLB_TableIndexes |
| std::unique_ptr< weld::TreeView > | m_xLB_FreeIndexes |
| std::unique_ptr< weld::Button > | m_xAdd |
| std::unique_ptr< weld::Button > | m_xRemove |
| std::unique_ptr< weld::Button > | m_xAddAll |
| std::unique_ptr< weld::Button > | m_xRemoveAll |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
| static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
| std::unique_ptr< weld::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 65 of file dbfindex.hxx.
| dbaui::ODbaseIndexDialog::ODbaseIndexDialog | ( | weld::Window * | pParent, |
| OUString | aDataSrcName | ||
| ) |
Definition at line 43 of file dbfindex.cxx.
References Init(), LINK, m_xAdd, m_xAddAll, m_xCB_Tables, m_xLB_FreeIndexes, m_xLB_TableIndexes, m_xPB_OK, m_xRemove, m_xRemoveAll, and SetCtrls().
|
overridevirtual |
Definition at line 75 of file dbfindex.cxx.
|
protected |
Definition at line 79 of file dbfindex.cxx.
References m_xAdd, m_xAddAll, m_xLB_FreeIndexes, m_xLB_TableIndexes, m_xRemove, and m_xRemoveAll.
Referenced by Init(), and SetCtrls().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprotected |
Definition at line 113 of file dbfindex.cxx.
References weld::TreeView::append_text(), dbaui::OTableIndex::GetIndexFileName(), and weld::TreeView::select().
Referenced by InsertFreeIndex(), and InsertTableIndex().
|
staticprotected |
Definition at line 88 of file dbfindex.cxx.
References dbaui::OTableIndex::GetIndexFileName(), nPos, weld::TreeView::remove_text(), and weld::TreeView::select().
Referenced by RemoveFreeIndex(), and RemoveTableIndex().
|
protected |
Definition at line 222 of file dbfindex.cxx.
References dbaui::aGroupIdent(), dbaui::OTableInfo::aIndexList, aName, aURL, checkButtons(), Exception, svt::OFileNotation::get(), utl::LocalFileHelper::GetFolderContents(), Config::GetKeyCount(), Config::GetKeyName(), comphelper::getProcessComponentContext(), ucbhelper::Content::isFolder(), m_aDSN, m_aFreeIndexList, m_aTableInfoList, m_xIndexes, m_xPB_OK, svt::OFileNotation::N_SYSTEM, svt::OFileNotation::N_URL, INetURLObject::NONE, Config::ReadKey(), RemoveFreeIndex(), Config::SetGroup(), SvtPathOptions::SubstituteVariable(), and u.
Referenced by ODbaseIndexDialog().
|
inlineprotected |
Definition at line 98 of file dbfindex.hxx.
References implInsertIndex(), m_aFreeIndexList, and m_xLB_FreeIndexes.
|
protected |
Definition at line 134 of file dbfindex.cxx.
References implInsertIndex(), m_aTableInfoList, and m_xLB_TableIndexes.
|
inlineprotected |
Definition at line 97 of file dbfindex.hxx.
References implRemoveIndex(), m_aFreeIndexList, and m_xLB_FreeIndexes.
Referenced by Init().
|
protected |
Definition at line 120 of file dbfindex.cxx.
References implRemoveIndex(), m_aTableInfoList, and m_xLB_TableIndexes.
|
protected |
Definition at line 321 of file dbfindex.cxx.
References dbaui::OTableInfo::aIndexList, dbaui::OTableInfo::aTableName, checkButtons(), index, m_aFreeIndexList, m_aTableInfoList, m_xCB_Tables, m_xLB_FreeIndexes, and m_xLB_TableIndexes.
Referenced by ODbaseIndexDialog().
|
private |
Definition at line 67 of file dbfindex.hxx.
Referenced by Init().
|
private |
Definition at line 69 of file dbfindex.hxx.
Referenced by Init(), InsertFreeIndex(), RemoveFreeIndex(), and SetCtrls().
|
private |
Definition at line 68 of file dbfindex.hxx.
Referenced by Init(), InsertTableIndex(), RemoveTableIndex(), and SetCtrls().
|
private |
Definition at line 77 of file dbfindex.hxx.
Referenced by checkButtons(), and ODbaseIndexDialog().
|
private |
Definition at line 79 of file dbfindex.hxx.
Referenced by checkButtons(), and ODbaseIndexDialog().
|
private |
Definition at line 72 of file dbfindex.hxx.
Referenced by ODbaseIndexDialog(), and SetCtrls().
|
private |
Definition at line 73 of file dbfindex.hxx.
Referenced by Init().
|
private |
Definition at line 75 of file dbfindex.hxx.
Referenced by checkButtons(), InsertFreeIndex(), ODbaseIndexDialog(), RemoveFreeIndex(), and SetCtrls().
|
private |
Definition at line 74 of file dbfindex.hxx.
Referenced by checkButtons(), InsertTableIndex(), ODbaseIndexDialog(), RemoveTableIndex(), and SetCtrls().
|
private |
Definition at line 71 of file dbfindex.hxx.
Referenced by Init(), and ODbaseIndexDialog().
|
private |
Definition at line 78 of file dbfindex.hxx.
Referenced by checkButtons(), and ODbaseIndexDialog().
|
private |
Definition at line 80 of file dbfindex.hxx.
Referenced by checkButtons(), and ODbaseIndexDialog().