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

« back to all changes in this revision

Viewing changes to src/entrywidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2010-07-21 12:02:48 UTC
  • mfrom: (1.1.5 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100721120248-9ohlkaiin6aktimd
Tags: 0.2.3.90-1
* New upstream release (Closes: #563684).
* Switch to source package version 3.0 (quilt).
* Bumped Standards-Version to 3.9.0, no changes necessary.
* Link against libyaz to enable Z39.50 support (Closes: #550547).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include <entry.h>
31
31
#include <entrywidgetsource.h>
 
32
#include <webquery.h>
32
33
 
33
34
class QComboBox;
34
35
class QLineEdit;
43
44
namespace KBibTeX
44
45
{
45
46
    class EntryWidgetTab;
 
47
    class WebQueryArXiv;
46
48
 
47
49
    class EntryWidget : public QWidget
48
50
    {
73
75
        void updateWarnings();
74
76
        void insertIdSuggestion( int id );
75
77
        void updateIdSuggestionsMenu();
 
78
        void refreshFromURL();
 
79
        void useExternalEntry( BibTeX::Entry*, bool );
 
80
        void endExternalSearch( WebQuery::Status );
76
81
 
77
82
    signals:
78
83
        void updateTabs( BibTeX::Entry::EntryType entryType, bool enableAll, bool isReadOnly );
92
97
        QPopupMenu *m_menuIdSuggestions;
93
98
        QMap<int, QString> m_idToSuggestion;
94
99
        QCheckBox *m_checkBoxEnableAll;
 
100
        QPushButton *m_pushButtonRefetch;
95
101
        QListView *m_listViewWarnings;
96
102
        QTabWidget *m_tabWidget;
97
103
        KBibTeX::EntryWidgetSource *m_sourcePage;
99
105
        QWidget *m_lastPage;
100
106
        QTimer *m_updateWarningsTimer;
101
107
        QDialog *m_dlgParent;
 
108
        WebQueryArXiv *m_wqa;
 
109
        QString m_oldId;
102
110
 
103
111
        void setupGUI( QWidget *parent, bool showWarnings = TRUE );
104
112
        void addTabWidgets();