Automated update from Qt3

pull/1/head
Timothy Pearson 13 years ago
parent a829bcdc53
commit 359640943b

@ -1319,7 +1319,7 @@
But it costs immodule developer small modification.
* src/kernel/ntqinputcontext.h
- (class QInputContext): Inherit QObject and add Q_OBJECT macro
- (class QInputContext): Inherit QObject and add TQ_OBJECT macro
- (name): Remove to rename to identifierName() to avoid conflicting
with QObject::name()
- (identifierName): New function. Renamed from name()
@ -1419,7 +1419,7 @@
- Add #include "ntqinputcontext.h" to avoid compilation error
* src/input/qximinputcontext_p.h
- (class QXIMInputContext): Add Q_OBJECT macro to follow the API change
- (class QXIMInputContext): Add TQ_OBJECT macro to follow the API change
- (name): Remove to follow the API change
- (identifierName):
* New function. Renamed from name()

12
configure vendored

@ -3124,7 +3124,7 @@ EOF
for MODULE in $MODULES; do
if [ -d "$relpath/src/$MODULE" ]; then
M=`echo $MODULE | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
echo "#define QT_MODULE_$M" >>$outpath/include/ntqmodules.h.new
echo "#define TQT_MODULE_$M" >>$outpath/include/ntqmodules.h.new
fi
done
@ -3138,7 +3138,7 @@ else
fi
#-------------------------------------------------------------------------------
# generate QT_BUILD_KEY
# generate TQT_BUILD_KEY
#-------------------------------------------------------------------------------
# some compilers generate binary incompatible code between different versions,
@ -3275,7 +3275,7 @@ for build_option in $D_FLAGS; do
done
# sort the compile time defines (helps ensure that changes in this configure
# script don't affect the QT_BUILD_KEY generation)
# script don't affect the TQT_BUILD_KEY generation)
if [ -f .options ]; then
for opt in `sort -f .options | uniq`; do
BUILD_OPTIONS="$BUILD_OPTIONS $opt"
@ -3284,9 +3284,9 @@ fi
rm -f .options
BUILD_OPTIONS="$BUILD_CONFIG $BUILD_OPTIONS"
QT_BUILD_KEY="$CFG_USER_BUILD_KEY $UNAME_MACHINE $UNAME_SYSTEM $COMPILER $BUILD_OPTIONS"
TQT_BUILD_KEY="$CFG_USER_BUILD_KEY $UNAME_MACHINE $UNAME_SYSTEM $COMPILER $BUILD_OPTIONS"
# strip out leading/trailing/extra whitespace
QT_BUILD_KEY=`echo $QT_BUILD_KEY | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
TQT_BUILD_KEY=`echo $TQT_BUILD_KEY | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
#-------------------------------------------------------------------------------
# part of configuration information goes into ntqconfig.h
@ -3309,7 +3309,7 @@ cat >> $outpath/include/ntqconfig.h.new <<EOF
#define QT_PRODUCT_LICENSE "$Products"
/* Build key */
#define QT_BUILD_KEY "$QT_BUILD_KEY"
#define TQT_BUILD_KEY "$TQT_BUILD_KEY"
/* Machine byte-order */
#define Q_BIG_ENDIAN 4321

@ -86,7 +86,7 @@ declaration:
#include <ntqwindowsstyle.h>
class CustomStyle : public QWindowsStyle {
Q_OBJECT
TQ_OBJECT
public:
CustomStyle();
~CustomStyle();

@ -99,7 +99,7 @@ Two important macros are:
\i \link ::Q_ASSERT() Q_ASSERT(b)\endlink where b is a boolean
expression, writes the warning: "ASSERT: 'b' in file file.cpp (234)"
if b is FALSE.
\i \link ::Q_CHECK_PTR() Q_CHECK_PTR(p)\endlink where p is a pointer.
\i \link ::TQ_CHECK_PTR() TQ_CHECK_PTR(p)\endlink where p is a pointer.
Writes the warning "In file file.cpp, line 234: Out of memory" if p is
0.
\endlist
@ -110,7 +110,7 @@ These macros are useful for detecting program errors, e.g. like this:
{
Q_ASSERT( size > 0 );
char *p = new char[size];
Q_CHECK_PTR( p );
TQ_CHECK_PTR( p );
return p;
}
\endcode
@ -121,22 +121,22 @@ exit after printing the error message.
Note that the Q_ASSERT macro is a null expression if \c QT_CHECK_STATE (see
below) is not defined. Any code in it will simply not be
executed. Similarly Q_CHECK_PTR is a null expression if \c QT_CHECK_NULL is
executed. Similarly TQ_CHECK_PTR is a null expression if \c QT_CHECK_NULL is
not defined. Here is an example of how you should \e not use Q_ASSERT and
Q_CHECK_PTR:
TQ_CHECK_PTR:
\code
char *alloc( int size )
{
char *p;
Q_CHECK_PTR( p = new char[size] ); // WRONG!
TQ_CHECK_PTR( p = new char[size] ); // WRONG!
return p;
}
\endcode
The problem is tricky: \e p is set to a sane value only as long as the
correct checking flags are defined. If this code is compiled without
the QT_CHECK_NULL flag defined, the code in the Q_CHECK_PTR expression is
the QT_CHECK_NULL flag defined, the code in the TQ_CHECK_PTR expression is
not executed (correctly, since it's only a debugging aid) and \e alloc
returns a wild pointer.
@ -179,7 +179,7 @@ Example:
\section1 Common bugs
There is one bug that is so common that it deserves mention here: If
you include the Q_OBJECT macro in a class declaration and run the
you include the TQ_OBJECT macro in a class declaration and run the
\link moc.html moc\endlink, but forget to link the moc-generated
object code into your executable, you will get very confusing error
messages. Any link error complaining about a lack of \c{vtbl},

@ -55,7 +55,7 @@ This example displays an analog clock widget.
class TQTimer;
class AnalogClock : public <a href="ntqwidget.html">TQWidget</a> // analog clock widget
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
AnalogClock( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
void setAutoMask(bool b);

@ -132,7 +132,7 @@ managed programming language.
<pre> // native TQt/C++ class
class Worker : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
Q_PROPERTY(TQString statusString READ statusString WRITE setStatusString)
public:
Worker();

@ -59,7 +59,7 @@ class ABCentralWidget;
class ABMainWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ABMainWindow();
@ -230,7 +230,7 @@ class TQCheckBox;
class ABCentralWidget : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
ABCentralWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name = 0 );

@ -57,7 +57,7 @@ mail; it looks exactly like xbiff but is much shorter.
class Biff : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Biff( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -57,7 +57,7 @@ class TQRadioButton;
class ButtonsGroups : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ButtonsGroups( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -170,7 +170,7 @@ class TQString;
class ChartForm: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
enum { MAX_ELEMENTS = 100 };
enum { MAX_RECENTFILES = 9 }; // Must not exceed 9

@ -57,7 +57,7 @@ public:
class FigureEditor : public <a href="qcanvasview.html">TQCanvasView</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
FigureEditor(TQCanvas&amp;, TQWidget* parent=0, const char* name=0, WFlags f=0);
@ -76,7 +76,7 @@ private:
};
class Main : public <a href="ntqmainwindow.html">TQMainWindow</a> {
Q_OBJECT
TQ_OBJECT
public:
Main(TQCanvas&amp;, TQWidget* parent=0, const char* name=0, WFlags f=0);

@ -46,7 +46,7 @@ class TQPoint;
class CanvasView : public <a href="qcanvasview.html">TQCanvasView</a>
{
Q_OBJECT
TQ_OBJECT
public:
CanvasView( <a href="ntqcanvas.html">TQCanvas</a> *canvas, ElementVector *elements,
<a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = "canvas view",

@ -52,7 +52,7 @@ class TQString;
class ChartForm: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
Q_OBJECT
TQ_OBJECT
public:
enum { MAX_ELEMENTS = 100 };
enum { MAX_RECENTFILES = 9 }; // Must not exceed 9

@ -51,7 +51,7 @@ class TQVBoxLayout;
class OptionsForm : public <a href="ntqdialog.html">TQDialog</a>
{
Q_OBJECT
TQ_OBJECT
public:
OptionsForm( <a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = "options form",
bool modal = FALSE, WFlags f = 0 );

@ -47,7 +47,7 @@ class TQVBoxLayout;
class SetDataForm: public <a href="ntqdialog.html">TQDialog</a>
{
Q_OBJECT
TQ_OBJECT
public:
SetDataForm( ElementVector *elements, int decimalPlaces,
<a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = "set data form",

@ -57,7 +57,7 @@ class TQLabel;
class CheckLists : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
CheckLists( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -74,7 +74,7 @@ specified. You can send single lines to the server.
*/
class ClientSocket : public <a href="ntqsocket.html">TQSocket</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ClientSocket( int sock, TQObject *parent=0, const char *name=0 ) :
<a href="ntqsocket.html">TQSocket</a>( parent, name )
@ -121,7 +121,7 @@ private:
*/
class SimpleServer : public <a href="ntqserversocket.html">TQServerSocket</a>
{
Q_OBJECT
TQ_OBJECT
public:
SimpleServer( <a href="ntqobject.html">TQObject</a>* parent=0 ) :
<a href="ntqserversocket.html">TQServerSocket</a>( 4242, 1, parent )
@ -153,7 +153,7 @@ signals:
*/
class ServerInfo : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
ServerInfo()
{
@ -235,7 +235,7 @@ int main( int argc, char** argv )
class Client : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
Client( const <a href="ntqstring.html">TQString</a> &amp;host, Q_UINT16 port )
{

@ -53,7 +53,7 @@ machine</a>
<p> <a name="linkerror"></a>
<h2> Link error, complaining about a lack of <tt>vtbl</tt>, <tt>_vtbl</tt>, <tt>__vtbl</tt> or similar
</h2>
<a name="1"></a><p> This indicates that you've included the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro in a class
<a name="1"></a><p> This indicates that you've included the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro in a class
declaration and probably also run the <a href="moc.html#moc">moc</a>, but forgot to link the
moc-generated object code into your executable. See <a href="moc.html">Using the Meta Object Compiler</a> for details on how to use moc.
<p> <a name="diffver"></a>

@ -74,7 +74,7 @@ declaration:
#include &lt;<a href="qwindowsstyle-h.html">ntqwindowsstyle.h</a>&gt;
class CustomStyle : public <a href="ntqwindowsstyle.html">TQWindowsStyle</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
CustomStyle();
~CustomStyle();

@ -55,7 +55,7 @@ and date.
class DigitalClock : public <a href="ntqlcdnumber.html">TQLCDNumber</a> // digital clock widget
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
DigitalClock( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -81,7 +81,7 @@ often useful even without names.
<li> <a href="ntqapplication.html#Q_ASSERT">Q_ASSERT(b)</a> where b is a boolean
expression, writes the warning: "ASSERT: 'b' in file file.cpp (234)"
if b is FALSE.
<li> <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR(p)</a> where p is a pointer.
<li> <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR(p)</a> where p is a pointer.
Writes the warning "In file file.cpp, line 234: Out of memory" if p is
0.
</ul>
@ -91,7 +91,7 @@ Writes the warning "In file file.cpp, line 234: Out of memory" if p is
{
<a href="ntqapplication.html#Q_ASSERT">Q_ASSERT</a>( size &gt; 0 );
char *p = new char[size];
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( p );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( p );
return p;
}
</pre>
@ -101,21 +101,21 @@ instead of warning(), so a failed assertion will cause the program to
exit after printing the error message.
<p> Note that the Q_ASSERT macro is a null expression if <tt>QT_CHECK_STATE</tt> (see
below) is not defined. Any code in it will simply not be
executed. Similarly Q_CHECK_PTR is a null expression if <tt>QT_CHECK_NULL</tt> is
executed. Similarly TQ_CHECK_PTR is a null expression if <tt>QT_CHECK_NULL</tt> is
not defined. Here is an example of how you should <em>not</em> use Q_ASSERT and
Q_CHECK_PTR:
TQ_CHECK_PTR:
<p> <pre>
char *alloc( int size )
{
char *p;
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( p = new char[size] ); // WRONG!
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( p = new char[size] ); // WRONG!
return p;
}
</pre>
<p> The problem is tricky: <em>p</em> is set to a sane value only as long as the
correct checking flags are defined. If this code is compiled without
the QT_CHECK_NULL flag defined, the code in the Q_CHECK_PTR expression is
the QT_CHECK_NULL flag defined, the code in the TQ_CHECK_PTR expression is
not executed (correctly, since it's only a debugging aid) and <em>alloc</em>
returns a wild pointer.
<p> The TQt library contains hundreds of internal checks that will print
@ -154,7 +154,7 @@ define QT_NO_CHECK.
<p> <h2> Common bugs
</h2>
<a name="4"></a><p> There is one bug that is so common that it deserves mention here: If
you include the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro in a class declaration and run the
you include the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro in a class declaration and run the
<a href="moc.html">moc</a>, but forget to link the <a href="moc.html#moc">moc</a>-generated
object code into your executable, you will get very confusing error
messages. Any link error complaining about a lack of <tt>vtbl</tt>,

@ -47,7 +47,7 @@ SOURCES += main.cpp
<!-- index Subclassing --><p>When subclassing a form it is helpful to use a naming convention to help us identify which files are generated from <em>TQt Designer</em>'s<!-- index .ui --> <tt>.ui</tt> files and which are hand coded.</p>
<p>Suppose, for example, that we are developing a dialog and writing the code directly in <em>TQt Designer</em>. We might call our dialog 'OptionsForm' and the<!-- index .ui --> <tt>.ui</tt> file, <tt>optionsform.ui</tt>. The automatically generated files will be <tt>optionsform.h</tt> and <tt>optionsform.cpp</tt>.</p>
<p>If we were developing another dialog, but this time one that we intended to subclass, we want to make it easy to distinguish between the automatically generated files and our hand coded files. For example, we might call our dialog 'SettingsFormBase' and the<!-- index .ui --> <tt>.ui</tt> file <tt>settingsformbase.ui</tt>. The automatically generated files would then be called <tt>settingsformbase.h</tt> and <tt>settingsformbase.cpp</tt>. We would then call our subclass 'SettingsForm' and code it in the files <tt>settingsform.h</tt> and <tt>settingsform.cpp</tt>.</p>
<!-- index Q_OBJECT!Macros --><!-- index Macros!Q_OBJECT --><!-- index Signals and Slots!Q_OBJECT --><p>Any subclass of a form should include the <tt>Q_OBJECT</tt> macro so that slots and signals will work correctly. Once you've created your subclass be sure to add the<!-- index .h --> <tt>.h</tt> and the<!-- index .cpp --> <tt>.cpp</tt> files to the<!-- index .pro --> <tt>.pro</tt> project file. For example we would add the following lines for our subclassed 'SettingsForm' at the end of the<!-- index .pro --> <tt>.pro</tt> file:</p>
<!-- index TQ_OBJECT!Macros --><!-- index Macros!TQ_OBJECT --><!-- index Signals and Slots!TQ_OBJECT --><p>Any subclass of a form should include the <tt>TQ_OBJECT</tt> macro so that slots and signals will work correctly. Once you've created your subclass be sure to add the<!-- index .h --> <tt>.h</tt> and the<!-- index .cpp --> <tt>.cpp</tt> files to the<!-- index .pro --> <tt>.pro</tt> project file. For example we would add the following lines for our subclassed 'SettingsForm' at the end of the<!-- index .pro --> <tt>.pro</tt> file:</p>
<pre>
HEADERS += settingsform.h
SOURCES += settingsform.cpp
@ -102,7 +102,7 @@ int main( int argc, char *argv[] )
class CreditForm : public CreditFormBase
{
Q_OBJECT
TQ_OBJECT
public:
CreditForm( <a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = 0,
bool modal = FALSE, WFlags fl = 0 );
@ -111,7 +111,7 @@ int main( int argc, char *argv[] )
void setAmount();
};
</pre>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --> <p>We've declared the slot, <tt>setAmount()</tt>, that we created in <em>TQt Designer</em>. The <tt>Q_OBJECT</tt> macro is included because it is essential for classes that use signals and slots.</p>
<!-- index Macros!TQ_OBJECT --><!-- index TQ_OBJECT --> <p>We've declared the slot, <tt>setAmount()</tt>, that we created in <em>TQt Designer</em>. The <tt>TQ_OBJECT</tt> macro is included because it is essential for classes that use signals and slots.</p>
<p>The implementation in <tt>qt/tools/designer/examples/credit/creditform.cpp</tt> is simple:</p>
<pre> #include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
#include &lt;<a href="qspinbox-h.html">ntqspinbox.h</a>&gt;
@ -250,7 +250,7 @@ INCLUDEPATH += $(QTDIR)/tools/designer/uilib
class Receiver : public <a href="ntqobject.html">TQObject</a>
{
Q_OBJECT
TQ_OBJECT
public:
void setParent( <a href="ntqdialog.html">TQDialog</a> *parent );
public slots:
@ -259,7 +259,7 @@ private:
<a href="ntqdialog.html">TQDialog</a> *p;
};
</pre>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT!Macros --><p>Our class must be a <a href="ntqobject.html">TQObject</a> subclass and because we're using signals and slots it must include the <tt>Q_OBJECT</tt> macro. We declare a function and the <tt>setAmount()</tt> slot that we wish to implement as well as a private <a href="ntqdialog.html">TQDialog</a> pointer.</p>
<!-- index Macros!TQ_OBJECT --><!-- index TQ_OBJECT!Macros --><p>Our class must be a <a href="ntqobject.html">TQObject</a> subclass and because we're using signals and slots it must include the <tt>TQ_OBJECT</tt> macro. We declare a function and the <tt>setAmount()</tt> slot that we wish to implement as well as a private <a href="ntqdialog.html">TQDialog</a> pointer.</p>
<p>The implementation requires the header files of the classes it uses:</p>
<pre> #include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
#include &lt;<a href="qspinbox-h.html">ntqspinbox.h</a>&gt;

@ -45,7 +45,7 @@ body { background: #ffffff; color: black; }
class Vcr : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
Vcr( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );
~Vcr() {}
@ -56,8 +56,8 @@ body { background: #ffffff; color: black; }
void stop();
};
</pre>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --> <p>We include <tt>ntqwidget.h</tt> since we'll be deriving our custom widget from <a href="ntqwidget.html">TQWidget</a>. We declare a constructor where the widget will be created and the four signals we want our widget to emit.</p>
<p><b>Note:</b> Since we're using signals we must also include the <tt>Q_OBJECT</tt> macro. This macro also ensures that information about the class is available via the <a href="metaobjects.html">Meta Object System</a> and ensures that <em>TQt Designer</em> will display the correct information about the widget.</p>
<!-- index Macros!TQ_OBJECT --><!-- index TQ_OBJECT --> <p>We include <tt>ntqwidget.h</tt> since we'll be deriving our custom widget from <a href="ntqwidget.html">TQWidget</a>. We declare a constructor where the widget will be created and the four signals we want our widget to emit.</p>
<p><b>Note:</b> Since we're using signals we must also include the <tt>TQ_OBJECT</tt> macro. This macro also ensures that information about the class is available via the <a href="metaobjects.html">Meta Object System</a> and ensures that <em>TQt Designer</em> will display the correct information about the widget.</p>
<p>The implementation is straightforward. The only function we implement is the constructor. The rest of the file consists of include statements and embedded<!-- index .xpm --> <tt>.xpm</tt> images.</p>
<pre> Vcr::Vcr( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name )
: <a href="ntqwidget.html">TQWidget</a>( parent, name )
@ -128,10 +128,10 @@ DBFILE = vcr.db
</pre>
<p>Our widget will be derived from <a href="ntqwidget.html">TQWidget</a> so we include the <tt>ntqwidget.h</tt> header file. We also forward declare the two classes that our widget will be built from.</p>
<pre></pre>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><!-- index Macros!Q_ENUMS --><!-- index Q_ENUMS --> <p>We include the <tt>Q_OBJECT</tt> macro since this is required for classes that declare signals or slots. The <tt>Q_ENUMS</tt> declaration is used to register the Mode enumeration. Our widget has two properties, mode, to store whether the user should select a File or a Directory and fileName which stores the file or directory they chose.</p>
<!-- index Macros!TQ_OBJECT --><!-- index TQ_OBJECT --><!-- index Macros!Q_ENUMS --><!-- index Q_ENUMS --> <p>We include the <tt>TQ_OBJECT</tt> macro since this is required for classes that declare signals or slots. The <tt>Q_ENUMS</tt> declaration is used to register the Mode enumeration. Our widget has two properties, mode, to store whether the user should select a File or a Directory and fileName which stores the file or directory they chose.</p>
<pre> class QT_WIDGET_PLUGIN_EXPORT FileChooser : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Mode )
Q_PROPERTY( Mode mode READ mode WRITE setMode )

@ -107,11 +107,11 @@ body { background: #ffffff; color: black; }
<li><p>Use TQt -- Add the TQt libraries to the active project</p>
<li><p>Add MOC -- Add the <tt>moc</tt> precompiler to the active file</p>
</ul><p>Double clicking a<!-- index .ui --> <tt>.ui</tt> file in the workspace overview will now launch <em>TQt Designer</em>.</p>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><p>If you create a<!-- index .cpp --> <tt>.cpp</tt> file which contains the <tt>Q_OBJECT</tt> macro you will need an additional file which is generated by the <tt>moc</tt> to be included in your project. For example, if you have 'file.cpp', then the last line would be <tt>#include "file.moc"</tt> and the additional file would be called 'file.moc'. To ensure that Visual Studio executes the <tt>moc</tt> and generates this file you must create a custom dependency. Double click the<!-- index .cpp --> <tt>.cpp</tt> file (in your project workspace) that contains the <tt>Q_OBJECT</tt> macro. Click the <b>Add MOC</b> toolbar button; this will create an empty<!-- index .moc --> <tt>.moc</tt> file in your project workspace. Right click the newly created<!-- index .moc --> <tt>.moc</tt> file, then click <b>Settings</b> from the pop-up menu to invoke the Project Settings dialog. Click the Custom Build tab. Click the <b>Dependencies</b> button to pop up the User Defined Dependencies dialog. Type in <tt>$(InputDir)\$(InputPath)</tt>, then press <b>Return</b>. Click <b>OK</b> to leave the Dependencies dialog, then click <b>OK</b> to leave the Project Settings dialog.</p>
<!-- index Macros!TQ_OBJECT --><!-- index TQ_OBJECT --><p>If you create a<!-- index .cpp --> <tt>.cpp</tt> file which contains the <tt>TQ_OBJECT</tt> macro you will need an additional file which is generated by the <tt>moc</tt> to be included in your project. For example, if you have 'file.cpp', then the last line would be <tt>#include "file.moc"</tt> and the additional file would be called 'file.moc'. To ensure that Visual Studio executes the <tt>moc</tt> and generates this file you must create a custom dependency. Double click the<!-- index .cpp --> <tt>.cpp</tt> file (in your project workspace) that contains the <tt>TQ_OBJECT</tt> macro. Click the <b>Add MOC</b> toolbar button; this will create an empty<!-- index .moc --> <tt>.moc</tt> file in your project workspace. Right click the newly created<!-- index .moc --> <tt>.moc</tt> file, then click <b>Settings</b> from the pop-up menu to invoke the Project Settings dialog. Click the Custom Build tab. Click the <b>Dependencies</b> button to pop up the User Defined Dependencies dialog. Type in <tt>$(InputDir)\$(InputPath)</tt>, then press <b>Return</b>. Click <b>OK</b> to leave the Dependencies dialog, then click <b>OK</b> to leave the Project Settings dialog.</p>
<p>If you wish to delete the add-in remove it from the toolbar then delete the<!-- index qmsdev.dll --> <tt>qmsdev.dll</tt> file from the add-ins directory.</p>
<h4><a name="3-1"></a>Creating Makefiles without qmake</h4>
<!-- index Makefiles --><p>The <tt>qmake</tt> tool provided with TQt can create Makefiles appropriate to your platform based on<!-- index .pro --> <tt>.pro</tt> project files. This section describes the dependencies involved in building a TQt application and gives a couple of simple example Makefiles. This section assumes that you have a good understanding of Makefiles.</p>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><p><em>TQt Designer</em> produces<!-- index .ui --> <tt>.ui</tt> files which are used to generate<!-- index .h --> <tt>.h</tt> and<!-- index .cpp --> <tt>.cpp</tt> files for the compiler to compile. The<!-- index .ui --> <tt>.ui</tt> files are processed by <tt>uic</tt>. Classes which inherit from <a href="ntqobject.html">TQObject</a>, e.g. those which use slots and signals, require an additional<!-- index .cpp --> <tt>.cpp</tt> file to be generated. These files are generated by the <tt>moc</tt> and are named '<em>moc_</em>file.cpp' where the original<!-- index .cpp --> <tt>.cpp</tt> file is called 'file.cpp'. If your<!-- index .cpp --> <tt>.cpp</tt> file contains the <tt>Q_OBJECT</tt> macro an additional file 'file.moc' should be generated which must be <tt>#include</tt>d in the<!-- index .cpp --> <tt>.cpp</tt>, normally at the end. This requires an extra dependency being created.</p>
<!-- index Macros!TQ_OBJECT --><!-- index TQ_OBJECT --><p><em>TQt Designer</em> produces<!-- index .ui --> <tt>.ui</tt> files which are used to generate<!-- index .h --> <tt>.h</tt> and<!-- index .cpp --> <tt>.cpp</tt> files for the compiler to compile. The<!-- index .ui --> <tt>.ui</tt> files are processed by <tt>uic</tt>. Classes which inherit from <a href="ntqobject.html">TQObject</a>, e.g. those which use slots and signals, require an additional<!-- index .cpp --> <tt>.cpp</tt> file to be generated. These files are generated by the <tt>moc</tt> and are named '<em>moc_</em>file.cpp' where the original<!-- index .cpp --> <tt>.cpp</tt> file is called 'file.cpp'. If your<!-- index .cpp --> <tt>.cpp</tt> file contains the <tt>TQ_OBJECT</tt> macro an additional file 'file.moc' should be generated which must be <tt>#include</tt>d in the<!-- index .cpp --> <tt>.cpp</tt>, normally at the end. This requires an extra dependency being created.</p>
<p>Processing<!-- index .ui --> <tt>.ui</tt> files with <tt>uic</tt> is done <em>twice</em>:</p>
<pre>
uic myform.ui -o myform.h

@ -113,7 +113,7 @@ private:
class DirectoryView : public <a href="ntqlistview.html">TQListView</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
DirectoryView( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, bool sdo = FALSE );

@ -170,7 +170,7 @@ DrawThing ourDrawFunctions[] = {
class DrawView : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
DrawView();
~DrawView();

@ -73,7 +73,7 @@ class TQResizeEvent;
class TQtFileIconDrag : public <a href="qicondrag.html">TQIconDrag</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
TQtFileIconDrag( <a href="ntqwidget.html">TQWidget</a> * dragSource, const char* name = 0 );
@ -96,7 +96,7 @@ private:
class TQtFileIconViewItem;
class TQtFileIconView : public <a href="ntqiconview.html">TQIconView</a>
{
Q_OBJECT
TQ_OBJECT
public:
TQtFileIconView( const <a href="ntqstring.html">TQString</a> &amp;dir, TQWidget *parent = 0, const char *name = 0 );
@ -1079,7 +1079,7 @@ class TQToolButton;
class FileMainWindow : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
Q_OBJECT
TQ_OBJECT
public:
FileMainWindow();

@ -63,7 +63,7 @@ const int numColors = 120;
class Forever : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Forever( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
protected:

@ -40,8 +40,8 @@ API with links to the class documentation for each function.
<ul>
<li>DTDHandler:
<a href="qxmlreader.html#DTDHandler">TQXmlReader</a><li>Q_ASSERT:
<a href="ntqapplication.html#Q_ASSERT">TQApplication</a><li>Q_CHECK_PTR:
<a href="ntqapplication.html#Q_CHECK_PTR">TQApplication</a><li><a name="a"></a>
<a href="ntqapplication.html#Q_ASSERT">TQApplication</a><li>TQ_CHECK_PTR:
<a href="ntqapplication.html#TQ_CHECK_PTR">TQApplication</a><li><a name="a"></a>
abort:
<a href="ntqftp.html#abort">TQFtp</a> <a href="ntqhttp.html#abort">TQHttp</a> <a href="ntqprinter.html#abort">TQPrinter</a><li>aborted:
<a href="ntqprinter.html#aborted">TQPrinter</a><li>about:

@ -121,7 +121,7 @@ public:
//
class Graph : public <a href="qnpwidget.html">TQNPWidget</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
// Constructs a Graph to display a GraphModel
//
@ -449,7 +449,7 @@ const char* Graph::styleName[] = { "Pie", "Bar", 0 };
//
class Grapher : public <a href="qnpinstance.html">TQNPInstance</a>, GraphModel {
Q_OBJECT
TQ_OBJECT
public:
// Create a Grapher - all Grapher plugins are created
// by one GrapherPlugin object.

@ -55,7 +55,7 @@ and in different colors.
class Hello : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Hello( const char *text, TQWidget *parent=0, const char *name=0 );
signals:

@ -145,7 +145,7 @@ the cell, and use <a href="ntqtooltip.html#tip">TQToolTip::tip</a>() to display
in a tooltip and to provide text for the <a href="qtooltipgroup.html">TQToolTipGroup</a> as before.
<pre> class WhatsThis : public <a href="ntqobject.html">TQObject</a>, public TQWhatsThis
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
WhatsThis( <a href="ntqwidget.html">TQWidget</a> *w, TQWidget *watch = 0 );
@ -303,7 +303,7 @@ and return a string accordingly.
<pre> class MainWindow : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
Q_OBJECT
TQ_OBJECT
public:
MainWindow();
~MainWindow();

@ -61,7 +61,7 @@ class TQPopupMenu;
class HelpWindow : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
HelpWindow( const <a href="ntqstring.html">TQString</a>&amp; home_, const <a href="ntqstring.html">TQString</a>&amp; path, TQWidget* parent = 0, const char *name=0 );
~HelpWindow();

@ -63,7 +63,7 @@ sending the page, it closes the connection.
// HttpDaemon is the the class that implements the simple HTTP server.
class HttpDaemon : public <a href="ntqserversocket.html">TQServerSocket</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
HttpDaemon( <a href="ntqobject.html">TQObject</a>* parent=0 ) :
<a href="ntqserversocket.html">TQServerSocket</a>(8080,1,parent)
@ -126,7 +126,7 @@ private slots:
// the actions of the server.
class HttpInfo : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
HttpInfo()
{

@ -57,7 +57,7 @@ This example shows how to internationalize applications. Start it with
class MyWidget : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MyWidget( <a href="ntqwidget.html">TQWidget</a>* parent=0, const char* name = 0 );

@ -58,7 +58,7 @@ view modes, rubberband selection, etc.
class ListenDND : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ListenDND( <a href="ntqwidget.html">TQWidget</a> *w )

@ -55,7 +55,7 @@ class TQDragDropEvent;
class DDListBox : public <a href="ntqlistbox.html">TQListBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
DDListBox( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 );
// Low-level drag and drop
@ -83,7 +83,7 @@ public:
class DDIconView : public <a href="ntqiconview.html">TQIconView</a>
{
Q_OBJECT
TQ_OBJECT
public:
DDIconView( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ) :
<a href="ntqiconview.html">TQIconView</a>( parent, name, f ) {}

@ -8101,7 +8101,7 @@
"QXtWidget::xtWidget" qxtwidget.html#xtWidget
"QXtWidget::~QXtWidget" qxtwidget.html#~QXtWidget
"Q_ASSERT" ntqapplication.html#Q_ASSERT
"Q_CHECK_PTR" ntqapplication.html#Q_CHECK_PTR
"TQ_CHECK_PTR" ntqapplication.html#TQ_CHECK_PTR
"Qt" ntqt.html
"Qt Commercial Editions" commercialeditions.html
"Qt Demo" demo-example.html

@ -153,8 +153,8 @@ sets any other settings needed to use TQt in that project.
<a name="3-7"></a><p> The 'Add MOC' button will add in the custom build step for the selected file
so that it creates any needed MOC files and it will add these generated
files to the project. All you need to do to use it is click on a file that
has <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> and click the button.
<p> You only need to use this button if you added a file that has <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> in it by hand, you don't need to use this if you used any
has <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> and click the button.
<p> You only need to use this button if you added a file that has <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> in it by hand, you don't need to use this if you used any
of the previously mentioned buttons. It can also be invoked by using
the Ctrl+Shift+M key combination in Visual Studio.
<p>

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
class LifeWidget : public <a href="ntqframe.html">TQFrame</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
LifeWidget( int s = 10, TQWidget *parent = 0, const char *name = 0 );

@ -57,7 +57,7 @@ class TQComboBox;
class LineEdits : public <a href="ntqgroupbox.html">TQGroupBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
LineEdits( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
<pre>
button = new TQPushButton( tr("&amp;Quit"), this);
</pre>
<!-- index Q_OBJECT --><p>All <a href="ntqobject.html">TQObject</a> subclasses that use the <tt>Q_OBJECT</tt> macro implement the <tt>tr()</tt> function.</p>
<!-- index TQ_OBJECT --><p>All <a href="ntqobject.html">TQObject</a> subclasses that use the <tt>TQ_OBJECT</tt> macro implement the <tt>tr()</tt> function.</p>
<p>Although the <tt>tr()</tt> call is normally made directly since it is usually called as a member function of a <a href="ntqobject.html">TQObject</a> subclass, in other cases an explicit class name can be supplied, for example:</p>
<pre>
TQPushButton::tr("&amp;Quit")
@ -315,7 +315,7 @@ TRANSLATIONS = tt2_fr.ts \
<!-- index ArrowPad!in Translation Tutorial --><!-- index English Language --><p>In <tt>arrowpad.h</tt> we define the <tt>ArrowPad</tt> subclass which is a subclass of <a href="ntqwidget.html">TQWidget</a>. In the <em>Tutorial 2 Screenshot, English version</em>, above, the central widget with the four buttons is an <tt>ArrowPad</tt>.</p>
<pre> class ArrowPad : public <a href="ntqgrid.html">TQGrid</a>
</pre>
<!-- index Q_OBJECT --><!-- index tr() --><!-- index TQObject!tr() --><!-- index Translation Contexts --><!-- index Contexts!for Translation --> <p>When <a href="linguist-manual-2.html#2">lupdate</a> is run it not only extracts the source texts but it also groups them into contexts. A context is the name of the class in which the source text appears. Thus, in this example, "ArrowPad" is a context: it is the context of the texts in the <tt>ArrowPad</tt> class. The <tt>Q_OBJECT</tt> macro defines <tt>tr(x)</tt> in <tt>ArrowPad</tt> like this</p>
<!-- index TQ_OBJECT --><!-- index tr() --><!-- index TQObject!tr() --><!-- index Translation Contexts --><!-- index Contexts!for Translation --> <p>When <a href="linguist-manual-2.html#2">lupdate</a> is run it not only extracts the source texts but it also groups them into contexts. A context is the name of the class in which the source text appears. Thus, in this example, "ArrowPad" is a context: it is the context of the texts in the <tt>ArrowPad</tt> class. The <tt>TQ_OBJECT</tt> macro defines <tt>tr(x)</tt> in <tt>ArrowPad</tt> like this</p>
<!-- index TQApplication!translate() --><!-- index translate()!TQApplication --><pre>
qApp-&gt;translate( "ArrowPad", x )
</pre>
@ -327,11 +327,11 @@ TRANSLATIONS = tt2_fr.ts \
<p align="center"><img align="middle" src="tt2_en.png" width="170" height="157">
</p>
<blockquote><p align="center"><em>Tutorial 2 Screenshot, English version</em></p></blockquote>
<!-- index Q_OBJECT --><!-- index MainWindow!in Translation Tutorial --><pre> class MainWindow : public <a href="ntqmainwindow.html">TQMainWindow</a>
<!-- index TQ_OBJECT --><!-- index MainWindow!in Translation Tutorial --><pre> class MainWindow : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
Q_OBJECT
TQ_OBJECT
</pre>
<p>In the <em>Tutorial 2 Screenshot, English version</em>, above, the whole window is a <tt>MainWindow</tt>. This is defined in the <tt>mainwindow.h</tt> header file. Here too, we use <tt>Q_OBJECT</tt>, so that <tt>MainWindow</tt> will become a context in <em>TQt Linguist</em>.</p>
<p>In the <em>Tutorial 2 Screenshot, English version</em>, above, the whole window is a <tt>MainWindow</tt>. This is defined in the <tt>mainwindow.h</tt> header file. Here too, we use <tt>TQ_OBJECT</tt>, so that <tt>MainWindow</tt> will become a context in <em>TQt Linguist</em>.</p>
<p>In the implementation of <tt>MainWindow</tt>, <tt>mainwindow.cpp</tt>, we create an instance of our <tt>ArrowPad</tt> class</p>
<pre> ArrowPad *ap = new ArrowPad( this, "arrow pad" );
</pre>
@ -426,9 +426,9 @@ TRANSLATIONS = tt3_pt.ts
<p>The PrintPanel is defined in <tt>printpanel.h</tt>.</p>
<pre> class PrintPanel : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
</pre>
<!-- index Q_OBJECT --><!-- index PrintPanel!in Translation Tutorial --> <p>PrintPanel is a <a href="ntqwidget.html">TQWidget</a>. It needs the <tt>Q_OBJECT</tt> macro for <tt>tr()</tt> to work properly.</p>
<!-- index TQ_OBJECT --><!-- index PrintPanel!in Translation Tutorial --> <p>PrintPanel is a <a href="ntqwidget.html">TQWidget</a>. It needs the <tt>TQ_OBJECT</tt> macro for <tt>tr()</tt> to work properly.</p>
<p>The implementation file is <tt>printpanel.cpp</tt>.</p>
<pre> /*
<a href="ntqlabel.html">TQLabel</a> *lab = new <a href="ntqlabel.html">TQLabel</a>( <a href="ntqobject.html#tr">tr</a>("&lt;b&gt;TROLL PRINT&lt;/b&gt;"), this );

@ -60,7 +60,7 @@ class TQButtonGroup;
class ListBoxDemo: public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ListBoxDemo();
~ListBoxDemo();

@ -57,7 +57,7 @@ class TQLabel;
class ListBoxCombo : public <a href="ntqvbox.html">TQVBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ListBoxCombo( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -120,7 +120,7 @@ protected:
class Folder : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Folder( Folder *parent, const <a href="ntqstring.html">TQString</a> &amp;name );
@ -179,7 +179,7 @@ protected:
class ListViews : public <a href="ntqsplitter.html">TQSplitter</a>
{
Q_OBJECT
TQ_OBJECT
public:
ListViews( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -60,7 +60,7 @@ class TQDns;
class Smtp : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Smtp( const <a href="ntqstring.html">TQString</a> &amp;from, const <a href="ntqstring.html">TQString</a> &amp;to,

@ -62,7 +62,7 @@ class TQMovie;
class MDIWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MDIWindow( <a href="ntqwidget.html">TQWidget</a>* parent, const char* name, int wflags );
~MDIWindow();
@ -87,7 +87,7 @@ private:
class ApplicationWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
Q_OBJECT
TQ_OBJECT
public:
ApplicationWindow();
~ApplicationWindow();

@ -58,7 +58,7 @@ context menu.
class MenuExample : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MenuExample( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -225,7 +225,7 @@ private:
<a href="ntqpixmap.html">TQPixmap</a> p2( p2_xpm );
<a href="ntqpixmap.html">TQPixmap</a> p3( p3_xpm );
<a href="ntqpopupmenu.html">TQPopupMenu</a> *print = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( print );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( print );
<a name="x1879"></a> print-&gt;<a href="ntqpopupmenu.html#insertTearOffHandle">insertTearOffHandle</a>();
<a name="x1869"></a> print-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print to printer", this, SLOT(printer()) );
print-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to &amp;file", this, SLOT(file()) );
@ -234,7 +234,7 @@ private:
print-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Printer &amp;Setup", this, SLOT(printerSetup()) );
<a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( file );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&amp;Open", this, SLOT(open()), CTRL+Key_O );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&amp;New", this, SLOT(news()), CTRL+Key_N );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p3, "&amp;Save", this, SLOT(save()), CTRL+Key_S );
@ -245,14 +245,14 @@ private:
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "E&amp;xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q );
<a href="ntqpopupmenu.html">TQPopupMenu</a> *edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( edit );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit );
int undoID = edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Undo", this, SLOT(undo()) );
int redoID = edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Redo", this, SLOT(redo()) );
<a name="x1873"></a> edit-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( undoID, FALSE );
edit-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( redoID, FALSE );
<a href="ntqpopupmenu.html">TQPopupMenu</a>* options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( options );
options-&gt;<a href="ntqpopupmenu.html#insertTearOffHandle">insertTearOffHandle</a>();
options-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>("Options");
options-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Normal Font", this, SLOT(normal()) );
@ -276,13 +276,13 @@ private:
<a href="ntqpopupmenu.html">TQPopupMenu</a> *help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( help );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( help );
help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;About", this, SLOT(about()), CTRL+Key_H );
help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About &amp;TQt", this, SLOT(aboutTQt()) );
// If we used a TQMainWindow we could use its built-in menuBar().
menu = new <a href="ntqmenubar.html">TQMenuBar</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( menu );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menu );
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Edit", edit );
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Options", options );
@ -292,7 +292,7 @@ private:
<a href="ntqlabel.html">TQLabel</a> *msg = new <a href="ntqlabel.html">TQLabel</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( msg );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( msg );
msg-&gt;<a href="ntqlabel.html#setText">setText</a>( "A context menu is available.\n"
"Invoke it by right-clicking or by"
" pressing the 'context' button." );
@ -300,7 +300,7 @@ private:
<a name="x1864"></a> msg-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
label = new <a href="ntqlabel.html">TQLabel</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( label );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( label );
label-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( 20, rect().center().y()-20, width()-40, 40 );
label-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised );
<a name="x1863"></a> label-&gt;<a href="ntqframe.html#setLineWidth">setLineWidth</a>( 1 );
@ -317,7 +317,7 @@ private:
<a name="x1881"></a>void MenuExample::<a href="ntqwidget.html#contextMenuEvent">contextMenuEvent</a>( <a href="qcontextmenuevent.html">TQContextMenuEvent</a> * )
{
<a href="ntqpopupmenu.html">TQPopupMenu</a>* contextMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( contextMenu );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( contextMenu );
<a href="ntqlabel.html">TQLabel</a> *caption = new <a href="ntqlabel.html">TQLabel</a>( "&lt;font color=darkblue&gt;&lt;u&gt;&lt;b&gt;"
"Context Menu&lt;/b&gt;&lt;/u&gt;&lt;/font&gt;", this );
caption-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignCenter );
@ -326,7 +326,7 @@ private:
contextMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Open...", this, SLOT(open()), CTRL+Key_O );
contextMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Save", this, SLOT(save()), CTRL+Key_S );
<a href="ntqpopupmenu.html">TQPopupMenu</a> *submenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( submenu );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( submenu );
submenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print to printer", this, SLOT(printer()) );
submenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to &amp;file", this, SLOT(file()) );
submenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to fa&amp;x", this, SLOT(fax()) );

@ -33,21 +33,21 @@ body { background: #ffffff; color: black; }
<p> <!-- index meta object --><a name="meta-object"></a><!-- index Q_OBJECT --><a name="Q_OBJECT"></a>
<p> <!-- index meta object --><a name="meta-object"></a><!-- index TQ_OBJECT --><a name="TQ_OBJECT"></a>
<p> TQt's Meta Object System provides the signals and slots mechanism for
inter-object communication, runtime type information, and the dynamic
property system.
<p> The Meta Object System is based on three things:
<ol type=1>
<li> the <a href="ntqobject.html">TQObject</a> class;
<li> the Q_OBJECT macro inside the private section of the class
<li> the TQ_OBJECT macro inside the private section of the class
declaration;
<li> the <a href="moc.html">Meta Object Compiler (moc)</a>.
</ol>
<p> The <em><a href="moc.html#moc">moc</a></em> reads a C++ source file. If it finds one or more class
declarations that contain the Q_OBJECT macro, it produces another C++
declarations that contain the TQ_OBJECT macro, it produces another C++
source file which contains the meta object code for the classes that
contain the Q_OBJECT macro. This generated source file is either
contain the TQ_OBJECT macro. This generated source file is either
#included into the class's source file or compiled and linked with the
class's implementation.
<p> In addition to providing the <a href="signalsandslots.html">signals and
@ -73,14 +73,14 @@ returns the associated <a href="ntqmetaobject.html">meta object</a> for the
class.
<p> </ul>
<p> While it is possible to use TQObject as a base class without the
Q_OBJECT macro and without meta object code, neither signals and slots
TQ_OBJECT macro and without meta object code, neither signals and slots
nor the other features described here will be available if the
Q_OBJECT macro is not used. From the meta object system's point of
TQ_OBJECT macro is not used. From the meta object system's point of
view, a TQObject subclass without meta code is equivalent to its
closest ancestor with meta object code. This means for example, that
className() will not return the actual name of your class, but the
class name of this ancestor. We <em>strongly</em> recommend that all
subclasses of <a href="ntqobject.html">TQObject</a> use the Q_OBJECT macro regardless of whether
subclasses of <a href="ntqobject.html">TQObject</a> use the TQ_OBJECT macro regardless of whether
they actually use signals, slots and properties or not.
<p>
<!-- eof -->

@ -37,9 +37,9 @@ body { background: #ffffff; color: black; }
<p> The Meta Object Compiler, moc among friends, is the program which
handles TQt's <a href="metaobjects.html">C++ extensions.</a>
<p> The moc reads a C++ source file. If it finds one or more class
declarations that contain the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro, it produces another
declarations that contain the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro, it produces another
C++ source file which contains the <a href="metaobjects.html#meta-object">meta object</a> code for the classes
that use the Q_OBJECT macro. Among other things, meta object code is
that use the TQ_OBJECT macro. Among other things, meta object code is
required for the signal/slot mechanism, runtime type information and
the dynamic property system.
<p> The C++ source file generated by the moc must be compiled and linked
@ -57,7 +57,7 @@ like this:
<p> <pre>
class MyClass : public <a href="ntqobject.html">TQObject</a>
{
Q_OBJECT
TQ_OBJECT
public:
MyClass( <a href="ntqobject.html">TQObject</a> * parent=0, const char * name=0 );
~MyClass();
@ -82,7 +82,7 @@ function <tt>setPriority()</tt>.
<p> <pre>
class MyClass : public <a href="ntqobject.html">TQObject</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:
@ -102,7 +102,7 @@ attach additional name/value-pairs to the class' meta object:
<p> <pre>
class MyClass : public <a href="ntqobject.html">TQObject</a>
{
Q_OBJECT
TQ_OBJECT
Q_CLASSINFO( "Author", "Oscar Peterson")
Q_CLASSINFO( "Status", "Active")
public:
@ -144,7 +144,7 @@ it is not necessary to compile and link it separately, as in Method A.
<p> </dl>
<p> Method A is the normal method. Method B can be used in cases where you
want the implementation file to be self-contained, or in cases where
the Q_OBJECT class is implementation-internal and thus should not be
the TQ_OBJECT class is implementation-internal and thus should not be
visible in the header file.
<p> <h2> Automating moc Usage with Makefiles
</h2>
@ -157,7 +157,7 @@ recognizes both Method A and B style source files, and generates a
Makefile that does all the necessary moc handling.
<p> If you want to create your Makefiles yourself, here are some tips on
how to include moc handling.
<p> For Q_OBJECT class declarations in header files, here is a useful
<p> For TQ_OBJECT class declarations in header files, here is a useful
makefile rule if you only use GNU make:
<p> <pre>
moc_%.cpp: %.h
@ -177,7 +177,7 @@ following form:
<p> (While we prefer to name our C++ source files .cpp, the moc doesn't
care, so you can use .C, .cc, .CC, .cxx or even .c++ if you
prefer.)
<p> For Q_OBJECT class declarations in implementation (.cpp) files, we
<p> For TQ_OBJECT class declarations in implementation (.cpp) files, we
suggest a makefile rule like this:
<p> <pre>
NAME.o: NAME.moc
@ -240,7 +240,7 @@ MOC_SKIP_END.
<p> <h2> Diagnostics
</h2>
<a name="4"></a><p> The moc will warn you about a number of dangerous or illegal
constructs in the Q_OBJECT class declarations.
constructs in the TQ_OBJECT class declarations.
<p> If you get linkage errors in the final building phase of your
program, saying that YourClass::className() is undefined or that
YourClass lacks a vtbl, something has been done wrong. Most often,
@ -255,7 +255,7 @@ not usually a problem in practice.
templates cannot have signals or slots. Here is an example:
<p> <pre>
class SomeTemplate&lt;int&gt; : public <a href="ntqframe.html">TQFrame</a> {
Q_OBJECT
TQ_OBJECT
...
signals:
void bugInMocDetected( int );
@ -286,7 +286,7 @@ signal/slot arguments, we think inheritance is a better alternative.
Here is an example of illegal syntax:
<p> <pre>
class SomeClass : public <a href="ntqobject.html">TQObject</a> {
Q_OBJECT
TQ_OBJECT
...
public slots:
// illegal
@ -299,7 +299,7 @@ Here is an example of illegal syntax:
typedef void (*ApplyFunctionType)( List *, void * );
class SomeClass : public <a href="ntqobject.html">TQObject</a> {
Q_OBJECT
TQ_OBJECT
...
public slots:
void apply( ApplyFunctionType, char * );
@ -316,7 +316,7 @@ protected or public sections instead. Here is an example of the
illegal syntax:
<p> <pre>
class SomeClass : public <a href="ntqobject.html">TQObject</a> {
Q_OBJECT
TQ_OBJECT
...
signals:
friend class ClassTemplate&lt;char&gt;; // WRONG
@ -371,7 +371,7 @@ signals or slots
<a name="5-6"></a><p> Here's an example:
<p> <pre>
class A {
Q_OBJECT
TQ_OBJECT
public:
class B {
public slots: // WRONG
@ -395,7 +395,7 @@ protected or public sections, where they belong. Here is an example
of the illegal syntax:
<p> <pre>
class SomeClass : public <a href="ntqobject.html">TQObject</a> {
Q_OBJECT
TQ_OBJECT
public slots:
SomeClass( <a href="ntqobject.html">TQObject</a> *parent, const char *name )
: <a href="ntqobject.html">TQObject</a>( parent, name ) { } // WRONG
@ -413,7 +413,7 @@ find the functions nor resolve the type. Here is an example of the
illegal syntax:
<p> <pre>
class SomeClass : public <a href="ntqobject.html">TQObject</a> {
Q_OBJECT
TQ_OBJECT
public:
...
Q_PROPERTY( Priority priority READ priority WRITE setPriority ) // WRONG
@ -426,10 +426,10 @@ illegal syntax:
</pre>
<p> Work around this limitation by declaring all properties at the
beginning of the class declaration, right after Q_OBJECT:
beginning of the class declaration, right after TQ_OBJECT:
<p> <pre>
class SomeClass : public <a href="ntqobject.html">TQObject</a> {
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:

@ -59,7 +59,7 @@ The Movies example displays MNG and animated GIF files using the <a href="ntqmov
class MovieScreen : public <a href="ntqframe.html">TQFrame</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
<a href="ntqmovie.html">TQMovie</a> movie;
<a href="ntqstring.html">TQString</a> filename;
<a href="ntqsize.html">TQSize</a> sh;
@ -259,7 +259,7 @@ public:
// A TQFileDialog that chooses movies.
//
class MovieStarter: public <a href="ntqfiledialog.html">TQFileDialog</a> {
Q_OBJECT
TQ_OBJECT
public:
MovieStarter(const char *dir);

@ -57,7 +57,7 @@ should not be used as a real NNTP implemention.
class Nntp : public <a href="ntqnetworkprotocol.html">TQNetworkProtocol</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Nntp();

@ -178,7 +178,7 @@ flow and main settings.
<li class=fn>void <a href="#qFatal"><b>qFatal</b></a> ( const&nbsp;char&nbsp;*&nbsp;msg, ... )</li>
<li class=fn>void <a href="#qSystemWarning"><b>qSystemWarning</b></a> ( const&nbsp;char&nbsp;*&nbsp;msg, int&nbsp;code )</li>
<li class=fn>void <a href="#Q_ASSERT"><b>Q_ASSERT</b></a> ( bool&nbsp;test )</li>
<li class=fn>void <a href="#Q_CHECK_PTR"><b>Q_CHECK_PTR</b></a> ( void&nbsp;*&nbsp;p )</li>
<li class=fn>void <a href="#TQ_CHECK_PTR"><b>TQ_CHECK_PTR</b></a> ( void&nbsp;*&nbsp;p )</li>
<li class=fn>TQtMsgHandler <a href="#qInstallMsgHandler"><b>qInstallMsgHandler</b></a> ( TQtMsgHandler&nbsp;h )</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
@ -1808,7 +1808,7 @@ message using the <a href="#qWarning">qWarning</a>() function:
<p> <p>See also <a href="#qWarning">qWarning</a>() and <a href="debug.html">Debugging</a>.
<h3 class=fn>void <a name="Q_CHECK_PTR"></a>Q_CHECK_PTR ( void&nbsp;*&nbsp;p )
<h3 class=fn>void <a name="TQ_CHECK_PTR"></a>TQ_CHECK_PTR ( void&nbsp;*&nbsp;p )
</h3>
<p>
@ -1819,10 +1819,10 @@ name and line number, saying that the program ran out of memory.
<pre>
int *a;
<a href="#Q_CHECK_PTR">Q_CHECK_PTR</a>( a = new int[80] ); // WRONG!
<a href="#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( a = new int[80] ); // WRONG!
a = new (nothrow) int[80]; // Right
<a href="#Q_CHECK_PTR">Q_CHECK_PTR</a>( a );
<a href="#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( a );
</pre>
<p> <p>See also <a href="#qWarning">qWarning</a>() and <a href="debug.html">Debugging</a>.
@ -2004,9 +2004,9 @@ defined.
<p> Returns the TQt version number as a string, for example, "2.3.0" or
"3.0.5".
<p> The <tt>QT_VERSION</tt> define has the numeric value in the form:
<p> The <tt>TQT_VERSION</tt> define has the numeric value in the form:
0xmmiibb (m = major, i = minor, b = bugfix). For example, TQt
3.0.5's <tt>QT_VERSION</tt> is 0x030005.
3.0.5's <tt>TQT_VERSION</tt> is 0x030005.
<h3 class=fn>void <a name="qWarning"></a>qWarning ( const&nbsp;char&nbsp;*&nbsp;msg, ... )
</h3>

@ -352,7 +352,7 @@ Returns TRUE if successful, otherwise FALSE.
{
TQFile f;
f.<a href="#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a>, stderr );
f.<a href="ntqiodevice.html#writeBlock">writeBlock</a>( msg, qstrlen(msg) ); // write to stderr
f.<a href="ntqiodevice.html#writeBlock">writeBlock</a>( msg, tqstrlen(msg) ); // write to stderr
f.<a href="#close">close</a>();
}
</pre>

@ -147,7 +147,7 @@ details. A convenience handler, <a href="#childEvent">childEvent</a>(), can be r
to catch child events.
<p> Last but not least, TQObject provides the basic timer support in
TQt; see <a href="ntqtimer.html">TQTimer</a> for high-level support for timers.
<p> Notice that the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro is mandatory for any object that
<p> Notice that the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro is mandatory for any object that
implements signals, slots or properties. You also need to run the
<a href="moc.html">moc program (Meta Object Compiler)</a> on the
source file. We strongly recommend the use of this macro in <em>all</em>
@ -270,7 +270,7 @@ in the list.
<p> This function is generated by the <a href="metaobjects.html">Meta
Object Compiler.</a>
<p> <b>Warning:</b> This function will return the wrong name if the class
definition lacks the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro.
definition lacks the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro.
<p> <p>See also <a href="#name-prop">name</a>, <a href="#inherits">inherits</a>(), <a href="#isA">isA</a>(), and <a href="#isWidgetType">isWidgetType</a>().
<p>Example: <a href="sql.html#x2235">sql/overview/custom1/main.cpp</a>.
@ -298,7 +298,7 @@ label, SLOT(setNum(int v)) );
<p> <pre>
class MyWidget : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MyWidget();
@ -684,7 +684,7 @@ by you, which is often not what you want. We recommend using a
<p> Returns a pointer to the <a href="metaobjects.html#meta-object">meta object</a> of this object.
<p> A meta object contains information about a class that inherits
TQObject, e.g. class name, superclass name, properties, signals and
slots. Every class that contains the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro will also have
slots. Every class that contains the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro will also have
a meta object.
<p> The meta object information is required by the signal/slot
connection mechanism and the property system. The functions <a href="#isA">isA</a>()
@ -841,7 +841,7 @@ used to find out which timer was activated.
<pre>
class MyObject : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
MyObject( TQObject *parent = 0, const char *name = 0 );
@ -887,7 +887,7 @@ functionality, and also more general information about timers.
<p> Returns a translated version of <em>sourceText</em>, or <em>sourceText</em>
itself if there is no appropriate translated version. The
translation context is TQObject with <em>comment</em> (0 by default).
All TQObject subclasses using the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro automatically have
All TQObject subclasses using the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro automatically have
a reimplementation of this function with the subclass name as
context.
<p> <b>Warning:</b> This method is reentrant only if all translators are

@ -162,7 +162,7 @@ the range of integers used inside the program would be -1 to 100:
<p> <pre>
class MySpinBox : public TQSpinBox
{
Q_OBJECT
TQ_OBJECT
public:
...

@ -217,7 +217,7 @@ returned by end().
<p> <pre>
TQValueList&lt;int&gt; list;
...
TQValueList&lt;int&gt;::<a href="#iterator">iterator</a> it = qFind( list.<a href="#begin">begin</a>(), list.<a href="#end">end</a>(), 3 );
TQValueList&lt;int&gt;::<a href="#iterator">iterator</a> it = tqFind( list.<a href="#begin">begin</a>(), list.<a href="#end">end</a>(), 3 );
if ( it != list.<a href="#end">end</a>() )
// it points to the found item
</pre>

@ -239,7 +239,7 @@ For example:
<p> <pre>
TQValueVector&lt;int&gt; vec;
...
TQValueVector&lt;int&gt;::<a href="#const_iterator">const_iterator</a> it = qFind( vec.<a href="#begin">begin</a>(), vec.<a href="#end">end</a>(), 3 );
TQValueVector&lt;int&gt;::<a href="#const_iterator">const_iterator</a> it = tqFind( vec.<a href="#begin">begin</a>(), vec.<a href="#end">end</a>(), 3 );
if ( it != vector.end() )
// 'it' points to the found element
</pre>

@ -117,7 +117,7 @@ traverse it.
class OutlineTree : public <a href="ntqlistview.html">TQListView</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
OutlineTree( const <a href="ntqstring.html">TQString</a> fileName, TQWidget *parent = 0, const char *name = 0 );

@ -59,7 +59,7 @@ pop up.
class FancyPopup : public <a href="ntqlabel.html">TQLabel</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
FancyPopup( <a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name=0);
@ -77,7 +77,7 @@ private:
class Frame : public <a href="ntqframe.html">TQFrame</a>
{
Q_OBJECT
TQ_OBJECT
public:
Frame( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char* name=0);

@ -222,7 +222,7 @@ but source compatibility should not be affected if the macro variable
<tt>QT_CLEAN_NAMESPACE</tt> is not defined:
<p> <ul>
<li> <tt>ASSERT</tt> becomes <tt>Q_ASSERT</tt>
<li> <tt>CHECK_PTR</tt> becomes <tt>Q_CHECK_PTR</tt>
<li> <tt>CHECK_PTR</tt> becomes <tt>TQ_CHECK_PTR</tt>
</ul>
<p> For the record, undocumented macro variables that are not part of the API
have been changed:
@ -386,10 +386,10 @@ new code.
</ul>
<p> Additionally, these preprocessor directives have been removed:
<p> <ul>
<li> <tt>#define strlen qstrlen</tt>
<li> <tt>#define strlen tqstrlen</tt>
<li> <tt>#define strcpy qstrcpy</tt>
<li> <tt>#define strcmp qstrcmp</tt>
<li> <tt>#define strncmp qstrncmp</tt>
<li> <tt>#define strncmp tqstrncmp</tt>
<li> <tt>#define stricmp qstricmp</tt>
<li> <tt>#define strnicmp qstrnicmp</tt>
</ul>

@ -61,7 +61,7 @@ output of the command.
class UicManager : public <a href="ntqvbox.html">TQVBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
UicManager();

@ -160,7 +160,7 @@ private:
class CPUWaster : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
enum { first_draw_item = 1000, last_draw_item = 1006 };
@ -183,10 +183,10 @@ public:
pb(0)
{
menubar = new <a href="ntqmenubar.html">TQMenuBar</a>( this, "menu" );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( menubar );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menubar );
<a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( file );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file );
menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
for (int i=first_draw_item; i&lt;=last_draw_item; i++)
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( drawItemText(i), i );
@ -195,7 +195,7 @@ public:
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( options );
menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Options", options );
td_id = options-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Timer driven", this, SLOT(timerDriven()) );
ld_id = options-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Loop driven", this, SLOT(loopDriven()) );

@ -58,7 +58,7 @@ class TQProgressBar;
class ProgressBar : public <a href="ntqbuttongroup.html">TQButtonGroup</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ProgressBar( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -88,7 +88,7 @@ functions in use:
<p> <pre>
class MyClass : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MyClass( <a href="ntqobject.html">TQObject</a> * parent=0, const char * name=0 );
~MyClass();
@ -132,7 +132,7 @@ final class declaration including the property related declarations:
<p> <pre>
class MyClass : public <a href="ntqobject.html">TQObject</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:

@ -88,7 +88,7 @@ class TQAccelPrivate;
class Q_EXPORT TQAccel : public TQObject // accelerator class
{
Q_OBJECT
TQ_OBJECT
public:
TQAccel( TQWidget *parent, const char *name=0 );
TQAccel( TQWidget* watch, TQObject *parent, const char *name=0 );
@ -134,7 +134,7 @@ private:
TQAccelPrivate * d;
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQAccel( const TQAccel &amp; );
TQAccel &amp;operator=( const TQAccel &amp; );
#endif

@ -60,7 +60,7 @@ class TQTextEdit;
class ApplicationWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ApplicationWindow();

@ -94,7 +94,7 @@ class TQToolTipGroup;
class Q_EXPORT TQAction : public TQObject
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool toggleAction READ isToggleAction WRITE setToggleAction)
Q_PROPERTY( bool on READ isOn WRITE setOn )
Q_PROPERTY( bool enabled READ isEnabled WRITE setEnabled )
@ -181,7 +181,7 @@ private:
friend class TQActionGroupPrivate;
TQActionPrivate* d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQAction( const TQAction &amp; );
TQAction &amp;operator=( const TQAction &amp; );
#endif
@ -189,7 +189,7 @@ private:
class Q_EXPORT TQActionGroup : public TQAction
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool exclusive READ isExclusive WRITE setExclusive )
Q_PROPERTY( bool usesDropDown READ usesDropDown WRITE setUsesDropDown )
@ -243,7 +243,7 @@ public:
#endif
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQActionGroup( const TQActionGroup &amp; );
TQActionGroup &amp;operator=( const TQActionGroup &amp; );
#endif

@ -105,7 +105,7 @@ extern Q_EXPORT TQApplication *qApp; // global application object
class Q_EXPORT TQApplication : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQApplication( int &amp;argc, char **argv );
TQApplication( int &amp;argc, char **argv, bool GUIenabled );
@ -451,7 +451,7 @@ private:
friend class TQInputContext;
#endif
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQApplication( const TQApplication &amp; );
TQApplication &amp;operator=( const TQApplication &amp; );
#endif

@ -76,7 +76,7 @@ class TQProcess;
class TQAssistantClient : public TQObject
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool open READ isOpen )
public:

@ -137,7 +137,7 @@ public:
};
class Q_EXPORT TQDataPump : public TQObject {
Q_OBJECT
TQ_OBJECT
int interval;
TQTimer timer;
TQDataSource* source;

@ -70,7 +70,7 @@ TQWidget <em>first</em>.
<p> <pre>
class MyActiveX : public <a href="ntqwidget.html">TQWidget</a>, public TQAxBindable
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
Q_PROPERTY( int value READ value WRITE setValue )
public:
MyActiveX( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -70,7 +70,7 @@ COM object directly through the IUnknown pointer.
organized in an object hierarchy, receive events and connect to
signals and slots.
<p> <b>Warning:</b>
You can subclass TQAxObject, but you cannot use the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro
You can subclass TQAxObject, but you cannot use the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro
in the subclass (the generated <a href="moc.html#moc">moc</a>-file will not compile), so you
cannot add further signals, slots or properties. This limitation is
due to the metaobject information generated in runtime.

@ -113,7 +113,7 @@ private:
class TQAxScript : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
enum FunctionFlags {
@ -166,7 +166,7 @@ private:
class TQAxScriptManager : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQAxScriptManager( TQObject *parent = 0, const char *name = 0 );

@ -39,7 +39,7 @@ subclass with child widgets that are accessible as sub types.
<pre> class TQParentWidget : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
TQParentWidget( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 );
@ -85,7 +85,7 @@ name.
<pre> class TQSubWidget : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString label READ label WRITE setLabel )
public:
TQSubWidget( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 );

@ -43,11 +43,11 @@ the <a href="qaxfactory.html#TQAXFACTORY_BEGIN">TQAXFACTORY_BEGIN</a>, <a href="
<pre> class TQAxWidget1 : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
Q_CLASSINFO("ClassID", "{1D9928BD-4453-4bdd-903D-E525ED17FDE5}")
Q_CLASSINFO("InterfaceID", "{99F6860E-2C5A-42ec-87F2-43396F4BE389}")
Q_CLASSINFO("EventsID", "{0A3E9F27-E4F1-45bb-9E47-63099BCCD0E3}")
</pre>The class declaration includes the Q_OBJECT macro to activate TQt's <a href="metaobjects.html#meta-object">meta object</a> system, and sets COM identifiers for the class using the
</pre>The class declaration includes the TQ_OBJECT macro to activate TQt's <a href="metaobjects.html#meta-object">meta object</a> system, and sets COM identifiers for the class using the
Q_CLASSINFO macro.
<pre> Q_PROPERTY( TQColor fillColor READ fillColor WRITE setFillColor )
public:
@ -84,7 +84,7 @@ property using the Q_PROPERTY macro.
<pre> class TQAxWidget2 : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
Q_CLASSINFO("ClassID", "{58139D56-6BE9-4b17-937D-1B1EDEDD5B71}")
Q_CLASSINFO("InterfaceID", "{B66280AB-08CC-4dcc-924F-58E6D7975B7D}")
Q_CLASSINFO("EventsID", "{D72BACBA-03C4-4480-B4BB-DE4FE3AA14A0}")

@ -92,7 +92,7 @@ to render OpenGL, and from <a href="qaxbindable.html">TQAxBindable</a>.
class GLBox : public <a href="qglwidget.html">TQGLWidget</a>,
public TQAxBindable
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
</pre>The class reimplements the <a href="qaxbindable.html#createAggregate">TQAxBindable::createAggregate</a>() function from <a href="qaxbindable.html">TQAxBindable</a>
to return the pointer to a <a href="qaxaggregated.html">TQAxAggregated</a> object.
<pre> public:

@ -46,7 +46,7 @@ and <a href="qaxbindable.html#propertyChanged">TQAxBindable::propertyChanged</a>
<p> The TQt implementation of the ActiveX for this example is
<pre> class TQSimpleAX : public <a href="ntqwidget.html">TQWidget</a>, public TQAxBindable
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
Q_PROPERTY( TQString text READ text WRITE setText )
Q_PROPERTY( int value READ value WRITE setValue )
public:

@ -383,10 +383,10 @@ or any existing TQWidget subclass:
class MyActiveX : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
</pre>
<p> The <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro is required to provide the <a href="metaobjects.html#meta-object">meta object</a> information
<p> The <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro is required to provide the <a href="metaobjects.html#meta-object">meta object</a> information
about the widget to the ActiveTQt framework.
Use the <tt>Q_PROPERTY</tt> macro to declare properties for the ActiveX control:
<p> <pre>
@ -618,7 +618,7 @@ inheritance from the <a href="qaxbindable.html">TQAxBindable</a> class:
class MyActiveX : public <a href="ntqwidget.html">TQWidget</a><b>, public TQAxBindable</b>
{
Q_OBJECT
TQ_OBJECT
</pre>
When implementing the property write functions, use the
@ -914,7 +914,7 @@ Office applications.
<pre>
class MyActiveX : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
<b>Q_CLASSINFO("Version", "2.0")
Q_CLASSINFO("ClassID", "{7a4cffd8-cbcd-4ae9-ae7e-343e1e5710df}")
Q_CLASSINFO("InterfaceID", "{6fb035bf-8019-48d8-be51-ef05427d8994}")
@ -945,7 +945,7 @@ macro.
<pre>
class MyLicensedControl : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
<b>Q_CLASSINFO("LicenseKey", "&lt;key string&gt;")</b>
...
};
@ -1023,7 +1023,7 @@ a new object of the <a href="qaxaggregated.html">TQAxAggregated</a> subclass.
class MyActiveX : public <a href="ntqwidget.html">TQWidget</a>,
<b>public TQAxBindable</b>
{
Q_OBJECT
TQ_OBJECT
public:
MyActiveX( TQWidget *parent, const char *name = 0 );

@ -75,7 +75,7 @@ filter. Standard widget properties, e.g. <a href="ntqwidget.html#enabled-prop">e
control to implement support for ambient properties like e.g.
palette or font. TQAxWidget tries to provide the necessary hints.
<p> <b>Warning:</b>
You can subclass TQAxWidget, but you cannot use the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro
You can subclass TQAxWidget, but you cannot use the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro
in the subclass (the generated <a href="moc.html#moc">moc</a>-file will not compile), so you
cannot add further signals, slots or properties. This limitation
is due to the metaobject information generated in runtime. To work

@ -119,7 +119,7 @@ private:
uint a_inc;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQBuffer( const TQBuffer &amp; );
TQBuffer &amp;operator=( const TQBuffer &amp; );
#endif

@ -91,7 +91,7 @@ class TQButtonData;
class Q_EXPORT TQButton : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( ToggleType ToggleState )
Q_PROPERTY( TQString text READ text WRITE setText )
Q_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap )
@ -200,7 +200,7 @@ private:
void nextState();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQButton( const TQButton &amp; );
TQButton &amp;operator=( const TQButton &amp; );
#endif

@ -90,7 +90,7 @@ class TQButtonList;
class Q_EXPORT TQButtonGroup : public TQGroupBox
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool exclusive READ isExclusive WRITE setExclusive )
Q_PROPERTY( bool radioButtonExclusive READ isRadioButtonExclusive WRITE setRadioButtonExclusive )
Q_PROPERTY( int selectedId READ selectedId WRITE setButton )
@ -145,7 +145,7 @@ private:
TQButtonList *buttons;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQButtonGroup( const TQButtonGroup &amp; );
TQButtonGroup &amp;operator=( const TQButtonGroup &amp; );
#endif

@ -87,7 +87,7 @@ body { background: #ffffff; color: black; }
#include "ntqpointarray.h"
#endif // QT_H
#if !defined( QT_MODULE_CANVAS ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_CANVAS )
#if !defined( TQT_MODULE_CANVAS ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_CANVAS )
#define TQM_EXPORT_CANVAS
#define TQM_TEMPLATE_EXTERN_CANVAS
#else
@ -254,7 +254,7 @@ class TQCanvasData;
class TQM_EXPORT_CANVAS TQCanvas : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQCanvas( TQObject* parent = 0, const char* name = 0 );
TQCanvas(int w, int h);
@ -389,7 +389,7 @@ private:
friend void qt_unview(TQCanvas* c);
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQCanvas( const TQCanvas &amp; );
TQCanvas &amp;operator=( const TQCanvas &amp; );
#endif
@ -399,7 +399,7 @@ class TQCanvasViewData;
class TQM_EXPORT_CANVAS TQCanvasView : public TQScrollView
{
Q_OBJECT
TQ_OBJECT
public:
TQCanvasView(TQWidget* parent=0, const char* name=0, WFlags f=0);
@ -429,7 +429,7 @@ private slots:
void updateContentsSize();
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQCanvasView( const TQCanvasView &amp; );
TQCanvasView &amp;operator=( const TQCanvasView &amp; );
#endif
@ -453,7 +453,7 @@ public:
void setOffset(int x, int y) { hotx = x; hoty = y; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasPixmap( const TQCanvasPixmap &amp; );
TQCanvasPixmap &amp;operator=( const TQCanvasPixmap &amp; );
#endif
@ -499,7 +499,7 @@ public:
{ return (uint)framecount; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasPixmapArray( const TQCanvasPixmapArray &amp; );
TQCanvasPixmapArray &amp;operator=( const TQCanvasPixmapArray &amp; );
#endif
@ -565,7 +565,7 @@ public:
void draw(TQPainter&amp; painter);
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasSprite( const TQCanvasSprite &amp; );
TQCanvasSprite &amp;operator=( const TQCanvasSprite &amp; );
#endif
@ -822,7 +822,7 @@ protected:
virtual void draw(TQPainter&amp;);
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasText( const TQCanvasText &amp; );
TQCanvasText &amp;operator=( const TQCanvasText &amp; );
#endif

@ -92,7 +92,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT_STYLE_CDE TQCDEStyle : public TQMotifStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQCDEStyle( bool useHighlightCols = FALSE );

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQCheckBox : public TQButton
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool checked READ isChecked WRITE setChecked )
Q_PROPERTY( bool tristate READ isTristate WRITE setTristate )
Q_OVERRIDE( bool autoMask DESIGNABLE true SCRIPTABLE true )
@ -113,7 +113,7 @@ protected:
void updateMask();
bool hitButton( const TQPoint &amp;pos ) const;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCheckBox( const TQCheckBox &amp; );
TQCheckBox &amp;operator=( const TQCheckBox &amp; );
#endif

@ -88,7 +88,7 @@ class TQMimeSource;
class Q_EXPORT TQClipboard : public TQObject
{
Q_OBJECT
TQ_OBJECT
private:
TQClipboard( TQObject *parent=0, const char *name=0 );
~TQClipboard();
@ -159,7 +159,7 @@ private:
#endif
// Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQClipboard( const TQClipboard &amp; );
TQClipboard &amp;operator=( const TQClipboard &amp; );
#endif

@ -87,7 +87,7 @@ class TQColorDialogPrivate;
class Q_EXPORT TQColorDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
static TQColor getColor( const TQColor&amp; init = white, TQWidget* parent=0, const char* name=0 );
@ -118,7 +118,7 @@ private: // Disabled copy constructor and operator=
friend class TQColorDialogPrivate;
friend class TQColorShower;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQColorDialog( const TQColorDialog &amp; );
TQColorDialog&amp; operator=( const TQColorDialog &amp; );
#endif

@ -94,7 +94,7 @@ class TQWheelEvent;
class Q_EXPORT TQComboBox : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Policy )
Q_PROPERTY( bool editable READ editable WRITE setEditable )
Q_PROPERTY( int count READ count )
@ -230,7 +230,7 @@ private:
TQComboBoxData *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQComboBox( const TQComboBox &amp; );
TQComboBox &amp;operator=( const TQComboBox &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQCommonStyle: public TQStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQCommonStyle();
@ -160,7 +160,7 @@ public:
private:
// Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCommonStyle( const TQCommonStyle &amp; );
TQCommonStyle &amp;operator=( const TQCommonStyle &amp; );
#endif

@ -86,7 +86,7 @@ class TQCopChannelPrivate;
class TQCopChannel : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQCopChannel( const TQCString&amp; channel, TQObject* parent=0, const char* name=0 );
virtual ~TQCopChannel();

@ -93,7 +93,7 @@ Q_EXPORT void *qmemmove( void *dst, const void *src, uint len );
Q_EXPORT char *qstrdup( const char * );
Q_EXPORT inline uint qstrlen( const char *str )
Q_EXPORT inline uint tqstrlen( const char *str )
{ return str ? (uint)strlen(str) : 0u; }
Q_EXPORT inline char *qstrcpy( char *dst, const char *src )
@ -107,7 +107,7 @@ Q_EXPORT inline int qstrcmp( const char *str1, const char *str2 )
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );
}
Q_EXPORT inline int qstrncmp( const char *str1, const char *str2, uint len )
Q_EXPORT inline int tqstrncmp( const char *str1, const char *str2, uint len )
{
return ( str1 &amp;&amp; str2 ) ? strncmp( str1, str2, len )
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );
@ -157,11 +157,11 @@ typedef TQMemArray&lt;char&gt; TQByteArray;
#ifndef QT_NO_COMPRESS
Q_EXPORT TQByteArray qCompress( const uchar* data, int nbytes );
Q_EXPORT TQByteArray qUncompress( const uchar* data, int nbytes );
Q_EXPORT TQByteArray tqUncompress( const uchar* data, int nbytes );
Q_EXPORT inline TQByteArray qCompress( const TQByteArray&amp; data)
{ return qCompress( (const uchar*)data.data(), data.size() ); }
Q_EXPORT inline TQByteArray qUncompress( const TQByteArray&amp; data )
{ return qUncompress( (const uchar*)data.data(), data.size() ); }
Q_EXPORT inline TQByteArray tqUncompress( const TQByteArray&amp; data )
{ return tqUncompress( (const uchar*)data.data(), data.size() ); }
#endif
/*****************************************************************************
@ -288,7 +288,7 @@ inline TQCString &amp;TQCString::operator=( const TQCString &amp;s )
{ return (TQCString&amp;)assign( s ); }
inline TQCString &amp;TQCString::operator=( const char *str )
{ return (TQCString&amp;)duplicate( str, qstrlen(str)+1 ); }
{ return (TQCString&amp;)duplicate( str, tqstrlen(str)+1 ); }
inline bool TQCString::isNull() const
{ return data() == 0; }
@ -297,7 +297,7 @@ inline bool TQCString::isEmpty() const
{ return data() == 0 || *data() == '\0'; }
inline uint TQCString::length() const
{ return qstrlen( data() ); }
{ return tqstrlen( data() ); }
inline bool TQCString::truncate( uint pos )
{ return resize(pos+1); }

@ -93,7 +93,7 @@ class TQDataBrowserPrivate;
class Q_EXPORT TQDataBrowser : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool boundaryChecking READ boundaryChecking WRITE setBoundaryChecking )
Q_PROPERTY( TQString filter READ filter WRITE setFilter )
Q_PROPERTY( TQStringList sort READ sort WRITE setSort )
@ -201,7 +201,7 @@ private:
void nav( Nav nav );
TQDataBrowserPrivate* d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDataBrowser( const TQDataBrowser &amp; );
TQDataBrowser &amp;operator=( const TQDataBrowser &amp; );
#endif

@ -156,7 +156,7 @@ private:
int ver;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDataStream( const TQDataStream &amp; );
TQDataStream &amp;operator=( const TQDataStream &amp; );
#endif

@ -87,7 +87,7 @@ body { background: #ffffff; color: black; }
#include "ntqiconset.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -102,7 +102,7 @@ class TQDataTablePrivate;
class TQM_EXPORT_SQL TQDataTable : public TQTable
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString nullText READ nullText WRITE setNullText )
Q_PROPERTY( TQString trueText READ trueText WRITE setTrueText )
@ -269,7 +269,7 @@ private:
void endUpdate();
TQDataTablePrivate* d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDataTable( const TQDataTable &amp; );
TQDataTable &amp;operator=( const TQDataTable &amp; );
#endif

@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
#include "ntqwidget.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -94,7 +94,7 @@ class TQDataViewPrivate;
class TQM_EXPORT_SQL TQDataView : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQDataView( TQWidget* parent=0, const char* name=0, WFlags fl = 0 );
@ -114,7 +114,7 @@ public slots:
private:
TQDataViewPrivate* d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDataView( const TQDataView &amp; );
TQDataView &amp;operator=( const TQDataView &amp; );
#endif

@ -87,7 +87,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQDateTimeEditBase : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQDateTimeEditBase( TQWidget* parent=0, const char* name=0 )
: TQWidget( parent, name ) {}
@ -102,7 +102,7 @@ public slots:
virtual void stepDown() = 0;
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDateTimeEditBase( const TQDateTimeEditBase &amp; );
TQDateTimeEditBase &amp;operator=( const TQDateTimeEditBase &amp; );
#endif
@ -112,7 +112,7 @@ class TQDateEditPrivate;
class Q_EXPORT TQDateEdit : public TQDateTimeEditBase
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Order )
Q_PROPERTY( Order order READ order WRITE setOrder )
Q_PROPERTY( TQDate date READ date WRITE setDate )
@ -182,7 +182,7 @@ private:
TQString sectionText( int sec ) const;
TQDateEditPrivate* d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDateEdit( const TQDateEdit &amp; );
TQDateEdit &amp;operator=( const TQDateEdit &amp; );
#endif
@ -192,7 +192,7 @@ class TQTimeEditPrivate;
class Q_EXPORT TQTimeEdit : public TQDateTimeEditBase
{
Q_OBJECT
TQ_OBJECT
Q_SETS( Display )
Q_PROPERTY( TQTime time READ time WRITE setTime )
Q_PROPERTY( bool autoAdvance READ autoAdvance WRITE setAutoAdvance )
@ -265,7 +265,7 @@ private:
TQString sectionText( int sec );
TQTimeEditPrivate* d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTimeEdit( const TQTimeEdit &amp; );
TQTimeEdit &amp;operator=( const TQTimeEdit &amp; );
#endif
@ -276,7 +276,7 @@ class TQDateTimeEditPrivate;
class Q_EXPORT TQDateTimeEdit : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQDateTime dateTime READ dateTime WRITE setDateTime )
public:
@ -319,7 +319,7 @@ private:
TQTimeEdit* te;
TQDateTimeEditPrivate* d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDateTimeEdit( const TQDateTimeEdit &amp; );
TQDateTimeEdit &amp;operator=( const TQDateTimeEdit &amp; );
#endif

@ -84,7 +84,7 @@ class TQDesktopWidgetPrivate; /* Don't touch! */
class Q_EXPORT TQDesktopWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQDesktopWidget();
~TQDesktopWidget();
@ -123,7 +123,7 @@ protected:
private:
TQDesktopWidgetPrivate *d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDesktopWidget( const TQDesktopWidget &amp; );
TQDesktopWidget &amp;operator=( const TQDesktopWidget &amp; );
#endif

@ -89,7 +89,7 @@ class TQDialPrivate;
class Q_EXPORT TQDial: public TQWidget, public TQRangeControl
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool tracking READ tracking WRITE setTracking )
Q_PROPERTY( bool wrapping READ wrapping WRITE setWrapping )
Q_PROPERTY( int notchSize READ notchSize )
@ -177,7 +177,7 @@ private:
void calcLines();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDial( const TQDial &amp; );
TQDial &amp;operator=( const TQDial &amp; );
#endif

@ -82,7 +82,7 @@ body { background: #ffffff; color: black; }
#endif // QT_H
#ifndef QT_NO_DIALOG
#if 0
Q_OBJECT
TQ_OBJECT
#endif
class TQPushButton;
@ -91,7 +91,7 @@ class TQDialogPrivate;
class Q_EXPORT TQDialog : public TQWidget
{
friend class TQPushButton;
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool sizeGripEnabled READ isSizeGripEnabled WRITE setSizeGripEnabled )
Q_PROPERTY( bool modal READ isModal WRITE setModal )
@ -167,7 +167,7 @@ private:
TQDialogPrivate* d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDialog( const TQDialog &amp; );
TQDialog &amp;operator=( const TQDialog &amp; );
#endif

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
#include "ntqstringlist.h"
#endif // QT_H
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_DNS
#else
#define TQM_EXPORT_DNS Q_EXPORT
@ -97,7 +97,7 @@ body { background: #ffffff; color: black; }
class TQDnsPrivate;
class TQM_EXPORT_DNS TQDns: public TQObject {
Q_OBJECT
TQ_OBJECT
public:
enum RecordType {
None,
@ -189,7 +189,7 @@ private:
// TQDnsSocket are sockets that are used for DNS lookup
class TQDnsSocket: public TQObject {
Q_OBJECT
TQ_OBJECT
// note: Private not public. This class contains NO public API.
protected:
TQDnsSocket( TQObject *, const char * );

@ -98,7 +98,7 @@ class TQDockAreaPrivate;
class Q_EXPORT TQDockAreaLayout : public TQLayout
{
Q_OBJECT
TQ_OBJECT
friend class TQDockArea;
public:
@ -133,7 +133,7 @@ private:
TQWidget *parentWidget;
TQValueList&lt;TQRect&gt; lines;
TQPtrList&lt;TQDockWindow&gt; ls;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDockAreaLayout( const TQDockAreaLayout &amp; );
TQDockAreaLayout &amp;operator=( const TQDockAreaLayout &amp; );
#endif
@ -141,7 +141,7 @@ private:
class Q_EXPORT TQDockArea : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( HandlePosition )
Q_PROPERTY( Orientation orientation READ orientation )
Q_PROPERTY( int count READ count )
@ -208,7 +208,7 @@ private:
TQDockAreaPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDockArea( const TQDockArea &amp; );
TQDockArea&amp; operator=( const TQDockArea &amp; );
#endif

@ -100,7 +100,7 @@ class TQWindowsXPStyle;
class Q_EXPORT TQDockWindow : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( CloseMode Place )
Q_PROPERTY( int closeMode READ closeMode WRITE setCloseMode ) //### this shouldn't be of type int?!
Q_PROPERTY( bool resizeEnabled READ isResizeEnabled WRITE setResizeEnabled )
@ -255,7 +255,7 @@ private:
TQDockWindowPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDockWindow( const TQDockWindow &amp; );
TQDockWindow&amp; operator=( const TQDockWindow &amp; );
#endif

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqstring.h"
#endif // QT_H
#if !defined(QT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#define TQM_EXPORT_DOM
#else
#define TQM_EXPORT_DOM Q_EXPORT

@ -91,7 +91,7 @@ class TQImageDragData;
#ifndef QT_NO_MIME
class Q_EXPORT TQDragObject: public TQObject, public TQMimeSource {
Q_OBJECT
TQ_OBJECT
public:
TQDragObject( TQWidget * dragSource = 0, const char * name = 0 );
virtual ~TQDragObject();
@ -122,14 +122,14 @@ protected:
private:
TQDragObjectData * d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDragObject( const TQDragObject &amp; );
TQDragObject &amp;operator=( const TQDragObject &amp; );
#endif
};
class Q_EXPORT TQStoredDrag: public TQDragObject {
Q_OBJECT
TQ_OBJECT
TQStoredDragData * d;
public:
@ -143,14 +143,14 @@ public:
virtual TQByteArray encodedData(const char*) const;
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQStoredDrag( const TQStoredDrag &amp; );
TQStoredDrag &amp;operator=( const TQStoredDrag &amp; );
#endif
};
class Q_EXPORT TQTextDrag: public TQDragObject {
Q_OBJECT
TQ_OBJECT
TQTextDragPrivate* d;
public:
TQTextDrag( const TQString &amp;,
@ -169,14 +169,14 @@ public:
static bool decode( const TQMimeSource* e, TQString&amp; s, TQCString&amp; subtype );
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQTextDrag( const TQTextDrag &amp; );
TQTextDrag &amp;operator=( const TQTextDrag &amp; );
#endif
};
class Q_EXPORT TQImageDrag: public TQDragObject {
Q_OBJECT
TQ_OBJECT
TQImage img;
TQStrList ofmts;
TQImageDragData* d;
@ -196,7 +196,7 @@ public:
static bool decode( const TQMimeSource* e, TQPixmap&amp; i );
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQImageDrag( const TQImageDrag &amp; );
TQImageDrag &amp;operator=( const TQImageDrag &amp; );
#endif
@ -204,7 +204,7 @@ private:
class Q_EXPORT TQUriDrag: public TQStoredDrag {
Q_OBJECT
TQ_OBJECT
public:
TQUriDrag( TQStrList uris, TQWidget * dragSource = 0, const char * name = 0 );
@ -226,7 +226,7 @@ public:
static bool decodeLocalFiles( const TQMimeSource* e, TQStringList&amp; i );
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQUriDrag( const TQUriDrag &amp; );
TQUriDrag &amp;operator=( const TQUriDrag &amp; );
#endif
@ -234,7 +234,7 @@ private:
class Q_EXPORT TQColorDrag : public TQStoredDrag
{
Q_OBJECT
TQ_OBJECT
TQColor color;
public:
@ -246,7 +246,7 @@ public:
static bool decode( TQMimeSource *, TQColor &amp;col );
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQColorDrag( const TQColorDrag &amp; );
TQColorDrag &amp;operator=( const TQColorDrag &amp; );
#endif
@ -264,7 +264,7 @@ typedef TQUriDrag TQUrlDrag;
//
class Q_EXPORT TQDragManager: public TQObject {
Q_OBJECT
TQ_OBJECT
private:
TQDragManager();
@ -301,7 +301,7 @@ private:
TQPixmap *pm_cursor;
int n_cursor;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQDragManager( const TQDragManager &amp; );
TQDragManager &amp;operator=( const TQDragManager &amp; );
#endif

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqvariant.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -101,7 +101,7 @@ public:
static void installDefaultFactory( TQEditorFactory * factory);
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQEditorFactory( const TQEditorFactory &amp; );
TQEditorFactory &amp;operator=( const TQEditorFactory &amp; );
#endif

@ -91,7 +91,7 @@ template&lt;class type&gt; class TQDict;
class Q_EXPORT TQErrorMessage: public TQDialog {
Q_OBJECT
TQ_OBJECT
public:
TQErrorMessage( TQWidget* parent, const char* name=0 );
~TQErrorMessage();
@ -114,7 +114,7 @@ private:
bool nextPending();
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQErrorMessage( const TQErrorMessage &amp; );
TQErrorMessage &amp;operator=( const TQErrorMessage &amp; );
#endif

@ -95,7 +95,7 @@ class TQMutex;
class Q_EXPORT TQEventLoop : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQEventLoop( TQObject *parent = 0, const char *name = 0 );

@ -55,7 +55,7 @@ This example program displays all characters of a font.
class TQSlider;
class FontRowTable : public <a href="ntqframe.html">TQFrame</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
FontRowTable( <a href="ntqwidget.html">TQWidget</a>* parent=0, const char* name=0 );
@ -78,7 +78,7 @@ private:
};
class FontDisplayer : public <a href="ntqmainwindow.html">TQMainWindow</a> {
Q_OBJECT
TQ_OBJECT
public:
FontDisplayer( <a href="ntqwidget.html">TQWidget</a>* parent=0, const char* name=0 );
};

@ -150,7 +150,7 @@ private:
TQCString ungetchBuffer;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFile( const TQFile &amp; );
TQFile &amp;operator=( const TQFile &amp; );
#endif

@ -105,13 +105,13 @@ class TQFileDialogTQFileListView;
class Q_EXPORT TQFileIconProvider : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQFileIconProvider( TQObject * parent = 0, const char* name = 0 );
virtual const TQPixmap * pixmap( const TQFileInfo &amp; );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFileIconProvider( const TQFileIconProvider &amp; );
TQFileIconProvider&amp; operator=( const TQFileIconProvider &amp; );
#endif
@ -127,7 +127,7 @@ public:
class Q_EXPORT TQFileDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Mode ViewMode PreviewMode )
// ##### Why are this read-only properties ?
Q_PROPERTY( TQString selectedFile READ selectedFile )
@ -372,7 +372,7 @@ private:
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFileDialog( const TQFileDialog &amp; );
TQFileDialog &amp;operator=( const TQFileDialog &amp; );
#endif

@ -155,7 +155,7 @@ public:
bool permission( int permissionSpec ) const;
#if (QT_VERSION-0 &gt;= 0x040000)
#if (TQT_VERSION-0 &gt;= 0x040000)
#error "TQFileInfo::size() should return TQIODevice::Offset instead of uint"
#elif defined(QT_ABI_QT4)
TQIODevice::Offset size() const;

@ -100,7 +100,7 @@ class TQFontDialogPrivate;
class Q_EXPORT TQFontDialog: public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
static TQFont getFont( bool *ok, const TQFont &amp;def,
@ -137,7 +137,7 @@ private:
TQFontDialogPrivate * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFontDialog( const TQFontDialog &amp; );
TQFontDialog&amp; operator=( const TQFontDialog &amp; );
#endif

@ -88,7 +88,7 @@ body { background: #ffffff; color: black; }
class TQFontDef;
class Q_PACKED TQGlyphMetrics {
class TQ_PACKED TQGlyphMetrics {
public:
Q_UINT8 linestep;

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQFrame : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Shape Shadow )
Q_PROPERTY( int frameWidth READ frameWidth )
Q_PROPERTY( TQRect contentsRect READ contentsRect )
@ -167,7 +167,7 @@ private:
void * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFrame( const TQFrame &amp; );
TQFrame &amp;operator=( const TQFrame &amp; );
#endif

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqnetworkprotocol.h"
#endif // QT_H
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_FTP
#else
#define TQM_EXPORT_FTP Q_EXPORT
@ -97,7 +97,7 @@ class TQFtpCommand;
class TQM_EXPORT_FTP TQFtp : public TQNetworkProtocol
{
Q_OBJECT
TQ_OBJECT
public:
TQFtp(); // ### TQt 4.0: get rid of this overload

@ -87,7 +87,7 @@ class TQGfxDriverPluginPrivate;
class Q_EXPORT TQGfxDriverPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQGfxDriverPlugin();
~TQGfxDriverPlugin();

@ -82,7 +82,7 @@ body { background: #ffffff; color: black; }
#include "ntqglcolormap.h"
#endif // QT_H
#if !defined( QT_MODULE_OPENGL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_OPENGL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_OPENGL
#else
#define TQM_EXPORT_OPENGL Q_EXPORT
@ -310,7 +310,7 @@ private: // Disabled copy constructor and operator=
class TQM_EXPORT_OPENGL TQGLWidget : public TQWidget, public TQGL
{
Q_OBJECT
TQ_OBJECT
public:
TQGLWidget( TQWidget* parent=0, const char* name=0,
const TQGLWidget* shareWidget = 0, WFlags f=0 );
@ -403,7 +403,7 @@ private:
#endif
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQGLWidget( const TQGLWidget&amp; );
TQGLWidget&amp; operator=( const TQGLWidget&amp; );
#endif

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqshared.h"
#endif // QT_H
#if !defined( QT_MODULE_OPENGL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_OPENGL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_OPENGL
#else
#define TQM_EXPORT_OPENGL Q_EXPORT

@ -77,11 +77,11 @@ body { background: #ffffff; color: black; }
#ifndef TQGLOBAL_H
#define TQGLOBAL_H
#define QT_VERSION_STR "3.3.8"
#define TQT_VERSION_STR "3.3.8"
/*
QT_VERSION is (major &lt;&lt; 16) + (minor &lt;&lt; 8) + patch.
TQT_VERSION is (major &lt;&lt; 16) + (minor &lt;&lt; 8) + patch.
*/
#define QT_VERSION 0x030308
#define TQT_VERSION 0x030308
/*
The operating system, must be one of: (Q_OS_x)
@ -353,7 +353,7 @@ body { background: #ffffff; color: black; }
members of a packed struct. (Pointers are OK, because then you
supposedly know what you are doing.) */
# if (defined(__arm__) || defined(__ARMEL__)) &amp;&amp; !defined(QT_MOC_CPP)
# define Q_PACKED __attribute__ ((packed))
# define TQ_PACKED __attribute__ ((packed))
# if __GNUC__ == 3 &amp;&amp; __GNUC_MINOR__ &gt;= 4
# define Q_NO_PACKED_REFERENCE
# endif
@ -580,8 +580,8 @@ body { background: #ffffff; color: black; }
# error "TQt has not been tested with this compiler - talk to qt-bugs@trolltech.com"
#endif
#ifndef Q_PACKED
# define Q_PACKED
#ifndef TQ_PACKED
# define TQ_PACKED
#endif
@ -639,10 +639,10 @@ body { background: #ffffff; color: black; }
Some classes do not permit copies to be made of an object.
These classes contains a private copy constructor and operator=
to disable copying (the compiler gives an error message).
Undefine Q_DISABLE_COPY to turn off this checking.
Undefine TQ_DISABLE_COPY to turn off this checking.
*/
#define Q_DISABLE_COPY
#define TQ_DISABLE_COPY
#if defined(__cplusplus)
@ -724,7 +724,7 @@ const bool true = TRUE;
#define TQMIN(a, b) ((a) &lt; (b) ? (a) : (b))
#define TQABS(a) ((a) &gt;= 0 ? (a) : -(a))
inline int qRound( double d )
inline int tqRound( double d )
{
return d &gt;= 0.0 ? int(d + 0.5) : int( d - ((int)d-1) + 0.5 ) + ((int)d-1);
}
@ -758,13 +758,13 @@ typedef long Q_LONG; // word up to 64 bit signed
typedef unsigned long Q_ULONG; // word up to 64 bit unsigned
#endif
#if defined(Q_OS_WIN) &amp;&amp; !defined(Q_CC_GNU)
# define Q_INT64_C(c) c ## i64 // signed 64 bit constant
# define Q_UINT64_C(c) c ## ui64 // unsigned 64 bit constant
# define TQ_INT64_C(c) c ## i64 // signed 64 bit constant
# define TQ_UINT64_C(c) c ## ui64 // unsigned 64 bit constant
typedef __int64 Q_INT64; // 64 bit signed
typedef unsigned __int64 Q_UINT64; // 64 bit unsigned
#else
# define Q_INT64_C(c) c ## LL // signed 64 bit constant
# define Q_UINT64_C(c) c ## ULL // unsigned 64 bit constant
# define TQ_INT64_C(c) c ## LL // signed 64 bit constant
# define TQ_UINT64_C(c) c ## ULL // unsigned 64 bit constant
typedef long long Q_INT64; // 64 bit signed
typedef unsigned long long Q_UINT64; // 64 bit unsigned
#endif
@ -814,37 +814,37 @@ class TQDataStream;
#endif
#ifndef QT_BUILD_KEY
#define QT_BUILD_KEY "unspecified"
#ifndef TQT_BUILD_KEY
#define TQT_BUILD_KEY "unspecified"
#endif
// prune to local config
#include "ntqmodules.h"
#ifndef QT_MODULE_DIALOGS
#ifndef TQT_MODULE_DIALOGS
# define QT_NO_DIALOG
#endif
#ifndef QT_MODULE_ICONVIEW
#ifndef TQT_MODULE_ICONVIEW
# define QT_NO_ICONVIEW
#endif
#ifndef QT_MODULE_WORKSPACE
#ifndef TQT_MODULE_WORKSPACE
# define QT_NO_WORKSPACE
#endif
#ifndef QT_MODULE_NETWORK
#ifndef TQT_MODULE_NETWORK
#define QT_NO_NETWORK
#endif
#ifndef QT_MODULE_CANVAS
#ifndef TQT_MODULE_CANVAS
# define QT_NO_CANVAS
#endif
#ifndef QT_MODULE_TABLE
#ifndef TQT_MODULE_TABLE
#define QT_NO_TABLE
#endif
#ifndef QT_MODULE_XML
#ifndef TQT_MODULE_XML
# define QT_NO_XML
#endif
#ifndef QT_MODULE_OPENGL
#ifndef TQT_MODULE_OPENGL
# define QT_NO_OPENGL
#endif
#if !defined(QT_MODULE_SQL)
#if !defined(TQT_MODULE_SQL)
# define QT_NO_SQL
#endif
@ -895,7 +895,7 @@ class TQDataStream;
# define Q_EXPORT __declspec(dllexport)
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef Q_DISABLE_COPY /* avoid unresolved externals */
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# elif defined(QT_DLL) /* use a TQt DLL library */
# define Q_EXPORT __declspec(dllimport)
# define Q_TEMPLATEDLL
@ -906,18 +906,18 @@ class TQDataStream;
# define Q_TEMPLATE_EXTERN
# endif
# endif
# undef Q_DISABLE_COPY /* avoid unresolved externals */
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# endif
#elif defined(Q_OS_LINUX) &amp;&amp; defined(Q_CC_BOR)
# if defined(QT_SHARED) /* create a TQt shared library */
# define Q_EXPORT __declspec(dllexport)
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef Q_DISABLE_COPY /* avoid unresolved externals */
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# else
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef Q_DISABLE_COPY /* avoid unresolved externals */
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# endif
#else
# undef QT_MAKEDLL /* ignore these for other platforms */
@ -1070,14 +1070,14 @@ Q_EXPORT void fatal( const char *, ... ) // print fatal message and exit
Q_EXPORT bool qt_check_pointer( bool c, const char *, int );
#if defined(QT_CHECK_NULL)
# define Q_CHECK_PTR(p) (qt_check_pointer((p)==0,__FILE__,__LINE__))
# define TQ_CHECK_PTR(p) (qt_check_pointer((p)==0,__FILE__,__LINE__))
#else
# define Q_CHECK_PTR(p)
# define TQ_CHECK_PTR(p)
#endif
#if !defined(QT_NO_COMPAT) // compatibility with TQt 2
# if !defined(CHECK_PTR)
# define CHECK_PTR(x) Q_CHECK_PTR(x)
# define CHECK_PTR(x) TQ_CHECK_PTR(x)
# endif
#endif // QT_NO_COMPAT

@ -117,7 +117,7 @@ paintGL() is called.
<p> <pre>
class MyGLDrawer : public TQGLWidget
{
Q_OBJECT // must include this if you use TQt signals/slots
TQ_OBJECT // must include this if you use TQt signals/slots
public:
MyGLDrawer( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name )

@ -83,7 +83,7 @@ class TQGridLayout;
class Q_EXPORT TQGrid : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
TQGrid( int n, TQWidget* parent=0, const char* name=0, WFlags f = 0 );
TQGrid( int n, Orientation orient, TQWidget* parent=0, const char* name=0,
@ -102,7 +102,7 @@ protected:
private:
TQGridLayout *lay;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQGrid( const TQGrid &amp; );
TQGrid&amp; operator=( const TQGrid &amp; );
#endif

@ -87,7 +87,7 @@ class TQGridViewPrivate;
class Q_EXPORT TQGridView : public TQScrollView
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int numRows READ numRows WRITE setNumRows )
Q_PROPERTY( int numCols READ numCols WRITE setNumCols )
Q_PROPERTY( int cellWidth READ cellWidth WRITE setCellWidth )
@ -137,7 +137,7 @@ private:
TQGridViewPrivate* d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQGridView( const TQGridView &amp; );
TQGridView &amp;operator=( const TQGridView &amp; );
#endif

@ -92,7 +92,7 @@ class TQSpacerItem;
class Q_EXPORT TQGroupBox : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString title READ title WRITE setTitle )
Q_PROPERTY( Alignment alignment READ alignment WRITE setAlignment )
Q_PROPERTY( Orientation orientation READ orientation WRITE setOrientation DESIGNABLE false )
@ -189,7 +189,7 @@ private:
int spac, marg;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQGroupBox( const TQGroupBox &amp; );
TQGroupBox &amp;operator=( const TQGroupBox &amp; );
#endif

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
// ### 4.0: rename to something without Private in it. Not really internal.
class Q_EXPORT TQGuardedPtrPrivate : public TQObject, public TQShared
{
Q_OBJECT
TQ_OBJECT
public:
TQGuardedPtrPrivate( TQObject* );
~TQGuardedPtrPrivate();
@ -97,7 +97,7 @@ private slots:
private:
TQObject* obj;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQGuardedPtrPrivate( const TQGuardedPtrPrivate &amp; );
TQGuardedPtrPrivate &amp;operator=( const TQGuardedPtrPrivate &amp; );
#endif

@ -86,7 +86,7 @@ class TQBoxLayout;
class Q_EXPORT TQHBox : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
TQHBox( TQWidget* parent=0, const char* name=0, WFlags f=0 );
@ -101,7 +101,7 @@ protected:
private:
TQBoxLayout *lay;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQHBox( const TQHBox &amp; );
TQHBox &amp;operator=( const TQHBox &amp; );
#endif

@ -85,14 +85,14 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQHButtonGroup : public TQButtonGroup
{
Q_OBJECT
TQ_OBJECT
public:
TQHButtonGroup( TQWidget* parent=0, const char* name=0 );
TQHButtonGroup( const TQString &amp;title, TQWidget* parent=0, const char* name=0 );
~TQHButtonGroup();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQHButtonGroup( const TQHButtonGroup &amp; );
TQHButtonGroup &amp;operator=( const TQHButtonGroup &amp; );
#endif

@ -95,7 +95,7 @@ class Q_EXPORT TQHeader : public TQWidget
friend class TQTableHeader;
friend class TQListView;
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
Q_PROPERTY( bool tracking READ tracking WRITE setTracking )
Q_PROPERTY( int count READ count )
@ -233,7 +233,7 @@ private:
TQHeaderData *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQHeader( const TQHeader &amp; );
TQHeader &amp;operator=( const TQHeader &amp; );
#endif

@ -85,14 +85,14 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQHGroupBox : public TQGroupBox
{
Q_OBJECT
TQ_OBJECT
public:
TQHGroupBox( TQWidget* parent=0, const char* name=0 );
TQHGroupBox( const TQString &amp;title, TQWidget* parent=0, const char* name=0 );
~TQHGroupBox();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQHGroupBox( const TQHGroupBox &amp; );
TQHGroupBox &amp;operator=( const TQHGroupBox &amp; );
#endif

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqstring.h"
#endif // QT_H
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
#define TQM_EXPORT_NETWORK Q_EXPORT

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqstringlist.h"
#endif // QT_H
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_HTTP
#define TQM_TEMPLATE_EXTERN_HTTP
#else
@ -204,7 +204,7 @@ private:
class TQM_EXPORT_HTTP TQHttp : public TQNetworkProtocol
{
Q_OBJECT
TQ_OBJECT
public:
TQHttp();

@ -152,7 +152,7 @@ public:
static void installDefaultFactory( TQIconFactory *factory );
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQIconFactory( const TQIconFactory &amp; );
TQIconFactory &amp;operator=( const TQIconFactory &amp; );
#endif

@ -91,7 +91,7 @@ body { background: #ffffff; color: black; }
#ifndef QT_NO_ICONVIEW
#if !defined( QT_MODULE_ICONVIEW ) || defined( QT_INTERNAL_ICONVIEW )
#if !defined( TQT_MODULE_ICONVIEW ) || defined( QT_INTERNAL_ICONVIEW )
#define TQM_EXPORT_ICONVIEW
#else
#define TQM_EXPORT_ICONVIEW Q_EXPORT
@ -130,7 +130,7 @@ private:
class TQM_EXPORT_ICONVIEW TQIconDrag : public TQDragObject
{
Q_OBJECT
TQ_OBJECT
public:
TQIconDrag( TQWidget * dragSource, const char* name = 0 );
virtual ~TQIconDrag();
@ -147,7 +147,7 @@ private:
friend class TQIconView;
friend class TQIconViewPrivate;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQIconDrag( const TQIconDrag &amp; );
TQIconDrag &amp;operator=( const TQIconDrag &amp; );
#endif
@ -307,7 +307,7 @@ class TQM_EXPORT_ICONVIEW TQIconView : public TQScrollView
friend class TQIconViewPrivate;
friend class TQIconViewToolTip;
Q_OBJECT
TQ_OBJECT
// #### sorting and sort direction do not work
Q_ENUMS( SelectionMode ItemTextPos Arrangement ResizeMode )
Q_PROPERTY( bool sorting READ sorting )
@ -539,7 +539,7 @@ private:
TQIconViewPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQIconView( const TQIconView &amp; );
TQIconView&amp; operator=( const TQIconView &amp; );
#endif

@ -362,7 +362,7 @@ private:
TQImageIOData *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQImageIO( const TQImageIO &amp; );
TQImageIO &amp;operator=( const TQImageIO &amp; );
#endif

@ -86,7 +86,7 @@ class TQImageFormatPluginPrivate;
class Q_EXPORT TQImageFormatPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQImageFormatPlugin();
~TQImageFormatPlugin();

@ -91,7 +91,7 @@ class TQInputDialogPrivate;
class Q_EXPORT TQInputDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
private:
enum Type { LineEdit, SpinBox, ComboBox, EditableComboBox };
@ -131,7 +131,7 @@ private:
friend class TQInputDialogPrivate; /* to avoid 'has no friends' warnings... */
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQInputDialog( const TQInputDialog &amp; );
TQInputDialog &amp;operator=( const TQInputDialog &amp; );
#endif

@ -190,7 +190,7 @@ private:
int ioSt;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQIODevice( const TQIODevice &amp; );
TQIODevice &amp;operator=( const TQIODevice &amp; );
#endif

@ -87,7 +87,7 @@ class TQKbdDriverPluginPrivate;
class Q_EXPORT TQKbdDriverPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQKbdDriverPlugin();
~TQKbdDriverPlugin();

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#ifndef QT_NO_QWS_KEYBOARD
class TQWSKeyboardHandler : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
TQWSKeyboardHandler();
virtual ~TQWSKeyboardHandler();

@ -88,7 +88,7 @@ class TQLabelPrivate;
class Q_EXPORT TQLabel : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString text READ text WRITE setText )
Q_PROPERTY( TextFormat textFormat READ textFormat WRITE setTextFormat )
Q_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap )
@ -198,7 +198,7 @@ private:
friend class TQTipLabel;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQLabel( const TQLabel &amp; );
TQLabel &amp;operator=( const TQLabel &amp; );
#endif

@ -88,7 +88,7 @@ body { background: #ffffff; color: black; }
#ifndef QT_NO_LAYOUT
#if 0
Q_OBJECT
TQ_OBJECT
#endif
static const int TQLAYOUTSIZE_MAX = INT_MAX/256/16;
@ -214,7 +214,7 @@ private:
class Q_EXPORT TQLayout : public TQObject, public TQLayoutItem
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( ResizeMode )
Q_PROPERTY( int margin READ margin WRITE setMargin )
Q_PROPERTY( int spacing READ spacing WRITE setSpacing )
@ -311,7 +311,7 @@ private:
#endif
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQLayout( const TQLayout &amp; );
TQLayout &amp;operator=( const TQLayout &amp; );
#endif
@ -326,7 +326,7 @@ inline void TQLayoutIterator::deleteCurrent()
class Q_EXPORT TQGridLayout : public TQLayout
{
Q_OBJECT
TQ_OBJECT
public:
TQGridLayout( TQWidget *parent, int nRows = 1, int nCols = 1, int border = 0,
int spacing = -1, const char *name = 0 );
@ -389,7 +389,7 @@ protected:
void add( TQLayoutItem*, int row, int col );
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQGridLayout( const TQGridLayout &amp; );
TQGridLayout &amp;operator=( const TQGridLayout &amp; );
#endif
@ -403,7 +403,7 @@ class TQDockWindow;
class Q_EXPORT TQBoxLayout : public TQLayout
{
Q_OBJECT
TQ_OBJECT
public:
enum Direction { LeftToRight, RightToLeft, TopToBottom, BottomToTop,
Down = TopToBottom, Up = BottomToTop };
@ -455,7 +455,7 @@ protected:
private:
friend class TQDockWindow;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQBoxLayout( const TQBoxLayout &amp; );
TQBoxLayout &amp;operator=( const TQBoxLayout &amp; );
#endif
@ -469,7 +469,7 @@ private:
class Q_EXPORT TQHBoxLayout : public TQBoxLayout
{
Q_OBJECT
TQ_OBJECT
public:
TQHBoxLayout( TQWidget *parent, int border = 0,
int spacing = -1, const char *name = 0 );
@ -480,7 +480,7 @@ public:
~TQHBoxLayout();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQHBoxLayout( const TQHBoxLayout &amp; );
TQHBoxLayout &amp;operator=( const TQHBoxLayout &amp; );
#endif
@ -488,7 +488,7 @@ private: // Disabled copy constructor and operator=
class Q_EXPORT TQVBoxLayout : public TQBoxLayout
{
Q_OBJECT
TQ_OBJECT
public:
TQVBoxLayout( TQWidget *parent, int border = 0,
int spacing = -1, const char *name = 0 );
@ -499,7 +499,7 @@ public:
~TQVBoxLayout();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQVBoxLayout( const TQVBoxLayout &amp; );
TQVBoxLayout &amp;operator=( const TQVBoxLayout &amp; );
#endif

@ -89,7 +89,7 @@ class TQLCDNumberPrivate;
class Q_EXPORT TQLCDNumber : public TQFrame // LCD number widget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Mode SegmentStyle )
Q_PROPERTY( bool smallDecimalPoint READ smallDecimalPoint WRITE setSmallDecimalPoint )
Q_PROPERTY( int numDigits READ numDigits WRITE setNumDigits )
@ -164,7 +164,7 @@ private:
TQLCDNumberPrivate * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQLCDNumber( const TQLCDNumber &amp; );
TQLCDNumber &amp;operator=( const TQLCDNumber &amp; );
#endif

@ -110,7 +110,7 @@ private:
uint aunload : 1;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQLibrary( const TQLibrary &amp; );
TQLibrary &amp;operator=( const TQLibrary &amp; );
#endif

@ -94,7 +94,7 @@ class TQTextCursor;
class Q_EXPORT TQLineEdit : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( EchoMode )
Q_PROPERTY( TQString text READ text WRITE setText )
Q_PROPERTY( int maxLength READ maxLength WRITE setMaxLength )
@ -255,7 +255,7 @@ private:
TQLineEditPrivate * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQLineEdit( const TQLineEdit &amp; );
TQLineEdit &amp;operator=( const TQLineEdit &amp; );
#endif

@ -97,7 +97,7 @@ class Q_EXPORT TQListBox : public TQScrollView
friend class TQListBoxItem;
friend class TQListBoxPrivate;
Q_OBJECT
TQ_OBJECT
Q_ENUMS( SelectionMode LayoutMode )
Q_PROPERTY( uint count READ count )
Q_PROPERTY( int numItemsVisible READ numItemsVisible )
@ -344,7 +344,7 @@ private:
static TQListBox * changedListBox;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQListBox( const TQListBox &amp; );
TQListBox &amp;operator=( const TQListBox &amp; );
#endif
@ -402,7 +402,7 @@ private:
friend class TQComboBoxPopupItem;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQListBoxItem( const TQListBoxItem &amp; );
TQListBoxItem &amp;operator=( const TQListBoxItem &amp; );
#endif
@ -427,7 +427,7 @@ protected:
void paint( TQPainter * );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQListBoxText( const TQListBoxText &amp; );
TQListBoxText &amp;operator=( const TQListBoxText &amp; );
#endif
@ -459,7 +459,7 @@ protected:
private:
TQPixmap pm;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQListBoxPixmap( const TQListBoxPixmap &amp; );
TQListBoxPixmap &amp;operator=( const TQListBoxPixmap &amp; );
#endif

@ -276,7 +276,7 @@ class Q_EXPORT TQListView: public TQScrollView
friend class TQCheckListItem;
friend class TQListViewToolTip;
Q_OBJECT
TQ_OBJECT
Q_ENUMS( SelectionMode ResizeMode RenameAction )
Q_PROPERTY( int columns READ columns )
Q_PROPERTY( bool multiSelection READ isMultiSelection WRITE setMultiSelection DESIGNABLE false )
@ -496,7 +496,7 @@ private:
TQListViewPrivate * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQListView( const TQListView &amp; );
TQListView &amp;operator=( const TQListView &amp; );
#endif

@ -86,7 +86,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQLocalFs : public TQNetworkProtocol
{
Q_OBJECT
TQ_OBJECT
public:
TQLocalFs();

@ -95,7 +95,7 @@ class TQMacStylePrivate;
class Q_EXPORT_STYLE_MAC TQMacStyle : public TQWindowsStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQMacStyle( );
virtual ~TQMacStyle();
@ -171,7 +171,7 @@ protected:
bool event(TQEvent *);
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMacStyle( const TQMacStyle &amp; );
TQMacStyle&amp; operator=( const TQMacStyle &amp; );
#endif

@ -67,7 +67,7 @@ magnified area as a .bmp file.
class MagWidget : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MagWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -133,12 +133,12 @@ static const int timer[] = {
int w=0, x=0, n;
zoom = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>(zoom);
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(zoom);
<a name="x1773"></a> zoom-&gt;<a href="ntqcombobox.html#insertStrList">insertStrList</a>( zoomfactors, 9 );
<a name="x1772"></a> <a href="ntqobject.html#connect">connect</a>( zoom, SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), SLOT(setZoom(int)) );
refresh = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>(refresh);
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(refresh);
refresh-&gt;<a href="ntqcombobox.html#insertStrList">insertStrList</a>( refreshrates, 9 );
<a href="ntqobject.html#connect">connect</a>( refresh, SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), SLOT(setRefresh(int)) );
@ -157,7 +157,7 @@ static const int timer[] = {
refresh-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( x, 2, w+30, 20 );
saveButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>(saveButton);
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(saveButton);
<a href="ntqobject.html#connect">connect</a>( saveButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, SLOT(save()) );
<a name="x1771"></a> saveButton-&gt;<a href="ntqbutton.html#setText">setText</a>( "Save" );
<a name="x1788"></a> saveButton-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( x+w+30+2, 2,
@ -165,14 +165,14 @@ static const int timer[] = {
multiSaveButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
<a name="x1790"></a> multiSaveButton-&gt;<a href="ntqpushbutton.html#setToggleButton">setToggleButton</a>(TRUE);
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>(multiSaveButton);
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(multiSaveButton);
<a href="ntqobject.html#connect">connect</a>( multiSaveButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, SLOT(multiSave()) );
multiSaveButton-&gt;<a href="ntqbutton.html#setText">setText</a>( "MultiSave" );
<a name="x1798"></a> multiSaveButton-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( saveButton-&gt;<a href="ntqwidget.html#geometry">geometry</a>().right() + 2, 2,
10+multiSaveButton-&gt;<a href="ntqwidget.html#fontMetrics">fontMetrics</a>().width("MultiSave"), 20 );
quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>(quitButton);
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(quitButton);
<a href="ntqobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
quitButton-&gt;<a href="ntqbutton.html#setText">setText</a>( "Quit" );
quitButton-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( multiSaveButton-&gt;<a href="ntqwidget.html#geometry">geometry</a>().right() + 2, 2,
@ -186,7 +186,7 @@ static const int timer[] = {
setZoom(5);
rgb = new <a href="ntqlabel.html">TQLabel</a>( this );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( rgb );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( rgb );
<a name="x1779"></a> rgb-&gt;<a href="ntqlabel.html#setText">setText</a>( "" );
rgb-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignVCenter );
rgb-&gt;<a href="ntqwidget.html#resize">resize</a>( <a href="ntqwidget.html#width">width</a>(), rgb-&gt;<a href="ntqwidget.html#fontMetrics">fontMetrics</a>().height() + 4 );

@ -95,7 +95,7 @@ class TQPopupMenu;
class Q_EXPORT TQMainWindow: public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool rightJustification READ rightJustification WRITE setRightJustification DESIGNABLE false )
Q_PROPERTY( bool usesBigPixmaps READ usesBigPixmaps WRITE setUsesBigPixmaps )
Q_PROPERTY( bool usesTextLabel READ usesTextLabel WRITE setUsesTextLabel )
@ -238,7 +238,7 @@ private:
friend class TQToolBar;
friend class TQMainWindowLayout;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMainWindow( const TQMainWindow &amp; );
TQMainWindow&amp; operator=( const TQMainWindow &amp; );
#endif

@ -299,7 +299,7 @@ message($$join(urlPieces, $$LITERAL_HASH))
<a name="OBJECTS"></a><h5><a name="4-2-8"></a>OBJECTS</h5>
<p>This variable is generated from the <a href="qmake-manual-8.html#SOURCES">SOURCES</a> variable. The extension of each source file will have been replaced by .o (Unix) or .obj (Win32). The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="OBJMOC"></a><h5><a name="4-2-9"></a>OBJMOC</h5>
<p>This variable is set by <em>qmake</em> if files can be found that contain the Q_OBJECT macro. <tt>OBJMOC</tt> contains the name of all intermediate moc object files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<p>This variable is set by <em>qmake</em> if files can be found that contain the TQ_OBJECT macro. <tt>OBJMOC</tt> contains the name of all intermediate moc object files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="PRECOMPILED_HEADER"></a><h5><a name="4-2-10"></a>PRECOMPILED_HEADER</h5>
<p>This variable indicates the header file for creating a precompiled header file, to increase the compilation speed of a project. Precompiled headers are currently only supported on some platforms (Windows - all MSVC project types, Mac OS X - Xcode, Makefile, UNIX - gcc 3.3 and up).</p>
<p>On other platforms, this variable has different meaning, as noted below.</p>
@ -510,7 +510,7 @@ app {
<h5><a name="4-2-96"></a>RES_FILE</h5>
<p>This variable contains the name of the resource file for the application. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<h5><a name="4-2-97"></a>SRCMOC</h5>
<p>This variable is set by <em>qmake</em> if files can be found that contain the Q_OBJECT macro. <tt>SRCMOC</tt> contains the name of all the generated moc files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<p>This variable is set by <em>qmake</em> if files can be found that contain the TQ_OBJECT macro. <tt>SRCMOC</tt> contains the name of all the generated moc files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<h5><a name="4-2-98"></a>TARGET_EXT</h5>
<p>This variable specifies the target's extension. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<h5><a name="4-2-99"></a>TARGET_x</h5>

@ -89,7 +89,7 @@ class TQPopupMenu;
class Q_EXPORT TQMenuBar : public TQFrame, public TQMenuData
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Separator )
Q_PROPERTY( Separator separator READ separator WRITE setSeparator DESIGNABLE false )
Q_PROPERTY( bool defaultUp READ isDefaultUp WRITE setDefaultUp )
@ -229,7 +229,7 @@ private:
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMenuBar( const TQMenuBar &amp; );
TQMenuBar &amp;operator=( const TQMenuBar &amp; );
#endif

@ -148,7 +148,7 @@ private:
TQMenuItemData* extra();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMenuItem( const TQMenuItem &amp; );
TQMenuItem &amp;operator=( const TQMenuItem &amp; );
#endif
@ -310,7 +310,7 @@ private:
TQMenuDataData *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMenuData( const TQMenuData &amp; );
TQMenuData &amp;operator=( const TQMenuData &amp; );
#endif

@ -89,7 +89,7 @@ struct TQMessageBoxData;
class Q_EXPORT TQMessageBox : public TQDialog
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Icon )
Q_PROPERTY( TQString text READ text WRITE setText )
Q_PROPERTY( Icon icon READ icon WRITE setIcon )
@ -227,7 +227,7 @@ private:
void *reserved2;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMessageBox( const TQMessageBox &amp; );
TQMessageBox &amp;operator=( const TQMessageBox &amp; );
#endif
@ -249,7 +249,7 @@ TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()&
(sq.section('.',1,1).toInt()&lt;&lt;8)+sq.section('.',2,2).toInt()&lt;(s.section('.',0,0).toInt()&lt;&lt;16)+\
(s.section('.',1,1).toInt()&lt;&lt;8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \
TQApplication(argc,argv);} TQString s = TQApplication::tr("Executable '%1' requires TQt "\
"%2, found TQt %3.").arg(TQString::fromLatin1(qAppName())).arg(TQString::fromLatin1(\
"%2, found TQt %3.").arg(TQString::fromLatin1(tqAppName())).arg(TQString::fromLatin1(\
str)).arg(TQString::fromLatin1(qVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\
"Incompatible TQt Library Error" ), s, TQMessageBox::Abort,0 ); qFatal(s.ascii()); }}

@ -287,7 +287,7 @@ private:
#endif
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMetaObject( const TQMetaObject &amp; );
TQMetaObject &amp;operator=( const TQMetaObject &amp; );
#endif

@ -72,7 +72,7 @@ class TQMotifPrivate;
class TQMotif : public TQEventLoop
{
Q_OBJECT
TQ_OBJECT
public:
TQMotif( const char *applicationClass, XtAppContext context = NULL, XrmOptionDescRec *options = 0, int numOptions = 0);

@ -74,7 +74,7 @@ class TQMotifDialogPrivate;
class TQMotifDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
// obsolete

@ -92,7 +92,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT_STYLE_MOTIFPLUS TQMotifPlusStyle : public TQMotifStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQMotifPlusStyle(bool hoveringHighlight = TRUE);

@ -94,7 +94,7 @@ class TQPalette;
class Q_EXPORT_STYLE_MOTIF TQMotifStyle : public TQCommonStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQMotifStyle( bool useHighlightCols=FALSE );
virtual ~TQMotifStyle();
@ -161,7 +161,7 @@ private:
bool highlightCols;
// Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMotifStyle( const TQMotifStyle &amp; );
TQMotifStyle&amp; operator=( const TQMotifStyle &amp; );
#endif

@ -73,7 +73,7 @@ class TQKeyEvent;
class TQMotifWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQMotifWidget( TQWidget *, WidgetClass, ArgList = NULL, Cardinal = 0,

@ -87,7 +87,7 @@ class TQMouseDriverPluginPrivate;
class Q_EXPORT TQMouseDriverPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQMouseDriverPlugin();
~TQMouseDriverPlugin();

@ -89,7 +89,7 @@ class TQMultiLineEditData;
class Q_EXPORT TQMultiLineEdit : public TQTextEdit
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int numLines READ numLines )
Q_PROPERTY( bool atBeginning READ atBeginning )
Q_PROPERTY( bool atEnd READ atEnd )
@ -166,7 +166,7 @@ private:
TQMultiLineEditData *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMultiLineEdit( const TQMultiLineEdit &amp; );
TQMultiLineEdit &amp;operator=( const TQMultiLineEdit &amp; );
#endif

@ -106,7 +106,7 @@ public:
private:
TQMutexPrivate * d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMutex( const TQMutex &amp; );
TQMutex &amp;operator=( const TQMutex &amp; );
#endif
@ -123,7 +123,7 @@ public:
private:
TQMutex *mtx;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQMutexLocker( const TQMutexLocker &amp; );
TQMutexLocker &amp;operator=( const TQMutexLocker &amp; );
#endif

@ -118,7 +118,7 @@ typedef TQDict&lt; TQNetworkProtocolFactoryBase &gt; TQNetworkProtocolDict;
class Q_EXPORT TQNetworkProtocol : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
enum State {
@ -224,7 +224,7 @@ private slots:
void removeMe();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQNetworkProtocol( const TQNetworkProtocol &amp; );
TQNetworkProtocol &amp;operator=( const TQNetworkProtocol &amp; );
#endif
@ -234,7 +234,7 @@ class TQNetworkOperationPrivate;
class Q_EXPORT TQNetworkOperation : public TQObject
{
Q_OBJECT
TQ_OBJECT
friend class TQUrlOperator;
public:
@ -269,7 +269,7 @@ private:
TQNetworkOperationPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQNetworkOperation( const TQNetworkOperation &amp; );
TQNetworkOperation &amp;operator=( const TQNetworkOperation &amp; );
#endif

@ -117,7 +117,7 @@ private:
};
class TQNPWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
TQNPWidget();
~TQNPWidget();
@ -134,7 +134,7 @@ private:
};
class TQNPInstance : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
~TQNPInstance();

@ -101,7 +101,7 @@ struct TQUObject;
class Q_EXPORT TQObject: public TQt
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQCString name READ name WRITE setName )
public:
@ -246,7 +246,7 @@ private:
friend class TQSignal;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQObject( const TQObject &amp; );
TQObject &amp;operator=( const TQObject &amp; );
#endif

@ -83,7 +83,7 @@ class TQObjectList;
class Q_EXPORT TQObjectCleanupHandler : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQObjectCleanupHandler();

@ -109,7 +109,7 @@ public:
TQPtrListIterator&lt;TQObject&gt;::operator=( i ); }
};
#if (QT_VERSION-0 &gt;= 0x040000)
#if (TQT_VERSION-0 &gt;= 0x040000)
#if defined(Q_CC_GNU)
#warning "remove the TQObjectListIt class"
#warning "remove the typedef too, maybe"

@ -320,7 +320,7 @@ private:
#endif
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQPaintDevice( const TQPaintDevice &amp; );
TQPaintDevice &amp;operator=( const TQPaintDevice &amp; );
#endif

@ -463,7 +463,7 @@ protected:
friend class TQPrinter;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQPainter( const TQPainter &amp; );
TQPainter &amp;operator=( const TQPainter &amp; );
#endif

@ -93,7 +93,7 @@ class TQPalette;
class Q_EXPORT_STYLE_PLATINUM TQPlatinumStyle : public TQWindowsStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQPlatinumStyle();
virtual ~TQPlatinumStyle();
@ -142,7 +142,7 @@ protected:
void drawRiffles( TQPainter* p, int x, int y, int w, int h,
const TQColorGroup &amp;g, bool horizontal ) const;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQPlatinumStyle( const TQPlatinumStyle &amp; );
TQPlatinumStyle&amp; operator=( const TQPlatinumStyle &amp; );
#endif

@ -87,7 +87,7 @@ class TQPopupMenuPrivate;
class Q_EXPORT TQPopupMenu : public TQFrame, public TQMenuData
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool checkable READ isCheckable WRITE setCheckable )
public:
TQPopupMenu( TQWidget* parent=0, const char* name=0 );
@ -224,7 +224,7 @@ private:
void connectModal(TQPopupMenu* receiver, bool doConnect);
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQPopupMenu( const TQPopupMenu &amp; );
TQPopupMenu &amp;operator=( const TQPopupMenu &amp; );
#endif

@ -259,7 +259,7 @@ private:
TQPrinterPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQPrinter( const TQPrinter &amp; );
TQPrinter &amp;operator=( const TQPrinter &amp; );
#endif

@ -91,7 +91,7 @@ class TQMembuf;
class Q_EXPORT TQProcess : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQProcess( TQObject *parent=0, const char *name=0 );
TQProcess( const TQString&amp; arg0, TQObject *parent=0, const char *name=0 );
@ -203,7 +203,7 @@ private:
friend class TQProc;
#endif
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQProcess( const TQProcess &amp; );
TQProcess &amp;operator=( const TQProcess &amp; );
#endif

@ -89,7 +89,7 @@ class TQProgressBarPrivate;
class Q_EXPORT TQProgressBar : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int totalSteps READ totalSteps WRITE setTotalSteps )
Q_PROPERTY( int progress READ progress WRITE setProgress )
Q_PROPERTY( TQString progressString READ progressString )
@ -143,7 +143,7 @@ private:
void initFrame();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQProgressBar( const TQProgressBar &amp; );
TQProgressBar &amp;operator=( const TQProgressBar &amp; );
#endif

@ -91,7 +91,7 @@ class TQProgressDialogData;
class Q_EXPORT TQProgressDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool wasCancelled READ wasCancelled DESIGNABLE false STORED false ) // ### remove in 4.0
Q_PROPERTY( bool wasCanceled READ wasCanceled )
Q_PROPERTY( int totalSteps READ totalSteps WRITE setTotalSteps )
@ -166,7 +166,7 @@ private:
TQTimer *forceTimer;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQProgressDialog( const TQProgressDialog &amp; );
TQProgressDialog &amp;operator=( const TQProgressDialog &amp; );
#endif

@ -88,7 +88,7 @@ class TQPopupMenu;
class Q_EXPORT TQPushButton : public TQButton
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool autoDefault READ autoDefault WRITE setAutoDefault )
Q_PROPERTY( bool default READ isDefault WRITE setDefault )
@ -173,7 +173,7 @@ private:
friend class TQDialog;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQPushButton( const TQPushButton &amp; );
TQPushButton &amp;operator=( const TQPushButton &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQRadioButton : public TQButton
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool checked READ isChecked WRITE setChecked )
Q_OVERRIDE( bool autoMask DESIGNABLE true SCRIPTABLE true )
@ -112,7 +112,7 @@ private:
void init();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQRadioButton( const TQRadioButton &amp; );
TQRadioButton &amp;operator=( const TQRadioButton &amp; );
#endif

@ -132,7 +132,7 @@ private:
TQRangeControlPrivate * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQRangeControl( const TQRangeControl &amp; );
TQRangeControl &amp;operator=( const TQRangeControl &amp; );
#endif
@ -165,7 +165,7 @@ inline int TQRangeControl::pageStep() const
class TQSpinWidgetPrivate;
class Q_EXPORT TQSpinWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQSpinWidget( TQWidget* parent=0, const char* name=0 );
~TQSpinWidget();
@ -219,7 +219,7 @@ private:
void updateDisplay();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSpinWidget( const TQSpinWidget&amp; );
TQSpinWidget&amp; operator=( const TQSpinWidget&amp; );
#endif

@ -88,7 +88,7 @@ class TQTimer;
class Q_EXPORT TQScrollBar : public TQWidget, public TQRangeControl
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int minValue READ minValue WRITE setMinValue )
Q_PROPERTY( int maxValue READ maxValue WRITE setMaxValue )
Q_PROPERTY( int lineStep READ lineStep WRITE setLineStep )
@ -195,7 +195,7 @@ private:
void * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQScrollBar( const TQScrollBar &amp; );
TQScrollBar &amp;operator=( const TQScrollBar &amp; );
#endif

@ -87,7 +87,7 @@ class TQScrollViewData;
class Q_EXPORT TQScrollView : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( ResizePolicy ScrollBarMode )
Q_PROPERTY( ResizePolicy resizePolicy READ resizePolicy WRITE setResizePolicy )
Q_PROPERTY( ScrollBarMode vScrollBarMode READ vScrollBarMode WRITE setVScrollBarMode )
@ -289,7 +289,7 @@ private slots:
#endif
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQScrollView( const TQScrollView &amp; );
TQScrollView &amp;operator=( const TQScrollView &amp; );
#endif

@ -106,7 +106,7 @@ public:
private:
TQSemaphorePrivate *d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSemaphore(const TQSemaphore &amp;);
TQSemaphore &amp;operator=(const TQSemaphore &amp;);
#endif

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
#endif // QT_H
#ifndef QT_NO_NETWORK
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
#define TQM_EXPORT_NETWORK Q_EXPORT
@ -95,7 +95,7 @@ class TQServerSocketPrivate;
class TQM_EXPORT_NETWORK TQServerSocket : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQServerSocket( Q_UINT16 port, int backlog = 1,
TQObject *parent=0, const char *name=0 );

@ -89,7 +89,7 @@ class TQSessionManagerData;
class Q_EXPORT TQSessionManager : public TQObject
{
Q_OBJECT
TQ_OBJECT
TQSessionManager( TQApplication *app, TQString &amp;id, TQString &amp;key );
~TQSessionManager();
public:

@ -181,7 +181,7 @@ public:
private:
TQSettingsPrivate *d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSettings(const TQSettings &amp;);
TQSettings &amp;operator=(const TQSettings &amp;);
#endif

@ -95,7 +95,7 @@ class TQSGIStylePrivate;
class Q_EXPORT_STYLE_SGI TQSGIStyle: public TQMotifStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQSGIStyle( bool useHighlightCols = FALSE );
virtual ~TQSGIStyle();
@ -157,7 +157,7 @@ private:
TQSGIStylePrivate *d;
uint isApplicationStyle :1;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSGIStyle( const TQSGIStyle &amp; );
TQSGIStyle&amp; operator=( const TQSGIStyle &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQSignal : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQSignal( TQObject *parent=0, const char *name=0 );
@ -120,7 +120,7 @@ private:
TQVariant val;
#endif
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSignal( const TQSignal &amp; );
TQSignal &amp;operator=( const TQSignal &amp; );
#endif

@ -86,7 +86,7 @@ struct TQSignalMapperRec;
class Q_EXPORT TQSignalMapper : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
TQSignalMapper( TQObject* parent, const char* name=0 );
~TQSignalMapper();

@ -129,7 +129,7 @@ private:
TQSimpleRichTextData* d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSimpleRichText( const TQSimpleRichText &amp; );
TQSimpleRichText &amp;operator=( const TQSimpleRichText &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQSizeGrip: public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQSizeGrip( TQWidget* parent, const char* name=0 );
~TQSizeGrip();

@ -90,7 +90,7 @@ class TQTimer;
class Q_EXPORT TQSlider : public TQWidget, public TQRangeControl
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( TickSetting )
Q_PROPERTY( int minValue READ minValue WRITE setMinValue )
Q_PROPERTY( int maxValue READ maxValue WRITE setMaxValue )
@ -204,7 +204,7 @@ private:
Orientation orient;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSlider( const TQSlider &amp; );
TQSlider &amp;operator=( const TQSlider &amp; );
#endif

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqhostaddress.h" // int-&gt;TQHostAddress conversion
#endif // QT_H
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
#define TQM_EXPORT_NETWORK Q_EXPORT
@ -96,7 +96,7 @@ class TQSocketDevice;
class TQM_EXPORT_NETWORK TQSocket : public TQObject, public TQIODevice
{
Q_OBJECT
TQ_OBJECT
public:
enum Error {
ErrConnectionRefused,
@ -182,7 +182,7 @@ private:
void setSocketIntern( int socket );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSocket( const TQSocket &amp; );
TQSocket &amp;operator=( const TQSocket &amp; );
#endif

@ -82,7 +82,7 @@ body { background: #ffffff; color: black; }
#include "ntqhostaddress.h" // int-&gt;TQHostAddress conversion
#endif // QT_H
#if !defined( QT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
#define TQM_EXPORT_NETWORK Q_EXPORT
@ -196,7 +196,7 @@ private:
Protocol getProtocol() const;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSocketDevice( const TQSocketDevice &amp; );
TQSocketDevice &amp;operator=( const TQSocketDevice &amp; );
#endif

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQSocketNotifier : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
enum Type { Read, Write, Exception };
@ -109,7 +109,7 @@ private:
bool snenabled;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSocketNotifier( const TQSocketNotifier &amp; );
TQSocketNotifier &amp;operator=( const TQSocketNotifier &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class TQSoundData;
class Q_EXPORT TQSound : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
static bool isAvailable();
static void play(const TQString&amp; filename);
@ -138,7 +138,7 @@ public:
};
class TQAuServer : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
TQAuServer(TQObject* parent, const char* name);

@ -90,7 +90,7 @@ class TQSpinBoxPrivate;
class Q_EXPORT TQSpinBox: public TQWidget, public TQRangeControl
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( ButtonSymbols )
Q_PROPERTY( TQString text READ text )
Q_PROPERTY( TQString prefix READ prefix WRITE setPrefix )
@ -196,7 +196,7 @@ private:
void arrangeWidgets();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSpinBox( const TQSpinBox&amp; );
TQSpinBox&amp; operator=( const TQSpinBox&amp; );
#endif

@ -85,7 +85,7 @@ class TQSplashScreenPrivate;
class Q_EXPORT TQSplashScreen : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQSplashScreen( const TQPixmap &amp;pixmap = TQPixmap(), WFlags f = 0 );
virtual ~TQSplashScreen();

@ -91,7 +91,7 @@ class TQTextStream;
class Q_EXPORT TQSplitter : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
Q_PROPERTY( bool opaqueResize READ opaqueResize WRITE setOpaqueResize )
Q_PROPERTY( int handleWidth READ handleWidth WRITE setHandleWidth )
@ -189,7 +189,7 @@ private:
#endif
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSplitter( const TQSplitter &amp; );
TQSplitter&amp; operator=( const TQSplitter &amp; );
#endif

@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
#include "ntqglobal.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -124,7 +124,7 @@ public:
};
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSql( const TQSql &amp; );
TQSql &amp;operator=( const TQSql &amp; );
#endif

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqsqlindex.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqstringlist.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -113,7 +113,7 @@ public:
class TQM_EXPORT_SQL TQSqlDatabase : public TQObject
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName )
Q_PROPERTY( TQString userName READ userName WRITE setUserName )
Q_PROPERTY( TQString password READ password WRITE setPassword )
@ -179,7 +179,7 @@ protected:
private:
void init( const TQString&amp; type, const TQString&amp; name );
TQSqlDatabasePrivate* d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQSqlDatabase( const TQSqlDatabase &amp; );
TQSqlDatabase &amp;operator=( const TQSqlDatabase &amp; );
#endif

@ -88,7 +88,7 @@ body { background: #ffffff; color: black; }
#include "ntqmap.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -103,7 +103,7 @@ class TQSqlDatabase;
class TQM_EXPORT_SQL TQSqlDriver : public TQObject
{
friend class TQSqlDatabase;
Q_OBJECT
TQ_OBJECT
public:
enum DriverFeature { Transactions, QuerySize, BLOB, Unicode, PreparedQueries,
NamedPlaceholders, PositionalPlaceholders };
@ -150,7 +150,7 @@ private:
// ### This class needs a d-pointer in 4.0.
int dbState;
TQSqlError error;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSqlDriver( const TQSqlDriver &amp; );
TQSqlDriver &amp;operator=( const TQSqlDriver &amp; );
#endif

@ -90,7 +90,7 @@ class TQSqlDriverPluginPrivate;
class Q_EXPORT TQSqlDriverPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQSqlDriverPlugin();
~TQSqlDriverPlugin();

@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
#include "ntqeditorfactory.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -102,7 +102,7 @@ public:
static void installDefaultFactory( TQSqlEditorFactory * factory );
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQSqlEditorFactory( const TQSqlEditorFactory &amp; );
TQSqlEditorFactory &amp;operator=( const TQSqlEditorFactory &amp; );
#endif

@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
#include "ntqstring.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqvariant.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqmap.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -98,7 +98,7 @@ class TQSqlFormPrivate;
class TQM_EXPORT_SQL TQSqlForm : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQSqlForm( TQObject * parent = 0, const char * name = 0 );
~TQSqlForm();
@ -133,7 +133,7 @@ private:
virtual void sync();
TQSqlFormPrivate* d;
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQSqlForm( const TQSqlForm &amp; );
TQSqlForm &amp;operator=( const TQSqlForm &amp; );
#endif

@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
#include "ntqsqlrecord.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#define TQM_TEMPLATE_EXTERN_SQL
#else

@ -101,7 +101,7 @@ public:
static void installDefaultMap( TQSqlPropertyMap * map );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSqlPropertyMap( const TQSqlPropertyMap &amp; );
TQSqlPropertyMap &amp;operator=( const TQSqlPropertyMap &amp; );
#endif

@ -94,7 +94,7 @@ class TQSqlDatabase;
class Q_EXPORT TQSqlResultShared : public TQObject, public TQShared
{
Q_OBJECT
TQ_OBJECT
public:
TQSqlResultShared( TQSqlResult* result );
virtual ~TQSqlResultShared();

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
#include "ntqsql.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT
@ -140,7 +140,7 @@ private:
bool forwardOnly;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQSqlResult( const TQSqlResult &amp; );
TQSqlResult &amp;operator=( const TQSqlResult &amp; );
#endif

@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
#include "ntqsqlcursor.h"
#endif // QT_H
#if !defined( QT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
#define TQM_EXPORT_SQL Q_EXPORT

@ -89,7 +89,7 @@ class TQStatusBarPrivate;
class Q_EXPORT TQStatusBar: public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool sizeGripEnabled READ isSizeGripEnabled WRITE setSizeGripEnabled )
public:
@ -121,7 +121,7 @@ protected:
private:
TQStatusBarPrivate * d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQStatusBar( const TQStatusBar &amp; );
TQStatusBar&amp; operator=( const TQStatusBar &amp; );
#endif

@ -280,7 +280,7 @@ private:
#if defined(QT_QSTRING_UCS_4)
ushort grp;
#endif
} Q_PACKED;
} TQ_PACKED;
inline TQChar::TQChar() : ucs( 0 )
#ifdef QT_QSTRING_UCS_4
@ -426,7 +426,7 @@ struct Q_EXPORT TQStringData : public TQShared {
uint islatin1 : 1;
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQStringData( const TQStringData&amp; );
TQStringData&amp; operator=( const TQStringData&amp; );
#endif

@ -159,7 +159,7 @@ class TQStyleHintReturn; // not defined yet
class Q_EXPORT TQStyle: public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQStyle();
@ -782,7 +782,7 @@ public:
private:
TQStylePrivate * d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQStyle( const TQStyle &amp; );
TQStyle&amp; operator=( const TQStyle &amp; );
#endif

@ -90,7 +90,7 @@ class TQStylePluginPrivate;
class Q_EXPORT TQStylePlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQStylePlugin();
~TQStylePlugin();

@ -243,7 +243,7 @@ class TQTextCustomItem;
class Q_EXPORT TQStyleSheet : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQStyleSheet( TQObject *parent=0, const char *name=0 );
virtual ~TQStyleSheet();
@ -278,7 +278,7 @@ private:
TQDict&lt;TQStyleSheetItem&gt; styles;
TQStyleSheetItem* nullstyle;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQStyleSheet( const TQStyleSheet &amp; );
TQStyleSheet &amp;operator=( const TQStyleSheet &amp; );
#endif

@ -156,19 +156,19 @@ be treated as such.
your data's class.
<p> Naturally, the sorting templates won't work with const iterators.
<p> <a name="qSwap"></a>
<h3> qSwap()
<h3> tqSwap()
</h3>
<a name="2-2"></a><p> qSwap() exchanges the values of two variables:
<a name="2-2"></a><p> tqSwap() exchanges the values of two variables:
<pre>
<a href="ntqstring.html">TQString</a> second( "Einstein" );
<a href="ntqstring.html">TQString</a> name( "Albert" );
qSwap( second, name );
tqSwap( second, name );
</pre>
<p> <a name="qCount"></a>
<h3> qCount()
<h3> tqCount()
</h3>
<a name="2-3"></a><p> The qCount() template function counts the number of occurrences of a
<a name="2-3"></a><p> The tqCount() template function counts the number of occurrences of a
value within a container. For example:
<pre>
<a href="ntqvaluelist.html">TQValueList</a>&lt;int&gt; list;
@ -177,13 +177,13 @@ value within a container. For example:
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 1 );
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 2 );
int c = 0;
qCount( list.<a href="ntqvaluelist.html#begin">begin</a>(), list.<a href="ntqvaluelist.html#end">end</a>(), 1, c ); // c == 3
tqCount( list.<a href="ntqvaluelist.html#begin">begin</a>(), list.<a href="ntqvaluelist.html#end">end</a>(), 1, c ); // c == 3
</pre>
<p> <a name="qFind"></a>
<h3> qFind()
<h3> tqFind()
</h3>
<a name="2-4"></a><p> The qFind() template function finds the first occurrence of a value
<a name="2-4"></a><p> The tqFind() template function finds the first occurrence of a value
within a container. For example:
<pre>
<a href="ntqvaluelist.html">TQValueList</a>&lt;int&gt; list;
@ -191,23 +191,23 @@ within a container. For example:
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 1 );
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 1 );
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 2 );
<a href="qvaluelistiterator.html">TQValueListIterator</a>&lt;int&gt; it = qFind( list.<a href="ntqvaluelist.html#begin">begin</a>(), list.<a href="ntqvaluelist.html#end">end</a>(), 2 );
<a href="qvaluelistiterator.html">TQValueListIterator</a>&lt;int&gt; it = tqFind( list.<a href="ntqvaluelist.html#begin">begin</a>(), list.<a href="ntqvaluelist.html#end">end</a>(), 2 );
</pre>
<p> <a name="qFill"></a>
<h3> qFill()
<h3> tqFill()
</h3>
<a name="2-5"></a><p> The qFill() template function fills a range with copies of a value.
<a name="2-5"></a><p> The tqFill() template function fills a range with copies of a value.
For example:
<pre>
<a href="ntqvaluevector.html">TQValueVector</a>&lt;int&gt; vec(3);
qFill( vec.<a href="ntqvaluevector.html#begin">begin</a>(), vec.<a href="ntqvaluevector.html#end">end</a>(), 99 ); // vec contains 99, 99, 99
tqFill( vec.<a href="ntqvaluevector.html#begin">begin</a>(), vec.<a href="ntqvaluevector.html#end">end</a>(), 99 ); // vec contains 99, 99, 99
</pre>
<p> <a name="qEqual"></a>
<h3> qEqual()
<h3> tqEqual()
</h3>
<a name="2-6"></a><p> The qEqual() template function compares two ranges for equality of
<a name="2-6"></a><p> The tqEqual() template function compares two ranges for equality of
their elements. Note that the number of elements in each range is not
considered, only if the elements in the first range are equal to the
corresponding elements in the second range (consequently, both ranges
@ -225,14 +225,14 @@ must be valid). For example:
v2[4] = 4;
v2[5] = 5;
bool b = qEqual( v1.<a href="ntqvaluevector.html#begin">begin</a>(), v2.<a href="ntqvaluevector.html#end">end</a>(), v2.<a href="ntqvaluevector.html#begin">begin</a>() );
bool b = tqEqual( v1.<a href="ntqvaluevector.html#begin">begin</a>(), v2.<a href="ntqvaluevector.html#end">end</a>(), v2.<a href="ntqvaluevector.html#begin">begin</a>() );
// b == TRUE
</pre>
<p> <a name="qCopy"></a>
<h3> qCopy()
<h3> tqCopy()
</h3>
<a name="2-7"></a><p> The qCopy() template function copies a range of elements to an
<a name="2-7"></a><p> The tqCopy() template function copies a range of elements to an
OutputIterator, in this case a TQTextOStreamIterator:
<pre>
<a href="ntqvaluelist.html">TQValueList</a>&lt;int&gt; list;
@ -240,14 +240,14 @@ OutputIterator, in this case a TQTextOStreamIterator:
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 200 );
list.<a href="ntqvaluelist.html#push_back">push_back</a>( 300 );
<a href="qtextostream.html">TQTextOStream</a> str( stdout );
qCopy( list.<a href="ntqvaluelist.html#begin">begin</a>(), list.<a href="ntqvaluelist.html#end">end</a>(), TQTextOStreamIterator(str) );
tqCopy( list.<a href="ntqvaluelist.html#begin">begin</a>(), list.<a href="ntqvaluelist.html#end">end</a>(), TQTextOStreamIterator(str) );
</pre>
<p>
<p> <a name="qCopyBackward"></a>
<h3> qCopyBackward()
<h3> tqCopyBackward()
</h3>
<a name="2-8"></a><p> The qCopyBackward() template function copies a container or a slice of
<a name="2-8"></a><p> The tqCopyBackward() template function copies a container or a slice of
a container to an OutputIterator, but in reverse order, for example:
<pre>
<a href="ntqvaluevector.html">TQValueVector</a>&lt;int&gt; vec(3);
@ -255,7 +255,7 @@ a container to an OutputIterator, but in reverse order, for example:
vec.<a href="ntqvaluevector.html#push_back">push_back</a>( 200 );
vec.<a href="ntqvaluevector.html#push_back">push_back</a>( 300 );
<a href="ntqvaluevector.html">TQValueVector</a>&lt;int&gt; another;
qCopyBackward( vec.<a href="ntqvaluevector.html#begin">begin</a>(), vec.<a href="ntqvaluevector.html#end">end</a>(), another.<a href="ntqvaluevector.html#begin">begin</a>() );
tqCopyBackward( vec.<a href="ntqvaluevector.html#begin">begin</a>(), vec.<a href="ntqvaluevector.html#end">end</a>(), another.<a href="ntqvaluevector.html#begin">begin</a>() );
// 'another' now contains 100, 200, 300
// however the elements are copied one at a time
// in reverse order (300, 200, then 100)
@ -271,10 +271,10 @@ illustrates this:
<a href="ntqstringlist.html">TQStringList</a> list1, list2;
list1 &lt;&lt; "Weis" &lt;&lt; "Ettrich" &lt;&lt; "Arnt" &lt;&lt; "Sue";
list2 &lt;&lt; "Torben" &lt;&lt; "Matthias";
qCopy( list2.begin(), list2.end(), list1.<a href="ntqvaluelist.html#begin">begin</a>() );
tqCopy( list2.begin(), list2.end(), list1.<a href="ntqvaluelist.html#begin">begin</a>() );
<a href="ntqvaluevector.html">TQValueVector</a>&lt;TQString&gt; vec( list1.<a href="ntqvaluelist.html#size">size</a>(), "Dave" );
qCopy( list2.begin(), list2.end(), vec.<a href="ntqvaluevector.html#begin">begin</a>() );
tqCopy( list2.begin(), list2.end(), vec.<a href="ntqvaluevector.html#begin">begin</a>() );
</pre>
<p> At the end of this code fragment, the list list1 contains "Torben",
@ -284,11 +284,11 @@ overwritten. The vector vec contains "Torben", "Matthias", "Dave" and
<p> If you write new algorithms, consider writing them as template
functions in order to make them usable with as many containers
as possible. In the above example, you could just as easily print out
a standard C++ array with qCopy():
a standard C++ array with tqCopy():
<p> <pre>
int arr[] = { 100, 200, 300 };
<a href="qtextostream.html">TQTextOStream</a> str( stdout );
qCopy( arr, arr + 3, TQTextOStreamIterator( str ) );
tqCopy( arr, arr + 3, TQTextOStreamIterator( str ) );
</pre>
<p> <h2> Streaming

@ -237,7 +237,7 @@
<keyword ref="ntqapplication.html#x11ProcessEvent">x11ProcessEvent</keyword>
<keyword ref="ntqapplication.html#~QApplication">~QApplication</keyword>
<keyword ref="ntqapplication.html#Q_ASSERT">Q_ASSERT</keyword>
<keyword ref="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</keyword>
<keyword ref="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</keyword>
<keyword ref="ntqapplication.html#qAddPostRoutine">qAddPostRoutine</keyword>
<keyword ref="ntqapplication.html#qDebug">qDebug</keyword>
<keyword ref="ntqapplication.html#qFatal">qFatal</keyword>

@ -123,7 +123,7 @@ struct TQTabPrivate;
class Q_EXPORT TQTabBar: public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Shape )
Q_PROPERTY( Shape shape READ shape WRITE setShape )
Q_PROPERTY( int currentTab READ currentTab WRITE setCurrentTab )
@ -210,7 +210,7 @@ private:
friend class TQTab;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTabBar( const TQTabBar &amp; );
TQTabBar&amp; operator=( const TQTabBar &amp; );
#endif

@ -90,7 +90,7 @@ class TQTabDialogPrivate;
class Q_EXPORT TQTabDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
TQTabDialog( TQWidget* parent=0, const char* name=0, bool modal=FALSE,
WFlags f=0 );
@ -171,7 +171,7 @@ private:
TQTabDialogPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTabDialog( const TQTabDialog &amp; );
TQTabDialog&amp; operator=( const TQTabDialog &amp; );
#endif

@ -92,7 +92,7 @@ body { background: #ffffff; color: black; }
#ifndef QT_NO_TABLE
#if !defined( QT_MODULE_TABLE ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_TABLE )
#if !defined( TQT_MODULE_TABLE ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_TABLE )
#define TQM_EXPORT_TABLE
#ifndef TQM_TEMPLATE_EXTERN_TABLE
# define TQM_TEMPLATE_EXTERN_TABLE
@ -210,7 +210,7 @@ private:
uint enabled : 1;
int rw, cl;
int rowspan, colspan;
#if (QT_VERSION &gt;= 0x040000)
#if (TQT_VERSION &gt;= 0x040000)
#error "Add a setAlignment() function in 4.0 (but no d pointer)"
#endif
};
@ -281,7 +281,7 @@ private:
class TQM_EXPORT_TABLE TQTable : public TQScrollView
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( SelectionMode FocusStyle )
Q_PROPERTY( int numRows READ numRows WRITE setNumRows )
Q_PROPERTY( int numCols READ numCols WRITE setNumCols )
@ -587,7 +587,7 @@ private:
FocusStyle focusStl;
TQSize unused_cachedSizeHint; // ### remove in 4.0
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTable( const TQTable &amp; );
TQTable &amp;operator=( const TQTable &amp; );
#endif

@ -92,7 +92,7 @@ class TQWidgetStack;
class Q_EXPORT TQTabWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( TabPosition )
Q_ENUMS( TabShape )
Q_PROPERTY( TabPosition tabPosition READ tabPosition WRITE setTabPosition )
@ -187,7 +187,7 @@ private:
friend class TQTabDialog;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTabWidget( const TQTabWidget &amp; );
TQTabWidget&amp; operator=( const TQTabWidget &amp; );
#endif

@ -90,7 +90,7 @@ class TQTextBrowserData;
class Q_EXPORT TQTextBrowser : public TQTextEdit
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString source READ source WRITE setSource )
Q_OVERRIDE( int undoDepth DESIGNABLE false SCRIPTABLE false )
Q_OVERRIDE( bool overwriteMode DESIGNABLE false SCRIPTABLE false )
@ -132,7 +132,7 @@ private:
TQTextBrowserData *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTextBrowser( const TQTextBrowser &amp; );
TQTextBrowser&amp; operator=( const TQTextBrowser &amp; );
#endif

@ -88,7 +88,7 @@ class TQTextCodecPluginPrivate;
class Q_EXPORT TQTextCodecPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQTextCodecPlugin();
~TQTextCodecPlugin();

@ -173,7 +173,7 @@ class Q_EXPORT TQTextEdit : public TQScrollView
friend class TQTextBrowser;
friend class TQSyntaxHighlighter;
Q_OBJECT
TQ_OBJECT
Q_ENUMS( WordWrap WrapPolicy )
Q_SETS( AutoFormatting )
Q_PROPERTY( TextFormat textFormat READ textFormat WRITE setTextFormat )
@ -491,7 +491,7 @@ protected:
protected slots:
virtual void doChangeInterval();
void sliderReleased(); // ### make virtual in 4.0
#if (QT_VERSION &gt;= 0x040000)
#if (TQT_VERSION &gt;= 0x040000)
#error "Some functions need to be changed to virtual for TQt 4.0"
#endif
@ -624,7 +624,7 @@ private:
bool overWrite : 1;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTextEdit( const TQTextEdit &amp; );
TQTextEdit &amp;operator=( const TQTextEdit &amp; );
#endif

@ -226,7 +226,7 @@ private:
TQTextStream &amp;writeBlock( const TQChar* p, uint len );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTextStream( const TQTextStream &amp; );
TQTextStream &amp;operator=( const TQTextStream &amp; );
#endif
@ -244,7 +244,7 @@ public:
TQTextStream(f,IO_ReadOnly) { }
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTextIStream( const TQTextIStream &amp; );
TQTextIStream &amp;operator=( const TQTextIStream &amp; );
#endif
@ -260,7 +260,7 @@ public:
TQTextStream(f,IO_WriteOnly) { }
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTextOStream( const TQTextOStream &amp; );
TQTextOStream &amp;operator=( const TQTextOStream &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQTextView : public TQTextEdit
{
Q_OBJECT
TQ_OBJECT
Q_OVERRIDE( int undoDepth DESIGNABLE false SCRIPTABLE false )
Q_OVERRIDE( bool overwriteMode DESIGNABLE false SCRIPTABLE false )
Q_OVERRIDE( bool modified SCRIPTABLE false)
@ -100,7 +100,7 @@ public:
virtual ~TQTextView();
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQTextView( const TQTextView &amp; );
TQTextView &amp;operator=( const TQTextView &amp; );
#endif

@ -155,10 +155,10 @@ private:
TQThreadInstance * d;
friend class TQThreadInstance;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQThread( const TQThread &amp; );
TQThread &amp;operator=( const TQThread &amp; );
#endif // Q_DISABLE_COPY
#endif // TQ_DISABLE_COPY
};
#endif // QT_THREAD_SUPPORT

@ -101,11 +101,11 @@ class TQThreadStorage
private:
TQThreadStorageData d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
// disable copy constructor and operator=
TQThreadStorage( const TQThreadStorage &amp; );
TQThreadStorage &amp;operator=( const TQThreadStorage &amp; );
#endif // Q_DISABLE_COPY
#endif // TQ_DISABLE_COPY
static void deleteData( void *x ) { delete (T)x; }

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQTimer : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQTimer( TQObject *parent=0, const char *name=0 );
~TQTimer();
@ -111,7 +111,7 @@ private:
uint nulltimer : 1;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTimer( const TQTimer &amp; );
TQTimer &amp;operator=( const TQTimer &amp; );
#endif

@ -90,7 +90,7 @@ class TQToolBarPrivate;
class Q_EXPORT TQToolBar: public TQDockWindow
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString label READ label WRITE setLabel )
public:
@ -142,7 +142,7 @@ private:
friend class TQMainWindow;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQToolBar( const TQToolBar &amp; );
TQToolBar&amp; operator=( const TQToolBar &amp; );
#endif

@ -89,7 +89,7 @@ class TQWidgetList;
class Q_EXPORT TQToolBox : public TQFrame
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int currentIndex READ currentIndex WRITE setCurrentIndex )
Q_PROPERTY( int count READ count )

@ -92,7 +92,7 @@ class TQPopupMenu;
class Q_EXPORT TQToolButton : public TQButton
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( TextPosition )
Q_PROPERTY( TQIconSet iconSet READ iconSet WRITE setIconSet )
@ -185,7 +185,7 @@ protected:
// ### Make virtual in 4.0, maybe act like TQPushButton with
// regards to setFlat() instead? Andy
bool uses3D() const;
#if (QT_VERSION &gt;= 0x040000)
#if (TQT_VERSION &gt;= 0x040000)
#error "Some functions need to be changed to virtual for TQt 4.0"
#endif
@ -217,7 +217,7 @@ private:
uint hasArrow : 1;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQToolButton( const TQToolButton &amp; );
TQToolButton&amp; operator=( const TQToolButton &amp; );
#endif

@ -91,7 +91,7 @@ class TQListViewToolTip;
class Q_EXPORT TQToolTipGroup: public TQObject
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool delay READ delay WRITE setDelay )
Q_PROPERTY( bool enabled READ enabled WRITE setEnabled )
@ -117,7 +117,7 @@ private:
friend class TQTipManager;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQToolTipGroup( const TQToolTipGroup &amp; );
TQToolTipGroup&amp; operator=( const TQToolTipGroup &amp; );
#endif

@ -140,7 +140,7 @@ private:
class Q_EXPORT TQTranslator: public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQTranslator( TQObject * parent = 0, const char * name = 0 );
~TQTranslator();
@ -188,7 +188,7 @@ public:
bool isEmpty() const;
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQTranslator( const TQTranslator &amp; );
TQTranslator &amp;operator=( const TQTranslator &amp; );
#endif

@ -100,7 +100,7 @@ public:
TQUrlInfo();
TQUrlInfo( const TQUrlOperator &amp;path, const TQString &amp;file );
TQUrlInfo( const TQUrlInfo &amp;ui );
#if (QT_VERSION-0 &gt;= 0x040000)
#if (TQT_VERSION-0 &gt;= 0x040000)
#error "TQUrlInfo::TQUrlInfo() should accept TQIODevice::Offset instead of uint"
#elif defined(QT_ABI_QT4)
TQUrlInfo( const TQString &amp;name, int permissions, const TQString &amp;owner,
@ -130,7 +130,7 @@ public:
virtual void setSymLink( bool b );
virtual void setOwner( const TQString &amp;s );
virtual void setGroup( const TQString &amp;s );
#if (QT_VERSION-0 &gt;= 0x040000)
#if (TQT_VERSION-0 &gt;= 0x040000)
#error "TQUrlInfo::setSize() should accept TQIODevice::Offset instead of uint"
#elif defined(QT_ABI_QT4)
virtual void setSize( TQIODevice::Offset size );
@ -148,7 +148,7 @@ public:
int permissions() const;
TQString owner() const;
TQString group() const;
#if (QT_VERSION-0 &gt;= 0x040000)
#if (TQT_VERSION-0 &gt;= 0x040000)
#error "TQUrlInfo::size() should return TQIODevice::Offset instead of uint"
#elif defined(QT_ABI_QT4)
TQIODevice::Offset size() const;

@ -94,7 +94,7 @@ class Q_EXPORT TQUrlOperator : public TQObject, public TQUrl
{
friend class TQNetworkProtocol;
Q_OBJECT
TQ_OBJECT
public:
TQUrlOperator();

@ -88,7 +88,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQValidator : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQValidator( TQObject * parent, const char *name = 0 );
~TQValidator();
@ -99,7 +99,7 @@ public:
virtual void fixup( TQString &amp; ) const;
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQValidator( const TQValidator &amp; );
TQValidator&amp; operator=( const TQValidator &amp; );
#endif
@ -108,7 +108,7 @@ private:
class Q_EXPORT TQIntValidator : public TQValidator
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int bottom READ bottom WRITE setBottom )
Q_PROPERTY( int top READ top WRITE setTop )
@ -128,7 +128,7 @@ public:
int top() const { return t; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQIntValidator( const TQIntValidator &amp; );
TQIntValidator&amp; operator=( const TQIntValidator &amp; );
#endif
@ -140,7 +140,7 @@ private:
class Q_EXPORT TQDoubleValidator : public TQValidator
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( double bottom READ bottom WRITE setBottom )
Q_PROPERTY( double top READ top WRITE setTop )
Q_PROPERTY( int decimals READ decimals WRITE setDecimals )
@ -163,7 +163,7 @@ public:
int decimals() const { return d; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDoubleValidator( const TQDoubleValidator &amp; );
TQDoubleValidator&amp; operator=( const TQDoubleValidator &amp; );
#endif
@ -175,7 +175,7 @@ private:
class Q_EXPORT TQRegExpValidator : public TQValidator
{
Q_OBJECT
TQ_OBJECT
// Q_PROPERTY( TQRegExp regExp READ regExp WRITE setRegExp )
public:
@ -190,7 +190,7 @@ public:
const TQRegExp&amp; regExp() const { return r; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQRegExpValidator( const TQRegExpValidator&amp; );
TQRegExpValidator&amp; operator=( const TQRegExpValidator&amp; );
#endif

@ -474,7 +474,7 @@ public:
TQValueList( const std::list&lt;T&gt;&amp; l )
{
sh = new TQValueListPrivate&lt;T&gt;;
qCopy( l.begin(), l.end(), std::back_inserter( *this ) );
tqCopy( l.begin(), l.end(), std::back_inserter( *this ) );
}
#endif
~TQValueList() { sh-&gt;derefAndDelete(); }
@ -490,7 +490,7 @@ public:
TQValueList&lt;T&gt;&amp; operator= ( const std::list&lt;T&gt;&amp; l )
{
detach();
qCopy( l.begin(), l.end(), std::back_inserter( *this ) );
tqCopy( l.begin(), l.end(), std::back_inserter( *this ) );
return *this;
}
bool operator== ( const std::list&lt;T&gt;&amp; l ) const

@ -164,9 +164,9 @@ Q_INLINE_TEMPLATES TQValueVectorPrivate&lt;T&gt;::TQValueVectorPrivate( const TQ
finish = start + i;
end = start + i;
#if defined(__xlC__) &amp;&amp; __xlC__ &lt; 0x400 // xlC 3.6 confused by const
qCopy( (pointer)x.start, (pointer)x.finish, start );
tqCopy( (pointer)x.start, (pointer)x.finish, start );
#else
qCopy( x.start, x.finish, start );
tqCopy( x.start, x.finish, start );
#endif
} else {
start = 0;
@ -197,9 +197,9 @@ Q_INLINE_TEMPLATES void TQValueVectorPrivate&lt;T&gt;::insert( pointer pos, cons
const size_t offset = pos - start;
pointer newStart = new T[n];
pointer newFinish = newStart + offset;
qCopy( start, pos, newStart );
tqCopy( start, pos, newStart );
*newFinish = x;
qCopy( pos, finish, ++newFinish );
tqCopy( pos, finish, ++newFinish );
delete[] start;
start = newStart;
finish = newStart + lastSize + 1;
@ -214,31 +214,31 @@ Q_INLINE_TEMPLATES void TQValueVectorPrivate&lt;T&gt;::insert( pointer pos, size
const size_t elems_after = finish - pos;
pointer old_finish = finish;
if ( elems_after &gt; n ) {
qCopy( finish - n, finish, finish );
tqCopy( finish - n, finish, finish );
finish += n;
qCopyBackward( pos, old_finish - n, old_finish );
qFill( pos, pos + n, x );
tqCopyBackward( pos, old_finish - n, old_finish );
tqFill( pos, pos + n, x );
} else {
pointer filler = finish;
size_t i = n - elems_after;
for ( ; i &gt; 0; --i, ++filler )
*filler = x;
finish += n - elems_after;
qCopy( pos, old_finish, finish );
tqCopy( pos, old_finish, finish );
finish += elems_after;
qFill( pos, old_finish, x );
tqFill( pos, old_finish, x );
}
} else {
// not enough room
const size_t lastSize = size();
const size_t len = lastSize + TQMAX( lastSize, n );
pointer newStart = new T[len];
pointer newFinish = qCopy( start, pos, newStart );
pointer newFinish = tqCopy( start, pos, newStart );
// fill up inserted space
size_t i = n;
for ( ; i &gt; 0; --i, ++newFinish )
*newFinish = x;
newFinish = qCopy( pos, finish, newFinish );
newFinish = tqCopy( pos, finish, newFinish );
delete[] start;
start = newStart;
finish = newFinish;
@ -260,7 +260,7 @@ template &lt;class T&gt;
Q_INLINE_TEMPLATES Q_TYPENAME TQValueVectorPrivate&lt;T&gt;::pointer TQValueVectorPrivate&lt;T&gt;::growAndCopy( size_t n, pointer s, pointer f )
{
pointer newStart = new T[n];
qCopy( s, f, newStart );
tqCopy( s, f, newStart );
delete[] start;
return newStart;
}
@ -302,13 +302,13 @@ public:
TQValueVector( std::vector&lt;T&gt;&amp; v ) // ### remove in 4.0
{
sh = new TQValueVectorPrivate&lt;T&gt;( v.size() );
qCopy( v.begin(), v.end(), begin() );
tqCopy( v.begin(), v.end(), begin() );
}
TQValueVector( const std::vector&lt;T&gt;&amp; v )
{
sh = new TQValueVectorPrivate&lt;T&gt;( v.size() );
qCopy( v.begin(), v.end(), begin() );
tqCopy( v.begin(), v.end(), begin() );
}
#endif
@ -330,7 +330,7 @@ public:
{
clear();
resize( v.size() );
qCopy( v.begin(), v.end(), begin() );
tqCopy( v.begin(), v.end(), begin() );
return *this;
}
#endif
@ -475,7 +475,7 @@ public:
{
detach();
if ( pos + 1 != end() )
qCopy( pos + 1, sh-&gt;finish, pos );
tqCopy( pos + 1, sh-&gt;finish, pos );
--sh-&gt;finish;
return pos;
}
@ -483,7 +483,7 @@ public:
iterator erase( iterator first, iterator last )
{
detach();
qCopy( last, sh-&gt;finish, first );
tqCopy( last, sh-&gt;finish, first );
sh-&gt;finish = sh-&gt;finish - ( last - first );
return first;
}
@ -491,12 +491,12 @@ public:
// ### remove in TQt 4.0
bool operator==( const TQValueVector&lt;T&gt;&amp; x )
{
return size()==x.size() ? qEqual( constBegin(), constEnd(), x.begin()) : FALSE;
return size()==x.size() ? tqEqual( constBegin(), constEnd(), x.begin()) : FALSE;
}
bool operator==( const TQValueVector&lt;T&gt;&amp; x ) const
{
return size()==x.size() ? qEqual( begin(), end(), x.begin() ) : FALSE;
return size()==x.size() ? tqEqual( begin(), end(), x.begin() ) : FALSE;
}
typedef T ValueType;
@ -528,7 +528,7 @@ template &lt;class T&gt;
Q_INLINE_TEMPLATES TQValueVector&lt;T&gt;::TQValueVector( size_type n, const T&amp; val )
{
sh = new TQValueVectorPrivate&lt;T&gt;( n );
qFill( begin(), end(), val );
tqFill( begin(), end(), val );
}
template &lt;class T&gt;
@ -556,7 +556,7 @@ Q_INLINE_TEMPLATES Q_TYPENAME TQValueVector&lt;T&gt;::iterator TQValueVector&lt;
} else {
*sh-&gt;finish = *(sh-&gt;finish - 1);
++sh-&gt;finish;
qCopyBackward( pos, sh-&gt;finish - 2, sh-&gt;finish - 1 );
tqCopyBackward( pos, sh-&gt;finish - 2, sh-&gt;finish - 1 );
*pos = x;
}
}

@ -85,12 +85,12 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQVBox : public TQHBox
{
Q_OBJECT
TQ_OBJECT
public:
TQVBox( TQWidget* parent=0, const char* name=0, WFlags f=0 );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQVBox( const TQVBox &amp; );
TQVBox&amp; operator=( const TQVBox &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQVButtonGroup : public TQButtonGroup
{
Q_OBJECT
TQ_OBJECT
public:
TQVButtonGroup( TQWidget* parent=0, const char* name=0 );
TQVButtonGroup( const TQString &amp;title, TQWidget* parent=0, const char* name=0 );
@ -93,7 +93,7 @@ public:
~TQVButtonGroup();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQVButtonGroup( const TQVButtonGroup &amp; );
TQVButtonGroup &amp;operator=( const TQVButtonGroup &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT TQVGroupBox : public TQGroupBox
{
Q_OBJECT
TQ_OBJECT
public:
TQVGroupBox( TQWidget* parent=0, const char* name=0 );
TQVGroupBox( const TQString &amp;title, TQWidget* parent=0, const char* name=0 );
@ -93,7 +93,7 @@ public:
~TQVGroupBox();
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQVGroupBox( const TQVGroupBox &amp; );
TQVGroupBox &amp;operator=( const TQVGroupBox &amp; );
#endif

@ -104,7 +104,7 @@ public:
private:
TQWaitConditionPrivate * d;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQWaitCondition( const TQWaitCondition &amp; );
TQWaitCondition &amp;operator=( const TQWaitCondition &amp; );
#endif

@ -55,7 +55,7 @@ body { background: #ffffff; color: black; }
class Editor : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Editor( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name="qwerty" );
~Editor();
@ -135,7 +135,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
m = new <a href="ntqmenubar.html">TQMenuBar</a>( this, "menu" );
<a href="ntqpopupmenu.html">TQPopupMenu</a> * file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( file );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file );
<a name="x371"></a> m-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;New", this, SLOT(newDoc()), ALT+Key_N );
@ -160,7 +160,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
rebuildCodecList();
<a href="ntqpopupmenu.html">TQPopupMenu</a> * edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( edit );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit );
m-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Edit", edit );
edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Uppercase", this, SLOT(toUpper()), ALT+Key_U );

@ -98,7 +98,7 @@ class TQStyle;
class Q_EXPORT TQWidget : public TQObject, public TQPaintDevice
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( BackgroundMode FocusPolicy BackgroundOrigin )
Q_PROPERTY( bool isTopLevel READ isTopLevel )
Q_PROPERTY( bool isDialog READ isDialog )
@ -731,7 +731,7 @@ private:
friend class TQLayout;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQWidget( const TQWidget &amp; );
TQWidget &amp;operator=( const TQWidget &amp; );
#endif

@ -99,7 +99,7 @@ class TQWidget;
class Q_EXPORT TQWidgetPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQWidgetPlugin();
~TQWidgetPlugin();

@ -91,7 +91,7 @@ class TQWidgetStackPrivate;
class Q_EXPORT TQWidgetStack: public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
TQWidgetStack( TQWidget* parent=0, const char* name=0 );
TQWidgetStack( TQWidget* parent, const char* name, WFlags f);
@ -137,7 +137,7 @@ private:
TQWidget * invisible;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQWidgetStack( const TQWidgetStack &amp; );
TQWidgetStack&amp; operator=( const TQWidgetStack &amp; );
#endif

@ -216,7 +216,7 @@ const TQCOORD TQCOORD_MIN = -TQCOORD_MAX - 1;
typedef unsigned int TQRgb; // RGB triplet
Q_EXPORT const char *qAppName(); // get application name
Q_EXPORT const char *tqAppName(); // get application name
// Misc functions

@ -92,7 +92,7 @@ body { background: #ffffff; color: black; }
class Q_EXPORT_STYLE_WINDOWS TQWindowsStyle : public TQCommonStyle
{
Q_OBJECT
TQ_OBJECT
public:
TQWindowsStyle();
~TQWindowsStyle();
@ -160,7 +160,7 @@ private:
Private *d;
// Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQWindowsStyle( const TQWindowsStyle &amp; );
TQWindowsStyle&amp; operator=( const TQWindowsStyle &amp; );
#endif

@ -183,7 +183,7 @@ class TQWSSoundServer;
class TQWSSoundServerData;
class TQWSSoundServer : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
TQWSSoundServer(TQObject* parent);
~TQWSSoundServer();
@ -222,7 +222,7 @@ class TQWSServer : public TQObject
friend class TQWSWindow;
friend class TQWSDisplay;
friend class TQWSInputMethod;
Q_OBJECT
TQ_OBJECT
public:
TQWSServer( int flags = 0, TQObject *parent=0, const char *name=0 );
@ -568,7 +568,7 @@ typedef TQMap&lt;int, TQWSCursor*&gt; TQWSCursorMap;
class TQWSClient : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQWSClient( TQObject* parent, int socket, int id );
~TQWSClient();

@ -89,7 +89,7 @@ class TQWizardPrivate;
class Q_EXPORT TQWizard : public TQDialog
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQFont titleFont READ titleFont WRITE setTitleFont )
public:
@ -167,7 +167,7 @@ private:
TQWizardPrivate *d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQWizard( const TQWizard &amp; );
TQWizard&amp; operator=( const TQWizard &amp; );
#endif

@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }
#ifndef QT_NO_WORKSPACE
#if !defined( QT_MODULE_WORKSPACE ) || defined( QT_INTERNAL_WORKSPACE )
#if !defined( TQT_MODULE_WORKSPACE ) || defined( QT_INTERNAL_WORKSPACE )
#define TQM_EXPORT_WORKSPACE
#else
#define TQM_EXPORT_WORKSPACE Q_EXPORT
@ -98,7 +98,7 @@ class TQDockWindow;
class TQM_EXPORT_WORKSPACE TQWorkspace : public TQWidget
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool scrollBarsEnabled READ scrollBarsEnabled WRITE setScrollBarsEnabled )
#ifdef QT_WORKSPACE_WINDOWMODE
@ -193,7 +193,7 @@ private:
friend class TQWorkspaceChild;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQWorkspace( const TQWorkspace &amp; );
TQWorkspace&amp; operator=( const TQWorkspace &amp; );
#endif

@ -85,7 +85,7 @@ body { background: #ffffff; color: black; }
#include "ntqvaluevector.h"
#endif // QT_H
#if !defined(QT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#define TQM_EXPORT_XML
#else
#define TQM_EXPORT_XML Q_EXPORT

@ -70,7 +70,7 @@ body { background: #ffffff; color: black; }
class TQXtWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
Widget xtw;
Widget xtparent;
bool need_reroot;

@ -56,7 +56,7 @@ class TQCheckBox;
class RangeControls : public <a href="ntqvbox.html">TQVBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
RangeControls( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -59,7 +59,7 @@ class TQTable;
class RegexpTester : public <a href="ntqdialog.html">TQDialog</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
RegexpTester(TQWidget* parent=0, const char* name=0, bool modal=false,

@ -58,7 +58,7 @@ class TQPushButton;
class MyRichText : public <a href="ntqvbox.html">TQVBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MyRichText( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -60,7 +60,7 @@ the rot13 algorithm.
class TQMultiLineEdit;
class Rot13: public <a href="ntqwidget.html">TQWidget</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Rot13();

@ -66,7 +66,7 @@ class TQSpinBox;
class Canvas : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Canvas( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );
@ -105,7 +105,7 @@ protected:
class Scribble : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
Q_OBJECT
TQ_OBJECT
public:
Scribble( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -72,7 +72,7 @@ static const int max_mw = 10;
class BigShrinker : public <a href="ntqframe.html">TQFrame</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
BigShrinker(TQWidget* parent) :
<a href="ntqframe.html">TQFrame</a>(parent)
@ -235,22 +235,22 @@ private:
};
class ScrollViewExample : public <a href="ntqwidget.html">TQWidget</a> {
Q_OBJECT
TQ_OBJECT
public:
ScrollViewExample(int technique, TQWidget* parent=0, const char* name=0) :
<a href="ntqwidget.html">TQWidget</a>(parent,name)
{
<a href="ntqmenubar.html">TQMenuBar</a>* menubar = new <a href="ntqmenubar.html">TQMenuBar</a>(this);
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( menubar );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menubar );
<a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( file );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file );
<a name="x634"></a> menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
vp_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( vp_options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( vp_options );
<a name="x644"></a> vp_options-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;ScrollView", vp_options );
<a name="x642"></a> connect( vp_options, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)),
@ -288,7 +288,7 @@ public:
}
f_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( f_options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( f_options );
f_options-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "F&amp;rame", f_options );
connect( f_options, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)),
@ -305,7 +305,7 @@ public:
f_options-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Sunken", style_id|TQFrame::Sunken ));
f_options-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
lw_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( lw_options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( lw_options );
lw_options-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
for (int lw = 1; lw &lt;= max_lw; lw++) {
<a href="ntqstring.html">TQString</a> str;
@ -316,7 +316,7 @@ public:
connect( lw_options, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)),
this, SLOT(doFMenuItem(int)) );
mlw_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( mlw_options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mlw_options );
mlw_options-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
for (int mlw = 0; mlw &lt;= max_mlw; mlw++) {
<a href="ntqstring.html">TQString</a> str;
@ -327,7 +327,7 @@ public:
connect( mlw_options, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)),
this, SLOT(doFMenuItem(int)) );
mw_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( mw_options );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mw_options );
mw_options-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
for (int mw = 0; mw &lt;= max_mw; mw++) {
<a href="ntqstring.html">TQString</a> str;

@ -60,7 +60,7 @@ class TQPopupMenu;
class ImageViewer : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ImageViewer( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0, int wFlags=0 );
~ImageViewer();

@ -109,7 +109,7 @@ mechanism.
<p> <pre>
class Foo : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Foo();
int value() const { return val; }
@ -127,7 +127,7 @@ state, but in addition it has support for component programming using
signals and slots: this class can tell the outside world that its state
has changed by emitting a signal, <tt>valueChanged()</tt>, and it has
a slot which other objects can send signals to.
<p> All classes that contain signals or slots must mention Q_OBJECT in
<p> All classes that contain signals or slots must mention TQ_OBJECT in
their declaration.
<p> Slots are implemented by the application programmer.
Here is a possible implementation of Foo::setValue():
@ -283,10 +283,10 @@ knowledge, via <a href="ntqframe.html">TQFrame</a> and <a href="ntqwidget.html">
declarations.
<p> <pre>
{
Q_OBJECT
TQ_OBJECT
</pre>
<p> Q_OBJECT is expanded by the preprocessor to declare several member
<p> TQ_OBJECT is expanded by the preprocessor to declare several member
functions that are implemented by the moc; if you get compiler errors
along the lines of "virtual function TQButton::className not defined"
you have probably forgotten to <a href="moc.html">run the moc</a> or to

@ -59,7 +59,7 @@ class TQTextEdit;
class ApplicationWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ApplicationWindow();

@ -61,7 +61,7 @@ class TQTextEdit;
class ApplicationWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
ApplicationWindow();

@ -51,7 +51,7 @@ class TQPushButton;
class Viewer : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Viewer();

@ -61,7 +61,7 @@ class TQDragDropEvent;
class DDListBox : public <a href="ntqlistbox.html">TQListBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
DDListBox( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 );
// Low-level drag and drop
@ -89,7 +89,7 @@ public:
class DDIconView : public <a href="ntqiconview.html">TQIconView</a>
{
Q_OBJECT
TQ_OBJECT
public:
DDIconView( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ) :
<a href="ntqiconview.html">TQIconView</a>( parent, name, f ) {}

@ -53,7 +53,7 @@ if your machine is set up to play audio.
#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
class SoundPlayer : public <a href="ntqmainwindow.html">TQMainWindow</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
SoundPlayer();

@ -56,7 +56,7 @@ body { background: #ffffff; color: black; }
class CustomEdit : public <a href="ntqlineedit.html">TQLineEdit</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine )
public:
CustomEdit( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -71,7 +71,7 @@ class CustomEdit : public <a href="ntqlineedit.html">TQLineEdit</a>
class FormDialog : public <a href="ntqdialog.html">TQDialog</a>
{
Q_OBJECT
TQ_OBJECT
public:
FormDialog();
~FormDialog();

@ -55,7 +55,7 @@ body { background: #ffffff; color: black; }
class FormDialog : public <a href="ntqdialog.html">TQDialog</a>
{
Q_OBJECT
TQ_OBJECT
public:
FormDialog();
~FormDialog();

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -66,7 +66,7 @@ class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a>
class CustomSqlEditorFactory : public <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>
{
Q_OBJECT
TQ_OBJECT
public:
<a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field );
};

@ -55,7 +55,7 @@ body { background: #ffffff; color: black; }
class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -68,7 +68,7 @@ private:
class CustomTable : public <a href="ntqdatatable.html">TQDataTable</a>
{
Q_OBJECT
TQ_OBJECT
public:
CustomTable(
<a href="ntqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE,
@ -82,7 +82,7 @@ public:
class CustomSqlEditorFactory : public <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>
{
Q_OBJECT
TQ_OBJECT
public:
<a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field );
};

@ -1117,7 +1117,7 @@ differences.
<pre> class FormDialog : public <a href="ntqdialog.html">TQDialog</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
FormDialog();
~FormDialog();
@ -1216,7 +1216,7 @@ we will only cover the differences here. The full source is in <a href="sql-over
<pre> class CustomEdit : public <a href="ntqlineedit.html">TQLineEdit</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine )
public:
CustomEdit( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -1297,7 +1297,7 @@ can use a custom editor.
<pre> class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a>
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
@ -1314,7 +1314,7 @@ from the combobox's indexes so we create a <a href="ntqmap.html">TQMap</a> to ma
to/from the statusids that we will list in the combobox.
<p> <pre> class CustomSqlEditorFactory : public <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>
{
Q_OBJECT
TQ_OBJECT
public:
<a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field );
};
@ -1376,7 +1376,7 @@ to subclass TQDataTable and reimplement the paintField() function.
<pre> class CustomTable : public <a href="ntqdatatable.html">TQDataTable</a>
{
Q_OBJECT
TQ_OBJECT
public:
CustomTable(
<a href="ntqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE,

@ -74,7 +74,7 @@ private:
class Table : public <a href="ntqtable.html">TQTable</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Table();

@ -46,7 +46,7 @@ body { background: #ffffff; color: black; }
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -48,7 +48,7 @@ class TQSlider;
class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -179,7 +179,7 @@ TQRect <a name="f65"></a>CannonField::shotRect() const
double y = y0 + vely*time - 0.5*gravity*time*time;
<a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}

@ -49,7 +49,7 @@ class TQTimer;
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -48,7 +48,7 @@ class TQSlider;
class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -214,7 +214,7 @@ TQRect <a name="f84"></a>CannonField::shotRect() const
double y = y0 + vely*time - 0.5*gravity*time*time;
<a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}

@ -49,7 +49,7 @@ class TQTimer;
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -49,7 +49,7 @@ class TQLabel;
class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
LCDRange( const char *s, TQWidget *parent=0,

@ -240,7 +240,7 @@ TQRect <a name="f106"></a>CannonField::shotRect() const
double y = y0 + vely*time - 0.5*gravity*time*time;
<a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}

@ -49,7 +49,7 @@ class TQTimer;
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -54,7 +54,7 @@ class CannonField;
class GameBoard : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
GameBoard( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -49,7 +49,7 @@ class TQLabel;
class LCDRange : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
LCDRange( const char *s, TQWidget *parent=0, const char *name=0 );

@ -180,7 +180,7 @@ void CannonField::<a href="ntqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a
if ( pnt.<a href="ntqpoint.html#y">y</a>() &gt;= <a href="ntqwidget.html#height">height</a>() )
pnt.<a href="ntqpoint.html#setY">setY</a>( <a href="ntqwidget.html#height">height</a>() - 1 );
double rad = atan(((double)<a href="ntqwidget.html#rect">rect</a>().bottom()-pnt.<a href="ntqpoint.html#y">y</a>())/pnt.<a href="ntqpoint.html#x">x</a>());
setAngle( qRound ( rad*180/3.14159265 ) );
setAngle( tqRound ( rad*180/3.14159265 ) );
}
@ -279,7 +279,7 @@ TQRect <a name="f134"></a>CannonField::shotRect() const
double y = y0 + vely*time - 0.5*gravity*time*time;
<a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}

@ -49,7 +49,7 @@ class TQTimer;
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -54,7 +54,7 @@ class CannonField;
class GameBoard : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
GameBoard( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -49,7 +49,7 @@ class TQLabel;
class LCDRange : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
LCDRange( const char *s, TQWidget *parent=0, const char *name=0 );

@ -48,7 +48,7 @@ class TQSlider;
class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -46,7 +46,7 @@ body { background: #ffffff; color: black; }
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -48,7 +48,7 @@ class TQSlider;
class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -46,7 +46,7 @@ body { background: #ffffff; color: black; }
class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -48,7 +48,7 @@ class TQSlider;
class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
Q_OBJECT
TQ_OBJECT
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -58,7 +58,7 @@ file separated onto different tabs.
class TabDialog : public <a href="ntqtabdialog.html">TQTabDialog</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
TabDialog( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name, const <a href="ntqstring.html">TQString</a> &amp;_filename );

@ -63,7 +63,7 @@ beginning, without even having to think about design patterns.
beyond the compiled language's facilities. It does so by generating
additional C++ code which can be compiled by any standard C++ compiler.
The <tt>moc</tt> reads C++ source files. If it finds one or more class
declarations that contain the "Q_OBJECT" macro, it produces another C++
declarations that contain the "TQ_OBJECT" macro, it produces another C++
source file which contains the meta object code for those classes. The
C++ source file generated by the <tt>moc</tt> must be compiled and
linked with the implementation of the class (or it can be

@ -2141,7 +2141,7 @@ class TQTabWidget;
class Themes: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Themes( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = WType_TopLevel );

@ -67,7 +67,7 @@ class TQLabel;
class TicTacButton : public <a href="ntqpushbutton.html">TQPushButton</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
TicTacButton( <a href="ntqwidget.html">TQWidget</a> *parent );
enum Type { Blank, Circle, Cross };
@ -98,7 +98,7 @@ typedef TQMemArray&lt;int&gt; TicTacArray;
class TicTacGameBoard : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
TicTacGameBoard( int n, TQWidget *parent=0, const char *name=0 );
~TicTacGameBoard();
@ -131,7 +131,7 @@ private:
class TicTacToe : public <a href="ntqwidget.html">TQWidget</a>
{
Q_OBJECT
TQ_OBJECT
public:
TicTacToe( int boardSize=3, TQWidget *parent=0, const char *name=0 );
private slots:

@ -89,7 +89,7 @@ single-threaded application without blocking the user interface.
class Mandelbrot : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> // required for signals/slots
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> // required for signals/slots
public:
Mandelbrot( <a href="ntqobject.html">TQObject</a> *parent=0, const char *name );
...

@ -66,7 +66,7 @@ protected:
class TellMe : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
TellMe( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 );
~TellMe();

@ -50,7 +50,7 @@ Implementation:
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
class Trivial : public <a href="qnpwidget.html">TQNPWidget</a> {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
void mouseReleaseEvent(TQMouseEvent* event)
{
@ -68,7 +68,7 @@ public:
};
class TrivialInstance : public <a href="qnpinstance.html">TQNPInstance</a> {
Q_OBJECT
TQ_OBJECT
public:
<a href="qnpwidget.html">TQNPWidget</a>* newWindow()
{

@ -75,11 +75,11 @@ header file has changed, fewer files need to be recompiled. It can
often speed up big compilations by a factor of two or more.
<p> <pre> class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
</pre>
<p> Note the Q_OBJECT. This macro must be included in <em>all</em> classes that
<p> Note the TQ_OBJECT. This macro must be included in <em>all</em> classes that
contain signals and/or slots. If you are curious, it defines the
functions that are implemented in the
<a href="metaobjects.html">meta object file</a>.

@ -88,7 +88,7 @@ function using <a href="ntqapplication.html#qInstallMsgHandler">::qInstallMsgHan
<p> <pre> class CannonField : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
CannonField( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
</pre>

@ -185,7 +185,7 @@ the paintEvent() from the previous chapter.
double y = y0 + vely*time - 0.5*gravity*time*time;
<a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 );
<a name="x2371"></a> r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
<a name="x2371"></a> r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}
</pre>
@ -201,8 +201,8 @@ point, we construct a <a href="ntqrect.html">TQRect</a> with size 6x6 and move i
the point calculated above. In the same operation we convert the
point into the widget's coordinate system (see <a href="coordsys.html">The
Coordinate System</a>).
<p> The qRound() function is an inline function defined in ntqglobal.h (included
by all other TQt header files). qRound() rounds a double to the closest
<p> The tqRound() function is an inline function defined in ntqglobal.h (included
by all other TQt header files). tqRound() rounds a double to the closest
integer.
<p> <h3> <a href="t11-main-cpp.html">t11/main.cpp</a>
</h3>

@ -59,7 +59,7 @@ implementation.
definition.
<p> <pre> class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
LCDRange( const char *s, TQWidget *parent=0,

@ -224,7 +224,7 @@ which was last seen as MyWidget.
class GameBoard : public <a href="ntqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
GameBoard( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );

@ -121,7 +121,7 @@ coordinate system.
<a name="x2425"></a> if ( pnt.<a href="ntqpoint.html#y">y</a>() &gt;= <a href="ntqwidget.html#height">height</a>() )
<a name="x2423"></a> pnt.<a href="ntqpoint.html#setY">setY</a>( <a href="ntqwidget.html#height">height</a>() - 1 );
double rad = atan(((double)<a href="ntqwidget.html#rect">rect</a>().bottom()-pnt.<a href="ntqpoint.html#y">y</a>())/pnt.<a href="ntqpoint.html#x">x</a>());
setAngle( qRound ( rad*180/3.14159265 ) );
setAngle( tqRound ( rad*180/3.14159265 ) );
}
</pre>
<p> This is another TQt event handler. It is called when the user already

@ -42,7 +42,7 @@ conventional document-centric style.
<pre> class ChartForm: public <a href="ntqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
enum { MAX_ELEMENTS = 100 };
enum { MAX_RECENTFILES = 9 }; // Must not exceed 9
@ -110,7 +110,7 @@ conventional document-centric style.
};
</pre>
<p> We create a <tt>ChartForm</tt> subclass of <a href="ntqmainwindow.html">TQMainWindow</a>. Our subclass uses
the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro to support TQt's <a href="signalsandslots.html">signals and slots</a> mechanism.
the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro to support TQt's <a href="signalsandslots.html">signals and slots</a> mechanism.
<p> The public interface is very small; the type of chart being displayed
can be retrieved, the chart can be marked 'changed' (so that the user
will be prompted to save on exit), and the chart can be asked to draw

@ -237,7 +237,7 @@ with this text item, and provided a getter and setter for this value.
<pre> class CanvasView : public <a href="qcanvasview.html">TQCanvasView</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
CanvasView( <a href="ntqcanvas.html">TQCanvas</a> *canvas, ElementVector *elements,
<a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = "canvas view",

@ -42,7 +42,7 @@ enter label text and choose a label color for each label.
<pre> class SetDataForm: public <a href="ntqdialog.html">TQDialog</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
SetDataForm( ElementVector *elements, int decimalPlaces,
<a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = "set data form",

@ -41,7 +41,7 @@ apply to all data sets in one place.
<pre> class OptionsForm : public <a href="ntqdialog.html">TQDialog</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
OptionsForm( <a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = "options form",
bool modal = FALSE, WFlags f = 0 );

@ -59,7 +59,7 @@ class TQLabel;
class Wizard : public <a href="ntqwizard.html">TQWizard</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
Wizard( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -54,7 +54,7 @@ class TQLabel;
class Wizard : public <a href="ntqwizard.html">TQWizard</a>
{
Q_OBJECT
TQ_OBJECT
public:
Wizard( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );

@ -79,7 +79,7 @@ public:
class XFormControl : public <a href="ntqvbox.html">TQVBox</a>, public ModeNames
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
XFormControl( const <a href="ntqfont.html">TQFont</a> &amp;initialFont, TQWidget *parent=0, const char *name=0 );
~XFormControl() {}
@ -123,7 +123,7 @@ private:
class ShowXForm : public <a href="ntqwidget.html">TQWidget</a>, public ModeNames
{
Q_OBJECT
TQ_OBJECT
public:
ShowXForm( const <a href="ntqfont.html">TQFont</a> &amp;f, TQWidget *parent=0, const char *name=0 );
~ShowXForm() {}
@ -474,7 +474,7 @@ void <a name="f394"></a>ShowXForm::showIt()
class XFormCenter : public <a href="ntqhbox.html">TQHBox</a>, public ModeNames
{
Q_OBJECT
TQ_OBJECT
public:
XFormCenter( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
public slots:

@ -154,10 +154,10 @@
The 'Add MOC' button will add in the custom build step for the selected file
so that it creates any needed MOC files and it will add these generated
files to the project. All you need to do to use it is click on a file that
has \c Q_OBJECT and click the button.
has \c TQ_OBJECT and click the button.
You only need to use this button if you added a file that has \c
Q_OBJECT in it by hand, you don't need to use this if you used any
TQ_OBJECT in it by hand, you don't need to use this if you used any
of the previously mentioned buttons. It can also be invoked by using
the Ctrl+Shift+M key combination in Visual Studio.

@ -116,7 +116,7 @@ like this:
.in +4
.nf
class YourClass : public QObject {
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( ... )
Q_CLASSINFO( ... )
@ -215,7 +215,7 @@ example:
.in +4
.nf
class SomeTemplate<int> : public QFrame {
Q_OBJECT
TQ_OBJECT
....
signals:
void bugInMocDetected( int );
@ -255,7 +255,7 @@ better alternative. Here is an example of illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
...
public slots:
// illegal
@ -271,7 +271,7 @@ You can work around this restriction like this:
typedef void (*ApplyFunctionType)( List *, void * );
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
...
public slots:
void apply( ApplyFunctionType, char * );
@ -296,7 +296,7 @@ sections instead. Here is an example of the illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
...
signals:
friend class ClassTemplate<char>; // illegal
@ -358,7 +358,7 @@ Here's an example:
.in +4
.nf
class A {
Q_OBJECT
TQ_OBJECT
public:
class B {
public slots: // illegal
@ -389,7 +389,7 @@ sections, where they belong. Here is an example of the illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
public slots:
SomeClass( QObject *parent, const char *name )
: QObject( parent, name ) {} // illegal
@ -410,7 +410,7 @@ illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
public:
...
// illegal
@ -425,12 +425,12 @@ public:
.in -4
.PP
Work around this limitation by declaring all properties at the
beginning of the class declaration, right after Q_OBJECT:
beginning of the class declaration, right after TQ_OBJECT:
.PP
.in +4
.nf
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:

@ -409,7 +409,7 @@ Inherits QObject.
.BI "void \fBQ_ASSERT\fR ( bool test )"
.br
.ti -1c
.BI "void \fBQ_CHECK_PTR\fR ( void * p )"
.BI "void \fBTQ_CHECK_PTR\fR ( void * p )"
.br
.ti -1c
.BI "QtMsgHandler \fBqInstallMsgHandler\fR ( QtMsgHandler h )"
@ -1705,7 +1705,7 @@ If \fCb\fR is zero, the Q_ASSERT statement will output the following message usi
.fi
.PP
See also qWarning() and Debugging.
.SH "void Q_CHECK_PTR ( void * p )"
.SH "void TQ_CHECK_PTR ( void * p )"
If \fIp\fR is 0, prints a warning message containing the source code file name and line number, saying that the program ran out of memory.
.PP
This is really a macro defined in ntqglobal.h.
@ -1717,12 +1717,12 @@ Example:
int *a;
.br
.br
Q_CHECK_PTR( a = new int[80] ); // WRONG!
TQ_CHECK_PTR( a = new int[80] ); // WRONG!
.br
.br
a = new (nothrow) int[80]; // Right
.br
Q_CHECK_PTR( a );
TQ_CHECK_PTR( a );
.br
.fi
.PP
@ -1934,7 +1934,7 @@ This function does nothing when Qt is built with \fCQT_NO_DEBUG\fR defined.
.SH "const char * qVersion ()"
Returns the Qt version number as a string, for example, "2.3.0" or" 3.0.5".
.PP
The \fCQT_VERSION\fR define has the numeric value in the form: 0xmmiibb (m = major, i = minor, b = bugfix). For example, Qt 3.0.5's \fCQT_VERSION\fR is 0x030005.
The \fCTQT_VERSION\fR define has the numeric value in the form: 0xmmiibb (m = major, i = minor, b = bugfix). For example, Qt 3.0.5's \fCTQT_VERSION\fR is 0x030005.
.SH "void qWarning ( const char * msg, ... )"
Prints a warning message \fImsg\fR, or calls the message handler (if it has been installed).
.PP

@ -56,7 +56,7 @@ The functions provided by this class allow an ActiveX control to communicate pro
.br
{
.br
Q_OBJECT
TQ_OBJECT
.br
Q_PROPERTY( int value READ value WRITE setValue )
.br

@ -53,7 +53,7 @@ A QAxObject can be instantiated as an empty object, with the name of the COM obj
.PP
QAxObject is a QObject and can be used as such, e.g. it can be organized in an object hierarchy, receive events and connect to signals and slots.
.PP
\fBWarning:\fR You can subclass QAxObject, but you cannot use the Q_OBJECT macro in the subclass (the generated moc-file will not compile), so you cannot add further signals, slots or properties. This limitation is due to the metaobject information generated in runtime. To work around this problem, aggregate the QAxObject as a member of the QObject subclass.
\fBWarning:\fR You can subclass QAxObject, but you cannot use the TQ_OBJECT macro in the subclass (the generated moc-file will not compile), so you cannot add further signals, slots or properties. This limitation is due to the metaobject information generated in runtime. To work around this problem, aggregate the QAxObject as a member of the QObject subclass.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QAxObject::QAxObject ( QObject * parent = 0, const char * name = 0 )"

@ -60,7 +60,7 @@ A QAxWidget can be instantiated as an empty object, with the name of the ActiveX
.PP
QAxWidget is a QWidget and can be used as such, e.g. it can be organized in a widget hierarchy, receive events or act as an event filter. Standard widget properties, e.g. enabled are supported, but it depends on the ActiveX control to implement support for ambient properties like e.g. palette or font. QAxWidget tries to provide the necessary hints.
.PP
\fBWarning:\fR You can subclass QAxWidget, but you cannot use the Q_OBJECT macro in the subclass (the generated moc-file will not compile), so you cannot add further signals, slots or properties. This limitation is due to the metaobject information generated in runtime. To work around this problem, aggregate the QAxWidget as a member of the QObject subclass.
\fBWarning:\fR You can subclass QAxWidget, but you cannot use the TQ_OBJECT macro in the subclass (the generated moc-file will not compile), so you cannot add further signals, slots or properties. This limitation is due to the metaobject information generated in runtime. To work around this problem, aggregate the QAxWidget as a member of the QObject subclass.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QAxWidget::QAxWidget ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )"

@ -56,18 +56,18 @@ Constructs a QByteArray of size \fIsize\fR.
.SH "QByteArray qCompress ( const QByteArray & data )"
Compresses the array \fIdata\fR and returns the compressed byte array using zlib.
.PP
See also qUncompress().
See also tqUncompress().
.SH "QByteArray qCompress ( const uchar * data, int nbytes )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Compresses the array \fIdata\fR which is \fInbytes\fR long and returns the compressed byte array.
.SH "QByteArray qUncompress ( const QByteArray & data )"
.SH "QByteArray tqUncompress ( const QByteArray & data )"
Uncompresses the array \fIdata\fR and returns the uncompressed byte array.
.PP
Returns an empty QByteArray if the input data was corrupt.
.PP
See also qCompress().
.SH "QByteArray qUncompress ( const uchar * data, int nbytes )"
.SH "QByteArray tqUncompress ( const uchar * data, int nbytes )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Uncompresses the array \fIdata\fR which is \fInbytes\fR long and returns

@ -1054,7 +1054,7 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0.
.PP
Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both).
.PP
See also qstrncmp(), qstricmp(), qstrnicmp(), and Note on character comparisons.
See also tqstrncmp(), qstricmp(), qstrnicmp(), and Note on character comparisons.
.SH "char * qstrcpy ( char * dst, const char * src )"
A safe strcpy() function.
.PP
@ -1076,12 +1076,12 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0.
.PP
Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both).
.PP
See also qstrcmp(), qstrncmp(), qstrnicmp(), and Note on character comparisons.
.SH "uint qstrlen ( const char * str )"
See also qstrcmp(), tqstrncmp(), qstrnicmp(), and Note on character comparisons.
.SH "uint tqstrlen ( const char * str )"
A safe strlen function.
.PP
Returns the number of characters that precede the terminating '&#92;0'. or 0 if \fIstr\fR is 0.
.SH "int qstrncmp ( const char * str1, const char * str2, uint len )"
.SH "int tqstrncmp ( const char * str1, const char * str2, uint len )"
A safe strncmp() function.
.PP
Compares at most \fIlen\fR bytes of \fIstr1\fR and \fIstr2\fR.
@ -1110,7 +1110,7 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0.
.PP
Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both).
.PP
See also qstrcmp(), qstrncmp(), qstricmp(), and Note on character comparisons.
See also qstrcmp(), tqstrncmp(), qstricmp(), and Note on character comparisons.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqcstring.html

@ -372,7 +372,7 @@ Example:
.br
f.open( IO_WriteOnly, stderr );
.br
f.writeBlock( msg, qstrlen(msg) ); // write to stderr
f.writeBlock( msg, tqstrlen(msg) ); // write to stderr
.br
f.close();
.br

@ -157,7 +157,7 @@ Here is a rough outline of how a QGLWidget subclass might look:
.br
{
.br
Q_OBJECT // must include this if you use Qt signals/slots
TQ_OBJECT // must include this if you use Qt signals/slots
.br
.br
public:

@ -209,7 +209,7 @@ QObjects can receive events through event() and filter the events of other objec
.PP
Last but not least, QObject provides the basic timer support in Qt; see QTimer for high-level support for timers.
.PP
Notice that the Q_OBJECT macro is mandatory for any object that implements signals, slots or properties. You also need to run the moc program (Meta Object Compiler) on the source file. We strongly recommend the use of this macro in \fIall\fR subclasses of QObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit undefined behaviour.
Notice that the TQ_OBJECT macro is mandatory for any object that implements signals, slots or properties. You also need to run the moc program (Meta Object Compiler) on the source file. We strongly recommend the use of this macro in \fIall\fR subclasses of QObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit undefined behaviour.
.PP
All Qt widgets inherit QObject. The convenience function isWidgetType() returns whether an object is actually a widget. It is much faster than inherits( "QWidget" ).
.PP
@ -290,7 +290,7 @@ Returns the class name of this object.
.PP
This function is generated by the Meta Object Compiler.
.PP
\fBWarning:\fR This function will return the wrong name if the class definition lacks the Q_OBJECT macro.
\fBWarning:\fR This function will return the wrong name if the class definition lacks the TQ_OBJECT macro.
.PP
See also name, inherits(), isA(), and isWidgetType().
.PP
@ -322,7 +322,7 @@ A signal can also be connected to another signal:
.br
{
.br
Q_OBJECT
TQ_OBJECT
.br
public:
.br
@ -741,7 +741,7 @@ See also timerEvent(), startTimer(), and killTimer().
.SH "QMetaObject * QObject::metaObject () const\fC [virtual]\fR"
Returns a pointer to the meta object of this object.
.PP
A meta object contains information about a class that inherits QObject, e.g. class name, superclass name, properties, signals and slots. Every class that contains the Q_OBJECT macro will also have a meta object.
A meta object contains information about a class that inherits QObject, e.g. class name, superclass name, properties, signals and slots. Every class that contains the TQ_OBJECT macro will also have a meta object.
.PP
The meta object information is required by the signal/slot connection mechanism and the property system. The functions isA() and inherits() also make use of the meta object.
.SH "const char * QObject::name () const"
@ -870,7 +870,7 @@ Example:
.br
{
.br
Q_OBJECT
TQ_OBJECT
.br
public:
.br
@ -924,7 +924,7 @@ See also startTimer(), killTimer(), killTimers(), and event().
Examples:
.)l biff/biff.cpp, dclock/dclock.cpp, forever/forever.cpp, grapher/grapher.cpp, qmag/qmag.cpp, and xform/xform.cpp.
.SH "QString QObject::tr ( const char * sourceText, const char * comment )\fC [static]\fR"
Returns a translated version of \fIsourceText\fR, or \fIsourceText\fR itself if there is no appropriate translated version. The translation context is QObject with \fIcomment\fR (0 by default). All QObject subclasses using the Q_OBJECT macro automatically have a reimplementation of this function with the subclass name as context.
Returns a translated version of \fIsourceText\fR, or \fIsourceText\fR itself if there is no appropriate translated version. The translation context is QObject with \fIcomment\fR (0 by default). All QObject subclasses using the TQ_OBJECT macro automatically have a reimplementation of this function with the subclass name as context.
.PP
\fBWarning:\fR This method is reentrant only if all translators are installed \fIbefore\fR calling this method. Installing or removing translators while performing translations is not supported. Doing so will probably result in crashes or other undesirable behavior.
.PP

@ -224,7 +224,7 @@ For example, these functions could be changed so that the user provided values f
.br
{
.br
Q_OBJECT
TQ_OBJECT
.br
public:
.br

@ -333,7 +333,7 @@ Notice that the latest changes to Mary's salary did not affect the value in the
.PP
There are several ways to find items in the list. The begin() and end() functions return iterators to the beginning and end of the list. The advantage of getting an iterator is that you can move forward or backward from this position by incrementing/decrementing the iterator. The iterator returned by end() points to the item which is one \fIpast\fR the last item in the container. The past-the-end iterator is still associated with the list it belongs to, however it is \fInot\fR dereferenceable; operator*() will not return a well-defined value. If the list is empty(), the iterator returned by begin() will equal the iterator returned by end().
.PP
Another way to find an item in the list is by using the qFind() algorithm. For example:
Another way to find an item in the list is by using the tqFind() algorithm. For example:
.PP
.nf
.br
@ -341,7 +341,7 @@ Another way to find an item in the list is by using the qFind() algorithm. For e
.br
...
.br
QValueList<int>::iterator it = qFind( list.begin(), list.end(), 3 );
QValueList<int>::iterator it = tqFind( list.begin(), list.end(), 3 );
.br
if ( it != list.end() )
.br

@ -337,7 +337,7 @@ Whenever inserting, removing or referencing elements in a vector, always make su
.PP
The iterators provided by vector are random access iterators, therefore you can use them with many generic algorithms, for example, algorithms provided by the STL or the QTL.
.PP
Another way to find an element in the vector is by using the std::find() or qFind() algorithms. For example:
Another way to find an element in the vector is by using the std::find() or tqFind() algorithms. For example:
.PP
.nf
.br
@ -345,7 +345,7 @@ Another way to find an element in the vector is by using the std::find() or qFin
.br
...
.br
QValueVector<int>::const_iterator it = qFind( vec.begin(), vec.end(), 3 );
QValueVector<int>::const_iterator it = tqFind( vec.begin(), vec.end(), 3 );
.br
if ( it != vector.end() )
.br

@ -42,7 +42,7 @@
\title Meta Object System
\keyword meta object
\keyword Q_OBJECT
\keyword TQ_OBJECT
Qt's Meta Object System provides the signals and slots mechanism for
inter-object communication, runtime type information, and the dynamic
@ -51,15 +51,15 @@ property system.
The Meta Object System is based on three things:
\list 1
\i the \l QObject class;
\i the Q_OBJECT macro inside the private section of the class
\i the TQ_OBJECT macro inside the private section of the class
declaration;
\i the \link moc.html Meta Object Compiler (moc)\endlink.
\endlist
The \e moc reads a C++ source file. If it finds one or more class
declarations that contain the Q_OBJECT macro, it produces another C++
declarations that contain the TQ_OBJECT macro, it produces another C++
source file which contains the meta object code for the classes that
contain the Q_OBJECT macro. This generated source file is either
contain the TQ_OBJECT macro. This generated source file is either
#included into the class's source file or compiled and linked with the
class's implementation.
@ -95,14 +95,14 @@ class.
\endlist
While it is possible to use QObject as a base class without the
Q_OBJECT macro and without meta object code, neither signals and slots
TQ_OBJECT macro and without meta object code, neither signals and slots
nor the other features described here will be available if the
Q_OBJECT macro is not used. From the meta object system's point of
TQ_OBJECT macro is not used. From the meta object system's point of
view, a QObject subclass without meta code is equivalent to its
closest ancestor with meta object code. This means for example, that
className() will not return the actual name of your class, but the
class name of this ancestor. We \e strongly recommend that all
subclasses of QObject use the Q_OBJECT macro regardless of whether
subclasses of QObject use the TQ_OBJECT macro regardless of whether
they actually use signals, slots and properties or not.
*/

@ -65,7 +65,7 @@ machine\endlink
\target linkerror
\section1 Link error, complaining about a lack of \c vtbl, \c _vtbl, \c __vtbl or similar
This indicates that you've included the Q_OBJECT macro in a class
This indicates that you've included the TQ_OBJECT macro in a class
declaration and probably also run the moc, but forgot to link the
moc-generated object code into your executable. See \link moc.html
Using the Meta Object Compiler\endlink for details on how to use moc.

@ -50,9 +50,9 @@ The Meta Object Compiler, moc among friends, is the program which
handles Qt's \link metaobjects.html C++ extensions.\endlink
The moc reads a C++ source file. If it finds one or more class
declarations that contain the Q_OBJECT macro, it produces another
declarations that contain the TQ_OBJECT macro, it produces another
C++ source file which contains the meta object code for the classes
that use the Q_OBJECT macro. Among other things, meta object code is
that use the TQ_OBJECT macro. Among other things, meta object code is
required for the signal/slot mechanism, runtime type information and
the dynamic property system.
@ -74,7 +74,7 @@ like this:
\code
class MyClass : public QObject
{
Q_OBJECT
TQ_OBJECT
public:
MyClass( QObject * parent=0, const char * name=0 );
~MyClass();
@ -100,7 +100,7 @@ function \c setPriority().
\code
class MyClass : public QObject
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:
@ -121,7 +121,7 @@ attach additional name/value-pairs to the class' meta object:
\code
class MyClass : public QObject
{
Q_OBJECT
TQ_OBJECT
Q_CLASSINFO( "Author", "Oscar Peterson")
Q_CLASSINFO( "Status", "Active")
public:
@ -171,7 +171,7 @@ it is not necessary to compile and link it separately, as in Method A.
Method A is the normal method. Method B can be used in cases where you
want the implementation file to be self-contained, or in cases where
the Q_OBJECT class is implementation-internal and thus should not be
the TQ_OBJECT class is implementation-internal and thus should not be
visible in the header file.
@ -190,7 +190,7 @@ Makefile that does all the necessary moc handling.
If you want to create your Makefiles yourself, here are some tips on
how to include moc handling.
For Q_OBJECT class declarations in header files, here is a useful
For TQ_OBJECT class declarations in header files, here is a useful
makefile rule if you only use GNU make:
\code
@ -214,7 +214,7 @@ You must also remember to add \e moc_NAME.cpp to your SOURCES
care, so you can use .C, .cc, .CC, .cxx or even .c++ if you
prefer.)
For Q_OBJECT class declarations in implementation (.cpp) files, we
For TQ_OBJECT class declarations in implementation (.cpp) files, we
suggest a makefile rule like this:
\code
@ -286,7 +286,7 @@ MOC_SKIP_END.
\section1 Diagnostics
The moc will warn you about a number of dangerous or illegal
constructs in the Q_OBJECT class declarations.
constructs in the TQ_OBJECT class declarations.
If you get linkage errors in the final building phase of your
program, saying that YourClass::className() is undefined or that
@ -306,7 +306,7 @@ templates cannot have signals or slots. Here is an example:
\code
class SomeTemplate<int> : public QFrame {
Q_OBJECT
TQ_OBJECT
...
signals:
void bugInMocDetected( int );
@ -341,7 +341,7 @@ Here is an example of illegal syntax:
\code
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
...
public slots:
// illegal
@ -354,7 +354,7 @@ You can work around this restriction like this:
typedef void (*ApplyFunctionType)( List *, void * );
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
...
public slots:
void apply( ApplyFunctionType, char * );
@ -373,7 +373,7 @@ illegal syntax:
\code
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
...
signals:
friend class ClassTemplate<char>; // WRONG
@ -437,7 +437,7 @@ Here's an example:
\code
class A {
Q_OBJECT
TQ_OBJECT
public:
class B {
public slots: // WRONG
@ -462,7 +462,7 @@ of the illegal syntax:
\code
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
public slots:
SomeClass( QObject *parent, const char *name )
: QObject( parent, name ) { } // WRONG
@ -481,7 +481,7 @@ illegal syntax:
\code
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
public:
...
Q_PROPERTY( Priority priority READ priority WRITE setPriority ) // WRONG
@ -494,11 +494,11 @@ illegal syntax:
\endcode
Work around this limitation by declaring all properties at the
beginning of the class declaration, right after Q_OBJECT:
beginning of the class declaration, right after TQ_OBJECT:
\code
class SomeClass : public QObject {
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:

@ -154,7 +154,7 @@ single-threaded application without blocking the user interface.
class Mandelbrot : public QObject
{
Q_OBJECT // required for signals/slots
TQ_OBJECT // required for signals/slots
public:
Mandelbrot( QObject *parent=0, const char *name );
...
@ -290,7 +290,7 @@ functions in use:
\code
class MyClass : public QObject
{
Q_OBJECT
TQ_OBJECT
public:
MyClass( QObject * parent=0, const char * name=0 );
~MyClass();
@ -341,7 +341,7 @@ final class declaration including the property related declarations:
\code
class MyClass : public QObject
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:
@ -650,7 +650,7 @@ Qt's <tt>moc</tt> (Meta Object Compiler) provides a clean way to go
beyond the compiled language's facilities. It does so by generating
additional C++ code which can be compiled by any standard C++ compiler.
The <tt>moc</tt> reads C++ source files. If it finds one or more class
declarations that contain the "Q_OBJECT" macro, it produces another C++
declarations that contain the "TQ_OBJECT" macro, it produces another C++
source file which contains the meta object code for those classes. The
C++ source file generated by the <tt>moc</tt> must be compiled and
linked with the implementation of the class (or it can be

@ -171,7 +171,7 @@ but source compatibility should not be affected if the macro variable
\list
\i \c ASSERT becomes \c Q_ASSERT
\i \c CHECK_PTR becomes \c Q_CHECK_PTR
\i \c CHECK_PTR becomes \c TQ_CHECK_PTR
\endlist
For the record, undocumented macro variables that are not part of the API
@ -344,10 +344,10 @@ new code.
Additionally, these preprocessor directives have been removed:
\list
\i \c {#define strlen qstrlen}
\i \c {#define strlen tqstrlen}
\i \c {#define strcpy qstrcpy}
\i \c {#define strcmp qstrcmp}
\i \c {#define strncmp qstrncmp}
\i \c {#define strncmp tqstrncmp}
\i \c {#define stricmp qstricmp}
\i \c {#define strnicmp qstrnicmp}
\endlist

@ -181,20 +181,20 @@ your data's class.
Naturally, the sorting templates won't work with const iterators.
\target qSwap
\section2 qSwap()
\target tqSwap
\section2 tqSwap()
qSwap() exchanges the values of two variables:
tqSwap() exchanges the values of two variables:
\code
QString second( "Einstein" );
QString name( "Albert" );
qSwap( second, name );
tqSwap( second, name );
\endcode
\target qCount
\section2 qCount()
\target tqCount
\section2 tqCount()
The qCount() template function counts the number of occurrences of a
The tqCount() template function counts the number of occurrences of a
value within a container. For example:
\code
QValueList<int> list;
@ -203,13 +203,13 @@ value within a container. For example:
list.push_back( 1 );
list.push_back( 2 );
int c = 0;
qCount( list.begin(), list.end(), 1, c ); // c == 3
tqCount( list.begin(), list.end(), 1, c ); // c == 3
\endcode
\target qFind
\section2 qFind()
\target tqFind
\section2 tqFind()
The qFind() template function finds the first occurrence of a value
The tqFind() template function finds the first occurrence of a value
within a container. For example:
\code
QValueList<int> list;
@ -217,23 +217,23 @@ within a container. For example:
list.push_back( 1 );
list.push_back( 1 );
list.push_back( 2 );
QValueListIterator<int> it = qFind( list.begin(), list.end(), 2 );
QValueListIterator<int> it = tqFind( list.begin(), list.end(), 2 );
\endcode
\target qFill
\section2 qFill()
\target tqFill
\section2 tqFill()
The qFill() template function fills a range with copies of a value.
The tqFill() template function fills a range with copies of a value.
For example:
\code
QValueVector<int> vec(3);
qFill( vec.begin(), vec.end(), 99 ); // vec contains 99, 99, 99
tqFill( vec.begin(), vec.end(), 99 ); // vec contains 99, 99, 99
\endcode
\target qEqual
\section2 qEqual()
\target tqEqual
\section2 tqEqual()
The qEqual() template function compares two ranges for equality of
The tqEqual() template function compares two ranges for equality of
their elements. Note that the number of elements in each range is not
considered, only if the elements in the first range are equal to the
corresponding elements in the second range (consequently, both ranges
@ -251,14 +251,14 @@ must be valid). For example:
v2[4] = 4;
v2[5] = 5;
bool b = qEqual( v1.begin(), v2.end(), v2.begin() );
bool b = tqEqual( v1.begin(), v2.end(), v2.begin() );
// b == TRUE
\endcode
\target qCopy
\section2 qCopy()
\target tqCopy
\section2 tqCopy()
The qCopy() template function copies a range of elements to an
The tqCopy() template function copies a range of elements to an
OutputIterator, in this case a QTextOStreamIterator:
\code
QValueList<int> list;
@ -266,7 +266,7 @@ OutputIterator, in this case a QTextOStreamIterator:
list.push_back( 200 );
list.push_back( 300 );
QTextOStream str( stdout );
qCopy( list.begin(), list.end(), QTextOStreamIterator(str) );
tqCopy( list.begin(), list.end(), QTextOStreamIterator(str) );
\endcode
\omit
@ -281,14 +281,14 @@ into the end of a container. For example:
l.push_back( 200 );
l.push_back( 300 );
QValueVector<int> v;
qCopy( l.begin(), l.end(), qBackInserter(v) );
tqCopy( l.begin(), l.end(), qBackInserter(v) );
\endcode
\endomit
\target qCopyBackward
\section2 qCopyBackward()
\target tqCopyBackward
\section2 tqCopyBackward()
The qCopyBackward() template function copies a container or a slice of
The tqCopyBackward() template function copies a container or a slice of
a container to an OutputIterator, but in reverse order, for example:
\code
QValueVector<int> vec(3);
@ -296,7 +296,7 @@ a container to an OutputIterator, but in reverse order, for example:
vec.push_back( 200 );
vec.push_back( 300 );
QValueVector<int> another;
qCopyBackward( vec.begin(), vec.end(), another.begin() );
tqCopyBackward( vec.begin(), vec.end(), another.begin() );
// 'another' now contains 100, 200, 300
// however the elements are copied one at a time
// in reverse order (300, 200, then 100)
@ -313,10 +313,10 @@ illustrates this:
QStringList list1, list2;
list1 << "Weis" << "Ettrich" << "Arnt" << "Sue";
list2 << "Torben" << "Matthias";
qCopy( list2.begin(), list2.end(), list1.begin() );
tqCopy( list2.begin(), list2.end(), list1.begin() );
QValueVector<QString> vec( list1.size(), "Dave" );
qCopy( list2.begin(), list2.end(), vec.begin() );
tqCopy( list2.begin(), list2.end(), vec.begin() );
\endcode
At the end of this code fragment, the list list1 contains "Torben",
@ -327,12 +327,12 @@ overwritten. The vector vec contains "Torben", "Matthias", "Dave" and
If you write new algorithms, consider writing them as template
functions in order to make them usable with as many containers
as possible. In the above example, you could just as easily print out
a standard C++ array with qCopy():
a standard C++ array with tqCopy():
\code
int arr[] = { 100, 200, 300 };
QTextOStream str( stdout );
qCopy( arr, arr + 3, QTextOStreamIterator( str ) );
tqCopy( arr, arr + 3, QTextOStreamIterator( str ) );
\endcode
\section1 Streaming

@ -154,12 +154,12 @@
returned by end().
Another way to find an item in the list is by using the \link
ntqtl.html#qFind qFind()\endlink algorithm. For example:
ntqtl.html#qFind tqFind()\endlink algorithm. For example:
\code
QValueList<int> list;
...
QValueList<int>::iterator it = qFind( list.begin(), list.end(), 3 );
QValueList<int>::iterator it = tqFind( list.begin(), list.end(), 3 );
if ( it != list.end() )
// it points to the found item
\endcode

@ -197,13 +197,13 @@
QTL\endlink.
Another way to find an element in the vector is by using the
std::find() or \link ntqtl.html#qFind qFind()\endlink algorithms.
std::find() or \link ntqtl.html#qFind tqFind()\endlink algorithms.
For example:
\code
QValueVector<int> vec;
...
QValueVector<int>::const_iterator it = qFind( vec.begin(), vec.end(), 3 );
QValueVector<int>::const_iterator it = tqFind( vec.begin(), vec.end(), 3 );
if ( it != vector.end() )
// 'it' points to the found element
\endcode

@ -130,7 +130,7 @@ A small Qt class might read:
\code
class Foo : public QObject
{
Q_OBJECT
TQ_OBJECT
public:
Foo();
int value() const { return val; }
@ -149,7 +149,7 @@ signals and slots: this class can tell the outside world that its state
has changed by emitting a signal, \c{valueChanged()}, and it has
a slot which other objects can send signals to.
All classes that contain signals or slots must mention Q_OBJECT in
All classes that contain signals or slots must mention TQ_OBJECT in
their declaration.
Slots are implemented by the application programmer.
@ -335,10 +335,10 @@ declarations.
\code
{
Q_OBJECT
TQ_OBJECT
\endcode
Q_OBJECT is expanded by the preprocessor to declare several member
TQ_OBJECT is expanded by the preprocessor to declare several member
functions that are implemented by the moc; if you get compiler errors
along the lines of "virtual function QButton::className not defined"
you have probably forgotten to \link moc.html run the moc\endlink or to

@ -726,7 +726,7 @@ often speed up big compilations by a factor of two or more.
\skipto LCDRange
\printuntil parent=0
Note the Q_OBJECT. This macro must be included in \e all classes that
Note the TQ_OBJECT. This macro must be included in \e all classes that
contain signals and/or slots. If you are curious, it defines the
functions that are implemented in the
\link metaobjects.html meta object file \endlink.
@ -1654,8 +1654,8 @@ the point calculated above. In the same operation we convert the
point into the widget's coordinate system (see \link coordsys.html The
Coordinate System\endlink).
The qRound() function is an inline function defined in ntqglobal.h (included
by all other Qt header files). qRound() rounds a double to the closest
The tqRound() function is an inline function defined in ntqglobal.h (included
by all other Qt header files). tqRound() rounds a double to the closest
integer.
\section2 \l t11/main.cpp

@ -366,7 +366,7 @@ conventional document-centric style.
\printuntil };
We create a \c ChartForm subclass of QMainWindow. Our subclass uses
the \c Q_OBJECT macro to support Qt's \link signalsandslots.html
the \c TQ_OBJECT macro to support Qt's \link signalsandslots.html
signals and slots\endlink mechanism.
The public interface is very small; the type of chart being displayed

@ -16,7 +16,7 @@
class TQTimer;
class AnalogClock : public TQWidget // analog clock widget
{
Q_OBJECT
TQ_OBJECT
public:
AnalogClock( TQWidget *parent=0, const char *name=0 );
void setAutoMask(bool b);

@ -16,7 +16,7 @@ class TQTextEdit;
class ApplicationWindow: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
ApplicationWindow();

@ -23,7 +23,7 @@ class TQCheckBox;
class ABCentralWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
ABCentralWidget( TQWidget *parent, const char *name = 0 );

@ -19,7 +19,7 @@ class ABCentralWidget;
class ABMainWindow: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
ABMainWindow();

@ -16,7 +16,7 @@ class TQTextEdit;
class ApplicationWindow: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
ApplicationWindow();

@ -17,7 +17,7 @@
class Biff : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Biff( TQWidget *parent=0, const char *name=0 );

@ -17,7 +17,7 @@ class TQRadioButton;
class ButtonsGroups : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
ButtonsGroups( TQWidget *parent = 0, const char *name = 0 );

@ -17,7 +17,7 @@ public:
class FigureEditor : public TQCanvasView {
Q_OBJECT
TQ_OBJECT
public:
FigureEditor(TQCanvas&, TQWidget* parent=0, const char* name=0, WFlags f=0);
@ -36,7 +36,7 @@ private:
};
class Main : public TQMainWindow {
Q_OBJECT
TQ_OBJECT
public:
Main(TQCanvas&, TQWidget* parent=0, const char* name=0, WFlags f=0);

@ -12,7 +12,7 @@ class TQPoint;
class CanvasView : public TQCanvasView
{
Q_OBJECT
TQ_OBJECT
public:
CanvasView( TQCanvas *canvas, ElementVector *elements,
TQWidget* parent = 0, const char* name = "canvas view",

@ -18,7 +18,7 @@ class TQString;
class ChartForm: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
enum { MAX_ELEMENTS = 100 };
enum { MAX_RECENTFILES = 9 }; // Must not exceed 9

@ -17,7 +17,7 @@ class TQVBoxLayout;
class OptionsForm : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
OptionsForm( TQWidget* parent = 0, const char* name = "options form",
bool modal = FALSE, WFlags f = 0 );

@ -13,7 +13,7 @@ class TQVBoxLayout;
class SetDataForm: public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
SetDataForm( ElementVector *elements, int decimalPlaces,
TQWidget *parent = 0, const char *name = "set data form",

@ -17,7 +17,7 @@ class TQLabel;
class CheckLists : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
CheckLists( TQWidget *parent = 0, const char *name = 0 );

@ -15,7 +15,7 @@
class DigitalClock : public TQLCDNumber // digital clock widget
{
Q_OBJECT
TQ_OBJECT
public:
DigitalClock( TQWidget *parent=0, const char *name=0 );

@ -9,7 +9,7 @@ class TQWidgetStack;
class CategoryInterface : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
CategoryInterface( TQWidgetStack *s ) : stack( s ) {}

@ -24,7 +24,7 @@ class Screen;
class Curve;
class DisplayWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
DisplayWidget( TQWidget *parent=0, const char *name=0 );
@ -51,7 +51,7 @@ private:
};
class Screen : public TQFrame {
Q_OBJECT
TQ_OBJECT
public:
enum { FrameWidth = 3 };
Screen( TQWidget *parent=0, const char *name=0 );
@ -74,7 +74,7 @@ private:
};
class Curve : public TQFrame {
Q_OBJECT
TQ_OBJECT
enum { FrameWidth = 3 };
public:
Curve( TQWidget *parent=0, const char *name=0 );

@ -25,7 +25,7 @@ private:
class DnDDemo : public DnDDemoBase
{
Q_OBJECT
TQ_OBJECT
public:
DnDDemo( TQWidget* parent = 0, const char* name = 0 );

@ -18,7 +18,7 @@ private:
class IconView : public TQIconView
{
Q_OBJECT
TQ_OBJECT
public:
IconView( TQWidget* parent = 0, const char* name = 0 );

@ -17,7 +17,7 @@ private:
class ListView : public TQListView
{
Q_OBJECT
TQ_OBJECT
public:
ListView( TQWidget* parent = 0, const char* name = 0 );

@ -42,7 +42,7 @@ class TQBrush;
class StyledButton : public TQButton
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQColor color READ color WRITE setColor )
Q_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap )

@ -17,7 +17,7 @@ class TQWidgetStack;
class Frame : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
Frame( TQWidget *parent=0, const char *name=0 );

@ -17,7 +17,7 @@ class GraphWidgetPrivate;
class GraphWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
GraphWidget( TQWidget *parent=0, const char *name=0 );
~GraphWidget();

@ -137,7 +137,7 @@ void I18nDemo::newSlot(int id)
"portability across Windows 95/98/NT/2000, Mac OS X, Linux, Solaris, "
"HP-UX and many other versions of Unix with X11.</p>"
"<p>See <tt>http://www.trolltech.com/qt/</tt> for more "
"information.</p>").arg(QT_VERSION_STR));
"information.</p>").arg(TQT_VERSION_STR));
qApp->removeTranslator(&wrapper->translator);

@ -11,7 +11,7 @@ class Wrapper;
class I18nDemo : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
I18nDemo(TQWidget *, const char * = 0);

@ -19,17 +19,17 @@
#include <ntqmodules.h>
#if defined(QT_MODULE_OPENGL)
#if defined(TQT_MODULE_OPENGL)
#include "opengl/glworkspace.h"
#include "opengl/gllandscapeviewer.h"
#include "opengl/glinfotext.h"
#endif
#if defined(QT_MODULE_CANVAS)
#if defined(TQT_MODULE_CANVAS)
#include "qasteroids/toplevel.h"
#endif
#if defined(QT_MODULE_TABLE)
#if defined(TQT_MODULE_TABLE)
#include "widgets/widgetsbase.h"
#else
#include "widgets/widgetsbase_pro.h"
@ -45,7 +45,7 @@
#include <ntqworkspace.h>
#include <ntqwidgetstack.h>
#if defined(QT_MODULE_SQL)
#if defined(TQT_MODULE_SQL)
#include <ntqsqldatabase.h>
#include "sql/sqlex.h"
#endif
@ -107,7 +107,7 @@ private:
};
#if defined(QT_MODULE_SQL)
#if defined(TQT_MODULE_SQL)
class DatabaseCategory : public CategoryInterface
{
public:
@ -145,7 +145,7 @@ private:
};
#endif
#if defined(QT_MODULE_CANVAS)
#if defined(TQT_MODULE_CANVAS)
class CanvasCategory : public CategoryInterface
{
public:
@ -187,7 +187,7 @@ private:
};
#endif
#if defined(QT_MODULE_OPENGL)
#if defined(TQT_MODULE_OPENGL)
class OpenGLCategory : public CategoryInterface
{
public:
@ -310,7 +310,7 @@ private:
};
#if defined(QT_MODULE_CANVAS)
#if defined(TQT_MODULE_CANVAS)
class GameCategory : public CategoryInterface
{
public:
@ -358,11 +358,11 @@ int main( int argc, char **argv )
TQPtrList<CategoryInterface> categories;
categories.append( new WidgetCategory( frame.widgetStack() ) );
#if defined(QT_MODULE_SQL)
#if defined(TQT_MODULE_SQL)
categories.append( new DatabaseCategory( frame.widgetStack() ) );
#endif
categories.append( new CanvasCategory( frame.widgetStack() ) );
#if defined(QT_MODULE_OPENGL)
#if defined(TQT_MODULE_OPENGL)
categories.append( new OpenGLCategory( frame.widgetStack() ) );
#endif
categories.append( new TextCategory( frame.widgetStack() ) );

@ -20,7 +20,7 @@
class GLBox : public GLControlWidget
{
Q_OBJECT
TQ_OBJECT
public:

@ -5,7 +5,7 @@
class GLControlWidget : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLControlWidget( TQWidget *parent, const char *name = 0, TQGLWidget *share = 0, WFlags f = 0 );

@ -5,7 +5,7 @@
class GLGear : public GLControlWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLGear( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );

@ -5,7 +5,7 @@
class GLLandscape : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLLandscape( TQWidget * parent = 0, const char * name = 0 );

@ -20,7 +20,7 @@
class GLTexobj : public GLControlWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLTexobj( TQWidget* parent, const char* name = 0, WFlags f = 0 );

@ -8,7 +8,7 @@ class TQPrinter;
class GLWorkspace : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
GLWorkspace( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
~GLWorkspace();

@ -13,7 +13,7 @@
class KALedMeter : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
KALedMeter( TQWidget *parent );

@ -19,7 +19,7 @@ class TQLCDNumber;
class KAstTopLevel : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
KAstTopLevel( TQWidget *parent=0, const char *name=0 );
virtual ~KAstTopLevel();

@ -18,7 +18,7 @@
class KAsteroidsView : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
KAsteroidsView( TQWidget *parent = 0, const char *name = 0 );
virtual ~KAsteroidsView();

@ -50,7 +50,7 @@
class TQThumbWheel : public TQFrame, public TQRangeControl
{
Q_OBJECT
TQ_OBJECT
public:
TQThumbWheel( TQWidget *parent=0, const char *name=0 );

@ -21,7 +21,7 @@ class TQPopupMenu;
class HelpWindow : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
HelpWindow( const TQString& home_, const TQString& path, TQWidget* parent = 0, const char *name=0 );
~HelpWindow();

@ -20,7 +20,7 @@ class TQTextEdit;
class TextEdit : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
TextEdit( TQWidget *parent = 0, const char *name = 0 );

@ -71,7 +71,7 @@ private:
class DirectoryView : public TQListView
{
Q_OBJECT
TQ_OBJECT
public:
DirectoryView( TQWidget *parent = 0, const char *name = 0, bool sdo = FALSE );

@ -121,7 +121,7 @@ static char *find_pattern( char *h, const char *n, ulong hlen )
if ( nlen > hlen )
return 0;
} while ( qstrncmp( h, n, nlen ) != 0 );
} while ( tqstrncmp( h, n, nlen ) != 0 );
return h + nlen;
}

@ -22,7 +22,7 @@ class TQDragObject;
class DropSite: public TQLabel
{
Q_OBJECT
TQ_OBJECT
public:
DropSite( TQWidget * parent = 0, const char * name = 0 );
~DropSite();
@ -42,7 +42,7 @@ protected:
};
class DragMoviePlayer : public TQObject {
Q_OBJECT
TQ_OBJECT
TQDragObject* dobj;
TQMovie movie;
public:

@ -130,7 +130,7 @@ DrawThing ourDrawFunctions[] = {
class DrawView : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
DrawView();
~DrawView();

@ -21,7 +21,7 @@ class TQToolButton;
class FileMainWindow : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
FileMainWindow();

@ -30,7 +30,7 @@ class TQResizeEvent;
class TQtFileIconDrag : public TQIconDrag
{
Q_OBJECT
TQ_OBJECT
public:
TQtFileIconDrag( TQWidget * dragSource, const char* name = 0 );
@ -53,7 +53,7 @@ private:
class TQtFileIconViewItem;
class TQtFileIconView : public TQIconView
{
Q_OBJECT
TQ_OBJECT
public:
TQtFileIconView( const TQString &dir, TQWidget *parent = 0, const char *name = 0 );

@ -11,7 +11,7 @@ class TQPushButton;
class Viewer : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Viewer();

@ -22,7 +22,7 @@ const int numColors = 120;
class Forever : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Forever( TQWidget *parent=0, const char *name=0 );
protected:

@ -15,7 +15,7 @@
class Hello : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Hello( const char *text, TQWidget *parent=0, const char *name=0 );
signals:

@ -10,7 +10,7 @@ class TQPopupMenu;
class HelpDemo : public HelpDemoBase
{
Q_OBJECT
TQ_OBJECT
public:
HelpDemo( TQWidget *parent = 0, const char *name = 0 );

@ -15,7 +15,7 @@ class TQAssistantClient;
class MainWindow : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
MainWindow();
~MainWindow();

@ -17,7 +17,7 @@ class TQTable;
class WhatsThis : public TQObject, public TQWhatsThis
{
Q_OBJECT
TQ_OBJECT
public:
WhatsThis( TQWidget *w, TQWidget *watch = 0 );

@ -21,7 +21,7 @@ class TQPopupMenu;
class HelpWindow : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
HelpWindow( const TQString& home_, const TQString& path, TQWidget* parent = 0, const char *name=0 );
~HelpWindow();

@ -15,7 +15,7 @@
class MyWidget : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
MyWidget( TQWidget* parent=0, const char* name = 0 );

@ -18,7 +18,7 @@
class ListenDND : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
ListenDND( TQWidget *w )

@ -20,7 +20,7 @@ class TQDragDropEvent;
class DDListBox : public TQListBox
{
Q_OBJECT
TQ_OBJECT
public:
DDListBox( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 );
// Low-level drag and drop
@ -48,7 +48,7 @@ public:
class DDIconView : public TQIconView
{
Q_OBJECT
TQ_OBJECT
public:
DDIconView( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ) :
TQIconView( parent, name, f ) {}

@ -15,7 +15,7 @@
class LifeWidget : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
LifeWidget( int s = 10, TQWidget *parent = 0, const char *name = 0 );

@ -23,7 +23,7 @@ class TQComboBox;
class LifeTimer : public TQTimer
{
Q_OBJECT
TQ_OBJECT
public:
LifeTimer( TQWidget *parent );
enum { MAXSPEED = 1000 };
@ -39,7 +39,7 @@ private:
class LifeDialog : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
LifeDialog( int scale = 10, TQWidget *parent = 0, const char *name = 0 );
public slots:

@ -17,7 +17,7 @@ class TQComboBox;
class LineEdits : public TQGroupBox
{
Q_OBJECT
TQ_OBJECT
public:
LineEdits( TQWidget *parent = 0, const char *name = 0 );

@ -20,7 +20,7 @@ class TQButtonGroup;
class ListBoxDemo: public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
ListBoxDemo();
~ListBoxDemo();

@ -17,7 +17,7 @@ class TQLabel;
class ListBoxCombo : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
ListBoxCombo( TQWidget *parent = 0, const char *name = 0 );

@ -79,7 +79,7 @@ protected:
class Folder : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
Folder( Folder *parent, const TQString &name );
@ -138,7 +138,7 @@ protected:
class ListViews : public TQSplitter
{
Q_OBJECT
TQ_OBJECT
public:
ListViews( TQWidget *parent = 0, const char *name = 0 );

@ -22,7 +22,7 @@ class TQMovie;
class MDIWindow: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
MDIWindow( TQWidget* parent, const char* name, int wflags );
~MDIWindow();
@ -47,7 +47,7 @@ private:
class ApplicationWindow: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
ApplicationWindow();
~ApplicationWindow();

@ -120,7 +120,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
TQPixmap p2( p2_xpm );
TQPixmap p3( p3_xpm );
TQPopupMenu *print = new TQPopupMenu( this );
Q_CHECK_PTR( print );
TQ_CHECK_PTR( print );
print->insertTearOffHandle();
print->insertItem( "&Print to printer", this, SLOT(printer()) );
print->insertItem( "Print to &file", this, SLOT(file()) );
@ -129,7 +129,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
print->insertItem( "Printer &Setup", this, SLOT(printerSetup()) );
TQPopupMenu *file = new TQPopupMenu( this );
Q_CHECK_PTR( file );
TQ_CHECK_PTR( file );
file->insertItem( p1, "&Open", this, SLOT(open()), CTRL+Key_O );
file->insertItem( p2, "&New", this, SLOT(news()), CTRL+Key_N );
file->insertItem( p3, "&Save", this, SLOT(save()), CTRL+Key_S );
@ -140,14 +140,14 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q );
TQPopupMenu *edit = new TQPopupMenu( this );
Q_CHECK_PTR( edit );
TQ_CHECK_PTR( edit );
int undoID = edit->insertItem( "&Undo", this, SLOT(undo()) );
int redoID = edit->insertItem( "&Redo", this, SLOT(redo()) );
edit->setItemEnabled( undoID, FALSE );
edit->setItemEnabled( redoID, FALSE );
TQPopupMenu* options = new TQPopupMenu( this );
Q_CHECK_PTR( options );
TQ_CHECK_PTR( options );
options->insertTearOffHandle();
options->setCaption("Options");
options->insertItem( "&Normal Font", this, SLOT(normal()) );
@ -171,13 +171,13 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
TQPopupMenu *help = new TQPopupMenu( this );
Q_CHECK_PTR( help );
TQ_CHECK_PTR( help );
help->insertItem( "&About", this, SLOT(about()), CTRL+Key_H );
help->insertItem( "About &TQt", this, SLOT(aboutTQt()) );
// If we used a TQMainWindow we could use its built-in menuBar().
menu = new TQMenuBar( this );
Q_CHECK_PTR( menu );
TQ_CHECK_PTR( menu );
menu->insertItem( "&File", file );
menu->insertItem( "&Edit", edit );
menu->insertItem( "&Options", options );
@ -187,7 +187,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
TQLabel *msg = new TQLabel( this );
Q_CHECK_PTR( msg );
TQ_CHECK_PTR( msg );
msg->setText( "A context menu is available.\n"
"Invoke it by right-clicking or by"
" pressing the 'context' button." );
@ -195,7 +195,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
msg->setAlignment( AlignCenter );
label = new TQLabel( this );
Q_CHECK_PTR( label );
TQ_CHECK_PTR( label );
label->setGeometry( 20, rect().center().y()-20, width()-40, 40 );
label->setFrameStyle( TQFrame::Box | TQFrame::Raised );
label->setLineWidth( 1 );
@ -212,7 +212,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
void MenuExample::contextMenuEvent( TQContextMenuEvent * )
{
TQPopupMenu* contextMenu = new TQPopupMenu( this );
Q_CHECK_PTR( contextMenu );
TQ_CHECK_PTR( contextMenu );
TQLabel *caption = new TQLabel( "<font color=darkblue><u><b>"
"Context Menu</b></u></font>", this );
caption->setAlignment( TQt::AlignCenter );
@ -221,7 +221,7 @@ void MenuExample::contextMenuEvent( TQContextMenuEvent * )
contextMenu->insertItem( "&Open...", this, SLOT(open()), CTRL+Key_O );
contextMenu->insertItem( "&Save", this, SLOT(save()), CTRL+Key_S );
TQPopupMenu *submenu = new TQPopupMenu( this );
Q_CHECK_PTR( submenu );
TQ_CHECK_PTR( submenu );
submenu->insertItem( "&Print to printer", this, SLOT(printer()) );
submenu->insertItem( "Print to &file", this, SLOT(file()) );
submenu->insertItem( "Print to fa&x", this, SLOT(fax()) );

@ -17,7 +17,7 @@
class MenuExample : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
MenuExample( TQWidget *parent=0, const char *name=0 );

@ -18,7 +18,7 @@
class MovieScreen : public TQFrame {
Q_OBJECT
TQ_OBJECT
TQMovie movie;
TQString filename;
TQSize sh;
@ -218,7 +218,7 @@ public:
// A TQFileDialog that chooses movies.
//
class MovieStarter: public TQFileDialog {
Q_OBJECT
TQ_OBJECT
public:
MovieStarter(const char *dir);

@ -20,7 +20,7 @@
class Client : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
Client( const TQString &host, Q_UINT16 port )
{

@ -26,7 +26,7 @@
*/
class ClientSocket : public TQSocket
{
Q_OBJECT
TQ_OBJECT
public:
ClientSocket( int sock, TQObject *parent=0, const char *name=0 ) :
TQSocket( parent, name )
@ -73,7 +73,7 @@ private:
*/
class SimpleServer : public TQServerSocket
{
Q_OBJECT
TQ_OBJECT
public:
SimpleServer( TQObject* parent=0 ) :
TQServerSocket( 4242, 1, parent )
@ -105,7 +105,7 @@ signals:
*/
class ServerInfo : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
ServerInfo()
{

@ -21,7 +21,7 @@
// HttpDaemon is the the class that implements the simple HTTP server.
class HttpDaemon : public TQServerSocket
{
Q_OBJECT
TQ_OBJECT
public:
HttpDaemon( TQObject* parent=0 ) :
TQServerSocket(8080,1,parent)
@ -84,7 +84,7 @@ private slots:
// the actions of the server.
class HttpInfo : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
HttpInfo()
{

@ -22,7 +22,7 @@ static const Q_UINT16 infoPort = 42417;
class ClientInfo : public ClientInfoBase
{
Q_OBJECT
TQ_OBJECT
public:
ClientInfo( TQWidget *parent = 0, const char *name = 0 );

@ -25,7 +25,7 @@ static const Q_UINT16 infoPort = 42417;
*/
class ServerInfo : public ServerInfoBase
{
Q_OBJECT
TQ_OBJECT
public:
ServerInfo( Q_UINT16 port = infoPort, TQWidget *parent = 0, const char *name = 0 );
@ -36,7 +36,7 @@ private slots:
class SimpleServer : public TQServerSocket
{
Q_OBJECT
TQ_OBJECT
public:
SimpleServer( Q_UINT16 port = infoPort, TQObject* parent = 0, const char *name = 0 );
void newConnection( int socket );
@ -51,7 +51,7 @@ private:
class ClientSocket : public TQSocket
{
Q_OBJECT
TQ_OBJECT
public:
ClientSocket( int sock, InfoData *i, TQObject *parent = 0, const char *name = 0 );

@ -17,7 +17,7 @@
class ClientInfo : public ClientInfoBase
{
Q_OBJECT
TQ_OBJECT
public:
ClientInfo( TQWidget *parent = 0, const char *name = 0 );

@ -19,7 +19,7 @@ static const Q_UINT16 infoPort = 42417;
class Qip : public TQNetworkProtocol
{
Q_OBJECT
TQ_OBJECT
public:
Qip();

@ -21,7 +21,7 @@ class TQPushButton;
class Composer : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Composer( TQWidget *parent = 0 );

@ -19,7 +19,7 @@ class TQDns;
class Smtp : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
Smtp( const TQString &from, const TQString &to,

@ -15,7 +15,7 @@
class Nntp : public TQNetworkProtocol
{
Q_OBJECT
TQ_OBJECT
public:
Nntp();

@ -18,7 +18,7 @@ class TQMultiLineEdit;
class View : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
View();

@ -8,7 +8,7 @@
class IpcSocket : public TQSocket
{
Q_OBJECT
TQ_OBJECT
public:
IpcSocket( TQObject *parent) : TQSocket( parent )

@ -5,7 +5,7 @@
class IpcServer : public TQServerSocket
{
Q_OBJECT
TQ_OBJECT
public:
IpcServer( Q_UINT16 port, TQObject *parent );

@ -7,7 +7,7 @@ class TQSocket;
class RemoteCtrlImpl : public RemoteCtrl
{
Q_OBJECT
TQ_OBJECT
public:
RemoteCtrlImpl( TQSocket * );

@ -9,7 +9,7 @@ class MainDialog;
class StartUp : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
StartUp();

@ -21,7 +21,7 @@
class GLBox : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:

@ -22,7 +22,7 @@
class GLObjectWindow : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );

@ -21,7 +21,7 @@
class GLBox : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:

@ -25,7 +25,7 @@ class TQPopupMenu;
class GLObjectWindow : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );

@ -22,7 +22,7 @@
class GLObjectWindow : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );

@ -22,7 +22,7 @@
class GLTeapots : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:

@ -28,7 +28,7 @@ TQColor findOverlayTransparentColor()
Visual* appVisual;
// The static methods are called 'App' in TQt 2.x
#if QT_VERSION < 200
#if TQT_VERSION < 200
appDisplay = TQPaintDevice::x__Display();
appVisual = (Visual*)TQPaintDevice::x11Visual();
#else

@ -21,7 +21,7 @@
class GLBox : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:

@ -22,7 +22,7 @@ class GLBox;
class GLObjectWindow : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );

@ -22,7 +22,7 @@
class GLObjectWindow : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );

@ -21,7 +21,7 @@
class GLTexobj : public TQGLWidget
{
Q_OBJECT
TQ_OBJECT
public:

@ -19,7 +19,7 @@
class FancyPopup : public TQLabel
{
Q_OBJECT
TQ_OBJECT
public:
FancyPopup( TQWidget* parent = 0, const char* name=0);
@ -37,7 +37,7 @@ private:
class Frame : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
Frame( TQWidget *parent=0, const char* name=0);

@ -19,7 +19,7 @@
class UicManager : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
UicManager();

@ -119,7 +119,7 @@ private:
class CPUWaster : public TQWidget
{
Q_OBJECT
TQ_OBJECT
enum { first_draw_item = 1000, last_draw_item = 1006 };
@ -142,10 +142,10 @@ public:
pb(0)
{
menubar = new TQMenuBar( this, "menu" );
Q_CHECK_PTR( menubar );
TQ_CHECK_PTR( menubar );
TQPopupMenu* file = new TQPopupMenu();
Q_CHECK_PTR( file );
TQ_CHECK_PTR( file );
menubar->insertItem( "&File", file );
for (int i=first_draw_item; i<=last_draw_item; i++)
file->insertItem( drawItemText(i), i );
@ -154,7 +154,7 @@ public:
file->insertItem( "Quit", qApp, SLOT(quit()) );
options = new TQPopupMenu();
Q_CHECK_PTR( options );
TQ_CHECK_PTR( options );
menubar->insertItem( "&Options", options );
td_id = options->insertItem( "Timer driven", this, SLOT(timerDriven()) );
ld_id = options->insertItem( "Loop driven", this, SLOT(loopDriven()) );

@ -19,7 +19,7 @@ class TQProgressBar;
class ProgressBar : public TQButtonGroup
{
Q_OBJECT
TQ_OBJECT
public:
ProgressBar( TQWidget *parent = 0, const char *name = 0 );

@ -27,7 +27,7 @@ class TQPopupMenu;
class PixmapView : public TQScrollView
{
Q_OBJECT
TQ_OBJECT
public:
PixmapView( TQWidget *parent );
@ -41,7 +41,7 @@ private:
class Preview : public TQWidgetStack
{
Q_OBJECT
TQ_OBJECT
public:
Preview( TQWidget *parent );
@ -57,7 +57,7 @@ private:
class PreviewWidget : public TQVBox,
public TQFilePreview
{
Q_OBJECT
TQ_OBJECT
public:
PreviewWidget( TQWidget *parent );
@ -71,7 +71,7 @@ private:
class CustomFileDialog : public TQFileDialog
{
Q_OBJECT
TQ_OBJECT
public:
CustomFileDialog();

@ -16,7 +16,7 @@
class TQSlider;
class FontRowTable : public TQFrame {
Q_OBJECT
TQ_OBJECT
public:
FontRowTable( TQWidget* parent=0, const char* name=0 );
@ -39,7 +39,7 @@ private:
};
class FontDisplayer : public TQMainWindow {
Q_OBJECT
TQ_OBJECT
public:
FontDisplayer( TQWidget* parent=0, const char* name=0 );
};

@ -22,7 +22,7 @@
class MagWidget : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
MagWidget( TQWidget *parent=0, const char *name=0 );
@ -88,12 +88,12 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
int w=0, x=0, n;
zoom = new TQComboBox( FALSE, this );
Q_CHECK_PTR(zoom);
TQ_CHECK_PTR(zoom);
zoom->insertStrList( zoomfactors, 9 );
connect( zoom, SIGNAL(activated(int)), SLOT(setZoom(int)) );
refresh = new TQComboBox( FALSE, this );
Q_CHECK_PTR(refresh);
TQ_CHECK_PTR(refresh);
refresh->insertStrList( refreshrates, 9 );
connect( refresh, SIGNAL(activated(int)), SLOT(setRefresh(int)) );
@ -112,7 +112,7 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
refresh->setGeometry( x, 2, w+30, 20 );
saveButton = new TQPushButton( this );
Q_CHECK_PTR(saveButton);
TQ_CHECK_PTR(saveButton);
connect( saveButton, SIGNAL(clicked()), this, SLOT(save()) );
saveButton->setText( "Save" );
saveButton->setGeometry( x+w+30+2, 2,
@ -120,14 +120,14 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
multiSaveButton = new TQPushButton( this );
multiSaveButton->setToggleButton(TRUE);
Q_CHECK_PTR(multiSaveButton);
TQ_CHECK_PTR(multiSaveButton);
connect( multiSaveButton, SIGNAL(clicked()), this, SLOT(multiSave()) );
multiSaveButton->setText( "MultiSave" );
multiSaveButton->setGeometry( saveButton->geometry().right() + 2, 2,
10+multiSaveButton->fontMetrics().width("MultiSave"), 20 );
quitButton = new TQPushButton( this );
Q_CHECK_PTR(quitButton);
TQ_CHECK_PTR(quitButton);
connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
quitButton->setText( "Quit" );
quitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2,
@ -141,7 +141,7 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
setZoom(5);
rgb = new TQLabel( this );
Q_CHECK_PTR( rgb );
TQ_CHECK_PTR( rgb );
rgb->setText( "" );
rgb->setAlignment( AlignVCenter );
rgb->resize( width(), rgb->fontMetrics().height() + 4 );

@ -34,7 +34,7 @@ Editor::Editor( TQWidget * parent , const char * name )
m = new TQMenuBar( this, "menu" );
TQPopupMenu * file = new TQPopupMenu();
Q_CHECK_PTR( file );
TQ_CHECK_PTR( file );
m->insertItem( "&File", file );
file->insertItem( "&New", this, SLOT(newDoc()), ALT+Key_N );
@ -59,7 +59,7 @@ Editor::Editor( TQWidget * parent , const char * name )
rebuildCodecList();
TQPopupMenu * edit = new TQPopupMenu();
Q_CHECK_PTR( edit );
TQ_CHECK_PTR( edit );
m->insertItem( "&Edit", edit );
edit->insertItem( "To &Uppercase", this, SLOT(toUpper()), ALT+Key_U );

@ -17,7 +17,7 @@
class Editor : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Editor( TQWidget *parent=0, const char *name="qwerty" );
~Editor();

@ -16,7 +16,7 @@ class TQCheckBox;
class RangeControls : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
RangeControls( TQWidget *parent = 0, const char *name = 0 );

@ -12,7 +12,7 @@ class TQTable;
class RegexpTester : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
RegexpTester(TQWidget* parent=0, const char* name=0, bool modal=false,

@ -17,7 +17,7 @@ class TQPushButton;
class MyRichText : public TQVBox
{
Q_OBJECT
TQ_OBJECT
public:
MyRichText( TQWidget *parent = 0, const char *name = 0 );

@ -19,7 +19,7 @@
class TQMultiLineEdit;
class Rot13: public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
Rot13();

@ -26,7 +26,7 @@ class TQSpinBox;
class Canvas : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Canvas( TQWidget *parent = 0, const char *name = 0 );
@ -65,7 +65,7 @@ protected:
class Scribble : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
Scribble( TQWidget *parent = 0, const char *name = 0 );

@ -32,7 +32,7 @@ static const int max_mw = 10;
class BigShrinker : public TQFrame {
Q_OBJECT
TQ_OBJECT
public:
BigShrinker(TQWidget* parent) :
TQFrame(parent)
@ -195,22 +195,22 @@ private:
};
class ScrollViewExample : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
ScrollViewExample(int technique, TQWidget* parent=0, const char* name=0) :
TQWidget(parent,name)
{
TQMenuBar* menubar = new TQMenuBar(this);
Q_CHECK_PTR( menubar );
TQ_CHECK_PTR( menubar );
TQPopupMenu* file = new TQPopupMenu( menubar );
Q_CHECK_PTR( file );
TQ_CHECK_PTR( file );
menubar->insertItem( "&File", file );
file->insertItem( "Quit", qApp, SLOT(quit()) );
vp_options = new TQPopupMenu( menubar );
Q_CHECK_PTR( vp_options );
TQ_CHECK_PTR( vp_options );
vp_options->setCheckable( TRUE );
menubar->insertItem( "&ScrollView", vp_options );
connect( vp_options, SIGNAL(activated(int)),
@ -248,7 +248,7 @@ public:
}
f_options = new TQPopupMenu( menubar );
Q_CHECK_PTR( f_options );
TQ_CHECK_PTR( f_options );
f_options->setCheckable( TRUE );
menubar->insertItem( "F&rame", f_options );
connect( f_options, SIGNAL(activated(int)),
@ -265,7 +265,7 @@ public:
f_options->insertItem( "Sunken", style_id|TQFrame::Sunken ));
f_options->insertSeparator();
lw_options = new TQPopupMenu( menubar );
Q_CHECK_PTR( lw_options );
TQ_CHECK_PTR( lw_options );
lw_options->setCheckable( TRUE );
for (int lw = 1; lw <= max_lw; lw++) {
TQString str;
@ -276,7 +276,7 @@ public:
connect( lw_options, SIGNAL(activated(int)),
this, SLOT(doFMenuItem(int)) );
mlw_options = new TQPopupMenu( menubar );
Q_CHECK_PTR( mlw_options );
TQ_CHECK_PTR( mlw_options );
mlw_options->setCheckable( TRUE );
for (int mlw = 0; mlw <= max_mlw; mlw++) {
TQString str;
@ -287,7 +287,7 @@ public:
connect( mlw_options, SIGNAL(activated(int)),
this, SLOT(doFMenuItem(int)) );
mw_options = new TQPopupMenu( menubar );
Q_CHECK_PTR( mw_options );
TQ_CHECK_PTR( mw_options );
mw_options->setCheckable( TRUE );
for (int mw = 0; mw <= max_mw; mw++) {
TQString str;

@ -16,7 +16,7 @@
class ImageIconProvider : public TQFileIconProvider
{
Q_OBJECT
TQ_OBJECT
TQStrList fmts;
TQPixmap imagepm;

@ -20,7 +20,7 @@ class TQMultiLineEdit;
class ImageTextEditor : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
ImageTextEditor( TQImage& i, TQWidget *parent=0, const char *name=0, WFlags f=0 );
~ImageTextEditor();

@ -20,7 +20,7 @@ class TQPopupMenu;
class ImageViewer : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
ImageViewer( TQWidget *parent=0, const char *name=0, int wFlags=0 );
~ImageViewer();

@ -13,7 +13,7 @@
#include <ntqmainwindow.h>
class SoundPlayer : public TQMainWindow {
Q_OBJECT
TQ_OBJECT
public:
SoundPlayer();

@ -21,7 +21,7 @@
class CustomEdit : public TQLineEdit
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine )
public:
CustomEdit( TQWidget *parent=0, const char *name=0 );
@ -36,7 +36,7 @@ class CustomEdit : public TQLineEdit
class FormDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
FormDialog();
~FormDialog();

@ -20,7 +20,7 @@
class FormDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
FormDialog();
~FormDialog();

@ -18,7 +18,7 @@
class StatusPicker : public TQComboBox
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( TQWidget *parent=0, const char *name=0 );
@ -31,7 +31,7 @@ class StatusPicker : public TQComboBox
class CustomSqlEditorFactory : public TQSqlEditorFactory
{
Q_OBJECT
TQ_OBJECT
public:
TQWidget *createEditor( TQWidget *parent, const TQSqlField *field );
};

@ -20,7 +20,7 @@
class StatusPicker : public TQComboBox
{
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( TQWidget *parent=0, const char *name=0 );
@ -33,7 +33,7 @@ private:
class CustomTable : public TQDataTable
{
Q_OBJECT
TQ_OBJECT
public:
CustomTable(
TQSqlCursor *cursor, bool autoPopulate = FALSE,
@ -47,7 +47,7 @@ public:
class CustomSqlEditorFactory : public TQSqlEditorFactory
{
Q_OBJECT
TQ_OBJECT
public:
TQWidget *createEditor( TQWidget *parent, const TQSqlField *field );
};

@ -16,7 +16,7 @@
class TabDialog : public TQTabDialog
{
Q_OBJECT
TQ_OBJECT
public:
TabDialog( TQWidget *parent, const char *name, const TQString &_filename );

@ -35,7 +35,7 @@ private:
class Table : public TQTable
{
Q_OBJECT
TQ_OBJECT
public:
Table();

@ -20,7 +20,7 @@
class Canvas : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
Canvas( TQWidget *parent = 0, const char *name = 0, WFlags fl = 0 );

@ -27,7 +27,7 @@ class Canvas;
class Scribble : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
Scribble( TQWidget *parent = 0, const char *name = 0 );

@ -19,7 +19,7 @@ class TQLabel;
class MyOrientation : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
MyOrientation( TQWidget *parent = 0, const char *name = 0 );
virtual ~MyOrientation();
@ -31,7 +31,7 @@ public slots:
class StatsCanvas : public Canvas
{
Q_OBJECT
TQ_OBJECT
public:
StatsCanvas( TQWidget *parent = 0, const char* name = 0 );
~StatsCanvas();
@ -54,7 +54,7 @@ private:
class TabletStats : public TabletStatsBase
{
Q_OBJECT
TQ_OBJECT
public:
TabletStats( TQWidget *parent, const char* name );
~TabletStats();

@ -25,7 +25,7 @@ class TQDragger;
class DropWindow : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
void paintEvent( TQPaintEvent * );
void closeEvent( TQCloseEvent * );
@ -50,7 +50,7 @@ struct DraggedInfo {
class TQDragger : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQDragger();
~TQDragger();

@ -16,7 +16,7 @@ class TQDragger;
class TQDragApplication : public TQApplication
{
Q_OBJECT
TQ_OBJECT
public:
TQDragApplication( int &argc, char **argv );
virtual ~TQDragApplication();

@ -20,7 +20,7 @@
class ShowNextPiece : public TQFrame
{
Q_OBJECT
TQ_OBJECT
friend class TQTetrix;
public:
ShowNextPiece( TQWidget *parent=0, const char *name=0 );
@ -39,7 +39,7 @@ private:
class TQTetrix : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TQTetrix( TQWidget *parent=0, const char *name=0 );
void startGame() { board->startGame(); }

@ -17,7 +17,7 @@ class TQTimer;
class TQTetrixBoard : public TQFrame, public GenericTetrix
{
Q_OBJECT
TQ_OBJECT
public:
TQTetrixBoard( TQWidget *parent=0, const char *name=0 );

@ -20,7 +20,7 @@ class TQTextEdit;
class TextEdit : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
TextEdit( TQWidget *parent = 0, const char *name = 0 );

@ -17,7 +17,7 @@ class TQTabWidget;
class Themes: public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
Themes( TQWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel );

@ -220,7 +220,7 @@ void ConsThread::run()
class ProdCons : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
ProdCons();

@ -141,7 +141,7 @@ void GreenThread::stop()
class SemaphoreExample : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
SemaphoreExample();
~SemaphoreExample();

@ -24,7 +24,7 @@ class TQLabel;
class TicTacButton : public TQPushButton
{
Q_OBJECT
TQ_OBJECT
public:
TicTacButton( TQWidget *parent );
enum Type { Blank, Circle, Cross };
@ -55,7 +55,7 @@ typedef TQMemArray<int> TicTacArray;
class TicTacGameBoard : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TicTacGameBoard( int n, TQWidget *parent=0, const char *name=0 );
~TicTacGameBoard();
@ -88,7 +88,7 @@ private:
class TicTacToe : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TicTacToe( int boardSize=3, TQWidget *parent=0, const char *name=0 );
private slots:

@ -23,7 +23,7 @@ protected:
class TellMe : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
TellMe( TQWidget * parent = 0, const char * name = 0 );
~TellMe();

@ -27,7 +27,7 @@ class TQPopupMenu;
class MyListView : public TQListView
{
Q_OBJECT
TQ_OBJECT
public:
MyListView( TQWidget * parent = 0, const char *name = 0 )
: TQListView( parent, name ), selected(0)
@ -64,7 +64,7 @@ private:
class WidgetView : public TQMainWindow
{
Q_OBJECT
TQ_OBJECT
public:
WidgetView( TQWidget *parent=0, const char *name=0 );

@ -19,7 +19,7 @@ class TQLabel;
class Wizard : public TQWizard
{
Q_OBJECT
TQ_OBJECT
public:
Wizard( TQWidget *parent = 0, const char *name = 0 );

@ -39,7 +39,7 @@ public:
class XFormControl : public TQVBox, public ModeNames
{
Q_OBJECT
TQ_OBJECT
public:
XFormControl( const TQFont &initialFont, TQWidget *parent=0, const char *name=0 );
~XFormControl() {}
@ -83,7 +83,7 @@ private:
class ShowXForm : public TQWidget, public ModeNames
{
Q_OBJECT
TQ_OBJECT
public:
ShowXForm( const TQFont &f, TQWidget *parent=0, const char *name=0 );
~ShowXForm() {}
@ -434,7 +434,7 @@ void ShowXForm::showIt()
class XFormCenter : public TQHBox, public ModeNames
{
Q_OBJECT
TQ_OBJECT
public:
XFormCenter( TQWidget *parent=0, const char *name=0 );
public slots:

@ -15,7 +15,7 @@
class OutlineTree : public TQListView
{
Q_OBJECT
TQ_OBJECT
public:
OutlineTree( const TQString fileName, TQWidget *parent = 0, const char *name = 0 );

@ -48,7 +48,7 @@ public:
//
class Graph : public TQNPWidget {
Q_OBJECT
TQ_OBJECT
public:
// Constructs a Graph to display a GraphModel
//
@ -376,7 +376,7 @@ const char* Graph::styleName[] = { "Pie", "Bar", 0 };
//
class Grapher : public TQNPInstance, GraphModel {
Q_OBJECT
TQ_OBJECT
public:
// Create a Grapher - all Grapher plugins are created
// by one GrapherPlugin object.

@ -4,7 +4,7 @@
#include <ntqmessagebox.h>
class Trivial : public TQNPWidget {
Q_OBJECT
TQ_OBJECT
public:
void mouseReleaseEvent(TQMouseEvent* event)
{
@ -22,7 +22,7 @@ public:
};
class TrivialInstance : public TQNPInstance {
Q_OBJECT
TQ_OBJECT
public:
TQNPWidget* newWindow()
{

@ -81,7 +81,7 @@ private:
};
class TQNPWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
TQNPWidget();
~TQNPWidget();
@ -98,7 +98,7 @@ private:
};
class TQNPInstance : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
~TQNPInstance();

@ -55,7 +55,7 @@ class TQPopupMenu;
class TQMultiInputContext : public TQInputContext
{
Q_OBJECT
TQ_OBJECT
public:
TQMultiInputContext();
~TQMultiInputContext();
@ -78,7 +78,7 @@ public:
bool isComposing() const;
bool isPreeditRelocationEnabled();
#if (QT_VERSION-0 >= 0x040000)
#if (TQT_VERSION-0 >= 0x040000)
TQPtrList<TQMenu> *qt4menus();
#endif
TQPtrList<TQInputContextMenu> *menus();

@ -48,7 +48,7 @@
class TQMultiInputContextPlugin : public TQInputContextPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQMultiInputContextPlugin();
~TQMultiInputContextPlugin();

@ -47,7 +47,7 @@
class TQNoneInputContextPlugin : public TQInputContextPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQNoneInputContextPlugin();
~TQNoneInputContextPlugin();

@ -61,7 +61,7 @@ struct TQComposeTable {
class TQSimpleInputContext : public TQInputContext {
Q_OBJECT
TQ_OBJECT
public:
TQSimpleInputContext();
~TQSimpleInputContext();

@ -48,7 +48,7 @@
class TQSimpleInputContextPlugin : public TQInputContextPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQSimpleInputContextPlugin();
~TQSimpleInputContextPlugin();

@ -70,7 +70,7 @@ class TQString;
class TQXIMInputContext : public TQInputContext
{
Q_OBJECT
TQ_OBJECT
public:
#ifdef Q_WS_X11
TQXIMInputContext();

@ -48,7 +48,7 @@
class TQXIMInputContextPlugin : public TQInputContextPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQXIMInputContextPlugin();
~TQXIMInputContextPlugin();

@ -676,7 +676,7 @@ rarely needs to be modified.
\section3 OBJMOC
This variable is set by \e qmake if files can be found that
contain the Q_OBJECT macro. \c OBJMOC contains the
contain the TQ_OBJECT macro. \c OBJMOC contains the
name of all intermediate moc object files. The value of this variable
is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be
modified.
@ -1605,7 +1605,7 @@ The value of this variable is typically handled by \e qmake or
\section3 SRCMOC
This variable is set by \e qmake if files can be found that
contain the Q_OBJECT macro. \c SRCMOC contains the
contain the TQ_OBJECT macro. \c SRCMOC contains the
name of all the generated moc files. The value of this variable
is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be
modified.

@ -134,9 +134,9 @@ MakefileGenerator::generateMocList(const TQString &fn_target)
bool ignore_qobject = FALSE;
int line_count = 1;
/* qmake ignore Q_OBJECT */
#define COMP_LEN 8 //strlen("Q_OBJECT")
#define OBJ_LEN 8 //strlen("Q_OBJECT")
/* qmake ignore TQ_OBJECT */
#define COMP_LEN 9 //strlen("TQ_OBJECT")
#define OBJ_LEN 9 //strlen("TQ_OBJECT")
#define DIS_LEN 10 //strlen("Q_DISPATCH")
int x;
for(x = 0; x < (total_size_read-COMP_LEN); x++) {
@ -150,8 +150,8 @@ MakefileGenerator::generateMocList(const TQString &fn_target)
for( ;x < total_size_read; x++) {
if(*(big_buffer + x) == 't' || *(big_buffer + x) == 'q') { //ignore
if(total_size_read >= (x + 20)) {
if(!strncmp(big_buffer + x + 1, "make ignore Q_OBJECT", 20)) {
debug_msg(2, "Mocgen: %s:%d Found \"qmake ignore Q_OBJECT\"",
if(!strncmp(big_buffer + x + 1, "make ignore TQ_OBJECT", 20)) {
debug_msg(2, "Mocgen: %s:%d Found \"qmake ignore TQ_OBJECT\"",
fn_target.latin1(), line_count);
x += 20;
ignore_qobject = TRUE;
@ -172,13 +172,13 @@ MakefileGenerator::generateMocList(const TQString &fn_target)
#define SYMBOL_CHAR(x) ((x >= 'a' && x <= 'z') || (x >= 'A' && x <= 'Z') || \
(x <= '0' && x >= '9') || x == '_')
bool interesting = *(big_buffer+x) == 'Q' && (!strncmp(big_buffer+x, "Q_OBJECT", OBJ_LEN) ||
bool interesting = ((*(big_buffer+x) == 'T') || (*(big_buffer+x) == 'Q')) && (!strncmp(big_buffer+x, "TQ_OBJECT", OBJ_LEN) ||
!strncmp(big_buffer+x, "Q_DISPATCH", DIS_LEN));
if(interesting) {
int len = 0;
if(!strncmp(big_buffer+x, "Q_OBJECT", OBJ_LEN)) {
if(!strncmp(big_buffer+x, "TQ_OBJECT", OBJ_LEN)) {
if(ignore_qobject) {
debug_msg(2, "Mocgen: %s:%d Ignoring Q_OBJECT", fn_target.latin1(), line_count);
debug_msg(2, "Mocgen: %s:%d Ignoring TQ_OBJECT", fn_target.latin1(), line_count);
interesting = FALSE;
}
len=OBJ_LEN;
@ -2101,14 +2101,14 @@ TQString MakefileGenerator::buildArgs()
//arguments
for(TQStringList::Iterator it = Option::before_user_vars.begin();
it != Option::before_user_vars.end(); ++it) {
if((*it).left(qstrlen("QMAKE_ABSOLUTE_SOURCE_PATH")) != "QMAKE_ABSOLUTE_SOURCE_PATH")
if((*it).left(tqstrlen("QMAKE_ABSOLUTE_SOURCE_PATH")) != "QMAKE_ABSOLUTE_SOURCE_PATH")
ret += " \"" + (*it) + "\"";
}
if(Option::after_user_vars.count()) {
ret += " -after ";
for(TQStringList::Iterator it = Option::after_user_vars.begin();
it != Option::after_user_vars.end(); ++it) {
if((*it).left(qstrlen("QMAKE_ABSOLUTE_SOURCE_PATH")) != "QMAKE_ABSOLUTE_SOURCE_PATH")
if((*it).left(tqstrlen("QMAKE_ABSOLUTE_SOURCE_PATH")) != "QMAKE_ABSOLUTE_SOURCE_PATH")
ret += " \"" + (*it) + "\"";
}
}
@ -2145,7 +2145,7 @@ MakefileGenerator::writeHeader(TQTextStream &t)
time_t foo = time(NULL);
t << "#############################################################################" << endl;
t << "# Makefile for building: " << var("TARGET") << endl;
t << "# Generated by qmake (" << qmake_version() << ") (TQt " << QT_VERSION_STR << ") on: " << ctime(&foo);
t << "# Generated by qmake (" << qmake_version() << ") (TQt " << TQT_VERSION_STR << ") on: " << ctime(&foo);
t << "# Project: " << fileFixify(project->projectFile()) << endl;
t << "# Template: " << var("TEMPLATE") << endl;
t << "# Command: " << build_args() << endl;

@ -1433,7 +1433,7 @@ UnixMakefileGenerator::writeLibtoolFile()
t << "# " << lname << " - a libtool library file\n";
time_t now = time(NULL);
t << "# Generated by qmake/libtool (" << qmake_version() << ") (TQt "
<< QT_VERSION_STR << ") on: " << ctime(&now) << "\n";
<< TQT_VERSION_STR << ") on: " << ctime(&now) << "\n";
t << "# The name that we can dlopen(3).\n"
<< "dlname='" << var(project->isActiveConfig("plugin") ? "TARGET" : "TARGET_x")

@ -225,7 +225,7 @@ Option::internalParseCommandLine(int argc, char **argv, int skip)
} else if(opt == "d") {
Option::debug_level++;
} else if(opt == "version" || opt == "v" || opt == "-version") {
fprintf(stderr, "Qmake version: %s (TQt %s)\n", qmake_version(), QT_VERSION_STR);
fprintf(stderr, "Qmake version: %s (TQt %s)\n", qmake_version(), TQT_VERSION_STR);
fprintf(stderr, "Qmake is free software from Trolltech ASA.\n");
return QMAKE_CMDLINE_BAIL;
} else if(opt == "h" || opt == "help") {

@ -685,7 +685,7 @@ TQMakeProject::read(uchar cmd)
// fprintf(stderr,"Current QT version number: " + ver + "\n");
if (ver != "" && ver != test_version) {
ver = test_version;
fprintf(stderr,"Changed QT version number to " + test_version + "!\n");
fprintf(stderr,"Changed QT version number to %s!\n", test_version.ascii());
}
}
}

@ -28,7 +28,7 @@ class TQValidator;
class TQtMultiLineEdit : public TQtTableView
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( EchoMode WordWrap WrapPolicy )
Q_PROPERTY( int numLines READ numLines )
Q_PROPERTY( bool atBeginning READ atBeginning )
@ -317,7 +317,7 @@ private:
void processCmd( TQtMultiLineEditCommand*, bool );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQtMultiLineEdit( const TQtMultiLineEdit & );
TQtMultiLineEdit &operator=( const TQtMultiLineEdit & );
#endif

@ -1072,7 +1072,7 @@ void TQtTableView::coverCornerSquare( bool enable )
coveringCornerSquare = enable;
if ( !cornerSquare && enable ) {
cornerSquare = new TQCornerSquare( this );
Q_CHECK_PTR( cornerSquare );
TQ_CHECK_PTR( cornerSquare );
cornerSquare->setGeometry( maxViewX() + frameWidth() + 1,
maxViewY() + frameWidth() + 1,
VSBEXT,
@ -1442,7 +1442,7 @@ TQScrollBar *TQtTableView::verticalScrollBar() const
sb->setCursor( arrowCursor );
#endif
sb->resize( sb->sizeHint() ); // height is irrelevant
Q_CHECK_PTR(sb);
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
sb->setFocusPolicy( NoFocus );
connect( sb, SIGNAL(valueChanged(int)),
@ -1474,7 +1474,7 @@ TQScrollBar *TQtTableView::horizontalScrollBar() const
#endif
sb->resize( sb->sizeHint() ); // width is irrelevant
sb->setFocusPolicy( NoFocus );
Q_CHECK_PTR(sb);
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
connect( sb, SIGNAL(valueChanged(int)),
SLOT(horSbValue(int)));

@ -26,7 +26,7 @@ class TQCornerSquare;
class TQtTableView : public TQFrame
{
Q_OBJECT
TQ_OBJECT
public:
virtual void setBackgroundColor( const TQColor & );
virtual void setPalette( const TQPalette & );
@ -168,7 +168,7 @@ private:
TQCornerSquare *cornerSquare;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQtTableView( const TQtTableView & );
TQtTableView &operator=( const TQtTableView & );
#endif

@ -51,7 +51,7 @@
#include "ntqpointarray.h"
#endif // QT_H
#if !defined( QT_MODULE_CANVAS ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_CANVAS )
#if !defined( TQT_MODULE_CANVAS ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_CANVAS )
#define TQM_EXPORT_CANVAS
#define TQM_TEMPLATE_EXTERN_CANVAS
#else
@ -218,7 +218,7 @@ class TQCanvasData;
class TQM_EXPORT_CANVAS TQCanvas : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQCanvas( TQObject* parent = 0, const char* name = 0 );
TQCanvas(int w, int h);
@ -353,7 +353,7 @@ private:
friend void qt_unview(TQCanvas* c);
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQCanvas( const TQCanvas & );
TQCanvas &operator=( const TQCanvas & );
#endif
@ -363,7 +363,7 @@ class TQCanvasViewData;
class TQM_EXPORT_CANVAS TQCanvasView : public TQScrollView
{
Q_OBJECT
TQ_OBJECT
public:
TQCanvasView(TQWidget* parent=0, const char* name=0, WFlags f=0);
@ -393,7 +393,7 @@ private slots:
void updateContentsSize();
private:
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQCanvasView( const TQCanvasView & );
TQCanvasView &operator=( const TQCanvasView & );
#endif
@ -417,7 +417,7 @@ public:
void setOffset(int x, int y) { hotx = x; hoty = y; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasPixmap( const TQCanvasPixmap & );
TQCanvasPixmap &operator=( const TQCanvasPixmap & );
#endif
@ -463,7 +463,7 @@ public:
{ return (uint)framecount; }
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasPixmapArray( const TQCanvasPixmapArray & );
TQCanvasPixmapArray &operator=( const TQCanvasPixmapArray & );
#endif
@ -529,7 +529,7 @@ public:
void draw(TQPainter& painter);
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasSprite( const TQCanvasSprite & );
TQCanvasSprite &operator=( const TQCanvasSprite & );
#endif
@ -786,7 +786,7 @@ protected:
virtual void draw(TQPainter&);
private:
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQCanvasText( const TQCanvasText & );
TQCanvasText &operator=( const TQCanvasText & );
#endif

@ -52,7 +52,7 @@ class TQTextCodecPluginPrivate;
class Q_EXPORT TQTextCodecPlugin : public TQGPlugin
{
Q_OBJECT
TQ_OBJECT
public:
TQTextCodecPlugin();
~TQTextCodecPlugin();

@ -109,7 +109,7 @@ void TQFontJis0201Codec::fromUnicode(const TQChar *in, unsigned short *out, int
int TQFontJis0201Codec::heuristicNameMatch(const char* hint) const
{
if ( qstrncmp( hint, "jisx0201", 8 ) == 0 )
if ( tqstrncmp( hint, "jisx0201", 8 ) == 0 )
return 20;
return -1;
@ -137,7 +137,7 @@ int TQFontJis0208Codec::heuristicContentMatch(const char *, int) const
int TQFontJis0208Codec::heuristicNameMatch(const char *hint) const
{
if ( qstrncmp( hint, "jisx0208.", 9 ) == 0 )
if ( tqstrncmp( hint, "jisx0208.", 9 ) == 0 )
return 20;
return -1;
}

@ -117,7 +117,7 @@
#include "ntqgb18030codec.h"
#if (QT_VERSION-0 >= 0x040000)
#if (TQT_VERSION-0 >= 0x040000)
#error "move obsolete header <ntqgbkcodec.h> into the src/compat directory"
#endif

@ -504,17 +504,17 @@ int TQTextCodec::simpleHeuristicNameMatch(const char* name, const char* hint)
{
// if they're the same, return a perfect score.
if ( name && hint && *name && *hint && qstricmp( name, hint ) == 0 )
return qstrlen( hint );
return tqstrlen( hint );
// if the letters and numbers are the same, we have an "almost"
// perfect match.
TQString h( lettersAndNumbers( hint ) );
TQString n( lettersAndNumbers( name ) );
if ( h == n )
return qstrlen( hint )-1;
return tqstrlen( hint )-1;
if ( h.stripWhiteSpace() == n.stripWhiteSpace() )
return qstrlen( hint )-2;
return tqstrlen( hint )-2;
// could do some more here, but I don't think it's worth it
@ -1115,7 +1115,7 @@ TQString TQTextCodec::toUnicode(const TQCString& a) const
*/
TQString TQTextCodec::toUnicode(const char* chars) const
{
return toUnicode(chars,qstrlen(chars));
return toUnicode(chars,tqstrlen(chars));
}
/*!

@ -79,7 +79,7 @@ static void create_manager()
new TQPluginManager<TQTextCodecFactoryInterface>(IID_QTextCodecFactory,
TQApplication::libraryPaths(), "/codecs",
FALSE);
Q_CHECK_PTR( manager );
TQ_CHECK_PTR( manager );
cleanup_manager.set( &manager );
}

@ -51,7 +51,7 @@ class TQColorDialogPrivate;
class Q_EXPORT TQColorDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
static TQColor getColor( const TQColor& init = white, TQWidget* parent=0, const char* name=0 );
@ -82,7 +82,7 @@ private: // Disabled copy constructor and operator=
friend class TQColorDialogPrivate;
friend class TQColorShower;
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQColorDialog( const TQColorDialog & );
TQColorDialog& operator=( const TQColorDialog & );
#endif

@ -46,7 +46,7 @@
#endif // QT_H
#ifndef QT_NO_DIALOG
#if 0
Q_OBJECT
TQ_OBJECT
#endif
class TQPushButton;
@ -55,7 +55,7 @@ class TQDialogPrivate;
class Q_EXPORT TQDialog : public TQWidget
{
friend class TQPushButton;
Q_OBJECT
TQ_OBJECT
Q_PROPERTY( bool sizeGripEnabled READ isSizeGripEnabled WRITE setSizeGripEnabled )
Q_PROPERTY( bool modal READ isModal WRITE setModal )
@ -131,7 +131,7 @@ private:
TQDialogPrivate* d;
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQDialog( const TQDialog & );
TQDialog &operator=( const TQDialog & );
#endif

@ -55,7 +55,7 @@ template<class type> class TQDict;
class Q_EXPORT TQErrorMessage: public TQDialog {
Q_OBJECT
TQ_OBJECT
public:
TQErrorMessage( TQWidget* parent, const char* name=0 );
~TQErrorMessage();
@ -78,7 +78,7 @@ private:
bool nextPending();
#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQErrorMessage( const TQErrorMessage & );
TQErrorMessage &operator=( const TQErrorMessage & );
#endif

@ -69,13 +69,13 @@ class TQFileDialogTQFileListView;
class Q_EXPORT TQFileIconProvider : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TQFileIconProvider( TQObject * parent = 0, const char* name = 0 );
virtual const TQPixmap * pixmap( const TQFileInfo & );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFileIconProvider( const TQFileIconProvider & );
TQFileIconProvider& operator=( const TQFileIconProvider & );
#endif
@ -91,7 +91,7 @@ public:
class Q_EXPORT TQFileDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
Q_ENUMS( Mode ViewMode PreviewMode )
// ##### Why are this read-only properties ?
Q_PROPERTY( TQString selectedFile READ selectedFile )
@ -336,7 +336,7 @@ private:
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
#if defined(TQ_DISABLE_COPY)
TQFileDialog( const TQFileDialog & );
TQFileDialog &operator=( const TQFileDialog & );
#endif

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save