Rename all the "newClass" pseudo-constructors to "create".
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Wed, 30 Jun 2010 14:52:49 +0000 (17:52 +0300)
committerGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Wed, 30 Jun 2010 14:52:49 +0000 (17:52 +0300)
commit8d11fbd2e7c7139083892656eb3e6b3cf94d0bcb
treef80f2a11d61822c35d4bbb30a5d844ec3634404c
parent15cb2e2ad2941fa2ad7ebcfc578b141f112326b9
Rename all the "newClass" pseudo-constructors to "create".

Since these are static methods, you need to type the class name anyway,
so there is no need to type it again after "new". Plain "new" would have
been ideal, but unfortunately it is a keyword.
For consistency, the Caps constructors have been renamed too, although
they did not follow the "newClass" pattern.
16 files changed:
examples/echo/main.cpp
src/QGst/bin.cpp
src/QGst/bin.h
src/QGst/caps.cpp
src/QGst/caps.h
src/QGst/ghostpad.cpp
src/QGst/ghostpad.h
src/QGst/pad.cpp
src/QGst/pad.h
src/QGst/pipeline.cpp
src/QGst/pipeline.h
tests/capstest.cpp
tests/childproxytest.cpp
tests/propertiestest.cpp
tests/refpointertest.cpp
tests/signalstest.cpp