summaryrefslogtreecommitdiffstats
path: root/cervisia/loginfo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /cervisia/loginfo.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/loginfo.h')
-rw-r--r--cervisia/loginfo.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/cervisia/loginfo.h b/cervisia/loginfo.h
index e4eb7071..92c67312 100644
--- a/cervisia/loginfo.h
+++ b/cervisia/loginfo.h
@@ -21,9 +21,9 @@
#define CERVISIA_LOGINFO_H
-#include <qdatetime.h>
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
namespace Cervisia
@@ -58,7 +58,7 @@ struct TagInfo
Tag = 1 << 2
};
- explicit TagInfo(const QString& name = QString::null, Type type = Tag);
+ explicit TagInfo(const TQString& name = TQString::null, Type type = Tag);
/**
* @param prefixWithType prefix the string with the type of the tag
@@ -66,17 +66,17 @@ struct TagInfo
*
* @return tag as string.
*/
- QString toString(bool prefixWithType = true) const;
+ TQString toString(bool prefixWithType = true) const;
/**
* @return type of tag as string.
*/
- QString typeToString() const;
+ TQString typeToString() const;
/**
* The name of the tag.
*/
- QString m_name;
+ TQString m_name;
/**
* The type of the tag.
@@ -91,14 +91,14 @@ struct TagInfo
*/
struct LogInfo
{
- typedef QValueList<TagInfo> TTagInfoSeq;
+ typedef TQValueList<TagInfo> TTagInfoSeq;
/**
* @param showTime show commit time in tooltip.
*
* @return rich text formatted tooltip text.
*/
- QString createToolTipText(bool showTime = true) const;
+ TQString createToolTipText(bool showTime = true) const;
/**
* Calls KLocale::formatDateTime() to create a formatted string.
@@ -108,7 +108,7 @@ struct LogInfo
*
* @return The date/time formatted to the user's locale's conventions.
*/
- QString dateTimeToString(bool showTime = true, bool shortFormat = true) const;
+ TQString dateTimeToString(bool showTime = true, bool shortFormat = true) const;
enum
{
@@ -126,29 +126,29 @@ struct LogInfo
*
* @return string of joined tags.
*/
- QString tagsToString(unsigned int types = AllTagTypes,
+ TQString tagsToString(unsigned int types = AllTagTypes,
unsigned int prefixWithType = AllTagTypes,
- const QString& separator = QString(QChar('\n'))) const;
+ const TQString& separator = TQString(TQChar('\n'))) const;
/**
* The revision of this entry.
*/
- QString m_revision;
+ TQString m_revision;
/**
* The author who committed.
*/
- QString m_author;
+ TQString m_author;
/**
* The commit message.
*/
- QString m_comment;
+ TQString m_comment;
/**
* The date/time of the commit.
*/
- QDateTime m_dateTime;
+ TQDateTime m_dateTime;
/**
* Sequence of tags of this entry.