1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-10 00:43:59 +02:00
vcmi/client/widgets
Alexander Wilms 522cb571b3 Remove redundant virtual specifiers
`grep -nr virtual | grep -v googletest | grep override > ../redundant_virtual.txt`

```python
import os

with open("../redundant_virtual.txt") as f:
    for line in f:
        print()
        line: str = line.strip()
        print(line)
        tmp = line.split(":")
        file = tmp[0].strip()
        code = tmp[-1].strip()
        print(file)
        print(code)
        new_code = code.replace("virtual ", "", 1)
        # https://superuser.com/a/802490/578501
        command = f"export FIND='{code}' && export REPLACE='{new_code}' && ruby -p -i -e \"gsub(ENV['FIND'], ENV['REPLACE'])\" {file}"
        os.system(command)
```
2024-02-10 20:46:13 +01:00
..
markets cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
Buttons.cpp client/widgets/Buttons.cpp: Fix const reference 2023-10-29 13:34:19 +00:00
Buttons.h client/widgets/Buttons.h: Fix const reference 2023-10-29 13:34:19 +00:00
CArtifactHolder.cpp reworking slot selection 2024-01-08 16:24:47 +02:00
CArtifactHolder.h suggested changes 2024-01-11 12:46:32 +02:00
CArtifactsOfHeroAltar.cpp cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroAltar.h cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroBackpack.cpp cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroBackpack.h cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroBase.cpp cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroBase.h cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroKingdom.cpp cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroKingdom.h cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroMain.cpp cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroMain.h cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroMarket.cpp cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
CArtifactsOfHeroMarket.h Refactoring. Callbacks have been encapsulated. Added cursorPosition 2023-12-19 19:01:56 +02:00
CComponent.cpp Bugfixing 2023-11-02 13:52:58 +02:00
CComponent.h Bugfixing 2023-11-02 13:52:58 +02:00
CExchangeController.cpp Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
CExchangeController.h refactoring 2023-09-19 13:31:57 +03:00
CGarrisonInt.cpp Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
CGarrisonInt.h Show option description on hovering 2023-07-21 15:47:42 +03:00
ComboBox.cpp Added callbacks for preset dropdowns 2023-12-07 13:57:16 +02:00
ComboBox.h Added callbacks for preset dropdowns 2023-12-07 13:57:16 +02:00
CreatureCostBox.cpp Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
CreatureCostBox.h vcmi: massive refactoring v1 2023-04-05 22:33:12 +03:00
CWindowWithArtifacts.cpp suggested changes 2024-02-01 13:28:08 +02:00
CWindowWithArtifacts.h cleanup & fix build & sonarcloud fixes 2024-01-30 01:23:50 +02:00
Images.cpp Remove 'visible' property from images, replaced with enable/disabled 2023-12-07 13:57:16 +02:00
Images.h Remove 'visible' property from images, replaced with enable/disabled 2023-12-07 13:57:16 +02:00
MiscWidgets.cpp Merge remote-tracking branch 'vcmi/master' into develop 2024-01-19 13:49:54 +02:00
MiscWidgets.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00
ObjectLists.cpp backpack window slider 2023-07-18 21:01:55 +03:00
ObjectLists.h backpack window slider 2023-07-18 21:01:55 +03:00
RadialMenu.cpp code review 2023-10-16 00:04:29 +02:00
RadialMenu.h code review 2023-10-16 00:04:29 +02:00
Scrollable.cpp Renamed gesture-related methods, remove unused code 2023-06-20 19:58:05 +03:00
Scrollable.h Renamed gesture-related methods, remove unused code 2023-06-20 19:58:05 +03:00
Slider.cpp Simple fix for slider activation when clicking on left/right buttons 2023-12-09 18:09:10 +02:00
Slider.h Added non-linear slider for better simturn duration selection 2023-11-13 19:06:56 +02:00
TextControls.cpp Merge branch 'master' into 'develop' 2024-01-25 16:23:13 +02:00
TextControls.h Merge CKeyboardFocusListener and IFocusListener into CFocusable 2024-01-22 21:48:03 +02:00