From cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 15 Feb 2011 19:15:16 +0000 Subject: 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 --- konqueror/konq_view.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'konqueror/konq_view.h') diff --git a/konqueror/konq_view.h b/konqueror/konq_view.h index 1329000f8..d251da53b 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 -- cgit v1.2.1