summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2011-01-20Automatically stylised with astyleMarco Ballesio4-145/+175
options used as suggested in: http://techbase.kde.org/Policies/Kdelibs_Coding_Style#Artistic_Style_.28astyle.29_automatic_code_formatting Brackets for one-liner if branches added manually.
2011-01-20Removed handling of MessageAsyncDoneMarco Ballesio1-8/+0
2011-01-20Removed unneeded dynamic castsMarco Ballesio1-5/+5
2011-01-20Example player evolutionMarco Ballesio7-186/+539
2011-01-18Add a new "recorder" example.George Kiagiadakis5-0/+607
2011-01-17Move the examples documentation in a separate file.George Kiagiadakis1-0/+34
2011-01-17Remove the stupid echo example.George Kiagiadakis4-88/+0
2011-01-17Add an example that demonstrates the usage of the appsrc and appsink wrappers.George Kiagiadakis4-0/+164
2011-01-08Move the init functions in separate init{.h, .cpp} files in both libs and ↵George Kiagiadakis2-2/+2
add capitalized headers for Init and Global where needed.
2011-01-08Fix the example qmake project files to use pkg-config.George Kiagiadakis2-22/+16
2011-01-07Fix branding: it's GStreamer, not Gstreamer.George Kiagiadakis4-18/+18
Warning: This affects the library name and the cmake package name too.
2010-12-25Implement a Qt-like signal connection/disconnection system.George Kiagiadakis1-2/+2
Features: * New QGlib::disconnect method that behaves more or less like QObject::disconnect. * Automatic disconnection when either the sender or the receiver is destroyed (this adds the limitation that the receiver must inherit QObject, for now) * Future-proof. The exported methods are designed to be able to support different forms of connection in the future (such as connecting an arbitrary functor object instead of a member function). Support for different types of receivers (i.e. ones that do not inherit QObject) is also there. Other changes: * Moved all the connect/disconnect related stuff in connect.{h,cpp} * Removed the ugly SignalHandler class. QGlib::connect now returns bool.
2010-12-20Move Signal::emit and Signal::connect out of the Signal class.George Kiagiadakis1-2/+2
This is to provide a shorter name. Typing QGlib::Signal::connect is a bit too long. QGlib::connect is better.
2010-12-02Return StructurePtr instead of SharedStructure and adapt the testsMauricio Piacentini1-2/+2
2010-12-02Rename structure() to internalStructure()Mauricio Piacentini1-1/+1
2010-11-03Initial implementation of QGst::EventMauricio Piacentini1-1/+18
2010-10-22QGstClock implementation and testsMauricio Piacentini1-1/+3
2010-10-18GstQuery implementation and testsMauricio Piacentini1-0/+11
2010-07-17Add option (enabled by default) to omit the sender from a slot's arguments. ↵George Kiagiadakis1-7/+4
In most cases, it is unneeded.
2010-07-11Improve the build system; add new features and examples:George Kiagiadakis4-7/+69
* Add ability to build QtGstreamer as a static library by passing -DSTATIC_QTGSTREAMER=1 to cmake. * Add a FindQtGstreamer.cmake script, which is installed as QtGstreamerConfig.cmake together with a generated QtGstreamerTargets.cmake script, that can be used to find QtGstreamer from external cmake-based projects. Both shared and static versions of QtGstreamer are supported. * Add an uninstall target, copied from the KDE4 scripts. * Rewrite the CMakeLists.txt of the examples so that they can also be built standalone and serve as examples of how to use QtGstreamer from external projects. * Add qmake project files for the examples, to act as examples for people using qmake.
2010-07-10Rename QGst::deinit() to QGst::cleanup(). deinit is not a good name.George Kiagiadakis2-3/+3
2010-07-06Add a new "player" example: a simple command-line audio player.George Kiagiadakis3-0/+184
In the future it will probably be expanded to handle video as well. Although it is technically possible to do that now, I would like to use the VideoWidget class that I plan to write for QtGstreamer.
2010-06-30Rename all the "newClass" pseudo-constructors to "create".George Kiagiadakis1-1/+1
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.
2010-04-20Port the 'echo' example to the new bindings to make it work again.George Kiagiadakis2-14/+19
2009-07-13Move to shared pointer architecture.George Kiagiadakis1-6/+6
All classes now have protected contructors and static functions that act as constructors returning a QSharedPointer holding the class instance. All QObject parents where dropped as they don't make sense with this architecture.
2009-07-12Add a simple echo example, which forwards audio from the mic to the speakers.George Kiagiadakis3-0/+55