~ubuntu-branches/ubuntu/trusty/bibletime/trusty

« back to all changes in this revision

Viewing changes to src/frontend/mainindex/bookshelf/btindexmodule.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Marsden
  • Date: 2009-11-18 17:30:00 UTC
  • mfrom: (1.3.4 upstream) (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091118173000-endkhjz5qai88tvr
Tags: 2.4-1
* New upstream version 2.4
* debian/control: 
  - Replace incorrect bibletime-data Depends on lib4qt-gui
    with bibletime Depends on libqtgui4 (>= 4.4.0). (Closes: #556209).
  - Add Build-depends: on zlib1g-dev and libcurl4-gnutls-dev 
    (Closes: #556805).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*********
2
 
*
3
 
* This file is part of BibleTime's source code, http://www.bibletime.info/.
4
 
*
5
 
* Copyright 1999-2008 by the BibleTime developers.
6
 
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
7
 
*
8
 
**********/
9
 
 
10
 
#ifndef BTINDEXMODULE_H
11
 
#define BTINDEXMODULE_H
12
 
 
13
 
#include "btindexitem.h"
14
 
 
15
 
#include "util/ctoolclass.h"
16
 
 
17
 
class BTModuleTreeItem;
18
 
class CSwordModuleInfo;
19
 
 
20
 
class QAction;
21
 
class QMimeData;
22
 
 
23
 
 
24
 
class BTIndexModule : public BTIndexItem
25
 
{
26
 
public:
27
 
        BTIndexModule(BTModuleTreeItem* treeItem, QTreeWidgetItem* previous);
28
 
 
29
 
        ~BTIndexModule();
30
 
 
31
 
        virtual bool enableAction(QAction* action) const;
32
 
        virtual bool acceptDrop(const QMimeData* data);
33
 
        CSwordModuleInfo* moduleInfo() const;
34
 
 
35
 
private:
36
 
        CSwordModuleInfo* m_moduleInfo;
37
 
};
38
 
 
39
 
#endif