¨New files.

This commit is contained in:
Martin Rotter 2013-11-12 20:24:19 +01:00
parent 7e8823b24f
commit 2cb36faa53
5 changed files with 53 additions and 0 deletions

View File

@ -212,6 +212,8 @@ set(APP_SOURCES
src/core/databasefactory.cpp
src/core/messagesmodel.cpp
src/core/messagesproxymodel.cpp
src/core/feedsmodel.cpp
src/core/feedsproxymodel.cpp
# Basic application sources.
src/main.cpp
@ -257,6 +259,8 @@ set(APP_HEADERS
src/core/databasefactory.h
src/core/messagesmodel.h
src/core/messagesproxymodel.h
src/core/feedsmodel.h
src/core/feedsproxymodel.h
)
# Add form files.

5
src/core/feedsmodel.cpp Normal file
View File

@ -0,0 +1,5 @@
#include "core/feedsmodel.h"
FeedsModel::FeedsModel(QObject *parent) : QAbstractItemModel(parent) {
}

19
src/core/feedsmodel.h Normal file
View 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

View File

@ -0,0 +1,6 @@
#include "core/feedsproxymodel.h"
FeedsProxyModel::FeedsProxyModel(QObject *parent)
: QSortFilterProxyModel(parent) {
}

View 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