mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 08:39:41 +01:00
¨New files.
This commit is contained in:
parent
7e8823b24f
commit
2cb36faa53
@ -212,6 +212,8 @@ set(APP_SOURCES
|
|||||||
src/core/databasefactory.cpp
|
src/core/databasefactory.cpp
|
||||||
src/core/messagesmodel.cpp
|
src/core/messagesmodel.cpp
|
||||||
src/core/messagesproxymodel.cpp
|
src/core/messagesproxymodel.cpp
|
||||||
|
src/core/feedsmodel.cpp
|
||||||
|
src/core/feedsproxymodel.cpp
|
||||||
|
|
||||||
# Basic application sources.
|
# Basic application sources.
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
@ -257,6 +259,8 @@ set(APP_HEADERS
|
|||||||
src/core/databasefactory.h
|
src/core/databasefactory.h
|
||||||
src/core/messagesmodel.h
|
src/core/messagesmodel.h
|
||||||
src/core/messagesproxymodel.h
|
src/core/messagesproxymodel.h
|
||||||
|
src/core/feedsmodel.h
|
||||||
|
src/core/feedsproxymodel.h
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add form files.
|
# Add form files.
|
||||||
|
5
src/core/feedsmodel.cpp
Normal file
5
src/core/feedsmodel.cpp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include "core/feedsmodel.h"
|
||||||
|
|
||||||
|
|
||||||
|
FeedsModel::FeedsModel(QObject *parent) : QAbstractItemModel(parent) {
|
||||||
|
}
|
19
src/core/feedsmodel.h
Normal file
19
src/core/feedsmodel.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#ifndef FEEDSMODEL_H
|
||||||
|
#define FEEDSMODEL_H
|
||||||
|
|
||||||
|
#include <QAbstractItemModel>
|
||||||
|
|
||||||
|
|
||||||
|
class FeedsModel : public QAbstractItemModel {
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit FeedsModel(QObject *parent = 0);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // FEEDSMODEL_H
|
6
src/core/feedsproxymodel.cpp
Normal file
6
src/core/feedsproxymodel.cpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include "core/feedsproxymodel.h"
|
||||||
|
|
||||||
|
|
||||||
|
FeedsProxyModel::FeedsProxyModel(QObject *parent)
|
||||||
|
: QSortFilterProxyModel(parent) {
|
||||||
|
}
|
19
src/core/feedsproxymodel.h
Normal file
19
src/core/feedsproxymodel.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#ifndef FEEDSPROXYMODEL_H
|
||||||
|
#define FEEDSPROXYMODEL_H
|
||||||
|
|
||||||
|
#include <QSortFilterProxyModel>
|
||||||
|
|
||||||
|
|
||||||
|
class FeedsProxyModel : public QSortFilterProxyModel {
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit FeedsProxyModel(QObject *parent = 0);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // FEEDSPROXYMODEL_H
|
Loading…
x
Reference in New Issue
Block a user