mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 05:58:00 +00:00
New code style refactor
This commit is contained in:
@@ -5,22 +5,20 @@
|
||||
#include <QComboBox>
|
||||
#include <QDialogButtonBox>
|
||||
|
||||
struct SoundMacroTemplateEntry
|
||||
{
|
||||
const char* m_name;
|
||||
size_t m_length;
|
||||
const uint32_t* m_data;
|
||||
struct SoundMacroTemplateEntry {
|
||||
const char* m_name;
|
||||
size_t m_length;
|
||||
const uint32_t* m_data;
|
||||
};
|
||||
|
||||
class NewSoundMacroDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
QLineEdit m_le;
|
||||
QComboBox m_combo;
|
||||
QDialogButtonBox m_buttonBox;
|
||||
class NewSoundMacroDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
QLineEdit m_le;
|
||||
QComboBox m_combo;
|
||||
QDialogButtonBox m_buttonBox;
|
||||
|
||||
public:
|
||||
explicit NewSoundMacroDialog(const QString& groupName, QWidget* parent = Q_NULLPTR);
|
||||
QString getName() const { return m_le.text(); }
|
||||
const SoundMacroTemplateEntry* getSelectedTemplate() const;
|
||||
explicit NewSoundMacroDialog(const QString& groupName, QWidget* parent = Q_NULLPTR);
|
||||
QString getName() const { return m_le.text(); }
|
||||
const SoundMacroTemplateEntry* getSelectedTemplate() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user