From beecaaec1a845f746e00d15dfa2bea4bf1ddba3b Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sun, 4 Jan 2015 12:49:30 +0100 Subject: [PATCH] typedef -> using --- kstyle/breezesplitterproxy.h | 2 +- kstyle/breezestyle.h | 2 +- kstyle/breezetileset.h | 2 +- kstyle/breezewindowmanager.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kstyle/breezesplitterproxy.h b/kstyle/breezesplitterproxy.h index 89de2f46..a51c6b15 100644 --- a/kstyle/breezesplitterproxy.h +++ b/kstyle/breezesplitterproxy.h @@ -75,7 +75,7 @@ namespace Breeze using SplitterProxyPointer = WeakPointer; //* registered widgets - typedef QMap WidgetMap; + using WidgetMap = QMap; WidgetMap _widgets; }; diff --git a/kstyle/breezestyle.h b/kstyle/breezestyle.h index 73cf35c3..2aac5761 100644 --- a/kstyle/breezestyle.h +++ b/kstyle/breezestyle.h @@ -475,7 +475,7 @@ namespace Breeze BreezePrivate::TabBarData* _tabBarData; //* icon hash - typedef QHash IconCache; + using IconCache = QHash; IconCache _iconCache; //* pointer to primitive specialized function diff --git a/kstyle/breezetileset.h b/kstyle/breezetileset.h index adda67c3..b3c2b3e6 100644 --- a/kstyle/breezetileset.h +++ b/kstyle/breezetileset.h @@ -108,7 +108,7 @@ namespace Breeze protected: //* shortcut to pixmap list - typedef QVector PixmapList; + using PixmapList = QVector; //* initialize pixmap void initPixmap( PixmapList&, const QPixmap&, int w, int h, const QRect& ); diff --git a/kstyle/breezewindowmanager.h b/kstyle/breezewindowmanager.h index 33baff7a..7989052d 100644 --- a/kstyle/breezewindowmanager.h +++ b/kstyle/breezewindowmanager.h @@ -217,7 +217,7 @@ namespace Breeze }; //* exception set - typedef QSet ExceptionSet; + using ExceptionSet = QSet; //* list of white listed special widgets /**