A few spelling fixes, identified using krazy.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@618883 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Brad Hards 2007-01-02 11:54:03 +00:00
parent 5760457f5f
commit b9c7c6ae5f
16 changed files with 20 additions and 20 deletions

View File

@ -44,7 +44,7 @@ extern "C" {
/*
* These are used for type provide some type safety to the C API (as opposed to
* using void *, but pointers to them are simply cast to the coresponding C++
* using void *, but pointers to them are simply cast to the corresponding C++
* types in the implementation.
*/
@ -225,7 +225,7 @@ void taglib_tag_free_strings();
******************************************************************************/
/*!
* Returns the lenght of the file in seconds.
* Returns the length of the file in seconds.
*/
int taglib_audioproperties_length(const TagLib_AudioProperties *audioProperties);

View File

@ -59,7 +59,7 @@ namespace TagLib {
virtual ~AudioProperties();
/*!
* Returns the lenght of the file in seconds.
* Returns the length of the file in seconds.
*/
virtual int length() const = 0;

View File

@ -90,7 +90,7 @@ namespace TagLib {
public:
virtual ~FileTypeResolver() {}
/*!
* This method must be overriden to provide an additional file type
* This method must be overridden to provide an additional file type
* resolver. If the resolver is able to determine the file type it should
* return a valid File object; if not it should return 0.
*

View File

@ -150,7 +150,7 @@ bool FLAC::File::save()
// A Xiph comment portion of the data stream starts with a 4-byte descriptor.
// The first byte indicates the frame type. The last three bytes are used
// to give the lenght of the data segment. Here we start
// to give the length of the data segment. Here we start
ByteVector data = ByteVector::fromUInt(d->xiphCommentData.size());

View File

@ -33,7 +33,7 @@ namespace TagLib {
/*!
* This is an implementation of ID3v2 relative volume adjustment. The
* presense of this frame makes it possible to specify an increase in volume
* presence of this frame makes it possible to specify an increase in volume
* for an audio file or specific audio tracks in that file.
*
* Multiple relative volume adjustment frames may be present in the tag

View File

@ -212,7 +212,7 @@ namespace TagLib {
/*!
* Sets the description of the frame to \a s. \a s must be unique. You can
* check for the presense of another user defined text frame of the same type
* check for the presence of another user defined text frame of the same type
* using find() and testing for null.
*/
void setDescription(const String &s);

View File

@ -261,7 +261,7 @@ namespace TagLib {
/*!
* Returns the size of the frame data portion, as set when setData() was
* called or set explicity via setFrameSize().
* called or set explicitly via setFrameSize().
*/
uint frameSize() const;
@ -361,7 +361,7 @@ namespace TagLib {
bool unsycronisation() const;
/*!
* Returns true if the flag for a data lenght indicator is set.
* Returns true if the flag for a data length indicator is set.
*/
bool dataLengthIndicator() const;

View File

@ -57,7 +57,7 @@ namespace TagLib {
virtual ~XingHeader();
/*!
* Returns true if the data was parsed properly and if there is a vaild
* Returns true if the data was parsed properly and if there is a valid
* Xing header present.
*/
bool isValid() const;

View File

@ -255,7 +255,7 @@ void Ogg::PageHeader::read()
// Byte number 27 is the number of page segments, which is the only variable
// length portion of the page header. After reading the number of page
// segments we'll then read in the coresponding data for this count.
// segments we'll then read in the corresponding data for this count.
int pageSegmentCount = uchar(data[26]);

View File

@ -222,7 +222,7 @@ ByteVector Ogg::XiphComment::render(bool addFramingBit) const
ByteVector data;
// Add the vendor ID length and the vendor ID. It's important to use the
// lenght of the data(String::UTF8) rather than the lenght of the the string
// length of the data(String::UTF8) rather than the length of the the string
// since this is UTF8 text and there may be more characters in the data than
// in the UTF16 string.

View File

@ -32,7 +32,7 @@ namespace TagLib {
* This is an attempt to abstract away the difference in the meta data formats
* of various audio codecs and tagging schemes. As such it is generally a
* subset of what is available in the specific formats but should be suitable
* for most applications. This is meant to complient the generic APIs found
* for most applications. This is meant to compliment the generic APIs found
* in TagLib::AudioProperties, TagLib::File and TagLib::FileRef.
*/

View File

@ -147,12 +147,12 @@ namespace TagLib {
bool isEmpty() const;
/*!
* Find the first occurance of \a value.
* Find the first occurrence of \a value.
*/
Iterator find(const T &value);
/*!
* Find the first occurance of \a value.
* Find the first occurrence of \a value.
*/
ConstIterator find(const T &value) const;

View File

@ -112,12 +112,12 @@ namespace TagLib {
bool isEmpty() const;
/*!
* Find the first occurance of \a key.
* Find the first occurrence of \a key.
*/
Iterator find(const Key &key);
/*!
* Find the first occurance of \a key.
* Find the first occurrence of \a key.
*/
ConstIterator find(const Key &key) const;

View File

@ -444,7 +444,7 @@ String String::stripWhiteSpace() const
if(begin == end)
return null;
// There must be at least one non-whitespace charater here for us to have
// There must be at least one non-whitespace character here for us to have
// gotten this far, so we should be safe not doing bounds checking.
do {

View File

@ -214,7 +214,7 @@ namespace TagLib {
ConstIterator end() const;
/*!
* Finds the first occurance of pattern \a s in this string starting from
* Finds the first occurrence of pattern \a s in this string starting from
* \a offset. If the pattern is not found, -1 is returned.
*/
int find(const String &s, int offset = 0) const;

View File

@ -43,7 +43,7 @@
Conversions between UTF32, UTF-16, and UTF-8. Header file.
Several funtions are included here, forming a complete set of
Several functions are included here, forming a complete set of
conversions between the three formats. UTF-7 is not included
here, but is handled in a separate source file.