summaryrefslogtreecommitdiffstats
path: root/kate/part/kateundo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /kate/part/kateundo.cpp
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/kateundo.cpp')
-rw-r--r--kate/part/kateundo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kate/part/kateundo.cpp b/kate/part/kateundo.cpp
index 379df16f0..81901d9f8 100644
--- a/kate/part/kateundo.cpp
+++ b/kate/part/kateundo.cpp
@@ -296,9 +296,9 @@ void KateUndoGroup::undo ()
if (m_doc->activeView())
{
for (uint z=0; z < m_items.count(); z++)
- if (m_items.at(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
+ if (m_items.tqat(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
{
- m_doc->activeView()->editSetCursor (m_items.at(z)->cursorBefore());
+ m_doc->activeView()->editSetCursor (m_items.tqat(z)->cursorBefore());
break;
}
}
@@ -319,9 +319,9 @@ void KateUndoGroup::redo ()
if (m_doc->activeView())
{
for (uint z=0; z < m_items.count(); z++)
- if (m_items.at(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
+ if (m_items.tqat(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
{
- m_doc->activeView()->editSetCursor (m_items.at(z)->cursorAfter());
+ m_doc->activeView()->editSetCursor (m_items.tqat(z)->cursorAfter());
break;
}
}