From 101f6d1f025074d9a58e2a91f608becbd90f1ba8 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 23 Jan 2021 15:15:20 +0200 Subject: [PATCH] kstyles: drop Oxygen extended resize feature Signed-off-by: Ivailo Monev --- kstyles/oxygen/CMakeLists.txt | 1 - kstyles/oxygen/config/oxygenstyleconfig.cpp | 4 - kstyles/oxygen/config/oxygenstyleconfig.ui | 7 - kstyles/oxygen/oxygen.kcfg | 9 - kstyles/oxygen/oxygensplitterproxy.cpp | 354 -------------------- kstyles/oxygen/oxygensplitterproxy.h | 141 -------- kstyles/oxygen/oxygenstyle.cpp | 7 - kstyles/oxygen/oxygenstyle.h | 8 - 8 files changed, 531 deletions(-) delete mode 100644 kstyles/oxygen/oxygensplitterproxy.cpp delete mode 100644 kstyles/oxygen/oxygensplitterproxy.h diff --git a/kstyles/oxygen/CMakeLists.txt b/kstyles/oxygen/CMakeLists.txt index 274545c7..acdec4a9 100644 --- a/kstyles/oxygen/CMakeLists.txt +++ b/kstyles/oxygen/CMakeLists.txt @@ -20,7 +20,6 @@ set(oxygen_PART_SRCS oxygenmnemonics.cpp oxygenpropertynames.cpp oxygenshadowhelper.cpp - oxygensplitterproxy.cpp oxygenstyle.cpp oxygenstylehelper.cpp oxygenwindowmanager.cpp diff --git a/kstyles/oxygen/config/oxygenstyleconfig.cpp b/kstyles/oxygen/config/oxygenstyleconfig.cpp index b088afc3..08e6cc96 100644 --- a/kstyles/oxygen/config/oxygenstyleconfig.cpp +++ b/kstyles/oxygen/config/oxygenstyleconfig.cpp @@ -75,7 +75,6 @@ namespace Oxygen connect( _toolBarDrawItemSeparator, SIGNAL(toggled(bool)), SLOT(updateChanged()) ); connect( _checkDrawX, SIGNAL(toggled(bool)), SLOT(updateChanged()) ); - connect( _splitterProxyEnabled, SIGNAL(toggled(bool)), SLOT(updateChanged()) ); connect( _mnemonicsMode, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) ); connect( _cacheEnabled, SIGNAL(toggled(bool)), SLOT(updateChanged()) ); connect( _viewDrawTriangularExpander, SIGNAL(toggled(bool)), SLOT(updateChanged()) ); @@ -100,7 +99,6 @@ namespace Oxygen { StyleConfigData::setToolBarDrawItemSeparator( _toolBarDrawItemSeparator->isChecked() ); StyleConfigData::setCheckBoxStyle( ( _checkDrawX->isChecked() ? StyleConfigData::CS_X : StyleConfigData::CS_CHECK ) ); - StyleConfigData::setSplitterProxyEnabled( _splitterProxyEnabled->isChecked() ); StyleConfigData::setMnemonicsMode( _mnemonicsMode->currentIndex() ); StyleConfigData::setCacheEnabled( _cacheEnabled->isChecked() ); StyleConfigData::setViewDrawTriangularExpander( _viewDrawTriangularExpander->isChecked() ); @@ -208,7 +206,6 @@ namespace Oxygen else if( _scrollBarWidth->value() != StyleConfigData::scrollBarWidth() ) modified = true; else if( _scrollBarAddLineButtons->currentIndex() != StyleConfigData::scrollBarAddLineButtons() ) modified = true; else if( _scrollBarSubLineButtons->currentIndex() != StyleConfigData::scrollBarSubLineButtons() ) modified = true; - else if( _splitterProxyEnabled->isChecked() != StyleConfigData::splitterProxyEnabled() ) modified = true; else if( (_checkDrawX->isChecked() ? StyleConfigData::CS_X : StyleConfigData::CS_CHECK) != StyleConfigData::checkBoxStyle() ) modified = true; else if( menuMode() != StyleConfigData::menuHighlightMode() ) modified = true; else if( tabStyle() != StyleConfigData::tabStyle() ) modified = true; @@ -248,7 +245,6 @@ namespace Oxygen _toolBarDrawItemSeparator->setChecked( StyleConfigData::toolBarDrawItemSeparator() ); _mnemonicsMode->setCurrentIndex( StyleConfigData::mnemonicsMode() ); - _splitterProxyEnabled->setChecked( StyleConfigData::splitterProxyEnabled() ); _checkDrawX->setChecked( StyleConfigData::checkBoxStyle() == StyleConfigData::CS_X ); _viewDrawTriangularExpander->setChecked( StyleConfigData::viewDrawTriangularExpander() ); _viewDrawFocusIndicator->setChecked( StyleConfigData::viewDrawFocusIndicator() ); diff --git a/kstyles/oxygen/config/oxygenstyleconfig.ui b/kstyles/oxygen/config/oxygenstyleconfig.ui index a93550fd..4c336898 100644 --- a/kstyles/oxygen/config/oxygenstyleconfig.ui +++ b/kstyles/oxygen/config/oxygenstyleconfig.ui @@ -59,13 +59,6 @@ - - - - Enable extended resize handles - - - diff --git a/kstyles/oxygen/oxygen.kcfg b/kstyles/oxygen/oxygen.kcfg index 9841ec49..99e7e538 100644 --- a/kstyles/oxygen/oxygen.kcfg +++ b/kstyles/oxygen/oxygen.kcfg @@ -132,15 +132,6 @@ WD_FULL - - - true - - - - 12 - -