From 7d27356bafd5670adcc8753ab5437b3bf8ffa4be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Nov 2011 03:12:38 -0600 Subject: Initial TQt conversion --- doc/html/specification_files.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'doc/html/specification_files.html') diff --git a/doc/html/specification_files.html b/doc/html/specification_files.html index e408fe4..8810aa2 100644 --- a/doc/html/specification_files.html +++ b/doc/html/specification_files.html @@ -171,15 +171,15 @@ file.

virtual-operator | class-variable | public: | - public Q_SLOTS: | + public slots: | public slots: | protected: | - protected Q_SLOTS: | + protected slots: | protected slots: | private: | - private Q_SLOTS: | private slots: | - Q_SIGNALS: | + private slots: | + signals: | signals:] constructor ::= [explicit] name ( [argument-list] ) @@ -193,7 +193,7 @@ file.

[function-annotations] ; [%MethodCode] [%VirtualCatcherCode] -method ::= [Q_SIGNAL] [Q_SLOT] type name ( +method ::= [TQ_SIGNAL] [TQ_SLOT] type name ( [argument-list] ) [const] [exceptions] [= 0] [function-annotations] [c++-signature] ; [%Docstring] [%MethodCode] @@ -202,7 +202,7 @@ file.

static-method ::= static function -virtual-method ::= [Q_SIGNAL] [Q_SLOT] virtual type name +virtual-method ::= [TQ_SIGNAL] [TQ_SLOT] virtual type name ( [argument-list] ) [const] [exceptions] [= 0] [function-annotations] [c++-signature] ; [%MethodCode] [%VirtualCatcherCode] @@ -310,7 +310,7 @@ file.

argument ::= [ type [name] [argument-annotations] [default-value] | SIP_ANYSLOT [default-value] | - SIP_QOBJECT | + SIP_TQOBJECT | SIP_RXOBJ_CON | SIP_RXOBJ_DIS | SIP_SIGNAL [default-value] | @@ -467,28 +467,28 @@ Handwritten code must be provided to interpret the conversion correctly.

This is a PyObject * that is a Python type object.

-
-SIP_QOBJECT
+
+SIP_TQOBJECT
-

This is a QObject * that is a C++ instance of a class derived from Qt’s -QObject class.

+

This is a TQObject * that is a C++ instance of a class derived from TQt’s +TQObject class.

SIP_RXOBJ_CON
-

This is a QObject * that is a C++ instance of a class derived from Qt’s -QObject class. It is used as the type of the receiver instead of const -QObject * in functions that implement a connection to a slot.

+

This is a TQObject * that is a C++ instance of a class derived from TQt’s +TQObject class. It is used as the type of the receiver instead of const +TQObject * in functions that implement a connection to a slot.

SIP_RXOBJ_DIS
-

This is a QObject * that is a C++ instance of a class derived from Qt’s -QObject class. It is used as the type of the receiver instead of const -QObject * in functions that implement a disconnection from a slot.

+

This is a TQObject * that is a C++ instance of a class derived from TQt’s +TQObject class. It is used as the type of the receiver instead of const +TQObject * in functions that implement a disconnection from a slot.

SIP_SIGNAL
@@ -514,11 +514,11 @@ of an explicitly generated signal to a slot.

const char * in functions that implement the connection of an internally generated signal to a slot. The type includes a comma separated list of types that is the C++ signature of of the signal.

-

To take an example, QAccel::connectItem() connects an internally generated +

To take an example, TQAccel::connectItem() connects an internally generated signal to a slot. The signal is emitted when the keyboard accelerator is activated and it has a single integer argument that is the ID of the accelerator. The C++ signature is:

-
bool connectItem(int id, const QObject *receiver, const char *member);
+
bool connectItem(int id, const TQObject *receiver, const char *member);

The corresponding SIP specification is:

bool connectItem(int, SIP_RXOBJ_CON, SIP_SLOT_CON(int));
-- cgit v1.2.3