From f5daa61abc794c6b549d85d0ac6a1a8aa74d20e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 29 Apr 2007 21:54:40 +0000 Subject: [PATCH] Merging from old trunk: r580071 | mlaurent | 2006-09-02 16:59:11 +0200 (Sat, 02 Sep 2006) | 2 lines Add const svn path=/trunk/KDE/kdebase/workspace/; revision=659289 --- clients/plastik/plastik.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/clients/plastik/plastik.h b/clients/plastik/plastik.h index 1a5e37629f..ebb2e55581 100644 --- a/clients/plastik/plastik.h +++ b/clients/plastik/plastik.h @@ -85,16 +85,16 @@ public: const QPixmap &pixmap(Pixmaps type, bool active, bool toolWindow); const QBitmap &buttonBitmap(ButtonIcon type, const QSize &size, bool toolWindow); - int titleHeight() { return m_titleHeight; } - int titleHeightTool() { return m_titleHeightTool; } + int titleHeight() const { return m_titleHeight; } + int titleHeightTool() const { return m_titleHeightTool; } const QFont &titleFont() { return m_titleFont; } const QFont &titleFontTool() { return m_titleFontTool; } - bool titleShadow() { return m_titleShadow; } - int borderSize() { return m_borderSize; } - bool animateButtons() { return m_animateButtons; } - bool menuClose() { return m_menuClose; } - Qt::AlignmentFlag titleAlign() { return m_titleAlign; } - bool reverseLayout() { return m_reverse; } + bool titleShadow() const { return m_titleShadow; } + int borderSize() const { return m_borderSize; } + bool animateButtons() const { return m_animateButtons; } + bool menuClose() const { return m_menuClose; } + Qt::AlignmentFlag titleAlign() const { return m_titleAlign; } + bool reverseLayout() const { return m_reverse; } QColor getColor(KWinPlastik::ColorType type, const bool active = true); QList< PlastikHandler::BorderSize > borderSizes() const;