summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoComplexText.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoComplexText.h')
-rw-r--r--lib/kotext/KoComplexText.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoComplexText.h b/lib/kotext/KoComplexText.h
index 72abfbed..8a22d152 100644
--- a/lib/kotext/KoComplexText.h
+++ b/lib/kotext/KoComplexText.h
@@ -62,8 +62,8 @@
#ifndef TQT_NO_COMPLEXTEXT
// bidi helper classes. Internal to TQt
-struct TQ_EXPORT KoBiditqStatus {
- KoBiditqStatus() {
+struct TQ_EXPORT KoBidiStatus {
+ KoBidiStatus() {
eor = TQChar::DirON;
lastStrong = TQChar::DirON;
last = TQChar:: DirON;
@@ -87,12 +87,12 @@ struct TQ_EXPORT KoBidiContext : public TQShared {
struct TQ_EXPORT KoBidiControl {
KoBidiControl() { context = 0; }
- KoBidiControl( KoBidiContext *c, KoBiditqStatus s)
+ KoBidiControl( KoBidiContext *c, KoBidiStatus s)
{ context = c; if( context ) context->ref(); status = s; }
~KoBidiControl() { if ( context && context->deref() ) delete context; }
void setContext( KoBidiContext *c ) { if ( context == c ) return; if ( context && context->deref() ) delete context; context = c; context->ref(); }
KoBidiContext *context;
- KoBiditqStatus status;
+ KoBidiStatus status;
};
struct TQ_EXPORT KoTextRun {
@@ -115,8 +115,8 @@ public:
static Shape glyphVariant( const TQString &str, int pos);
static Shape glyphVariantLogical( const TQString &str, int pos);
- static TQString tqshapedString( const TQString &str, int from = 0, int len = -1, TQPainter::TextDirection dir = TQPainter::Auto, const TQFontMetrics *fm = 0);
- static TQChar tqshapedCharacter(const TQString &str, int pos, const TQFontMetrics *fm = 0);
+ static TQString shapedString( const TQString &str, int from = 0, int len = -1, TQPainter::TextDirection dir = TQPainter::Auto, const TQFontMetrics *fm = 0);
+ static TQChar shapedCharacter(const TQString &str, int pos, const TQFontMetrics *fm = 0);
// positions non spacing marks relative to the base character at position pos.
//static TQPointArray positionMarks( TQFontPrivate *f, const TQString &str, int pos, TQRect *boundingRect = 0 );