Diffstat (limited to 'noncore/settings/networksettings/interfaces') (more/less context) (ignore whitespace changes)
3 files changed, 27 insertions, 27 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.cpp b/noncore/settings/networksettings/interfaces/interface.cpp index 69b55d1..b00b899 100644 --- a/noncore/settings/networksettings/interfaces/interface.cpp +++ b/noncore/settings/networksettings/interfaces/interface.cpp @@ -76,3 +76,3 @@ void Interface::start(){ int ret = system(QString("%1 %2 up").arg(IFCONFIG).arg(this->name()).latin1()); - // See if it was successfull... + // See if it was successful... if(ret != 0){ @@ -84,3 +84,3 @@ void Interface::start(){ refresh(); - emit (updateMessage("Start successfull")); + emit (updateMessage("Start successful")); } @@ -105,3 +105,3 @@ void Interface::stop(){ refresh(); - emit (updateMessage("Stop successfull")); + emit (updateMessage("Stop successful")); } @@ -119,3 +119,3 @@ void Interface::restart(){ * First call ifconfig, then check the dhcp-info file - * @return bool true if successfull. + * @return bool true if successful. */ diff --git a/noncore/settings/networksettings/interfaces/interfaces.cpp b/noncore/settings/networksettings/interfaces/interfaces.cpp index 436e449..6b161ae 100644 --- a/noncore/settings/networksettings/interfaces/interfaces.cpp +++ b/noncore/settings/networksettings/interfaces/interfaces.cpp @@ -46,3 +46,3 @@ Interfaces::Interfaces(QString useInterfacesFile){ /** - * Get a list of all interfaces in the interface file. Usefull for + * Get a list of all interfaces in the interface file. Useful for * hardware that is not currently connected such as an 802.11b card @@ -128,3 +128,3 @@ bool Interfaces::setAuto(const QString &interface, bool setAuto){ * removed from the interface name. - * @return bool true if it is successfull. + * @return bool true if it is successful. */ @@ -151,3 +151,3 @@ bool Interfaces::isInterfaceSet() const { * @param method for the family. see interfaces man page for family methods. - * @return true if successfull. + * @return true if successful. */ @@ -167,3 +167,3 @@ bool Interfaces::addInterface(const QString &interface, const QString &family, c * @param newInterface name of the new interface. - * @return bool true if successfull + * @return bool true if successful */ @@ -199,3 +199,3 @@ bool Interfaces::copyInterface(const QString &interface, const QString &newInter * Remove the currently selected interface and all of its options. - * @return bool if successfull or not. + * @return bool if successful or not. */ @@ -274,3 +274,3 @@ QString Interfaces::getInterfaceMethod(bool &error){ * @param newName the new name of the interface. All whitespace is removed. - * @return bool true if successfull. + * @return bool true if successful. */ @@ -294,3 +294,3 @@ bool Interfaces::setInterfaceName(const QString &newName){ * defined in the interfaces.h file. - * @return bool true if successfull. + * @return bool true if successful. */ @@ -309,3 +309,3 @@ bool Interfaces::setInterfaceFamily(const QString &newName){ * @param newName the new name of the interface - * @return bool true if successfull. + * @return bool true if successful. */ @@ -374,3 +374,3 @@ bool Interfaces::removeInterfaceOption(const QString &option, const QString &val * Removes all of the options from the currently selected interface. - * @return bool error if if successfull + * @return bool error if if successful */ @@ -385,3 +385,3 @@ bool Interfaces::removeAllInterfaceOptions(){ * removed from the interface name. - * @return bool true if it is successfull. + * @return bool true if it is successful. */ @@ -404,3 +404,3 @@ void Interfaces::addMapping(const QString &option){ * Remove the currently selected map and all of its options. - * @return bool if successfull or not. + * @return bool if successful or not. */ @@ -414,3 +414,3 @@ bool Interfaces::removeMapping(){ * @param value value to go with map - * @return bool true if it is successfull. + * @return bool true if it is successful. */ @@ -424,3 +424,3 @@ bool Interfaces::setMap(const QString &map, const QString &value){ * @param value value to go with map - * @return bool true if it is successfull. + * @return bool true if it is successful. */ @@ -433,3 +433,3 @@ bool Interfaces::removeMap(const QString &map, const QString &value){ * @param map map to get value of - * @param bool true if it is successfull. + * @param bool true if it is successful. * @return value that goes to the map @@ -443,3 +443,3 @@ QString Interfaces::getMap(const QString &map, bool &error){ * @param argument the script name. - * @return true if successfull. + * @return true if successful. */ @@ -464,3 +464,3 @@ QString Interfaces::getScript(bool &error){ * @param option string that must be in the stanza's main line. - * @param interator interator to place at location of stanza if successfull. + * @param interator interator to place at location of stanza if successful. * @return bool true if the stanza is found. @@ -502,3 +502,3 @@ bool Interfaces::setStanza(const QString &stanza, const QString &option, QString * @param option the option to use when setting value. - * @return bool true if successfull, false otherwise. + * @return bool true if successful, false otherwise. */ @@ -556,3 +556,3 @@ bool Interfaces::setOption(const QStringList::Iterator &start, const QString &op * @param stanza the stanza to remove - * @return bool true if successfull. + * @return bool true if successful. */ @@ -569,3 +569,3 @@ bool Interfaces::removeStanza(QStringList::Iterator &stanza){ * @param option the option to remove - * @return bool true if successfull, false otherwise. + * @return bool true if successful, false otherwise. */ @@ -597,3 +597,3 @@ bool Interfaces::removeOption(const QStringList::Iterator &start, const QString * @param option the option to use when setting value. - * @return bool true if successfull, false otherwise. + * @return bool true if successful, false otherwise. */ @@ -624,3 +624,3 @@ bool Interfaces::removeOption(const QStringList::Iterator &start, const QString * @param start the start of the stanza - * @return bool true if successfull, false otherwise. + * @return bool true if successful, false otherwise. */ @@ -682,3 +682,3 @@ QString Interfaces::getOption(const QStringList::Iterator &start, const QString * Removes any excess blank lines over 1 line long. - * @return bool true if successfull, false if not. + * @return bool true if successful, false if not. */ diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp index e844d8a..78466d0 100644 --- a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp +++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp @@ -85,3 +85,3 @@ bool InterfaceSetupImp::saveChanges(){ * Save the settings for the current Interface. - * @return bool true if successfull, false otherwise + * @return bool true if successful, false otherwise */ |