diff options
Diffstat (limited to 'bibletime/frontend/cmanageindiceswidget.h')
-rw-r--r-- | bibletime/frontend/cmanageindiceswidget.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/bibletime/frontend/cmanageindiceswidget.h b/bibletime/frontend/cmanageindiceswidget.h deleted file mode 100644 index 47d9cd7..0000000 --- a/bibletime/frontend/cmanageindiceswidget.h +++ /dev/null @@ -1,77 +0,0 @@ -/********* -* -* This file is part of BibleTime's source code, http://www.bibletime.info/. -* -* Copyright 1999-2006 by the BibleTime developers. -* The BibleTime source code is licensed under the GNU General Public License version 2.0. -* -**********/ - - - -#ifndef CMANAGEINDICESWIDGET_H -#define CMANAGEINDICESWIDGET_H - -#include "frontend/manageindicesform.h" // uic generated - -#include <qwidget.h> - -class QCheckListItem; - -namespace BookshelfManager { - -/** -* This class encapsulates the "Manage search indices" page of the Bookshelf -* Manager. It allows for creation and deletion of search indicies for each -* installed module. It also allows for deletion of orphaned indices. -*/ -class CManageIndicesWidget : public ManageIndicesForm -{ - Q_OBJECT - -public: - /** - * Constructor - */ - CManageIndicesWidget(QWidget* parent, const char* name = 0); - - /** - * Destructor - */ - ~CManageIndicesWidget(); - -protected: - /** - * Initializes the look and feel of this page - */ - void initView(); - /** - * Populates the module list with installed modules and orphaned indices - */ - void populateModuleList(); - - // member variables - QCheckListItem* m_modsWithIndices; - QCheckListItem* m_modsWithoutIndices; - -public slots: - /** - * Creates indices for selected modules if no index currently exists - */ - void createIndices(); - /** - * Deletes indices for selected modules - */ - void deleteIndices(); - -public: - /** - * Deletes orphaned indices if the autoDeleteOrphanedIndices is true - * Always deletes indices of existing modules where hasIndex() returns false - */ - static void deleteOrphanedIndices(); -}; - -} - -#endif |