summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqfont.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqfont.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqfont.cpp b/tqtinterface/qt4/src/kernel/tqfont.cpp
index 48fe5a0..5570afd 100644
--- a/tqtinterface/qt4/src/kernel/tqfont.cpp
+++ b/tqtinterface/qt4/src/kernel/tqfont.cpp
@@ -275,7 +275,7 @@ TQFontEngineData::~TQFontEngineData()
Use TQApplication::setFont() to set the application's default font.
If a choosen X11 font does not include all the characters that
- need to be displayed, TQFont will try to tqfind the characters in the
+ need to be displayed, TQFont will try to find the characters in the
nearest equivalent fonts. When a TQPainter draws a character from a
font the TQFont will report whether or not it has the character; if
it does not, TQPainter will draw an unfilled square.
@@ -328,7 +328,7 @@ TQFontEngineData::~TQFontEngineData()
Under the X Window System you can set a font using its system
specific name with setRawName().
- Loading fonts can be expensive, especially on X11. TQFont tqcontains
+ Loading fonts can be expensive, especially on X11. TQFont contains
extensive optimizations to make the copying of TQFont objects fast,
and to cache the results of the slow window system functions it
depends upon.
@@ -337,9 +337,9 @@ TQFontEngineData::~TQFontEngineData()
The font matching algorithm works as follows:
\list 1
\i The specified font family is searched for.
- \i If not found, the tqstyleHint() is used to select a tqreplacement
+ \i If not found, the tqstyleHint() is used to select a replacement
family.
- \i Each tqreplacement font family is searched for.
+ \i Each replacement font family is searched for.
\i If none of these are found or there was no tqstyleHint(), "helvetica"
will be searched for.
\i If "helvetica" isn't found TQt will try the lastResortFamily().
@@ -395,7 +395,7 @@ TQFontEngineData::~TQFontEngineData()
TQString family = info.family();
\endcode
- To tqfind out font metrics use a TQFontMetrics object, e.g.
+ To find out font metrics use a TQFontMetrics object, e.g.
\code
TQFontMetrics fm( f1 );
int pixelWidth = fm.width( "How many pixels wide is this text?" );
@@ -427,7 +427,7 @@ TQFontEngineData::~TQFontEngineData()
\value Greek covers ancient and modern Greek and Coptic.
\value Cyrillic covers the Slavic and non-Slavic languages using
cyrillic alphabets.
- \value Armenian tqcontains the Armenian alphabet used with the
+ \value Armenian contains the Armenian alphabet used with the
Armenian language.
\value Georgian covers at least the language Georgian.
\value Runic covers the known constituents of the Runic alphabets used
@@ -512,14 +512,14 @@ TQFontEngineData::~TQFontEngineData()
Symbols:
- \value CurrencySymbols tqcontains currency symbols not encoded in other scripts.
+ \value CurrencySymbols contains currency symbols not encoded in other scripts.
\value LetterlikeSymbols consists of symbols derived from
ordinary letters of an alphabetical script.
\value NumberForms are provided for compatibility with other
existing character sets.
\value MathematicalOperators consists of encodings for operators,
relations and other symbols like arrows used in a mathematical context.
- \value TechnicalSymbols tqcontains representations for control
+ \value TechnicalSymbols contains representations for control
codes, the space symbol, APL symbols and other symbols
mainly used in the context of electronic data processing.
\value GeometricSymbols covers block elements and geometric tqshapes.
@@ -890,7 +890,7 @@ int TQFont::weight() const
same as, the scales used in Windows or CSS. A weight of 0 is
ultralight, whilst 99 will be an extremely black.
- This enum tqcontains the predefined font weights:
+ This enum contains the predefined font weights:
\value Light 25
\value Normal 50
@@ -1071,7 +1071,7 @@ TQFont::StyleHint TQFont::tqstyleHint() const
\enum TQFont::StyleHint
Style hints are used by the \link #fontmatching font
- matching\endlink algorithm to tqfind an appropriate default family
+ matching\endlink algorithm to find an appropriate default family
if a selected font family is not available.
\value AnyStyle leaves the font matching algorithm to choose the
@@ -1097,7 +1097,7 @@ TQFont::StyleHint TQFont::tqstyleHint() const
The style strategy tells the \link #fontmatching font
matching\endlink algorithm what type of fonts should be used to
- tqfind an appropriate default family.
+ find an appropriate default family.
The following strategies are available:
@@ -1446,7 +1446,7 @@ TQString TQFont::substitute( const TQString &familyName )
{
initFontSubst();
- TQStringList *list = fontSubst->tqfind(familyName);
+ TQStringList *list = fontSubst->find(familyName);
if (list && list->count() > 0)
return *(list->at(0));
@@ -1467,7 +1467,7 @@ TQStringList TQFont::substitutes(const TQString &familyName)
{
initFontSubst();
- TQStringList ret, *list = fontSubst->tqfind(familyName);
+ TQStringList ret, *list = fontSubst->find(familyName);
if (list)
ret += *list;
return ret;
@@ -1485,13 +1485,13 @@ void TQFont::insertSubstitution(const TQString &familyName,
{
initFontSubst();
- TQStringList *list = fontSubst->tqfind(familyName);
+ TQStringList *list = fontSubst->find(familyName);
if (! list) {
list = new TQStringList;
fontSubst->insert(familyName, list);
}
- if (! list->tqcontains(substituteName))
+ if (! list->contains(substituteName))
list->append(substituteName);
}
@@ -1507,7 +1507,7 @@ void TQFont::insertSubstitutions(const TQString &familyName,
{
initFontSubst();
- TQStringList *list = fontSubst->tqfind(familyName);
+ TQStringList *list = fontSubst->find(familyName);
if (! list) {
list = new TQStringList;
fontSubst->insert(familyName, list);
@@ -1515,7 +1515,7 @@ void TQFont::insertSubstitutions(const TQString &familyName,
TQStringList::ConstIterator it = substituteNames.begin();
while (it != substituteNames.end()) {
- if (! list->tqcontains(*it))
+ if (! list->contains(*it))
list->append(*it);
it++;
}
@@ -1665,12 +1665,12 @@ bool TQFont::fromString(const TQString &descrip)
int count = 0;
TQString l[11];
int from = 0;
- int to = descrip.tqfind( ',' );
+ int to = descrip.find( ',' );
while ( to > 0 && count < 11 ) {
l[count] = descrip.mid( from, to-from );
count++;
from = to+1;
- to = descrip.tqfind( ',', from );
+ to = descrip.find( ',', from );
}
#endif // TQT_NO_STRINGLIST
if ( !count || ( count > 2 && count < 9 ) || count > 11 ) {
@@ -1873,7 +1873,7 @@ TQDataStream &operator>>( TQDataStream &s, TQFont &font )
possible.
For each character, you can get its width(), leftBearing() and
- rightBearing() and tqfind out whether it is in the font using
+ rightBearing() and find out whether it is in the font using
inFont(). You can also treat the character as a string, and use
the string functions on it.
@@ -3039,9 +3039,9 @@ void TQFontCache::clear()
}
#endif
-TQFontEngineData *TQFontCache::tqfindEngineData( const Key &key ) const
+TQFontEngineData *TQFontCache::findEngineData( const Key &key ) const
{
- EngineDataCache::ConstIterator it = engineDataCache.tqfind( key ),
+ EngineDataCache::ConstIterator it = engineDataCache.find( key ),
end = engineDataCache.end();
if ( it == end ) return 0;
@@ -3057,9 +3057,9 @@ void TQFontCache::insertEngineData( const Key &key, TQFontEngineData *engineData
increaseCost( sizeof( TQFontEngineData ) );
}
-TQFontEngine *TQFontCache::tqfindEngine( const Key &key )
+TQFontEngine *TQFontCache::findEngine( const Key &key )
{
- EngineCache::Iterator it = engineCache.tqfind( key ),
+ EngineCache::Iterator it = engineCache.find( key ),
end = engineCache.end();
if ( it == end ) return 0;
@@ -3231,7 +3231,7 @@ void TQFontCache::timerEvent( TQTimerEvent * )
// print out all engines
for ( int i = 0; i < TQFont::LastPrivateScript; ++i ) {
if ( ! it.data()->engines[i] ) continue;
- FC_DEBUG( " tqcontains %p", it.data()->engines[i] );
+ FC_DEBUG( " contains %p", it.data()->engines[i] );
}
# endif // TQ_WS_X11 || TQ_WS_WIN
#endif // TQFONTCACHE_DEBUG