1 typedef unsigned short ushort; 2 class QChar { 3 public: 4 QChar( const QChar& c ); 5 ushort ucs; 6 }; QChar(const QChar & c)7inline QChar::QChar( const QChar& c ) : ucs( c.ucs ) { }; 8 class QString { }; 9 class KoAutoFormat { 10 public: 11 struct TypographicQuotes { QChar begin, end; }; getConfigTypographicDoubleQuotes()12 TypographicQuotes getConfigTypographicDoubleQuotes() const { 13 return m_typographicDoubleQuotes; 14 } 15 TypographicQuotes m_typographicDoubleQuotes; 16 }; 17 class KoAutoFormatDia { 18 QChar oDoubleBegin, oDoubleEnd; 19 KoAutoFormat * m_docAutoFormat; 20 bool noSignal; 21 void changeAutoformatLanguage(void); 22 }; changeAutoformatLanguage(void)23void KoAutoFormatDia::changeAutoformatLanguage(void) 24 { 25 oDoubleEnd= m_docAutoFormat->getConfigTypographicDoubleQuotes().end; 26 } 27