diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/loginfo.cpp | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/loginfo.cpp')
-rw-r--r-- | cervisia/loginfo.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cervisia/loginfo.cpp b/cervisia/loginfo.cpp index b97ff1f0..8e6464d0 100644 --- a/cervisia/loginfo.cpp +++ b/cervisia/loginfo.cpp @@ -41,7 +41,7 @@ TQString TagInfo::toString(bool prefixWithType) const TQString text; if (prefixWithType) { - text += typeToString() + TQString::fromLatin1(": "); + text += typeToString() + TQString::tqfromLatin1(": "); } text += m_name; @@ -71,32 +71,32 @@ TQString TagInfo::typeToString() const TQString LogInfo::createToolTipText(bool showTime) const { - TQString text(TQString::fromLatin1("<nobr><b>")); + TQString text(TQString::tqfromLatin1("<nobr><b>")); text += TQStyleSheet::escape(m_revision); - text += TQString::fromLatin1("</b> "); + text += TQString::tqfromLatin1("</b> "); text += TQStyleSheet::escape(m_author); - text += TQString::fromLatin1(" <b>"); + text += TQString::tqfromLatin1(" <b>"); text += TQStyleSheet::escape(dateTimeToString(showTime)); - text += TQString::fromLatin1("</b></nobr>"); + text += TQString::tqfromLatin1("</b></nobr>"); if (!m_comment.isEmpty()) { - text += TQString::fromLatin1("<pre>"); + text += TQString::tqfromLatin1("<pre>"); text += TQStyleSheet::escape(m_comment); - text += TQString::fromLatin1("</pre>"); + text += TQString::tqfromLatin1("</pre>"); } if (!m_tags.isEmpty()) { - text += TQString::fromLatin1("<i>"); + text += TQString::tqfromLatin1("<i>"); for (TTagInfoSeq::const_iterator it = m_tags.begin(); it != m_tags.end(); ++it) { if (it != m_tags.begin() || m_comment.isEmpty()) - text += TQString::fromLatin1("<br>"); + text += TQString::tqfromLatin1("<br>"); text += TQStyleSheet::escape((*it).toString()); } - text += TQString::fromLatin1("</i>"); + text += TQString::tqfromLatin1("</i>"); } return text; |