equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the Qt Linguist of the Qt Toolkit. |
7 ** This file is part of the Qt Linguist of the Qt Toolkit. |
8 ** |
8 ** |
151 struct Duplicates { QSet<int> byId, byContents; }; |
151 struct Duplicates { QSet<int> byId, byContents; }; |
152 Duplicates resolveDuplicates(); |
152 Duplicates resolveDuplicates(); |
153 void reportDuplicates(const Duplicates &dupes, const QString &fileName, bool verbose); |
153 void reportDuplicates(const Duplicates &dupes, const QString &fileName, bool verbose); |
154 |
154 |
155 void setCodecName(const QByteArray &name); |
155 void setCodecName(const QByteArray &name); |
|
156 void setCodec(QTextCodec *codec) { m_codec = codec; } |
156 QByteArray codecName() const; |
157 QByteArray codecName() const; |
157 QTextCodec *codec() const { return m_codec; } |
158 QTextCodec *codec() const { return m_codec; } |
158 |
159 |
159 QString languageCode() const { return m_language; } |
160 QString languageCode() const { return m_language; } |
160 QString sourceLanguageCode() const { return m_sourceLanguage; } |
161 QString sourceLanguageCode() const { return m_sourceLanguage; } |