Skip to content

Commit

Permalink
Remove qml NetworkingModel
Browse files Browse the repository at this point in the history
"this class is going to be deprecated" for nearly five years should be
deprecated already.
  • Loading branch information
pvuorela committed Jun 28, 2017
1 parent ec09ded commit bb6f1e2
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 320 deletions.
5 changes: 0 additions & 5 deletions README.rst
Expand Up @@ -13,11 +13,6 @@ services of a given technology.

`UserAgent` is a QML component providing `net.connman.Agent` D-Bus interface.

The class `NetworkingModel` is a QML component adapting a static instance of
`NetworkManager`. Also it provides the D-Bus interface `net.connman.Agent`.

.. warning:: `NetworkingModel` is going to be deprecated.

These classes are written to be re-usable in the qml environment, by setting the
path property to that of an appropriate dbus path, will re-initialize the object to be used for the path given.

Expand Down
211 changes: 0 additions & 211 deletions plugin/networkingmodel.cpp

This file was deleted.

98 changes: 0 additions & 98 deletions plugin/networkingmodel.h

This file was deleted.

2 changes: 0 additions & 2 deletions plugin/plugin.cpp
Expand Up @@ -15,7 +15,6 @@

#include <networkservice.h>
#include <clockmodel.h>
#include "networkingmodel.h"
#include "technologymodel.h"
#include "savedservicemodel.h"
#include "useragent.h"
Expand All @@ -38,7 +37,6 @@ void ConnmanPlugin::registerTypes(const char *uri)
// @uri MeeGo.Connman

qmlRegisterType<NetworkService>(uri,0,2,"NetworkService");
qmlRegisterType<NetworkingModel>(uri,0,2,"NetworkingModel");
qmlRegisterType<TechnologyModel>(uri,0,2,"TechnologyModel");
qmlRegisterType<SavedServiceModel>(uri,0,2,"SavedServiceModel");
qmlRegisterType<UserAgent>(uri,0,2,"UserAgent");
Expand Down
4 changes: 2 additions & 2 deletions plugin/plugin.pro
Expand Up @@ -2,8 +2,8 @@ TARGET=ConnmanQtDeclarative
TEMPLATE = lib
QT += dbus
CONFIG += plugin
SOURCES = plugin.cpp networkingmodel.cpp technologymodel.cpp savedservicemodel.cpp
HEADERS = networkingmodel.h technologymodel.h savedservicemodel.h
SOURCES = plugin.cpp technologymodel.cpp savedservicemodel.cpp
HEADERS = technologymodel.h savedservicemodel.h
INCLUDEPATH += ../libconnman-qt
LIBS += -L../libconnman-qt
QT -= gui
Expand Down
3 changes: 1 addition & 2 deletions plugin/savedservicemodel.h
Expand Up @@ -6,8 +6,7 @@
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*
* WARNING: this class is experimetal and is about to be refactored in order
* to deprecate NetworkingModel.
* WARNING: this class is experimental and is about to be refactored
*/

#ifndef SAVEDSERVICEMODEL_H
Expand Down

0 comments on commit bb6f1e2

Please sign in to comment.