summaryrefslogtreecommitdiffstats
path: root/client/browser/qtermwidget/src/konsole_wcwidth.h
blob: 6f4e46aa36cc03b9d2fcc167e469182f58d1fbc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* $XFree86: xc/programs/xterm/wcwidth.h,v 1.2 2001/06/18 19:09:27 dickey Exp $ */

/* Markus Kuhn -- 2001-01-12 -- public domain */
/* Adaptions for KDE by Waldo Bastian <bastian@kde.org> */
/*
    Rewritten for QT4 by e_k <e_k at users.sourceforge.net>
*/


#ifndef	_KONSOLE_WCWIDTH_H_
#define	_KONSOLE_WCWIDTH_H_

// Qt
#include <QtCore/QBool>
#include <QtCore/QString>

int konsole_wcwidth(quint16 ucs);
#if 0
int konsole_wcwidth_cjk(Q_UINT16 ucs);
#endif

int string_width( const QString &txt );

#endif