libyui-qt
Loading...
Searching...
No Matches
QY2Translator.h
1
/*
2
Copyright (c) 2022 SUSE LLC
3
This library is free software; you can redistribute it and/or modify
4
it under the terms of the GNU Lesser General Public License as
5
published by the Free Software Foundation; either version 2.1 of the
6
License, or (at your option) version 3.0 of the License. This library
7
is distributed in the hope that it will be useful, but WITHOUT ANY
8
WARRANTY; without even the implied warranty of MERCHANTABILITY or
9
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10
License for more details. You should have received a copy of the GNU
11
Lesser General Public License along with this library; if not, write
12
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13
Floor, Boston, MA 02110-1301 USA
14
*/
15
16
17
#ifndef QY2Translator_h
18
#define QY2Translator_h
19
20
#include <QTranslator>
21
#include "YQi18n.h"
22
33
class
QY2Translator:
public
QTranslator
34
{
35
Q_OBJECT
36
37
public
:
38
39
QY2Translator( QObject * parent );
40
virtual
~QY2Translator();
41
54
virtual
QString
translate
(
const
char
* context,
55
const
char
* sourceText,
56
const
char
* disambiguation = 0,
57
int
nPlural = -1 )
const
Q_DECL_OVERRIDE;
58
59
};
// class QY2Translator
60
61
#endif
// QY2Translator_h
QY2Translator::translate
virtual QString translate(const char *context, const char *sourceText, const char *disambiguation=0, int nPlural=-1) const Q_DECL_OVERRIDE
Definition
QY2Translator.cc:38
src
QY2Translator.h
Generated by
1.13.1