Commit b391d947 authored by Andreas Traczyk's avatar Andreas Traczyk

misc: use QAbstractListModel in list model base class and rename

Inlcuding QAbstractListModel inlcudes qabstractitemmodel.h, but
this is not certain.

Change-Id: I5affb3462a09f4f6ea93be2f979144608d015969
parent 2539eb71
......@@ -110,7 +110,7 @@ set(COMMON_HEADERS
${SRC_DIR}/videoformatresolutionmodel.h
${SRC_DIR}/audiomanagerlistmodel.h
${SRC_DIR}/qmlregister.h
${SRC_DIR}/abstractitemmodelbase.h
${SRC_DIR}/abstractlistmodelbase.h
${SRC_DIR}/quickimageproviderbase.h
${SRC_DIR}/qtutils.h
${SRC_DIR}/utilsadapter.h
......@@ -480,4 +480,4 @@ else()
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
endif()
\ No newline at end of file
endif()
......@@ -18,7 +18,7 @@
#pragma once
#include <QAbstractItemModel>
#include <QAbstractListModel>
#include "lrcinstance.h"
......
......@@ -19,7 +19,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class AccountListModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class AccountsToMigrateListModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class AudioDeviceModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class AudioManagerListModel : public AbstractListModelBase
{
......
......@@ -19,7 +19,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class BannedListModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class DeviceItemListModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class MediaCodecListModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class ModeratorListModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class LRCInstance;
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class LRCInstance;
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
#include "api/pluginmodel.h"
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class LRCInstance;
......
......@@ -20,7 +20,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
using namespace lrc::api;
class LRCInstance;
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class VideoFormatFpsModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class VideoFormatResolutionModel : public AbstractListModelBase
{
......
......@@ -18,7 +18,7 @@
#pragma once
#include "abstractitemmodelbase.h"
#include "abstractlistmodelbase.h"
class VideoInputDeviceModel : public AbstractListModelBase
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment