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

« back to all changes in this revision

Viewing changes to src/entrywidgetsource.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:
38
38
        ~EntryWidgetSource();
39
39
 
40
40
        bool isModified();
 
41
        bool containsValidText();
 
42
        QString text();
 
43
        void setText( const QString& text );
41
44
 
42
45
    public slots:
43
46
        void updateGUI( BibTeX::Entry::EntryType entryType, bool enableAll );
44
47
        void apply( BibTeX::Entry *entry );
45
48
        void reset( BibTeX::Entry *entry );
 
49
        void restore();
46
50
        void updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings );
47
51
 
48
52
    private:
49
53
        QTextEdit *m_textEditSource;
 
54
        BibTeX::Entry *m_entry;
50
55
 
51
56
        void setupGUI();
52
57
    };