~ubuntu-branches/ubuntu/karmic/qscintilla2/karmic

« back to all changes in this revision

Viewing changes to Qt3/Qsci/qscilexerxml.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Marek
  • Date: 2009-06-20 12:11:11 UTC
  • mfrom: (1.1.3 upstream) (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090620121111-6xsr2u1usw62eprl
Tags: 2.4-3
* Upload rebuilt packages
* Fixes segfault on import

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    //! by the lexer as a space separated string.
87
87
    const char *keywords(int set) const;
88
88
 
 
89
    //! Causes all properties to be refreshed by emitting the
 
90
    //! propertyChanged() signal as required.
 
91
    void refreshProperties();
 
92
 
 
93
    //! If \a allowed is true then scripts are styled.  The default is true.
 
94
    //!
 
95
    //! \sa scriptsStyled()
 
96
    void setScriptsStyled(bool styled);
 
97
 
 
98
    //! Returns true if scripts are styled.
 
99
    //!
 
100
    //! \sa setScriptsStyled()
 
101
    bool scriptsStyled() const;
 
102
 
 
103
protected:
 
104
    //! The lexer's properties are read from the settings \a qs.  \a prefix
 
105
    //! (which has a trailing '/') should be used as a prefix to the key of
 
106
    //! each setting.  true is returned if there is no error.
 
107
    //!
 
108
    bool readProperties(QSettings &qs, const QString &prefix);
 
109
 
 
110
    //! The lexer's properties are written to the settings \a qs.
 
111
    //! \a prefix (which has a trailing '/') should be used as a prefix to
 
112
    //! the key of each setting.  true is returned if there is no error.
 
113
    //!
 
114
    bool writeProperties(QSettings &qs, const QString &prefix) const;
 
115
 
89
116
private:
 
117
    void setScriptsProp();
 
118
 
 
119
    bool scripts;
 
120
 
90
121
    QsciLexerXML(const QsciLexerXML &);
91
122
    QsciLexerXML &operator=(const QsciLexerXML &);
92
123
};