summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_view.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:15:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:15:16 +0000
commitcc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9 (patch)
tree2a29ccab4d3cea34b87bfcbc38e64a8e25d25bb0 /konqueror/konq_view.h
parent107dd1f98367d07df7cbe2042786511e44706d3a (diff)
downloadtdebase-cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9.tar.gz
tdebase-cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9.zip
Allow kdebase to (mostly) function correctly with TQt for Qt4
Fix kicker tackbar handling under Classic mode (thanks to Ilya Chernykh for the patch) Fix a newly invalidated section of code under GCC 4.5.2 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47723#c6) git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1220927 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/konq_view.h')
-rw-r--r--konqueror/konq_view.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/konqueror/konq_view.h b/konqueror/konq_view.h
index 1329000f..d251da53 100644
--- a/konqueror/konq_view.h
+++ b/konqueror/konq_view.h
@@ -125,17 +125,17 @@ public:
/**
* @return true if view can go back
*/
- bool canGoBack()const { return m_lstHistory.at() > 0; }
+ bool canGoBack()const { return m_lstHistory.tqat() > 0; }
/**
* @return true if view can go forward
*/
- bool canGoForward()const { return m_lstHistory.at() != ((int)m_lstHistory.count())-1; }
+ bool canGoForward()const { return m_lstHistory.tqat() != ((int)m_lstHistory.count())-1; }
/**
* @return the position in the history
*/
- int historyPos() const { return m_lstHistory.at(); }
+ int historyPos() const { return m_lstHistory.tqat(); }
uint historyLength() { return m_lstHistory.count(); }
@@ -149,7 +149,7 @@ public:
*/
void restoreHistory();
- void setHistoryPos(int newPos) { m_lstHistory.at( newPos ); }
+ void setHistoryPos(int newPos) { m_lstHistory.tqat( newPos ); }
/**
* @return the history of this view