diff options
Diffstat (limited to 'bibletime/backend/cdisplaytemplatemgr.cpp')
-rw-r--r-- | bibletime/backend/cdisplaytemplatemgr.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bibletime/backend/cdisplaytemplatemgr.cpp b/bibletime/backend/cdisplaytemplatemgr.cpp index 797f04c..bb06e49 100644 --- a/bibletime/backend/cdisplaytemplatemgr.cpp +++ b/bibletime/backend/cdisplaytemplatemgr.cpp @@ -122,8 +122,8 @@ const TQString CDisplayTemplateMgr::fillTemplate( const TQString& name, const TQ langCSS += TQString("\n*[lang=%1] %2") - .tqarg(lang->abbrev()) - .tqarg(css); + .arg(lang->abbrev()) + .arg(css); } } @@ -136,10 +136,10 @@ const TQString CDisplayTemplateMgr::fillTemplate( const TQString& name, const TQ const TQFont standardFont = CBTConfig::getDefault(lang); //we just need a dummy lang param langCSS.prepend( TQString("\n#content {font-family:%1; font-size:%2pt; font-weight:%3; font-style: %4;}\n") - .tqarg(standardFont.family()) - .tqarg(standardFont.pointSize()) - .tqarg(standardFont.bold() ? "bold" : "normal") - .tqarg(standardFont.italic() ? "italic" : "normal") + .arg(standardFont.family()) + .arg(standardFont.pointSize()) + .arg(standardFont.bold() ? "bold" : "normal") + .arg(standardFont.italic() ? "italic" : "normal") ); } |