refactor: put resource downloading classes in common namespace
Puts them all inside the 'ResourceDownload' namespace, so that it's a bit clearer from the outside that those belong to the same 'module'. Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
6a18079953
commit
433a802c6e
21 changed files with 156 additions and 81 deletions
|
@ -20,6 +20,8 @@
|
|||
#include "ui/pages/modplatform/ResourcePage.h"
|
||||
#include "ui/widgets/ProjectItem.h"
|
||||
|
||||
namespace ResourceDownload {
|
||||
|
||||
QHash<ResourceModel*, bool> ResourceModel::s_running_models;
|
||||
|
||||
ResourceModel::ResourceModel(ResourcePage* parent, ResourceAPI* api) : QAbstractListModel(), m_api(api), m_associated_page(parent)
|
||||
|
@ -256,3 +258,5 @@ void ResourceModel::searchRequestAborted()
|
|||
m_next_search_offset = 0;
|
||||
search();
|
||||
}
|
||||
|
||||
} // namespace ResourceDownload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue