diff options
Diffstat (limited to 'kregexpeditor/myfontmetrics.cpp')
-rw-r--r-- | kregexpeditor/myfontmetrics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/myfontmetrics.cpp b/kregexpeditor/myfontmetrics.cpp index f405c69..38eb7dd 100644 --- a/kregexpeditor/myfontmetrics.cpp +++ b/kregexpeditor/myfontmetrics.cpp @@ -19,12 +19,12 @@ TQSize HackCalculateFontSize(TQFontMetrics fm, TQString str ) { - TQStringList list = TQStringList::split( TQString::fromLatin1("\n"), str ); + TQStringList list = TQStringList::split( TQString::tqfromLatin1("\n"), str ); int maxWidth = 0; int height = 0; for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it ) { TQSize size = fm.size( 0, *it ); - maxWidth = QMAX( maxWidth, size.width() ); + maxWidth = TQMAX( maxWidth, size.width() ); height += size.height(); } return TQSize( maxWidth, height ); |