~ubuntu-branches/ubuntu/precise/kbibtex/precise

« back to all changes in this revision

Viewing changes to src/webqueryspireshep.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Patrick Davies
  • Date: 2007-10-28 10:06:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071028100645-jw9oadntiao5oszf
Tags: 0.2-0ubuntu1
* New upstream release.
* Bumped up compat and debhelper versions to 5.
* Added Original-Maintainer as per Ubuntu spec.
* Moved Homepage as per Debian spec.
* Removed from patches:
  - 10-invalid_pure_specifier.dpatch - applied upstream.
  - 11-accented_characters.dpatch - applied upstream.
  - 12-empty_pubmed_search.dpatch - applied upstream.
  - 13-store_search_urls.dpatch - applied upstream.
* Updated 14-xslt_export and use simple-patchsys instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2004-2005 by Thomas Fischer                             *
 
3
 *   fischer@unix-ag.uni-kl.de                                             *
 
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 KBIBTEXWEBQUERYSPIRESHEP_H
 
21
#define KBIBTEXWEBQUERYSPIRESHEP_H
 
22
 
 
23
#include <webquery.h>
 
24
 
 
25
namespace KBibTeX
 
26
{
 
27
 
 
28
    /**
 
29
     @author Thomas Fischer <fischer@unix-ag.uni-kl.de>
 
30
    */
 
31
 
 
32
    class WebQueryWizardSpiresHep: public WebQueryWizard
 
33
    {
 
34
        Q_OBJECT
 
35
    public:
 
36
        WebQueryWizardSpiresHep( const QString& caption, QWidget* parent, const char* name = 0 );
 
37
        ~WebQueryWizardSpiresHep();
 
38
 
 
39
    protected slots:
 
40
        void startSearch();
 
41
 
 
42
    private:
 
43
        static const QString mirrorNames[];
 
44
        static const QString mirrorURLs[];
 
45
 
 
46
    };
 
47
 
 
48
    class WebQuerySpiresHep : public WebQuery
 
49
    {
 
50
    public:
 
51
        WebQuerySpiresHep( QWidget* parent, const char* name = 0 );
 
52
        ~WebQuerySpiresHep();
 
53
 
 
54
        BibTeX::File* query( );
 
55
 
 
56
        int uniqueId();
 
57
        QString title();
 
58
 
 
59
    private:
 
60
        WebQueryWizardSpiresHep *m_wizard;
 
61
 
 
62
    };
 
63
 
 
64
}
 
65
 
 
66
#endif