summaryrefslogtreecommitdiffstats
path: root/cervisia/loginfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:38 -0600
commitd6331f1b56eb6dca7a1950658b2932f208015da0 (patch)
treef99bf8d1571f93304bdb4a46fb199a1bde60e6ee /cervisia/loginfo.cpp
parente738fee8847c1f606df7b338a589cc8c0539a521 (diff)
downloadtdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.tar.gz
tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'cervisia/loginfo.cpp')
-rw-r--r--cervisia/loginfo.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/cervisia/loginfo.cpp b/cervisia/loginfo.cpp
index 8e6464d0..8d4bd323 100644
--- a/cervisia/loginfo.cpp
+++ b/cervisia/loginfo.cpp
@@ -19,7 +19,7 @@
#include "loginfo.h"
-#include <tqstylesheet.h>
+#include <stylesheet.h>
#include <kglobal.h>
#include <klocale.h>
@@ -41,7 +41,7 @@ TQString TagInfo::toString(bool prefixWithType) const
TQString text;
if (prefixWithType)
{
- text += typeToString() + TQString::tqfromLatin1(": ");
+ text += typeToString() + TQString::fromLatin1(": ");
}
text += m_name;
@@ -71,32 +71,32 @@ TQString TagInfo::typeToString() const
TQString LogInfo::createToolTipText(bool showTime) const
{
- TQString text(TQString::tqfromLatin1("<nobr><b>"));
+ TQString text(TQString::fromLatin1("<nobr><b>"));
text += TQStyleSheet::escape(m_revision);
- text += TQString::tqfromLatin1("</b>&nbsp;&nbsp;");
+ text += TQString::fromLatin1("</b>&nbsp;&nbsp;");
text += TQStyleSheet::escape(m_author);
- text += TQString::tqfromLatin1("&nbsp;&nbsp;<b>");
+ text += TQString::fromLatin1("&nbsp;&nbsp;<b>");
text += TQStyleSheet::escape(dateTimeToString(showTime));
- text += TQString::tqfromLatin1("</b></nobr>");
+ text += TQString::fromLatin1("</b></nobr>");
if (!m_comment.isEmpty())
{
- text += TQString::tqfromLatin1("<pre>");
+ text += TQString::fromLatin1("<pre>");
text += TQStyleSheet::escape(m_comment);
- text += TQString::tqfromLatin1("</pre>");
+ text += TQString::fromLatin1("</pre>");
}
if (!m_tags.isEmpty())
{
- text += TQString::tqfromLatin1("<i>");
+ text += TQString::fromLatin1("<i>");
for (TTagInfoSeq::const_iterator it = m_tags.begin();
it != m_tags.end(); ++it)
{
if (it != m_tags.begin() || m_comment.isEmpty())
- text += TQString::tqfromLatin1("<br>");
+ text += TQString::fromLatin1("<br>");
text += TQStyleSheet::escape((*it).toString());
}
- text += TQString::tqfromLatin1("</i>");
+ text += TQString::fromLatin1("</i>");
}
return text;