author | wimpie <wimpie> | 2004-04-08 01:25:02 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-04-08 01:25:02 (UTC) |
commit | 2ab70064958916733daf1b5f095cef562b2e9163 (patch) (side-by-side diff) | |
tree | 445f054fee55b678dab07e10bd5571b4651586d8 /noncore/settings/networksettings2/nsdata.cpp | |
parent | 93ead8f65765ec7af4c14efeb2758c1cf7bcbd89 (diff) | |
download | opie-2ab70064958916733daf1b5f095cef562b2e9163.zip opie-2ab70064958916733daf1b5f095cef562b2e9163.tar.gz opie-2ab70064958916733daf1b5f095cef562b2e9163.tar.bz2 |
Link with libopiecore2
added linke to btmgr
Diffstat (limited to 'noncore/settings/networksettings2/nsdata.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/nsdata.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/settings/networksettings2/nsdata.cpp b/noncore/settings/networksettings2/nsdata.cpp index 64b83f7..bb37f10 100644 --- a/noncore/settings/networksettings2/nsdata.cpp +++ b/noncore/settings/networksettings2/nsdata.cpp @@ -293,25 +293,25 @@ QString NetworkSettingsData::generateSettings( bool ForceReq ) { // generate files proper to each netnodeinstance // { Name2Instance_t & NNIs = NSResources->netNodeInstances(); for( QDictIterator<ANetNodeInstance> NNIIt(NNIs); NNIIt.current(); ++NNIIt ){ // for all nodes find those that are modified NNI = NNIIt.current(); if( ForceIt || NNI->isModified() ) { - if( ! NNI->nodeClass()->generateProperFilesFor( NNI ) ) { + if( NNI->nodeClass()->generateProperFilesFor( NNI ) ) { // problem generating S = qApp->translate( "NetworkSettings", "<p>Cannot generate files proper to \"%1\"</p>" ). arg(NNI->nodeClass()->name()) ; return S; } } } } // // generate all system files @@ -485,34 +485,34 @@ bool NetworkSettingsData::regenerate( void ) { QString NetworkSettingsData::generateSystemFileNode( SystemFile &SF, AsDevice * CurDev, ANetNodeInstance * DevNNI, long DevInstNr ) { QString S=""; ANetNode * CurDevNN = DevNNI->nodeClass(); Name2Connection_t & M = NSResources->connections(); if( SF.preDeviceSection( CurDevNN ) ) { S = qApp->translate( "NetworkSettings", - "<p>Error in preDeviceSection for file \"%1\" and nodetype \"%2\"</p>" ). + "<p>Error in \"Pre-Device Part\" for file \"%1\" and nodetype \"%2\"</p>" ). arg( SF.name() ). arg( CurDevNN->name() ); return S; } if( CurDevNN->hasDataFor( SF.name() ) ) { if( CurDevNN->generateDeviceDataForCommonFile( SF, DevInstNr ) ) { S = qApp->translate( "NetworkSettings", - "<p>Error in node Device part for file \"%1\" and node \"%2\"</p>" ). + "<p>Error in \"Device Part\" for file \"%1\" and node \"%2\"</p>" ). arg( SF.name() ). arg( CurDevNN->name() ); return S; } } // now generate profile specific data for all // connections working on a device of the current // netnode type for( QDictIterator<NodeCollection> ncit(M); ncit.current(); ++ncit ) { @@ -528,55 +528,55 @@ QString NetworkSettingsData::generateSystemFileNode( continue; } } else { if( Dev ) { // other continue; } } // generate 'entry' if( SF.preNodeSection( DevNNI, DevInstNr ) ) { S = qApp->translate( "NetworkSettings", - "<p>Error in preNodeSection for file \"%1\" and node \"%2\"</p>" ). + "<p>Error in \"Pre-Node Part\" for file \"%1\" and node \"%2\"</p>" ). arg( SF.name() ). arg( CurDevNN->name() ); return S; } // ask all nodes in connection for( QListIterator<ANetNodeInstance> cncit(*NC); cncit.current(); ++cncit ) { ANetNodeInstance * NNI = cncit.current(); if( NNI->hasDataFor( SF.name() ) ) { if( NNI->generateDataForCommonFile(SF,DevInstNr) ) { S = qApp->translate( "NetworkSettings", - "<p>Error in node part for file \"%1\" and node \"%2\"</p>" ). + "<p>Error in \"Node Part\" for file \"%1\" and node \"%2\"</p>" ). arg( SF.name() ). arg( NNI->nodeClass()->name() ); return S; } } } if( SF.postNodeSection( DevNNI, DevInstNr ) ) { S = qApp->translate( "NetworkSettings", - "<p>Error in postNodeSection for file \"%1\" and node \"%2\"</p>" ). + "<p>Error in \"Post-Node Part\" for file \"%1\" and node \"%2\"</p>" ). arg( SF.name() ). arg( CurDevNN->name() ); return S; } SF << endl; } if( SF.postDeviceSection( CurDevNN ) ) { S = qApp->translate( "NetworkSettings", - "<p>Error in postDeviceSection for file \"%1\" and node \"%2\"</p>" ). + "<p>Error in \"Post-Device Part\" for file \"%1\" and node \"%2\"</p>" ). arg( SF.name() ). arg( CurDevNN->name() ); return S; } return S; } |