From ac60a3930abffc436cc79c71a88dd91ab0b61730 Mon Sep 17 00:00:00 2001 From: un1versal Date: Thu, 8 Oct 2015 08:47:46 +0100 Subject: [ci skip] various header files, typos corrections --- src/kvilib/config/KviBuildInfo.h | 4 ++-- src/kvilib/config/kvi_debug.h | 2 +- src/kvilib/config/kvi_settings.h | 8 ++++---- src/kvilib/core/kvi_inttypes.h | 4 ++-- src/kvilib/ext/KviCryptEngine.h | 2 +- src/kvilib/file/KviFileUtils.h | 2 +- src/kvilib/irc/KviControlCodes.h | 2 +- src/modules/objects/KvsObject_lineEdit.h | 2 +- src/modules/options/OptionsWidget_urlHandlers.h | 2 +- src/modules/url/libkviurl.h | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/kvilib/config/KviBuildInfo.h b/src/kvilib/config/KviBuildInfo.h index 5cee54580..f0be561f7 100644 --- a/src/kvilib/config/KviBuildInfo.h +++ b/src/kvilib/config/KviBuildInfo.h @@ -41,9 +41,9 @@ * \brief This namespace contains information gathered at KVIrc build time. * * This, in fact, is the last time that "cmake" ran and successfully generated the -* kvilib Makefile. Since kvilib is generally built with the kvirc +* kvilib Makefile. Since kvilib is generally built with the KVIrc * executable, then you can assume that the information returned -* from this namespace strictly applies also to kvirc. +* from this namespace strictly applies also to KVIrc. */ namespace KviBuildInfo { diff --git a/src/kvilib/config/kvi_debug.h b/src/kvilib/config/kvi_debug.h index 650c138c1..ad536f277 100644 --- a/src/kvilib/config/kvi_debug.h +++ b/src/kvilib/config/kvi_debug.h @@ -77,7 +77,7 @@ // The following two macros are used to create unique variable names // by the means of the __LINE__ builtin macro. // The ## token paste operator must be called inside a macro and must - // preceede a macro parameter. This is why we can't use directly + // precede a macro parameter. This is why we can't use directly // // #define UNIQUEVARIABLE int name ## __LINE__ // diff --git a/src/kvilib/config/kvi_settings.h b/src/kvilib/config/kvi_settings.h index 83a010944..ee54bf8c8 100644 --- a/src/kvilib/config/kvi_settings.h +++ b/src/kvilib/config/kvi_settings.h @@ -142,12 +142,12 @@ /** -* \def KVI_VERSION Defines the current kvirc version -* \def KVIRC_VERSION_BRANCH Defines the kvirc version of the current branch -* \def KVI_RELEASE_NAME Defines the codename for the current kvirc release +* \def KVI_VERSION Defines the current KVIrc version +* \def KVIRC_VERSION_BRANCH Defines the KVIrc version of the current branch +* \def KVI_RELEASE_NAME Defines the codename for the current KVIrc release * \def _GNU_SOURCE Enables _GNU_SOURCE features * \def KVI_PTR2MEMBER Cross-platform macro that returns a member from its pointer -* \def KVI_DEPRECATED Prefix for deprecated objects inside kvirc code (currently unused) +* \def KVI_DEPRECATED Prefix for deprecated objects inside KVIrc code (currently unused) * \def BIG_ENDIAN_MACHINE_BYTE_ORDER If defined, the current target processor is big endian, little endian otherwise */ diff --git a/src/kvilib/core/kvi_inttypes.h b/src/kvilib/core/kvi_inttypes.h index 8237ba24c..a201fc99e 100644 --- a/src/kvilib/core/kvi_inttypes.h +++ b/src/kvilib/core/kvi_inttypes.h @@ -79,7 +79,7 @@ typedef long int kvi_i32_t; typedef unsigned long int kvi_u32_t; #else - #error "Can't find a 32 bit integral type on this system" + #error "Can't find a 32-bit integral type on this system" #error "Please report to pragma at kvirc dot net" #endif @@ -92,7 +92,7 @@ typedef int kvi_i16_t; typedef long int kvi_u16_t; #else - #error "Can't find a 16 bit integral type on this system" + #error "Can't find a 16-bit integral type on this system" #error "Please report to pragma at kvirc dot net" #endif diff --git a/src/kvilib/ext/KviCryptEngine.h b/src/kvilib/ext/KviCryptEngine.h index cef18bd51..f4a0921ba 100644 --- a/src/kvilib/ext/KviCryptEngine.h +++ b/src/kvilib/ext/KviCryptEngine.h @@ -93,7 +93,7 @@ class KviCString; // // Encrypts utf8 plainText and returns the encrypted // data in outBuffer. The encrypted data must be - // suitable for sending thru an IRC (eventually DCC + // suitable for sending through an IRC (eventually DCC // that is less restrictive) connection and must be utf8 encoded: so // no NULL, CR and LF in the output. // 0x01 should be also avoided since diff --git a/src/kvilib/file/KviFileUtils.h b/src/kvilib/file/KviFileUtils.h index 052e01011..f1bf396a9 100644 --- a/src/kvilib/file/KviFileUtils.h +++ b/src/kvilib/file/KviFileUtils.h @@ -51,7 +51,7 @@ #endif // #warning "Add kvi_trashFile(const char * path) ? - is it needed in the whole app" -// #warning "or should it be availible only for dirbrowser module ?" +// #warning "or should it be available only for dirbrowser module?" /** * \namespace KviFileUtils * \brief A namespace to handle file utilities functions diff --git a/src/kvilib/irc/KviControlCodes.h b/src/kvilib/irc/KviControlCodes.h index 112a0a68d..17c37d97a 100644 --- a/src/kvilib/irc/KviControlCodes.h +++ b/src/kvilib/irc/KviControlCodes.h @@ -49,7 +49,7 @@ // ASCII Stuff: the following defines are meant to be escape sequences -// that can go thru an IRC connection +// that can go through an IRC connection // The following table is a 30-minute analysis of the escape characters commonly used over the IRC protocol... // created when looking for a good placement for the CRYPT escape char in KVirc. diff --git a/src/modules/objects/KvsObject_lineEdit.h b/src/modules/objects/KvsObject_lineEdit.h index 5f72e8970..ba018aebb 100644 --- a/src/modules/objects/KvsObject_lineEdit.h +++ b/src/modules/objects/KvsObject_lineEdit.h @@ -29,7 +29,7 @@ #include "KvsObject_widget.h" -//#warning "Signals !" +//#warning "Signals!" #include #include "object_macros.h" diff --git a/src/modules/options/OptionsWidget_urlHandlers.h b/src/modules/options/OptionsWidget_urlHandlers.h index f2c9e4511..e1c931502 100644 --- a/src/modules/options/OptionsWidget_urlHandlers.h +++ b/src/modules/options/OptionsWidget_urlHandlers.h @@ -32,7 +32,7 @@ class QRadioButton; #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_urlHandlers __tr2qs_no_lookup("URL handlers") #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_urlHandlers OptionsWidget_general #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_urlHandlers 70000 -#define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_urlHandlers __tr2qs_no_lookup("url,programs") +#define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_urlHandlers __tr2qs_no_lookup("URL,programs") class OptionsWidget_urlHandlers : public KviOptionsWidget { diff --git a/src/modules/url/libkviurl.h b/src/modules/url/libkviurl.h index 7347e1b58..50d3aeb29 100644 --- a/src/modules/url/libkviurl.h +++ b/src/modules/url/libkviurl.h @@ -76,7 +76,7 @@ public: private: KviTalMenuBar *m_pMenuBar; QMenu *m_pListPopup; // dynamic popup menu - QString m_szUrl; // used to pass urls to sayToWin slot + QString m_szUrl; // used to pass URLs to sayToWin slot protected: QPixmap *myIconPtr(); void resizeEvent(QResizeEvent *); -- cgit v1.3.1-10-gc9f91