-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathctranslit.h
More file actions
34 lines (30 loc) · 784 Bytes
/
ctranslit.h
File metadata and controls
34 lines (30 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*********************** Information *************************\
| $HeadURL$
|
| Author: Jo2003
|
| Begin: 08.02.2010 / 10:50:35
|
| Last edited by: $Author$
|
| $Id$
\*************************************************************/
#pragma once
#include <QString>
#include <QMap>
/********************************************************************\
| Class: CTranslit
| Date: 08.02.2010 / 11:00:28
| Author: Jo2003
| Description: class to make translit between latin and cyrillic
|
\********************************************************************/
class CTranslit
{
public:
CTranslit();
QString CyrToLat (const QString &str, bool fileName = true);
QString LatToCyr (const QString &str, bool fileName = true);
private:
QMap<QString, QString> mCyr2Lat;
};