1 /* 2 For general Scribus (>=1.3.2) copyright and licensing information please refer 3 to the COPYING file provided with the program. Following this notice may exist 4 a copyright and/or license notice that predates the release of Scribus 1.3.2 5 for which a new license (GPL+exception) is in place. 6 */ 7 /*************************************************************************** 8 begin : Aug 2012 9 copyright : (C) 2012 by Craig Bradney 10 email : cbradney@scribus.info 11 ***************************************************************************/ 12 13 /*************************************************************************** 14 * * 15 * This program is free software; you can redistribute it and/or modify * 16 * it under the terms of the GNU General Public License as published by * 17 * the Free Software Foundation; either version 2 of the License, or * 18 * (at your option) any later version. * 19 * * 20 ***************************************************************************/ 21 22 #ifndef LANGDEF_H 23 #define LANGDEF_H 24 25 #include <QString> 26 27 #include "scribusapi.h" 28 29 class SCRIBUS_API LangDef 30 { 31 public: 32 LangDef(); 33 LangDef(const QString& pri, const QString& alt, const QString& name, const QString& transName); ~LangDef()34 ~LangDef() {} 35 36 QString m_altAbbrev; 37 QString m_hyphFile; 38 QString m_name; 39 QString m_priAbbrev; 40 QString m_spellFile; 41 QString m_transFile; 42 QString m_transName; 43 bool m_hyphAvailable {false}; 44 bool m_spellAvailable {false}; 45 bool m_transAvailable {false}; 46 }; 47 48 #endif // LANGDEF_H 49