diff options
| author | 2016-06-13 18:47:37 +0100 | |
|---|---|---|
| committer | 2016-06-14 16:58:25 +0100 | |
| commit | 3e6a8c0a03139ee2cf64ec9dd3c6bcd812e7e4dd (patch) | |
| tree | 1c0c3616187bbf4466651ca648d165665b57e543 | |
| parent | KviInputEditor: cosmetic and typo fixes to spell checker (diff) | |
| download | KVIrc-3e6a8c0a03139ee2cf64ec9dd3c6bcd812e7e4dd.tar.gz KVIrc-3e6a8c0a03139ee2cf64ec9dd3c6bcd812e7e4dd.tar.bz2 KVIrc-3e6a8c0a03139ee2cf64ec9dd3c6bcd812e7e4dd.zip | |
separators and copyright headers cleanups
+ add copyright boilerplate to KviDebugContext.cpp
probably more source files exist with no copyright boilerplate.
this was a by chance find.
119 files changed, 92 insertions, 188 deletions
diff --git a/src/kvilib/config/kvi_confignames.h b/src/kvilib/config/kvi_confignames.h index 94530bd19..ca2629419 100644 --- a/src/kvilib/config/kvi_confignames.h +++ b/src/kvilib/config/kvi_confignames.h @@ -1,6 +1,5 @@ #ifndef _KVI_CONFIGNAMES_H_ #define _KVI_CONFIGNAMES_H_ - //============================================================================= // // File : kvi_confignames.h diff --git a/src/kvilib/config/kvi_debug.h b/src/kvilib/config/kvi_debug.h index c65051800..2df2b7c56 100644 --- a/src/kvilib/config/kvi_debug.h +++ b/src/kvilib/config/kvi_debug.h @@ -1,6 +1,5 @@ #ifndef _KVI_DEBUG_H_ #define _KVI_DEBUG_H_ - //============================================================================= // // File : kvi_debug.h diff --git a/src/kvilib/config/kvi_defaults.h b/src/kvilib/config/kvi_defaults.h index 48c53d094..7bdb89a9e 100644 --- a/src/kvilib/config/kvi_defaults.h +++ b/src/kvilib/config/kvi_defaults.h @@ -1,6 +1,5 @@ #ifndef _KVI_DEFAULTS_H_ #define _KVI_DEFAULTS_H_ - //============================================================================= // // File : kvi_defaults.h diff --git a/src/kvilib/config/kvi_settings.h b/src/kvilib/config/kvi_settings.h index 926e78fac..7388df4b9 100644 --- a/src/kvilib/config/kvi_settings.h +++ b/src/kvilib/config/kvi_settings.h @@ -1,6 +1,5 @@ #ifndef _KVI_SETTINGS_H_ #define _KVI_SETTINGS_H_ - //============================================================================= // // File : kvi_settings.h diff --git a/src/kvilib/core/KviCString.h b/src/kvilib/core/KviCString.h index bf0e91bd5..9291655ec 100644 --- a/src/kvilib/core/KviCString.h +++ b/src/kvilib/core/KviCString.h @@ -43,7 +43,6 @@ #include "kvi_stdarg.h" // -// sigh... // IRC is not UNICODE ...(yet) :( // @@ -91,7 +90,6 @@ __KVI_EXTERN KVILIB_API kvi_wslen_t kvi_wstrlen(const kvi_wchar_t * str); __KVI_EXTERN KVILIB_API int kvi_wvsnprintcf(kvi_wchar_t * buffer, kvi_wslen_t len, const char * fmt, kvi_va_list list); __KVI_EXTERN KVILIB_API int kvi_wvsnprintf(kvi_wchar_t * buffer, kvi_wslen_t len, const kvi_wchar_t * fmt, kvi_va_list list); -//============================================================================= // // A simple string class.<br> // -No data sharing.<br> @@ -100,7 +98,6 @@ __KVI_EXTERN KVILIB_API int kvi_wvsnprintf(kvi_wchar_t * buffer, kvi_wslen_t len // -(Maybe)Unsafe :)<br> // WARNING : Handle with care and use at own risk :)<br> // -//============================================================================= class KVILIB_API KviCString : public KviHeapObject { @@ -114,10 +111,7 @@ public: Sprintf }; - //============================================================================= // Constructors - //============================================================================= - // Empty string == "", len = 0, 1 byte allocated KviCString(); @@ -164,10 +158,8 @@ public: int m_len; // string data length not including the terminator public: - //============================================================================= - // Basic const interface (read stuff) - //============================================================================= + // Basic const interface (read stuff) // Internal data buffer char * ptr() const { return m_ptr; }; // Length: fast, cached @@ -209,10 +201,7 @@ public: KviCString leftToLast(char c, bool bIncluded = false) const; // KviCString leftToFirst(const char * str); const; - //============================================================================= // Non-const interface (write stuff) - //============================================================================= - // Null terminator is NOT included in len KviCString & setLen(int len); @@ -300,10 +289,7 @@ public: bool equalsCIN(const char * other, int len) const { return kvi_strEqualCIN(m_ptr, other, len); }; bool equalsCSN(const char * other, int len) const { return kvi_strEqualCSN(m_ptr, other, len); }; - //============================================================================= // HEX and Base64 stuff - //============================================================================= - // HEX transforms functions void bufferToHex(const char * buffer, int len); // Allocates the needed buffer and returns the allocated length, @@ -319,10 +305,7 @@ public: // frees a buffer allocated by hexToBuffer or base64ToBuffer static void freeBuffer(char * buffer); - //============================================================================= // Splitters - //============================================================================= - // cut KviCString & cutLeft(int len); // kills the first len characters KviCString & cutRight(int len); // kills the last len characters @@ -361,10 +344,8 @@ public: // either "truncate to" or "add padding up" to iLen characters. KviCString & padRight(int iLen, const char c = '\0'); - //============================================================================= - // Tokenize - //============================================================================= + // Tokenize // Extracts (copy to str and remove) a token from this string,<br> // and returns true if there are more tokens to extract<br> // Does not strip initial separators!!<br> @@ -388,10 +369,7 @@ public: // of the buffer (after the last string) void joinFromArray(KviCString ** strings, const char * sep = 0, bool bLastSep = false); - //============================================================================= // Utils - //============================================================================= - // encodes chars that have nonzero in the jumptable // into %HH equivalents KviCString & hexEncodeWithTable(const unsigned char table[256]); @@ -399,10 +377,7 @@ public: KviCString & hexDecode(const char * pFrom); KviCString & hexDecode() { return hexDecode(m_ptr); }; - //============================================================================= // Contains / occurrence count - //============================================================================= - // Returns true if at least one occurrence of str is found bool contains(const char * str, bool caseS = true) const; // Returns true if at least one occurrence of character c is found in this string @@ -413,10 +388,7 @@ public: // Returns the number of occurrences of character c in this string int occurrences(char c, bool caseS = true) const; - //============================================================================= // Find - //============================================================================= - // Finds the first occurrence of the character c in this string,<br> // and returns its zero-based index or -1 if c can not be found.<br> // c can NOT be '\0' here. @@ -437,10 +409,7 @@ public: int find(const char * str, int startIdx, bool caseS = true) const; int findRev(const char * str, int startIdx, bool caseS = true) const; - //============================================================================= // Numbers - //============================================================================= - // everything in base 10.... no overflow checks here long toLong(bool * bOk = 0) const; unsigned long toULong(bool * bOk = 0) const; @@ -478,18 +447,14 @@ public: // this if often useful! static KviCString & emptyString(); - //============================================================================= // Dead interface - //============================================================================= // Transform a pointer to a string with all 0 and 1 // void pointerToBitString(const void * ptr); // Get a pointer from a string all of 0 and 1 : return 0 if invalid // void * bitStringToPointer(); - //============================================================================= // "External string" helper functions - //============================================================================= // FIXME: Should it be KviCStringExt::contains namespace ? static bool ext_contains(const char * data, const char * item, bool caseS = true); diff --git a/src/kvilib/core/KviMemory.cpp b/src/kvilib/core/KviMemory.cpp index f1808dbdf..90d936cf5 100644 --- a/src/kvilib/core/KviMemory.cpp +++ b/src/kvilib/core/KviMemory.cpp @@ -22,11 +22,11 @@ // //============================================================================= -//============================================================================= +// // C memory allocation routines // This stuff is rather unused, because in normal compilations // KviMemory, kvi_free and kvi_realloc are macros (see KviMemory.h) -//============================================================================= +// #define _KVI_MALLOC_CPP_ #include "KviMemory.h" @@ -441,13 +441,11 @@ namespace KviMemory // //============================================================================= - //============================================================================= // // Inline assembly implementations of the commonly used string functions // These will work only on i386 based machines and can be compiled // only by gcc // - //============================================================================= inline bool kvi_strEqualCS(const char * pcStr1, const char * pcStr2) { diff --git a/src/kvilib/core/KviMemory.h b/src/kvilib/core/KviMemory.h index 9190b47a1..71fc45934 100644 --- a/src/kvilib/core/KviMemory.h +++ b/src/kvilib/core/KviMemory.h @@ -1,6 +1,5 @@ #ifndef _KVI_MALLOC_H_ #define _KVI_MALLOC_H_ - //============================================================================= // // File : KviMemory.h @@ -25,9 +24,9 @@ // //============================================================================= -//============================================================================= +// // C memory allocation routines: macros in common compilations -//============================================================================= +// #include "kvi_settings.h" diff --git a/src/kvilib/core/KviPointerList.h b/src/kvilib/core/KviPointerList.h index 123552350..5d37cd8b4 100644 --- a/src/kvilib/core/KviPointerList.h +++ b/src/kvilib/core/KviPointerList.h @@ -1,6 +1,6 @@ #ifndef _KVI_POINTERLIST_H_ #define _KVI_POINTERLIST_H_ -//=============================================================================== +//============================================================================= // // File : KviPointerList.h // Creation date : Tue Jul 6 1999 14:52:20 by Szymon Stefanek @@ -22,14 +22,14 @@ // along with this program. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -//=============================================================================== +//============================================================================= + // // C++ Template based double linked pointer list class // Original ss_list.h Created on 10 Dec 2001 // Copyright (C) 2001-2010 Szymon Stefanek (pragma at kvirc dot net) // Added to KVIrc on 02 Jan 2008. // -//=============================================================================== /** * \file KviPointerList.h diff --git a/src/kvilib/core/KviQString.cpp b/src/kvilib/core/KviQString.cpp index 2be3a4faa..387f5f9f5 100644 --- a/src/kvilib/core/KviQString.cpp +++ b/src/kvilib/core/KviQString.cpp @@ -22,11 +22,9 @@ // //============================================================================= -//============================================================================= // // Helper functions for the QString class // -//============================================================================= #include "KviQString.h" #include "KviCString.h" diff --git a/src/kvilib/ext/KviAnimatedPixmapInterface.h b/src/kvilib/ext/KviAnimatedPixmapInterface.h index 40b6c267a..58cc4d169 100644 --- a/src/kvilib/ext/KviAnimatedPixmapInterface.h +++ b/src/kvilib/ext/KviAnimatedPixmapInterface.h @@ -1,6 +1,5 @@ #ifndef _KVIANIPIXINTERFACE_H_ #define _KVIANIPIXINTERFACE_H_ - //============================================================================= // // File : KviAnimatedPixmapInterface.h diff --git a/src/kvilib/ext/KviCommandFormatter.h b/src/kvilib/ext/KviCommandFormatter.h index 169212773..c378e049b 100644 --- a/src/kvilib/ext/KviCommandFormatter.h +++ b/src/kvilib/ext/KviCommandFormatter.h @@ -1,6 +1,5 @@ #ifndef _KVI_CMDFORMATTER_H_ #define _KVI_CMDFORMATTER_H_ - //============================================================================= // // File : KviCommandFormatter.h diff --git a/src/kvilib/ext/KviCryptEngine.h b/src/kvilib/ext/KviCryptEngine.h index af9173967..72a8da808 100644 --- a/src/kvilib/ext/KviCryptEngine.h +++ b/src/kvilib/ext/KviCryptEngine.h @@ -1,6 +1,5 @@ #ifndef _KVI_CRYPT_ENGINE_H_ #define _KVI_CRYPT_ENGINE_H_ - //============================================================================= // // File : KviCryptEngine.h diff --git a/src/kvilib/ext/KviCryptEngineDescription.h b/src/kvilib/ext/KviCryptEngineDescription.h index a42664af0..b84dff7af 100644 --- a/src/kvilib/ext/KviCryptEngineDescription.h +++ b/src/kvilib/ext/KviCryptEngineDescription.h @@ -1,6 +1,5 @@ #ifndef _KVI_CRYPT_ENGINE_DESC_H_ #define _KVI_CRYPT_ENGINE_DESC_H_ - //============================================================================= // // File : KviCryptEngineManager.h @@ -25,7 +24,9 @@ // //============================================================================= +// // this file was originally part of KviCryptEngine.h +// #include "kvi_settings.h" #include "KviHeapObject.h" diff --git a/src/kvilib/ext/KviCryptEngineManager.h b/src/kvilib/ext/KviCryptEngineManager.h index 74845c418..d972ecba2 100644 --- a/src/kvilib/ext/KviCryptEngineManager.h +++ b/src/kvilib/ext/KviCryptEngineManager.h @@ -1,6 +1,5 @@ #ifndef _KVI_CRYPT_ENGINE_MANAGER_H_ #define _KVI_CRYPT_ENGINE_MANAGER_H_ - //============================================================================= // // File : KviCryptEngineManager.h diff --git a/src/kvilib/ext/KviDebugContext.cpp b/src/kvilib/ext/KviDebugContext.cpp index cbade6888..1b5a7f966 100644 --- a/src/kvilib/ext/KviDebugContext.cpp +++ b/src/kvilib/ext/KviDebugContext.cpp @@ -1,9 +1,24 @@ //============================================================================= // -// File : KviDebugContext.cpp -// Creation date : Tue 13 Jul 2010 23:27:23 -// Project : KVIrc Irc client -// Author : Szymon Stefanek <pragma at kvirc dot net> +// File : KviDebugContext.cpp +// Creation date : Tue Jul 13 2010 23:27:23 CEST by Szymon Stefanek +// +// This file is part of the KVIrc IRC client distribution +// Copyright (C) 1999-2010 Szymon Stefanek (pragma at kvirc dot net) +// +// This program is FREE software. You can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the HOPE that it will be USEFUL, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================= diff --git a/src/kvilib/ext/KviDebugContext.h b/src/kvilib/ext/KviDebugContext.h index 627f464a5..27daf05a3 100644 --- a/src/kvilib/ext/KviDebugContext.h +++ b/src/kvilib/ext/KviDebugContext.h @@ -1,6 +1,5 @@ #ifndef _KVIDEBUGCONTEXT_H_ #define _KVIDEBUGCONTEXT_H_ - //============================================================================= // // File : KviDebugContext.h diff --git a/src/kvilib/ext/KviMediaManager.h b/src/kvilib/ext/KviMediaManager.h index 0f55d6179..2caa6eb8d 100644 --- a/src/kvilib/ext/KviMediaManager.h +++ b/src/kvilib/ext/KviMediaManager.h @@ -1,6 +1,5 @@ #ifndef _KVI_MEDIAMANAGER_H_ #define _KVI_MEDIAMANAGER_H_ - //============================================================================= // // File : KviMediaManager.h diff --git a/src/kvilib/ext/KviMediaType.h b/src/kvilib/ext/KviMediaType.h index 85d8bc554..c1cd3c2f5 100644 --- a/src/kvilib/ext/KviMediaType.h +++ b/src/kvilib/ext/KviMediaType.h @@ -1,6 +1,5 @@ #ifndef _KVI_MEDIATYPE_H_ #define _KVI_MEDIATYPE_H_ - //============================================================================= // // File : KviMediaType.h diff --git a/src/kvilib/ext/KviOggTheoraDecoder.cpp b/src/kvilib/ext/KviOggTheoraDecoder.cpp index 9ba2abc35..116477e43 100644 --- a/src/kvilib/ext/KviOggTheoraDecoder.cpp +++ b/src/kvilib/ext/KviOggTheoraDecoder.cpp @@ -22,18 +22,18 @@ // // Based on the example encoder/player from Xiph.Org Foundation: //============================================================================= + // // function: example encoder application; makes an Ogg Theora/Vorbis // file from YUV4MPEG2 and WAV input // last mod: $Id: encoder_example.c 16517 2009-08-25 19:48:57Z giles $ // -//============================================================================= + // // function: example SDL player application; plays Ogg Theora files (with // optional Vorbis audio second stream) // last mod: $Id: player_example.c 16628 2009-10-10 05:50:52Z gmaxwell $ // -//============================================================================= #ifndef COMPILE_DISABLE_OGG_THEORA diff --git a/src/kvilib/ext/KviOggTheoraEncoder.h b/src/kvilib/ext/KviOggTheoraEncoder.h index 9fad18be9..090c18bfe 100644 --- a/src/kvilib/ext/KviOggTheoraEncoder.h +++ b/src/kvilib/ext/KviOggTheoraEncoder.h @@ -1,6 +1,5 @@ #ifndef _KVIOGGTHEORAENCODER_H_ #define _KVIOGGTHEORAENCODER_H_ - //============================================================================= // // File : KviOggTheoraEncoder.h diff --git a/src/kvilib/ext/KviOggTheoraGeometry.h b/src/kvilib/ext/KviOggTheoraGeometry.h index 4c8f47f44..b31b0d95c 100644 --- a/src/kvilib/ext/KviOggTheoraGeometry.h +++ b/src/kvilib/ext/KviOggTheoraGeometry.h @@ -1,6 +1,5 @@ #ifndef _KVIOGGTHEORAGEOMETRY_H_ #define _KVIOGGTHEORAGEOMETRY_H_ - //============================================================================= // // File : KviOggTheoraGeometry.h diff --git a/src/kvilib/ext/KviPixmap.h b/src/kvilib/ext/KviPixmap.h index 10b16384e..ba24434f1 100644 --- a/src/kvilib/ext/KviPixmap.h +++ b/src/kvilib/ext/KviPixmap.h @@ -1,6 +1,5 @@ #ifndef _KVI_PIXMAP_H_ #define _KVI_PIXMAP_H_ - //============================================================================= // // File : KviPixmap.h diff --git a/src/kvilib/ext/KviPixmapUtils.h b/src/kvilib/ext/KviPixmapUtils.h index 6a2dbc98b..3ef930c2a 100644 --- a/src/kvilib/ext/KviPixmapUtils.h +++ b/src/kvilib/ext/KviPixmapUtils.h @@ -1,6 +1,5 @@ #ifndef _KVIPIXMAPUTILS_H_ #define _KVIPIXMAPUTILS_H_ - //============================================================================= // // File : KviPixmapUtils.h diff --git a/src/kvilib/ext/KviProxy.h b/src/kvilib/ext/KviProxy.h index f627bbfad..018b02684 100644 --- a/src/kvilib/ext/KviProxy.h +++ b/src/kvilib/ext/KviProxy.h @@ -1,6 +1,5 @@ #ifndef _KVIPROXY_H_ #define _KVIPROXY_H_ - //============================================================================= // // File : KviProxy.h diff --git a/src/kvilib/ext/KviProxyDataBase.h b/src/kvilib/ext/KviProxyDataBase.h index 47f9b4965..98bc3ca3f 100644 --- a/src/kvilib/ext/KviProxyDataBase.h +++ b/src/kvilib/ext/KviProxyDataBase.h @@ -1,6 +1,5 @@ #ifndef _KVI_PROXYDB_H_ #define _KVI_PROXYDB_H_ - //============================================================================= // // File : KviProxyDataBase.h diff --git a/src/kvilib/ext/KviRegisteredChannelDataBase.h b/src/kvilib/ext/KviRegisteredChannelDataBase.h index ce8a2dd6f..86b270cb3 100644 --- a/src/kvilib/ext/KviRegisteredChannelDataBase.h +++ b/src/kvilib/ext/KviRegisteredChannelDataBase.h @@ -1,6 +1,5 @@ #ifndef _KVIREGCHANDB_H_ #define _KVIREGCHANDB_H_ - //============================================================================= // // File : KviRegisteredChannelDataBase.h diff --git a/src/kvilib/ext/KviRegisteredUser.cpp b/src/kvilib/ext/KviRegisteredUser.cpp index 176abd604..fec63aa61 100644 --- a/src/kvilib/ext/KviRegisteredUser.cpp +++ b/src/kvilib/ext/KviRegisteredUser.cpp @@ -1,6 +1,5 @@ #ifndef _KVIREGUSER_H_ #define _KVIREGUSER_H_ - //============================================================================= // // File : KviRegisteredUser.cpp diff --git a/src/kvilib/ext/KviRegisteredUser.h b/src/kvilib/ext/KviRegisteredUser.h index 8c86415b7..d66a48b7c 100644 --- a/src/kvilib/ext/KviRegisteredUser.h +++ b/src/kvilib/ext/KviRegisteredUser.h @@ -24,7 +24,9 @@ // //============================================================================= +// // this file was originally part of KviRegisteredUserDataBase.h +// #include "kvi_settings.h" #include "KviHeapObject.h" diff --git a/src/kvilib/ext/KviRegisteredUserDataBase.cpp b/src/kvilib/ext/KviRegisteredUserDataBase.cpp index 39d8852c2..975969f6d 100644 --- a/src/kvilib/ext/KviRegisteredUserDataBase.cpp +++ b/src/kvilib/ext/KviRegisteredUserDataBase.cpp @@ -1,4 +1,4 @@ -//================================================================================ +//============================================================================== // // File : KviRegisteredUserDataBase.cpp // Creation date : Sat Sep 09 2000 15:46:12 by Szymon Stefanek @@ -20,7 +20,7 @@ // along with this program. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -//================================================================================ +//============================================================================== #define _KVI_REGUSERDB_CPP_ diff --git a/src/kvilib/ext/KviRegisteredUserDataBase.h b/src/kvilib/ext/KviRegisteredUserDataBase.h index 0dcb7e899..00bd13487 100644 --- a/src/kvilib/ext/KviRegisteredUserDataBase.h +++ b/src/kvilib/ext/KviRegisteredUserDataBase.h @@ -1,6 +1,6 @@ #ifndef _KVI_REGUSERSDB_H_ #define _KVI_REGUSERSDB_H_ -//================================================================================================= +//============================================================================= // // File : KviRegisteredUserDataBase.h // Creation date : Sat Sep 09 2000 15:30:56 by Szymon Stefanek @@ -22,7 +22,7 @@ // along with this program. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -//================================================================================================= +//============================================================================= // // REGISTERED USERS diff --git a/src/kvilib/ext/KviRegisteredUserGroup.h b/src/kvilib/ext/KviRegisteredUserGroup.h index b7865eabc..d2f1042df 100644 --- a/src/kvilib/ext/KviRegisteredUserGroup.h +++ b/src/kvilib/ext/KviRegisteredUserGroup.h @@ -1,6 +1,5 @@ #ifndef _KVIREGUSERGROUP_H_ #define _KVIREGUSERGROUP_H_ - //============================================================================= // // File : KviRegisteredUserGroup.h diff --git a/src/kvilib/ext/KviRegisteredUserMask.h b/src/kvilib/ext/KviRegisteredUserMask.h index 0fb7904db..017553f78 100644 --- a/src/kvilib/ext/KviRegisteredUserMask.h +++ b/src/kvilib/ext/KviRegisteredUserMask.h @@ -1,6 +1,5 @@ #ifndef _KVIREGMASK_H_ #define _KVIREGMASK_H_ - //============================================================================= // // File : KviRegisteredUserMask.h diff --git a/src/kvilib/ext/KviRuntimeInfo.h b/src/kvilib/ext/KviRuntimeInfo.h index 2a4ed2e7e..424753994 100644 --- a/src/kvilib/ext/KviRuntimeInfo.h +++ b/src/kvilib/ext/KviRuntimeInfo.h @@ -1,6 +1,5 @@ #ifndef _KVI_OSINFO_H_ #define _KVI_OSINFO_H_ - //============================================================================= // // File : KviRuntimeInfo.h diff --git a/src/kvilib/ext/KviSharedFile.h b/src/kvilib/ext/KviSharedFile.h index d4584e55e..e3f3ac17f 100644 --- a/src/kvilib/ext/KviSharedFile.h +++ b/src/kvilib/ext/KviSharedFile.h @@ -1,6 +1,5 @@ #ifndef _KVISHAREDFILE_H_ #define _KVISHAREDFILE_H_ - //============================================================================= // // File : KviSharedFile.h diff --git a/src/kvilib/ext/KviStringConversion.h b/src/kvilib/ext/KviStringConversion.h index a8167b805..877347c0b 100644 --- a/src/kvilib/ext/KviStringConversion.h +++ b/src/kvilib/ext/KviStringConversion.h @@ -1,6 +1,5 @@ #ifndef _KVI_STRINGCONVERSION_H_ #define _KVI_STRINGCONVERSION_H_ - //============================================================================= // // File : KviStringConversion.h diff --git a/src/kvilib/file/KviFile.h b/src/kvilib/file/KviFile.h index 5d19a48ce..0b0d9f554 100644 --- a/src/kvilib/file/KviFile.h +++ b/src/kvilib/file/KviFile.h @@ -1,6 +1,5 @@ #ifndef _KVI_FILE_H_ #define _KVI_FILE_H_ - //============================================================================= // // File : KviFile.h diff --git a/src/kvilib/irc/KviAvatar.h b/src/kvilib/irc/KviAvatar.h index 2bf59398e..1ff37060c 100644 --- a/src/kvilib/irc/KviAvatar.h +++ b/src/kvilib/irc/KviAvatar.h @@ -1,6 +1,5 @@ #ifndef _KVI_AVATAR_H_ #define _KVI_AVATAR_H_ - //============================================================================= // // File : KviAvatar.h diff --git a/src/kvilib/irc/KviControlCodes.h b/src/kvilib/irc/KviControlCodes.h index 760050547..5fac61076 100644 --- a/src/kvilib/irc/KviControlCodes.h +++ b/src/kvilib/irc/KviControlCodes.h @@ -1,6 +1,5 @@ #ifndef _KVI_CONTROLCODES_H_ #define _KVI_CONTROLCODES_H_ - //============================================================================= // // File : KviControlCodes.h @@ -26,11 +25,11 @@ // //============================================================================= -//============================================================================= +// // This file contains non-customizable standards // -// Better do not touch this :) -//============================================================================= +// Better to not touch this :) +// /** * \file KviControlCodes.h diff --git a/src/kvilib/irc/KviIrcMask.h b/src/kvilib/irc/KviIrcMask.h index b4a3d37c5..b440abf64 100644 --- a/src/kvilib/irc/KviIrcMask.h +++ b/src/kvilib/irc/KviIrcMask.h @@ -1,6 +1,5 @@ #ifndef _KVI_IRCMASK_H_ #define _KVI_IRCMASK_H_ - //============================================================================= // // File : KviIrcMask.h @@ -24,9 +23,11 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================= + +// // originally this file was named kvi_ircuser.h and the class was KviIrcUser // ported to UNICODE on 2004.10.28 1:50 am -//============================================================================= +// /** * \file KviIrcMask.h diff --git a/src/kvilib/irc/KviIrcServer.h b/src/kvilib/irc/KviIrcServer.h index e0df2d5f8..a638ec55d 100644 --- a/src/kvilib/irc/KviIrcServer.h +++ b/src/kvilib/irc/KviIrcServer.h @@ -1,6 +1,5 @@ #ifndef _KVI_IRCSERVER_H_ #define _KVI_IRCSERVER_H_ - //============================================================================= // // File : KviIrcServer.h diff --git a/src/kvilib/irc/KviIrcServerReconnectInfo.h b/src/kvilib/irc/KviIrcServerReconnectInfo.h index 1957e1424..67bfca89e 100644 --- a/src/kvilib/irc/KviIrcServerReconnectInfo.h +++ b/src/kvilib/irc/KviIrcServerReconnectInfo.h @@ -1,6 +1,5 @@ #ifndef _KVI_IRCSERVER_INFO_H_ #define _KVI_IRCSERVER_INFO_H_ - //============================================================================= // // File : KviIrcServerReconnectInfo.h diff --git a/src/kvilib/irc/KviIrcUserDataBase.h b/src/kvilib/irc/KviIrcUserDataBase.h index a8fbb2f77..f2fdee8e2 100644 --- a/src/kvilib/irc/KviIrcUserDataBase.h +++ b/src/kvilib/irc/KviIrcUserDataBase.h @@ -1,6 +1,5 @@ #ifndef _KVI_IRCUSERDB_H_ #define _KVI_IRCUSERDB_H_ - //============================================================================= // // File : KviIrcUserDataBase.h diff --git a/src/kvilib/irc/KviIrcUserEntry.h b/src/kvilib/irc/KviIrcUserEntry.h index 044f46184..542c4b982 100644 --- a/src/kvilib/irc/KviIrcUserEntry.h +++ b/src/kvilib/irc/KviIrcUserEntry.h @@ -1,6 +1,5 @@ #ifndef _KVI_IRCUSER_ENTRY_H_ #define _KVI_IRCUSER_ENTRY_H_ - //============================================================================= // // File : KviIrcUserEntry.h diff --git a/src/kvilib/locale/KviLocale.h b/src/kvilib/locale/KviLocale.h index 0cdc27102..383989a85 100644 --- a/src/kvilib/locale/KviLocale.h +++ b/src/kvilib/locale/KviLocale.h @@ -1,6 +1,5 @@ #ifndef _KVI_LOCALE_H_ #define _KVI_LOCALE_H_ - //============================================================================= // // File : KviLocale.h diff --git a/src/kvilib/net/KviDnsResolver.h b/src/kvilib/net/KviDnsResolver.h index 7f5720b96..15edaa19a 100644 --- a/src/kvilib/net/KviDnsResolver.h +++ b/src/kvilib/net/KviDnsResolver.h @@ -1,6 +1,5 @@ #ifndef _KVI_DNS_H_ #define _KVI_DNS_H_ - //============================================================================= // // File : KviDnsResolver.h diff --git a/src/kvilib/net/kvi_socket.h b/src/kvilib/net/kvi_socket.h index 649d52b06..e7a4e686a 100644 --- a/src/kvilib/net/kvi_socket.h +++ b/src/kvilib/net/kvi_socket.h @@ -24,9 +24,9 @@ // //============================================================================= -//============================================================================= +// // Socket stuff abstraction layer -//============================================================================= +// #include "kvi_settings.h" #include "kvi_sockettype.h" // <--- this includes <winsock2.h> if needed diff --git a/src/kvilib/net/kvi_sockettype.h b/src/kvilib/net/kvi_sockettype.h index 745fcc4e3..039ba2bfe 100644 --- a/src/kvilib/net/kvi_sockettype.h +++ b/src/kvilib/net/kvi_sockettype.h @@ -24,9 +24,9 @@ // //============================================================================= -//============================================================================= +// // Socket stuff abstraction layer -//============================================================================= +// #include "kvi_settings.h" diff --git a/src/kvilib/system/KviByteOrder.h b/src/kvilib/system/KviByteOrder.h index d5bfa9402..92fd2158a 100644 --- a/src/kvilib/system/KviByteOrder.h +++ b/src/kvilib/system/KviByteOrder.h @@ -1,6 +1,5 @@ #ifndef _KVI_BYTEORDER_H_ #define _KVI_BYTEORDER_H_ - //============================================================================= // // File : KviByteOrder.h diff --git a/src/kvilib/system/KviEnvironment.h b/src/kvilib/system/KviEnvironment.h index 76dd094e2..7969ac9e4 100644 --- a/src/kvilib/system/KviEnvironment.h +++ b/src/kvilib/system/KviEnvironment.h @@ -1,6 +1,5 @@ #ifndef _KVI_ENV_H_ #define _KVI_ENV_H_ - //============================================================================= // // File : KviEnvironment.h diff --git a/src/kvilib/system/kvi_stdarg.h b/src/kvilib/system/kvi_stdarg.h index f41c4c8ea..d90470502 100644 --- a/src/kvilib/system/kvi_stdarg.h +++ b/src/kvilib/system/kvi_stdarg.h @@ -1,6 +1,5 @@ #ifndef _KVI_STDARG_H_ #define _KVI_STDARG_H_ - //============================================================================= // // File : kvi_stdarg.h diff --git a/src/kvilib/tal/KviTalApplication.h b/src/kvilib/tal/KviTalApplication.h index b12d2f037..b13fe266d 100644 --- a/src/kvilib/tal/KviTalApplication.h +++ b/src/kvilib/tal/KviTalApplication.h @@ -23,10 +23,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================= + // // This file was originally named kvi_appbase_kde.h, created on 1999 // -//============================================================================= /** * \file KviTalApplication.h diff --git a/src/kvilib/tal/KviTalFileDialog.h b/src/kvilib/tal/KviTalFileDialog.h index 3aadf0924..dca8e4ed9 100644 --- a/src/kvilib/tal/KviTalFileDialog.h +++ b/src/kvilib/tal/KviTalFileDialog.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_FILEDIALOG_H_ #define _KVI_TAL_FILEDIALOG_H_ - //============================================================================= // // File : KviTalFileDialog.h diff --git a/src/kvilib/tal/KviTalGroupBox.h b/src/kvilib/tal/KviTalGroupBox.h index 2c653b65c..bce8af56d 100644 --- a/src/kvilib/tal/KviTalGroupBox.h +++ b/src/kvilib/tal/KviTalGroupBox.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_GROUPBOX_H_ #define _KVI_TAL_GROUPBOX_H_ - //============================================================================= // // File : KviTalGroupBox.h diff --git a/src/kvilib/tal/KviTalHBox.h b/src/kvilib/tal/KviTalHBox.h index 9aa37c09f..e9616d52c 100644 --- a/src/kvilib/tal/KviTalHBox.h +++ b/src/kvilib/tal/KviTalHBox.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_HBOX_H_ #define _KVI_TAL_HBOX_H_ - //============================================================================= // // File : KviTalHBox.h diff --git a/src/kvilib/tal/KviTalIconAndRichTextItemDelegate.h b/src/kvilib/tal/KviTalIconAndRichTextItemDelegate.h index 67f787acf..7e24b5718 100644 --- a/src/kvilib/tal/KviTalIconAndRichTextItemDelegate.h +++ b/src/kvilib/tal/KviTalIconAndRichTextItemDelegate.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_DELEGATES_H_ #define _KVI_TAL_DELEGATES_H_ - //============================================================================= // // File : KviTalIconAndRichTextItemDelegate.h diff --git a/src/kvilib/tal/KviTalListWidget.h b/src/kvilib/tal/KviTalListWidget.h index 07a0de776..6a6de7050 100644 --- a/src/kvilib/tal/KviTalListWidget.h +++ b/src/kvilib/tal/KviTalListWidget.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_LISTWIDGET_H_ #define _KVI_TAL_LISTWIDGET_H_ - //============================================================================= // // File : KviTalListWidget.h diff --git a/src/kvilib/tal/KviTalSplitter.h b/src/kvilib/tal/KviTalSplitter.h index 968e3aab7..2ff68692b 100644 --- a/src/kvilib/tal/KviTalSplitter.h +++ b/src/kvilib/tal/KviTalSplitter.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_SPLITTER_H_ #define _KVI_TAL_SPLITTER_H_ - //============================================================================= // // File : KviTalSplitter.cpp diff --git a/src/kvilib/tal/KviTalTabDialog.h b/src/kvilib/tal/KviTalTabDialog.h index b3bd9f443..349403234 100644 --- a/src/kvilib/tal/KviTalTabDialog.h +++ b/src/kvilib/tal/KviTalTabDialog.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_TABDIALOG_H_ #define _KVI_TAL_TABDIALOG_H_ - //============================================================================= // // File : KviTalTabDialog.h diff --git a/src/kvilib/tal/KviTalTableWidget.h b/src/kvilib/tal/KviTalTableWidget.h index 4e9d849d3..331d17569 100644 --- a/src/kvilib/tal/KviTalTableWidget.h +++ b/src/kvilib/tal/KviTalTableWidget.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_TABLEWIDGET_H_ #define _KVI_TAL_TABLEWIDGET_H_ - //============================================================================= // // File : KviTalTableWidget.h diff --git a/src/kvilib/tal/KviTalToolTip.h b/src/kvilib/tal/KviTalToolTip.h index b4f1bb93b..41f8dc54f 100644 --- a/src/kvilib/tal/KviTalToolTip.h +++ b/src/kvilib/tal/KviTalToolTip.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_TOOLTIP_H_ #define _KVI_TAL_TOOLTIP_H_ - //============================================================================= // // File : KviTalToolTip.h diff --git a/src/kvilib/tal/KviTalVBox.h b/src/kvilib/tal/KviTalVBox.h index 944056a45..1a33517e9 100644 --- a/src/kvilib/tal/KviTalVBox.h +++ b/src/kvilib/tal/KviTalVBox.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_VBOX_H_ #define _KVI_TAL_VBOX_H_ - //============================================================================= // // File : KviTalVBox.h diff --git a/src/kvilib/tal/KviTalWizard.h b/src/kvilib/tal/KviTalWizard.h index ecbcb5ba4..9fe5888f2 100644 --- a/src/kvilib/tal/KviTalWizard.h +++ b/src/kvilib/tal/KviTalWizard.h @@ -1,6 +1,5 @@ #ifndef _KVI_TAL_WIZARD_H_ #define _KVI_TAL_WIZARD_H_ - //============================================================================= // // File : KviTalWizard.h diff --git a/src/kvirc/kernel/KviApplication.h b/src/kvirc/kernel/KviApplication.h index 2837c6107..84cc73df3 100644 --- a/src/kvirc/kernel/KviApplication.h +++ b/src/kvirc/kernel/KviApplication.h @@ -1,6 +1,5 @@ #ifndef _KVI_APP_H_ #define _KVI_APP_H_ - //============================================================================= // // File : KviApplication.h diff --git a/src/kvirc/kernel/KviApplication_filesystem.cpp b/src/kvirc/kernel/KviApplication_filesystem.cpp index 120cbeea1..e3cc1ca8a 100644 --- a/src/kvirc/kernel/KviApplication_filesystem.cpp +++ b/src/kvirc/kernel/KviApplication_filesystem.cpp @@ -385,7 +385,8 @@ void KviApplication::completeDirectory(const QString & word, KviPointerList<QStr } } -//============= getChannelDumpLogFileName ==============// +// +// getChannelDumpLogFileName // // Returns a valid filename for the channel dump log // @@ -409,7 +410,8 @@ void KviApplication::getChannelDumpLogFileName(QString & szStr) KviFileUtils::adjustFilePath(szStr); } -//========================= findImage ===========================// +// +// findImage // // Find a file inside the default "Image" directories // This should be thread safe (and in fact IS used by other threads) @@ -686,7 +688,8 @@ bool KviApplication::findAudioFile(QString & szRetPath, const QString & szFileNa return false; } -//================== getReadOnlyConfigPath ====================// +// +// getReadOnlyConfigPath // // We want to READ a config file...find it // diff --git a/src/kvirc/kernel/KviFileTransfer.h b/src/kvirc/kernel/KviFileTransfer.h index cf875ba64..987be987f 100644 --- a/src/kvirc/kernel/KviFileTransfer.h +++ b/src/kvirc/kernel/KviFileTransfer.h @@ -1,6 +1,5 @@ #ifndef _KVI_FILETRANSFER_H_ #define _KVI_FILETRANSFER_H_ - //============================================================================= // // File : KviFileTransfer.h diff --git a/src/kvirc/kernel/KviIconManager.h b/src/kvirc/kernel/KviIconManager.h index ed48d822b..66fd1e70b 100644 --- a/src/kvirc/kernel/KviIconManager.h +++ b/src/kvirc/kernel/KviIconManager.h @@ -1,6 +1,5 @@ #ifndef _KVI_ICONMANAGER_H_ #define _KVI_ICONMANAGER_H_ - //============================================================================= // // File : KviIconManager.h diff --git a/src/kvirc/kernel/KviNotifyList.h b/src/kvirc/kernel/KviNotifyList.h index 230a1859f..9b1b877db 100644 --- a/src/kvirc/kernel/KviNotifyList.h +++ b/src/kvirc/kernel/KviNotifyList.h @@ -1,6 +1,5 @@ #ifndef _KVI_NOTIFYLIST_H_ #define _KVI_NOTIFYLIST_H_ - //============================================================================= // // File : KviNotifyList.h diff --git a/src/kvirc/kernel/KviOptions.h b/src/kvirc/kernel/KviOptions.h index 64bdc2893..05d58a3a7 100644 --- a/src/kvirc/kernel/KviOptions.h +++ b/src/kvirc/kernel/KviOptions.h @@ -1,6 +1,5 @@ #ifndef _KVI_OPTIONS_H_ #define _KVI_OPTIONS_H_ - //============================================================================= // // File : KviOptions.h diff --git a/src/kvirc/kernel/KviTextIconManager.h b/src/kvirc/kernel/KviTextIconManager.h index 159c307b4..933eda307 100644 --- a/src/kvirc/kernel/KviTextIconManager.h +++ b/src/kvirc/kernel/KviTextIconManager.h @@ -1,6 +1,5 @@ #ifndef _KVI_TEXTICONMANAGER_H_ #define _KVI_TEXTICONMANAGER_H_ - //============================================================================= // // File : KviTextIconManager.h diff --git a/src/kvirc/kernel/KviTheme.h b/src/kvirc/kernel/KviTheme.h index cee573eb7..4c6dc6d9b 100644 --- a/src/kvirc/kernel/KviTheme.h +++ b/src/kvirc/kernel/KviTheme.h @@ -1,6 +1,5 @@ #ifndef _KVI_THEME_H_ #define _KVI_THEME_H_ - //============================================================================= // // File : KviTheme.h diff --git a/src/kvirc/kernel/KviUserAction.h b/src/kvirc/kernel/KviUserAction.h index b8b9ea566..24925e5ad 100644 --- a/src/kvirc/kernel/KviUserAction.h +++ b/src/kvirc/kernel/KviUserAction.h @@ -1,6 +1,5 @@ #ifndef _KVI_USERACTION_H_ #define _KVI_USERACTION_H_ - //============================================================================= // // File : KviUserAction.h diff --git a/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp b/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp index a82260d55..71e800aba 100644 --- a/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp +++ b/src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp @@ -1,4 +1,4 @@ -// //============================================================================= +//============================================================================= // // File : KviKvsCoreSimpleCommands_sz.cpp // Creation date : Fri 31 Oct 2003 00:04:25 by Szymon Stefanek diff --git a/src/kvirc/module/KviModule.h b/src/kvirc/module/KviModule.h index 8ef67ad88..e624fa4c3 100644 --- a/src/kvirc/module/KviModule.h +++ b/src/kvirc/module/KviModule.h @@ -1,6 +1,5 @@ #ifndef _KVI_MODULE_H_ #define _KVI_MODULE_H_ - //============================================================================= // // File : KviModule.h diff --git a/src/kvirc/module/KviModuleManager.h b/src/kvirc/module/KviModuleManager.h index 2db762b74..96c924c22 100644 --- a/src/kvirc/module/KviModuleManager.h +++ b/src/kvirc/module/KviModuleManager.h @@ -1,6 +1,5 @@ #ifndef _KVI_MODULEMANAGER_H_ #define _KVI_MODULEMANAGER_H_ - //============================================================================= // // File : KviModuleManager.h diff --git a/src/kvirc/sparser/KviIrcServerParser.h b/src/kvirc/sparser/KviIrcServerParser.h index 3b6a347f9..027bcf1f7 100644 --- a/src/kvirc/sparser/KviIrcServerParser.h +++ b/src/kvirc/sparser/KviIrcServerParser.h @@ -1,6 +1,5 @@ #ifndef _KVI_SPARSER_H_ #define _KVI_SPARSER_H_ - //============================================================================= // // File : KviIrcServerParser.h diff --git a/src/kvirc/sparser/KviIrcServerParser_literalHandlers.cpp b/src/kvirc/sparser/KviIrcServerParser_literalHandlers.cpp index 9271c6221..39fe4b38e 100644 --- a/src/kvirc/sparser/KviIrcServerParser_literalHandlers.cpp +++ b/src/kvirc/sparser/KviIrcServerParser_literalHandlers.cpp @@ -1,4 +1,4 @@ -//=============================================================================== +//============================================================================= // // File : KviIrcServerParser_literalHandlers.cpp // Creation date : Thu Aug 3 2000 01:29:12 by Szymon Stefanek @@ -21,7 +21,7 @@ // along with this program. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -//=============================================================================== +//============================================================================= #include "KviIrcServerParser.h" #include "KviWindow.h" diff --git a/src/kvirc/ui/KviConsoleWindow.h b/src/kvirc/ui/KviConsoleWindow.h index b0aa49724..a7ee50666 100644 --- a/src/kvirc/ui/KviConsoleWindow.h +++ b/src/kvirc/ui/KviConsoleWindow.h @@ -63,11 +63,9 @@ class KviChannelWindow; class KviQueryWindow; #endif -//================================================================================================= // // The console window // -//================================================================================================= #define KVI_CONSOLE_FLAG_FIRSTINAPP 1 #define KVI_CONSOLE_FLAG_FIRSTINFRAME 2 diff --git a/src/kvirc/ui/KviInputEditor.cpp b/src/kvirc/ui/KviInputEditor.cpp index 3cac41260..512e74c91 100644 --- a/src/kvirc/ui/KviInputEditor.cpp +++ b/src/kvirc/ui/KviInputEditor.cpp @@ -21,8 +21,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================ + +// // This file was originally part of KviInput.h -//============================================================================ +// #include "KviApplication.h" #include "KviColorSelectionWindow.h" diff --git a/src/kvirc/ui/KviInputEditor.h b/src/kvirc/ui/KviInputEditor.h index 458ec3568..b73492ef4 100644 --- a/src/kvirc/ui/KviInputEditor.h +++ b/src/kvirc/ui/KviInputEditor.h @@ -23,8 +23,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================ + +// // This file was originally part of KviInput.h -//============================================================================ +// /** * \file KviInputEditor.h diff --git a/src/kvirc/ui/KviInputHistory.cpp b/src/kvirc/ui/KviInputHistory.cpp index 3093f8868..5e2f44626 100644 --- a/src/kvirc/ui/KviInputHistory.cpp +++ b/src/kvirc/ui/KviInputHistory.cpp @@ -21,8 +21,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================ + +// // This file was originally part of KviInput.h -//============================================================================ +// #include "KviInputHistory.h" #include "KviConfigurationFile.h" diff --git a/src/kvirc/ui/KviInputHistory.h b/src/kvirc/ui/KviInputHistory.h index 6c462de23..ab251aaf7 100644 --- a/src/kvirc/ui/KviInputHistory.h +++ b/src/kvirc/ui/KviInputHistory.h @@ -23,8 +23,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================ + +// // This file was originally part of KviInput.h -//============================================================================ +// /** * \file KviInputHistory.h diff --git a/src/kvirc/ui/KviIrcView.cpp b/src/kvirc/ui/KviIrcView.cpp index 0e018249d..b819b7451 100644 --- a/src/kvirc/ui/KviIrcView.cpp +++ b/src/kvirc/ui/KviIrcView.cpp @@ -720,7 +720,9 @@ void KviIrcView::appendLine(KviIrcViewLine * ptr, bool bRepaint) } } -//============== removeHeadLine ===============// +// +// removeHeadLine +// void KviIrcView::removeHeadLine(bool bRepaint) { diff --git a/src/kvirc/ui/KviIrcView.h b/src/kvirc/ui/KviIrcView.h index be5007881..309068845 100644 --- a/src/kvirc/ui/KviIrcView.h +++ b/src/kvirc/ui/KviIrcView.h @@ -178,7 +178,6 @@ public: void setPrivateBackgroundPixmap(const QPixmap & pixmap, bool bRepaint = true); bool hasPrivateBackgroundPixmap() { return (m_pPrivateBackgroundPixmap != 0); }; - //============================================================================================== // Logging // Stops previous logging session too... bool startLogging(const QString & fname = QString(), bool bPrependCurBuffer = false); @@ -187,7 +186,6 @@ public: void getLogFileName(QString & buffer); void add2Log(const QString & szBuffer, int iMsgType = 0, bool bPrependDate = false); - //============================================================================================== // Channel view splitting void setMasterView(KviIrcView * v); void splitMessagesTo(KviIrcView * v); diff --git a/src/kvirc/ui/KviIrcView_events.cpp b/src/kvirc/ui/KviIrcView_events.cpp index 51d694aa1..0b4fad96b 100644 --- a/src/kvirc/ui/KviIrcView_events.cpp +++ b/src/kvirc/ui/KviIrcView_events.cpp @@ -21,10 +21,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //=========================================================================== + // // This file was originally part of KviIrcView.cpp // -//=========================================================================== #include "KviChannelWindow.h" #include "KviKvsEventTriggers.h" diff --git a/src/kvirc/ui/KviIrcView_getTextLine.cpp b/src/kvirc/ui/KviIrcView_getTextLine.cpp index 9fd9d6f63..03bc9a029 100644 --- a/src/kvirc/ui/KviIrcView_getTextLine.cpp +++ b/src/kvirc/ui/KviIrcView_getTextLine.cpp @@ -21,10 +21,11 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //=========================================================================== + // // This file was originally part of KviIrcView.cpp // -//=========================================================================== + #include "KviChannelWindow.h" #include "KviIrcView.h" diff --git a/src/kvirc/ui/KviIrcView_loghandling.cpp b/src/kvirc/ui/KviIrcView_loghandling.cpp index 2e691caf7..4c240f481 100644 --- a/src/kvirc/ui/KviIrcView_loghandling.cpp +++ b/src/kvirc/ui/KviIrcView_loghandling.cpp @@ -21,10 +21,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //=========================================================================== + // // This file was originally part of KviIrcView.cpp // -//=========================================================================== #include "KviIrcView.h" #include "KviIrcView_private.h" diff --git a/src/kvirc/ui/KviIrcView_private.h b/src/kvirc/ui/KviIrcView_private.h index 927f4ece0..2462b04dd 100644 --- a/src/kvirc/ui/KviIrcView_private.h +++ b/src/kvirc/ui/KviIrcView_private.h @@ -28,9 +28,9 @@ #include <QString> -//============================================================================= +// // Internal data structures -//============================================================================= +// // Force the structs to be packed... #ifdef COMPILE_ON_WINDOWS @@ -148,9 +148,9 @@ typedef struct _KviIrcViewWrappedBlockSelectionInfoTag #undef _KVI_PACKED #endif //!COMPILE_ON_WINDOWS -//========================================================================================================= +// // Screen layout -//========================================================================================================= +// //FIRST LINE (prev_line = 0) <---m_pFirstLine //LINE diff --git a/src/kvirc/ui/KviIrcView_tools.h b/src/kvirc/ui/KviIrcView_tools.h index 65ccf1013..1aa34f91d 100644 --- a/src/kvirc/ui/KviIrcView_tools.h +++ b/src/kvirc/ui/KviIrcView_tools.h @@ -55,9 +55,9 @@ public: void doTip(const QRect & rct, const QString & str) { tip(rct, str); }; }; -//========================================================================================================= +// // Item for the filter list view -//========================================================================================================= +// class KviIrcViewToolWidget; diff --git a/src/kvirc/ui/KviMainWindow.h b/src/kvirc/ui/KviMainWindow.h index e9a773724..c9751438b 100644 --- a/src/kvirc/ui/KviMainWindow.h +++ b/src/kvirc/ui/KviMainWindow.h @@ -24,12 +24,10 @@ // //============================================================================= -//============================================================================= // // KviMainWindow: // The main window for the KVIrc application // -//============================================================================= #include "kvi_settings.h" diff --git a/src/kvirc/ui/KviMenuBar.h b/src/kvirc/ui/KviMenuBar.h index 58ba3f958..3bd63b9f7 100644 --- a/src/kvirc/ui/KviMenuBar.h +++ b/src/kvirc/ui/KviMenuBar.h @@ -1,6 +1,5 @@ #ifndef _KVI_MENUBAR_H_ #define _KVI_MENUBAR_H_ - //============================================================================= // // File : KviMenuBar.h diff --git a/src/kvirc/ui/KviModeEditor.h b/src/kvirc/ui/KviModeEditor.h index 017393c45..a63a3e28a 100644 --- a/src/kvirc/ui/KviModeEditor.h +++ b/src/kvirc/ui/KviModeEditor.h @@ -37,10 +37,9 @@ class QPushButton; class KviIrcConnectionServerInfo; class KviChannelWindow; -////////////////////////////////////////////////////////////////////// +// // class KviModeEditor // -////////////////////////////////////////////////////////////////////// class KVIRC_API KviModeEditor : public KviWindowToolWidget { diff --git a/src/kvirc/ui/KviModeWidget.h b/src/kvirc/ui/KviModeWidget.h index 6a3601587..0aea5182f 100644 --- a/src/kvirc/ui/KviModeWidget.h +++ b/src/kvirc/ui/KviModeWidget.h @@ -1,6 +1,5 @@ #ifndef _KVI_MODEW_H_ #define _KVI_MODEW_H_ - //============================================================================ // // File : KviModeWidget.h diff --git a/src/kvirc/ui/KviOptionsWidget.h b/src/kvirc/ui/KviOptionsWidget.h index c76d1a6d8..e28394d24 100644 --- a/src/kvirc/ui/KviOptionsWidget.h +++ b/src/kvirc/ui/KviOptionsWidget.h @@ -1,6 +1,5 @@ #ifndef _KVI_OPTIONSWIDGET_H_ #define _KVI_OPTIONSWIDGET_H_ - //============================================================================= // // File : KviOptionsWidget.h diff --git a/src/kvirc/ui/KviSelectors.h b/src/kvirc/ui/KviSelectors.h index e17574166..810b68d56 100644 --- a/src/kvirc/ui/KviSelectors.h +++ b/src/kvirc/ui/KviSelectors.h @@ -1,6 +1,5 @@ #ifndef _KVI_SELECTORS_H_ #define _KVI_SELECTORS_H_ - //============================================================================= // // File : KviSelectors.h diff --git a/src/kvirc/ui/KviWindowToolWidget.h b/src/kvirc/ui/KviWindowToolWidget.h index c5edd1a22..bc806347c 100644 --- a/src/kvirc/ui/KviWindowToolWidget.h +++ b/src/kvirc/ui/KviWindowToolWidget.h @@ -1,6 +1,5 @@ #ifndef _KVI_TOOLWINDOWS_CONTAINER_H_ #define _KVI_TOOLWINDOWS_CONTAINER_H_ - //============================================================================= // // File : KviWindowToolWidget.h diff --git a/src/modules/codetester/libkvicodetester.cpp b/src/modules/codetester/libkvicodetester.cpp index bae8fbc3d..f8161ff07 100644 --- a/src/modules/codetester/libkvicodetester.cpp +++ b/src/modules/codetester/libkvicodetester.cpp @@ -1,4 +1,4 @@ -//=============================================================================== +//============================================================================= // // File : libkvicodetester.cpp // Creation date : Mon 23 Dec 2002 20:23:59 2002 GMT by Szymon Stefanek @@ -20,7 +20,7 @@ // along with this program. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -//=============================================================================== +//============================================================================= #include "CodeTesterWindow.h" diff --git a/src/modules/editor/ScriptEditorImplementation.h b/src/modules/editor/ScriptEditorImplementation.h index f1d55fe2e..06c023ad5 100644 --- a/src/modules/editor/ScriptEditorImplementation.h +++ b/src/modules/editor/ScriptEditorImplementation.h @@ -1,6 +1,5 @@ #ifndef _SCRIPTEDITOR_H_ #define _SCRIPTEDITOR_H_ - //============================================================================= // // File : ScriptEditorImplementation.h diff --git a/src/modules/objects/KvsObject_checkBox.h b/src/modules/objects/KvsObject_checkBox.h index 3b11581d5..1db7575f8 100644 --- a/src/modules/objects/KvsObject_checkBox.h +++ b/src/modules/objects/KvsObject_checkBox.h @@ -1,6 +1,5 @@ #ifndef _CLASS_CHECKBOX_H_ #define _CLASS_CHECKBOX_H_ - //============================================================================= // // File : KvsObject_checkBox.h diff --git a/src/modules/objects/KvsObject_colorDialog.h b/src/modules/objects/KvsObject_colorDialog.h index b7a293c3c..35321731c 100644 --- a/src/modules/objects/KvsObject_colorDialog.h +++ b/src/modules/objects/KvsObject_colorDialog.h @@ -1,6 +1,5 @@ #ifndef _CLASS_COLORDIALOG_H_ #define _CLASS_COLORDIALOG_H_ - //============================================================================= // // File : KvsObject_colorDialog.h diff --git a/src/modules/objects/KvsObject_comboBox.h b/src/modules/objects/KvsObject_comboBox.h index 22af362cd..2d14c01f9 100644 --- a/src/modules/objects/KvsObject_comboBox.h +++ b/src/modules/objects/KvsObject_comboBox.h @@ -1,6 +1,5 @@ #ifndef _CLASS_COMBOBOX_H_ #define _CLASS_COMBOBOX_H_ - //============================================================================= // // File : KvsObject_comboBox.h diff --git a/src/modules/options/OptionsWidget_avatar.h b/src/modules/options/OptionsWidget_avatar.h index e0fabffca..2aa2ca0b7 100644 --- a/src/modules/options/OptionsWidget_avatar.h +++ b/src/modules/options/OptionsWidget_avatar.h @@ -1,6 +1,5 @@ #ifndef _OPTW_AVATAR_H_ #define _OPTW_AVATAR_H_ - //============================================================================= // // File : OptionsWidget_avatar.cpp diff --git a/src/modules/options/OptionsWidget_channel.cpp b/src/modules/options/OptionsWidget_channel.cpp index 3a0c3e314..1f778f694 100644 --- a/src/modules/options/OptionsWidget_channel.cpp +++ b/src/modules/options/OptionsWidget_channel.cpp @@ -21,10 +21,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================= + // // This file was originally part of OptionsWidget_irc.cpp // -//============================================================================= #include "OptionsWidget_channel.h" diff --git a/src/modules/options/OptionsWidget_channel.h b/src/modules/options/OptionsWidget_channel.h index 09d2c61e2..d764f304b 100644 --- a/src/modules/options/OptionsWidget_channel.h +++ b/src/modules/options/OptionsWidget_channel.h @@ -23,10 +23,10 @@ // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // //============================================================================= + // // This file was originally part of OptionsWidget_irc.h // -//============================================================================= #include "KviOptionsWidget.h" diff --git a/src/modules/options/OptionsWidget_identity.h b/src/modules/options/OptionsWidget_identity.h index 9e63450f1..6193ad09a 100644 --- a/src/modules/options/OptionsWidget_identity.h +++ b/src/modules/options/OptionsWidget_identity.h @@ -1,6 +1,5 @@ #ifndef _OPTW_IDENTITY_H_ #define _OPTW_IDENTITY_H_ - //============================================================================= // // File : OptionsWidget_identity.h diff --git a/src/modules/options/OptionsWidget_input.h b/src/modules/options/OptionsWidget_input.h index 19b3fb6ad..4e6867b49 100644 --- a/src/modules/options/OptionsWidget_input.h +++ b/src/modules/options/OptionsWidget_input.h @@ -1,6 +1,5 @@ #ifndef _OPTW_INPUT_H_ #define _OPTW_INPUT_H_ - //============================================================================= // // File : OptionsWidget_input.h diff --git a/src/modules/options/OptionsWidget_interfaceFeatures.h b/src/modules/options/OptionsWidget_interfaceFeatures.h index 2ae21508b..16a197e0a 100644 --- a/src/modules/options/OptionsWidget_interfaceFeatures.h +++ b/src/modules/options/OptionsWidget_interfaceFeatures.h @@ -1,6 +1,5 @@ #ifndef _OPTW_INTERFACEFEATURES_H_ #define _OPTW_INTERFACEFEATURES_H_ - //============================================================================= // // File : OptionsWidget_interfaceFeatures.h diff --git a/src/modules/options/OptionsWidget_ircView.h b/src/modules/options/OptionsWidget_ircView.h index ccbd67aca..1d184b6b1 100644 --- a/src/modules/options/OptionsWidget_ircView.h +++ b/src/modules/options/OptionsWidget_ircView.h @@ -1,6 +1,5 @@ #ifndef _OPTW_IRCVIEW_H_ #define _OPTW_IRCVIEW_H_ - //============================================================================= // // File : OptionsWidget_ircView.h diff --git a/src/modules/options/OptionsWidget_nickserv.h b/src/modules/options/OptionsWidget_nickserv.h index d1b82cfa6..cd7330487 100644 --- a/src/modules/options/OptionsWidget_nickserv.h +++ b/src/modules/options/OptionsWidget_nickserv.h @@ -1,6 +1,5 @@ #ifndef _OPTW_NICKSERV_H_ #define _OPTW_NICKSERV_H_ - //============================================================================= // // File : OptionsWidget_nickserv.h diff --git a/src/modules/options/OptionsWidget_notifier.h b/src/modules/options/OptionsWidget_notifier.h index 00eb5758c..167feb6b6 100644 --- a/src/modules/options/OptionsWidget_notifier.h +++ b/src/modules/options/OptionsWidget_notifier.h @@ -1,6 +1,5 @@ #ifndef _OPTW_NOTIFIER_H_ #define _OPTW_NOTIFIER_H_ - //============================================================================= // // File : OptionsWidget_notifier.h diff --git a/src/modules/options/OptionsWidget_servers.h b/src/modules/options/OptionsWidget_servers.h index 1f8868a8d..9744b271a 100644 --- a/src/modules/options/OptionsWidget_servers.h +++ b/src/modules/options/OptionsWidget_servers.h @@ -1,6 +1,5 @@ #ifndef _OPTW_SERVERS_H_ #define _OPTW_SERVERS_H_ - //============================================================================= // // File : OptionsWidget_servers.h diff --git a/src/modules/options/OptionsWidget_tools.h b/src/modules/options/OptionsWidget_tools.h index 95a346b08..f4dc2a69e 100644 --- a/src/modules/options/OptionsWidget_tools.h +++ b/src/modules/options/OptionsWidget_tools.h @@ -1,6 +1,5 @@ #ifndef _OPTW_TOOLS_H_ #define _OPTW_TOOLS_H_ - //============================================================================= // // File : OptionsWidget_tools.h diff --git a/src/modules/options/OptionsWidget_windowList.h b/src/modules/options/OptionsWidget_windowList.h index a062273c7..c666f8a62 100644 --- a/src/modules/options/OptionsWidget_windowList.h +++ b/src/modules/options/OptionsWidget_windowList.h @@ -1,7 +1,6 @@ #ifndef _OPTW_WINDOWLIST_H_ #define _OPTW_WINDOWLIST_H_ - -//=============================================================================== +//============================================================================= // // File : OptionsWidget_windowList.h // Creation date : Wed Jan 16 04:30:41 2002 GMT by Szymon Stefanek @@ -23,7 +22,7 @@ // along with this program. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -//=============================================================================== +//============================================================================= #include "KviOptionsWidget.h" diff --git a/src/modules/perlcore/perlcoreinterface.h b/src/modules/perlcore/perlcoreinterface.h index 9fae7fb5a..3f904345a 100644 --- a/src/modules/perlcore/perlcoreinterface.h +++ b/src/modules/perlcore/perlcoreinterface.h @@ -1,6 +1,5 @@ #ifndef _PERLCOREINTERFACE_H_ #define _PERLCOREINTERFACE_H_ - //============================================================================= // // File : perlcoreinterface.h diff --git a/src/modules/pythoncore/pythoncoreinterface.h b/src/modules/pythoncore/pythoncoreinterface.h index bd594c0c8..26b42aa1a 100644 --- a/src/modules/pythoncore/pythoncoreinterface.h +++ b/src/modules/pythoncore/pythoncoreinterface.h @@ -1,6 +1,5 @@ #ifndef _PYTHONCOREINTERFACE_H_ #define _PYTHONCOREINTERFACE_H_ - //============================================================================= // // File : pythoncoreinterface.h diff --git a/src/modules/setup/SetupWizard.cpp b/src/modules/setup/SetupWizard.cpp index c615adb73..93ab3857f 100644 --- a/src/modules/setup/SetupWizard.cpp +++ b/src/modules/setup/SetupWizard.cpp @@ -1,4 +1,4 @@ -//=============================================================================== +//============================================================================= // // File : SetupWizard.cpp // Creation date : Sat Oct 6 02:06:53 2001 GMT by Szymon Stefanek diff --git a/src/modules/system/Plugin.h b/src/modules/system/Plugin.h index bbf46ce12..a6e58b271 100644 --- a/src/modules/system/Plugin.h +++ b/src/modules/system/Plugin.h @@ -1,6 +1,5 @@ #ifndef _PLUGIN_H_ #define _PLUGIN_H_ - //============================================================================= // // File : Plugin.h diff --git a/src/modules/toolbar/libkvitoolbar.cpp b/src/modules/toolbar/libkvitoolbar.cpp index 2611858b6..54af0a4aa 100644 --- a/src/modules/toolbar/libkvitoolbar.cpp +++ b/src/modules/toolbar/libkvitoolbar.cpp @@ -1,4 +1,4 @@ -//=============================================================================// +//============================================================================= // // File : libkvitoolbar.cpp // Creation date : Wed 6 Nov 22:51:59 2002 GMT by Szymon Stefanek diff --git a/src/modules/torrent/KTorrentDbusInterface.h b/src/modules/torrent/KTorrentDbusInterface.h index a777c2903..0aadd8396 100644 --- a/src/modules/torrent/KTorrentDbusInterface.h +++ b/src/modules/torrent/KTorrentDbusInterface.h @@ -1,6 +1,5 @@ #ifndef _TC_KTORRENTDCOPINTERFACE_H_ #define _TC_KTORRENTDCOPINTERFACE_H_ - //============================================================================= // // DBus interface for KTorrent client. diff --git a/src/modules/torrent/TorrentInterface.h b/src/modules/torrent/TorrentInterface.h index 29da5f12a..efae2a708 100644 --- a/src/modules/torrent/TorrentInterface.h +++ b/src/modules/torrent/TorrentInterface.h @@ -1,6 +1,5 @@ #ifndef _TC_INTERFACE_H_ #define _TC_INTERFACE_H_ - //============================================================================= // // Common interface for BitTorrent clients. |
