summaryrefslogtreecommitdiffstats
path: root/kate/part/kateundo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/part/kateundo.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/kateundo.cpp')
-rw-r--r--kate/part/kateundo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/part/kateundo.cpp b/kate/part/kateundo.cpp
index 0f8d3599f..379df16f0 100644
--- a/kate/part/kateundo.cpp
+++ b/kate/part/kateundo.cpp
@@ -38,7 +38,7 @@
* @param len lenght of change
* @param text text removed/inserted
*/
- KateUndo (KateUndoGroup::UndoType type, uint line, uint col, uint len, const QString &text);
+ KateUndo (KateUndoGroup::UndoType type, uint line, uint col, uint len, const TQString &text);
/**
* Destructor
@@ -112,7 +112,7 @@
* text inserted/removed
* @return text
*/
- inline const QString& text() const { return m_text; };
+ inline const TQString& text() const { return m_text; };
private:
/**
@@ -138,10 +138,10 @@
/**
* text
*/
- QString m_text;
+ TQString m_text;
};
-KateUndo::KateUndo (KateUndoGroup::UndoType type, uint line, uint col, uint len, const QString &text)
+KateUndo::KateUndo (KateUndoGroup::UndoType type, uint line, uint col, uint len, const TQString &text)
: m_type (type),
m_line (line),
m_col (col),
@@ -329,7 +329,7 @@ void KateUndoGroup::redo ()
m_doc->editEnd ();
}
-void KateUndoGroup::addItem (KateUndoGroup::UndoType type, uint line, uint col, uint len, const QString &text)
+void KateUndoGroup::addItem (KateUndoGroup::UndoType type, uint line, uint col, uint len, const TQString &text)
{
addItem(new KateUndo(type, line, col, len, text));
}