~ubuntu-branches/ubuntu/karmic/qtcreator/karmic-security

« back to all changes in this revision

Viewing changes to src/plugins/texteditor/basetextdocument.h

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-07-19 16:23:52 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090719162352-oni0h8hrrkdd3sil
Tags: 1.2.1-1ubuntu1
* Merge from debian unstable (LP: #399414), remaining changes:
  - Add qt-creator transitional package.
* debian/control: Conflicts on qt-creator (<< 1.2.1-1ubuntu1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
**
5
5
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
6
6
**
7
 
** Contact:  Qt Software Information (qt-info@nokia.com)
 
7
** Contact: Nokia Corporation (qt-info@nokia.com)
8
8
**
9
9
** Commercial Usage
10
10
**
23
23
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24
24
**
25
25
** If you are unsure which license is appropriate for your use, please
26
 
** contact the sales department at qt-sales@nokia.com.
 
26
** contact the sales department at http://www.qtsoftware.com/contact.
27
27
**
28
28
**************************************************************************/
29
29
 
83
83
    virtual bool isReadOnly() const;
84
84
    virtual bool isModified() const;
85
85
    virtual bool isSaveAsAllowed() const { return true; }
 
86
    virtual void checkPermissions();
86
87
    virtual void modified(Core::IFile::ReloadBehavior *behavior);
87
88
    virtual QString mimeType() const;
88
89
    void setMimeType(const QString &mt);
141
142
    LineTerminatorMode m_lineTerminatorMode;
142
143
    QTextCodec *m_codec;
143
144
 
 
145
    bool m_fileIsReadOnly;
144
146
    bool m_isBinaryData;
145
147
    bool m_hasDecodingError;
146
148
    QByteArray m_decodingErrorSample;