Remove lots of useless/misplaced includes (#7999)
Follow-Up of 7db3fa94a1 .
This was done by setting `CMAKE_C_INCLUDE_WHAT_YOU_USE` and
`CMAKE_CXX_INCLUDE_WHAT_YOU_USE` to (broken down into multiple lines here,
note, all below `FL/x.h` is not required for C):
```
include-what-you-use;
-Xiwyu;--mapping_file=/usr/share/include-what-you-use/qt5_11.imp;
-Xiwyu;--keep=*/xmmintrin.h;
-Xiwyu;--keep=*/lmmsconfig.h;
-Xiwyu;--keep=*/weak_libjack.h;
-Xiwyu;--keep=*/sys/*;
-Xiwyu;--keep=*/debug.h;
-Xiwyu;--keep=*/SDL/*;
-Xiwyu;--keep=*/alsa/*;
-Xiwyu;--keep=*/FL/x.h;
-Xiwyu;--keep=*/MidiApple.h;
-Xiwyu;--keep=*/MidiWinMM.h;
-Xiwyu;--keep=*/AudioSoundIo.h;
-Xiwyu;--keep=*/OpulenZ/adplug/*;
-Xiwyu;--keep=QPainterPath;
-Xiwyu;--keep=QtTest
```
FAQ:
* Q: Does this speed-up a completely fresh compile?
* A: No, I measured it.
* Q: Does it speed up anything else?
* A: Yes. If you change one header, it can reduce the number of CPP files
that your compiler needs to recompile, or your IDE has to re-scan.
* Q: What other reasons are for this PR?
* A: It's idiomatic to only include headers if you need them. Also, it will
reduce output for those who want to use IWYU for new PRs.
Background:
This is just a remainder PR of what I planned. My original idea was to setup
a CI which warns you of useless includes (but not of all issues that IWYU
complains about). However, I could not see that this was favored on Discord.
A full IWYU CI also has the problem that it (possibly??) needs to compile
with `make -j 1`, which would make CI really slow.
However, for that plan, I had to fix the whole code base to be IWYU
compliant - which it now is.
This commit is contained in:
@@ -45,9 +45,8 @@
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class AudioDevice;
|
||||
class MidiClient;
|
||||
class AudioBusHandle;
|
||||
class AudioBusHandle; // IWYU pragma: keep
|
||||
class AudioEngineWorkerThread;
|
||||
|
||||
constexpr fpp_t MINIMUM_BUFFER_SIZE = 32;
|
||||
|
||||
@@ -69,7 +69,6 @@ public:
|
||||
namespace gui
|
||||
{
|
||||
class ComboBox;
|
||||
class LcdSpinBox;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -25,10 +25,9 @@
|
||||
#ifndef LMMS_AUDIO_SOUNDIO_H
|
||||
#define LMMS_AUDIO_SOUNDIO_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
#include "ComboBoxModel.h"
|
||||
#include "ComboBoxModel.h" // IWYU pragma: keep
|
||||
|
||||
#ifdef LMMS_HAVE_SOUNDIO
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* AutomatableButton.h - class automatableButton, the base for all buttons
|
||||
* AutomatableButton.h - class AutomatableButton, the base for all buttons
|
||||
*
|
||||
* Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
@@ -32,7 +32,7 @@
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
class automatableButtonGroup;
|
||||
class AutomatableButtonGroup;
|
||||
|
||||
|
||||
class LMMS_EXPORT AutomatableButton : public QPushButton, public BoolModelView
|
||||
@@ -69,10 +69,10 @@ protected:
|
||||
|
||||
|
||||
private:
|
||||
automatableButtonGroup * m_group;
|
||||
AutomatableButtonGroup * m_group;
|
||||
|
||||
|
||||
friend class automatableButtonGroup;
|
||||
friend class AutomatableButtonGroup;
|
||||
|
||||
using QPushButton::setChecked;
|
||||
using QPushButton::isChecked;
|
||||
@@ -80,13 +80,13 @@ private:
|
||||
|
||||
|
||||
|
||||
class LMMS_EXPORT automatableButtonGroup : public QWidget, public IntModelView
|
||||
class LMMS_EXPORT AutomatableButtonGroup : public QWidget, public IntModelView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
automatableButtonGroup( QWidget * _parent, const QString & _name
|
||||
AutomatableButtonGroup( QWidget * _parent, const QString & _name
|
||||
= QString() );
|
||||
~automatableButtonGroup() override;
|
||||
~AutomatableButtonGroup() override;
|
||||
|
||||
void addButton( AutomatableButton * _btn );
|
||||
void removeButton( AutomatableButton * _btn );
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <cmath>
|
||||
#include <QMap>
|
||||
#include <QMutex>
|
||||
#include <QRegularExpression>
|
||||
|
||||
#include "JournallingObject.h"
|
||||
#include "Model.h"
|
||||
|
||||
@@ -29,9 +29,6 @@
|
||||
|
||||
#include <QMap>
|
||||
#include <QPointer>
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0))
|
||||
#include <QRecursiveMutex>
|
||||
#endif
|
||||
|
||||
#include "AutomationNode.h"
|
||||
#include "Clip.h"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#ifndef LMMS_GUI_AUTOMATION_EDITOR_H
|
||||
#define LMMS_GUI_AUTOMATION_EDITOR_H
|
||||
|
||||
#include <QPushButton>
|
||||
#include <QWidget>
|
||||
#include <array>
|
||||
|
||||
@@ -34,26 +33,24 @@
|
||||
#include "ComboBoxModel.h"
|
||||
#include "Editor.h"
|
||||
#include "JournallingObject.h"
|
||||
#include "MidiClip.h"
|
||||
#include "SampleClip.h"
|
||||
#include "TimePos.h"
|
||||
#include "LmmsTypes.h"
|
||||
#include "SampleThumbnail.h"
|
||||
|
||||
class QPainter;
|
||||
class QPixmap;
|
||||
class QPushButton;
|
||||
class QScrollBar;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class NotePlayHandle;
|
||||
class MidiClip;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class Knob;
|
||||
class ComboBox;
|
||||
class Knob;
|
||||
class TimeLineWidget;
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace lmms
|
||||
{
|
||||
|
||||
class Track;
|
||||
class TrackContainer;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
@@ -35,13 +35,11 @@
|
||||
|
||||
|
||||
class QMenu;
|
||||
class QContextMenuEvent;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class DataFile;
|
||||
class Clip;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
@@ -40,8 +40,6 @@ namespace lmms
|
||||
{
|
||||
|
||||
|
||||
class Engine;
|
||||
|
||||
const QString PROJECTS_PATH = "projects/";
|
||||
const QString TEMPLATE_PATH = "templates/";
|
||||
const QString PRESETS_PATH = "presets/";
|
||||
|
||||
@@ -78,8 +78,6 @@
|
||||
#include <QStyle>
|
||||
|
||||
class QLayoutItem;
|
||||
class QRect;
|
||||
class QString;
|
||||
class QLineEdit;
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#define LMMS_GUI_CONTROLLER_RACK_VIEW_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include "SerializingObject.h"
|
||||
|
||||
|
||||
@@ -37,8 +37,6 @@ class QLabel;
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class AutomatableModel;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "ModelView.h"
|
||||
|
||||
class QScrollArea;
|
||||
class QVBoxLayout;
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
@@ -29,15 +29,13 @@
|
||||
#include "Effect.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QHeaderView>
|
||||
#include <QKeyEvent>
|
||||
#include <QMouseEvent>
|
||||
#include <QPushButton>
|
||||
#include <QRegularExpression>
|
||||
#include <QScrollArea>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QStandardItemModel>
|
||||
#include <QTableView>
|
||||
|
||||
class QScrollArea;
|
||||
class QTableView;
|
||||
class QLineEdit;
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#define LMMS_ENVELOPE_AND_LFO_PARAMETERS_H
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "JournallingObject.h"
|
||||
#include "AutomatableModel.h"
|
||||
|
||||
@@ -38,7 +38,7 @@ class EnvelopeAndLfoParameters;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class automatableButtonGroup;
|
||||
class AutomatableButtonGroup;
|
||||
class Knob;
|
||||
class LedCheckBox;
|
||||
class PixmapButton;
|
||||
@@ -87,7 +87,7 @@ private:
|
||||
TempoSyncKnob * m_lfoSpeedKnob;
|
||||
Knob * m_lfoAmountKnob;
|
||||
PixmapButton * m_userLfoBtn;
|
||||
automatableButtonGroup * m_lfoWaveBtnGrp;
|
||||
AutomatableButtonGroup * m_lfoWaveBtnGrp;
|
||||
|
||||
LedCheckBox * m_x100Cb;
|
||||
LedCheckBox * m_controlEnvAmountCb;
|
||||
|
||||
@@ -25,28 +25,25 @@
|
||||
#ifndef LMMS_GUI_FILE_BROWSER_H
|
||||
#define LMMS_GUI_FILE_BROWSER_H
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QDir>
|
||||
#include <QMutex>
|
||||
#include <QProgressBar>
|
||||
#include <memory>
|
||||
|
||||
#include "FileSearch.h"
|
||||
#include "embed.h"
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0))
|
||||
#include <QRecursiveMutex>
|
||||
#endif
|
||||
#include <QTreeWidget>
|
||||
|
||||
#include "SideBarWidget.h"
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
class QCheckBox;
|
||||
class QLineEdit;
|
||||
class QProgressBar;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class FileSearch;
|
||||
class InstrumentTrack;
|
||||
class PlayHandle;
|
||||
class TrackContainer;
|
||||
@@ -54,8 +51,8 @@ class TrackContainer;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class FileItem;
|
||||
class FileBrowserTreeWidget;
|
||||
class FileItem;
|
||||
|
||||
class FileBrowser : public SideBarWidget
|
||||
{
|
||||
|
||||
@@ -26,12 +26,12 @@
|
||||
#define LMMS_GUI_GUI_APPLICATION_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QSocketNotifier>
|
||||
|
||||
#include "lmms_export.h"
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
class QLabel;
|
||||
class QSocketNotifier;
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class InstrumentTrack;
|
||||
class InstrumentTrack; // IWYU pragma: keep
|
||||
class NotePlayHandle;
|
||||
|
||||
namespace gui
|
||||
|
||||
@@ -27,11 +27,12 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "InstrumentSoundShaping.h"
|
||||
#include "ModelView.h"
|
||||
|
||||
class QLabel;
|
||||
|
||||
namespace lmms { class InstrumentSoundShaping; }
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#ifndef LMMS_INSTRUMENT_TRACK_H
|
||||
#define LMMS_INSTRUMENT_TRACK_H
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "AudioBusHandle.h"
|
||||
#include "InstrumentFunctions.h"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#ifndef LMMS_GUI_INSTRUMENT_TRACK_VIEW_H
|
||||
#define LMMS_GUI_INSTRUMENT_TRACK_VIEW_H
|
||||
|
||||
#include "MixerChannelLcdSpinBox.h"
|
||||
#include "TrackView.h"
|
||||
|
||||
#include "InstrumentTrack.h"
|
||||
@@ -38,6 +37,7 @@ namespace lmms::gui
|
||||
class InstrumentTrackWindow;
|
||||
class Knob;
|
||||
class MidiCCRackView;
|
||||
class MixerChannelLcdSpinBox;
|
||||
class TrackContainerView;
|
||||
class TrackLabelButton;
|
||||
|
||||
|
||||
@@ -27,24 +27,21 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "AutomatableButton.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "ModelView.h"
|
||||
#include "SerializingObject.h"
|
||||
#include "PluginView.h"
|
||||
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QWidget;
|
||||
class QMdiSubWindow;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class InstrumentTrack;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class AutomatableButton;
|
||||
class EffectRackView;
|
||||
class MixerChannelLcdSpinBox;
|
||||
class InstrumentFunctionArpeggioView;
|
||||
@@ -52,7 +49,6 @@ class InstrumentFunctionNoteStackingView;
|
||||
class InstrumentMidiIOView;
|
||||
class InstrumentTuningView;
|
||||
class InstrumentSoundShapingView;
|
||||
class InstrumentTrackShapingView;
|
||||
class InstrumentTrackView;
|
||||
class Knob;
|
||||
class LcdSpinBox;
|
||||
|
||||
@@ -26,19 +26,15 @@
|
||||
#define LMMS_GUI_KNOB_H
|
||||
|
||||
#include <memory>
|
||||
#include <QTextDocument>
|
||||
|
||||
#include "FloatModelEditorBase.h"
|
||||
|
||||
|
||||
class QPixmap;
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
|
||||
class SimpleTextFloat;
|
||||
|
||||
enum class KnobType
|
||||
{
|
||||
Dark28, Bright26, Small17, Vintage32, Styled
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "AutomatableButton.h"
|
||||
|
||||
|
||||
class QPixmap;
|
||||
|
||||
|
||||
namespace lmms::gui
|
||||
|
||||
@@ -25,9 +25,7 @@
|
||||
#ifndef LMMS_LFO_CONTROLLER_H
|
||||
#define LMMS_LFO_CONTROLLER_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "Model.h"
|
||||
#include "AutomatableModel.h"
|
||||
#include "Controller.h"
|
||||
#include "ControllerDialog.h"
|
||||
@@ -40,8 +38,7 @@ namespace lmms
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class automatableButtonGroup;
|
||||
class LedCheckBox;
|
||||
class AutomatableButtonGroup;
|
||||
class PixmapButton;
|
||||
class Knob;
|
||||
class TempoSyncKnob;
|
||||
@@ -120,8 +117,8 @@ protected:
|
||||
Knob * m_amountKnob;
|
||||
Knob * m_phaseKnob;
|
||||
PixmapButton * m_userLfoBtn;
|
||||
automatableButtonGroup * m_waveBtnGrp;
|
||||
automatableButtonGroup * m_multiplierBtnGrp;
|
||||
AutomatableButtonGroup * m_waveBtnGrp;
|
||||
AutomatableButtonGroup * m_multiplierBtnGrp;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@@ -40,7 +40,7 @@ class LinkedModelGroups;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class Control;
|
||||
class Control; // IWYU pragma: keep
|
||||
|
||||
/**
|
||||
@file LinkedModelGroupViews.h
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
# include <semaphore.h>
|
||||
#endif
|
||||
|
||||
#include <system_error>
|
||||
|
||||
namespace lmms {
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <lilv/lilv.h>
|
||||
#include <memory>
|
||||
|
||||
#include "DataFile.h"
|
||||
#include "LinkedModelGroups.h"
|
||||
#include "lmms_export.h"
|
||||
#include "Plugin.h"
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
#include <map>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
#include "Lv2Manager.h"
|
||||
|
||||
#include <lv2/core/lv2.h>
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -57,10 +57,6 @@ namespace Lv2Ports
|
||||
struct Audio;
|
||||
struct PortBase;
|
||||
struct AtomSeq;
|
||||
|
||||
enum class Type;
|
||||
enum class Flow;
|
||||
enum class Vis;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
|
||||
class QPushButton;
|
||||
class QMdiSubWindow;
|
||||
class QLabel;
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -49,7 +48,6 @@ class Lv2ControlBase;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class LedCheckBox;
|
||||
|
||||
//! View for one processor, Lv2ViewBase contains 2 of those for mono plugins
|
||||
class Lv2ViewProc : public LinkedModelGroupView
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#ifdef LMMS_HAVE_LV2
|
||||
|
||||
#include <lilv/lilv.h>
|
||||
#include <lv2/worker/worker.h>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
@@ -36,21 +36,16 @@
|
||||
class QAction;
|
||||
class QDomElement;
|
||||
class QGridLayout;
|
||||
class QMdiArea;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class ConfigManager;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class FileBrowser;
|
||||
class PluginView;
|
||||
class SubWindow;
|
||||
class ToolButton;
|
||||
class GuiApplication;
|
||||
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
#include <QMap>
|
||||
#include <QThread>
|
||||
|
||||
#include "MidiClient.h"
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "MidiClient.h"
|
||||
|
||||
|
||||
struct pollfd;
|
||||
|
||||
|
||||
namespace lmms
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
|
||||
#include "MidiClient.h"
|
||||
|
||||
class QLineEdit;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -25,26 +25,26 @@
|
||||
#ifndef LMMS_GUI_MIXER_CHANNEL_VIEW_H
|
||||
#define LMMS_GUI_MIXER_CHANNEL_VIEW_H
|
||||
|
||||
#include <QGraphicsView>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QPixmap>
|
||||
#include <QStackedWidget>
|
||||
#include <QWidget>
|
||||
|
||||
#include "EffectRackView.h"
|
||||
#include "Fader.h"
|
||||
#include "Knob.h"
|
||||
#include "LcdWidget.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "SendButtonIndicator.h"
|
||||
class QGraphicsView;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QStackedWidget;
|
||||
|
||||
namespace lmms {
|
||||
class MixerChannel;
|
||||
}
|
||||
|
||||
namespace lmms::gui {
|
||||
class AutomatableButton;
|
||||
class EffectRackView;
|
||||
class Fader;
|
||||
class Knob;
|
||||
class LcdWidget;
|
||||
class MixerView;
|
||||
class PeakIndicator;
|
||||
class SendButtonIndicator;
|
||||
|
||||
|
||||
class MixerChannelView : public QWidget
|
||||
|
||||
@@ -26,17 +26,16 @@
|
||||
#define LMMS_GUI_MIXER_VIEW_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QHBoxLayout>
|
||||
#include <QStackedLayout>
|
||||
#include <QScrollArea>
|
||||
|
||||
#include "MixerChannelView.h"
|
||||
#include "ModelView.h"
|
||||
#include "Engine.h"
|
||||
#include "Fader.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "embed.h"
|
||||
#include "EffectRackView.h"
|
||||
#include "SerializingObject.h"
|
||||
|
||||
class QDomDocument; // IWYU pragma: keep
|
||||
class QDomElement; // IWYU pragma: keep
|
||||
class QHBoxLayout;
|
||||
class QStackedLayout;
|
||||
class QScrollArea;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -37,7 +37,6 @@ class TrackContainer;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class TrackLabelButton;
|
||||
class PatternTrackView;
|
||||
|
||||
} // namespace gui
|
||||
|
||||
@@ -40,11 +40,8 @@
|
||||
#include "StepRecorder.h"
|
||||
#include "StepRecorderWidget.h"
|
||||
|
||||
class QPainter;
|
||||
class QPixmap;
|
||||
class QPushButton;
|
||||
class QScrollBar;
|
||||
class QString;
|
||||
class QMenu;
|
||||
class QToolButton;
|
||||
|
||||
@@ -52,7 +49,6 @@ namespace lmms
|
||||
{
|
||||
|
||||
|
||||
class NotePlayHandle;
|
||||
class MidiClip;
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "SideBarWidget.h"
|
||||
#include "Plugin.h"
|
||||
|
||||
class QLineEdit;
|
||||
class QTreeWidget;
|
||||
|
||||
namespace lmms::gui
|
||||
|
||||
@@ -30,14 +30,13 @@
|
||||
#include <vector>
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QHash>
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
|
||||
#include "lmms_export.h"
|
||||
#include "Plugin.h"
|
||||
|
||||
class QLibrary;
|
||||
class QLibrary; // IWYU pragma: keep
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -25,17 +25,20 @@
|
||||
#ifndef LMMS_REMOTE_PLUGIN_H
|
||||
#define LMMS_REMOTE_PLUGIN_H
|
||||
|
||||
#include <QThread>
|
||||
#include <QProcess>
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0))
|
||||
#include <QRecursiveMutex> // IWYU pragma: keep
|
||||
#endif
|
||||
|
||||
#include "RemotePluginBase.h"
|
||||
#include "SharedMemory.h"
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0))
|
||||
#include <QRecursiveMutex>
|
||||
#endif
|
||||
#include "LmmsTypes.h"
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
|
||||
class MidiEvent;
|
||||
class RemotePlugin;
|
||||
class SampleFrame;
|
||||
|
||||
|
||||
@@ -25,17 +25,14 @@
|
||||
#ifndef LMMS_REMOTE_PLUGIN_BASE_H
|
||||
#define LMMS_REMOTE_PLUGIN_BASE_H
|
||||
|
||||
#include "MidiEvent.h"
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <atomic> // IWYU pragma: keep
|
||||
#include <vector>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
#if !(defined(LMMS_HAVE_SYS_IPC_H) && defined(LMMS_HAVE_SEMAPHORE_H))
|
||||
#define SYNC_WITH_SHM_FIFO
|
||||
@@ -50,7 +47,7 @@
|
||||
#endif // !(LMMS_HAVE_SYS_IPC_H && LMMS_HAVE_SEMAPHORE_H)
|
||||
|
||||
#ifdef LMMS_HAVE_LOCALE_H
|
||||
#include <clocale>
|
||||
#include <clocale> // IWYU pragma: keep
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_HAVE_PTHREAD_H
|
||||
@@ -69,14 +66,11 @@
|
||||
|
||||
#else // BUILD_REMOTE_PLUGIN_CLIENT
|
||||
#include "lmms_export.h"
|
||||
#include <QMutex>
|
||||
#include <QProcess>
|
||||
#include <QThread>
|
||||
#include <QString>
|
||||
|
||||
#ifndef SYNC_WITH_SHM_FIFO
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
#include <unistd.h> // IWYU pragma: keep
|
||||
#endif // SYNC_WITH_SHM_FIFO
|
||||
|
||||
#endif // BUILD_REMOTE_PLUGIN_CLIENT
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "LmmsTypes.h"
|
||||
#include "MidiEvent.h"
|
||||
#include "SharedMemory.h"
|
||||
#include "VstSyncData.h"
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#ifndef LMMS_SAMPLE_H
|
||||
#define LMMS_SAMPLE_H
|
||||
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
|
||||
#include "AudioResampler.h"
|
||||
|
||||
@@ -25,11 +25,8 @@
|
||||
#ifndef LMMS_SAMPLE_BUFFER_H
|
||||
#define LMMS_SAMPLE_BUFFER_H
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QString>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <samplerate.h>
|
||||
#include <vector>
|
||||
|
||||
#include "AudioEngine.h"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#define LMMS_SAMPLE_DECODER_H
|
||||
|
||||
#include <QString>
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#define LMMS_SAMPLE_PLAY_HANDLE_H
|
||||
|
||||
#include "Sample.h"
|
||||
#include "SampleBuffer.h"
|
||||
#include "AutomatableModel.h"
|
||||
#include "PlayHandle.h"
|
||||
|
||||
@@ -38,7 +37,6 @@ namespace lmms
|
||||
class PatternTrack;
|
||||
class SampleClip;
|
||||
class Track;
|
||||
class AudioBusHandle;
|
||||
|
||||
|
||||
class LMMS_EXPORT SamplePlayHandle : public PlayHandle
|
||||
|
||||
@@ -27,15 +27,19 @@
|
||||
#define LMMS_SAMPLE_THUMBNAIL_H
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QPainter>
|
||||
#include <QRect>
|
||||
#include <memory>
|
||||
|
||||
#include "Sample.h"
|
||||
#include "lmms_export.h"
|
||||
#include "SampleBuffer.h"
|
||||
#include "SampleFrame.h"
|
||||
|
||||
class QPainter;
|
||||
|
||||
namespace lmms {
|
||||
|
||||
class Sample;
|
||||
|
||||
/**
|
||||
Allows for visualizing sample data.
|
||||
|
||||
|
||||
@@ -26,19 +26,17 @@
|
||||
#define LMMS_GUI_SAMPLE_TRACK_VIEW_H
|
||||
|
||||
|
||||
#include "MixerChannelLcdSpinBox.h"
|
||||
#include "SampleTrack.h"
|
||||
#include "TrackView.h"
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class SampleTrack;
|
||||
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class Knob;
|
||||
class MixerChannelLcdSpinBox;
|
||||
class SampleTrackWindow;
|
||||
class TrackLabelButton;
|
||||
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
#include "ModelView.h"
|
||||
#include "SampleTrack.h"
|
||||
#include "SerializingObject.h"
|
||||
#include "AutomatableButton.h"
|
||||
|
||||
class QLineEdit;
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
class AutomatableButton;
|
||||
class EffectRackView;
|
||||
class Knob;
|
||||
class MixerChannelLcdSpinBox;
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
#include <array>
|
||||
#include <memory>
|
||||
|
||||
#include <QHash>
|
||||
#include <QString>
|
||||
#include <QHash> // IWYU pragma: keep
|
||||
|
||||
#include "AudioEngine.h"
|
||||
#include "Controller.h"
|
||||
@@ -50,11 +50,8 @@ class Scale;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class TimeLineWidget;
|
||||
class SongEditor;
|
||||
class ControllerRackView;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#ifndef LMMS_GUI_SONG_EDITOR_H
|
||||
#define LMMS_GUI_SONG_EDITOR_H
|
||||
|
||||
#include "AutomatableModel.h"
|
||||
#include "Editor.h"
|
||||
#include "TrackContainerView.h"
|
||||
|
||||
@@ -36,6 +35,7 @@ class QScrollBar;
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class IntModel;
|
||||
class Song;
|
||||
class ComboBoxModel;
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#ifndef LMMS_STEP_RECORDER_H
|
||||
#define LMMS_STEP_RECORDER_H
|
||||
|
||||
#include <QColor>
|
||||
#include <QElapsedTimer>
|
||||
#include <QTimer>
|
||||
#include <QObject>
|
||||
|
||||
@@ -34,9 +34,7 @@
|
||||
|
||||
class QGraphicsDropShadowEffect;
|
||||
class QLabel;
|
||||
class QMoveEvent;
|
||||
class QPushButton;
|
||||
class QResizeEvent;
|
||||
class QWidget;
|
||||
|
||||
namespace lmms::gui
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <QBrush>
|
||||
#include <QSize>
|
||||
#include <QWidget>
|
||||
|
||||
@@ -35,7 +34,6 @@
|
||||
#include "embed.h"
|
||||
|
||||
|
||||
class QPixmap;
|
||||
class QToolBar;
|
||||
|
||||
namespace lmms {
|
||||
@@ -47,9 +45,7 @@ class Timeline;
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
class NStateButton;
|
||||
class TextFloat;
|
||||
class SongEditor;
|
||||
|
||||
|
||||
class TimeLineWidget : public QWidget
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
#include "JournallingObject.h"
|
||||
#include "TimePos.h"
|
||||
|
||||
class QMimeData; // IWYU pragma: keep
|
||||
|
||||
class QMimeData;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
@@ -41,8 +41,8 @@ class Track;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class ClipView; // IWYU pragma: keep
|
||||
class TrackView;
|
||||
class ClipView;
|
||||
|
||||
class TrackContentWidget : public QWidget, public JournallingObject
|
||||
{
|
||||
|
||||
@@ -26,14 +26,13 @@
|
||||
#define LMMS_GUI_TRACK_OPERATIONS_WIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "AutomatableButton.h"
|
||||
|
||||
class QPushButton;
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
class PixmapButton;
|
||||
class AutomatableButton;
|
||||
class TrackGrip;
|
||||
class TrackView;
|
||||
|
||||
|
||||
@@ -29,12 +29,11 @@
|
||||
#include <QObject>
|
||||
|
||||
#include "SharedMemory.h"
|
||||
#include "VstSyncData.h"
|
||||
#include "VstSyncData.h" // IWYU pragma: keep
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
|
||||
class VstSyncController : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -32,8 +32,9 @@
|
||||
#include <QString>
|
||||
|
||||
#include "lmms_export.h"
|
||||
#ifdef PLUGIN_NAME
|
||||
#include "LmmsCommonMacros.h"
|
||||
|
||||
#endif
|
||||
|
||||
namespace lmms {
|
||||
|
||||
|
||||
@@ -32,13 +32,10 @@ namespace lmms
|
||||
{
|
||||
|
||||
class AmplifierControls;
|
||||
class FloatModel;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class Knob;
|
||||
|
||||
class AmplifierControlDialog : public EffectControlDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "AmplifierControls.h"
|
||||
#include "Amplifier.h"
|
||||
|
||||
@@ -34,11 +34,6 @@ namespace lmms
|
||||
|
||||
class AmplifierEffect;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
class AmplifierControlDialog;
|
||||
}
|
||||
|
||||
class AmplifierControls : public EffectControls
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -99,7 +99,7 @@ AudioFileProcessorView::AudioFileProcessorView(Instrument* instrument,
|
||||
"loop_pingpong_off"));
|
||||
m_loopPingPongButton->setToolTip(tr("Enable ping-pong loop"));
|
||||
|
||||
m_loopGroup = new automatableButtonGroup(this);
|
||||
m_loopGroup = new AutomatableButtonGroup(this);
|
||||
m_loopGroup->addButton(m_loopOffButton);
|
||||
m_loopGroup->addButton(m_loopOnButton);
|
||||
m_loopGroup->addButton(m_loopPingPongButton);
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace lmms
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class automatableButtonGroup;
|
||||
class AutomatableButtonGroup;
|
||||
class Knob;
|
||||
class PixmapButton;
|
||||
class ComboBox;
|
||||
@@ -73,7 +73,7 @@ private:
|
||||
|
||||
gui::PixmapButton* m_openAudioFileButton;
|
||||
PixmapButton* m_reverseButton;
|
||||
automatableButtonGroup* m_loopGroup;
|
||||
AutomatableButtonGroup* m_loopGroup;
|
||||
PixmapButton* m_stutterButton;
|
||||
ComboBox* m_interpBox;
|
||||
} ;
|
||||
|
||||
@@ -38,8 +38,6 @@ class Sample;
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class AudioFileProcessorView;
|
||||
|
||||
class AudioFileProcessorWaveView : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "BassBoosterControls.h"
|
||||
#include "BassBooster.h"
|
||||
|
||||
@@ -114,4 +114,4 @@ BitcrushControlDialog::BitcrushControlDialog( BitcrushControls * controls ) :
|
||||
}
|
||||
|
||||
|
||||
} // namespace lmms::gui
|
||||
} // namespace lmms::gui
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "BitcrushControls.h"
|
||||
#include "Bitcrush.h"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "carlabase_export.h"
|
||||
#include <CarlaDefines.h>
|
||||
#if CARLA_VERSION_HEX >= 0x010911
|
||||
#include <CarlaNativePlugin.h>
|
||||
#include <CarlaNativePlugin.h> // IWYU pragma: keep
|
||||
#else
|
||||
#include <CarlaBackend.h>
|
||||
#include <CarlaNative.h>
|
||||
@@ -65,7 +65,7 @@ class QCompleter;
|
||||
class QGridLayout;
|
||||
class QHBoxLayout;
|
||||
class QLineEdit;
|
||||
class QStringListModel;
|
||||
class QStringListModel; // IWYU pragma: keep
|
||||
class QScrollArea;
|
||||
|
||||
|
||||
|
||||
@@ -195,7 +195,7 @@ CompressorControlDialog::CompressorControlDialog(CompressorControls* controls) :
|
||||
peakButton->setInactiveGraphic(PLUGIN_NAME::getIconPixmap("peak_unsel"));
|
||||
peakButton->setToolTip(tr("Use absolute value of the input"));
|
||||
|
||||
rmsPeakGroup = new automatableButtonGroup(this);
|
||||
rmsPeakGroup = new AutomatableButtonGroup(this);
|
||||
rmsPeakGroup->addButton(rmsButton);
|
||||
rmsPeakGroup->addButton(peakButton);
|
||||
rmsPeakGroup->setModel(&controls->m_peakmodeModel);
|
||||
@@ -210,7 +210,7 @@ CompressorControlDialog::CompressorControlDialog(CompressorControls* controls) :
|
||||
midSideButton->setInactiveGraphic(PLUGIN_NAME::getIconPixmap("midside_unsel"));
|
||||
midSideButton->setToolTip(tr("Compress mid and side audio"));
|
||||
|
||||
leftRightMidSideGroup = new automatableButtonGroup(this);
|
||||
leftRightMidSideGroup = new AutomatableButtonGroup(this);
|
||||
leftRightMidSideGroup->addButton(leftRightButton);
|
||||
leftRightMidSideGroup->addButton(midSideButton);
|
||||
leftRightMidSideGroup->setModel(&controls->m_midsideModel);
|
||||
@@ -225,7 +225,7 @@ CompressorControlDialog::CompressorControlDialog(CompressorControls* controls) :
|
||||
limitButton->setInactiveGraphic(PLUGIN_NAME::getIconPixmap("limiter_unsel"));
|
||||
limitButton->setToolTip(tr("Set Ratio to infinity (is not guaranteed to limit audio volume)"));
|
||||
|
||||
compressLimitGroup = new automatableButtonGroup(this);
|
||||
compressLimitGroup = new AutomatableButtonGroup(this);
|
||||
compressLimitGroup->addButton(compressButton);
|
||||
compressLimitGroup->addButton(limitButton);
|
||||
compressLimitGroup->setModel(&controls->m_limiterModel);
|
||||
@@ -255,7 +255,7 @@ CompressorControlDialog::CompressorControlDialog(CompressorControls* controls) :
|
||||
blendButton->setInactiveGraphic(PLUGIN_NAME::getIconPixmap("blend_unsel"));
|
||||
blendButton->setToolTip(tr("Blend between stereo linking modes"));
|
||||
|
||||
stereoLinkGroup = new automatableButtonGroup(this);
|
||||
stereoLinkGroup = new AutomatableButtonGroup(this);
|
||||
stereoLinkGroup->addButton(unlinkedButton);
|
||||
stereoLinkGroup->addButton(maximumButton);
|
||||
stereoLinkGroup->addButton(averageButton);
|
||||
|
||||
@@ -59,7 +59,7 @@ constexpr int COMP_BOX_Y = 280;
|
||||
constexpr float COMP_GRID_SPACING = 3.f;// 3 db per grid line
|
||||
constexpr float COMP_GRID_MAX = 96.f;// Can't zoom out past 96 db
|
||||
|
||||
class automatableButtonGroup;
|
||||
class AutomatableButtonGroup;
|
||||
class Knob;
|
||||
class PixmapButton;
|
||||
class EqFader;
|
||||
@@ -196,22 +196,22 @@ private:
|
||||
|
||||
PixmapButton * rmsButton;
|
||||
PixmapButton * peakButton;
|
||||
automatableButtonGroup * rmsPeakGroup;
|
||||
AutomatableButtonGroup * rmsPeakGroup;
|
||||
|
||||
PixmapButton * leftRightButton;
|
||||
PixmapButton * midSideButton;
|
||||
automatableButtonGroup * leftRightMidSideGroup;
|
||||
AutomatableButtonGroup * leftRightMidSideGroup;
|
||||
|
||||
PixmapButton * compressButton;
|
||||
PixmapButton * limitButton;
|
||||
automatableButtonGroup * compressLimitGroup;
|
||||
AutomatableButtonGroup * compressLimitGroup;
|
||||
|
||||
PixmapButton * unlinkedButton;
|
||||
PixmapButton * maximumButton;
|
||||
PixmapButton * averageButton;
|
||||
PixmapButton * minimumButton;
|
||||
PixmapButton * blendButton;
|
||||
automatableButtonGroup * stereoLinkGroup;
|
||||
AutomatableButtonGroup * stereoLinkGroup;
|
||||
|
||||
PixmapButton * autoMakeupButton;
|
||||
PixmapButton * auditionButton;
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "CompressorControls.h"
|
||||
#include "Compressor.h"
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
|
||||
namespace lmms
|
||||
|
||||
@@ -25,16 +25,14 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "AutomatableButton.h"
|
||||
#include "CrossoverEQControlDialog.h"
|
||||
#include "CrossoverEQControls.h"
|
||||
#include "embed.h"
|
||||
#include "FontHelper.h"
|
||||
#include "LedCheckBox.h"
|
||||
#include "Knob.h"
|
||||
#include "Fader.h"
|
||||
#include "PixmapButton.h"
|
||||
|
||||
#include <QPixmap>
|
||||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "DelayControls.h"
|
||||
#include "DelayEffect.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include "StereoDelay.h"
|
||||
|
||||
#include "LmmsTypes.h"
|
||||
#include "SampleFrame.h"
|
||||
|
||||
namespace lmms
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#ifndef STEREODELAY_H
|
||||
#define STEREODELAY_H
|
||||
|
||||
#include "LmmsTypes.h"
|
||||
|
||||
|
||||
namespace lmms
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
#include "Dispersion.h"
|
||||
|
||||
#include <numbers>
|
||||
|
||||
#include "embed.h"
|
||||
#include "plugin_export.h"
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "DispersionControls.h"
|
||||
#include "Effect.h"
|
||||
|
||||
#include "lmms_math.h"
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "AutomatableButton.h"
|
||||
#include "DispersionControls.h"
|
||||
#include "embed.h"
|
||||
#include "Knob.h"
|
||||
#include "LcdSpinBox.h"
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "DispersionControls.h"
|
||||
#include "Dispersion.h"
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
@@ -33,12 +33,6 @@ namespace lmms
|
||||
|
||||
class DispersionEffect;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
class DispersionControlDialog;
|
||||
}
|
||||
|
||||
|
||||
class DispersionControls : public EffectControls
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "BasicFilters.h"
|
||||
#include "DualFilterControls.h"
|
||||
|
||||
@@ -135,7 +135,7 @@ DynProcControlDialog::DynProcControlDialog(
|
||||
smUnlButton -> setInactiveGraphic( PLUGIN_NAME::getIconPixmap( "unl_inactive" ) );
|
||||
smUnlButton->setToolTip(tr("Process each stereo channel independently"));
|
||||
|
||||
auto smGroup = new automatableButtonGroup(this);
|
||||
auto smGroup = new AutomatableButtonGroup(this);
|
||||
smGroup -> addButton( smMaxButton );
|
||||
smGroup -> addButton( smAvgButton );
|
||||
smGroup -> addButton( smUnlButton );
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include "EqControls.h"
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "EqControlsDialog.h"
|
||||
#include "EqEffect.h"
|
||||
|
||||
@@ -198,13 +198,13 @@ EqControlsDialog::EqControlsDialog( EqControls *controls ) :
|
||||
QObject::connect( m_parameterWidget->getBandModels( 7 )->lp24 , SIGNAL ( dataChanged() ), m_parameterWidget, SLOT( updateHandle()));
|
||||
QObject::connect( m_parameterWidget->getBandModels( 7 )->lp48 , SIGNAL ( dataChanged() ), m_parameterWidget, SLOT( updateHandle()));
|
||||
|
||||
auto lpBtnGrp = new automatableButtonGroup(this, tr("LP group"));
|
||||
auto lpBtnGrp = new AutomatableButtonGroup(this, tr("LP group"));
|
||||
lpBtnGrp->addButton( lp12Button );
|
||||
lpBtnGrp->addButton( lp24Button );
|
||||
lpBtnGrp->addButton( lp48Button );
|
||||
lpBtnGrp->setModel(&m_controls->m_lpTypeModel);
|
||||
|
||||
auto hpBtnGrp = new automatableButtonGroup(this, tr("HP group"));
|
||||
auto hpBtnGrp = new AutomatableButtonGroup(this, tr("HP group"));
|
||||
hpBtnGrp->addButton( hp12Button );
|
||||
hpBtnGrp->addButton( hp24Button );
|
||||
hpBtnGrp->addButton( hp48Button );
|
||||
|
||||
@@ -23,18 +23,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "EqParameterWidget.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsView>
|
||||
#include <QPainter>
|
||||
#include <QPen>
|
||||
#include <QWidget>
|
||||
|
||||
#include "AutomatableModel.h"
|
||||
#include "EqCurve.h"
|
||||
#include "EqParameterWidget.h"
|
||||
|
||||
|
||||
namespace lmms::gui
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "FlangerControls.h"
|
||||
#include "FlangerEffect.h"
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
|
||||
#include "FlangerControlsDialog.h"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "embed.h"
|
||||
#include "FlangerControls.h"
|
||||
#include "LedCheckBox.h"
|
||||
#include "TempoSyncKnob.h"
|
||||
|
||||
#include <QBoxLayout>
|
||||
|
||||
namespace lmms::gui
|
||||
{
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#ifndef LMMS_FREEBOY_H
|
||||
#define LMMS_FREEBOY_H
|
||||
|
||||
#include <Blip_Buffer.h>
|
||||
|
||||
#include "AutomatableModel.h"
|
||||
#include "Instrument.h"
|
||||
@@ -36,7 +35,7 @@
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class NotePlayHandle;
|
||||
class NotePlayHandle; // IWYU pragma: keep
|
||||
|
||||
|
||||
namespace gui
|
||||
|
||||
@@ -22,11 +22,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "embed.h"
|
||||
#include "ComboBox.h"
|
||||
#include "GranularPitchShifterControlDialog.h"
|
||||
#include "GranularPitchShifterControls.h"
|
||||
#include "embed.h"
|
||||
#include "LcdFloatSpinBox.h"
|
||||
#include "Knob.h"
|
||||
#include "LcdFloatSpinBox.h"
|
||||
#include "MainWindow.h"
|
||||
#include "GuiApplication.h"
|
||||
#include "PixmapButton.h"
|
||||
|
||||
|
||||
@@ -28,21 +28,15 @@
|
||||
#include "EffectControlDialog.h"
|
||||
|
||||
#include <QTextEdit>
|
||||
#include "ComboBox.h"
|
||||
#include "GuiApplication.h"
|
||||
#include "MainWindow.h"
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class GranularPitchShifterControls;
|
||||
class FloatModel;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
class Knob;
|
||||
|
||||
class GranularPitchShifterControlDialog : public EffectControlDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <QDomElement>
|
||||
|
||||
#include "GranularPitchShifterControls.h"
|
||||
#include "GranularPitchShifterEffect.h"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef LMMS_GRANULAR_PITCH_SHIFTER_CONTROL_DIALOG_H
|
||||
#define LMMS_GRANULAR_PITCH_SHIFTER_CONTROL_DIALOG_H
|
||||
|
||||
#include "ComboBoxModel.h"
|
||||
#include "EffectControls.h"
|
||||
#include "GranularPitchShifterControlDialog.h"
|
||||
|
||||
@@ -33,11 +34,6 @@ namespace lmms
|
||||
|
||||
class GranularPitchShifterEffect;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
class GranularPitchShifterControlDialog;
|
||||
}
|
||||
|
||||
class GranularPitchShifterControls : public EffectControls
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "Effect.h"
|
||||
#include "GranularPitchShifterControls.h"
|
||||
|
||||
#include "BasicFilters.h"
|
||||
#include "interpolation.h"
|
||||
|
||||
namespace lmms
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
#ifndef LFILEMNG_H
|
||||
#define LFILEMNG_H
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <QDomDocument>
|
||||
|
||||
namespace lmms
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace lmms
|
||||
#define KICKER_PRESET_VERSION 1
|
||||
|
||||
|
||||
class NotePlayHandle;
|
||||
class NotePlayHandle; // IWYU pragma: keep
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user