Commit 777fee1f authored by Michael Bohlender's avatar Michael Bohlender

remove obsolete scaffold classes

parent 3a800f28
......@@ -4,13 +4,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
set(mail_SRCS
mailplugin.cpp
folderlist.cpp
message.cpp
composer.cpp
error.cpp
receivermodel.cpp
messagelist.cpp
messagelistmodel.cpp
)
INCLUDE_DIRECTORIES(
......
/*
Copyright 2014 Michael Bohlender michael.bohlender@kdemail.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "folderlist.h"
FolderList::FolderList(QObject *parent) : QObject(parent)
{
}
/*
Copyright 2014 Michael Bohlender michael.bohlender@kdemail.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FOLDERLIST_H
#define FOLDERLIST_H
#include <QObject>
class FolderList : public QObject
{
Q_OBJECT
public:
explicit FolderList( QObject *parent = 0 );
};
#endif //FOLDERLIST_H
\ No newline at end of file
......@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "mailplugin.h"
#include "folderlist.h"
#include "message.h"
#include "composer.h"
#include "error.h"
......@@ -32,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void MailPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == "org.kde.pim.mail");
qmlRegisterType<FolderList>(uri, 0, 1, "FolderList");
qmlRegisterType<Message>(uri, 0, 1, "Message");
qmlRegisterType<Composer>(uri, 0, 1, "Composer");
qmlRegisterType<Error>(uri, 0, 1, "Error");
......
/*
Copyright 2014 Michael Bohlender michael.bohlender@kdemail.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "messagelist.h"
MessageList::MessageList(QObject *parent) : QObject(parent)
{
}
/*
Copyright 2014 Michael Bohlender michael.bohlender@kdemail.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MESSAGELIST_H
#define MESSAGELIST_H
#include <QObject>
class MessageList : public QObject
{
Q_OBJECT
public:
explicit MessageList( QObject *parent = 0 );
};
#endif //MESSAGELIST_H
\ No newline at end of file
/*
Copyright 2014 Michael Bohlender michael.bohlender@kdemail.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "messagelistmodel.h"
#include <Akonadi/Collection>
MessageListModel::MessageListModel(QObject* parent): QAbstractListModel(parent)
{
}
void MessageListModel::loadCollection(const QUrl& collectionUrl)
{
}
/*
Copyright 2014 Michael Bohlender michael.bohlender@kdemail.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MESSAGELISTMODEL_H
#define MESSAGELISTMODEL_H
#include <QObject>
#include <QUrl>
#include <QAbstractListModel>
class MessageListModel : public QAbstractListModel
{
Q_OBJECT
public:
explicit MessageListModel(QObject *parent = 0);
public slots:
void loadCollection(const QUrl &collectionUrl);
};
#endif
\ No newline at end of file
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