~ubuntu-branches/ubuntu/wily/kbibtex/wily

« back to all changes in this revision

Viewing changes to src/webquerydblp.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2009-06-15 12:41:19 UTC
  • mfrom: (1.1.3 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090615124119-eoojhlvkmw3o9tkm
Tags: 0.2.2-1
* New upstream version (Closes: #487301, #507837, #518959, #520392).
* Bumped Standards-Version to 3.8.1. No changes necessary.
* Added 'DM-Upload-Allowed: yes'.
* Added missing '${misc:Depends}'.
* Support for per-file encoding settings (Closes: #514356)
* Upgrade debhelper compatibility to version 5.
* Update debian/copyright for 2009 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2004-2005 by Thomas Fischer                             *
 
2
 *   Copyright (C) 2004-2009 by Thomas Fischer                             *
3
3
 *   fischer@unix-ag.uni-kl.de                                             *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
22
22
 
23
23
#include <webquery.h>
24
24
 
 
25
class QCheckBox;
 
26
 
25
27
namespace KBibTeX
26
28
{
 
29
    /**
 
30
     @author Thomas Fischer <fischer@unix-ag.uni-kl.de>
 
31
    */
 
32
    class WebQueryDBLPWidget : public WebQueryWidget
 
33
    {
 
34
        Q_OBJECT
 
35
    public:
 
36
        WebQueryDBLPWidget( QWidget *parent, const char *name = 0 );
 
37
        QCheckBox *checkBoxKeepEntriesSeparate;
 
38
 
 
39
    protected:
 
40
        virtual void init();
 
41
    };
27
42
 
28
43
    /**
29
44
     @author Thomas Fischer <fischer@unix-ag.uni-kl.de>
35
50
        WebQueryDBLP( QWidget* parent );
36
51
        virtual ~WebQueryDBLP();
37
52
 
38
 
        void query( const QString& searchTerm, int numberOfResults );
39
 
        void cancelQuery() { /* nothing */ };
 
53
        void query();
40
54
 
41
55
        QString title();
42
56
        QString disclaimer();
43
57
        QString disclaimerURL();
 
58
 
 
59
        WebQueryWidget *widget();
 
60
 
 
61
    protected:
 
62
        void cancelQuery() { /* nothing */ };
 
63
 
 
64
    private:
 
65
        WebQueryDBLPWidget *m_widget;
44
66
    };
45
67
 
46
68
}