00001 00002 // 00003 // YASAGUI - Translator 00004 // 00005 // Project: Yasa 2 00006 // Author : Jan Blumenthal 00007 // Start : 2002/02/28 00008 // $Header: /sources/yasa/yasagui/translator.h,v 1.4 2003/01/24 15:47:44 bj Exp $ 00009 // 00011 // 00012 // This program is free software; you can redistribute it and/or modify 00013 // it under the terms of the GNU General Public License as published by 00014 // the Free Software Foundation; either version 2 of the License, or 00015 // (at your option) any later version. 00016 // 00017 // This program is distributed in the hope that it will be useful, 00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 // GNU General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU General Public License 00023 // along with this program (See the included file COPYING); 00024 // if not, write to the Free Software Foundation, Inc., 00025 // 675 Mass Ave, Cambridge, MA 02139, USA. 00026 // 00028 #ifndef YASAGUI_TRANSLATOR_INCLUDE 00029 #define YASAGUI_TRANSLATOR_INCLUDE 00030 00031 00033 #include <qobject.h> 00034 #include "translations.h" 00035 00036 00038 class QTranslator; 00039 00040 00042 class YTranslator : public QObject 00043 { Q_OBJECT 00044 QTranslator *qttranslator; 00045 QTranslator *apptranslator; 00046 public: YTranslator() 00047 { 00048 qttranslator=0; 00049 apptranslator=0; 00050 } 00051 ~YTranslator(); 00052 int InitInstance(QApplication *app); 00053 }; 00054 00055 00057 #endif // ifndef YASAGUI_TRANSLATOR_INCLUDE