Some cleanup

* removed audio utils from blackmiscfreefunctions (we wanna give it up)
* comments
* formatting
This commit is contained in:
Klaus Basan
2015-12-19 03:33:46 +01:00
parent 3ac32fa58e
commit 8aa449bc13
11 changed files with 67 additions and 46 deletions

View File

@@ -8,6 +8,7 @@
*/
#include "blackcore/contextaudio.h"
#include "blackmisc/audio/audioutils.h"
#include "audiovolumecomponent.h"
#include "ui_audiovolumecomponent.h"

View File

@@ -22,7 +22,6 @@ namespace BlackGui
{
namespace Components
{
//! Audio volume, mixer
class BLACKGUI_EXPORT CAudioVolumeComponent :
public QFrame,
@@ -62,9 +61,7 @@ namespace BlackGui
private:
QScopedPointer<Ui::CAudioVolumeComponent> ui;
};
} // namespace
} // namespace

View File

@@ -14,6 +14,7 @@
#include "blackcore/contextapplication.h"
#include "blackcore/contextaudio.h"
#include "blackcore/simulator.h"
#include "blackmisc/audio/audioutils.h"
#include "blackmisc/project.h"
#include "blackmisc/icons.h"

View File

@@ -53,11 +53,11 @@ namespace BlackGui
bool m_enabled = true;
};
//! Model filter interface for those who can generate such a filter (e.g. a widget dialog)
//! Model filter interface for those who can generate such a filter (e.g. a widget or dialog)
template<class ContainerType> class IModelFilterProvider
{
public:
//! Get the filter
//! Get the filter, this is the filter itself, not its widget or dialog
virtual std::unique_ptr<IModelFilter<ContainerType>> createModelFilter() const = 0;
};