Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add capitalized headers for Init and Global where needed.
|
|
|
|
Warning: This affects the library name and the cmake package name too.
|
|
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.
|
|
This is to provide a shorter name. Typing QGlib::Signal::connect
is a bit too long. QGlib::connect is better.
|
|
|
|
|
|
|
|
|
|
|
|
In most cases, it is unneeded.
|
|
* 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.
|
|
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
|