Eneboo - Documentación para desarrolladores
src/flbase/FLTranslations.h
Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                          FLTranslations.h
00003                      -------------------
00004 begin                : 07/08/2007
00005 copyright            : (C) 2003-2007 by InfoSiAL S.L.
00006 email                : mail@infosial.com
00007 ***************************************************************************/
00008 /***************************************************************************
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; version 2 of the License.               *
00012  ***************************************************************************/
00013 /***************************************************************************
00014    Este  programa es software libre. Puede redistribuirlo y/o modificarlo
00015    bajo  los  trminos  de  la  Licencia  Pblica General de GNU   en  su
00016    versin 2, publicada  por  la  Free  Software Foundation.
00017  ***************************************************************************/
00018 
00019 #ifndef FLTRANSLATIONS_H_
00020 #define FLTRANSLATIONS_H_
00021 
00022 #include <qdir.h>
00023 #include <qfile.h>
00024 #include <qfileinfo.h>
00025 #include <qregexp.h>
00026 #include <qstring.h>
00027 #include <qstringlist.h>
00028 #include <qtextstream.h>
00029 
00030 #include <errno.h>
00031 
00032 class MetaTranslatorMessage;
00033 class MetaTranslator;
00034 
00035 class FL_EXPORT FLTranslations
00036 {
00037 
00038 public:
00039 
00040   typedef QPtrList<MetaTranslatorMessage> TML;
00041 
00042   bool loadTsFile(MetaTranslator &tor, const QString &tsFileName, bool /* verbose */);
00043 
00044   void releaseMetaTranslator(const MetaTranslator &tor,
00045                              const QString &qmFileName, bool verbose,
00046                              bool stripped);
00047 
00048   void releaseTsFile(const QString &tsFileName, bool verbose,
00049                      bool stripped);
00050 
00051   void lrelease(const QString &tsInputFile, const QString &qmOutputFile, bool stripped = true);
00052 };
00053 
00054 #endif /*FLTRANSLATIONS_H_*/
00055 
00056 /****************************************************************************
00057 **
00058 ** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
00059 **
00060 ** This file is part of the Qt Linguist of the Qt Toolkit.
00061 **
00062 ** This file may be used under the terms of the GNU General Public
00063 ** License version 2.0 as published by the Free Software Foundation
00064 ** and appearing in the file LICENSE.GPL included in the packaging of
00065 ** this file.  Please review the following information to ensure GNU
00066 ** General Public Licensing requirements will be met:
00067 ** http://www.trolltech.com/products/qt/opensource.html
00068 **
00069 ** If you are unsure which license is appropriate for your use, please
00070 ** review the following information:
00071 ** http://www.trolltech.com/products/qt/licensing.html or contact the
00072 ** sales department at sales@trolltech.com.
00073 **
00074 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00075 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00076 **
00077 ****************************************************************************/
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'