The most of the Qt classes and functions are directly mapped to Ada
tagged/interface types and subprograms. Qt has a beautiful built in
documentation (see Qt Assistant program). The same documentation is available
online on the
Qt documentation site. QtAda uses
consistent C++ to Ada naming conventions transformation rules, so this
documentation is also applicable for QtAda as well.
QtAda follows standard Ada naming conventions: each word composing the name
starts from the uppercase letter and the words are separated by the underscope.
For example, C++ class QString named as Q_String in Ada.
QtAda arranges Ada packages in Ada hierarchical library. The root package
has Qt4 name and containts definitions from Qt namespace. Tagged/interface type
and its operations for each C++ class are placed in the separated child
package. Such packages has the Ada conventions name of corresponding class in
plural form and without "Q_" prefix. For example, bindings for the QString
class is defined in the Qt4.Strings package.
|