Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Phrase Class Reference

#include <phrase.h>

Collaboration diagram for Phrase:

Public Member Functions

 Phrase ()
 Phrase (const QString &source, const QString &target, const QString &definition, const Candidate &candidate, int sc=-1)
 Phrase (const QString &source, const QString &target, const QString &definition, PhraseBook *phraseBook)
QString source () const
void setSource (const QString &ns)
QString target () const
void setTarget (const QString &nt)
QString definition () const
void setDefinition (const QString &nd)
int shortcut () const
Candidate candidate () const
PhraseBookphraseBook () const
void setPhraseBook (PhraseBook *book)

Detailed Description

Definition at line 18 of file phrase.h.

Constructor & Destructor Documentation

◆ Phrase() [1/3]

Phrase::Phrase ( )

Definition at line 30 of file phrase.cpp.

◆ Phrase() [2/3]

Phrase::Phrase ( const QString & source,
const QString & target,
const QString & definition,
const Candidate & candidate,
int sc = -1 )

Definition at line 35 of file phrase.cpp.

References Phrase().

Referenced by Phrase().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Phrase() [3/3]

Phrase::Phrase ( const QString & source,
const QString & target,
const QString & definition,
PhraseBook * phraseBook )

Definition at line 41 of file phrase.cpp.

References Phrase().

Referenced by Phrase().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ candidate()

Candidate Phrase::candidate ( ) const
inline

Definition at line 34 of file phrase.h.

◆ definition()

QString Phrase::definition ( ) const
inline

Definition at line 31 of file phrase.h.

◆ phraseBook()

PhraseBook * Phrase::phraseBook ( ) const
inline

Definition at line 35 of file phrase.h.

Referenced by operator==().

Here is the caller graph for this function:

◆ setDefinition()

void Phrase::setDefinition ( const QString & nd)

Definition at line 66 of file phrase.cpp.

◆ setPhraseBook()

void Phrase::setPhraseBook ( PhraseBook * book)
inline

Definition at line 36 of file phrase.h.

Referenced by PhraseBook::append(), and PhraseBook::remove().

Here is the caller graph for this function:

◆ setSource()

void Phrase::setSource ( const QString & ns)

Definition at line 48 of file phrase.cpp.

◆ setTarget()

void Phrase::setTarget ( const QString & nt)

Definition at line 57 of file phrase.cpp.

◆ shortcut()

int Phrase::shortcut ( ) const
inline

Definition at line 33 of file phrase.h.

◆ source()

QString Phrase::source ( ) const
inline

Definition at line 27 of file phrase.h.

◆ target()

QString Phrase::target ( ) const
inline

Definition at line 29 of file phrase.h.


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