diff --git a/kstyle/breezeshadowhelper.cpp b/kstyle/breezeshadowhelper.cpp index b9b742c7..5e9df122 100644 --- a/kstyle/breezeshadowhelper.cpp +++ b/kstyle/breezeshadowhelper.cpp @@ -60,7 +60,7 @@ namespace Breeze #if BREEZE_HAVE_X11 if( Helper::isX11() ) - { foreach( const uint32_t& value, _pixmaps ) xcb_free_pixmap( Helper::connection(), value ); } + { foreach( const quint32& value, _pixmaps ) xcb_free_pixmap( Helper::connection(), value ); } #endif } @@ -70,7 +70,7 @@ namespace Breeze { #if BREEZE_HAVE_X11 if( Helper::isX11() ) - { foreach( const uint32_t& value, _pixmaps ) xcb_free_pixmap( Helper::connection(), value ); } + { foreach( const quint32& value, _pixmaps ) xcb_free_pixmap( Helper::connection(), value ); } #endif _pixmaps.clear(); @@ -205,7 +205,7 @@ namespace Breeze xcb_connection_t* connection( Helper::connection() ); // get property - const uint32_t maxLength = std::string().max_size(); + const quint32 maxLength = std::string().max_size(); xcb_get_property_cookie_t cookie( xcb_get_property( connection, 0, QX11Info::appRootWindow(), netSupportedAtom, XCB_ATOM_ATOM, 0, (maxLength+3) / 4 ) ); ScopedPointer reply( xcb_get_property_reply( connection, cookie, nullptr ) ); if( !reply ) return false; @@ -281,7 +281,7 @@ namespace Breeze } //______________________________________________ - const QVector& ShadowHelper::createPixmapHandles( void ) + const QVector& ShadowHelper::createPixmapHandles( void ) { /** @@ -317,7 +317,7 @@ namespace Breeze } //______________________________________________ - uint32_t ShadowHelper::createPixmap( const QPixmap& source ) + quint32 ShadowHelper::createPixmap( const QPixmap& source ) { // do nothing for invalid pixmaps @@ -380,13 +380,13 @@ namespace Breeze { return false; } // create pixmap handles if needed - const QVector& pixmaps( createPixmapHandles() ); + const QVector& pixmaps( createPixmapHandles() ); if( pixmaps.size() != numPixmaps ) return false; // create data // add pixmap handles - QVector data; - foreach( const uint32_t& value, pixmaps ) + QVector data; + foreach( const quint32& value, pixmaps ) { data.append( value ); } diff --git a/kstyle/breezeshadowhelper.h b/kstyle/breezeshadowhelper.h index 42e6344b..d6854008 100644 --- a/kstyle/breezeshadowhelper.h +++ b/kstyle/breezeshadowhelper.h @@ -101,10 +101,10 @@ namespace Breeze bool acceptWidget( QWidget* ) const; // create pixmap handles from tileset - const QVector& createPixmapHandles( void ); + const QVector& createPixmapHandles( void ); // create pixmap handle from pixmap - uint32_t createPixmap( const QPixmap& ); + quint32 createPixmap( const QPixmap& ); //* install shadow X11 property on given widget /** @@ -134,7 +134,7 @@ namespace Breeze enum { numPixmaps = 8 }; //* pixmaps - QVector _pixmaps; + QVector _pixmaps; #if BREEZE_HAVE_X11