From ca1c12ea855c8b274a585c5a83b28b6f6af33245 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sun, 4 Jan 2015 13:00:00 +0100 Subject: [PATCH] more typedef -> using --- kstyle/breezestyle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kstyle/breezestyle.h b/kstyle/breezestyle.h index 2aac5761..f9df1e84 100644 --- a/kstyle/breezestyle.h +++ b/kstyle/breezestyle.h @@ -479,13 +479,13 @@ namespace Breeze IconCache _iconCache; //* pointer to primitive specialized function - typedef bool (Style::*StylePrimitive)( const QStyleOption*, QPainter*, const QWidget* ) const; + using StylePrimitive = bool(Style::*)(const QStyleOption*, QPainter*, const QWidget* ) const; //* pointer to control specialized function - typedef bool (Style::*StyleControl)( const QStyleOption*, QPainter*, const QWidget* ) const; + using StyleControl = bool (Style::*)( const QStyleOption*, QPainter*, const QWidget* ) const; //* pointer to control specialized function - typedef bool (Style::*StyleComplexControl)( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; + using StyleComplexControl = bool (Style::*)( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; //*@name custom elements //@{