Skip to content

Commit

Permalink
[service] Add NetworkService::remove() method
Browse files Browse the repository at this point in the history
  • Loading branch information
rojkov committed Dec 4, 2012
1 parent ae564a6 commit c5a7a40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libconnman-qt/networkservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ void NetworkService::requestDisconnect()
m_service->Disconnect();
}

void NetworkService::remove()
{
m_service->Remove();
}

void NetworkService::setAutoConnect(const bool autoconnect)
{
// QDBusPendingReply<void> reply =
Expand Down
1 change: 1 addition & 0 deletions libconnman-qt/networkservice.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class NetworkService : public QObject
public slots:
void requestConnect();
void requestDisconnect();
void remove();

void setAutoConnect(const bool autoconnect);
void setIpv4Config(const QVariantMap &ipv4);
Expand Down

0 comments on commit c5a7a40

Please sign in to comment.