From 55a8682576d99e3484dc178a0c4b6107c3af2c67 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 16 Jun 2009 17:49:27 +0000 Subject: [PATCH] constify svn path=/trunk/KDE/kdelibs/; revision=982723 --- widgets/lineedit.cpp | 2 +- widgets/lineedit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/lineedit.cpp b/widgets/lineedit.cpp index 80a75f6aa..cf139edfa 100644 --- a/widgets/lineedit.cpp +++ b/widgets/lineedit.cpp @@ -98,7 +98,7 @@ void LineEdit::setClearButtonShown(bool show) nativeWidget()->setClearButtonShown(show); } -bool LineEdit::isClearButtonShown() +bool LineEdit::isClearButtonShown() const { return nativeWidget()->isClearButtonShown(); } diff --git a/widgets/lineedit.h b/widgets/lineedit.h index ef1e967f3..8b8996208 100644 --- a/widgets/lineedit.h +++ b/widgets/lineedit.h @@ -72,7 +72,7 @@ public: * @return true if the clear button is set to be shown * @since 4.3 */ - bool isClearButtonShown(); + bool isClearButtonShown() const; /** * Sets the stylesheet used to control the visual display of this LineEdit