summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--examples/networksettings/examplemodule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/networksettings/examplemodule.cpp b/examples/networksettings/examplemodule.cpp
index 703e6bd..1f64613 100644
--- a/examples/networksettings/examplemodule.cpp
+++ b/examples/networksettings/examplemodule.cpp
@@ -41,26 +41,26 @@ QWidget* VirtualModule::configure( Interface* ) {
41 return 0l; 41 return 0l;
42} 42}
43 43
44QWidget* VirtualModule::information( Interface* iface ) { 44QWidget* VirtualModule::information( Interface* iface ) {
45 return new InterfaceInformationImp(0, "Interface info", iface ); 45 return new InterfaceInformationImp(0, "Interface info", iface );
46} 46}
47 47
48QList<Interface> VirtualModule::getInterfaces() { 48QList<Interface> VirtualModule::getInterfaces() {
49 return m_interfaces; 49 return m_interfaces;
50} 50}
51 51
52void VirtualModule::possibleNewInterfaces( QMap<QString, QString>& map) { 52void VirtualModule::possibleNewInterfaces( QMap<QString, QString>& map) {
53 map.insert( QObject::tr("VPN PPTP"), 53 map.insert( ::QObject::tr("VPN PPTP"),
54 QObject::tr("Add new Point to Point Tunnel Protocol connection" ) ); 54 ::QObject::tr("Add new Point to Point Tunnel Protocol connection" ) );
55} 55}
56 56
57 57
58Interface* VirtualModule::addNewInterface( const QString& ) { 58Interface* VirtualModule::addNewInterface( const QString& ) {
59 /* check the str if we support more interfaces */ 59 /* check the str if we support more interfaces */
60/* 60/*
61 Interface* iface = new VirtualInterface( 0 ); 61 Interface* iface = new VirtualInterface( 0 );
62 iface->setModuleOwner( this ); 62 iface->setModuleOwner( this );
63 return iface;*/ 63 return iface;*/
64 64
65// if we would support saving interfaces we could add 65// if we would support saving interfaces we could add
66// them here 66// them here