~ubuntu-branches/ubuntu/breezy/koffice/breezy-security

« back to all changes in this revision

Viewing changes to lib/kofficecore/koDocumentInfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    Q_OBJECT
35
35
public:
36
36
    KoDocumentInfo( QObject* parent = 0, const char* name = 0 );
 
37
    virtual ~KoDocumentInfo();
37
38
 
38
39
    bool load( const QDomDocument& doc );
39
40
    QDomDocument save();
40
41
 
41
 
    KoDocumentInfoPage* page( const QString& name );
42
 
    QStringList pages();
43
 
    void  documentInfochanged() { emit sigDocumentInfoModifed();}
 
42
    /**
 
43
     * This info has an accessor because it's the most commonly used.
 
44
     * Equivalent to page("about")->title() (but checking that the page exists)
 
45
     */
 
46
    QString title() const;
 
47
 
 
48
    KoDocumentInfoPage* page( const QString& name ) const;
 
49
    QStringList pages() const;
 
50
    void documentInfochanged() { emit sigDocumentInfoModifed();}
44
51
 signals:
45
52
    void sigDocumentInfoModifed();
46
53
};
84
91
    virtual QDomElement save( QDomDocument& doc );
85
92
 
86
93
    QString fullName() const;
 
94
    QString initial() const;
87
95
    QString title() const;
88
96
    QString company() const;
89
97
    QString email() const;
104
112
    void setPostalCode( const QString& n );
105
113
    void setCity( const QString& n );
106
114
    void setStreet( const QString& n );
107
 
 
 
115
    void setInitial( const QString& n );
108
116
    void initParameters();
109
117
 
110
118
private:
118
126
    QString m_postalCode;
119
127
    QString m_city;
120
128
    QString m_street;
 
129
    QString m_initial;
121
130
};
122
131
 
123
132
class KoDocumentInfoAbout : public KoDocumentInfoPage