ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Classes | Signals | Static Public Member Functions | Properties | List of all members
FF7Text Class Reference

Convert ff7text <-> pc string. More...

#include <FF7Text.h>

Inheritance diagram for FF7Text:
Inheritance graph
[legend]
Collaboration diagram for FF7Text:
Collaboration graph
[legend]

Signals

void languageChanged ()
 emited when switching language used for decode. More...
 

Static Public Member Functions

static FF7Textget ()
 Get the FF7Text Instance. More...
 
static void setJapanese (bool japanese)
 sets the text mode, if TRUE will return Japanese text More...
 
static bool isJapanese ()
 returns True if using Japanese mode. More...
 
static Q_INVOKABLE QString toPC (QByteArray text)
 convert ff7text to pc string More...
 
static Q_INVOKABLE QByteArray toFF7 (const QString &string)
 convert pc string to ff7text More...
 

Properties

bool japanese
 

Detailed Description

Convert ff7text <-> pc string.

Member Function Documentation

◆ get()

FF7Text * FF7Text::get ( )
static

Get the FF7Text Instance.

◆ isJapanese()

bool FF7Text::isJapanese ( )
static

returns True if using Japanese mode.

◆ languageChanged

void FF7Text::languageChanged ( )
signal

emited when switching language used for decode.

◆ setJapanese()

void FF7Text::setJapanese ( bool  japanese)
static

sets the text mode, if TRUE will return Japanese text

◆ toFF7()

QByteArray FF7Text::toFF7 ( const QString &  string)
static

convert pc string to ff7text

Parameters
stringthe raw ff7text to read
Returns
decoded ff7text

◆ toPC()

QString FF7Text::toPC ( QByteArray  text)
static

convert ff7text to pc string

Parameters
textthe raw ff7text to read
Returns
decoded ff7text

Property Documentation

◆ japanese

bool FF7Text::japanese
readwrite

The documentation for this class was generated from the following files: