summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-09-12 21:17:52 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-09-23 15:30:49 +0200
commit181980d4a7a5573b0690eb28813c542a05789d1a (patch)
treef3a6ea9bd22607bd6427a399be14501efaf55805 /src
parent356ab736a7ab81ffbc04a951d4470cede6e9b1f5 (diff)
QCalendarWidget: move all helper classes into the unnamed namespace
Saves 1920 bytes of text size on AMD64 / GCC 4.7 release builds. Change-Id: Ib437d285ca0555eb7a3751b53226093b71b789e9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/widgets/qcalendarwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/widgets/qcalendarwidget.cpp b/src/widgets/widgets/qcalendarwidget.cpp
index df7097c465..05f150e5ab 100644
--- a/src/widgets/widgets/qcalendarwidget.cpp
+++ b/src/widgets/widgets/qcalendarwidget.cpp
@@ -71,6 +71,8 @@ enum {
MinimumDayOffset = 1
};
+namespace {
+
class QCalendarDateSectionValidator
{
public:
@@ -1613,6 +1615,8 @@ protected:
}
};
+} // unnamed namespace
+
class QCalendarWidgetPrivate : public QWidgetPrivate
{
Q_DECLARE_PUBLIC(QCalendarWidget)