diff options
Diffstat (limited to 'src')
44 files changed, 82 insertions, 82 deletions
diff --git a/src/kvilib/core/KviCString.cpp b/src/kvilib/core/KviCString.cpp index 75d350fb6..f3db9c12f 100644 --- a/src/kvilib/core/KviCString.cpp +++ b/src/kvilib/core/KviCString.cpp @@ -811,7 +811,7 @@ int kvi_irc_vsnprintf(char * buffer, const char * fmt, kvi_va_list list, bool * continue; } } - //succesfull finish + //successful finish KVI_ASSERT(len >= 2); *p++ = '\r'; *p = '\n'; diff --git a/src/kvilib/core/KviPointerHashTable.h b/src/kvilib/core/KviPointerHashTable.h index 1c75af5aa..1d637577d 100644 --- a/src/kvilib/core/KviPointerHashTable.h +++ b/src/kvilib/core/KviPointerHashTable.h @@ -1156,7 +1156,7 @@ public: } /** - * \brief Returs the value pointed by the iterator + * \brief Returns the value pointed by the iterator * * If the iterator is not valid it returns a default constructed value * This is an alias to operator *() with just a different name. @@ -1168,7 +1168,7 @@ public: } /** - * \brief Returs the value pointed by the iterator + * \brief Returns the value pointed by the iterator * * If the iterator is not valid it returns a default constructed value * This is an alias to current() with just a different name. @@ -1180,7 +1180,7 @@ public: } /** - * \brief Returs the key pointed by the iterator + * \brief Returns the key pointed by the iterator * * If the iterator is not valid it returns a default constructed value * \return const Key & diff --git a/src/kvilib/core/KviPointerList.h b/src/kvilib/core/KviPointerList.h index 5d37cd8b4..5eff4d07c 100644 --- a/src/kvilib/core/KviPointerList.h +++ b/src/kvilib/core/KviPointerList.h @@ -41,7 +41,7 @@ * That's why we have our own fast pointer list class. * This does not depend on Qt AT ALL and has an interface similar * to the Qt<=3.x series. The pointer lists with the autodelete -* feature was great and I don't completly understand why they have +* feature was great and I don't completely understand why they have * been removed from Qt4 in favor of the value based non-autodeleting * lists... anyway: here we go :) * @@ -293,7 +293,7 @@ public: } /** - * \brief Returs the value pointed by the iterator. + * \brief Returns the value pointed by the iterator. * * If the iterator is not valid, returns NULL. * \return T * @@ -304,7 +304,7 @@ public: } /** - * \brief Returs the value pointed by the iterator. + * \brief Returns the value pointed by the iterator. * * If the iterator is not valid, returns NULL. * This is just an alias to current(). @@ -779,7 +779,7 @@ public: * * Sets the iteration pointer to the next item in the list and * returns that item (or 0 if the end of the list has been reached) - * A call to this function MUST be preceded by a _succesfull_ call + * A call to this function MUST be preceded by a _successfull_ call * to first(),last(),at() or findRef(). * \return T * */ @@ -799,7 +799,7 @@ public: * Sets the iteration pointer to the previous item in the list and * returns that item (or 0 if the beginning of the list has been * reached). - * A call to this function MUST be preceded by a _succesfull_ call + * A call to this function MUST be preceded by a _successfull_ call * to first(),last(),at() or findRef() * \return T * */ diff --git a/src/kvilib/core/KviQString.h b/src/kvilib/core/KviQString.h index fce342a20..facc7a57b 100644 --- a/src/kvilib/core/KviQString.h +++ b/src/kvilib/core/KviQString.h @@ -190,7 +190,7 @@ namespace KviQString * return > 0 ---> str1 > str2 * \param sz1 The first string * \param sz2 The second string - * \param bNonAlphaGreater Wheter to check if strings are not alphabetics + * \param bNonAlphaGreater Whether to check if strings are not alphabetics * \return int */ extern KVILIB_API int cmpCI(const QString & sz1, const QString & sz2, bool bNonAlphaGreater = false); @@ -232,9 +232,9 @@ namespace KviQString * \brief Matches two string containging wildcards (* and ?) or regular expressions * \param szExp The regular expression to match * \param szStr The source string - * \param bIsRegExp Wheter to use a wildcard or regexp matching - * \param bExact Wheter to match the whole string - * \param bCs Wheter to match with case sensitive + * \param bIsRegExp Whether to use a wildcard or regexp matching + * \param bExact Whether to match the whole string + * \param bCs Whether to match with case sensitive * \return bool */ extern KVILIB_API bool matchString(const QString & szExp, const QString & szStr, bool bIsRegExp = false, bool bExact = false, bool bCs = false); @@ -326,7 +326,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param c The char to search for - * \param bIncluded Wheter to include the given char + * \param bIncluded Whether to include the given char * \return void */ extern KVILIB_API void cutFromFirst(QString & szSrc, const QChar & c, bool bIncluded = true); @@ -337,7 +337,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param szFind The string to search for - * \param bIncluded Wheter to include the given string + * \param bIncluded Whether to include the given string * \return void */ extern KVILIB_API void cutFromFirst(QString & szSrc, const QString & szFind, bool bIncluded = true); @@ -348,7 +348,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param c The char to search for - * \param bIncluded Wheter to include the given char + * \param bIncluded Whether to include the given char * \return void */ extern KVILIB_API void cutFromLast(QString & szSrc, const QChar & c, bool bIncluded = true); @@ -359,7 +359,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param szFind The string to search for - * \param bIncluded Wheter to include the given string + * \param bIncluded Whether to include the given string * \return void */ extern KVILIB_API void cutFromLast(QString & szSrc, const QString & szFind, bool bIncluded = true); @@ -370,8 +370,8 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param c The char to search for - * \param bIncluded Wheter to include the given char in the cut - * \param bClearIfNotFound Wheter to cut the whole string if the char is not found + * \param bIncluded Whether to include the given char in the cut + * \param bClearIfNotFound Whether to cut the whole string if the char is not found * \return void */ extern KVILIB_API void cutToFirst(QString & szSrc, const QChar & c, bool bIncluded = true, bool bClearIfNotFound = false); @@ -382,8 +382,8 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param szFind The string to search for - * \param bIncluded Wheter to include the given string in the cut - * \param bClearIfNotFound Wheter to cut the whole string if the string is not found + * \param bIncluded Whether to include the given string in the cut + * \param bClearIfNotFound Whether to cut the whole string if the string is not found * \return void */ extern KVILIB_API void cutToFirst(QString & szSrc, const QString & szFind, bool bIncluded = true, bool bClearIfNotFound = false); @@ -394,8 +394,8 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param c The char to search for - * \param bIncluded Wheter to include the given char in the cut - * \param bClearIfNotFound Wheter to cut the whole string if the char is not found + * \param bIncluded Whether to include the given char in the cut + * \param bClearIfNotFound Whether to cut the whole string if the char is not found * \return void */ extern KVILIB_API void cutToLast(QString & szSrc, const QChar & c, bool bIncluded = true, bool bClearIfNotFound = false); @@ -406,8 +406,8 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param szFind The string to search for - * \param bIncluded Wheter to include the given string in the cut - * \param bClearIfNotFound Wheter to cut the whole string if the string is not found + * \param bIncluded Whether to include the given string in the cut + * \param bClearIfNotFound Whether to cut the whole string if the string is not found * \return void */ extern KVILIB_API void cutToLast(QString & szSrc, const QString & szFind, bool bIncluded = true, bool bClearIfNotFound = false); @@ -418,7 +418,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param c The char to search for - * \param bIncluded Wheter to include the given char in the returned string + * \param bIncluded Whether to include the given char in the returned string * \param bReturnFullStringIfNotFound True if we want the function to return the whole * string if the char isn't found and false if we want the function to return an empty * string in this case. @@ -432,7 +432,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param szFind The string to search for - * \param bIncluded Wheter to include the given string in the returned string + * \param bIncluded Whether to include the given string in the returned string * \param bReturnFullStringIfNotFound True if we want the function to return the whole * string if the string isn't found and false if we want the function to return an empty * string in this case. @@ -446,7 +446,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param c The char to search for - * \param bIncluded Wheter to include the given char in the returned string + * \param bIncluded Whether to include the given char in the returned string * \param bReturnFullStringIfNotFound True if we want the function to return the whole * string if the char isn't found and false if we want the function to return an empty * string in this case. @@ -460,7 +460,7 @@ namespace KviQString * If the char is not found, the string is returned as it is. * \param szSrc The source string * \param szFind The string to search for - * \param bIncluded Wheter to include the given string in the returned string + * \param bIncluded Whether to include the given string in the returned string * \param bReturnFullStringIfNotFound True if we want the function to return the whole * string if the string isn't found and false if we want the function to return an empty * string in this case. diff --git a/src/kvilib/ext/KviDebugContext.h b/src/kvilib/ext/KviDebugContext.h index 27daf05a3..3da9a6a83 100644 --- a/src/kvilib/ext/KviDebugContext.h +++ b/src/kvilib/ext/KviDebugContext.h @@ -45,7 +45,7 @@ public: /** * \brief Creates an instance of KviDebugContext * \param pcContext The format list argument - * \param ... The succeding arguments + * \param ... The succeeding arguments * \return KviDebugContext */ KviDebugContext(const char * pcContext, ...); @@ -62,7 +62,7 @@ public: /** * \brief * \param pcFmt The format list argument - * \param ... The succeding arguments + * \param ... The succeeding arguments * \return void */ static void trace(const char * pcFmt, ...); diff --git a/src/kvilib/irc/KviIrcServer.h b/src/kvilib/irc/KviIrcServer.h index 605cd1dd5..fde14c35b 100644 --- a/src/kvilib/irc/KviIrcServer.h +++ b/src/kvilib/irc/KviIrcServer.h @@ -597,7 +597,7 @@ public: /** * \brief Sets the server to a favorite - * \param bSet wether the server is a favorite or not + * \param bSet whether the server is a favorite or not * \return void */ inline void setFavorite(bool bSet) diff --git a/src/kvilib/locale/KviLocale.cpp b/src/kvilib/locale/KviLocale.cpp index f8364494f..2d8bd6920 100644 --- a/src/kvilib/locale/KviLocale.cpp +++ b/src/kvilib/locale/KviLocale.cpp @@ -617,7 +617,7 @@ QTextCodec * KviLocale::codecForName(const char * pcName) { // The name of the child codec was invalid: can't create such a smart codec. // We probably screwed up the guess above related to the [ char. - // This code path is also triggered by the yircfuzzer by specifying completly invalid codec names. + // This code path is also triggered by the yircfuzzer by specifying completely invalid codec names. } } diff --git a/src/kvirc/kernel/KviDefaultScript.h b/src/kvirc/kernel/KviDefaultScript.h index 800edb42d..a5d8c064d 100644 --- a/src/kvirc/kernel/KviDefaultScript.h +++ b/src/kvirc/kernel/KviDefaultScript.h @@ -129,7 +129,7 @@ public: void load(const QString & szConfigFile); /** - * \brief Initilizes an empty configuration + * \brief Initializes an empty configuration * * \return void */ diff --git a/src/kvirc/kernel/KviIrcConnection.cpp b/src/kvirc/kernel/KviIrcConnection.cpp index 8100c5c2e..d847f10ae 100644 --- a/src/kvirc/kernel/KviIrcConnection.cpp +++ b/src/kvirc/kernel/KviIrcConnection.cpp @@ -308,7 +308,7 @@ void KviIrcConnection::linkEstablished() // FIXME: With STARTTLS this is called TWICE! context()->connectionEstablished(); - // Ok...we're loggin in now + // Ok...we're logging in now resolveLocalHost(); if(target()->server()->enabledCAP()) diff --git a/src/kvirc/kernel/KviIrcSocket.h b/src/kvirc/kernel/KviIrcSocket.h index e59c6367d..caa47345f 100644 --- a/src/kvirc/kernel/KviIrcSocket.h +++ b/src/kvirc/kernel/KviIrcSocket.h @@ -93,7 +93,7 @@ public: { Idle, /**< Socket idling */ Connecting, /**< Socket connecting */ - ProxyLogin, /**< Socket loggin in to a proxy */ + ProxyLogin, /**< Socket logging in to a proxy */ ProxyHttpError, /**< Socket error on http proxy */ Connected, /**< Socket connected */ ProxyFinalV4, /**< Socket received the final proxy v4 reply */ diff --git a/src/kvirc/kernel/KviLagMeter.cpp b/src/kvirc/kernel/KviLagMeter.cpp index 5be82e242..40f426458 100644 --- a/src/kvirc/kernel/KviLagMeter.cpp +++ b/src/kvirc/kernel/KviLagMeter.cpp @@ -161,7 +161,7 @@ void KviLagMeter::timerEvent(QTimerEvent *) if(_OUTPUT_PARANOIC) m_pConnection->console()->output(KVI_OUT_VERBOSE, __tr2qs("Sending out PING based lag probe")); - // this is the first our own lag check since the last succesfull one: use the ping + // this is the first our own lag check since the last successful one: use the ping lagCheckRegister("@ping@", 70); // the ping may be fooled easily m_pConnection->sendFmtData("PING %s %s", m_pConnection->encodeText(m_pConnection->userInfo()->nickName()).data(), diff --git a/src/kvirc/kvs/KviKvsAction.h b/src/kvirc/kvs/KviKvsAction.h index ed5987a8d..3db570e82 100644 --- a/src/kvirc/kvs/KviKvsAction.h +++ b/src/kvirc/kvs/KviKvsAction.h @@ -48,7 +48,7 @@ protected: public: /** - * \brief Contructs the action object + * \brief Constructs the action object * \param pParent The parent object * \param szName The name of the action * \param szScriptCode The code of the script contained in the action @@ -74,7 +74,7 @@ public: const QString & szKeySequence = QString()); /** - * \brief Contructs the action object + * \brief Constructs the action object * \param pParent The parent object * \param szName The name of the action * \param szScriptCode The code of the script contained in the action diff --git a/src/kvirc/kvs/KviKvsAliasManager.h b/src/kvirc/kvs/KviKvsAliasManager.h index e390684d3..41f8ce73e 100644 --- a/src/kvirc/kvs/KviKvsAliasManager.h +++ b/src/kvirc/kvs/KviKvsAliasManager.h @@ -75,5 +75,5 @@ public: signals: void aliasRefresh(const QString &); }; -// namespaces are handled completly in the editing! +// namespaces are handled completely in the editing! #endif //!_KVI_KVS_ALIASMANAGER_H_ diff --git a/src/kvirc/kvs/KviKvsCallbackObject.h b/src/kvirc/kvs/KviKvsCallbackObject.h index 76649d187..5092a1a24 100644 --- a/src/kvirc/kvs/KviKvsCallbackObject.h +++ b/src/kvirc/kvs/KviKvsCallbackObject.h @@ -51,11 +51,11 @@ public: }; enum CallbackStatus { - // succesfull execution + // successful execution Success, // error in command Error, - // succesfull execution, but halt encountered + // successful execution, but halt encountered HaltEncountered, // execution aborted since OnlyIfWindowExists was passed and the target window is dead TargetWindowDead diff --git a/src/kvirc/kvs/KviKvsCoreCallbackCommands.cpp b/src/kvirc/kvs/KviKvsCoreCallbackCommands.cpp index f717088d0..f2e19d27a 100644 --- a/src/kvirc/kvs/KviKvsCoreCallbackCommands.cpp +++ b/src/kvirc/kvs/KviKvsCoreCallbackCommands.cpp @@ -71,7 +71,7 @@ namespace KviKvsCoreCallbackCommands This command also performs reverse lookups (if you pass an IP address as <hostname>).[br] The callback command gets passed five parameters:[br] $0 contains the query string (<dnsquery> in fact)[br] - $1 contains the value 1 if the query was succesfull.[br] + $1 contains the value 1 if the query was successful.[br] In that case the remaining parameters are set as follows:[br] $2 contains the first IP address associated to the <dnsquery>[br] $3 contains the hostname associated to the <dnsquery>[br] @@ -650,7 +650,7 @@ namespace KviKvsCoreCallbackCommands the active console window and continues running. !sw: -s=<interpreter command> | --shell=<interpreter command> Use <interpreter command> instead of the default interpreter [i]sh -c[/i]. - The <interpreter command> should be able to launch the interpeter + The <interpreter command> should be able to launch the interpreter and should contain the necessary arguments in order to allow KVIrc to pass the [i]commandline[/i] by appending it as the last parameter. !sw: -d | --direct diff --git a/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp b/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp index d34e49591..beb9e6c0b 100644 --- a/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp +++ b/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp @@ -1001,7 +1001,7 @@ namespace KviKvsCoreSimpleCommands a much more complex syntax: <mask1> <options> [<mask2>]. <mask1> is a comma separated list of filters that can contain wildcards (* and ?), <options> is a set of characters specifying what <mask1> is matching (nicknames, channel - names, user names, real names, IP addresses etc) and what kind of informations should be returned. + names, user names, real names, IP addresses etc) and what kind of information should be returned. Look for the extended WHOX syntax on your favorite search engine.[br] If no parameter is specified at all, it requests a WHO information about the current channel.[br] diff --git a/src/kvirc/kvs/KviKvsScript.h b/src/kvirc/kvs/KviKvsScript.h index d800f80b6..8e68ce309 100644 --- a/src/kvirc/kvs/KviKvsScript.h +++ b/src/kvirc/kvs/KviKvsScript.h @@ -264,7 +264,7 @@ public: protected: /** - * \brief Returns true after a succesfull parsing, false otherwise + * \brief Returns true after a successful parsing, false otherwise * * pOutput is useful only for printing errors; if 0, no errors are printed * \param pOutput The output window for errors diff --git a/src/kvirc/kvs/KviKvsVariant.cpp b/src/kvirc/kvs/KviKvsVariant.cpp index f3b4458f3..38ae42cb6 100644 --- a/src/kvirc/kvs/KviKvsVariant.cpp +++ b/src/kvirc/kvs/KviKvsVariant.cpp @@ -1694,7 +1694,7 @@ KviKvsVariant * KviKvsVariant::unserializeHash(const QChar ** ppAux) //skip leading space before ':' while((*ppAux)->isSpace()) (*ppAux)++; - //waiting for name-value delimeter + //waiting for name-value delimiter if((*ppAux)->unicode() != ':') { //strange characters diff --git a/src/kvirc/kvs/object/KviKvsObject.h b/src/kvirc/kvs/object/KviKvsObject.h index 70e7ca5a6..12c701f5c 100644 --- a/src/kvirc/kvs/object/KviKvsObject.h +++ b/src/kvirc/kvs/object/KviKvsObject.h @@ -139,7 +139,7 @@ public: bool callFunction( KviKvsObject * pCaller, // calling object, can be zero (used for the "internal" access list verification) const QString & fncName, // name of the function to call - const QString & classOverride, // eventual class override for the functon call, may be QString() + const QString & classOverride, // eventual class override for the function call, may be QString() KviKvsRunTimeContext * pContext, // calling runtime context (you'll have problems with instantiating this... :P ) KviKvsVariant * pRetVal, // the return value KviKvsVariantList * pParams); // the parameters for the call diff --git a/src/kvirc/kvs/object/KviKvsObjectClass.h b/src/kvirc/kvs/object/KviKvsObjectClass.h index db417773d..12aad3d04 100644 --- a/src/kvirc/kvs/object/KviKvsObjectClass.h +++ b/src/kvirc/kvs/object/KviKvsObjectClass.h @@ -55,7 +55,7 @@ public: KviKvsObjectClass( KviKvsObjectClass * pParent, // parent class const QString & szName, // class name - KviKvsObjectAllocateInstanceProc proc, // intance allocation proc + KviKvsObjectAllocateInstanceProc proc, // instance allocation proc bool bBuiltin = true // this is a builtin or script based class ? ); ~KviKvsObjectClass(); diff --git a/src/kvirc/kvs/parser/KviKvsParser.cpp b/src/kvirc/kvs/parser/KviKvsParser.cpp index 0884b8a10..3cbced743 100644 --- a/src/kvirc/kvs/parser/KviKvsParser.cpp +++ b/src/kvirc/kvs/parser/KviKvsParser.cpp @@ -1087,7 +1087,7 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseAsParameter(const QChar * pBuffer Aliases : user definable command sequences @body: An alias is a user defined command. It can be used to rename the builtin KVIrc commands or functions, - to automatize complex tasks or as structured programming mean. + to automate complex tasks or as structured programming mean. Aliases can be created or destroyed by using the scriptcenter (graphic interface) or from the commandline (or script) by using the [cmd]alias[/cmd] command. Once created, an alias remains stored permanently in the KVIrc configuration files diff --git a/src/kvirc/kvs/parser/KviKvsParser.h b/src/kvirc/kvs/parser/KviKvsParser.h index dca2983a2..4a0f162d1 100644 --- a/src/kvirc/kvs/parser/KviKvsParser.h +++ b/src/kvirc/kvs/parser/KviKvsParser.h @@ -296,7 +296,7 @@ private: // returns 0 only in case of error // starts AFTER the leading char of the expression - // ends afer the first terminator found + // ends after the first terminator found KviKvsTreeNodeExpression * parseExpression(char terminator); KviKvsTreeNodeExpressionBinaryOperator * parseExpressionBinaryOperator(); KviKvsTreeNodeExpression * parseExpressionOperand(char terminator); diff --git a/src/kvirc/kvs/parser/KviKvsParser_specialCommands.cpp b/src/kvirc/kvs/parser/KviKvsParser_specialCommands.cpp index c51516532..911ba8d2b 100644 --- a/src/kvirc/kvs/parser/KviKvsParser_specialCommands.cpp +++ b/src/kvirc/kvs/parser/KviKvsParser_specialCommands.cpp @@ -2016,7 +2016,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandDefpopup() The [i]separator[/i] keyword adds a straight line between items (separator).[br] The 'separatorid' keyword adds a straight line between items, but permits to specify a separator id.[br] - The [i]label[/i] keywork adds a descriptive label that acts like a separator.[br] + The [i]label[/i] keyword adds a descriptive label that acts like a separator.[br] The [i]prologue[/i] keyword adds a <prologue_command> to be executed just before the popup is filled at [cmd]popup[/cmd] command call.[br] The [i]epilogue[/i] keyword adds an <epilogue_command> to be executed diff --git a/src/kvirc/sparser/KviIrcServerParser_numericHandlers.cpp b/src/kvirc/sparser/KviIrcServerParser_numericHandlers.cpp index 33160ba4f..3d52e18dc 100644 --- a/src/kvirc/sparser/KviIrcServerParser_numericHandlers.cpp +++ b/src/kvirc/sparser/KviIrcServerParser_numericHandlers.cpp @@ -253,7 +253,7 @@ void KviIrcServerParser::parseNumeric005(KviIrcMessage * msg) * CHANNELLEN -> Maximum channel name length (e.g. CHANNELLEN=50) * CHIDLEN -> Channel ID length for !channels (deprecated by IDCHAN, 5 by default, e.g. CHIDLEN=5) * IDCHAN -> The ID length for channels with an ID (e.g. IDCHAN=!:5) - * SILENCE -> Max entires for the SILENCE command (e.g. SILENCE=15) + * SILENCE -> Max entries for the SILENCE command (e.g. SILENCE=15) * PENALTY -> Server gives extra penalty to some commands instead of the normal 2 seconds per message and 1 second for every 120 bytes in a message. * FNC -> Forced nick change: the server could change the client nickname * SAFELIST -> The LIST reply won't kill the client for excess flood. @@ -2528,7 +2528,7 @@ void KviIrcServerParser::parseNumericInvited(KviIrcMessage * msg) void KviIrcServerParser::parseNumeric344(KviIrcMessage * msg) { - // Determine wether this is inteded for RPL_REOPLIST or + // Determine whether this is inteded for RPL_REOPLIST or // RPL_QUIETLIST KviIrcConnectionServerInfo * pServerInfo = msg->connection()->serverInfo(); @@ -2541,7 +2541,7 @@ void KviIrcServerParser::parseNumeric344(KviIrcMessage * msg) void KviIrcServerParser::parseNumeric345(KviIrcMessage * msg) { - // Determine wether this is inteded for RPL_ENDOFREOPLIST, + // Determine whether this is inteded for RPL_ENDOFREOPLIST, // RPL_QUIETLISTEND, or RPL_INVITED KviIrcConnectionServerInfo * pServerInfo = msg->connection()->serverInfo(); @@ -2572,7 +2572,7 @@ void KviIrcServerParser::parseNumeric480(KviIrcMessage * msg) void KviIrcServerParser::parseNumeric728(KviIrcMessage * msg) { - // Determine wether this is a freenode style quiet or an + // Determine whether this is a freenode style quiet or an // oftc style quiet KviIrcConnectionServerInfo * pServerInfo = msg->connection()->serverInfo(); @@ -2585,7 +2585,7 @@ void KviIrcServerParser::parseNumeric728(KviIrcMessage * msg) void KviIrcServerParser::parseNumeric729(KviIrcMessage * msg) { - // Determine wether this is a freenode style End of Quiet list + // Determine whether this is a freenode style End of Quiet list // or an oftc style End Of Quiet list KviIrcConnectionServerInfo * pServerInfo = msg->connection()->serverInfo(); diff --git a/src/kvirc/ui/KviConsoleWindow.h b/src/kvirc/ui/KviConsoleWindow.h index 9788b2b72..2396abd05 100644 --- a/src/kvirc/ui/KviConsoleWindow.h +++ b/src/kvirc/ui/KviConsoleWindow.h @@ -163,7 +163,7 @@ public: // and -1 if OnHighlight called halt // otherwise it returns <type> int applyHighlighting(KviWindow * wnd, int type, const QString & nick, const QString & user, const QString & host, const QString & szMsg); - // Avatar helpers (conneciton related) + // Avatar helpers (connection related) void resetAvatarForMatchingUsers(KviRegisteredUser * u); // this should be protected at least void avatarChangedUpdateWindows(const QString & nick, const QString & textLine); diff --git a/src/kvirc/ui/KviCustomToolBar.cpp b/src/kvirc/ui/KviCustomToolBar.cpp index 06fdc93e2..0e8081bb3 100644 --- a/src/kvirc/ui/KviCustomToolBar.cpp +++ b/src/kvirc/ui/KviCustomToolBar.cpp @@ -170,7 +170,7 @@ void KviCustomToolBar::childEvent(QChildEvent * e) { if(KviActionManager::customizingToolBars()) { - // this is useful for droppped and dragged-out children + // this is useful for dropped and dragged-out children if(e->type() == QEvent::ChildAdded) { if(e->child()->isWidgetType()) diff --git a/src/kvirc/ui/KviInputEditor.cpp b/src/kvirc/ui/KviInputEditor.cpp index cfe755d05..4f9a38c7e 100644 --- a/src/kvirc/ui/KviInputEditor.cpp +++ b/src/kvirc/ui/KviInputEditor.cpp @@ -2171,7 +2171,7 @@ void KviInputEditor::completion(bool bShift) { if(szWord[1 - iOffset].unicode() == '$') { - // function/identifer completion + // function/identifier completion szWord.remove(0, 2 - iOffset); if(szWord.isEmpty()) return; @@ -2198,7 +2198,7 @@ void KviInputEditor::completion(bool bShift) } else if(uc == '$') { - // function/identifer completion + // function/identifier completion szWord.remove(0, 1); if(szWord.isEmpty()) return; diff --git a/src/kvirc/ui/KviInputEditor.h b/src/kvirc/ui/KviInputEditor.h index dcce3a4a4..41412d0e7 100644 --- a/src/kvirc/ui/KviInputEditor.h +++ b/src/kvirc/ui/KviInputEditor.h @@ -194,7 +194,7 @@ protected: public: /** - * \brief Contructs the command object + * \brief Constructs the command object * \param eType The type of the command * \param szText The text of the command * \param iStartPosition The start position of the command diff --git a/src/kvirc/ui/KviIrcView_private.h b/src/kvirc/ui/KviIrcView_private.h index 2462b04dd..85312dd45 100644 --- a/src/kvirc/ui/KviIrcView_private.h +++ b/src/kvirc/ui/KviIrcView_private.h @@ -112,19 +112,19 @@ typedef struct _KviIrcViewLine QString szText; // data string without color codes nor escapes... int iMsgType; // type of the line (defines icon and colors) - // At line instert time the szData text is splitted in parts which + // At line insert time the szData text is split in parts which // signal attribute changes (or icons) unsigned int uChunkCount; // number of allocated chunks KviIrcViewLineChunk * pChunks; // pointer to the allocated structures - // At paint time the data is re-splitted in drawable chunks which + // At paint time the data is re-split in drawable chunks which // are either real data chunks or line wraps. // The algorightm that does this is lazy and computes it // only once for a given widget width (iMaxLineWidth) unsigned int uLineWraps; // number of line wraps (lines - 1) int iMaxLineWidth; // width that the blocks were calculated for (lazy calculation) int iBlockCount; // number of allocated paintable blocks - KviIrcViewWrappedBlock * pBlocks; // pointer to the re-splitted paintable blocks + KviIrcViewWrappedBlock * pBlocks; // pointer to the re-split paintable blocks // next and previous line struct _KviIrcViewLine * pPrev; diff --git a/src/kvirc/ui/KviMainWindow.h b/src/kvirc/ui/KviMainWindow.h index 61beaf239..c8b1b06cf 100644 --- a/src/kvirc/ui/KviMainWindow.h +++ b/src/kvirc/ui/KviMainWindow.h @@ -74,7 +74,7 @@ public: protected: // subwindows - QSplitter * m_pSplitter; // the frame is splitted vertically and thus can host widgets + QSplitter * m_pSplitter; // the frame is split vertically and thus can host widgets KviMenuBar * m_pMenuBar; // the main menu bar KviWindowStack * m_pWindowStack; // the mdi manager widget (child of the splitter) std::unordered_set<KviMexToolBar *> m_pModuleExtensionToolBarList; // the module extension toolbars diff --git a/src/kvirc/ui/KviSelectors.cpp b/src/kvirc/ui/KviSelectors.cpp index 4c840e6e2..aab24c34f 100644 --- a/src/kvirc/ui/KviSelectors.cpp +++ b/src/kvirc/ui/KviSelectors.cpp @@ -79,7 +79,7 @@ KviUIntSelector::KviUIntSelector(QWidget * par, const QString & txt, unsigned in m_pOption = pOption; - // QSpinBox only holds integers and we want unsinged integers, so make sure the limits are correct + // QSpinBox only holds integers and we want unsigned integers, so make sure the limits are correct if(m_bIsShortInt) { m_uLowBound = std::min({ uLowBound, static_cast<unsigned int>(std::numeric_limits<unsigned short int>::max()), static_cast<unsigned int>(std::numeric_limits<int>::max()) }); diff --git a/src/kvirc/ui/KviTreeWindowList.cpp b/src/kvirc/ui/KviTreeWindowList.cpp index b11db4c71..a3ce2ae1f 100644 --- a/src/kvirc/ui/KviTreeWindowList.cpp +++ b/src/kvirc/ui/KviTreeWindowList.cpp @@ -156,7 +156,7 @@ void KviTreeWindowListItem::setActive(bool bActive) QString KviTreeWindowListItem::key() const { // This is the sorting function for KviTreeTaskBarItem - // 1) window type (console, other window..) 2) unique id [to avoid bug #9] 3) windowname (for alphabetical sorting of childs) + // 1) window type (console, other window..) 2) unique id [to avoid bug #9] 3) windowname (for alphabetical sorting of children) QString ret; int iType = m_pWindow->type(); diff --git a/src/modules/addon/WebAddonInterfaceDialog.cpp b/src/modules/addon/WebAddonInterfaceDialog.cpp index 8eabd0268..5d31f7c81 100644 --- a/src/modules/addon/WebAddonInterfaceDialog.cpp +++ b/src/modules/addon/WebAddonInterfaceDialog.cpp @@ -62,7 +62,7 @@ bool WebAddonInterfaceDialog::packageIsInstalled(const QString & szId, const QSt if(szVersion.isEmpty()) return true; // hum.... shouldn't happen ? - // FIXME: If the version of the installed addon is lower then allow upgrading! + // FIXME: If the version of the installed addon is lower than allow upgrading! return KviMiscUtils::compareVersions(pAddon->version(), szVersion) < 0; } diff --git a/src/modules/dcc/DccChatWindow.h b/src/modules/dcc/DccChatWindow.h index 055dc089d..b23da0943 100644 --- a/src/modules/dcc/DccChatWindow.h +++ b/src/modules/dcc/DccChatWindow.h @@ -60,7 +60,7 @@ protected: // to the beginning, kvi_realloc data.buffer and update data.iLen // If bCritical is true, it should handle the whole data buffer // since the thread is going to die - // It should return true if the handing was succesfull + // It should return true if the handing was successful // or false if the thread should be stopped virtual bool handleIncomingData(KviDccThreadIncomingData * data, bool bCritical); diff --git a/src/modules/editor/ScriptEditorImplementation.cpp b/src/modules/editor/ScriptEditorImplementation.cpp index 99a9ebb7e..c05308977 100644 --- a/src/modules/editor/ScriptEditorImplementation.cpp +++ b/src/modules/editor/ScriptEditorImplementation.cpp @@ -295,7 +295,7 @@ void ScriptEditorWidget::slotHelp() void ScriptEditorWidget::enableSyntaxHighlighter() { // we currently delete and re-create the m_pSyntaxHighlighter - // as a trick to ensure proper re-highlightning to occur + // as a trick to ensure proper re-highlighting to occur if(!m_pSyntaxHighlighter) m_pSyntaxHighlighter = new ScriptEditorSyntaxHighlighter(this); } diff --git a/src/modules/mediaplayer/MpInterface.h b/src/modules/mediaplayer/MpInterface.h index aae380f5c..a82016b24 100644 --- a/src/modules/mediaplayer/MpInterface.h +++ b/src/modules/mediaplayer/MpInterface.h @@ -122,7 +122,7 @@ public: // 0 if the player isn't playing anything and -1 if unknown virtual int position(); // total length of the media (msecs) - // 0 if the player isn't playing anyting and -1 if unknown (e.g. a stream) + // 0 if the player isn't playing anything and -1 if unknown (e.g. a stream) virtual int length(); // jump to position virtual bool jumpTo(kvs_int_t & iPos); diff --git a/src/modules/objects/KvsObject_popupMenu.cpp b/src/modules/objects/KvsObject_popupMenu.cpp index bf2270590..e7ef52181 100644 --- a/src/modules/objects/KvsObject_popupMenu.cpp +++ b/src/modules/objects/KvsObject_popupMenu.cpp @@ -59,7 +59,7 @@ !fn: $setTitle(<text:string>) Sets the popupmenu title to text. !fn: $exec([<widget:objects>,<x:uinteger>,<y:integer>]) - If called without paramaters show the popup menu at the current pointer position.[br] + If called without parameters show the popup menu at the current pointer position.[br] With the optional parameters show the popup menu at the coordinate x,y widget parameter relative. !fn: $removeItem(<popup_id:Uinteger>) Removes the menu item that has the identifier ID. diff --git a/src/modules/objects/KvsObject_treeWidgeteItem.cpp b/src/modules/objects/KvsObject_treeWidgeteItem.cpp index 1770f27eb..dc38fc591 100644 --- a/src/modules/objects/KvsObject_treeWidgeteItem.cpp +++ b/src/modules/objects/KvsObject_treeWidgeteItem.cpp @@ -80,7 +80,7 @@ const char * const itemflags_tbl[] = { !fn: $setText(<column:integer>,<text:string>) Sets the text in column column to text, if column is a valid column number and text is different from the existing text. !fn: <string> $text(<column:integer>) - Returs the text of the specified column. + Returns the text of the specified column. !fn: $setPixmap(<column:integer>,<pixmap:hobject or imageID>) Sets the pixmap in column column to pm, if pm is non-null and different from the current pixmap, and if column is non-negative. Pixmap can be a KVIrc image ID, an image file or a [class]pixmap[/class] object. diff --git a/src/modules/package/libkvipackage.cpp b/src/modules/package/libkvipackage.cpp index af9b3b9a5..678df3230 100644 --- a/src/modules/package/libkvipackage.cpp +++ b/src/modules/package/libkvipackage.cpp @@ -69,11 +69,11 @@ static QString createRandomDir() @title: $package.info @short: - Returns informations about a KVIrc package file + Returns information about a KVIrc package file @syntax: <hash> $package.info(<package_path:string>) @description: - Returns a set of informations about a KVIrc package file (*.kvt or *.kva). + Returns a set of information about a KVIrc package file (*.kvt or *.kva). The set is a structured hash. If the specified path does not lead to a valid KVIrc package the returned hash will contain a single element with key "error". diff --git a/src/modules/rijndael/BlowFish.cpp b/src/modules/rijndael/BlowFish.cpp index 8e9ac39ba..e56178276 100644 --- a/src/modules/rijndael/BlowFish.cpp +++ b/src/modules/rijndael/BlowFish.cpp @@ -315,7 +315,7 @@ BlowFish::BlowFish(unsigned char * ucKey, unsigned int keysize, const SBlock & r /* * BRAINDEAD DEVELOPER DISCLAIMER: * Blowfish can accept keys up to 72 bytes, but the common value is 56: - * Using keylenghts of 72 chars offers a small amount of added security, + * Using keylengths of 72 chars offers a small amount of added security, * but adds also the possibility of choosing a weak key that resulted in all * 18 P sub−keys turning into 0 after being XORed with a 576 bit key * (Short version: someone can trick you into using an empty password, and you won't notice) diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp index 606ca9ac6..f7e77ce86 100644 --- a/src/modules/setup/libkvisetup.cpp +++ b/src/modules/setup/libkvisetup.cpp @@ -38,7 +38,7 @@ #include <QFile> // this will be chosen during the setup process -QString g_szChoosenIncomingDirectory; +QString g_szChosenIncomingDirectory; int g_iThemeToApply = THEME_APPLY_NONE; bool bNeedToApplyDefaults; unsigned int uPort; @@ -67,7 +67,7 @@ KVIMODULEEXPORTFUNC void setup_finish() { if(bNeedToApplyDefaults) { - KVI_OPTION_STRING(KviOption_stringIncomingPath) = g_szChoosenIncomingDirectory; + KVI_OPTION_STRING(KviOption_stringIncomingPath) = g_szChosenIncomingDirectory; // Reset the quit message and the real name... if they contain the KVIrc version // then probably the user hasn't even edited them. if(KVI_OPTION_STRING(KviOption_stringQuitMessage).indexOf("KVIrc", 0, Qt::CaseInsensitive) != -1) diff --git a/src/modules/upnp/RootService.cpp b/src/modules/upnp/RootService.cpp index e1cab77ee..efce5e6da 100644 --- a/src/modules/upnp/RootService.cpp +++ b/src/modules/upnp/RootService.cpp @@ -42,7 +42,7 @@ namespace UPnP { - // The contructor + // The constructor RootService::RootService(const QString & hostname, int port, const QString & rootUrl) : Service(hostname, port, rootUrl), m_szHostname(hostname), m_iPort(port) { diff --git a/src/modules/upnp/igdcontrolpoint.h b/src/modules/upnp/igdcontrolpoint.h index 91c46e1e4..e292c0e72 100644 --- a/src/modules/upnp/igdcontrolpoint.h +++ b/src/modules/upnp/igdcontrolpoint.h @@ -81,7 +81,7 @@ namespace UPnP // A WAN connection query was finished void slotWanQueryFinished(bool error); - private: // private attibutes + private: // private attributes // Is a gateway available? bool m_bGatewayAvailable; // The host of the gateway diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp index 1a2ca1a68..4a3640639 100644 --- a/src/modules/url/libkviurl.cpp +++ b/src/modules/url/libkviurl.cpp @@ -77,7 +77,7 @@ void loadBanList(); UrlDlgList * findFrame(); void url_module_help(); -#define KVI_URL_EXTENSION_NAME "URL module extenstion" +#define KVI_URL_EXTENSION_NAME "URL module extension" UrlDialogTreeWidget::UrlDialogTreeWidget(QWidget * par) : QTreeWidget(par) |
