From 183d79adb2a241448954ff0ef52ab117dcb242ac Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 30 Mar 2009 03:45:30 +0000 Subject: [PATCH] SVN_SILENT: conform to naming conventions svn path=/trunk/KDE/kdelibs/; revision=946697 --- private/windowpreview.cpp | 4 ++-- private/windowpreview_p.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/private/windowpreview.cpp b/private/windowpreview.cpp index 6492d399f..634b230da 100644 --- a/private/windowpreview.cpp +++ b/private/windowpreview.cpp @@ -111,9 +111,9 @@ QSize WindowPreview::sizeHint() const qreal left, top, right, bottom; m_background->getMargins(left, top, right, bottom); - s.scale(windowWidth*windowSizes.size(), windowHeight, Qt::KeepAspectRatio); + s.scale(WINDOW_WIDTH*windowSizes.size(), WINDOW_HEIGHT, Qt::KeepAspectRatio); - s = s + QSize(left+right+windowMargin*(windowSizes.size()-1), top+bottom); + s = s + QSize(left+right+WINDOW_MARGIN*(windowSizes.size()-1), top+bottom); return s; } diff --git a/private/windowpreview_p.h b/private/windowpreview_p.h index 2b76a7220..a4d1d0876 100644 --- a/private/windowpreview_p.h +++ b/private/windowpreview_p.h @@ -60,9 +60,9 @@ private: mutable QList windowSizes; FrameSvg *m_background; - static const int windowMargin = 5; - static const int windowWidth = 200; - static const int windowHeight = 150; + static const int WINDOW_MARGIN = 5; + static const int WINDOW_WIDTH = 200; + static const int WINDOW_HEIGHT = 150; }; } // namespace Plasma