Commit 621a4a40 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor issues found by EBN and typos

parent 993c96a0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
<kcfg>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="breezerc"/>
<!-- common options -->
......
......@@ -54,7 +54,7 @@ namespace Breeze
private:
//* contructor
//* constructor
SettingsProvider();
//* default configuration
......
......@@ -127,7 +127,7 @@ namespace Breeze
if( o != m_grabber ) return false;
if( e->type() != QEvent::MouseButtonRelease ) return false;
// need to explicitely release cursor for Qt5
// need to explicitly release cursor for Qt5
qApp->restoreOverrideCursor();
// delete old m_grabber
......
......@@ -63,7 +63,7 @@ namespace Breeze
Q_SIGNALS:
//* emmited when changed
//* emitted when changed
void changed( bool );
protected:
......
......@@ -73,7 +73,7 @@ namespace Breeze
void privateSort()
{ privateSort( m_sortColumn, m_sortOrder ); }
//* private sort, with no signals emmitted
//* private sort, with no signals emitted
virtual void privateSort( int column, Qt::SortOrder order ) = 0;
//* used to sort items in list
......
......@@ -105,7 +105,7 @@ namespace Breeze
if( !widget ) return;
// check against noAnimations propery
// check against noAnimations property
QVariant propertyValue( widget->property( PropertyNames::noAnimations ) );
if( propertyValue.isValid() && propertyValue.toBool() ) return;
......
......@@ -91,7 +91,7 @@ namespace Breeze
{
#if BREEZE_HAVE_X11
/*
directly from bespin code. Supposibly prevent playing with some 'pseudo-widgets'
directly from bespin code. Supposedly prevent playing with some 'pseudo-widgets'
that have winId matching some other -random- window
*/
if (!(widget->testAttribute(Qt::WA_WState_Created) || widget->internalWinId()))
......
......@@ -140,7 +140,7 @@ namespace Breeze
// store in set
_registeredWidgets.insert( widget );
// create shadow immediatly if widget is already visible
// create shadow immediately if widget is already visible
if( widget->isVisible() )
{
installShadow( widget );
......
......@@ -473,7 +473,7 @@ namespace Breeze
if( !widget ) return false;
/*
From bespin code. Supposibly prevent playing with some 'pseudo-widgets'
From bespin code. Supposedly prevent playing with some 'pseudo-widgets'
that have winId matching some other -random- window
*/
if( !(widget->testAttribute(Qt::WA_WState_Created) && widget->internalWinId() ))
......
......@@ -2163,7 +2163,7 @@ namespace Breeze
case SC_ToolButtonMenu:
{
// check fratures
// check features
if( !(hasPopupMenu || hasInlineIndicator ) ) return QRect();
// check features
......@@ -6074,7 +6074,7 @@ namespace Breeze
const bool isMenuTitle( this->isMenuTitle( widget ) );
if( isMenuTitle )
{
// copy option to adust state, and set font as not-bold
// copy option to adjust state, and set font as not-bold
QStyleOptionToolButton copy( *toolButtonOption );
copy.font.setBold( false );
copy.state = State_Enabled;
......
......@@ -340,7 +340,7 @@ namespace Breeze
bool drawTitleBarComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const;
//@}
//!*@name various utilty functions
//!*@name various utility functions
//@{
//* spinbox arrows
......
......@@ -632,7 +632,7 @@ namespace Breeze
bool WindowManager::isBlackListed( QWidget* widget )
{
// check against noAnimations propery
// check against noAnimations property
const auto propertyValue( widget->property( PropertyNames::noWindowGrab ) );
if( propertyValue.isValid() && propertyValue.toBool() ) return true;
......
......@@ -314,7 +314,7 @@ namespace Breeze
//* The Wayland pointer object where we get pointer events on.
KWayland::Client::Pointer* _pointer = nullptr;
//* latest searial which needs to be passed to the move requests.
//* latest serial which needs to be passed to the move requests.
quint32 _waylandSerial = 0;
#endif
......
......@@ -41,7 +41,7 @@ namespace Breeze
Q_SIGNALS:
//* emmited whenever one option is changed.
//* emitted whenever one option is changed.
void changed(bool);
public Q_SLOTS:
......
INSTALL(FILES Breeze.qtcurve DESTINATION ${DATA_INSTALL_DIR}/QtCurve/)
\ No newline at end of file
INSTALL(FILES Breeze.qtcurve DESTINATION ${DATA_INSTALL_DIR}/QtCurve/)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment