~verzegnassi-stefano/+junk/ubuntu-terminal-app-uitk13

« back to all changes in this revision

Viewing changes to src/plugin/qmltermwidget/qtermwidget/lib/konsole_wcwidth.h

  • Committer: Filippo Scognamiglio
  • Date: 2014-10-25 04:42:31 UTC
  • Revision ID: flscogna@gmail.com-20141025044231-javjhusbqa171127
Initial reboot commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/xterm/wcwidth.h,v 1.2 2001/06/18 19:09:27 dickey Exp $ */
 
2
 
 
3
/* Markus Kuhn -- 2001-01-12 -- public domain */
 
4
/* Adaptions for KDE by Waldo Bastian <bastian@kde.org> */
 
5
/*
 
6
    Rewritten for QT4 by e_k <e_k at users.sourceforge.net>
 
7
*/
 
8
 
 
9
 
 
10
#ifndef _KONSOLE_WCWIDTH_H_
 
11
#define _KONSOLE_WCWIDTH_H_
 
12
 
 
13
// Qt
 
14
#include <QtGlobal>
 
15
 
 
16
class QString;
 
17
 
 
18
int konsole_wcwidth(quint16 ucs);
 
19
#if 0
 
20
int konsole_wcwidth_cjk(Q_UINT16 ucs);
 
21
#endif
 
22
 
 
23
int string_width( const QString & txt );
 
24
 
 
25
#endif