klettres
langutils.h
Go to the documentation of this file.00001 /* 00002 Copyright 2007 Pino Toscano <pino@kde.org> 00003 Copyright 2007 Anne-Marie Mahfouf <annma@kde.org> 00004 00005 This program is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef LANGUTILS_H 00021 #define LANGUTILS_H 00022 00023 00024 #include <QStringList> 00025 00026 class LangUtils 00027 { 00028 public: 00029 static bool hasSpecialChars(const QString& lang); 00030 static QStringList getLanguages(); 00031 static void writeLangConfig(); 00032 }; 00033 00034 #endif
KDE 4.0 API Reference