Move stickermodel into the models folder

This commit is contained in:
James Graham
2023-05-07 13:47:57 +01:00
parent 77d8ec04ca
commit 3d0c0e3ed5
4 changed files with 4 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ add_library(neochat STATIC
models/searchmodel.cpp models/searchmodel.cpp
texthandler.cpp texthandler.cpp
logger.cpp logger.cpp
stickermodel.cpp models/stickermodel.cpp
models/imagepacksmodel.cpp models/imagepacksmodel.cpp
events/imagepackevent.cpp events/imagepackevent.cpp
events/joinrulesevent.cpp events/joinrulesevent.cpp

View File

@@ -74,9 +74,9 @@
#include "pollhandler.h" #include "pollhandler.h"
#endif #endif
#include "models/statefiltermodel.h" #include "models/statefiltermodel.h"
#include "models/stickermodel.h"
#include "roommanager.h" #include "roommanager.h"
#include "spacehierarchycache.h" #include "spacehierarchycache.h"
#include "stickermodel.h"
#include "urlhelper.h" #include "urlhelper.h"
#include "windowcontroller.h" #include "windowcontroller.h"
#ifdef QUOTIENT_07 #ifdef QUOTIENT_07

View File

@@ -9,7 +9,8 @@ using namespace Quotient;
StickerModel::StickerModel(QObject *parent) StickerModel::StickerModel(QObject *parent)
: QAbstractListModel(parent) : QAbstractListModel(parent)
{} {
}
int StickerModel::rowCount(const QModelIndex &index) const int StickerModel::rowCount(const QModelIndex &index) const
{ {