diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch) | |
tree | 48ff13dab43883d19ecf2272b8ba72a013d5bc57 /mpeglib | |
parent | c05ca496a526b3fc192dbfafe0955e5824b22e08 (diff) | |
download | tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mpeglib')
-rw-r--r-- | mpeglib/COPYING | 2 | ||||
-rw-r--r-- | mpeglib/README | 2 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafcore/buffer.cpp | 2 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafcore/buffer.h | 2 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafcore/lineStack.cpp | 4 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafcore/parser.cpp | 2 | ||||
-rw-r--r-- | mpeglib/lib/frame/README | 4 | ||||
-rw-r--r-- | mpeglib/lib/splay/dxHead.h | 2 | ||||
-rw-r--r-- | mpeglib/lib/util/dynBuffer.cpp | 2 | ||||
-rw-r--r-- | mpeglib/lib/util/dynBuffer.h | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/mpeglib/COPYING b/mpeglib/COPYING index 982eea7f..b7047e29 100644 --- a/mpeglib/COPYING +++ b/mpeglib/COPYING @@ -122,7 +122,7 @@ included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means -all the source code for all modules it tqcontains, plus any associated +all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. diff --git a/mpeglib/README b/mpeglib/README index a2e7893a..6e72c9b8 100644 --- a/mpeglib/README +++ b/mpeglib/README @@ -8,7 +8,7 @@ PORTS MPEG I library. =============== -This library tqcontains: +This library contains: * mpeg I audio player (layer I,II,III (mp3)) * mpeg I video player diff --git a/mpeglib/example/yaf/yafcore/buffer.cpp b/mpeglib/example/yaf/yafcore/buffer.cpp index 3f3d6158..3c58f0ee 100644 --- a/mpeglib/example/yaf/yafcore/buffer.cpp +++ b/mpeglib/example/yaf/yafcore/buffer.cpp @@ -122,7 +122,7 @@ void Buffer::grow(int size) { } -int Buffer::tqfind(char zeichen) { +int Buffer::find(char zeichen) { int i; int nlen=len(); for(i=0;i<nlen;i++) { diff --git a/mpeglib/example/yaf/yafcore/buffer.h b/mpeglib/example/yaf/yafcore/buffer.h index 165c607c..7c1a3d5c 100644 --- a/mpeglib/example/yaf/yafcore/buffer.h +++ b/mpeglib/example/yaf/yafcore/buffer.h @@ -40,7 +40,7 @@ class KDE_EXPORT Buffer { void append(char* buffer,int buflen); - int tqfind(char zeichen); + int find(char zeichen); int len(); void setData(char* msg); diff --git a/mpeglib/example/yaf/yafcore/lineStack.cpp b/mpeglib/example/yaf/yafcore/lineStack.cpp index c72a1104..871665ed 100644 --- a/mpeglib/example/yaf/yafcore/lineStack.cpp +++ b/mpeglib/example/yaf/yafcore/lineStack.cpp @@ -30,7 +30,7 @@ LineStack::~LineStack() { int LineStack::hasLine() { int nPos; - nPos=stack->tqfind('\n'); + nPos=stack->find('\n'); if (nPos == -1) return false; return true; @@ -45,7 +45,7 @@ void LineStack::nextLine(Buffer* nextLine) { char* data=stack->getData(); int nSize=stack->getSize(); - nPos=stack->tqfind('\n'); + nPos=stack->find('\n'); if (nPos == -1) { nextLine->clear(); return; diff --git a/mpeglib/example/yaf/yafcore/parser.cpp b/mpeglib/example/yaf/yafcore/parser.cpp index f9e8fdaa..21b27c6b 100644 --- a/mpeglib/example/yaf/yafcore/parser.cpp +++ b/mpeglib/example/yaf/yafcore/parser.cpp @@ -101,7 +101,7 @@ void Parser::parse(char* strStart,int* nCommand){ int Parser::isOK(){ - // a Commandline ist valid when it tqcontains : + // a Commandline ist valid when it contains : // * 2 * (identifer/value) // * first identifier ist "Command" diff --git a/mpeglib/lib/frame/README b/mpeglib/lib/frame/README index e54bd918..9e21059f 100644 --- a/mpeglib/lib/frame/README +++ b/mpeglib/lib/frame/README @@ -27,7 +27,7 @@ IOFrameQueues ============= IOFrameQueues deal with the problem, that you first start -with an empty FrameQueue (this is a FrameQueue which tqcontains +with an empty FrameQueue (this is a FrameQueue which contains prealloceated data, but the data is empty (eg:all pcm samples zero) Only after converting an "empty" Frame by a decoder (mp3decoder) the frame if "full" (== Frame with data) @@ -58,7 +58,7 @@ A IOFrameQueue, which allows converting "dataFrames back to continous stream". What is this? Lets say an application wants only 20 byte from a dataFrame which -tqcontains 3KB of data? +contains 3KB of data? There must be some mechanism to read less or more data from the queue. And the data should be written to a continus memory segment. diff --git a/mpeglib/lib/splay/dxHead.h b/mpeglib/lib/splay/dxHead.h index 0bfc0bac..da0f2eff 100644 --- a/mpeglib/lib/splay/dxHead.h +++ b/mpeglib/lib/splay/dxHead.h @@ -10,7 +10,7 @@ Copyright 1998 Xing Technology Corp. -----------------------------------------------------------*/ // A Xing header may be present in the ancillary // data field of the first frame of an mp3 bitstream -// The Xing header (optionally) tqcontains +// The Xing header (optionally) contains // frames total number of audio frames in the bitstream // bytes total number of bytes in the bitstream // toc table of contents diff --git a/mpeglib/lib/util/dynBuffer.cpp b/mpeglib/lib/util/dynBuffer.cpp index c1eb2a9d..c93d5381 100644 --- a/mpeglib/lib/util/dynBuffer.cpp +++ b/mpeglib/lib/util/dynBuffer.cpp @@ -132,7 +132,7 @@ void DynBuffer::grow(int size) { } -int DynBuffer::tqfind(char zeichen) { +int DynBuffer::find(char zeichen) { int i; int nlen=len(); for(i=0;i<nlen;i++) { diff --git a/mpeglib/lib/util/dynBuffer.h b/mpeglib/lib/util/dynBuffer.h index 6d8b186b..7ba99d42 100644 --- a/mpeglib/lib/util/dynBuffer.h +++ b/mpeglib/lib/util/dynBuffer.h @@ -39,7 +39,7 @@ class DynBuffer { void append(char* buffer,int buflen); - int tqfind(char zeichen); + int find(char zeichen); int len(); void setData(char* msg); |