summaryrefslogtreecommitdiffstats
path: root/examples/demo
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-26 23:32:43 -0600
committerTimothy Pearson <[email protected]>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /examples/demo
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'examples/demo')
-rw-r--r--examples/demo/categoryinterface.h6
-rw-r--r--examples/demo/display.cpp18
-rw-r--r--examples/demo/display.h4
-rw-r--r--examples/demo/dnd/dnd.cpp8
-rw-r--r--examples/demo/dnd/dnd.h4
-rw-r--r--examples/demo/dnd/iconview.cpp2
-rw-r--r--examples/demo/dnd/iconview.h4
-rw-r--r--examples/demo/dnd/listview.cpp4
-rw-r--r--examples/demo/dnd/listview.h2
-rw-r--r--examples/demo/dnd/styledbutton.cpp18
-rw-r--r--examples/demo/dnd/styledbutton.h4
-rw-r--r--examples/demo/frame.cpp30
-rw-r--r--examples/demo/frame.h4
-rw-r--r--examples/demo/graph.cpp14
-rw-r--r--examples/demo/graph.h2
-rw-r--r--examples/demo/i18n/i18n.cpp28
-rw-r--r--examples/demo/i18n/i18n.h2
-rw-r--r--examples/demo/i18n/wrapper.h4
-rw-r--r--examples/demo/main.cpp18
-rw-r--r--examples/demo/opengl/fbm.c2
-rw-r--r--examples/demo/opengl/glcontrolwidget.cpp4
-rw-r--r--examples/demo/opengl/glcontrolwidget.h2
-rw-r--r--examples/demo/opengl/glinfo.h2
-rw-r--r--examples/demo/opengl/glinfo_x11.cpp4
-rw-r--r--examples/demo/opengl/glinfotext.h6
-rw-r--r--examples/demo/opengl/gllandscape.cpp2
-rw-r--r--examples/demo/opengl/gllandscape.h2
-rw-r--r--examples/demo/opengl/gltexobj.cpp2
-rw-r--r--examples/demo/opengl/glworkspace.cpp22
-rw-r--r--examples/demo/opengl/glworkspace.h2
-rw-r--r--examples/demo/opengl/printpreview.ui4
-rw-r--r--examples/demo/qasteroids/ledmeter.cpp2
-rw-r--r--examples/demo/qasteroids/ledmeter.h4
-rw-r--r--examples/demo/qasteroids/sprites.h2
-rw-r--r--examples/demo/qasteroids/toplevel.cpp12
-rw-r--r--examples/demo/qasteroids/toplevel.h6
-rw-r--r--examples/demo/qasteroids/view.cpp8
-rw-r--r--examples/demo/qasteroids/view.h10
-rw-r--r--examples/demo/qthumbwheel.cpp6
-rw-r--r--examples/demo/qthumbwheel.h4
-rw-r--r--examples/demo/sql/connect.ui.h2
-rw-r--r--examples/demo/sql/sqlex.ui.h20
-rw-r--r--examples/demo/textdrawing/example.html126
-rw-r--r--examples/demo/textdrawing/helpwindow.cpp48
-rw-r--r--examples/demo/textdrawing/helpwindow.h10
-rw-r--r--examples/demo/textdrawing/textedit.cpp36
-rw-r--r--examples/demo/textdrawing/textedit.h4
-rw-r--r--examples/demo/widgets/widgetsbase.ui.h2
-rw-r--r--examples/demo/widgets/widgetsbase_pro.ui.h2
49 files changed, 267 insertions, 267 deletions
diff --git a/examples/demo/categoryinterface.h b/examples/demo/categoryinterface.h
index 0d497eafa..978e1380d 100644
--- a/examples/demo/categoryinterface.h
+++ b/examples/demo/categoryinterface.h
@@ -1,9 +1,9 @@
#ifndef CATEGORYINTERFACE_H
#define CATEGORYINTERFACE_H
-#include <qstring.h>
-#include <qiconset.h>
-#include <qobject.h>
+#include <ntqstring.h>
+#include <ntqiconset.h>
+#include <ntqobject.h>
class TQWidgetStack;
diff --git a/examples/demo/display.cpp b/examples/demo/display.cpp
index 659f2c874..7ca28c828 100644
--- a/examples/demo/display.cpp
+++ b/examples/demo/display.cpp
@@ -9,15 +9,15 @@
#include "display.h"
-#include <qpainter.h>
-#include <qlayout.h>
-#include <qtimer.h>
-#include <qpushbutton.h>
-#include <qframe.h>
-#include <qdial.h>
-#include <qlcdnumber.h>
-#include <qprogressbar.h>
-#include <qspinbox.h>
+#include <ntqpainter.h>
+#include <ntqlayout.h>
+#include <ntqtimer.h>
+#include <ntqpushbutton.h>
+#include <ntqframe.h>
+#include <ntqdial.h>
+#include <ntqlcdnumber.h>
+#include <ntqprogressbar.h>
+#include <ntqspinbox.h>
#include <math.h>
diff --git a/examples/demo/display.h b/examples/demo/display.h
index 68e6843c1..3a86e2368 100644
--- a/examples/demo/display.h
+++ b/examples/demo/display.h
@@ -11,8 +11,8 @@
#define DISPLAY_H
#ifndef QT_H
-#include <qwidget.h>
-#include <qframe.h>
+#include <ntqwidget.h>
+#include <ntqframe.h>
#endif // QT_H
class TQTimer;
diff --git a/examples/demo/dnd/dnd.cpp b/examples/demo/dnd/dnd.cpp
index 00501f5df..f03c918df 100644
--- a/examples/demo/dnd/dnd.cpp
+++ b/examples/demo/dnd/dnd.cpp
@@ -1,7 +1,7 @@
-#include <qiconview.h>
-#include <qdragobject.h>
-#include <qlayout.h>
-#include <qmultilineedit.h>
+#include <ntqiconview.h>
+#include <ntqdragobject.h>
+#include <ntqlayout.h>
+#include <ntqmultilineedit.h>
#include "dnd.h"
#include "styledbutton.h"
diff --git a/examples/demo/dnd/dnd.h b/examples/demo/dnd/dnd.h
index 311360daf..7860cac53 100644
--- a/examples/demo/dnd/dnd.h
+++ b/examples/demo/dnd/dnd.h
@@ -1,5 +1,5 @@
-#include <qpixmap.h>
-#include <qmap.h>
+#include <ntqpixmap.h>
+#include <ntqmap.h>
#include "dndbase.h"
#ifndef DNDDEMO_H
diff --git a/examples/demo/dnd/iconview.cpp b/examples/demo/dnd/iconview.cpp
index c8ce01b87..fe65c4911 100644
--- a/examples/demo/dnd/iconview.cpp
+++ b/examples/demo/dnd/iconview.cpp
@@ -1,4 +1,4 @@
-#include <qdragobject.h>
+#include <ntqdragobject.h>
#include "dnd.h"
#include "iconview.h"
diff --git a/examples/demo/dnd/iconview.h b/examples/demo/dnd/iconview.h
index a0b4e3a95..b02949a83 100644
--- a/examples/demo/dnd/iconview.h
+++ b/examples/demo/dnd/iconview.h
@@ -1,5 +1,5 @@
-#include <qiconview.h>
-#include <qstring.h>
+#include <ntqiconview.h>
+#include <ntqstring.h>
#include "dnd.h"
diff --git a/examples/demo/dnd/listview.cpp b/examples/demo/dnd/listview.cpp
index 443bb7e50..0cb86d2c4 100644
--- a/examples/demo/dnd/listview.cpp
+++ b/examples/demo/dnd/listview.cpp
@@ -1,5 +1,5 @@
-#include <qdragobject.h>
-#include <qapplication.h>
+#include <ntqdragobject.h>
+#include <ntqapplication.h>
#include "listview.h"
#include "dnd.h"
diff --git a/examples/demo/dnd/listview.h b/examples/demo/dnd/listview.h
index b6b17a0da..c45749516 100644
--- a/examples/demo/dnd/listview.h
+++ b/examples/demo/dnd/listview.h
@@ -1,4 +1,4 @@
-#include <qlistview.h>
+#include <ntqlistview.h>
class ListViewItem : public TQListViewItem
{
diff --git a/examples/demo/dnd/styledbutton.cpp b/examples/demo/dnd/styledbutton.cpp
index c2aba0bc9..383f555d2 100644
--- a/examples/demo/dnd/styledbutton.cpp
+++ b/examples/demo/dnd/styledbutton.cpp
@@ -33,15 +33,15 @@
#include "styledbutton.h"
-#include <qcolordialog.h>
-#include <qpalette.h>
-#include <qlabel.h>
-#include <qpainter.h>
-#include <qimage.h>
-#include <qpixmap.h>
-#include <qapplication.h>
-#include <qdragobject.h>
-#include <qstyle.h>
+#include <ntqcolordialog.h>
+#include <ntqpalette.h>
+#include <ntqlabel.h>
+#include <ntqpainter.h>
+#include <ntqimage.h>
+#include <ntqpixmap.h>
+#include <ntqapplication.h>
+#include <ntqdragobject.h>
+#include <ntqstyle.h>
StyledButton::StyledButton(TQWidget* parent, const char* name)
: TQButton( parent, name ), pix( 0 ), spix( 0 ), edit( ColorEditor ), s( 0 ), mousePressed( FALSE )
diff --git a/examples/demo/dnd/styledbutton.h b/examples/demo/dnd/styledbutton.h
index 69339baa5..ae99f5cf7 100644
--- a/examples/demo/dnd/styledbutton.h
+++ b/examples/demo/dnd/styledbutton.h
@@ -34,8 +34,8 @@
#ifndef STYLEDBUTTON_H
#define STYLEDBUTTON_H
-#include <qbutton.h>
-#include <qpixmap.h>
+#include <ntqbutton.h>
+#include <ntqpixmap.h>
class TQColor;
class TQBrush;
diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp
index a712f7b4f..2c7152b5d 100644
--- a/examples/demo/frame.cpp
+++ b/examples/demo/frame.cpp
@@ -9,22 +9,22 @@
#include "frame.h"
-#include <qapplication.h>
-#include <qpopupmenu.h>
-#include <qmenubar.h>
-#include <qaccel.h>
-#include <qtoolbox.h>
-#include <qpainter.h>
-#include <qwidgetstack.h>
-#include <qstylefactory.h>
-#include <qaction.h>
-#include <qsignalmapper.h>
-#include <qdict.h>
-#include <qdir.h>
-#include <qtextcodec.h>
+#include <ntqapplication.h>
+#include <ntqpopupmenu.h>
+#include <ntqmenubar.h>
+#include <ntqaccel.h>
+#include <ntqtoolbox.h>
+#include <ntqpainter.h>
+#include <ntqwidgetstack.h>
+#include <ntqstylefactory.h>
+#include <ntqaction.h>
+#include <ntqsignalmapper.h>
+#include <ntqdict.h>
+#include <ntqdir.h>
+#include <ntqtextcodec.h>
#include <stdlib.h>
-#include <qbuttongroup.h>
-#include <qtoolbutton.h>
+#include <ntqbuttongroup.h>
+#include <ntqtoolbutton.h>
static TQTranslator *translator = 0;
static TQTranslator *qt_translator = 0;
diff --git a/examples/demo/frame.h b/examples/demo/frame.h
index 865ea21db..4097692af 100644
--- a/examples/demo/frame.h
+++ b/examples/demo/frame.h
@@ -7,8 +7,8 @@
**
*****************************************************************************/
-#include <qmainwindow.h>
-#include <qintdict.h>
+#include <ntqmainwindow.h>
+#include <ntqintdict.h>
#include "categoryinterface.h"
class TQToolBox;
diff --git a/examples/demo/graph.cpp b/examples/demo/graph.cpp
index 96e03d6ab..b99e93aca 100644
--- a/examples/demo/graph.cpp
+++ b/examples/demo/graph.cpp
@@ -1,12 +1,12 @@
#include "graph.h"
-#include <qcanvas.h>
+#include <ntqcanvas.h>
#include <stdlib.h>
-#include <qdatetime.h>
-#include <qhbox.h>
-#include <qpushbutton.h>
-#include <qslider.h>
-#include <qlabel.h>
-#include <qlayout.h>
+#include <ntqdatetime.h>
+#include <ntqhbox.h>
+#include <ntqpushbutton.h>
+#include <ntqslider.h>
+#include <ntqlabel.h>
+#include <ntqlayout.h>
const int bounce_rtti = 1234;
diff --git a/examples/demo/graph.h b/examples/demo/graph.h
index 841202bd0..58221b8b4 100644
--- a/examples/demo/graph.h
+++ b/examples/demo/graph.h
@@ -7,7 +7,7 @@
**
*****************************************************************************/
-#include <qwidget.h>
+#include <ntqwidget.h>
class TQStyle;
class TQListBox;
class TQListBoxItem;
diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp
index a66c21670..79f928268 100644
--- a/examples/demo/i18n/i18n.cpp
+++ b/examples/demo/i18n/i18n.cpp
@@ -2,20 +2,20 @@
#include "wrapper.h"
#include "../textdrawing/textedit.h"
-#include <qaction.h>
-#include <qlayout.h>
-#include <qvbox.h>
-#include <qworkspace.h>
-#include <qpopupmenu.h>
-#include <qmenubar.h>
-#include <qtoolbar.h>
-#include <qtoolbutton.h>
-#include <qpixmap.h>
-#include <qiconset.h>
-#include <qapplication.h>
-#include <qwidgetlist.h>
-#include <qlabel.h>
-#include <qtextedit.h>
+#include <ntqaction.h>
+#include <ntqlayout.h>
+#include <ntqvbox.h>
+#include <ntqworkspace.h>
+#include <ntqpopupmenu.h>
+#include <ntqmenubar.h>
+#include <ntqtoolbar.h>
+#include <ntqtoolbutton.h>
+#include <ntqpixmap.h>
+#include <ntqiconset.h>
+#include <ntqapplication.h>
+#include <ntqwidgetlist.h>
+#include <ntqlabel.h>
+#include <ntqtextedit.h>
static int windowIdNumber = 5000;
diff --git a/examples/demo/i18n/i18n.h b/examples/demo/i18n/i18n.h
index 850e48c39..29663e1f5 100644
--- a/examples/demo/i18n/i18n.h
+++ b/examples/demo/i18n/i18n.h
@@ -1,7 +1,7 @@
#ifndef I18N_H
#define I18N_H
-#include <qmainwindow.h>
+#include <ntqmainwindow.h>
class TQWorkspace;
class TQAction;
diff --git a/examples/demo/i18n/wrapper.h b/examples/demo/i18n/wrapper.h
index b1bddf586..882add78d 100644
--- a/examples/demo/i18n/wrapper.h
+++ b/examples/demo/i18n/wrapper.h
@@ -1,8 +1,8 @@
#ifndef WRAPPER_H
#define WRAPPER_H
-#include <qvbox.h>
-#include <qtranslator.h>
+#include <ntqvbox.h>
+#include <ntqtranslator.h>
class Wrapper : public TQVBox
diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp
index b8c69398d..4ce61ad9c 100644
--- a/examples/demo/main.cpp
+++ b/examples/demo/main.cpp
@@ -17,7 +17,7 @@
#include "dnd/dnd.h"
#include "i18n/i18n.h"
-#include <qmodules.h>
+#include <ntqmodules.h>
#if defined(QT_MODULE_OPENGL)
#include "opengl/glworkspace.h"
@@ -37,22 +37,22 @@
#include <stdlib.h>
-#include <qapplication.h>
-#include <qimage.h>
+#include <ntqapplication.h>
+#include <ntqimage.h>
-#include <qtabwidget.h>
-#include <qfont.h>
-#include <qworkspace.h>
-#include <qwidgetstack.h>
+#include <ntqtabwidget.h>
+#include <ntqfont.h>
+#include <ntqworkspace.h>
+#include <ntqwidgetstack.h>
#if defined(QT_MODULE_SQL)
-#include <qsqldatabase.h>
+#include <ntqsqldatabase.h>
#include "sql/sqlex.h"
#endif
#if defined(Q_OS_MACX)
#include <stdlib.h>
-#include <qdir.h>
+#include <ntqdir.h>
#endif
#include "categoryinterface.h"
diff --git a/examples/demo/opengl/fbm.c b/examples/demo/opengl/fbm.c
index 47d5a6163..20c486665 100644
--- a/examples/demo/opengl/fbm.c
+++ b/examples/demo/opengl/fbm.c
@@ -10,7 +10,7 @@
******************************************************************/
#if defined (_MSC_VER)
-#include <qglobal.h>
+#include <ntqglobal.h>
#endif
#include <time.h>
diff --git a/examples/demo/opengl/glcontrolwidget.cpp b/examples/demo/opengl/glcontrolwidget.cpp
index 2e019f051..5c75b9483 100644
--- a/examples/demo/opengl/glcontrolwidget.cpp
+++ b/examples/demo/opengl/glcontrolwidget.cpp
@@ -1,7 +1,7 @@
#include "glcontrolwidget.h"
-#include <qcursor.h>
-#include <qtimer.h>
+#include <ntqcursor.h>
+#include <ntqtimer.h>
#include <math.h>
diff --git a/examples/demo/opengl/glcontrolwidget.h b/examples/demo/opengl/glcontrolwidget.h
index 7a1b6174b..97a99f656 100644
--- a/examples/demo/opengl/glcontrolwidget.h
+++ b/examples/demo/opengl/glcontrolwidget.h
@@ -1,7 +1,7 @@
#ifndef GLCONTROLWIDGET_H
#define GLCONTROLWIDGET_H
-#include <qgl.h>
+#include <ntqgl.h>
class GLControlWidget : public TQGLWidget
{
diff --git a/examples/demo/opengl/glinfo.h b/examples/demo/opengl/glinfo.h
index 70266fc1d..109c88ceb 100644
--- a/examples/demo/opengl/glinfo.h
+++ b/examples/demo/opengl/glinfo.h
@@ -10,7 +10,7 @@
#ifndef GLINFO_H
#define GLINFO_H
-#include <qstring.h>
+#include <ntqstring.h>
class GLInfo
{
diff --git a/examples/demo/opengl/glinfo_x11.cpp b/examples/demo/opengl/glinfo_x11.cpp
index 5155f87c8..7716d771f 100644
--- a/examples/demo/opengl/glinfo_x11.cpp
+++ b/examples/demo/opengl/glinfo_x11.cpp
@@ -9,8 +9,8 @@
#define QT_CLEAN_NAMESPACE // avoid clashes with Xmd.h
-#include <qstringlist.h>
-#include <qgl.h>
+#include <ntqstringlist.h>
+#include <ntqgl.h>
#include "glinfo.h"
#include <GL/glx.h>
diff --git a/examples/demo/opengl/glinfotext.h b/examples/demo/opengl/glinfotext.h
index 80f42baba..991428091 100644
--- a/examples/demo/opengl/glinfotext.h
+++ b/examples/demo/opengl/glinfotext.h
@@ -1,6 +1,6 @@
-#include <qlayout.h>
-#include <qtextview.h>
-#include <qfont.h>
+#include <ntqlayout.h>
+#include <ntqtextview.h>
+#include <ntqfont.h>
#include "glinfo.h"
class GLInfoText : public TQWidget
diff --git a/examples/demo/opengl/gllandscape.cpp b/examples/demo/opengl/gllandscape.cpp
index 7336a20c8..2906a5c84 100644
--- a/examples/demo/opengl/gllandscape.cpp
+++ b/examples/demo/opengl/gllandscape.cpp
@@ -1,4 +1,4 @@
-#include <qimage.h>
+#include <ntqimage.h>
#include "gllandscape.h"
diff --git a/examples/demo/opengl/gllandscape.h b/examples/demo/opengl/gllandscape.h
index 7d91215c9..e4f457e7c 100644
--- a/examples/demo/opengl/gllandscape.h
+++ b/examples/demo/opengl/gllandscape.h
@@ -1,7 +1,7 @@
#ifndef GLLANDSCAPE_H
#define GLLANDSCAPE_H
-#include <qgl.h>
+#include <ntqgl.h>
class GLLandscape : public TQGLWidget
{
diff --git a/examples/demo/opengl/gltexobj.cpp b/examples/demo/opengl/gltexobj.cpp
index 30a9b8c93..8a2a8c102 100644
--- a/examples/demo/opengl/gltexobj.cpp
+++ b/examples/demo/opengl/gltexobj.cpp
@@ -17,7 +17,7 @@
****************************************************************************/
#include "gltexobj.h"
-#include <qimage.h>
+#include <ntqimage.h>
/*!
Create a GLTexobj widget
diff --git a/examples/demo/opengl/glworkspace.cpp b/examples/demo/opengl/glworkspace.cpp
index ecc1f374e..3010d4105 100644
--- a/examples/demo/opengl/glworkspace.cpp
+++ b/examples/demo/opengl/glworkspace.cpp
@@ -3,17 +3,17 @@
#include "glgear.h"
#include "gltexobj.h"
-#include <qworkspace.h>
-#include <qdialog.h>
-#include <qtoolbar.h>
-#include <qpopupmenu.h>
-#include <qmenubar.h>
-#include <qaction.h>
-#include <qprinter.h>
-#include <qpainter.h>
-#include <qcheckbox.h>
-#include <qvbox.h>
-#include <qimage.h>
+#include <ntqworkspace.h>
+#include <ntqdialog.h>
+#include <ntqtoolbar.h>
+#include <ntqpopupmenu.h>
+#include <ntqmenubar.h>
+#include <ntqaction.h>
+#include <ntqprinter.h>
+#include <ntqpainter.h>
+#include <ntqcheckbox.h>
+#include <ntqvbox.h>
+#include <ntqimage.h>
#include "printpreview.h"
diff --git a/examples/demo/opengl/glworkspace.h b/examples/demo/opengl/glworkspace.h
index 4bf532a95..3739b24a1 100644
--- a/examples/demo/opengl/glworkspace.h
+++ b/examples/demo/opengl/glworkspace.h
@@ -1,7 +1,7 @@
#ifndef GLWORKSPACE_H
#define GLWORKSPACE_H
-#include <qmainwindow.h>
+#include <ntqmainwindow.h>
class TQWorkspace;
class TQPrinter;
diff --git a/examples/demo/opengl/printpreview.ui b/examples/demo/opengl/printpreview.ui
index b312edca1..92cd609b3 100644
--- a/examples/demo/opengl/printpreview.ui
+++ b/examples/demo/opengl/printpreview.ui
@@ -255,8 +255,8 @@
</connection>
</connections>
<includes>
- <include location="global" impldecl="in declaration">qimage.h</include>
- <include location="global" impldecl="in declaration">qpixmap.h</include>
+ <include location="global" impldecl="in declaration">ntqimage.h</include>
+ <include location="global" impldecl="in declaration">ntqpixmap.h</include>
<include location="local" impldecl="in implementation">printpreview.ui.h</include>
</includes>
<variables>
diff --git a/examples/demo/qasteroids/ledmeter.cpp b/examples/demo/qasteroids/ledmeter.cpp
index de75852a9..5329d7ca8 100644
--- a/examples/demo/qasteroids/ledmeter.cpp
+++ b/examples/demo/qasteroids/ledmeter.cpp
@@ -4,7 +4,7 @@
* Part of the KDE project
*/
-#include <qpainter.h>
+#include <ntqpainter.h>
#include "ledmeter.h"
KALedMeter::KALedMeter( TQWidget *parent ) : TQFrame( parent )
diff --git a/examples/demo/qasteroids/ledmeter.h b/examples/demo/qasteroids/ledmeter.h
index 8018c72df..93bae087d 100644
--- a/examples/demo/qasteroids/ledmeter.h
+++ b/examples/demo/qasteroids/ledmeter.h
@@ -7,8 +7,8 @@
#ifndef __LEDMETER_H__
#define __LEDMETER_H__
-#include <qframe.h>
-#include <qptrlist.h>
+#include <ntqframe.h>
+#include <ntqptrlist.h>
class KALedMeter : public TQFrame
diff --git a/examples/demo/qasteroids/sprites.h b/examples/demo/qasteroids/sprites.h
index 361bd0e2b..dbf834412 100644
--- a/examples/demo/qasteroids/sprites.h
+++ b/examples/demo/qasteroids/sprites.h
@@ -7,7 +7,7 @@
#ifndef __SPRITES_H__
#define __SPRITES_H__
-#include <qcanvas.h>
+#include <ntqcanvas.h>
#define ID_ROCK_LARGE 1024
#define ID_ROCK_MEDIUM 1025
diff --git a/examples/demo/qasteroids/toplevel.cpp b/examples/demo/qasteroids/toplevel.cpp
index fbec2ec28..973bc6c7c 100644
--- a/examples/demo/qasteroids/toplevel.cpp
+++ b/examples/demo/qasteroids/toplevel.cpp
@@ -4,13 +4,13 @@
* Part of the KDE project
*/
// --- toplevel.cpp ---
-#include <qaccel.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlcdnumber.h>
-#include <qpushbutton.h>
+#include <ntqaccel.h>
+#include <ntqlabel.h>
+#include <ntqlayout.h>
+#include <ntqlcdnumber.h>
+#include <ntqpushbutton.h>
-#include <qapplication.h>
+#include <ntqapplication.h>
#include "toplevel.h"
#include "ledmeter.h"
diff --git a/examples/demo/qasteroids/toplevel.h b/examples/demo/qasteroids/toplevel.h
index 158363b08..6b3478064 100644
--- a/examples/demo/qasteroids/toplevel.h
+++ b/examples/demo/qasteroids/toplevel.h
@@ -7,9 +7,9 @@
#ifndef __KAST_TOPLEVEL_H__
#define __KAST_TOPLEVEL_H__
-#include <qmainwindow.h>
-#include <qdict.h>
-#include <qmap.h>
+#include <ntqmainwindow.h>
+#include <ntqdict.h>
+#include <ntqmap.h>
#include "view.h"
diff --git a/examples/demo/qasteroids/view.cpp b/examples/demo/qasteroids/view.cpp
index 99acca1ff..7aa86c4e7 100644
--- a/examples/demo/qasteroids/view.cpp
+++ b/examples/demo/qasteroids/view.cpp
@@ -6,10 +6,10 @@
#include <stdlib.h>
#include <math.h>
-#include <qapplication.h>
-#include <qkeycode.h>
-#include <qaccel.h>
-#include <qmessagebox.h>
+#include <ntqapplication.h>
+#include <ntqkeycode.h>
+#include <ntqaccel.h>
+#include <ntqmessagebox.h>
#include "view.h"
diff --git a/examples/demo/qasteroids/view.h b/examples/demo/qasteroids/view.h
index 2f2c53b28..6ab92a1c2 100644
--- a/examples/demo/qasteroids/view.h
+++ b/examples/demo/qasteroids/view.h
@@ -7,11 +7,11 @@
#ifndef __AST_VIEW_H__
#define __AST_VIEW_H__
-#include <qwidget.h>
-#include <qptrlist.h>
-#include <qintdict.h>
-#include <qtimer.h>
-#include <qcanvas.h>
+#include <ntqwidget.h>
+#include <ntqptrlist.h>
+#include <ntqintdict.h>
+#include <ntqtimer.h>
+#include <ntqcanvas.h>
#include "sprites.h"
#define MAX_POWER_LEVEL 1000
diff --git a/examples/demo/qthumbwheel.cpp b/examples/demo/qthumbwheel.cpp
index 83426f7d4..7dc549550 100644
--- a/examples/demo/qthumbwheel.cpp
+++ b/examples/demo/qthumbwheel.cpp
@@ -41,9 +41,9 @@
#include "qthumbwheel.h"
#ifndef QT_NO_THUMBWHEEL
-#include <qpainter.h>
-#include <qdrawutil.h>
-#include <qpixmap.h>
+#include <ntqpainter.h>
+#include <ntqdrawutil.h>
+#include <ntqpixmap.h>
#include <math.h>
static const double m_pi = 3.14159265358979323846;
diff --git a/examples/demo/qthumbwheel.h b/examples/demo/qthumbwheel.h
index 0ee4557a7..50ee44ed3 100644
--- a/examples/demo/qthumbwheel.h
+++ b/examples/demo/qthumbwheel.h
@@ -42,8 +42,8 @@
#define TQTHUMBWHEEL_H
#ifndef QT_H
-#include "qframe.h"
-#include "qrangecontrol.h"
+#include "ntqframe.h"
+#include "ntqrangecontrol.h"
#endif // QT_H
#ifndef QT_NO_THUMBWHEEL
diff --git a/examples/demo/sql/connect.ui.h b/examples/demo/sql/connect.ui.h
index cc1bce9bf..a56a1b201 100644
--- a/examples/demo/sql/connect.ui.h
+++ b/examples/demo/sql/connect.ui.h
@@ -6,7 +6,7 @@
** a constructor, and a destroy() slot in place of a destructor.
*****************************************************************************/
-#include <qsqldatabase.h>
+#include <ntqsqldatabase.h>
void ConnectDialog::init()
{
diff --git a/examples/demo/sql/sqlex.ui.h b/examples/demo/sql/sqlex.ui.h
index bd58d1ee3..aa97dfe47 100644
--- a/examples/demo/sql/sqlex.ui.h
+++ b/examples/demo/sql/sqlex.ui.h
@@ -5,16 +5,16 @@
** update this file, preserving your code. Create an init() slot in place of
** a constructor, and a destroy() slot in place of a destructor.
*****************************************************************************/
-#include <qsqldriver.h>
-#include <qmessagebox.h>
-#include <qsqldatabase.h>
-#include <qlineedit.h>
-#include <qcombobox.h>
-#include <qspinbox.h>
-#include <qsqlerror.h>
-#include <qsqlcursor.h>
-#include <qsqlselectcursor.h>
-#include <qdatatable.h>
+#include <ntqsqldriver.h>
+#include <ntqmessagebox.h>
+#include <ntqsqldatabase.h>
+#include <ntqlineedit.h>
+#include <ntqcombobox.h>
+#include <ntqspinbox.h>
+#include <ntqsqlerror.h>
+#include <ntqsqlcursor.h>
+#include <ntqsqlselectcursor.h>
+#include <ntqdatatable.h>
#include "connect.h"
static void showError( const TQSqlError& err, TQWidget* parent = 0 )
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html
index 211838dac..5a765ecac 100644
--- a/examples/demo/textdrawing/example.html
+++ b/examples/demo/textdrawing/example.html
@@ -11,9 +11,9 @@ a:visited { color: #672967; text-decoration: none }body { background: white; col
The TQLabel widget provides a static information display
<a href="#details">More...</a>
<p>
-<code>#include &lt;<a href="qlabel-h.html">qlabel.h</a>&gt;</code>
+<code>#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;</code>
<p>
-Inherits <a href="qframe.html">TQFrame</a>.
+Inherits <a href="ntqframe.html">TQFrame</a>.
<p><a href="qlabel-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -72,38 +72,38 @@ various ways, and it can be used for specifying a focus accelerator
key for another widget.
<p>A TQLabel can contain any of the following content types:
<ul>
-<li> A plain text: set by passing a <a href="qstring.html">TQString</a> to <a href="#dffb43">setText</a>().
+<li> A plain text: set by passing a <a href="ntqstring.html">TQString</a> to <a href="#dffb43">setText</a>().
<li> A rich text: set by passing a TQString that contains a rich text to setText().
-<li> A pixmap: set by passing a <a href="qpixmap.html">TQPixmap</a> to <a href="#f3f301">setPixmap</a>().
-<li> A movie: set by passing a <a href="qmovie.html">TQMovie</a> to <a href="#60de9f">setMovie</a>().
+<li> A pixmap: set by passing a <a href="ntqpixmap.html">TQPixmap</a> to <a href="#f3f301">setPixmap</a>().
+<li> A movie: set by passing a <a href="ntqmovie.html">TQMovie</a> to <a href="#60de9f">setMovie</a>().
<li> A number: set by passing an <em>int</em> or a <em>double</em> to <a href="#1a8f6a">setNum</a>(), which converts the number to plain text.
<li> Nothing: The same as an empty plain text. This is the default. Set by <a href="#be73f3">clear</a>().
</ul>
<p>When the content is changed using any of these functions, any
previous content is cleared.
<p>The look of a TQLabel can be tuned in several ways. All the settings
-of <a href="qframe.html">TQFrame</a> are available for specifying a widget frame. The
+of <a href="ntqframe.html">TQFrame</a> are available for specifying a widget frame. The
positioning of the content within the TQLabel widget area can be
tuned with <a href="#1f406e">setAlignment</a>() and <a href="#ed9b8b">setIndent</a>(). For example, this code
sets up a sunken panel with a two-line text in the bottom right
corner (both lines being flush with the right side of the label):
-<p><pre> <a href="qlabel.html">TQLabel</a> *label = new <a href="qlabel.html">TQLabel</a>;
- label-&gt;<a href="qframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+<p><pre> <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>;
+ label-&gt;<a href="ntqframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
label-&gt;<a href="#dffb43">setText</a>( "first line\nsecond line" );
label-&gt;<a href="#1f406e">setAlignment</a>( AlignBottom | AlignRight );
</pre>
<p>A TQLabel is often used as a label for another, interactive
widget. For this use, TQLabel provides a handy mechanism for adding
-an accelerator key (see <a href="qaccel.html">TQAccel</a>) that will set the keyboard focus to
+an accelerator key (see <a href="ntqaccel.html">TQAccel</a>) that will set the keyboard focus to
the other widget (called the TQLabel's "buddy"). Example:
-<p><pre> <a href="qlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="qlineedit.html">TQLineEdit</a>( this, "phoneEdit" );
- <a href="qlabel.html">TQLabel</a>* phoneLabel = new <a href="qlabel.html">TQLabel</a>( phoneEdit, "&amp;Phone:", this, "phoneLabel" );
+<p><pre> <a href="ntqlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="ntqlineedit.html">TQLineEdit</a>( this, "phoneEdit" );
+ <a href="ntqlabel.html">TQLabel</a>* phoneLabel = new <a href="ntqlabel.html">TQLabel</a>( phoneEdit, "&amp;Phone:", this, "phoneLabel" );
</pre>
<p>In this example, keyboard focus is transferred to the label's buddy
-(the <a href="qlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also
+(the <a href="ntqlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also
use the <a href="#191701">setBuddy</a>() function to accomplish the same.
<p>
-<p>See also <a href="qlineedit.html">TQLineEdit</a>, <a href="qtextview.html">TQTextView</a>, <a href="qpixmap.html">TQPixmap</a>, <a href="qmovie.html">TQMovie</a> and <a href="guibooks.html#fowler">GUI Design Handbook: Label</a>
+<p>See also <a href="ntqlineedit.html">TQLineEdit</a>, <a href="ntqtextview.html">TQTextView</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqmovie.html">TQMovie</a> and <a href="guibooks.html#fowler">GUI Design Handbook: Label</a>
<p>Examples:
<a href="cursor-cursor-cpp.html#TQLabel">cursor/cursor.cpp</a>
<a href="layout-layout-cpp.html#TQLabel">layout/layout.cpp</a>
@@ -115,22 +115,22 @@ use the <a href="#191701">setBuddy</a>() function to accomplish the same.
<a href="customlayout-main-cpp.html#TQLabel">customlayout/main.cpp</a>
<hr><h2>Member Function Documentation</h2>
-<h3 class="fn"><a name="5514c7"></a>TQLabel::TQLabel�(�<a href="qwidget.html">TQWidget</a>�*�buddy, const�<a href="qstring.html">TQString</a>�&amp;�text, <a href="qwidget.html">TQWidget</a>�*�parent, const�char�*�name=0, WFlags�f=0�)</h3>
+<h3 class="fn"><a name="5514c7"></a>TQLabel::TQLabel�(�<a href="ntqwidget.html">TQWidget</a>�*�buddy, const�<a href="ntqstring.html">TQString</a>�&amp;�text, <a href="ntqwidget.html">TQWidget</a>�*�parent, const�char�*�name=0, WFlags�f=0�)</h3>
<p>Constructs a label with a text and a buddy.
<p>The <em>text</em> is set with <a href="#dffb43">setText</a>(). The <em>buddy</em> is set with <a href="#191701">setBuddy</a>().
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="qframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#dffb43">setText</a>(), <a href="#191701">setBuddy</a>(), <a href="#1f406e">setAlignment</a>(), <a href="qframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
-<h3 class="fn"><a name="39107d"></a>TQLabel::TQLabel�(�<a href="qwidget.html">TQWidget</a>�*�parent, const�char�*�name=0, WFlags�f=0�)</h3>
+<p>See also <a href="#dffb43">setText</a>(), <a href="#191701">setBuddy</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<h3 class="fn"><a name="39107d"></a>TQLabel::TQLabel�(�<a href="ntqwidget.html">TQWidget</a>�*�parent, const�char�*�name=0, WFlags�f=0�)</h3>
<p>Constructs an empty label.
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="qframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#1f406e">setAlignment</a>(), <a href="qframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
-<h3 class="fn"><a name="2bafbb"></a>TQLabel::TQLabel�(�const�<a href="qstring.html">TQString</a>�&amp;�text, <a href="qwidget.html">TQWidget</a>�*�parent, const�char�*�name=0, WFlags�f=0�)</h3>
+<p>See also <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<h3 class="fn"><a name="2bafbb"></a>TQLabel::TQLabel�(�const�<a href="ntqstring.html">TQString</a>�&amp;�text, <a href="ntqwidget.html">TQWidget</a>�*�parent, const�char�*�name=0, WFlags�f=0�)</h3>
<p>Constructs a label with a text. The <em>text</em> is set with <a href="#dffb43">setText</a>().
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="qframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#dffb43">setText</a>(), <a href="#1f406e">setAlignment</a>(), <a href="qframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<p>See also <a href="#dffb43">setText</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="9958af"></a>TQLabel::~TQLabel�()</h3>
<p>Destructs the label.
<h3 class="fn">int�<a name="2fcaa3"></a>TQLabel::alignment�()�const</h3>
@@ -142,49 +142,49 @@ constructor.
is disabled.
<p>Auto-resizing is disabled by default.
<p>See also <a href="#c0e104">setAutoResize</a>().
-<h3 class="fn"><a href="qwidget.html">TQWidget</a>�*�<a name="123954"></a>TQLabel::buddy�()�const</h3>
+<h3 class="fn"><a href="ntqwidget.html">TQWidget</a>�*�<a name="123954"></a>TQLabel::buddy�()�const</h3>
<p>Returns the buddy of this label, or 0 if no buddy is currently set.
<p>See also <a href="#191701">setBuddy</a>().
<h3 class="fn">void�<a name="be73f3"></a>TQLabel::clear�() <code>[slot]</code></h3>
<p>Clears any label contents. Equivalent with <a href="#dffb43">setText</a>( "" ).
-<h3 class="fn">void�<a name="fac264"></a>TQLabel::drawContents�(�<a href="qpainter.html">TQPainter</a>�*�p�) <code>[virtual�protected]</code></h3>
+<h3 class="fn">void�<a name="fac264"></a>TQLabel::drawContents�(�<a href="ntqpainter.html">TQPainter</a>�*�p�) <code>[virtual�protected]</code></h3>
<p>Draws the label contents using the painter <em>p.</em>
-<p>Reimplemented from <a href="qframe.html#99e687">TQFrame.</a>
-<h3 class="fn">void�<a name="479dd2"></a>TQLabel::drawContentsMask�(�<a href="qpainter.html">TQPainter</a>�*�p�) <code>[virtual�protected]</code></h3>
+<p>Reimplemented from <a href="ntqframe.html#99e687">TQFrame.</a>
+<h3 class="fn">void�<a name="479dd2"></a>TQLabel::drawContentsMask�(�<a href="ntqpainter.html">TQPainter</a>�*�p�) <code>[virtual�protected]</code></h3>
<p>Draws the label contents mask using the painter <em>p.</em>
Used only in transparent mode.
-<p>See also <a href="qwidget.html#c7a335">TQWidget::setAutoMask</a>();.
-<p>Reimplemented from <a href="qframe.html#4cbf11">TQFrame.</a>
-<h3 class="fn">void�<a name="0435a2"></a>TQLabel::fontChange�(�const�<a href="qfont.html">TQFont</a>�&amp;�) <code>[virtual�protected]</code></h3>
+<p>See also <a href="ntqwidget.html#c7a335">TQWidget::setAutoMask</a>();.
+<p>Reimplemented from <a href="ntqframe.html#4cbf11">TQFrame.</a>
+<h3 class="fn">void�<a name="0435a2"></a>TQLabel::fontChange�(�const�<a href="ntqfont.html">TQFont</a>�&amp;�) <code>[virtual�protected]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
-<p>Reimplemented from <a href="qwidget.html#570a8f">TQWidget.</a>
+<p>Reimplemented from <a href="ntqwidget.html#570a8f">TQWidget.</a>
<h3 class="fn">bool�<a name="7e1f73"></a>TQLabel::hasScaledContents�()�const</h3>
<p>Returns whether the label will scale its contents to fill all
available space.
<p>See also <a href="#e9e3cf">setScaledContents</a>().
<h3 class="fn">int�<a name="dae451"></a>TQLabel::heightForWidth�(�int�w�)�const <code>[virtual]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
-<p>Reimplemented from <a href="qwidget.html#2e8476">TQWidget.</a>
+<p>Reimplemented from <a href="ntqwidget.html#2e8476">TQWidget.</a>
<h3 class="fn">int�<a name="e3c907"></a>TQLabel::indent�()�const</h3>
<p>Returns the indent of the label.
<p>See also <a href="#ed9b8b">setIndent</a>().
-<h3 class="fn"><a href="qsize.html">TQSize</a>�<a name="53c8c7"></a>TQLabel::minimumSizeHint�()�const <code>[virtual]</code></h3>
+<h3 class="fn"><a href="ntqsize.html">TQSize</a>�<a name="53c8c7"></a>TQLabel::minimumSizeHint�()�const <code>[virtual]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
-<p>Reimplemented from <a href="qwidget.html#3f0fc2">TQWidget.</a>
-<h3 class="fn"><a href="qmovie.html">TQMovie</a>*�<a name="7dcdfe"></a>TQLabel::movie�()�const</h3>
+<p>Reimplemented from <a href="ntqwidget.html#3f0fc2">TQWidget.</a>
+<h3 class="fn"><a href="ntqmovie.html">TQMovie</a>*�<a name="7dcdfe"></a>TQLabel::movie�()�const</h3>
<p>If the label contains a movie, returns a pointer to it. Otherwise,
returns 0.
<p>See also <a href="#60de9f">setMovie</a>().
-<h3 class="fn"><a href="qpixmap.html">TQPixmap</a>�*�<a name="101ecb"></a>TQLabel::pixmap�()�const</h3>
+<h3 class="fn"><a href="ntqpixmap.html">TQPixmap</a>�*�<a name="101ecb"></a>TQLabel::pixmap�()�const</h3>
<p>If the label contains a pixmap, returns a pointer to it. Otherwise,
returns 0.
<p>See also <a href="#f3f301">setPixmap</a>().
<h3 class="fn">void�<a name="3cb6e7"></a>TQLabel::resizeEvent�(�<a href="qresizeevent.html">TQResizeEvent</a>�*�e�) <code>[virtual�protected]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
-<p>Reimplemented from <a href="qwidget.html#28c156">TQWidget.</a>
+<p>Reimplemented from <a href="ntqwidget.html#28c156">TQWidget.</a>
<h3 class="fn">void�<a name="1f406e"></a>TQLabel::setAlignment�(�int�alignment�) <code>[virtual]</code></h3>
<p>Sets the alignment of the label contents.
-<p>The <em>alignment</em> must be a bitwise OR of <a href="qt.html#AlignmentFlags">TQt::AlignmentFlags</a>
+<p>The <em>alignment</em> must be a bitwise OR of <a href="ntqt.html#AlignmentFlags">TQt::AlignmentFlags</a>
values. The <code>WordBreak, ExpandTabs, SingleLine</code> and <code>ShowPrefix</code> flags apply only if the label contains a plain text, and
are otherwise ignored. The <code>DontClip</code> flag is always ignored.
<p>If the label has a buddy, the <code>ShowPrefix</code> flag is forced to TRUE.
@@ -192,7 +192,7 @@ are otherwise ignored. The <code>DontClip</code> flag is always ignored.
ExpandTabs</code> if the label doesn't have a buddy and
<code>AlignLeft | AlignVCenter | ExpandTabs | ShowPrefix </code> if
the label has a buddy.
-<p>See also <a href="qt.html#AlignmentFlags">TQt::AlignmentFlags</a>, <a href="#2fcaa3">alignment</a>(), <a href="#191701">setBuddy</a>() and <a href="#dffb43">setText</a>().
+<p>See also <a href="ntqt.html#AlignmentFlags">TQt::AlignmentFlags</a>, <a href="#2fcaa3">alignment</a>(), <a href="#191701">setBuddy</a>() and <a href="#dffb43">setText</a>().
<p>Examples:
<a href="cursor-cursor-cpp.html#setAlignment">cursor/cursor.cpp</a>
<a href="layout-layout-cpp.html#setAlignment">layout/layout.cpp</a>
@@ -201,17 +201,17 @@ the label has a buddy.
<a href="customlayout-main-cpp.html#setAlignment">customlayout/main.cpp</a>
<h3 class="fn">void�<a name="1b6d73"></a>TQLabel::setAutoMask�(�bool�b�) <code>[virtual]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
-<p>Reimplemented from <a href="qwidget.html#c7a335">TQWidget.</a>
+<p>Reimplemented from <a href="ntqwidget.html#c7a335">TQWidget.</a>
<h3 class="fn">void�<a name="c0e104"></a>TQLabel::setAutoResize�(�bool�enable�) <code>[virtual]</code></h3>
<p><b>This function is obsolete.</b> It is provided to keep old source working, and will probably be removed in a future version of TQt. We strongly advise against using it in new code.<p>
Enables auto-resizing if <em>enable</em> is TRUE, or disables it if <em>enable</em> is FALSE.
<p>When auto-resizing is enabled, the label will resize itself to fit
the contents whenever the contents change. The top left corner is
not moved. This is useful for TQLabel widgets that are not managed by
-a <a href="qlayout.html">TQLayout</a> (e.g. top-level widgets).
+a <a href="ntqlayout.html">TQLayout</a> (e.g. top-level widgets).
<p>Auto-resizing is disabled by default.
-<p>See also <a href="#75b2a1">autoResize</a>(), <a href="qwidget.html#ab3108">adjustSize</a>() and <a href="#614dd5">sizeHint</a>().
-<h3 class="fn">void�<a name="191701"></a>TQLabel::setBuddy�(�<a href="qwidget.html">TQWidget</a>�*�buddy�) <code>[virtual]</code></h3>
+<p>See also <a href="#75b2a1">autoResize</a>(), <a href="ntqwidget.html#ab3108">adjustSize</a>() and <a href="#614dd5">sizeHint</a>().
+<h3 class="fn">void�<a name="191701"></a>TQLabel::setBuddy�(�<a href="ntqwidget.html">TQWidget</a>�*�buddy�) <code>[virtual]</code></h3>
<p>Sets the buddy of this label to <em>buddy.</em>
<p>When the user presses the accelerator key indicated by this label,
the keyboard focus is transferred to the label's buddy widget.
@@ -223,11 +223,11 @@ alignment flag is turned on; see <a href="#1f406e">setAlignment</a>()).
<p>In a dialog, you might create two data entry widgets and a label for
each, and set up the geometry layout so each label is just to the
left of its data entry widget (its "buddy"), somewhat like this:
-<p><pre> <a href="qlineedit.html">TQLineEdit</a> *nameEd = new <a href="qlineedit.html">TQLineEdit</a>( this );
- <a href="qlabel.html">TQLabel</a> *nameLb = new <a href="qlabel.html">TQLabel</a>( "&amp;Name:", this );
+<p><pre> <a href="ntqlineedit.html">TQLineEdit</a> *nameEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
+ <a href="ntqlabel.html">TQLabel</a> *nameLb = new <a href="ntqlabel.html">TQLabel</a>( "&amp;Name:", this );
nameLb-&gt;<a href="#191701">setBuddy</a>( nameEd );
- <a href="qlineedit.html">TQLineEdit</a> *phoneEd = new <a href="qlineedit.html">TQLineEdit</a>( this );
- <a href="qlabel.html">TQLabel</a> *phoneLb = new <a href="qlabel.html">TQLabel</a>( "&amp;Phone:", this );
+ <a href="ntqlineedit.html">TQLineEdit</a> *phoneEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
+ <a href="ntqlabel.html">TQLabel</a> *phoneLb = new <a href="ntqlabel.html">TQLabel</a>( "&amp;Phone:", this );
phoneLb-&gt;<a href="#191701">setBuddy</a>( phoneEd );
// ( layout setup not shown )
</pre>
@@ -235,7 +235,7 @@ left of its data entry widget (its "buddy"), somewhat like this:
presses Alt-N, and to the Phone field when the user presses Alt-P.
<p>To unset a previously set buddy, call this function with <em>buddy</em>
set to 0.
-<p>See also <a href="#123954">buddy</a>(), <a href="#dffb43">setText</a>(), <a href="qaccel.html">TQAccel</a> and <a href="#1f406e">setAlignment</a>().
+<p>See also <a href="#123954">buddy</a>(), <a href="#dffb43">setText</a>(), <a href="ntqaccel.html">TQAccel</a> and <a href="#1f406e">setAlignment</a>().
<p>Examples:
<a href="layout-layout-cpp.html#setBuddy">layout/layout.cpp</a>
<h3 class="fn">void�<a name="ed9b8b"></a>TQLabel::setIndent�(�int�indent�)</h3>
@@ -245,16 +245,16 @@ to the right edge if alignment() is <code>AlignRight,</code> to the top edge
if alignment() is <code>AlignTop,</code> and to to the bottom edge if
alignment() is <code>AlignBottom.</code>
<p>If <em>indent</em> is negative, or if no indent has been set, the label
-computes the effective indent as follows: If <a href="qframe.html#e0ccef">frameWidth</a>() is 0, the
+computes the effective indent as follows: If <a href="ntqframe.html#e0ccef">frameWidth</a>() is 0, the
effective indent becomes 0. If frameWidth() is greater than 0, the
effective indent becomes half the width of the "x" character of the
-widget's current <a href="qwidget.html#3a7237">font</a>().
+widget's current <a href="ntqwidget.html#3a7237">font</a>().
<p>If <em>indent</em> is non-negative, the effective indent is <em>indent</em>
pixels.
-<p>See also <a href="#e3c907">indent</a>(), <a href="#1f406e">setAlignment</a>(), <a href="qframe.html#e0ccef">frameWidth</a>() and <a href="qwidget.html#3a7237">font</a>().
+<p>See also <a href="#e3c907">indent</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#e0ccef">frameWidth</a>() and <a href="ntqwidget.html#3a7237">font</a>().
<p>Examples:
<a href="movies-main-cpp.html#setIndent">movies/main.cpp</a>
-<h3 class="fn">void�<a name="60de9f"></a>TQLabel::setMovie�(�const�<a href="qmovie.html">TQMovie</a>�&amp;�movie�) <code>[virtual�slot]</code></h3>
+<h3 class="fn">void�<a name="60de9f"></a>TQLabel::setMovie�(�const�<a href="ntqmovie.html">TQMovie</a>�&amp;�movie�) <code>[virtual�slot]</code></h3>
<p>Sets the label contents to <em>movie.</em> Any previous content is cleared.
<p>The buddy accelerator, if any, is disabled.
<p>The label resizes itself if auto-resizing is enabled.
@@ -265,15 +265,15 @@ of <em>num.</em> Does nothing if this is equal to the current contents of
the label. Any previous content is cleared.
<p>The buddy accelerator, if any, is disabled.
<p>The label resizes itself if auto-resizing is enabled.
-<p>See also <a href="#dffb43">setText</a>(), <a href="qstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>().
+<p>See also <a href="#dffb43">setText</a>(), <a href="ntqstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>().
<h3 class="fn">void�<a name="301e3c"></a>TQLabel::setNum�(�int�num�) <code>[virtual�slot]</code></h3>
<p>Sets the label contents to a plain text containing the printed value
of <em>num.</em> Does nothing if this is equal to the current contents of
the label. Any previous content is cleared.
<p>The buddy accelerator, if any, is disabled.
<p>The label resizes itself if auto-resizing is enabled.
-<p>See also <a href="#dffb43">setText</a>(), <a href="qstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>().
-<h3 class="fn">void�<a name="f3f301"></a>TQLabel::setPixmap�(�const�<a href="qpixmap.html">TQPixmap</a>�&amp;�pixmap�) <code>[virtual�slot]</code></h3>
+<p>See also <a href="#dffb43">setText</a>(), <a href="ntqstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>().
+<h3 class="fn">void�<a name="f3f301"></a>TQLabel::setPixmap�(�const�<a href="ntqpixmap.html">TQPixmap</a>�&amp;�pixmap�) <code>[virtual�slot]</code></h3>
<p>Sets the label contents to <em>pixmap.</em> Any previous content is cleared.
<p>The buddy accelerator, if any, is disabled.
<p>The label resizes itself if auto-resizing is enabled.
@@ -282,7 +282,7 @@ the label. Any previous content is cleared.
<p>When called with <em>enable</em> == TRUE, and the label shows a pixmap,
it will scale the pixmap to fill available space.
<p>See also <a href="#7e1f73">hasScaledContents</a>().
-<h3 class="fn">void�<a name="dffb43"></a>TQLabel::setText�(�const�<a href="qstring.html">TQString</a>�&amp;�text�) <code>[virtual�slot]</code></h3>
+<h3 class="fn">void�<a name="dffb43"></a>TQLabel::setText�(�const�<a href="ntqstring.html">TQString</a>�&amp;�text�) <code>[virtual�slot]</code></h3>
<p>Sets the label contents to <em>text,</em> or does nothing if <em>text</em> is
equal to the current contents of the label. Any previous content is
cleared.
@@ -294,7 +294,7 @@ the format of <em>text.</em>
the buddy accelerator key is updated from the new text.
<p>The label resizes itself if auto-resizing is enabled.
<p>Note that Qlabel is well suited to display small rich text documents
-only. For large documents, use <a href="qtextview.html">TQTextView</a> instead. It will flicker
+only. For large documents, use <a href="ntqtextview.html">TQTextView</a> instead. It will flicker
less on resize and can also provide a scrollbar if necessary.
<p>See also <a href="#72cf09">text</a>(), <a href="#5de3f9">setTextFormat</a>(), <a href="#191701">setBuddy</a>() and <a href="#1f406e">setAlignment</a>().
<p>Examples:
@@ -303,20 +303,20 @@ less on resize and can also provide a scrollbar if necessary.
<a href="popup-popup-cpp.html#setText">popup/popup.cpp</a>
<a href="qmag-qmag-cpp.html#setText">qmag/qmag.cpp</a>
<a href="customlayout-main-cpp.html#setText">customlayout/main.cpp</a>
-<h3 class="fn">void�<a name="5de3f9"></a>TQLabel::setTextFormat�(�<a href="qt.html#TextFormat">TQt::TextFormat</a>�format�)</h3>
-<p>Sets the text format to <em>format.</em> See the <a href="qt.html#TextFormat">TQt::TextFormat</a> enum for
+<h3 class="fn">void�<a name="5de3f9"></a>TQLabel::setTextFormat�(�<a href="ntqt.html#TextFormat">TQt::TextFormat</a>�format�)</h3>
+<p>Sets the text format to <em>format.</em> See the <a href="ntqt.html#TextFormat">TQt::TextFormat</a> enum for
an explanation of the possible options.
<p>The default format is <code>AutoText.</code>
<p>See also <a href="#0b92ed">textFormat</a>() and <a href="#dffb43">setText</a>().
-<h3 class="fn"><a href="qsize.html">TQSize</a>�<a name="614dd5"></a>TQLabel::sizeHint�()�const <code>[virtual]</code></h3>
+<h3 class="fn"><a href="ntqsize.html">TQSize</a>�<a name="614dd5"></a>TQLabel::sizeHint�()�const <code>[virtual]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
<p>Examples:
<a href="layout-layout-cpp.html#sizeHint">layout/layout.cpp</a>
-<p>Reimplemented from <a href="qwidget.html#290bcd">TQWidget.</a>
-<h3 class="fn"><a href="qsizepolicy.html">TQSizePolicy</a>�<a name="26e1d9"></a>TQLabel::sizePolicy�()�const <code>[virtual]</code></h3>
+<p>Reimplemented from <a href="ntqwidget.html#290bcd">TQWidget.</a>
+<h3 class="fn"><a href="ntqsizepolicy.html">TQSizePolicy</a>�<a name="26e1d9"></a>TQLabel::sizePolicy�()�const <code>[virtual]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
-<p>Reimplemented from <a href="qwidget.html#2d5d13">TQWidget.</a>
-<h3 class="fn"><a href="qstring.html">TQString</a>�<a name="72cf09"></a>TQLabel::text�()�const</h3>
+<p>Reimplemented from <a href="ntqwidget.html#2d5d13">TQWidget.</a>
+<h3 class="fn"><a href="ntqstring.html">TQString</a>�<a name="72cf09"></a>TQLabel::text�()�const</h3>
<p>Returns the label text. If the content is a plain or a rich text,
this is the string that was passed to <a href="#dffb43">setText</a>(). Otherwise, it is an
empty/null string.
diff --git a/examples/demo/textdrawing/helpwindow.cpp b/examples/demo/textdrawing/helpwindow.cpp
index de353df7d..27d61d1ad 100644
--- a/examples/demo/textdrawing/helpwindow.cpp
+++ b/examples/demo/textdrawing/helpwindow.cpp
@@ -8,30 +8,30 @@
*****************************************************************************/
#include "helpwindow.h"
-#include <qstatusbar.h>
-#include <qpixmap.h>
-#include <qpopupmenu.h>
-#include <qmenubar.h>
-#include <qtoolbar.h>
-#include <qtoolbutton.h>
-#include <qiconset.h>
-#include <qfile.h>
-#include <qtextstream.h>
-#include <qstylesheet.h>
-#include <qmessagebox.h>
-#include <qfiledialog.h>
-#include <qapplication.h>
-#include <qcombobox.h>
-#include <qevent.h>
-#include <qlineedit.h>
-#include <qobjectlist.h>
-#include <qfileinfo.h>
-#include <qfile.h>
-#include <qdatastream.h>
-#include <qprinter.h>
-#include <qsimplerichtext.h>
-#include <qpainter.h>
-#include <qpaintdevicemetrics.h>
+#include <ntqstatusbar.h>
+#include <ntqpixmap.h>
+#include <ntqpopupmenu.h>
+#include <ntqmenubar.h>
+#include <ntqtoolbar.h>
+#include <ntqtoolbutton.h>
+#include <ntqiconset.h>
+#include <ntqfile.h>
+#include <ntqtextstream.h>
+#include <ntqstylesheet.h>
+#include <ntqmessagebox.h>
+#include <ntqfiledialog.h>
+#include <ntqapplication.h>
+#include <ntqcombobox.h>
+#include <ntqevent.h>
+#include <ntqlineedit.h>
+#include <ntqobjectlist.h>
+#include <ntqfileinfo.h>
+#include <ntqfile.h>
+#include <ntqdatastream.h>
+#include <ntqprinter.h>
+#include <ntqsimplerichtext.h>
+#include <ntqpainter.h>
+#include <ntqpaintdevicemetrics.h>
#include <ctype.h>
diff --git a/examples/demo/textdrawing/helpwindow.h b/examples/demo/textdrawing/helpwindow.h
index 0115da9fc..c9d9a336a 100644
--- a/examples/demo/textdrawing/helpwindow.h
+++ b/examples/demo/textdrawing/helpwindow.h
@@ -10,11 +10,11 @@
#ifndef HELPWINDOW_H
#define HELPWINDOW_H
-#include <qmainwindow.h>
-#include <qtextbrowser.h>
-#include <qstringlist.h>
-#include <qmap.h>
-#include <qdir.h>
+#include <ntqmainwindow.h>
+#include <ntqtextbrowser.h>
+#include <ntqstringlist.h>
+#include <ntqmap.h>
+#include <ntqdir.h>
class TQComboBox;
class TQPopupMenu;
diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp
index 515523b4b..c17aa5084 100644
--- a/examples/demo/textdrawing/textedit.cpp
+++ b/examples/demo/textdrawing/textedit.cpp
@@ -9,24 +9,24 @@
#include "textedit.h"
-#include <qtextedit.h>
-#include <qaction.h>
-#include <qmenubar.h>
-#include <qpopupmenu.h>
-#include <qtoolbar.h>
-#include <qtabwidget.h>
-#include <qapplication.h>
-#include <qfontdatabase.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
-#include <qfileinfo.h>
-#include <qfile.h>
-#include <qfiledialog.h>
-#include <qprinter.h>
-#include <qpaintdevicemetrics.h>
-#include <qsimplerichtext.h>
-#include <qcolordialog.h>
-#include <qpainter.h>
+#include <ntqtextedit.h>
+#include <ntqaction.h>
+#include <ntqmenubar.h>
+#include <ntqpopupmenu.h>
+#include <ntqtoolbar.h>
+#include <ntqtabwidget.h>
+#include <ntqapplication.h>
+#include <ntqfontdatabase.h>
+#include <ntqcombobox.h>
+#include <ntqlineedit.h>
+#include <ntqfileinfo.h>
+#include <ntqfile.h>
+#include <ntqfiledialog.h>
+#include <ntqprinter.h>
+#include <ntqpaintdevicemetrics.h>
+#include <ntqsimplerichtext.h>
+#include <ntqcolordialog.h>
+#include <ntqpainter.h>
TextEdit::TextEdit( TQWidget *parent, const char *name )
: TQMainWindow( parent, name, 0 )
diff --git a/examples/demo/textdrawing/textedit.h b/examples/demo/textdrawing/textedit.h
index 38c9c5b2d..9627c69a3 100644
--- a/examples/demo/textdrawing/textedit.h
+++ b/examples/demo/textdrawing/textedit.h
@@ -10,8 +10,8 @@
#ifndef TEXTEDIT_H
#define TEXTEDIT_H
-#include <qmainwindow.h>
-#include <qmap.h>
+#include <ntqmainwindow.h>
+#include <ntqmap.h>
class TQAction;
class TQComboBox;
diff --git a/examples/demo/widgets/widgetsbase.ui.h b/examples/demo/widgets/widgetsbase.ui.h
index 94caf5df0..e50ea1bae 100644
--- a/examples/demo/widgets/widgetsbase.ui.h
+++ b/examples/demo/widgets/widgetsbase.ui.h
@@ -1,4 +1,4 @@
-#include <qobjectlist.h>
+#include <ntqobjectlist.h>
void WidgetsBase::init()
{
diff --git a/examples/demo/widgets/widgetsbase_pro.ui.h b/examples/demo/widgets/widgetsbase_pro.ui.h
index 729b1ab3e..af6b656e4 100644
--- a/examples/demo/widgets/widgetsbase_pro.ui.h
+++ b/examples/demo/widgets/widgetsbase_pro.ui.h
@@ -1,4 +1,4 @@
-#include <qobjectlist.h>
+#include <ntqobjectlist.h>
void WidgetsBase::init()
{