~ubuntu-branches/ubuntu/jaunty/plasma-widget-network-manager/jaunty-updates

« back to all changes in this revision

Viewing changes to libs/ui/settinginterface.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2009-02-10 16:33:42 UTC
  • Revision ID: james.westby@ubuntu.com-20090210163342-y22tcldf0fuyqqm9
Tags: upstream-0.0+svn924363
ImportĀ upstreamĀ versionĀ 0.0+svn924363

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright 2008 Helmut Schaa <helmut.schaa@googlemail.com>
 
3
Copyright 2009 Will Stephenson <wstephenson@kde.org>
 
4
 
 
5
This program is free software; you can redistribute it and/or
 
6
modify it under the terms of the GNU General Public License as
 
7
published by the Free Software Foundation; either version 2 of
 
8
the License or (at your option) version 3 or any later version
 
9
accepted by the membership of KDE e.V. (or its successor approved
 
10
by the membership of KDE e.V.), which shall act as a proxy 
 
11
defined in Section 14 of version 3 of the license.
 
12
 
 
13
This program is distributed in the hope that it will be useful,
 
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
GNU General Public License for more details.
 
17
 
 
18
You should have received a copy of the GNU General Public License
 
19
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
*/
 
21
 
 
22
#include "settinginterface.h"
 
23
 
 
24
#include <KDebug>
 
25
 
 
26
#include "connection.h"
 
27
 
 
28
class SettingInterface::Private
 
29
{
 
30
public:
 
31
    Knm::Connection * connection;
 
32
};
 
33
 
 
34
 
 
35
SettingInterface::SettingInterface(Knm::Connection * conn) : d(new Private)
 
36
{
 
37
    d->connection = conn;
 
38
}
 
39
 
 
40
SettingInterface::~SettingInterface()
 
41
{
 
42
    delete d;
 
43
}
 
44
 
 
45
Knm::Connection * SettingInterface::connection() const
 
46
{
 
47
    return d->connection;
 
48
}
 
49
 
 
50
void SettingInterface::readSecrets()
 
51
{
 
52
    //default impl does nothing
 
53
}
 
54
 
 
55
bool SettingInterface::validate() const
 
56
{
 
57
    return true;
 
58
}
 
59
 
 
60
// vim: sw=4 sts=4 et tw=100