diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-17 10:33:37 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-17 10:33:37 +0200 |
commit | a36b20f60a33b04ec69b65cfce0dd0059ff9e382 (patch) | |
tree | 79f96c4c4eaa6448dbb8ea52e77d63ed4f7405ba /plugingui/drumkitframecontent.cc | |
parent | 33fbeeb2ec7c308fc48fc7ef0df01cd4a3a43f0c (diff) |
Fix multiple definitions of the class File (bad naming anyway).
Diffstat (limited to 'plugingui/drumkitframecontent.cc')
-rw-r--r-- | plugingui/drumkitframecontent.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/plugingui/drumkitframecontent.cc b/plugingui/drumkitframecontent.cc index a2d7765..c2e35b6 100644 --- a/plugingui/drumkitframecontent.cc +++ b/plugingui/drumkitframecontent.cc @@ -31,7 +31,7 @@ namespace GUI { -File::File(Widget* parent) +BrowseFile::BrowseFile(Widget* parent) : Widget(parent) { layout.setResizeChildren(false); @@ -43,7 +43,7 @@ File::File(Widget* parent) browse_button.setText("Browse..."); } -void File::resize(std::size_t width, std::size_t height) +void BrowseFile::resize(std::size_t width, std::size_t height) { Widget::resize(width, height); @@ -56,27 +56,28 @@ void File::resize(std::size_t width, std::size_t height) layout.layout(); } -std::size_t File::getLineEditWidth() +std::size_t BrowseFile::getLineEditWidth() { return lineedit_width; } -std::size_t File::getButtonWidth() +std::size_t BrowseFile::getButtonWidth() { return button_width; } -Button& File::getBrowseButton() +Button& BrowseFile::getBrowseButton() { return browse_button; } -LineEdit& File::getLineEdit() +LineEdit& BrowseFile::getLineEdit() { return lineedit; } -DrumkitframeContent::DrumkitframeContent(Widget* parent) : Widget(parent) +DrumkitframeContent::DrumkitframeContent(Widget* parent) + : Widget(parent) { layout.setHAlignment(HAlignment::left); |