summaryrefslogtreecommitdiff
path: root/bibletime/frontend/displaywindow/cmodulechooserbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/frontend/displaywindow/cmodulechooserbar.h')
-rw-r--r--bibletime/frontend/displaywindow/cmodulechooserbar.h84
1 files changed, 0 insertions, 84 deletions
diff --git a/bibletime/frontend/displaywindow/cmodulechooserbar.h b/bibletime/frontend/displaywindow/cmodulechooserbar.h
deleted file mode 100644
index 180a651..0000000
--- a/bibletime/frontend/displaywindow/cmodulechooserbar.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/***************************************************************************
- cmodulechooserbar.h - description
- -------------------
- begin : Sat Mar 17 2001
- copyright : (C) 2001 by The BibleTime team
- email : info@bibletime.de
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
-#ifndef CMODULECHOOSERBAR_H
-#define CMODULECHOOSERBAR_H
-
-//BibleTime includes
-#include "cmodulechooserbutton.h"
-
-#include "backend/cswordmoduleinfo.h"
-
-#include "util/cpointers.h"
-
-//Qt includes
-#include <qwidget.h>
-#include <qhbox.h>
-
-//KDE includes
-#include <ktoolbar.h>
-
-/**
- * @author The BibleTime team
- */
-class CModuleChooserBar : public KToolBar {
- Q_OBJECT
-public:
- /**
- * Default constructor
- */
- CModuleChooserBar(ListCSwordModuleInfo useModules, CSwordModuleInfo::ModuleType type, QWidget *parent=0, const char *name=0);
- /**
- * Returns a list of selected modules.
- */
- ListCSwordModuleInfo getModuleList();
- /**
- * Sets the number of the maximum count of buttons.
- */
- void setButtonLimit( const int limit);
- /**
- * Sets the modules which are chosen in this module chooser bar.
- */
- void setModules( ListCSwordModuleInfo modules );
-
-protected:
- /**
- * Adds a button to the toolbar
- */
- CModuleChooserButton* const addButton( CSwordModuleInfo* const module );
-
-protected slots: // Protected slots
- /* Add a button
- * This slot calls the addButton function above to add a button.
- */
- void addButton();
- /**
- * Removes a button from the toolbar
- */
- void removeButton( const int ID );
-
-private:
- QPtrList<CModuleChooserButton> m_buttonList;
- CSwordModuleInfo::ModuleType m_moduleType;
- int m_idCounter;
- int m_buttonLimit;
-
-signals: // Signals
- void sigChanged();
-};
-
-#endif