~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to parts/documentation/plugins/qt/docqtplugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2004 by Alexander Dymo                                  *
3
 
 *   cloudtemple@mksat.net                                                 *
4
 
 *                                                                         *
5
 
 *   This program is free software; you can redistribute it and/or modify  *
6
 
 *   it under the terms of the GNU General Public License as published by  *
7
 
 *   the Free Software Foundation; either version 2 of the License, or     *
8
 
 *   (at your option) any later version.                                   *
9
 
 *                                                                         *
10
 
 *   This program is distributed in the hope that it will be useful,       *
11
 
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12
 
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13
 
 *   GNU General Public License for more details.                          *
14
 
 *                                                                         *
15
 
 *   You should have received a copy of the GNU General Public License     *
16
 
 *   along with this program; if not, write to the                         *
17
 
 *   Free Software Foundation, Inc.,                                       *
18
 
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19
 
 ***************************************************************************/
20
 
#ifndef DOCQTPLUGIN_H
21
 
#define DOCQTPLUGIN_H
22
 
 
23
 
#include <kdevdocumentationplugin.h>
24
 
#include <qdom.h>
25
 
 
26
 
class KConfig;
27
 
 
28
 
class DocQtPlugin : public DocumentationPlugin
29
 
{
30
 
    Q_OBJECT
31
 
public:
32
 
    DocQtPlugin(QObject* parent, const char* name, const QStringList args = QStringList());
33
 
    ~DocQtPlugin();
34
 
 
35
 
    virtual QString pluginName() const;
36
 
 
37
 
    virtual DocumentationCatalogItem *createCatalog(KListView *contents, const QString &title, const QString &url);
38
 
 
39
 
    virtual void createTOC(DocumentationCatalogItem *item);
40
 
    virtual void setCatalogURL(DocumentationCatalogItem *item);
41
 
 
42
 
    virtual bool needRefreshIndex(DocumentationCatalogItem *item);
43
 
    virtual void createIndex(IndexBox *index, DocumentationCatalogItem *item);
44
 
    virtual void createSectionIndex(QFileInfo &fi, IndexBox *index, DocumentationCatalogItem *item,
45
 
        QDomElement section);
46
 
 
47
 
    virtual QStringList fullTextSearchLocations();
48
 
 
49
 
    virtual QPair<KFile::Mode, QString> catalogLocatorProps();
50
 
    virtual QString catalogTitle(const QString &url);
51
 
 
52
 
    virtual void autoSetupPlugin();
53
 
 
54
 
};
55
 
 
56
 
#endif