~ubuntu-branches/ubuntu/wily/scribus/wily-proposed

« back to all changes in this revision

Viewing changes to scribus/chartablemodel.h

  • Committer: Package Import Robot
  • Author(s): Oleksandr Moskalenko
  • Date: 2012-02-09 21:50:56 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120209215056-2wrx1ara0jbm7fi5
Tags: 1.4.0.dfsg+r17287-1
* New upstream stable release upload into Debian (Closes: #654703).
* Applied the Ubuntu armel patch.
* Removed non-free color swatches from resources.
* debian/control:
  - Moved icc-profiles from Recommends to Suggests (Closes: #655885).
  - Updated Standards-Version to 3.9.2.
  - Updated extended description per lintian warning.
* debian/rules:
  - Update mailcap (Closes: #630751). A request for mime.types update has
    been sent to the mime-support maintainer.
  - Added build-arch and build-indep targets per lintian warning.
* debian/patches:
  - top_cmakelists.patch - don't copy extra docs and changelogs.
  - scribus_cmakelists.patch - don't copy extra docs and changelogs.
  - scribus_cmakelists.patch - don't install the non-free "doc" dir.
  - profiles_cmakelists.patch - don't install non-free sRGB profile.
* debian/copyright: 
  - Converted to the DEP5 machine readable foramt.
  - Added licenses for free color swatches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#define CHARTABLEMODEL_H
9
9
 
10
10
#include <QAbstractTableModel>
 
11
#include <QStringList>
11
12
 
12
13
#include "scribusapi.h"
13
14
 
44
45
        ScFace fontFace();
45
46
 
46
47
        void setCharacters(CharClassDef ch);
 
48
        void setCharactersAndFonts(CharClassDef ch, QStringList fonts);
 
49
        void addCharacter(QString ch);
47
50
        CharClassDef characters() {
48
51
                return m_characters;
49
52
        };
 
53
        QStringList fonts() { return m_fonts; }
50
54
 
51
55
        //! \brief called to erase glyph at index from table.
52
56
        bool removeCharacter(int index);
84
88
 
85
89
        QString m_fontInUse;
86
90
        CharClassDef m_characters;
 
91
        QStringList m_fonts;
87
92
 
88
93
        //! \brief Internal selection handling. See selectionChanged().
89
94
        QItemSelectionModel * m_selectionModel;