Lines 108-114
Link Here
|
108 |
kdDebug() << "Creating Localhost" << endl; |
108 |
kdDebug() << "Creating Localhost" << endl; |
109 |
KMFTarget * localhost = new KMFTarget( m_myNetwork, "My Local Comuter", i18n("My Local Comuter"), this ); |
109 |
KMFTarget * localhost = new KMFTarget( m_myNetwork, "My Local Comuter", i18n("My Local Comuter"), this ); |
110 |
localhost->setGuiName( i18n("My Local Computer") ); |
110 |
localhost->setGuiName( i18n("My Local Computer") ); |
111 |
localhost->setDescription( i18n("Local copmuter running KMyFirewall") ); |
111 |
localhost->setDescription( i18n("Local computer running KMyFirewall") ); |
112 |
localhost->setAddress( Constants::Localhost_IP ); |
112 |
localhost->setAddress( Constants::Localhost_IP ); |
113 |
localhost->setName( Constants::Localhost_Name ); |
113 |
localhost->setName( Constants::Localhost_Name ); |
114 |
localhost->setReadOnly( true ); |
114 |
localhost->setReadOnly( true ); |
Lines 126-132
Link Here
|
126 |
m_err = new KMFError; |
126 |
m_err = new KMFError; |
127 |
// setName( i18n("Unamed Ruleset") ); |
127 |
// setName( i18n("Unamed Ruleset") ); |
128 |
m_url.setFileName( i18n( "Untitled" ) ); |
128 |
m_url.setFileName( i18n( "Untitled" ) ); |
129 |
m_myNetwork->setGuiName( i18n("Gloabl Network") ); |
129 |
m_myNetwork->setGuiName( i18n("Global Network") ); |
130 |
m_myNetwork->setDescription( i18n("This is the global zone that contains all valid IP addresses.") ); |
130 |
m_myNetwork->setDescription( i18n("This is the global zone that contains all valid IP addresses.") ); |
131 |
m_myNetwork->setZone( IPAddress( 0,0,0,0 ), 0 ); |
131 |
m_myNetwork->setZone( IPAddress( 0,0,0,0 ), 0 ); |
132 |
m_myNetwork->setReadOnly( true ); |
132 |
m_myNetwork->setReadOnly( true ); |