summaryrefslogtreecommitdiffstats
path: root/qt/examples
Commit message (Collapse)AuthorAgeFilesLines
* No changelog: fix distcheck.Thiago Macieira2006-06-111-1/+1
|
* * qt/tools/dbuscpp2xml.cpp: Compile on Windows.Thiago Macieira2006-06-112-6/+6
| | | | | | | | | | | | | | * qt/tools/dbusidl2cpp.cpp: Add missing newline. * qt/examples/Makefile.am: * qt/examples/chat.h: Use UI-generated files with the ui_*.h form. * qt/src/qdbusmarshall.cpp: Allow sending of QString() and QByteArray() (nulls) over the bus. * qt/src/qdbusabstractinterface.cpp: Use the correct variable, the one that has the signature suffix stripped. * qt/src/qdbusreply.h: Make some methods const.
* * qt/dbus: Add directory. I had forgotten to add thisThiago Macieira2006-06-054-318/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | yesterday after the move... * qt/examples/Makefile.am: * qt/examples/dbus.cpp: Moved to qt/tools/dbus.cpp. * qt/tools/Makefile.am: * qt/tools/dbus.cpp: Moved from qt/examples/dbus.cpp. Added feature to get and set properties. Added validation of service, object path and interface names. * qt/tools/dbusidl2cpp.cpp: Two new features: 1) Allow specifying both the header and the source file names, by separating them with a colon. 2) Don't write an interface output if the -p switch wasn't given, but the -a was. * qt/src/*: Fix usage of Iterators and ConstIterators. Fix shadowing of variables by other variables (-Wshadow). Fix keyword-cleanliness in headers. Fix ASCII-cast (QLatin1String, QLatin1Char). Fix validation of member names. Add extra checking of introspection data during XML parsing. Various bug fixes.
* * qt/: Update to Subversion r548032.Thiago Macieira2006-06-042-6/+4
| | | | | | | | | | This includes a big reorganisation of the files inside the subdir. We really need a version control system that supports moving of files. I'm not bothering with history anyways anymore, since the bindings will be moved out to git. The history should be restored from Subversion when that happens.
* * qt/examples/dbus.cpp: Enhance error messages and useThiago Macieira2006-04-291-22/+41
| | | | QDBusInterfacePtr.
* * qt/examples/dbus.cpp: Use the new merged-interface mode forThiago Macieira2006-04-231-37/+8
| | | | | the dynamic meta object. No need to guess which interface to call.
* * qt/examples/listnames.cpp:Thiago Macieira2006-04-102-1/+63
| | | | | * qt/examples/Makefile.am: Three ways to list the names on the bus.
* Merge from Subversion:Thiago Macieira2006-04-101-2/+10
| | | | | | | | | | | | | | * qt/qt-dbus.qdocconf: Update Trolltech's webpage link to something that exists (r526315) * qt/qdbusinternalfilters.cpp: Correctly detect non-scriptable slots/signals (r526316) * qt/qdbusinternalfilters.cpp: Fix the setProperty call and also return an unknown-method error if the parameters don't match for org.freedesktop.DBus.Properties. (r526842) * qt/examples/dbus.cpp: Allow passing of QVariants (r526843) * qt/qdbusintegrator.cpp: Restore the proper order of delivery: don't make method returns be delivered on priority (r528150)
* * configure.in qt/Makefile.am: add qt/examplesThiago Macieira2006-03-2819-0/+1448
* qt/examples: Add QtDBus example programs: - hello: Hello, World - ping: Simple method-calling program - pong: Simple object-exporting program (not using adaptors) - complexping: Interactive method-calling program (also gets and sets properties). - complexpong: Sample program exporting methods, signals and properties, using adaptors. - dbus: Simple implementation of a generic method-calling program, similar to 'dbus-send', but with semantics similar to 'dcop'. - chat: Simplistic chat program, implemented using signals and the system bus. Looks like IRC.