diff options
Diffstat (limited to 'examples')
374 files changed, 1645 insertions, 1645 deletions
diff --git a/examples/aclock/aclock.cpp b/examples/aclock/aclock.cpp index 5c6a88882..cc312da01 100644 --- a/examples/aclock/aclock.cpp +++ b/examples/aclock/aclock.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include "aclock.h" -#include <qtimer.h> -#include <qpainter.h> -#include <qbitmap.h> +#include <ntqtimer.h> +#include <ntqpainter.h> +#include <ntqbitmap.h> // // Constructs an analog clock widget that uses an internal TQTimer. diff --git a/examples/aclock/aclock.h b/examples/aclock/aclock.h index dcd5728d2..e28c6528d 100644 --- a/examples/aclock/aclock.h +++ b/examples/aclock/aclock.h @@ -10,8 +10,8 @@ #ifndef ACLOCK_H #define ACLOCK_H -#include <qwidget.h> -#include <qdatetime.h> +#include <ntqwidget.h> +#include <ntqdatetime.h> class TQTimer; class AnalogClock : public TQWidget // analog clock widget diff --git a/examples/aclock/main.cpp b/examples/aclock/main.cpp index 374e468bf..0331d790e 100644 --- a/examples/aclock/main.cpp +++ b/examples/aclock/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "aclock.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) diff --git a/examples/action/application.cpp b/examples/action/application.cpp index 9cea0a45e..2151c8f6b 100644 --- a/examples/action/application.cpp +++ b/examples/action/application.cpp @@ -9,26 +9,26 @@ #include "application.h" -#include <qimage.h> -#include <qpixmap.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qpopupmenu.h> -#include <qmenubar.h> -#include <qtextedit.h> -#include <qfile.h> -#include <qfiledialog.h> -#include <qstatusbar.h> -#include <qmessagebox.h> -#include <qprinter.h> -#include <qapplication.h> -#include <qaccel.h> -#include <qtextstream.h> -#include <qpainter.h> -#include <qpaintdevicemetrics.h> -#include <qwhatsthis.h> -#include <qaction.h> -#include <qsimplerichtext.h> +#include <ntqimage.h> +#include <ntqpixmap.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqpopupmenu.h> +#include <ntqmenubar.h> +#include <ntqtextedit.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqstatusbar.h> +#include <ntqmessagebox.h> +#include <ntqprinter.h> +#include <ntqapplication.h> +#include <ntqaccel.h> +#include <ntqtextstream.h> +#include <ntqpainter.h> +#include <ntqpaintdevicemetrics.h> +#include <ntqwhatsthis.h> +#include <ntqaction.h> +#include <ntqsimplerichtext.h> #include "filesave.xpm" #include "fileopen.xpm" diff --git a/examples/action/application.h b/examples/action/application.h index 7b772728e..066205336 100644 --- a/examples/action/application.h +++ b/examples/action/application.h @@ -10,7 +10,7 @@ #ifndef APPLICATION_H #define APPLICATION_H -#include <qmainwindow.h> +#include <ntqmainwindow.h> class TQTextEdit; diff --git a/examples/action/main.cpp b/examples/action/main.cpp index 3c632611d..ca75f8c25 100644 --- a/examples/action/main.cpp +++ b/examples/action/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "application.h" int main( int argc, char ** argv ) { diff --git a/examples/action/toggleaction/toggleaction.cpp b/examples/action/toggleaction/toggleaction.cpp index e9fcc5c49..810de04c1 100644 --- a/examples/action/toggleaction/toggleaction.cpp +++ b/examples/action/toggleaction/toggleaction.cpp @@ -1,7 +1,7 @@ -#include <qapplication.h> -#include <qmainwindow.h> -#include <qtoolbar.h> -#include <qaction.h> +#include <ntqapplication.h> +#include <ntqmainwindow.h> +#include <ntqtoolbar.h> +#include <ntqaction.h> #include "labelonoff.xpm" diff --git a/examples/addressbook/centralwidget.cpp b/examples/addressbook/centralwidget.cpp index 86edc9c52..51e67f73b 100644 --- a/examples/addressbook/centralwidget.cpp +++ b/examples/addressbook/centralwidget.cpp @@ -9,17 +9,17 @@ #include "centralwidget.h" -#include <qtabwidget.h> -#include <qlistview.h> -#include <qlayout.h> -#include <qwidget.h> -#include <qlabel.h> -#include <qpushbutton.h> -#include <qlineedit.h> -#include <qlabel.h> -#include <qcheckbox.h> -#include <qfile.h> -#include <qtextstream.h> +#include <ntqtabwidget.h> +#include <ntqlistview.h> +#include <ntqlayout.h> +#include <ntqwidget.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqlineedit.h> +#include <ntqlabel.h> +#include <ntqcheckbox.h> +#include <ntqfile.h> +#include <ntqtextstream.h> ABCentralWidget::ABCentralWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) diff --git a/examples/addressbook/centralwidget.h b/examples/addressbook/centralwidget.h index 66e44a332..cf190d478 100644 --- a/examples/addressbook/centralwidget.h +++ b/examples/addressbook/centralwidget.h @@ -10,8 +10,8 @@ #ifndef AB_CENTRALWIDGET_H #define AB_CENTRALWIDGET_H -#include <qwidget.h> -#include <qstring.h> +#include <ntqwidget.h> +#include <ntqstring.h> class TQTabWidget; class TQListView; diff --git a/examples/addressbook/main.cpp b/examples/addressbook/main.cpp index c1df2139b..b74f36e4d 100644 --- a/examples/addressbook/main.cpp +++ b/examples/addressbook/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "mainwindow.h" diff --git a/examples/addressbook/mainwindow.cpp b/examples/addressbook/mainwindow.cpp index 4d2d1fdd3..1e179b2a8 100644 --- a/examples/addressbook/mainwindow.cpp +++ b/examples/addressbook/mainwindow.cpp @@ -10,13 +10,13 @@ #include "mainwindow.h" #include "centralwidget.h" -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qpopupmenu.h> -#include <qmenubar.h> -#include <qstatusbar.h> -#include <qapplication.h> -#include <qfiledialog.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqpopupmenu.h> +#include <ntqmenubar.h> +#include <ntqstatusbar.h> +#include <ntqapplication.h> +#include <ntqfiledialog.h> ABMainWindow::ABMainWindow() : TQMainWindow( 0, "example addressbook application" ), diff --git a/examples/addressbook/mainwindow.h b/examples/addressbook/mainwindow.h index e7ae62d8d..e3a453eae 100644 --- a/examples/addressbook/mainwindow.h +++ b/examples/addressbook/mainwindow.h @@ -10,8 +10,8 @@ #ifndef AB_MAINWINDOW_H #define AB_MAINWINDOW_H -#include <qmainwindow.h> -#include <qstring.h> +#include <ntqmainwindow.h> +#include <ntqstring.h> class TQToolBar; class TQPopupMenu; diff --git a/examples/application/application.cpp b/examples/application/application.cpp index e2a690e30..9c87aafb4 100644 --- a/examples/application/application.cpp +++ b/examples/application/application.cpp @@ -9,25 +9,25 @@ #include "application.h" -#include <qimage.h> -#include <qpixmap.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qpopupmenu.h> -#include <qmenubar.h> -#include <qtextedit.h> -#include <qfile.h> -#include <qfiledialog.h> -#include <qstatusbar.h> -#include <qmessagebox.h> -#include <qprinter.h> -#include <qapplication.h> -#include <qaccel.h> -#include <qtextstream.h> -#include <qpainter.h> -#include <qpaintdevicemetrics.h> -#include <qwhatsthis.h> -#include <qsimplerichtext.h> +#include <ntqimage.h> +#include <ntqpixmap.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqpopupmenu.h> +#include <ntqmenubar.h> +#include <ntqtextedit.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqstatusbar.h> +#include <ntqmessagebox.h> +#include <ntqprinter.h> +#include <ntqapplication.h> +#include <ntqaccel.h> +#include <ntqtextstream.h> +#include <ntqpainter.h> +#include <ntqpaintdevicemetrics.h> +#include <ntqwhatsthis.h> +#include <ntqsimplerichtext.h> #include "filesave.xpm" #include "fileopen.xpm" diff --git a/examples/application/application.h b/examples/application/application.h index 7b772728e..066205336 100644 --- a/examples/application/application.h +++ b/examples/application/application.h @@ -10,7 +10,7 @@ #ifndef APPLICATION_H #define APPLICATION_H -#include <qmainwindow.h> +#include <ntqmainwindow.h> class TQTextEdit; diff --git a/examples/application/main.cpp b/examples/application/main.cpp index 357d448e4..faf5eb0c2 100644 --- a/examples/application/main.cpp +++ b/examples/application/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "application.h" int main( int argc, char ** argv ) { diff --git a/examples/biff/biff.cpp b/examples/biff/biff.cpp index 34382403a..4bc592d0a 100644 --- a/examples/biff/biff.cpp +++ b/examples/biff/biff.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include "biff.h" -#include <qstring.h> -#include <qfileinfo.h> -#include <qpainter.h> +#include <ntqstring.h> +#include <ntqfileinfo.h> +#include <ntqpainter.h> #include <unistd.h> #include <stdlib.h> diff --git a/examples/biff/biff.h b/examples/biff/biff.h index e35114ad3..eed7dc080 100644 --- a/examples/biff/biff.h +++ b/examples/biff/biff.h @@ -10,9 +10,9 @@ #ifndef BIFF_H #define BIFF_H -#include <qwidget.h> -#include <qdatetime.h> -#include <qpixmap.h> +#include <ntqwidget.h> +#include <ntqdatetime.h> +#include <ntqpixmap.h> class Biff : public TQWidget diff --git a/examples/biff/main.cpp b/examples/biff/main.cpp index 33faa7b9d..097ece2bb 100644 --- a/examples/biff/main.cpp +++ b/examples/biff/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "biff.h" diff --git a/examples/buttongroups/buttongroups.cpp b/examples/buttongroups/buttongroups.cpp index f9859d3e2..2ec343d84 100644 --- a/examples/buttongroups/buttongroups.cpp +++ b/examples/buttongroups/buttongroups.cpp @@ -9,13 +9,13 @@ #include "buttongroups.h" -#include <qpopupmenu.h> -#include <qbuttongroup.h> -#include <qlayout.h> -#include <qradiobutton.h> -#include <qcheckbox.h> -#include <qgroupbox.h> -#include <qpushbutton.h> +#include <ntqpopupmenu.h> +#include <ntqbuttongroup.h> +#include <ntqlayout.h> +#include <ntqradiobutton.h> +#include <ntqcheckbox.h> +#include <ntqgroupbox.h> +#include <ntqpushbutton.h> /* * Constructor diff --git a/examples/buttongroups/buttongroups.h b/examples/buttongroups/buttongroups.h index 3c498a3ce..938304995 100644 --- a/examples/buttongroups/buttongroups.h +++ b/examples/buttongroups/buttongroups.h @@ -10,7 +10,7 @@ #ifndef BUTTONS_GROUPS_H #define BUTTONS_GROUPS_H -#include <qwidget.h> +#include <ntqwidget.h> class TQCheckBox; class TQRadioButton; diff --git a/examples/buttongroups/main.cpp b/examples/buttongroups/main.cpp index 771dd35b8..de32dfb95 100644 --- a/examples/buttongroups/main.cpp +++ b/examples/buttongroups/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "buttongroups.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/canvas/blendshadow.cpp b/examples/canvas/blendshadow.cpp index deb18a4a1..e4a498b2c 100644 --- a/examples/canvas/blendshadow.cpp +++ b/examples/canvas/blendshadow.cpp @@ -1,5 +1,5 @@ -#include <qimage.h> -#include <qcolor.h> +#include <ntqimage.h> +#include <ntqcolor.h> static inline int blendComponent( int v, int av, int s, int as ) { diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 5dfd8e0ab..47bc9b6af 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -1,14 +1,14 @@ -#include <qdatetime.h> -#include <qmainwindow.h> -#include <qstatusbar.h> -#include <qmessagebox.h> -#include <qmenubar.h> -#include <qapplication.h> -#include <qpainter.h> -#include <qprinter.h> -#include <qlabel.h> -#include <qimage.h> -#include <qprogressdialog.h> +#include <ntqdatetime.h> +#include <ntqmainwindow.h> +#include <ntqstatusbar.h> +#include <ntqmessagebox.h> +#include <ntqmenubar.h> +#include <ntqapplication.h> +#include <ntqpainter.h> +#include <ntqprinter.h> +#include <ntqlabel.h> +#include <ntqimage.h> +#include <ntqprogressdialog.h> #include "canvas.h" #include <stdlib.h> diff --git a/examples/canvas/canvas.h b/examples/canvas/canvas.h index 178e5c0c3..cc269037c 100644 --- a/examples/canvas/canvas.h +++ b/examples/canvas/canvas.h @@ -1,10 +1,10 @@ #ifndef EXAMPLE_H #define EXAMPLE_H -#include <qpopupmenu.h> -#include <qmainwindow.h> -#include <qintdict.h> -#include <qcanvas.h> +#include <ntqpopupmenu.h> +#include <ntqmainwindow.h> +#include <ntqintdict.h> +#include <ntqcanvas.h> class BouncyLogo : public TQCanvasSprite { void initPos(); diff --git a/examples/canvas/main.cpp b/examples/canvas/main.cpp index 65e8a5d02..4a4c4eff6 100644 --- a/examples/canvas/main.cpp +++ b/examples/canvas/main.cpp @@ -1,8 +1,8 @@ -#include <qstatusbar.h> -#include <qmessagebox.h> -#include <qmenubar.h> -#include <qapplication.h> -#include <qimage.h> +#include <ntqstatusbar.h> +#include <ntqmessagebox.h> +#include <ntqmenubar.h> +#include <ntqapplication.h> +#include <ntqimage.h> #include "canvas.h" diff --git a/examples/canvas/makeimg.cpp b/examples/canvas/makeimg.cpp index 23f3c6acc..bc1da57dd 100644 --- a/examples/canvas/makeimg.cpp +++ b/examples/canvas/makeimg.cpp @@ -1,5 +1,5 @@ -#include <qimage.h> -#include <qcolor.h> +#include <ntqimage.h> +#include <ntqcolor.h> static inline int blendComponent( int v, int av, int s, int as ) { diff --git a/examples/chart/canvastext.h b/examples/chart/canvastext.h index 095aa15f4..6b61fa46f 100644 --- a/examples/chart/canvastext.h +++ b/examples/chart/canvastext.h @@ -1,7 +1,7 @@ #ifndef CANVASTEXT_H #define CANVASTEXT_H -#include <qcanvas.h> +#include <ntqcanvas.h> class TQFont; diff --git a/examples/chart/canvasview.cpp b/examples/chart/canvasview.cpp index 17acfe883..7fe852def 100644 --- a/examples/chart/canvasview.cpp +++ b/examples/chart/canvasview.cpp @@ -1,10 +1,10 @@ #include "canvasview.h" #include "chartform.h" -#include <qcursor.h> -#include <qpoint.h> -#include <qpopupmenu.h> -#include <qstatusbar.h> +#include <ntqcursor.h> +#include <ntqpoint.h> +#include <ntqpopupmenu.h> +#include <ntqstatusbar.h> void CanvasView::contentsContextMenuEvent( TQContextMenuEvent * ) diff --git a/examples/chart/canvasview.h b/examples/chart/canvasview.h index 55b5d25c0..d51ba6b5f 100644 --- a/examples/chart/canvasview.h +++ b/examples/chart/canvasview.h @@ -4,7 +4,7 @@ #include "element.h" #include "canvastext.h" -#include <qcanvas.h> +#include <ntqcanvas.h> class TQPoint; diff --git a/examples/chart/chartform.cpp b/examples/chart/chartform.cpp index 43b26af7c..b804a1f59 100644 --- a/examples/chart/chartform.cpp +++ b/examples/chart/chartform.cpp @@ -3,24 +3,24 @@ #include "optionsform.h" #include "setdataform.h" -#include <qaction.h> -#include <qapplication.h> -#include <qcombobox.h> -#include <qfile.h> -#include <qfiledialog.h> -#include <qfont.h> -#include <qfontdialog.h> -#include <qmenubar.h> -#include <qmessagebox.h> -#include <qpixmap.h> -#include <qpopupmenu.h> -#include <qprinter.h> -#include <qradiobutton.h> -#include <qsettings.h> -#include <qspinbox.h> -#include <qstatusbar.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> +#include <ntqaction.h> +#include <ntqapplication.h> +#include <ntqcombobox.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqfont.h> +#include <ntqfontdialog.h> +#include <ntqmenubar.h> +#include <ntqmessagebox.h> +#include <ntqpixmap.h> +#include <ntqpopupmenu.h> +#include <ntqprinter.h> +#include <ntqradiobutton.h> +#include <ntqsettings.h> +#include <ntqspinbox.h> +#include <ntqstatusbar.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> #include "images/file_new.xpm" #include "images/file_open.xpm" diff --git a/examples/chart/chartform.h b/examples/chart/chartform.h index 7fdeea641..b2d30c01e 100644 --- a/examples/chart/chartform.h +++ b/examples/chart/chartform.h @@ -3,8 +3,8 @@ #include "element.h" -#include <qmainwindow.h> -#include <qstringlist.h> +#include <ntqmainwindow.h> +#include <ntqstringlist.h> class CanvasView; diff --git a/examples/chart/chartform_canvas.cpp b/examples/chart/chartform_canvas.cpp index 842c04e6f..72b65f5c1 100644 --- a/examples/chart/chartform_canvas.cpp +++ b/examples/chart/chartform_canvas.cpp @@ -1,8 +1,8 @@ #include "canvastext.h" #include "chartform.h" -#include <qbrush.h> -#include <qcanvas.h> +#include <ntqbrush.h> +#include <ntqcanvas.h> #include <math.h> // sin, cos diff --git a/examples/chart/chartform_files.cpp b/examples/chart/chartform_files.cpp index 742dbeaa1..b9a5c4f17 100644 --- a/examples/chart/chartform_files.cpp +++ b/examples/chart/chartform_files.cpp @@ -1,11 +1,11 @@ #include "canvasview.h" #include "chartform.h" -#include <qfile.h> -#include <qfiledialog.h> -#include <qpainter.h> -#include <qprinter.h> -#include <qstatusbar.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqpainter.h> +#include <ntqprinter.h> +#include <ntqstatusbar.h> void ChartForm::load( const TQString& filename ) diff --git a/examples/chart/element.cpp b/examples/chart/element.cpp index 570fccce8..24f566c91 100644 --- a/examples/chart/element.cpp +++ b/examples/chart/element.cpp @@ -1,7 +1,7 @@ #include "element.h" -#include <qstringlist.h> -#include <qtextstream.h> +#include <ntqstringlist.h> +#include <ntqtextstream.h> const char FIELD_SEP = ':'; const char PROPOINT_SEP = ';'; diff --git a/examples/chart/element.h b/examples/chart/element.h index a166d207a..da5476842 100644 --- a/examples/chart/element.h +++ b/examples/chart/element.h @@ -1,10 +1,10 @@ #ifndef ELEMENT_H #define ELEMENT_H -#include <qcolor.h> -#include <qnamespace.h> -#include <qstring.h> -#include <qvaluevector.h> +#include <ntqcolor.h> +#include <ntqnamespace.h> +#include <ntqstring.h> +#include <ntqvaluevector.h> class Element; diff --git a/examples/chart/main.cpp b/examples/chart/main.cpp index 328e7fe54..f904c42b3 100644 --- a/examples/chart/main.cpp +++ b/examples/chart/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "chartform.h" diff --git a/examples/chart/optionsform.cpp b/examples/chart/optionsform.cpp index c6e16af5d..21ba4b51d 100644 --- a/examples/chart/optionsform.cpp +++ b/examples/chart/optionsform.cpp @@ -1,15 +1,15 @@ #include "optionsform.h" -#include <qbuttongroup.h> -#include <qcombobox.h> -#include <qfontdialog.h> -#include <qframe.h> -#include <qimage.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qspinbox.h> +#include <ntqbuttongroup.h> +#include <ntqcombobox.h> +#include <ntqfontdialog.h> +#include <ntqframe.h> +#include <ntqimage.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqpushbutton.h> +#include <ntqradiobutton.h> +#include <ntqspinbox.h> #include "images/options_horizontalbarchart.xpm" #include "images/options_piechart.xpm" diff --git a/examples/chart/optionsform.h b/examples/chart/optionsform.h index e9d07ad91..c160f777b 100644 --- a/examples/chart/optionsform.h +++ b/examples/chart/optionsform.h @@ -1,7 +1,7 @@ #ifndef OPTIONSFORM_H #define OPTIONSFORM_H -#include <qdialog.h> +#include <ntqdialog.h> class TQButtonGroup; class TQComboBox; diff --git a/examples/chart/setdataform.cpp b/examples/chart/setdataform.cpp index d6c57e370..d13d20979 100644 --- a/examples/chart/setdataform.cpp +++ b/examples/chart/setdataform.cpp @@ -1,12 +1,12 @@ #include "setdataform.h" #include "chartform.h" -#include <qcolordialog.h> -#include <qcombobox.h> -#include <qlayout.h> -#include <qpixmap.h> -#include <qpushbutton.h> -#include <qtable.h> +#include <ntqcolordialog.h> +#include <ntqcombobox.h> +#include <ntqlayout.h> +#include <ntqpixmap.h> +#include <ntqpushbutton.h> +#include <ntqtable.h> #include "images/pattern01.xpm" #include "images/pattern02.xpm" diff --git a/examples/chart/setdataform.h b/examples/chart/setdataform.h index e16dd784e..88eb98f92 100644 --- a/examples/chart/setdataform.h +++ b/examples/chart/setdataform.h @@ -3,7 +3,7 @@ #include "element.h" -#include <qdialog.h> +#include <ntqdialog.h> class TQHBoxLayout; class TQPushButton; diff --git a/examples/checklists/checklists.cpp b/examples/checklists/checklists.cpp index b4f1e2353..08b11fc30 100644 --- a/examples/checklists/checklists.cpp +++ b/examples/checklists/checklists.cpp @@ -9,13 +9,13 @@ #include "checklists.h" -#include <qlistview.h> -#include <qvbox.h> -#include <qlabel.h> -#include <qvaluelist.h> -#include <qstring.h> -#include <qpushbutton.h> -#include <qlayout.h> +#include <ntqlistview.h> +#include <ntqvbox.h> +#include <ntqlabel.h> +#include <ntqvaluelist.h> +#include <ntqstring.h> +#include <ntqpushbutton.h> +#include <ntqlayout.h> /* * Constructor diff --git a/examples/checklists/checklists.h b/examples/checklists/checklists.h index 2de89bb2b..5235f830c 100644 --- a/examples/checklists/checklists.h +++ b/examples/checklists/checklists.h @@ -10,7 +10,7 @@ #ifndef CHECKLISTS_H #define CHECKLISTS_H -#include <qwidget.h> +#include <ntqwidget.h> class TQListView; class TQLabel; diff --git a/examples/checklists/main.cpp b/examples/checklists/main.cpp index 9da7ae1bd..65f368348 100644 --- a/examples/checklists/main.cpp +++ b/examples/checklists/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "checklists.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/cursor/cursor.cpp b/examples/cursor/cursor.cpp index 4252dc346..77e77ad77 100644 --- a/examples/cursor/cursor.cpp +++ b/examples/cursor/cursor.cpp @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qlabel.h> -#include <qbitmap.h> -#include <qapplication.h> -#include <qlayout.h> -#include <qcursor.h> +#include <ntqlabel.h> +#include <ntqbitmap.h> +#include <ntqapplication.h> +#include <ntqlayout.h> +#include <ntqcursor.h> // cb_bits and cm_bits were generated by X bitmap program. diff --git a/examples/customlayout/border.h b/examples/customlayout/border.h index fcab38acd..98788aa61 100644 --- a/examples/customlayout/border.h +++ b/examples/customlayout/border.h @@ -14,8 +14,8 @@ #ifndef BORDER_H #define BORDER_H -#include <qlayout.h> -#include <qptrlist.h> +#include <ntqlayout.h> +#include <ntqptrlist.h> class BorderWidgetItem : public TQWidgetItem { diff --git a/examples/customlayout/card.h b/examples/customlayout/card.h index 846bde9f4..0e7f8ed79 100644 --- a/examples/customlayout/card.h +++ b/examples/customlayout/card.h @@ -14,8 +14,8 @@ #ifndef CARD_H #define CARD_H -#include <qlayout.h> -#include <qptrlist.h> +#include <ntqlayout.h> +#include <ntqptrlist.h> class CardLayout : public TQLayout { diff --git a/examples/customlayout/flow.h b/examples/customlayout/flow.h index 9429a4ffb..5b5421cdf 100644 --- a/examples/customlayout/flow.h +++ b/examples/customlayout/flow.h @@ -14,8 +14,8 @@ #ifndef FLOW_H #define FLOW_H -#include <qlayout.h> -#include <qptrlist.h> +#include <ntqlayout.h> +#include <ntqptrlist.h> class SimpleFlow : public TQLayout { diff --git a/examples/customlayout/main.cpp b/examples/customlayout/main.cpp index 4f2d15e12..c6ccf72e4 100644 --- a/examples/customlayout/main.cpp +++ b/examples/customlayout/main.cpp @@ -13,13 +13,13 @@ #include "border.h" #include "card.h" -#include <qapplication.h> -#include <qlabel.h> -#include <qcolor.h> -#include <qgroupbox.h> -#include <qpushbutton.h> -#include <qmultilineedit.h> -#include <qcolor.h> +#include <ntqapplication.h> +#include <ntqlabel.h> +#include <ntqcolor.h> +#include <ntqgroupbox.h> +#include <ntqpushbutton.h> +#include <ntqmultilineedit.h> +#include <ntqcolor.h> int main( int argc, char **argv ) { diff --git a/examples/dclock/dclock.cpp b/examples/dclock/dclock.cpp index be7cc8539..8de9352d6 100644 --- a/examples/dclock/dclock.cpp +++ b/examples/dclock/dclock.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "dclock.h" -#include <qdatetime.h> +#include <ntqdatetime.h> // diff --git a/examples/dclock/dclock.h b/examples/dclock/dclock.h index 315c54221..a98a69650 100644 --- a/examples/dclock/dclock.h +++ b/examples/dclock/dclock.h @@ -10,7 +10,7 @@ #ifndef DCLOCK_H #define DCLOCK_H -#include <qlcdnumber.h> +#include <ntqlcdnumber.h> class DigitalClock : public TQLCDNumber // digital clock widget diff --git a/examples/dclock/main.cpp b/examples/dclock/main.cpp index eb0dbc837..27a9f96dd 100644 --- a/examples/dclock/main.cpp +++ b/examples/dclock/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "dclock.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) 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 <<a href="qlabel-h.html">qlabel.h</a>></code> +<code>#include <<a href="qlabel-h.html">ntqlabel.h</a>></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-><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-><a href="ntqframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken ); label-><a href="#dffb43">setText</a>( "first line\nsecond line" ); label-><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, "&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, "&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>�&�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>�&�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>�&�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>�&�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>�&�) <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>�&�) <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>( "&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>( "&Name:", this ); nameLb-><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>( "&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>( "&Phone:", this ); phoneLb-><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>�&�movie�) <code>[virtual�slot]</code></h3> +<h3 class="fn">void�<a name="60de9f"></a>TQLabel::setMovie�(�const�<a href="ntqmovie.html">TQMovie</a>�&�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>�&�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>�&�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>�&�text�) <code>[virtual�slot]</code></h3> +<h3 class="fn">void�<a name="dffb43"></a>TQLabel::setText�(�const�<a href="ntqstring.html">TQString</a>�&�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() { diff --git a/examples/desktop/desktop.cpp b/examples/desktop/desktop.cpp index 34c548ca7..4831efe59 100644 --- a/examples/desktop/desktop.cpp +++ b/examples/desktop/desktop.cpp @@ -7,12 +7,12 @@ ** *****************************************************************************/ -#include <qimage.h> -#include <qbitmap.h> -#include <qpainter.h> -#include <qapplication.h> -#include <qdropsite.h> -#include <qdragobject.h> +#include <ntqimage.h> +#include <ntqbitmap.h> +#include <ntqpainter.h> +#include <ntqapplication.h> +#include <ntqdropsite.h> +#include <ntqdragobject.h> #include <stdio.h> diff --git a/examples/dirview/dirview.cpp b/examples/dirview/dirview.cpp index ce5e96b9c..9c04a4b64 100644 --- a/examples/dirview/dirview.cpp +++ b/examples/dirview/dirview.cpp @@ -9,19 +9,19 @@ #include "dirview.h" -#include <qdir.h> -#include <qfile.h> -#include <qfileinfo.h> -#include <qpixmap.h> -#include <qevent.h> -#include <qpoint.h> -#include <qmessagebox.h> -#include <qdragobject.h> -#include <qmime.h> -#include <qstrlist.h> -#include <qstringlist.h> -#include <qapplication.h> -#include <qheader.h> +#include <ntqdir.h> +#include <ntqfile.h> +#include <ntqfileinfo.h> +#include <ntqpixmap.h> +#include <ntqevent.h> +#include <ntqpoint.h> +#include <ntqmessagebox.h> +#include <ntqdragobject.h> +#include <ntqmime.h> +#include <ntqstrlist.h> +#include <ntqstringlist.h> +#include <ntqapplication.h> +#include <ntqheader.h> static const char* folder_closed_xpm[]={ "16 16 9 1", diff --git a/examples/dirview/dirview.h b/examples/dirview/dirview.h index b4e49b5a2..988534509 100644 --- a/examples/dirview/dirview.h +++ b/examples/dirview/dirview.h @@ -10,11 +10,11 @@ #ifndef DIRVIEW_H #define DIRVIEW_H -#include <qlistview.h> -#include <qstring.h> -#include <qfile.h> -#include <qfileinfo.h> -#include <qtimer.h> +#include <ntqlistview.h> +#include <ntqstring.h> +#include <ntqfile.h> +#include <ntqfileinfo.h> +#include <ntqtimer.h> class TQWidget; class TQDragEnterEvent; diff --git a/examples/dirview/main.cpp b/examples/dirview/main.cpp index 00f712729..d6cf1a584 100644 --- a/examples/dirview/main.cpp +++ b/examples/dirview/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qfileinfo.h> -#include <qdir.h> +#include <ntqapplication.h> +#include <ntqfileinfo.h> +#include <ntqdir.h> #include "dirview.h" int main( int argc, char ** argv ) diff --git a/examples/distributor/distributor.ui.h b/examples/distributor/distributor.ui.h index c927cda5e..1d21f19f9 100644 --- a/examples/distributor/distributor.ui.h +++ b/examples/distributor/distributor.ui.h @@ -7,16 +7,16 @@ ** place of a destructor. *****************************************************************************/ -#include <qapplication.h> -#include <qcursor.h> -#include <qeventloop.h> -#include <qfile.h> -#include <qfiledialog.h> -#include <qfileinfo.h> -#include <qlineedit.h> -#include <qmessagebox.h> -#include <qpushbutton.h> -#include <qtimer.h> +#include <ntqapplication.h> +#include <ntqcursor.h> +#include <ntqeventloop.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqfileinfo.h> +#include <ntqlineedit.h> +#include <ntqmessagebox.h> +#include <ntqpushbutton.h> +#include <ntqtimer.h> void Distributor::init() diff --git a/examples/distributor/main.cpp b/examples/distributor/main.cpp index 9813afd82..743ae88ea 100644 --- a/examples/distributor/main.cpp +++ b/examples/distributor/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "distributor.h" int main( int argc, char ** argv ) diff --git a/examples/dragdrop/dropsite.cpp b/examples/dragdrop/dropsite.cpp index a1df3de21..18c5b60ca 100644 --- a/examples/dragdrop/dropsite.cpp +++ b/examples/dragdrop/dropsite.cpp @@ -13,11 +13,11 @@ #include "dropsite.h" #include "secret.h" -#include <qevent.h> -#include <qpixmap.h> -#include <qdragobject.h> -#include <qimage.h> -#include <qdir.h> +#include <ntqevent.h> +#include <ntqpixmap.h> +#include <ntqdragobject.h> +#include <ntqimage.h> +#include <ntqdir.h> DropSite::DropSite( TQWidget * parent, const char * name ) diff --git a/examples/dragdrop/dropsite.h b/examples/dragdrop/dropsite.h index 0179c5497..26843c1e6 100644 --- a/examples/dragdrop/dropsite.h +++ b/examples/dragdrop/dropsite.h @@ -14,9 +14,9 @@ #ifndef DROPSITE_H #define DROPSITE_H -#include <qlabel.h> -#include <qmovie.h> -#include "qdropsite.h" +#include <ntqlabel.h> +#include <ntqmovie.h> +#include "ntqdropsite.h" class TQDragObject; diff --git a/examples/dragdrop/main.cpp b/examples/dragdrop/main.cpp index 91676c562..fc5a3e825 100644 --- a/examples/dragdrop/main.cpp +++ b/examples/dragdrop/main.cpp @@ -9,13 +9,13 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "dropsite.h" #include "secret.h" -#include <qlayout.h> -#include <qcombobox.h> -#include <qlabel.h> -#include <qpixmap.h> +#include <ntqlayout.h> +#include <ntqcombobox.h> +#include <ntqlabel.h> +#include <ntqpixmap.h> static void addStuff( TQWidget * parent, bool image, bool secret = FALSE ) { diff --git a/examples/dragdrop/secret.cpp b/examples/dragdrop/secret.cpp index c90e52816..fdba44884 100644 --- a/examples/dragdrop/secret.cpp +++ b/examples/dragdrop/secret.cpp @@ -12,7 +12,7 @@ *****************************************************************************/ #include "secret.h" -#include <qevent.h> +#include <ntqevent.h> //create the object withe the secret byte diff --git a/examples/dragdrop/secret.h b/examples/dragdrop/secret.h index 5b027db81..573ea1442 100644 --- a/examples/dragdrop/secret.h +++ b/examples/dragdrop/secret.h @@ -14,8 +14,8 @@ #ifndef SECRETDRAG_H #define SECRETDRAG_H -#include <qdragobject.h> -#include <qlabel.h> +#include <ntqdragobject.h> +#include <ntqlabel.h> class SecretDrag: public TQStoredDrag { public: diff --git a/examples/drawdemo/drawdemo.cpp b/examples/drawdemo/drawdemo.cpp index 63211057e..013da8466 100644 --- a/examples/drawdemo/drawdemo.cpp +++ b/examples/drawdemo/drawdemo.cpp @@ -7,13 +7,13 @@ ** *****************************************************************************/ -#include <qwidget.h> -#include <qpainter.h> -#include <qprinter.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qbuttongroup.h> -#include <qapplication.h> +#include <ntqwidget.h> +#include <ntqpainter.h> +#include <ntqprinter.h> +#include <ntqpushbutton.h> +#include <ntqradiobutton.h> +#include <ntqbuttongroup.h> +#include <ntqapplication.h> #include <math.h> // @@ -176,7 +176,7 @@ DrawView::DrawView() // ourDrawFunctions-array. for ( i=0; (n=ourDrawFunctions[i].name) != 0; i++ ) { int w = fm.width( n ); - maxwidth = TQMAX(w,maxwidth); // TQMAX is a macro defined in qglobal.h + maxwidth = TQMAX(w,maxwidth); // TQMAX is a macro defined in ntqglobal.h // and returns the biggest of to values. // Due to its macro nature one should use it with care and with // constant parameters only. diff --git a/examples/drawlines/connect.cpp b/examples/drawlines/connect.cpp index cfd785ba7..bb4048f91 100644 --- a/examples/drawlines/connect.cpp +++ b/examples/drawlines/connect.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qwidget.h> -#include <qpainter.h> -#include <qapplication.h> +#include <ntqwidget.h> +#include <ntqpainter.h> +#include <ntqapplication.h> #include <stdlib.h> diff --git a/examples/extension/main.cpp b/examples/extension/main.cpp index 4266b807c..98579af15 100644 --- a/examples/extension/main.cpp +++ b/examples/extension/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "mainform.h" int main( int argc, char ** argv ) diff --git a/examples/extension/mainform.ui.h b/examples/extension/mainform.ui.h index c531b997b..350d49413 100644 --- a/examples/extension/mainform.ui.h +++ b/examples/extension/mainform.ui.h @@ -7,9 +7,9 @@ *****************************************************************************/ #include "dialogform.h" #include "extension.h" -#include <qapplication.h> -#include <qcheckbox.h> -#include <qlineedit.h> +#include <ntqapplication.h> +#include <ntqcheckbox.h> +#include <ntqlineedit.h> void MainForm::init() { diff --git a/examples/fileiconview/main.cpp b/examples/fileiconview/main.cpp index 916ab1d1f..5ab4b4b06 100644 --- a/examples/fileiconview/main.cpp +++ b/examples/fileiconview/main.cpp @@ -10,7 +10,7 @@ #include "mainwindow.h" #include "qfileiconview.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) diff --git a/examples/fileiconview/mainwindow.cpp b/examples/fileiconview/mainwindow.cpp index c237f9aa6..2d2791ed5 100644 --- a/examples/fileiconview/mainwindow.cpp +++ b/examples/fileiconview/mainwindow.cpp @@ -11,16 +11,16 @@ #include "qfileiconview.h" #include "../dirview/dirview.h" -#include <qsplitter.h> -#include <qprogressbar.h> -#include <qlabel.h> -#include <qstatusbar.h> -#include <qtoolbar.h> -#include <qcombobox.h> -#include <qpixmap.h> -#include <qtoolbutton.h> -#include <qdir.h> -#include <qfileinfo.h> +#include <ntqsplitter.h> +#include <ntqprogressbar.h> +#include <ntqlabel.h> +#include <ntqstatusbar.h> +#include <ntqtoolbar.h> +#include <ntqcombobox.h> +#include <ntqpixmap.h> +#include <ntqtoolbutton.h> +#include <ntqdir.h> +#include <ntqfileinfo.h> static const char* cdtoparent_xpm[]={ "15 13 3 1", diff --git a/examples/fileiconview/mainwindow.h b/examples/fileiconview/mainwindow.h index 0d79fd61e..e9f9a8918 100644 --- a/examples/fileiconview/mainwindow.h +++ b/examples/fileiconview/mainwindow.h @@ -10,7 +10,7 @@ #ifndef MAINWIN_H #define MAINWIN_H -#include <qmainwindow.h> +#include <ntqmainwindow.h> class TQtFileIconView; class DirectoryView; diff --git a/examples/fileiconview/qfileiconview.cpp b/examples/fileiconview/qfileiconview.cpp index 2f7950f77..89cddb440 100644 --- a/examples/fileiconview/qfileiconview.cpp +++ b/examples/fileiconview/qfileiconview.cpp @@ -8,18 +8,18 @@ *****************************************************************************/ #include "qfileiconview.h" -#include <qpainter.h> -#include <qstringlist.h> -#include <qpixmap.h> -#include <qmime.h> -#include <qstrlist.h> -#include <qdragobject.h> -#include <qmessagebox.h> -#include <qevent.h> -#include <qpopupmenu.h> -#include <qcursor.h> -#include <qapplication.h> -#include <qwmatrix.h> +#include <ntqpainter.h> +#include <ntqstringlist.h> +#include <ntqpixmap.h> +#include <ntqmime.h> +#include <ntqstrlist.h> +#include <ntqdragobject.h> +#include <ntqmessagebox.h> +#include <ntqevent.h> +#include <ntqpopupmenu.h> +#include <ntqcursor.h> +#include <ntqapplication.h> +#include <ntqwmatrix.h> #include <stdlib.h> diff --git a/examples/fileiconview/qfileiconview.h b/examples/fileiconview/qfileiconview.h index 4a2e4b118..304456e97 100644 --- a/examples/fileiconview/qfileiconview.h +++ b/examples/fileiconview/qfileiconview.h @@ -11,12 +11,12 @@ #define TQTFILEICONVIEW_H -#include <qiconset.h> -#include <qstring.h> -#include <qfileinfo.h> -#include <qdir.h> -#include <qtimer.h> -#include <qiconview.h> +#include <ntqiconset.h> +#include <ntqstring.h> +#include <ntqfileinfo.h> +#include <ntqdir.h> +#include <ntqtimer.h> +#include <ntqiconview.h> class TQtFileIconView; class TQDragObject; diff --git a/examples/fonts/simple-qfont-demo/simple-qfont-demo.cpp b/examples/fonts/simple-qfont-demo/simple-qfont-demo.cpp index 2e9f8d3a6..aa12a5055 100644 --- a/examples/fonts/simple-qfont-demo/simple-qfont-demo.cpp +++ b/examples/fonts/simple-qfont-demo/simple-qfont-demo.cpp @@ -1,7 +1,7 @@ #include "viewer.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/fonts/simple-qfont-demo/viewer.cpp b/examples/fonts/simple-qfont-demo/viewer.cpp index 505cd42b3..990449ad4 100644 --- a/examples/fonts/simple-qfont-demo/viewer.cpp +++ b/examples/fonts/simple-qfont-demo/viewer.cpp @@ -1,10 +1,10 @@ #include "viewer.h" -#include <qstring.h> -#include <qstringlist.h> -#include <qtextview.h> -#include <qpushbutton.h> -#include <qlayout.h> +#include <ntqstring.h> +#include <ntqstringlist.h> +#include <ntqtextview.h> +#include <ntqpushbutton.h> +#include <ntqlayout.h> Viewer::Viewer() :TQWidget() diff --git a/examples/fonts/simple-qfont-demo/viewer.h b/examples/fonts/simple-qfont-demo/viewer.h index 1f72470a6..77b71e0c9 100644 --- a/examples/fonts/simple-qfont-demo/viewer.h +++ b/examples/fonts/simple-qfont-demo/viewer.h @@ -3,8 +3,8 @@ #define VIEWER_H -#include <qwidget.h> -#include <qfont.h> +#include <ntqwidget.h> +#include <ntqfont.h> class TQTextView; class TQPushButton; diff --git a/examples/forever/forever.cpp b/examples/forever/forever.cpp index 278572541..e21dfef61 100644 --- a/examples/forever/forever.cpp +++ b/examples/forever/forever.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qtimer.h> -#include <qpainter.h> -#include <qapplication.h> +#include <ntqtimer.h> +#include <ntqpainter.h> +#include <ntqapplication.h> #include <stdlib.h> // defines rand() function #include "forever.h" diff --git a/examples/forever/forever.h b/examples/forever/forever.h index 480e5691c..93ec0b474 100644 --- a/examples/forever/forever.h +++ b/examples/forever/forever.h @@ -14,7 +14,7 @@ #ifndef FOREVER_H #define FOREVER_H -#include <qwidget.h> +#include <ntqwidget.h> const int numColors = 120; diff --git a/examples/gridview/gridview.cpp b/examples/gridview/gridview.cpp index 647e3cc4c..b074a09dc 100644 --- a/examples/gridview/gridview.cpp +++ b/examples/gridview/gridview.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qgridview.h> -#include <qpainter.h> +#include <ntqapplication.h> +#include <ntqgridview.h> +#include <ntqpainter.h> // Grid size const int numRows = 100; diff --git a/examples/hello/hello.cpp b/examples/hello/hello.cpp index 55f8356e0..a1782cf05 100644 --- a/examples/hello/hello.cpp +++ b/examples/hello/hello.cpp @@ -8,10 +8,10 @@ *****************************************************************************/ #include "hello.h" -#include <qpushbutton.h> -#include <qtimer.h> -#include <qpainter.h> -#include <qpixmap.h> +#include <ntqpushbutton.h> +#include <ntqtimer.h> +#include <ntqpainter.h> +#include <ntqpixmap.h> /* diff --git a/examples/hello/hello.h b/examples/hello/hello.h index c519a3351..50929944d 100644 --- a/examples/hello/hello.h +++ b/examples/hello/hello.h @@ -10,7 +10,7 @@ #ifndef HELLO_H #define HELLO_H -#include <qwidget.h> +#include <ntqwidget.h> class Hello : public TQWidget diff --git a/examples/hello/main.cpp b/examples/hello/main.cpp index d8e401b3b..12ea3cf34 100644 --- a/examples/hello/main.cpp +++ b/examples/hello/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "hello.h" -#include <qapplication.h> +#include <ntqapplication.h> /* diff --git a/examples/helpdemo/helpdemo.cpp b/examples/helpdemo/helpdemo.cpp index 835d18185..4ca9039ef 100644 --- a/examples/helpdemo/helpdemo.cpp +++ b/examples/helpdemo/helpdemo.cpp @@ -1,12 +1,12 @@ -#include <qassistantclient.h> -#include <qmessagebox.h> -#include <qlineedit.h> -#include <qaction.h> -#include <qpopupmenu.h> -#include <qcheckbox.h> -#include <qprocess.h> -#include <qpushbutton.h> -#include <qdir.h> +#include <ntqassistantclient.h> +#include <ntqmessagebox.h> +#include <ntqlineedit.h> +#include <ntqaction.h> +#include <ntqpopupmenu.h> +#include <ntqcheckbox.h> +#include <ntqprocess.h> +#include <ntqpushbutton.h> +#include <ntqdir.h> #include "helpdemo.h" diff --git a/examples/helpdemo/helpdemo.h b/examples/helpdemo/helpdemo.h index c98f26528..cb60371f3 100644 --- a/examples/helpdemo/helpdemo.h +++ b/examples/helpdemo/helpdemo.h @@ -1,7 +1,7 @@ #ifndef HELPDEMO_H #define HELPDEMO_H -#include <qptrdict.h> +#include <ntqptrdict.h> #include "helpdemobase.h" diff --git a/examples/helpdemo/main.cpp b/examples/helpdemo/main.cpp index 8cb339954..acf769b6e 100644 --- a/examples/helpdemo/main.cpp +++ b/examples/helpdemo/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "helpdemo.h" int main( int argc, char ** argv ) diff --git a/examples/helpsystem/main.cpp b/examples/helpsystem/main.cpp index 43c2b73c5..aa99b8d22 100644 --- a/examples/helpsystem/main.cpp +++ b/examples/helpsystem/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "mainwindow.h" diff --git a/examples/helpsystem/mainwindow.cpp b/examples/helpsystem/mainwindow.cpp index e7e4ef9a9..cb64166b4 100644 --- a/examples/helpsystem/mainwindow.cpp +++ b/examples/helpsystem/mainwindow.cpp @@ -7,16 +7,16 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qassistantclient.h> -#include <qfiledialog.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qstatusbar.h> -#include <qtable.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qtooltip.h> +#include <ntqapplication.h> +#include <ntqassistantclient.h> +#include <ntqfiledialog.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqstatusbar.h> +#include <ntqtable.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqtooltip.h> #include "mainwindow.h" #include "tooltip.h" @@ -114,5 +114,5 @@ MainWindow::~MainWindow() void MainWindow::assistantSlot() { TQString docsPath = TQDir("../../doc").absPath(); - assistant->showPage( TQString("%1/html/qassistantclient.html").arg(docsPath) ); + assistant->showPage( TQString("%1/html/ntqassistantclient.html").arg(docsPath) ); } diff --git a/examples/helpsystem/mainwindow.h b/examples/helpsystem/mainwindow.h index 32c7239c8..00f4da5a9 100644 --- a/examples/helpsystem/mainwindow.h +++ b/examples/helpsystem/mainwindow.h @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qmainwindow.h> +#include <ntqmainwindow.h> class HeaderToolTip; class TableToolTip; diff --git a/examples/helpsystem/tooltip.cpp b/examples/helpsystem/tooltip.cpp index 407afa84a..eba546159 100644 --- a/examples/helpsystem/tooltip.cpp +++ b/examples/helpsystem/tooltip.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qtooltip.h> -#include <qtable.h> +#include <ntqtooltip.h> +#include <ntqtable.h> #include "tooltip.h" diff --git a/examples/helpsystem/tooltip.h b/examples/helpsystem/tooltip.h index 69c3bb74f..336a06fc2 100644 --- a/examples/helpsystem/tooltip.h +++ b/examples/helpsystem/tooltip.h @@ -10,7 +10,7 @@ #ifndef TOOLTIP_H #define TOOLTIP_H -#include <qtooltip.h> +#include <ntqtooltip.h> class TQTable; diff --git a/examples/helpsystem/whatsthis.cpp b/examples/helpsystem/whatsthis.cpp index b8511cbe9..020c59199 100644 --- a/examples/helpsystem/whatsthis.cpp +++ b/examples/helpsystem/whatsthis.cpp @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qdir.h> -#include <qheader.h> -#include <qtable.h> +#include <ntqapplication.h> +#include <ntqdir.h> +#include <ntqheader.h> +#include <ntqtable.h> #include "whatsthis.h" @@ -53,7 +53,7 @@ TQString HeaderWhatsThis::text( const TQPoint &p ) if( section == -1 ) return "This is empty space."; TQString docsPath = TQDir("../../doc").absPath(); - return TQString("This is section number %1 in the %2 <a href=%2/html/qheader.html>header</a>."). + return TQString("This is section number %1 in the %2 <a href=%2/html/ntqheader.html>header</a>."). arg(section + 1). arg(orient). arg(docsPath); @@ -91,7 +91,7 @@ TQString TableWhatsThis::text( const TQPoint &p ) arg(docsPath); } else if ( TQCheckTableItem::RTTI == i->rtti() ) { return TQString("This is a <a href=%1/html/qchecktableitem.html>TQCheckTableItem</a>." - "<br>It provide <a href=%1/html/qcheckbox.html>checkboxes</a> in tables."). + "<br>It provide <a href=%1/html/ntqcheckbox.html>checkboxes</a> in tables."). arg(docsPath).arg(docsPath); } diff --git a/examples/helpsystem/whatsthis.h b/examples/helpsystem/whatsthis.h index d15aad421..5280567d4 100644 --- a/examples/helpsystem/whatsthis.h +++ b/examples/helpsystem/whatsthis.h @@ -10,7 +10,7 @@ #ifndef WHATSTHIS_H #define WHATSTHIS_H -#include <qwhatsthis.h> +#include <ntqwhatsthis.h> class TQHeader; class TQTable; diff --git a/examples/helpviewer/helpwindow.cpp b/examples/helpviewer/helpwindow.cpp index 4ee587989..053a54ff0 100644 --- a/examples/helpviewer/helpwindow.cpp +++ b/examples/helpviewer/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/helpviewer/helpwindow.h b/examples/helpviewer/helpwindow.h index 19247de2e..fbb4da20f 100644 --- a/examples/helpviewer/helpwindow.h +++ b/examples/helpviewer/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/helpviewer/main.cpp b/examples/helpviewer/main.cpp index d6264c09f..d09840c2b 100644 --- a/examples/helpviewer/main.cpp +++ b/examples/helpviewer/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include "helpwindow.h" -#include <qapplication.h> -#include <qdir.h> +#include <ntqapplication.h> +#include <ntqdir.h> #include <stdlib.h> diff --git a/examples/i18n/main.cpp b/examples/i18n/main.cpp index adc8728f0..fdff78d09 100644 --- a/examples/i18n/main.cpp +++ b/examples/i18n/main.cpp @@ -7,17 +7,17 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qtranslator.h> -#include <qfileinfo.h> -#include <qmessagebox.h> -#include <qcheckbox.h> -#include <qvbox.h> -#include <qlayout.h> -#include <qbuttongroup.h> -#include <qpushbutton.h> -#include <qsignalmapper.h> -#include <qtextcodec.h> +#include <ntqapplication.h> +#include <ntqtranslator.h> +#include <ntqfileinfo.h> +#include <ntqmessagebox.h> +#include <ntqcheckbox.h> +#include <ntqvbox.h> +#include <ntqlayout.h> +#include <ntqbuttongroup.h> +#include <ntqpushbutton.h> +#include <ntqsignalmapper.h> +#include <ntqtextcodec.h> #include <stdlib.h> #if defined(Q_OS_UNIX) diff --git a/examples/i18n/mywidget.cpp b/examples/i18n/mywidget.cpp index c31483f6e..4135054f0 100644 --- a/examples/i18n/mywidget.cpp +++ b/examples/i18n/mywidget.cpp @@ -7,19 +7,19 @@ ** *****************************************************************************/ -#include <qbuttongroup.h> -#include <qradiobutton.h> -#include <qlabel.h> -#include <qlistbox.h> -#include <qcombobox.h> -#include <qlabel.h> -#include <qhbox.h> -#include <qvbox.h> -#include <qaccel.h> -#include <qpopupmenu.h> -#include <qmenubar.h> -#include <qstatusbar.h> -#include <qapplication.h> +#include <ntqbuttongroup.h> +#include <ntqradiobutton.h> +#include <ntqlabel.h> +#include <ntqlistbox.h> +#include <ntqcombobox.h> +#include <ntqlabel.h> +#include <ntqhbox.h> +#include <ntqvbox.h> +#include <ntqaccel.h> +#include <ntqpopupmenu.h> +#include <ntqmenubar.h> +#include <ntqstatusbar.h> +#include <ntqapplication.h> #include "mywidget.h" diff --git a/examples/i18n/mywidget.h b/examples/i18n/mywidget.h index 964e05c49..9cf4690de 100644 --- a/examples/i18n/mywidget.h +++ b/examples/i18n/mywidget.h @@ -10,8 +10,8 @@ #ifndef MYWIDGET_H #define MYWIDGET_H -#include <qmainwindow.h> -#include <qstring.h> +#include <ntqmainwindow.h> +#include <ntqstring.h> class MyWidget : public TQMainWindow { diff --git a/examples/iconview/main.cpp b/examples/iconview/main.cpp index 18daafd08..2738f1276 100644 --- a/examples/iconview/main.cpp +++ b/examples/iconview/main.cpp @@ -7,13 +7,13 @@ ** *****************************************************************************/ -#include <qiconview.h> -#include <qapplication.h> -#include <qdragobject.h> -#include <qpixmap.h> -#include <qiconset.h> +#include <ntqiconview.h> +#include <ntqapplication.h> +#include <ntqdragobject.h> +#include <ntqpixmap.h> +#include <ntqiconset.h> -#include <qmime.h> +#include <ntqmime.h> #include <stdio.h> class ListenDND : public TQObject diff --git a/examples/iconview/simple_dd/main.h b/examples/iconview/simple_dd/main.h index 062d47f78..a752a2d4e 100644 --- a/examples/iconview/simple_dd/main.h +++ b/examples/iconview/simple_dd/main.h @@ -7,12 +7,12 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qcursor.h> -#include <qsplitter.h> -#include <qlistbox.h> -#include <qiconview.h> -#include <qpixmap.h> +#include <ntqapplication.h> +#include <ntqcursor.h> +#include <ntqsplitter.h> +#include <ntqlistbox.h> +#include <ntqiconview.h> +#include <ntqpixmap.h> class TQDragEnterEvent; class TQDragDropEvent; diff --git a/examples/layout/layout.cpp b/examples/layout/layout.cpp index 9e2034a33..87bfde22d 100644 --- a/examples/layout/layout.cpp +++ b/examples/layout/layout.cpp @@ -7,15 +7,15 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qlabel.h> -#include <qcolor.h> -#include <qpushbutton.h> -#include <qlayout.h> -#include <qlineedit.h> -#include <qmultilineedit.h> -#include <qmenubar.h> -#include <qpopupmenu.h> +#include <ntqapplication.h> +#include <ntqlabel.h> +#include <ntqcolor.h> +#include <ntqpushbutton.h> +#include <ntqlayout.h> +#include <ntqlineedit.h> +#include <ntqmultilineedit.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> class ExampleWidget : public TQWidget { diff --git a/examples/life/life.cpp b/examples/life/life.cpp index 413a7db40..c86340a40 100644 --- a/examples/life/life.cpp +++ b/examples/life/life.cpp @@ -9,11 +9,11 @@ #include "life.h" -#include <qpainter.h> -#include <qdrawutil.h> -#include <qcheckbox.h> -#include <qevent.h> -#include <qapplication.h> +#include <ntqpainter.h> +#include <ntqdrawutil.h> +#include <ntqcheckbox.h> +#include <ntqevent.h> +#include <ntqapplication.h> // The main game of life widget diff --git a/examples/life/life.h b/examples/life/life.h index 578044068..f7481e256 100644 --- a/examples/life/life.h +++ b/examples/life/life.h @@ -10,7 +10,7 @@ #ifndef LIFE_H #define LIFE_H -#include <qframe.h> +#include <ntqframe.h> class LifeWidget : public TQFrame diff --git a/examples/life/lifedlg.cpp b/examples/life/lifedlg.cpp index a7beffaac..c1c3cce08 100644 --- a/examples/life/lifedlg.cpp +++ b/examples/life/lifedlg.cpp @@ -8,12 +8,12 @@ *****************************************************************************/ #include "lifedlg.h" -#include <qapplication.h> -#include <qpushbutton.h> -#include <qlabel.h> -#include <qslider.h> -#include <qcombobox.h> -#include <qdatetime.h> +#include <ntqapplication.h> +#include <ntqpushbutton.h> +#include <ntqlabel.h> +#include <ntqslider.h> +#include <ntqcombobox.h> +#include <ntqdatetime.h> #include <stdlib.h> #include "patterns.cpp" diff --git a/examples/life/lifedlg.h b/examples/life/lifedlg.h index 4ff4b195c..cb4c8532c 100644 --- a/examples/life/lifedlg.h +++ b/examples/life/lifedlg.h @@ -10,8 +10,8 @@ #ifndef LIFEDLG_H #define LIFEDLG_H -#include <qtimer.h> -#include <qwidget.h> +#include <ntqtimer.h> +#include <ntqwidget.h> class TQSlider; class TQPushButton; diff --git a/examples/life/main.cpp b/examples/life/main.cpp index 7505e0f28..8b3a64dd5 100644 --- a/examples/life/main.cpp +++ b/examples/life/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "lifedlg.h" -#include <qapplication.h> +#include <ntqapplication.h> #include <stdlib.h> void usage() diff --git a/examples/life/patterns.cpp b/examples/life/patterns.cpp index 4203adcd6..66c4c4d5b 100644 --- a/examples/life/patterns.cpp +++ b/examples/life/patterns.cpp @@ -26,7 +26,7 @@ * other special, indirect and consequential damages. *****************************************************************************/ -//#include <qglobal.h> +//#include <ntqglobal.h> #define NUMPTS 63 diff --git a/examples/lineedits/lineedits.cpp b/examples/lineedits/lineedits.cpp index 02c310e69..38568e761 100644 --- a/examples/lineedits/lineedits.cpp +++ b/examples/lineedits/lineedits.cpp @@ -9,13 +9,13 @@ #include "lineedits.h" -#include <qlineedit.h> -#include <qcombobox.h> -#include <qframe.h> -#include <qvalidator.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qhbox.h> +#include <ntqlineedit.h> +#include <ntqcombobox.h> +#include <ntqframe.h> +#include <ntqvalidator.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqhbox.h> /* * Constructor diff --git a/examples/lineedits/lineedits.h b/examples/lineedits/lineedits.h index efb901551..96c79b142 100644 --- a/examples/lineedits/lineedits.h +++ b/examples/lineedits/lineedits.h @@ -10,7 +10,7 @@ #ifndef LINEDITS_H #define LINEDITS_H -#include <qgroupbox.h> +#include <ntqgroupbox.h> class TQLineEdit; class TQComboBox; diff --git a/examples/lineedits/main.cpp b/examples/lineedits/main.cpp index 98592107b..a311cf48e 100644 --- a/examples/lineedits/main.cpp +++ b/examples/lineedits/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "lineedits.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/listbox/listbox.cpp b/examples/listbox/listbox.cpp index bf4049787..be09f0a8f 100644 --- a/examples/listbox/listbox.cpp +++ b/examples/listbox/listbox.cpp @@ -9,14 +9,14 @@ #include "listbox.h" -#include <qlabel.h> -#include <qradiobutton.h> -#include <qcheckbox.h> -#include <qspinbox.h> -#include <qlistbox.h> -#include <qbuttongroup.h> -#include <qlayout.h> -#include <qpushbutton.h> +#include <ntqlabel.h> +#include <ntqradiobutton.h> +#include <ntqcheckbox.h> +#include <ntqspinbox.h> +#include <ntqlistbox.h> +#include <ntqbuttongroup.h> +#include <ntqlayout.h> +#include <ntqpushbutton.h> ListBoxDemo::ListBoxDemo() diff --git a/examples/listbox/listbox.h b/examples/listbox/listbox.h index 62cd8c82f..06581e0a0 100644 --- a/examples/listbox/listbox.h +++ b/examples/listbox/listbox.h @@ -15,7 +15,7 @@ class TQSpinBox; class TQListBox; class TQButtonGroup; -#include <qwidget.h> +#include <ntqwidget.h> class ListBoxDemo: public TQWidget diff --git a/examples/listbox/main.cpp b/examples/listbox/main.cpp index 0e3c7ad3b..1eae11227 100644 --- a/examples/listbox/main.cpp +++ b/examples/listbox/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "listbox.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/listboxcombo/listboxcombo.cpp b/examples/listboxcombo/listboxcombo.cpp index ceb06995b..537ad1a9e 100644 --- a/examples/listboxcombo/listboxcombo.cpp +++ b/examples/listboxcombo/listboxcombo.cpp @@ -9,16 +9,16 @@ #include "listboxcombo.h" -#include <qcombobox.h> -#include <qlistbox.h> -#include <qhbox.h> -#include <qpushbutton.h> -#include <qstring.h> -#include <qpixmap.h> -#include <qlabel.h> -#include <qimage.h> -#include <qpainter.h> -#include <qstyle.h> +#include <ntqcombobox.h> +#include <ntqlistbox.h> +#include <ntqhbox.h> +#include <ntqpushbutton.h> +#include <ntqstring.h> +#include <ntqpixmap.h> +#include <ntqlabel.h> +#include <ntqimage.h> +#include <ntqpainter.h> +#include <ntqstyle.h> class MyListBoxItem : public TQListBoxItem diff --git a/examples/listboxcombo/listboxcombo.h b/examples/listboxcombo/listboxcombo.h index b614fbd2a..5131fe35f 100644 --- a/examples/listboxcombo/listboxcombo.h +++ b/examples/listboxcombo/listboxcombo.h @@ -10,7 +10,7 @@ #ifndef LISTBOX_COMBO_H #define LISTBOX_COMBO_H -#include <qvbox.h> +#include <ntqvbox.h> class TQListBox; class TQLabel; diff --git a/examples/listboxcombo/main.cpp b/examples/listboxcombo/main.cpp index dcfc0a8b7..6b41a65c4 100644 --- a/examples/listboxcombo/main.cpp +++ b/examples/listboxcombo/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "listboxcombo.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/listviews/listviews.cpp b/examples/listviews/listviews.cpp index 91d4a2bc8..1344db998 100644 --- a/examples/listviews/listviews.cpp +++ b/examples/listviews/listviews.cpp @@ -9,13 +9,13 @@ #include "listviews.h" -#include <qlabel.h> -#include <qpainter.h> -#include <qpalette.h> -#include <qobjectlist.h> -#include <qpopupmenu.h> -#include <qheader.h> -#include <qregexp.h> +#include <ntqlabel.h> +#include <ntqpainter.h> +#include <ntqpalette.h> +#include <ntqobjectlist.h> +#include <ntqpopupmenu.h> +#include <ntqheader.h> +#include <ntqregexp.h> // ----------------------------------------------------------------- diff --git a/examples/listviews/listviews.h b/examples/listviews/listviews.h index bcc5e30d9..8eb462ac5 100644 --- a/examples/listviews/listviews.h +++ b/examples/listviews/listviews.h @@ -10,12 +10,12 @@ #ifndef LISTVIEWS_H #define LISTVIEWS_H -#include <qsplitter.h> -#include <qstring.h> -#include <qobject.h> -#include <qdatetime.h> -#include <qptrlist.h> -#include <qlistview.h> +#include <ntqsplitter.h> +#include <ntqstring.h> +#include <ntqobject.h> +#include <ntqdatetime.h> +#include <ntqptrlist.h> +#include <ntqlistview.h> class TQListView; class TQLabel; diff --git a/examples/listviews/main.cpp b/examples/listviews/main.cpp index bba039239..e32831647 100644 --- a/examples/listviews/main.cpp +++ b/examples/listviews/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "listviews.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/mdi/application.cpp b/examples/mdi/application.cpp index c66c1e6e9..028bab26f 100644 --- a/examples/mdi/application.cpp +++ b/examples/mdi/application.cpp @@ -8,31 +8,31 @@ *****************************************************************************/ #include "application.h" -#include <qworkspace.h> -#include <qimage.h> -#include <qpixmap.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qpopupmenu.h> -#include <qmenubar.h> -#include <qmovie.h> -#include <qfile.h> -#include <qfiledialog.h> -#include <qlabel.h> -#include <qstatusbar.h> -#include <qmessagebox.h> -#include <qprinter.h> -#include <qapplication.h> -#include <qpushbutton.h> -#include <qaccel.h> -#include <qtextstream.h> -#include <qtextedit.h> -#include <qpainter.h> -#include <qpaintdevicemetrics.h> -#include <qwhatsthis.h> -#include <qobjectlist.h> -#include <qvbox.h> -#include <qsimplerichtext.h> +#include <ntqworkspace.h> +#include <ntqimage.h> +#include <ntqpixmap.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqpopupmenu.h> +#include <ntqmenubar.h> +#include <ntqmovie.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqlabel.h> +#include <ntqstatusbar.h> +#include <ntqmessagebox.h> +#include <ntqprinter.h> +#include <ntqapplication.h> +#include <ntqpushbutton.h> +#include <ntqaccel.h> +#include <ntqtextstream.h> +#include <ntqtextedit.h> +#include <ntqpainter.h> +#include <ntqpaintdevicemetrics.h> +#include <ntqwhatsthis.h> +#include <ntqobjectlist.h> +#include <ntqvbox.h> +#include <ntqsimplerichtext.h> #include "filesave.xpm" #include "fileopen.xpm" diff --git a/examples/mdi/application.h b/examples/mdi/application.h index d0108df35..82bcdb3d1 100644 --- a/examples/mdi/application.h +++ b/examples/mdi/application.h @@ -10,8 +10,8 @@ #ifndef APPLICATION_H #define APPLICATION_H -#include <qmainwindow.h> -#include <qptrlist.h> +#include <ntqmainwindow.h> +#include <ntqptrlist.h> class TQTextEdit; class TQToolBar; diff --git a/examples/mdi/main.cpp b/examples/mdi/main.cpp index 5892ac983..e7e206be5 100644 --- a/examples/mdi/main.cpp +++ b/examples/mdi/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "application.h" int main( int argc, char ** argv ) { diff --git a/examples/menu/menu.cpp b/examples/menu/menu.cpp index d7bf39783..70eda9b5b 100644 --- a/examples/menu/menu.cpp +++ b/examples/menu/menu.cpp @@ -8,12 +8,12 @@ *****************************************************************************/ #include "menu.h" -#include <qcursor.h> -#include <qpopupmenu.h> -#include <qapplication.h> -#include <qmessagebox.h> -#include <qpixmap.h> -#include <qpainter.h> +#include <ntqcursor.h> +#include <ntqpopupmenu.h> +#include <ntqapplication.h> +#include <ntqmessagebox.h> +#include <ntqpixmap.h> +#include <ntqpainter.h> /* XPM */ static const char * p1_xpm[] = { diff --git a/examples/menu/menu.h b/examples/menu/menu.h index d42acd497..0f3eb396a 100644 --- a/examples/menu/menu.h +++ b/examples/menu/menu.h @@ -10,9 +10,9 @@ #ifndef MENU_H #define MENU_H -#include <qwidget.h> -#include <qmenubar.h> -#include <qlabel.h> +#include <ntqwidget.h> +#include <ntqmenubar.h> +#include <ntqlabel.h> class MenuExample : public TQWidget diff --git a/examples/movies/main.cpp b/examples/movies/main.cpp index abb1cf0b5..cabfc5553 100644 --- a/examples/movies/main.cpp +++ b/examples/movies/main.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qfiledialog.h> -#include <qpushbutton.h> -#include <qlabel.h> -#include <qpainter.h> -#include <qmessagebox.h> -#include <qmovie.h> -#include <qvbox.h> +#include <ntqapplication.h> +#include <ntqfiledialog.h> +#include <ntqpushbutton.h> +#include <ntqlabel.h> +#include <ntqpainter.h> +#include <ntqmessagebox.h> +#include <ntqmovie.h> +#include <ntqvbox.h> class MovieScreen : public TQFrame { diff --git a/examples/network/archivesearch/archivedialog.ui b/examples/network/archivesearch/archivedialog.ui index 3d3e67a90..7d7b78a5e 100644 --- a/examples/network/archivesearch/archivedialog.ui +++ b/examples/network/archivesearch/archivedialog.ui @@ -112,12 +112,12 @@ </vbox> </widget> <includes> - <include location="global" impldecl="in declaration">qhttp.h</include> - <include location="global" impldecl="in declaration">qurl.h</include> - <include location="global" impldecl="in declaration">qmessagebox.h</include> - <include location="global" impldecl="in declaration">qapplication.h</include> - <include location="global" impldecl="in declaration">qcursor.h</include> - <include location="global" impldecl="in declaration">qregexp.h</include> + <include location="global" impldecl="in declaration">ntqhttp.h</include> + <include location="global" impldecl="in declaration">ntqurl.h</include> + <include location="global" impldecl="in declaration">ntqmessagebox.h</include> + <include location="global" impldecl="in declaration">ntqapplication.h</include> + <include location="global" impldecl="in declaration">ntqcursor.h</include> + <include location="global" impldecl="in declaration">ntqregexp.h</include> <include location="local" impldecl="in implementation">archivedialog.ui.h</include> </includes> <variables> diff --git a/examples/network/archivesearch/main.cpp b/examples/network/archivesearch/main.cpp index 8a8588a1a..9db13ff18 100644 --- a/examples/network/archivesearch/main.cpp +++ b/examples/network/archivesearch/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "archivedialog.h" -#include <qapplication.h> +#include <ntqapplication.h> int main(int argc, char **argv) { diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp index 0155a4fa1..6a1a8eb00 100644 --- a/examples/network/clientserver/client/client.cpp +++ b/examples/network/clientserver/client/client.cpp @@ -7,15 +7,15 @@ ** *****************************************************************************/ -#include <qsocket.h> -#include <qapplication.h> -#include <qvbox.h> -#include <qhbox.h> -#include <qtextview.h> -#include <qlineedit.h> -#include <qlabel.h> -#include <qpushbutton.h> -#include <qtextstream.h> +#include <ntqsocket.h> +#include <ntqapplication.h> +#include <ntqvbox.h> +#include <ntqhbox.h> +#include <ntqtextview.h> +#include <ntqlineedit.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqtextstream.h> class Client : public TQVBox diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp index b6ac44794..cde5cc7c0 100644 --- a/examples/network/clientserver/server/server.cpp +++ b/examples/network/clientserver/server/server.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qsocket.h> -#include <qserversocket.h> -#include <qapplication.h> -#include <qvbox.h> -#include <qtextview.h> -#include <qlabel.h> -#include <qpushbutton.h> -#include <qtextstream.h> +#include <ntqsocket.h> +#include <ntqserversocket.h> +#include <ntqapplication.h> +#include <ntqvbox.h> +#include <ntqtextview.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqtextstream.h> #include <stdlib.h> diff --git a/examples/network/ftpclient/ftpmainwindow.ui.h b/examples/network/ftpclient/ftpmainwindow.ui.h index 1c272ffbe..8f3cde07c 100644 --- a/examples/network/ftpclient/ftpmainwindow.ui.h +++ b/examples/network/ftpclient/ftpmainwindow.ui.h @@ -18,14 +18,14 @@ ** *****************************************************************************/ -#include <qftp.h> -#include <qlineedit.h> -#include <qspinbox.h> -#include <qstatusbar.h> -#include <qmessagebox.h> -#include <qfiledialog.h> -#include <qprogressdialog.h> -#include <qapplication.h> +#include <ntqftp.h> +#include <ntqlineedit.h> +#include <ntqspinbox.h> +#include <ntqstatusbar.h> +#include <ntqmessagebox.h> +#include <ntqfiledialog.h> +#include <ntqprogressdialog.h> +#include <ntqapplication.h> #include "connectdialog.h" #include "ftpviewitem.h" diff --git a/examples/network/ftpclient/ftpviewitem.cpp b/examples/network/ftpclient/ftpviewitem.cpp index 0763c1b0d..97544b67f 100644 --- a/examples/network/ftpclient/ftpviewitem.cpp +++ b/examples/network/ftpclient/ftpviewitem.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qpixmap.h> +#include <ntqpixmap.h> #include "ftpviewitem.h" diff --git a/examples/network/ftpclient/ftpviewitem.h b/examples/network/ftpclient/ftpviewitem.h index 3387f030a..28dcbb87e 100644 --- a/examples/network/ftpclient/ftpviewitem.h +++ b/examples/network/ftpclient/ftpviewitem.h @@ -10,8 +10,8 @@ #ifndef FTPVIEWITEM_H #define FTPVIEWITEM_H -#include <qlistview.h> -#include <qdatetime.h> +#include <ntqlistview.h> +#include <ntqdatetime.h> class FtpViewItem : public TQListViewItem { diff --git a/examples/network/ftpclient/main.cpp b/examples/network/ftpclient/main.cpp index df636dcb9..1a231a714 100644 --- a/examples/network/ftpclient/main.cpp +++ b/examples/network/ftpclient/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "ftpmainwindow.h" int main( int argc, char **argv ) diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp index f96fc4554..6f7146b1a 100644 --- a/examples/network/httpd/httpd.cpp +++ b/examples/network/httpd/httpd.cpp @@ -7,16 +7,16 @@ ** *****************************************************************************/ #include <stdlib.h> -#include <qsocket.h> -#include <qregexp.h> -#include <qserversocket.h> -#include <qapplication.h> -#include <qmainwindow.h> -#include <qtextstream.h> -#include <qvbox.h> -#include <qlabel.h> -#include <qtextview.h> -#include <qpushbutton.h> +#include <ntqsocket.h> +#include <ntqregexp.h> +#include <ntqserversocket.h> +#include <ntqapplication.h> +#include <ntqmainwindow.h> +#include <ntqtextstream.h> +#include <ntqvbox.h> +#include <ntqlabel.h> +#include <ntqtextview.h> +#include <ntqpushbutton.h> // HttpDaemon is the the class that implements the simple HTTP server. class HttpDaemon : public TQServerSocket diff --git a/examples/network/infoprotocol/infoclient/client.cpp b/examples/network/infoprotocol/infoclient/client.cpp index a1852eb2e..58105a518 100644 --- a/examples/network/infoprotocol/infoclient/client.cpp +++ b/examples/network/infoprotocol/infoclient/client.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qsocket.h> -#include <qapplication.h> -#include <qtextedit.h> -#include <qlineedit.h> -#include <qlabel.h> -#include <qpushbutton.h> -#include <qtextstream.h> -#include <qlistbox.h> +#include <ntqsocket.h> +#include <ntqapplication.h> +#include <ntqtextedit.h> +#include <ntqlineedit.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqtextstream.h> +#include <ntqlistbox.h> #include "client.h" diff --git a/examples/network/infoprotocol/infoclient/main.cpp b/examples/network/infoprotocol/infoclient/main.cpp index 502026958..014887949 100644 --- a/examples/network/infoprotocol/infoclient/main.cpp +++ b/examples/network/infoprotocol/infoclient/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "client.h" diff --git a/examples/network/infoprotocol/infoserver/infodata.h b/examples/network/infoprotocol/infoserver/infodata.h index 5a293ceb0..45bf9c838 100644 --- a/examples/network/infoprotocol/infoserver/infodata.h +++ b/examples/network/infoprotocol/infoserver/infodata.h @@ -10,8 +10,8 @@ #ifndef INFODATA_H #define INFODATA_H -#include <qdict.h> -#include <qstringlist.h> +#include <ntqdict.h> +#include <ntqstringlist.h> // The InfoData class manages data, organized in tree structure. diff --git a/examples/network/infoprotocol/infoserver/main.cpp b/examples/network/infoprotocol/infoserver/main.cpp index 42c0c7fad..0cfcf58c0 100644 --- a/examples/network/infoprotocol/infoserver/main.cpp +++ b/examples/network/infoprotocol/infoserver/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "server.h" diff --git a/examples/network/infoprotocol/infoserver/server.cpp b/examples/network/infoprotocol/infoserver/server.cpp index e85e6120b..0402f6348 100644 --- a/examples/network/infoprotocol/infoserver/server.cpp +++ b/examples/network/infoprotocol/infoserver/server.cpp @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qtextview.h> -#include <qpushbutton.h> -#include <qtextstream.h> -#include <qapplication.h> -#include <qmessagebox.h> +#include <ntqtextview.h> +#include <ntqpushbutton.h> +#include <ntqtextstream.h> +#include <ntqapplication.h> +#include <ntqmessagebox.h> #include <stdlib.h> #include "server.h" diff --git a/examples/network/infoprotocol/infoserver/server.h b/examples/network/infoprotocol/infoserver/server.h index d7b9c9ae2..87683b89a 100644 --- a/examples/network/infoprotocol/infoserver/server.h +++ b/examples/network/infoprotocol/infoserver/server.h @@ -10,8 +10,8 @@ #ifndef SERVER_H #define SERVER_H -#include <qsocket.h> -#include <qserversocket.h> +#include <ntqsocket.h> +#include <ntqserversocket.h> #include "infodata.h" #include "serverbase.h" diff --git a/examples/network/infoprotocol/infourlclient/client.cpp b/examples/network/infoprotocol/infourlclient/client.cpp index a1625e299..6ae2c72fd 100644 --- a/examples/network/infoprotocol/infourlclient/client.cpp +++ b/examples/network/infoprotocol/infourlclient/client.cpp @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qtextedit.h> -#include <qpushbutton.h> -#include <qfiledialog.h> +#include <ntqapplication.h> +#include <ntqtextedit.h> +#include <ntqpushbutton.h> +#include <ntqfiledialog.h> #include "qip.h" #include "client.h" diff --git a/examples/network/infoprotocol/infourlclient/client.h b/examples/network/infoprotocol/infourlclient/client.h index 439edbbbb..42e1e303b 100644 --- a/examples/network/infoprotocol/infourlclient/client.h +++ b/examples/network/infoprotocol/infourlclient/client.h @@ -10,7 +10,7 @@ #ifndef CLIENT_H #define CLIENT_H -#include <qurloperator.h> +#include <ntqurloperator.h> #include "clientbase.h" diff --git a/examples/network/infoprotocol/infourlclient/main.cpp b/examples/network/infoprotocol/infourlclient/main.cpp index fbe6aedb0..08bd2e660 100644 --- a/examples/network/infoprotocol/infourlclient/main.cpp +++ b/examples/network/infoprotocol/infourlclient/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "qip.h" #include "client.h" diff --git a/examples/network/infoprotocol/infourlclient/qip.cpp b/examples/network/infoprotocol/infourlclient/qip.cpp index 5424370e2..aa1535013 100644 --- a/examples/network/infoprotocol/infourlclient/qip.cpp +++ b/examples/network/infoprotocol/infourlclient/qip.cpp @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qsocket.h> -#include <qurlinfo.h> -#include <qurloperator.h> -#include <qtextstream.h> +#include <ntqsocket.h> +#include <ntqurlinfo.h> +#include <ntqurloperator.h> +#include <ntqtextstream.h> #include "qip.h" diff --git a/examples/network/infoprotocol/infourlclient/qip.h b/examples/network/infoprotocol/infourlclient/qip.h index f2b9db98d..cb748a3ba 100644 --- a/examples/network/infoprotocol/infourlclient/qip.h +++ b/examples/network/infoprotocol/infourlclient/qip.h @@ -10,7 +10,7 @@ #ifndef TQIP_H #define TQIP_H -#include <qnetworkprotocol.h> +#include <ntqnetworkprotocol.h> class TQSocket; diff --git a/examples/network/mail/composer.cpp b/examples/network/mail/composer.cpp index f5ec2383c..cee25929a 100644 --- a/examples/network/mail/composer.cpp +++ b/examples/network/mail/composer.cpp @@ -10,11 +10,11 @@ #include "composer.h" #include "smtp.h" -#include <qlineedit.h> -#include <qmultilineedit.h> -#include <qpushbutton.h> -#include <qlabel.h> -#include <qlayout.h> +#include <ntqlineedit.h> +#include <ntqmultilineedit.h> +#include <ntqpushbutton.h> +#include <ntqlabel.h> +#include <ntqlayout.h> Composer::Composer( TQWidget *parent ) : TQWidget( parent ) diff --git a/examples/network/mail/composer.h b/examples/network/mail/composer.h index 6ef323139..dcf46fc54 100644 --- a/examples/network/mail/composer.h +++ b/examples/network/mail/composer.h @@ -10,7 +10,7 @@ #ifndef COMPOSER_H #define COMPOSER_H -#include <qwidget.h> +#include <ntqwidget.h> class TQLineEdit; diff --git a/examples/network/mail/main.cpp b/examples/network/mail/main.cpp index c80507699..c45a2a944 100644 --- a/examples/network/mail/main.cpp +++ b/examples/network/mail/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "composer.h" diff --git a/examples/network/mail/smtp.cpp b/examples/network/mail/smtp.cpp index a0256867b..68c2aa4f6 100644 --- a/examples/network/mail/smtp.cpp +++ b/examples/network/mail/smtp.cpp @@ -9,13 +9,13 @@ #include "smtp.h" -#include <qtextstream.h> -#include <qsocket.h> -#include <qdns.h> -#include <qtimer.h> -#include <qapplication.h> -#include <qmessagebox.h> -#include <qregexp.h> +#include <ntqtextstream.h> +#include <ntqsocket.h> +#include <ntqdns.h> +#include <ntqtimer.h> +#include <ntqapplication.h> +#include <ntqmessagebox.h> +#include <ntqregexp.h> Smtp::Smtp( const TQString &from, const TQString &to, diff --git a/examples/network/mail/smtp.h b/examples/network/mail/smtp.h index 66cf5fda5..f8c787e13 100644 --- a/examples/network/mail/smtp.h +++ b/examples/network/mail/smtp.h @@ -10,8 +10,8 @@ #ifndef SMTP_H #define SMTP_H -#include <qobject.h> -#include <qstring.h> +#include <ntqobject.h> +#include <ntqstring.h> class TQSocket; class TQTextStream; diff --git a/examples/network/networkprotocol/main.cpp b/examples/network/networkprotocol/main.cpp index ce4d90e87..5f9f7d33c 100644 --- a/examples/network/networkprotocol/main.cpp +++ b/examples/network/networkprotocol/main.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qnetwork.h> +#include <ntqapplication.h> +#include <ntqnetwork.h> #include "nntp.h" #include "view.h" diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp index 6a4e1245a..1fe31dda4 100644 --- a/examples/network/networkprotocol/nntp.cpp +++ b/examples/network/networkprotocol/nntp.cpp @@ -8,11 +8,11 @@ *****************************************************************************/ #include "nntp.h" -#include <qurlinfo.h> +#include <ntqurlinfo.h> #include <stdlib.h> -#include <qurloperator.h> -#include <qstringlist.h> -#include <qregexp.h> +#include <ntqurloperator.h> +#include <ntqstringlist.h> +#include <ntqregexp.h> Nntp::Nntp() : TQNetworkProtocol(), connectionReady( FALSE ), diff --git a/examples/network/networkprotocol/nntp.h b/examples/network/networkprotocol/nntp.h index 2940a1add..0e9fa2808 100644 --- a/examples/network/networkprotocol/nntp.h +++ b/examples/network/networkprotocol/nntp.h @@ -10,8 +10,8 @@ #ifndef NNTP_H #define NNTP_H -#include <qsocket.h> -#include <qnetworkprotocol.h> +#include <ntqsocket.h> +#include <ntqnetworkprotocol.h> class Nntp : public TQNetworkProtocol { diff --git a/examples/network/networkprotocol/view.cpp b/examples/network/networkprotocol/view.cpp index c6ee717d1..3c24e03d9 100644 --- a/examples/network/networkprotocol/view.cpp +++ b/examples/network/networkprotocol/view.cpp @@ -9,10 +9,10 @@ #include "view.h" -#include <qlabel.h> -#include <qpushbutton.h> -#include <qmultilineedit.h> -#include <qfiledialog.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqmultilineedit.h> +#include <ntqfiledialog.h> View::View() : TQVBox() diff --git a/examples/network/networkprotocol/view.h b/examples/network/networkprotocol/view.h index 29c0f6e5f..d76a7f4fb 100644 --- a/examples/network/networkprotocol/view.h +++ b/examples/network/networkprotocol/view.h @@ -10,9 +10,9 @@ #ifndef VIEW_H #define VIEW_H -#include <qvbox.h> -#include <qcstring.h> -#include <qurloperator.h> +#include <ntqvbox.h> +#include <ntqcstring.h> +#include <ntqurloperator.h> class TQMultiLineEdit; diff --git a/examples/network/remotecontrol/ipcserver.cpp b/examples/network/remotecontrol/ipcserver.cpp index 35595673f..6a1d10cd7 100644 --- a/examples/network/remotecontrol/ipcserver.cpp +++ b/examples/network/remotecontrol/ipcserver.cpp @@ -1,10 +1,10 @@ #include "ipcserver.h" -#include <qsocket.h> -#include <qvariant.h> -#include <qimage.h> -#include <qpalette.h> -#include <qapplication.h> +#include <ntqsocket.h> +#include <ntqvariant.h> +#include <ntqimage.h> +#include <ntqpalette.h> +#include <ntqapplication.h> class IpcSocket : public TQSocket { diff --git a/examples/network/remotecontrol/ipcserver.h b/examples/network/remotecontrol/ipcserver.h index f4c86f49f..d9188f1e5 100644 --- a/examples/network/remotecontrol/ipcserver.h +++ b/examples/network/remotecontrol/ipcserver.h @@ -1,7 +1,7 @@ #ifndef IPCSERVER_H #define IPCSERVER_H -#include <qserversocket.h> +#include <ntqserversocket.h> class IpcServer : public TQServerSocket { diff --git a/examples/network/remotecontrol/main.cpp b/examples/network/remotecontrol/main.cpp index c617df233..76072217c 100644 --- a/examples/network/remotecontrol/main.cpp +++ b/examples/network/remotecontrol/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "startup.h" diff --git a/examples/network/remotecontrol/remotectrlimpl.cpp b/examples/network/remotecontrol/remotectrlimpl.cpp index 03af938f8..4859d3b82 100644 --- a/examples/network/remotecontrol/remotectrlimpl.cpp +++ b/examples/network/remotecontrol/remotectrlimpl.cpp @@ -1,11 +1,11 @@ #include "remotectrlimpl.h" -#include <qpushbutton.h> -#include <qlineedit.h> -#include <qsocket.h> -#include <qfiledialog.h> -#include <qcolordialog.h> -#include <qimage.h> +#include <ntqpushbutton.h> +#include <ntqlineedit.h> +#include <ntqsocket.h> +#include <ntqfiledialog.h> +#include <ntqcolordialog.h> +#include <ntqimage.h> RemoteCtrlImpl::RemoteCtrlImpl( TQSocket *s ) { diff --git a/examples/network/remotecontrol/startup.cpp b/examples/network/remotecontrol/startup.cpp index f555499b7..bc16f19ff 100644 --- a/examples/network/remotecontrol/startup.cpp +++ b/examples/network/remotecontrol/startup.cpp @@ -3,8 +3,8 @@ #include "maindialog.h" #include "ipcserver.h" -#include <qsocket.h> -#include <qlabel.h> +#include <ntqsocket.h> +#include <ntqlabel.h> static const Q_UINT16 ipcPort = 54923; diff --git a/examples/network/remotecontrol/startup.h b/examples/network/remotecontrol/startup.h index 5530cba8f..10922d267 100644 --- a/examples/network/remotecontrol/startup.h +++ b/examples/network/remotecontrol/startup.h @@ -1,7 +1,7 @@ #ifndef STARTUP_H #define STARTUP_H -#include <qobject.h> +#include <ntqobject.h> class TQSocket; class RemoteCtrlImpl; diff --git a/examples/opengl/box/glbox.h b/examples/opengl/box/glbox.h index a04a8122a..93b4d7579 100644 --- a/examples/opengl/box/glbox.h +++ b/examples/opengl/box/glbox.h @@ -16,7 +16,7 @@ #ifndef GLBOX_H #define GLBOX_H -#include <qgl.h> +#include <ntqgl.h> class GLBox : public TQGLWidget diff --git a/examples/opengl/box/globjwin.cpp b/examples/opengl/box/globjwin.cpp index 4d88f2401..ed40f9ec0 100644 --- a/examples/opengl/box/globjwin.cpp +++ b/examples/opengl/box/globjwin.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qpushbutton.h> -#include <qslider.h> -#include <qlayout.h> -#include <qframe.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qapplication.h> -#include <qkeycode.h> +#include <ntqpushbutton.h> +#include <ntqslider.h> +#include <ntqlayout.h> +#include <ntqframe.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqapplication.h> +#include <ntqkeycode.h> #include "globjwin.h" #include "glbox.h" diff --git a/examples/opengl/box/globjwin.h b/examples/opengl/box/globjwin.h index 98dad489e..e6a279f06 100644 --- a/examples/opengl/box/globjwin.h +++ b/examples/opengl/box/globjwin.h @@ -17,7 +17,7 @@ #ifndef GLOBJWIN_H #define GLOBJWIN_H -#include <qwidget.h> +#include <ntqwidget.h> class GLObjectWindow : public TQWidget diff --git a/examples/opengl/box/main.cpp b/examples/opengl/box/main.cpp index 4a3863232..c91fadf52 100644 --- a/examples/opengl/box/main.cpp +++ b/examples/opengl/box/main.cpp @@ -17,8 +17,8 @@ // #include "globjwin.h" -#include <qapplication.h> -#include <qgl.h> +#include <ntqapplication.h> +#include <ntqgl.h> /* The main program is here. diff --git a/examples/opengl/gear/gear.cpp b/examples/opengl/gear/gear.cpp index 843f56384..74eba96c2 100644 --- a/examples/opengl/gear/gear.cpp +++ b/examples/opengl/gear/gear.cpp @@ -13,8 +13,8 @@ // distribution. // -#include <qgl.h> -#include <qapplication.h> +#include <ntqgl.h> +#include <ntqapplication.h> #include <math.h> #if defined(Q_CC_MSVC) diff --git a/examples/opengl/glpixmap/glbox.h b/examples/opengl/glpixmap/glbox.h index 0b58cda0b..a7ec8fc2b 100644 --- a/examples/opengl/glpixmap/glbox.h +++ b/examples/opengl/glpixmap/glbox.h @@ -16,7 +16,7 @@ #ifndef GLBOX_H #define GLBOX_H -#include <qgl.h> +#include <ntqgl.h> class GLBox : public TQGLWidget diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp index c7cd9b673..1309207b0 100644 --- a/examples/opengl/glpixmap/globjwin.cpp +++ b/examples/opengl/glpixmap/globjwin.cpp @@ -14,18 +14,18 @@ ****************************************************************************/ -#include <qpushbutton.h> -#include <qslider.h> -#include <qlayout.h> -#include <qframe.h> -#include <qlabel.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qapplication.h> -#include <qkeycode.h> -#include <qpixmap.h> -#include <qimage.h> -#include <qpainter.h> +#include <ntqpushbutton.h> +#include <ntqslider.h> +#include <ntqlayout.h> +#include <ntqframe.h> +#include <ntqlabel.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqapplication.h> +#include <ntqkeycode.h> +#include <ntqpixmap.h> +#include <ntqimage.h> +#include <ntqpainter.h> #include "globjwin.h" #include "glbox.h" diff --git a/examples/opengl/glpixmap/globjwin.h b/examples/opengl/glpixmap/globjwin.h index b02ed67eb..7f8952f7d 100644 --- a/examples/opengl/glpixmap/globjwin.h +++ b/examples/opengl/glpixmap/globjwin.h @@ -17,7 +17,7 @@ #ifndef GLOBJWIN_H #define GLOBJWIN_H -#include <qwidget.h> +#include <ntqwidget.h> class GLBox; class TQLabel; diff --git a/examples/opengl/glpixmap/main.cpp b/examples/opengl/glpixmap/main.cpp index 13e474007..b8f735582 100644 --- a/examples/opengl/glpixmap/main.cpp +++ b/examples/opengl/glpixmap/main.cpp @@ -17,8 +17,8 @@ // #include "globjwin.h" -#include <qapplication.h> -#include <qgl.h> +#include <ntqapplication.h> +#include <ntqgl.h> /* The main program is here. diff --git a/examples/opengl/overlay/globjwin.cpp b/examples/opengl/overlay/globjwin.cpp index 24dda2fad..0c79cd6a9 100644 --- a/examples/opengl/overlay/globjwin.cpp +++ b/examples/opengl/overlay/globjwin.cpp @@ -7,12 +7,12 @@ ** *****************************************************************************/ -#include <qlayout.h> -#include <qframe.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qapplication.h> -#include <qmessagebox.h> +#include <ntqlayout.h> +#include <ntqframe.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqapplication.h> +#include <ntqmessagebox.h> #include "globjwin.h" #include "glteapots.h" diff --git a/examples/opengl/overlay/globjwin.h b/examples/opengl/overlay/globjwin.h index ede00a35c..ffcd72bbf 100644 --- a/examples/opengl/overlay/globjwin.h +++ b/examples/opengl/overlay/globjwin.h @@ -17,7 +17,7 @@ #ifndef GLOBJWIN_H #define GLOBJWIN_H -#include <qwidget.h> +#include <ntqwidget.h> class GLObjectWindow : public TQWidget diff --git a/examples/opengl/overlay/glteapots.cpp b/examples/opengl/overlay/glteapots.cpp index a3fbf3000..2afc1ad03 100644 --- a/examples/opengl/overlay/glteapots.cpp +++ b/examples/opengl/overlay/glteapots.cpp @@ -48,7 +48,7 @@ ****************************************************************************/ #include "glteapots.h" -#include <qapplication.h> +#include <ntqapplication.h> #if defined(Q_CC_MSVC) #pragma warning(disable:4305) // init: truncation from const double to float diff --git a/examples/opengl/overlay/glteapots.h b/examples/opengl/overlay/glteapots.h index 4fbec9b83..575953975 100644 --- a/examples/opengl/overlay/glteapots.h +++ b/examples/opengl/overlay/glteapots.h @@ -17,7 +17,7 @@ #ifndef GLBOX_H #define GLBOX_H -#include <qgl.h> +#include <ntqgl.h> class GLTeapots : public TQGLWidget diff --git a/examples/opengl/overlay/main.cpp b/examples/opengl/overlay/main.cpp index 3844704fd..ca1ec488c 100644 --- a/examples/opengl/overlay/main.cpp +++ b/examples/opengl/overlay/main.cpp @@ -17,9 +17,9 @@ // #include "globjwin.h" -#include <qapplication.h> -#include <qgl.h> -#include <qmessagebox.h> +#include <ntqapplication.h> +#include <ntqgl.h> +#include <ntqmessagebox.h> /* The main program is here. diff --git a/examples/opengl/overlay_x11/gearwidget.h b/examples/opengl/overlay_x11/gearwidget.h index 6154e36da..ce1c2b822 100644 --- a/examples/opengl/overlay_x11/gearwidget.h +++ b/examples/opengl/overlay_x11/gearwidget.h @@ -12,7 +12,7 @@ #ifndef GEAR_H #define GEAR_H -#include <qgl.h> +#include <ntqgl.h> class GearWidget : public TQGLWidget { diff --git a/examples/opengl/overlay_x11/main.cpp b/examples/opengl/overlay_x11/main.cpp index 70a6f4362..5925d271b 100644 --- a/examples/opengl/overlay_x11/main.cpp +++ b/examples/opengl/overlay_x11/main.cpp @@ -10,7 +10,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "gearwidget.h" #include "rubberbandwidget.h" diff --git a/examples/opengl/overlay_x11/rubberbandwidget.cpp b/examples/opengl/overlay_x11/rubberbandwidget.cpp index 5cd5c5654..a11a81441 100644 --- a/examples/opengl/overlay_x11/rubberbandwidget.cpp +++ b/examples/opengl/overlay_x11/rubberbandwidget.cpp @@ -11,7 +11,7 @@ *****************************************************************************/ #include "rubberbandwidget.h" -#include <qpainter.h> +#include <ntqpainter.h> RubberbandWidget::RubberbandWidget( TQColor transparentColor, TQWidget *parent, diff --git a/examples/opengl/overlay_x11/rubberbandwidget.h b/examples/opengl/overlay_x11/rubberbandwidget.h index 10513a6d6..268656ba7 100644 --- a/examples/opengl/overlay_x11/rubberbandwidget.h +++ b/examples/opengl/overlay_x11/rubberbandwidget.h @@ -13,7 +13,7 @@ #ifndef RUBBERBANDWIDGET_H #define RUBBERBANDWIDGET_H -#include <qwidget.h> +#include <ntqwidget.h> class RubberbandWidget : public TQWidget diff --git a/examples/opengl/sharedbox/glbox.h b/examples/opengl/sharedbox/glbox.h index 089513d33..548457ce3 100644 --- a/examples/opengl/sharedbox/glbox.h +++ b/examples/opengl/sharedbox/glbox.h @@ -16,7 +16,7 @@ #ifndef GLBOX_H #define GLBOX_H -#include <qgl.h> +#include <ntqgl.h> class GLBox : public TQGLWidget diff --git a/examples/opengl/sharedbox/globjwin.cpp b/examples/opengl/sharedbox/globjwin.cpp index 0b0a60491..a50573bb8 100644 --- a/examples/opengl/sharedbox/globjwin.cpp +++ b/examples/opengl/sharedbox/globjwin.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qpushbutton.h> -#include <qslider.h> -#include <qlayout.h> -#include <qframe.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qapplication.h> -#include <qkeycode.h> +#include <ntqpushbutton.h> +#include <ntqslider.h> +#include <ntqlayout.h> +#include <ntqframe.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqapplication.h> +#include <ntqkeycode.h> #include "globjwin.h" #include "glbox.h" diff --git a/examples/opengl/sharedbox/globjwin.h b/examples/opengl/sharedbox/globjwin.h index c42f2ea72..5832ee685 100644 --- a/examples/opengl/sharedbox/globjwin.h +++ b/examples/opengl/sharedbox/globjwin.h @@ -17,7 +17,7 @@ #ifndef GLOBJWIN_H #define GLOBJWIN_H -#include <qwidget.h> +#include <ntqwidget.h> class GLBox; class GLObjectWindow : public TQWidget diff --git a/examples/opengl/sharedbox/main.cpp b/examples/opengl/sharedbox/main.cpp index 13e474007..b8f735582 100644 --- a/examples/opengl/sharedbox/main.cpp +++ b/examples/opengl/sharedbox/main.cpp @@ -17,8 +17,8 @@ // #include "globjwin.h" -#include <qapplication.h> -#include <qgl.h> +#include <ntqapplication.h> +#include <ntqgl.h> /* The main program is here. diff --git a/examples/opengl/texture/globjwin.cpp b/examples/opengl/texture/globjwin.cpp index bb57307e0..a6a2e6c04 100644 --- a/examples/opengl/texture/globjwin.cpp +++ b/examples/opengl/texture/globjwin.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qpushbutton.h> -#include <qslider.h> -#include <qlayout.h> -#include <qframe.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qapplication.h> -#include <qkeycode.h> +#include <ntqpushbutton.h> +#include <ntqslider.h> +#include <ntqlayout.h> +#include <ntqframe.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqapplication.h> +#include <ntqkeycode.h> #include "globjwin.h" #include "gltexobj.h" diff --git a/examples/opengl/texture/globjwin.h b/examples/opengl/texture/globjwin.h index 98dad489e..e6a279f06 100644 --- a/examples/opengl/texture/globjwin.h +++ b/examples/opengl/texture/globjwin.h @@ -17,7 +17,7 @@ #ifndef GLOBJWIN_H #define GLOBJWIN_H -#include <qwidget.h> +#include <ntqwidget.h> class GLObjectWindow : public TQWidget diff --git a/examples/opengl/texture/gltexobj.cpp b/examples/opengl/texture/gltexobj.cpp index 483a18843..fc77eaa5a 100644 --- a/examples/opengl/texture/gltexobj.cpp +++ b/examples/opengl/texture/gltexobj.cpp @@ -17,8 +17,8 @@ ****************************************************************************/ #include "gltexobj.h" -#include <qimage.h> -#include <qtimer.h> +#include <ntqimage.h> +#include <ntqtimer.h> const int redrawWait = 50; diff --git a/examples/opengl/texture/gltexobj.h b/examples/opengl/texture/gltexobj.h index 9fa368376..8d167228a 100644 --- a/examples/opengl/texture/gltexobj.h +++ b/examples/opengl/texture/gltexobj.h @@ -16,7 +16,7 @@ #ifndef GLTEXOBJ_H #define GLTEXOBJ_H -#include <qgl.h> +#include <ntqgl.h> class GLTexobj : public TQGLWidget diff --git a/examples/opengl/texture/main.cpp b/examples/opengl/texture/main.cpp index 4798bc16d..51c48ea7c 100644 --- a/examples/opengl/texture/main.cpp +++ b/examples/opengl/texture/main.cpp @@ -15,8 +15,8 @@ // #include "globjwin.h" -#include <qapplication.h> -#include <qgl.h> +#include <ntqapplication.h> +#include <ntqgl.h> /* The main program is here. diff --git a/examples/picture/picture.cpp b/examples/picture/picture.cpp index b971a189b..9d102d26a 100644 --- a/examples/picture/picture.cpp +++ b/examples/picture/picture.cpp @@ -7,13 +7,13 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qpainter.h> -#include <qpicture.h> -#include <qpixmap.h> -#include <qwidget.h> -#include <qmessagebox.h> -#include <qfile.h> +#include <ntqapplication.h> +#include <ntqpainter.h> +#include <ntqpicture.h> +#include <ntqpixmap.h> +#include <ntqwidget.h> +#include <ntqmessagebox.h> +#include <ntqfile.h> #include <ctype.h> diff --git a/examples/popup/popup.cpp b/examples/popup/popup.cpp index 9a13fc8f9..4438c4c4f 100644 --- a/examples/popup/popup.cpp +++ b/examples/popup/popup.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include "popup.h" -#include <qapplication.h> -#include <qlayout.h> +#include <ntqapplication.h> +#include <ntqlayout.h> FancyPopup::FancyPopup( TQWidget* parent, const char* name ): TQLabel( parent, name, WType_Popup ){ diff --git a/examples/popup/popup.h b/examples/popup/popup.h index ef4e8b282..10e4b669c 100644 --- a/examples/popup/popup.h +++ b/examples/popup/popup.h @@ -13,9 +13,9 @@ #ifndef POPUP_H #define POPUP_H -#include <qlabel.h> -#include <qpushbutton.h> -#include <qlineedit.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqlineedit.h> class FancyPopup : public TQLabel { diff --git a/examples/process/process.cpp b/examples/process/process.cpp index 8204d84e9..945017fe9 100644 --- a/examples/process/process.cpp +++ b/examples/process/process.cpp @@ -7,13 +7,13 @@ ** *****************************************************************************/ -#include <qobject.h> -#include <qprocess.h> -#include <qvbox.h> -#include <qtextview.h> -#include <qpushbutton.h> -#include <qapplication.h> -#include <qmessagebox.h> +#include <ntqobject.h> +#include <ntqprocess.h> +#include <ntqvbox.h> +#include <ntqtextview.h> +#include <ntqpushbutton.h> +#include <ntqapplication.h> +#include <ntqmessagebox.h> #include <stdlib.h> diff --git a/examples/progress/progress.cpp b/examples/progress/progress.cpp index 882d3118a..917366cbb 100644 --- a/examples/progress/progress.cpp +++ b/examples/progress/progress.cpp @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qprogressdialog.h> -#include <qapplication.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qpainter.h> +#include <ntqprogressdialog.h> +#include <ntqapplication.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqpainter.h> #include <stdlib.h> class AnimatedThingy : public TQLabel { diff --git a/examples/progressbar/main.cpp b/examples/progressbar/main.cpp index 73a5fbc8e..7ab78c69e 100644 --- a/examples/progressbar/main.cpp +++ b/examples/progressbar/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "progressbar.h" -#include <qapplication.h> +#include <ntqapplication.h> int main(int argc,char **argv) { diff --git a/examples/progressbar/progressbar.cpp b/examples/progressbar/progressbar.cpp index 9befa6e80..47fc24903 100644 --- a/examples/progressbar/progressbar.cpp +++ b/examples/progressbar/progressbar.cpp @@ -9,12 +9,12 @@ #include "progressbar.h" -#include <qradiobutton.h> -#include <qpushbutton.h> -#include <qprogressbar.h> -#include <qlayout.h> +#include <ntqradiobutton.h> +#include <ntqpushbutton.h> +#include <ntqprogressbar.h> +#include <ntqlayout.h> -#include <qmotifstyle.h> +#include <ntqmotifstyle.h> /* * Constructor diff --git a/examples/progressbar/progressbar.h b/examples/progressbar/progressbar.h index 0fe4bc4a1..f8477778f 100644 --- a/examples/progressbar/progressbar.h +++ b/examples/progressbar/progressbar.h @@ -10,8 +10,8 @@ #ifndef PROGRESSBAR_H #define PROGRESSBAR_H -#include <qbuttongroup.h> -#include <qtimer.h> +#include <ntqbuttongroup.h> +#include <ntqtimer.h> class TQRadioButton; class TQPushButton; diff --git a/examples/qdir/qdir.h b/examples/qdir/ntqdir.h index 86dde7072..9b591345e 100644 --- a/examples/qdir/qdir.h +++ b/examples/qdir/ntqdir.h @@ -10,13 +10,13 @@ #ifndef TQDIREXAMPLE_H #define TQDIREXAMPLE_H -#include <qscrollview.h> -#include <qfiledialog.h> -#include <qwidgetstack.h> -#include <qvbox.h> -#include <qurl.h> -#include <qpixmap.h> -#include <qstringlist.h> +#include <ntqscrollview.h> +#include <ntqfiledialog.h> +#include <ntqwidgetstack.h> +#include <ntqvbox.h> +#include <ntqurl.h> +#include <ntqpixmap.h> +#include <ntqstringlist.h> class TQMultiLineEdit; class TQTextView; diff --git a/examples/qdir/qdir.cpp b/examples/qdir/qdir.cpp index f936a31f0..1902d9e73 100644 --- a/examples/qdir/qdir.cpp +++ b/examples/qdir/qdir.cpp @@ -8,26 +8,26 @@ *****************************************************************************/ #include "../dirview/dirview.h" -#include "qdir.h" - -#include <qapplication.h> -#include <qtextview.h> -#include <qfileinfo.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qhbox.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qmultilineedit.h> -#include <qheader.h> -#include <qevent.h> -#include <qpainter.h> -#include <qpopupmenu.h> -#include <qpushbutton.h> -#include <qtoolbutton.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qtooltip.h> +#include "ntqdir.h" + +#include <ntqapplication.h> +#include <ntqtextview.h> +#include <ntqfileinfo.h> +#include <ntqfile.h> +#include <ntqtextstream.h> +#include <ntqhbox.h> +#include <ntqspinbox.h> +#include <ntqlabel.h> +#include <ntqmultilineedit.h> +#include <ntqheader.h> +#include <ntqevent.h> +#include <ntqpainter.h> +#include <ntqpopupmenu.h> +#include <ntqpushbutton.h> +#include <ntqtoolbutton.h> +#include <ntqfile.h> +#include <ntqtextstream.h> +#include <ntqtooltip.h> #include <stdlib.h> diff --git a/examples/qdir/qdir.pro b/examples/qdir/qdir.pro index fa7a0f685..09e7ea546 100644 --- a/examples/qdir/qdir.pro +++ b/examples/qdir/qdir.pro @@ -6,5 +6,5 @@ DEPENDPATH = ../../include REQUIRES = full-config -HEADERS = qdir.h ../dirview/dirview.h +HEADERS = ntqdir.h ../dirview/dirview.h SOURCES = qdir.cpp ../dirview/dirview.cpp diff --git a/examples/qfd/fontdisplayer.cpp b/examples/qfd/fontdisplayer.cpp index eecb16143..9fcd73b38 100644 --- a/examples/qfd/fontdisplayer.cpp +++ b/examples/qfd/fontdisplayer.cpp @@ -8,15 +8,15 @@ *****************************************************************************/ #include "fontdisplayer.h" -#include <qapplication.h> -#include <qslider.h> -#include <qspinbox.h> -#include <qpainter.h> -#include <qtoolbar.h> -#include <qstatusbar.h> -#include <qlabel.h> -#include <qpushbutton.h> -#include <qfontdialog.h> +#include <ntqapplication.h> +#include <ntqslider.h> +#include <ntqspinbox.h> +#include <ntqpainter.h> +#include <ntqtoolbar.h> +#include <ntqstatusbar.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqfontdialog.h> #include <stdlib.h> diff --git a/examples/qfd/fontdisplayer.h b/examples/qfd/fontdisplayer.h index 6d42aa52e..3ae0a9d6f 100644 --- a/examples/qfd/fontdisplayer.h +++ b/examples/qfd/fontdisplayer.h @@ -10,8 +10,8 @@ #ifndef FontDisplayer_H #define FontDisplayer_H -#include <qframe.h> -#include <qmainwindow.h> +#include <ntqframe.h> +#include <ntqmainwindow.h> class TQSlider; diff --git a/examples/qfd/qfd.cpp b/examples/qfd/qfd.cpp index b52362543..ecfe51f7b 100644 --- a/examples/qfd/qfd.cpp +++ b/examples/qfd/qfd.cpp @@ -9,10 +9,10 @@ #include "fontdisplayer.h" -#include <qapplication.h> -#include <qslider.h> -#include <qpainter.h> -#include <qstatusbar.h> +#include <ntqapplication.h> +#include <ntqslider.h> +#include <ntqpainter.h> +#include <ntqstatusbar.h> diff --git a/examples/qmag/qmag.cpp b/examples/qmag/qmag.cpp index ca86b6232..b87820ae0 100644 --- a/examples/qmag/qmag.cpp +++ b/examples/qmag/qmag.cpp @@ -7,17 +7,17 @@ ** *****************************************************************************/ -#include <qcombobox.h> -#include <qpushbutton.h> -#include <qpixmap.h> -#include <qimage.h> -#include <qlabel.h> -#include <qfiledialog.h> -#include <qregexp.h> - -#include <qapplication.h> -#include <qpainter.h> -#include <qwmatrix.h> +#include <ntqcombobox.h> +#include <ntqpushbutton.h> +#include <ntqpixmap.h> +#include <ntqimage.h> +#include <ntqlabel.h> +#include <ntqfiledialog.h> +#include <ntqregexp.h> + +#include <ntqapplication.h> +#include <ntqpainter.h> +#include <ntqwmatrix.h> class MagWidget : public TQWidget diff --git a/examples/qtl/qvaluelistiterator.cpp b/examples/qtl/qvaluelistiterator.cpp index a9c65afa7..a5fc7dfc1 100644 --- a/examples/qtl/qvaluelistiterator.cpp +++ b/examples/qtl/qvaluelistiterator.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qvaluelist.h> -#include <qstring.h> -#include <qwindowdefs.h> +#include <ntqvaluelist.h> +#include <ntqstring.h> +#include <ntqwindowdefs.h> #include <stdio.h> diff --git a/examples/qwerty/main.cpp b/examples/qwerty/main.cpp index 727a3aaf2..01ab2a47d 100644 --- a/examples/qwerty/main.cpp +++ b/examples/qwerty/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "qwerty.h" diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp index ceb2f92b7..93dcc2eb8 100644 --- a/examples/qwerty/qwerty.cpp +++ b/examples/qwerty/qwerty.cpp @@ -8,18 +8,18 @@ *****************************************************************************/ #include "qwerty.h" -#include <qapplication.h> -#include <qfile.h> -#include <qfiledialog.h> -#include <qpopupmenu.h> -#include <qtextstream.h> -#include <qpainter.h> -#include <qmessagebox.h> -#include <qpaintdevicemetrics.h> -#include <qptrlist.h> -#include <qfontdialog.h> - -#include <qtextcodec.h> +#include <ntqapplication.h> +#include <ntqfile.h> +#include <ntqfiledialog.h> +#include <ntqpopupmenu.h> +#include <ntqtextstream.h> +#include <ntqpainter.h> +#include <ntqmessagebox.h> +#include <ntqpaintdevicemetrics.h> +#include <ntqptrlist.h> +#include <ntqfontdialog.h> + +#include <ntqtextcodec.h> const bool no_writing = FALSE; diff --git a/examples/qwerty/qwerty.h b/examples/qwerty/qwerty.h index 5509d5bd1..a20b965c3 100644 --- a/examples/qwerty/qwerty.h +++ b/examples/qwerty/qwerty.h @@ -10,10 +10,10 @@ #ifndef TQWERTY_H #define TQWERTY_H -#include <qwidget.h> -#include <qmenubar.h> -#include <qmultilineedit.h> -#include <qprinter.h> +#include <ntqwidget.h> +#include <ntqmenubar.h> +#include <ntqmultilineedit.h> +#include <ntqprinter.h> class Editor : public TQWidget { diff --git a/examples/rangecontrols/main.cpp b/examples/rangecontrols/main.cpp index bc2fa2896..091163cc5 100644 --- a/examples/rangecontrols/main.cpp +++ b/examples/rangecontrols/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "rangecontrols.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/rangecontrols/rangecontrols.cpp b/examples/rangecontrols/rangecontrols.cpp index 82d61673c..1dd9260d7 100644 --- a/examples/rangecontrols/rangecontrols.cpp +++ b/examples/rangecontrols/rangecontrols.cpp @@ -9,13 +9,13 @@ #include "rangecontrols.h" -#include <qhbox.h> -#include <qlcdnumber.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qstring.h> -#include <qslider.h> -#include <qcheckbox.h> +#include <ntqhbox.h> +#include <ntqlcdnumber.h> +#include <ntqspinbox.h> +#include <ntqlabel.h> +#include <ntqstring.h> +#include <ntqslider.h> +#include <ntqcheckbox.h> #include <limits.h> diff --git a/examples/rangecontrols/rangecontrols.h b/examples/rangecontrols/rangecontrols.h index 549815c0d..59d4b9ff0 100644 --- a/examples/rangecontrols/rangecontrols.h +++ b/examples/rangecontrols/rangecontrols.h @@ -10,7 +10,7 @@ #ifndef RANGECONTROLS_H #define RANGECONTROLS_H -#include <qvbox.h> +#include <ntqvbox.h> class TQCheckBox; diff --git a/examples/regexptester/main.cpp b/examples/regexptester/main.cpp index 1e0949c7a..1d372e4b9 100644 --- a/examples/regexptester/main.cpp +++ b/examples/regexptester/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "regexptester.h" int main(int argc, char **argv) diff --git a/examples/regexptester/regexptester.cpp b/examples/regexptester/regexptester.cpp index 91e544de9..caa581784 100644 --- a/examples/regexptester/regexptester.cpp +++ b/examples/regexptester/regexptester.cpp @@ -1,13 +1,13 @@ -#include <qapplication.h> -#include <qcheckbox.h> -#include <qclipboard.h> -#include <qcombobox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qpushbutton.h> -#include <qregexp.h> -#include <qstatusbar.h> -#include <qtable.h> +#include <ntqapplication.h> +#include <ntqcheckbox.h> +#include <ntqclipboard.h> +#include <ntqcombobox.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqpushbutton.h> +#include <ntqregexp.h> +#include <ntqstatusbar.h> +#include <ntqtable.h> #include "regexptester.h" diff --git a/examples/regexptester/regexptester.h b/examples/regexptester/regexptester.h index 5bed34a14..8eb6a7e5a 100644 --- a/examples/regexptester/regexptester.h +++ b/examples/regexptester/regexptester.h @@ -1,7 +1,7 @@ #ifndef REGEXPTESTER_H #define REGEXPTESTER_H -#include <qdialog.h> +#include <ntqdialog.h> class TQCheckBox; class TQComboBox; diff --git a/examples/richtext/main.cpp b/examples/richtext/main.cpp index 5e7ffff89..d8aa15746 100644 --- a/examples/richtext/main.cpp +++ b/examples/richtext/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "richtext.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { diff --git a/examples/richtext/richtext.cpp b/examples/richtext/richtext.cpp index e12aaf0bf..ec549a3ad 100644 --- a/examples/richtext/richtext.cpp +++ b/examples/richtext/richtext.cpp @@ -9,12 +9,12 @@ #include "richtext.h" -#include <qhbox.h> -#include <qhbox.h> -#include <qpushbutton.h> -#include <qtextview.h> -#include <qbrush.h> -#include <qapplication.h> +#include <ntqhbox.h> +#include <ntqhbox.h> +#include <ntqpushbutton.h> +#include <ntqtextview.h> +#include <ntqbrush.h> +#include <ntqapplication.h> static const char* sayings[] = { "<b>Saying 1:</b><br>" diff --git a/examples/richtext/richtext.h b/examples/richtext/richtext.h index 4c0baf75e..dde6771ab 100644 --- a/examples/richtext/richtext.h +++ b/examples/richtext/richtext.h @@ -10,7 +10,7 @@ #ifndef RICHTEXT_H #define RICHTEXT_H -#include <qvbox.h> +#include <ntqvbox.h> class TQTextView; class TQPushButton; diff --git a/examples/rot13/rot13.cpp b/examples/rot13/rot13.cpp index e44d7b87b..14b1e79a4 100644 --- a/examples/rot13/rot13.cpp +++ b/examples/rot13/rot13.cpp @@ -9,10 +9,10 @@ #include "rot13.h" -#include <qmultilineedit.h> -#include <qpushbutton.h> -#include <qapplication.h> -#include <qlayout.h> +#include <ntqmultilineedit.h> +#include <ntqpushbutton.h> +#include <ntqapplication.h> +#include <ntqlayout.h> Rot13::Rot13() { diff --git a/examples/rot13/rot13.h b/examples/rot13/rot13.h index dc207c87e..7e9d28500 100644 --- a/examples/rot13/rot13.h +++ b/examples/rot13/rot13.h @@ -14,7 +14,7 @@ #ifndef ROT13_H #define ROT13_H -#include <qwidget.h> +#include <ntqwidget.h> class TQMultiLineEdit; diff --git a/examples/scribble/main.cpp b/examples/scribble/main.cpp index 8e5034c5c..962f75b97 100644 --- a/examples/scribble/main.cpp +++ b/examples/scribble/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "scribble.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) diff --git a/examples/scribble/scribble.cpp b/examples/scribble/scribble.cpp index 438f73d5f..520cef7fd 100644 --- a/examples/scribble/scribble.cpp +++ b/examples/scribble/scribble.cpp @@ -9,22 +9,22 @@ #include "scribble.h" -#include <qapplication.h> -#include <qevent.h> -#include <qpainter.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qspinbox.h> -#include <qtooltip.h> -#include <qrect.h> -#include <qpoint.h> -#include <qcolordialog.h> -#include <qfiledialog.h> -#include <qcursor.h> -#include <qimage.h> -#include <qstrlist.h> -#include <qpopupmenu.h> -#include <qintdict.h> +#include <ntqapplication.h> +#include <ntqevent.h> +#include <ntqpainter.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqspinbox.h> +#include <ntqtooltip.h> +#include <ntqrect.h> +#include <ntqpoint.h> +#include <ntqcolordialog.h> +#include <ntqfiledialog.h> +#include <ntqcursor.h> +#include <ntqimage.h> +#include <ntqstrlist.h> +#include <ntqpopupmenu.h> +#include <ntqintdict.h> const bool no_writing = FALSE; diff --git a/examples/scribble/scribble.h b/examples/scribble/scribble.h index 6e23cbf82..72e58b242 100644 --- a/examples/scribble/scribble.h +++ b/examples/scribble/scribble.h @@ -10,13 +10,13 @@ #ifndef SCRIBBLE_H #define SCRIBBLE_H -#include <qmainwindow.h> -#include <qpen.h> -#include <qpoint.h> -#include <qpixmap.h> -#include <qwidget.h> -#include <qstring.h> -#include <qpointarray.h> +#include <ntqmainwindow.h> +#include <ntqpen.h> +#include <ntqpoint.h> +#include <ntqpixmap.h> +#include <ntqwidget.h> +#include <ntqstring.h> +#include <ntqpointarray.h> class TQMouseEvent; class TQResizeEvent; diff --git a/examples/scrollview/scrollview.cpp b/examples/scrollview/scrollview.cpp index 4e0cfcf15..e37111644 100644 --- a/examples/scrollview/scrollview.cpp +++ b/examples/scrollview/scrollview.cpp @@ -7,18 +7,18 @@ ** *****************************************************************************/ -#include <qscrollview.h> -#include <qapplication.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qpushbutton.h> -#include <qpainter.h> -#include <qpixmap.h> -#include <qmessagebox.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qmultilineedit.h> -#include <qsizegrip.h> +#include <ntqscrollview.h> +#include <ntqapplication.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqpushbutton.h> +#include <ntqpainter.h> +#include <ntqpixmap.h> +#include <ntqmessagebox.h> +#include <ntqlayout.h> +#include <ntqlabel.h> +#include <ntqmultilineedit.h> +#include <ntqsizegrip.h> #include <stdlib.h> diff --git a/examples/showimg/imagefip.cpp b/examples/showimg/imagefip.cpp index 418b612c2..a058271ac 100644 --- a/examples/showimg/imagefip.cpp +++ b/examples/showimg/imagefip.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "imagefip.h" -#include <qimage.h> +#include <ntqimage.h> /* XPM */ static const char *image_xpm[] = { diff --git a/examples/showimg/imagefip.h b/examples/showimg/imagefip.h index 3537f9420..e6ef0fb9e 100644 --- a/examples/showimg/imagefip.h +++ b/examples/showimg/imagefip.h @@ -10,9 +10,9 @@ #ifndef IMAGEFIP_H #define IMAGEFIP_H -#include <qfiledialog.h> -#include <qstrlist.h> -#include <qpixmap.h> +#include <ntqfiledialog.h> +#include <ntqstrlist.h> +#include <ntqpixmap.h> class ImageIconProvider : public TQFileIconProvider { diff --git a/examples/showimg/imagetexteditor.cpp b/examples/showimg/imagetexteditor.cpp index 464f85d9c..5f950b337 100644 --- a/examples/showimg/imagetexteditor.cpp +++ b/examples/showimg/imagetexteditor.cpp @@ -8,17 +8,17 @@ *****************************************************************************/ #include "imagetexteditor.h" -#include <qimage.h> -#include <qlayout.h> -#include <qgrid.h> -#include <qvbox.h> -#include <qhbox.h> -#include <qcombobox.h> -#include <qmultilineedit.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qlistbox.h> -#include <qpushbutton.h> +#include <ntqimage.h> +#include <ntqlayout.h> +#include <ntqgrid.h> +#include <ntqvbox.h> +#include <ntqhbox.h> +#include <ntqcombobox.h> +#include <ntqmultilineedit.h> +#include <ntqlabel.h> +#include <ntqlineedit.h> +#include <ntqlistbox.h> +#include <ntqpushbutton.h> ImageTextEditor::ImageTextEditor( TQImage& i, TQWidget *parent, const char *name, WFlags f ) : diff --git a/examples/showimg/imagetexteditor.h b/examples/showimg/imagetexteditor.h index e33b6e70f..6af9e6eb1 100644 --- a/examples/showimg/imagetexteditor.h +++ b/examples/showimg/imagetexteditor.h @@ -10,7 +10,7 @@ #ifndef IMAGETEXTEDITOR_H #define IMAGETEXTEDITOR_H -#include <qdialog.h> +#include <ntqdialog.h> class TQImage; class TQComboBox; diff --git a/examples/showimg/main.cpp b/examples/showimg/main.cpp index e8c936b83..2b985a419 100644 --- a/examples/showimg/main.cpp +++ b/examples/showimg/main.cpp @@ -9,8 +9,8 @@ #include "showimg.h" #include "imagefip.h" -#include <qapplication.h> -#include <qimage.h> +#include <ntqapplication.h> +#include <ntqimage.h> int main( int argc, char **argv ) { diff --git a/examples/showimg/showimg.cpp b/examples/showimg/showimg.cpp index 7b987af16..526d0debb 100644 --- a/examples/showimg/showimg.cpp +++ b/examples/showimg/showimg.cpp @@ -9,14 +9,14 @@ #include "showimg.h" #include "imagetexteditor.h" -#include <qmenubar.h> -#include <qfiledialog.h> -#include <qmessagebox.h> -#include <qpopupmenu.h> -#include <qlabel.h> -#include <qpainter.h> -#include <qapplication.h> -#include <qclipboard.h> +#include <ntqmenubar.h> +#include <ntqfiledialog.h> +#include <ntqmessagebox.h> +#include <ntqpopupmenu.h> +#include <ntqlabel.h> +#include <ntqpainter.h> +#include <ntqapplication.h> +#include <ntqclipboard.h> /* diff --git a/examples/showimg/showimg.h b/examples/showimg/showimg.h index 020c910be..362b1c2db 100644 --- a/examples/showimg/showimg.h +++ b/examples/showimg/showimg.h @@ -10,8 +10,8 @@ #ifndef SHOWIMG_H #define SHOWIMG_H -#include <qwidget.h> -#include <qimage.h> +#include <ntqwidget.h> +#include <ntqimage.h> class TQLabel; diff --git a/examples/sound/sound.cpp b/examples/sound/sound.cpp index e020e1a23..8f8ac6c51 100644 --- a/examples/sound/sound.cpp +++ b/examples/sound/sound.cpp @@ -14,9 +14,9 @@ // #include "sound.h" -#include <qapplication.h> -#include <qmessagebox.h> -#include <qmenubar.h> +#include <ntqapplication.h> +#include <ntqmessagebox.h> +#include <ntqmenubar.h> SoundPlayer::SoundPlayer() : TQMainWindow(), diff --git a/examples/sound/sound.h b/examples/sound/sound.h index 9c3e5d7b3..573e87136 100644 --- a/examples/sound/sound.h +++ b/examples/sound/sound.h @@ -9,8 +9,8 @@ #ifndef PLAY_H #define PLAY_H -#include "qsound.h" -#include <qmainwindow.h> +#include "ntqsound.h" +#include <ntqmainwindow.h> class SoundPlayer : public TQMainWindow { Q_OBJECT diff --git a/examples/splitter/splitter.cpp b/examples/splitter/splitter.cpp index 684818a30..523ef0d68 100644 --- a/examples/splitter/splitter.cpp +++ b/examples/splitter/splitter.cpp @@ -7,12 +7,12 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qlabel.h> -#include <qsplitter.h> -#include <qmultilineedit.h> +#include <ntqapplication.h> +#include <ntqlabel.h> +#include <ntqsplitter.h> +#include <ntqmultilineedit.h> -#include <qpainter.h> +#include <ntqpainter.h> class Test : public TQWidget { diff --git a/examples/sql/blob/main.cpp b/examples/sql/blob/main.cpp index e66e9aaf5..524ecd9c8 100644 --- a/examples/sql/blob/main.cpp +++ b/examples/sql/blob/main.cpp @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlquery.h> -#include <qsqlcursor.h> -#include <qfile.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlquery.h> +#include <ntqsqlcursor.h> +#include <ntqfile.h> #define DRIVER "TQPSQL7" /* see the TQt SQL documentation for a list of available drivers */ #define DATABASE "" /* the name of your database */ diff --git a/examples/sql/overview/basicbrowsing/main.cpp b/examples/sql/overview/basicbrowsing/main.cpp index a63182444..9244d2a93 100644 --- a/examples/sql/overview/basicbrowsing/main.cpp +++ b/examples/sql/overview/basicbrowsing/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlquery.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/basicbrowsing2/main.cpp b/examples/sql/overview/basicbrowsing2/main.cpp index 5f7cbcb9f..79b2b17db 100644 --- a/examples/sql/overview/basicbrowsing2/main.cpp +++ b/examples/sql/overview/basicbrowsing2/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlquery.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/basicdatamanip/main.cpp b/examples/sql/overview/basicdatamanip/main.cpp index 7777f9813..ed422afa7 100644 --- a/examples/sql/overview/basicdatamanip/main.cpp +++ b/examples/sql/overview/basicdatamanip/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlquery.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlquery.h> #include "../connection.h" bool createConnections(); diff --git a/examples/sql/overview/connect1/main.cpp b/examples/sql/overview/connect1/main.cpp index 16f3eeab2..ea958e3ae 100644 --- a/examples/sql/overview/connect1/main.cpp +++ b/examples/sql/overview/connect1/main.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> #include "../connection.h" diff --git a/examples/sql/overview/connection.cpp b/examples/sql/overview/connection.cpp index 0bbc7116c..ee49b1a2a 100644 --- a/examples/sql/overview/connection.cpp +++ b/examples/sql/overview/connection.cpp @@ -6,7 +6,7 @@ ** program may be used, distributed and modified without limitation. ** *****************************************************************************/ -#include <qsqldatabase.h> +#include <ntqsqldatabase.h> #include "connection.h" bool createConnections() diff --git a/examples/sql/overview/create_connections/main.cpp b/examples/sql/overview/create_connections/main.cpp index c4b3a9b71..dc1042b7b 100644 --- a/examples/sql/overview/create_connections/main.cpp +++ b/examples/sql/overview/create_connections/main.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/custom1/main.h b/examples/sql/overview/custom1/main.h index 191672245..3ffd1c1c6 100644 --- a/examples/sql/overview/custom1/main.h +++ b/examples/sql/overview/custom1/main.h @@ -7,16 +7,16 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qdialog.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qlineedit.h> -#include <qpushbutton.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qsqlform.h> -#include <qsqlpropertymap.h> +#include <ntqapplication.h> +#include <ntqdialog.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqlineedit.h> +#include <ntqpushbutton.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqsqlform.h> +#include <ntqsqlpropertymap.h> #include "../connection.h" class CustomEdit : public TQLineEdit diff --git a/examples/sql/overview/delete/main.cpp b/examples/sql/overview/delete/main.cpp index ebe2108fa..9ade50bab 100644 --- a/examples/sql/overview/delete/main.cpp +++ b/examples/sql/overview/delete/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/extract/main.cpp b/examples/sql/overview/extract/main.cpp index 191601c82..8a6606d21 100644 --- a/examples/sql/overview/extract/main.cpp +++ b/examples/sql/overview/extract/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/form1/main.cpp b/examples/sql/overview/form1/main.cpp index 8f1c05b0e..1c71bec12 100644 --- a/examples/sql/overview/form1/main.cpp +++ b/examples/sql/overview/form1/main.cpp @@ -7,14 +7,14 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qdialog.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qlineedit.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qsqlform.h> +#include <ntqapplication.h> +#include <ntqdialog.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqlineedit.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqsqlform.h> #include "../connection.h" class FormDialog : public TQDialog diff --git a/examples/sql/overview/form2/main.h b/examples/sql/overview/form2/main.h index 31a0f66cd..ddd91039e 100644 --- a/examples/sql/overview/form2/main.h +++ b/examples/sql/overview/form2/main.h @@ -7,15 +7,15 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qdialog.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qlineedit.h> -#include <qpushbutton.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qsqlform.h> +#include <ntqapplication.h> +#include <ntqdialog.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqlineedit.h> +#include <ntqpushbutton.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqsqlform.h> #include "../connection.h" class FormDialog : public TQDialog diff --git a/examples/sql/overview/insert/main.cpp b/examples/sql/overview/insert/main.cpp index 47276819f..0f2c7b866 100644 --- a/examples/sql/overview/insert/main.cpp +++ b/examples/sql/overview/insert/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/insert2/main.cpp b/examples/sql/overview/insert2/main.cpp index 800a94464..5f5ee6620 100644 --- a/examples/sql/overview/insert2/main.cpp +++ b/examples/sql/overview/insert2/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/navigating/main.cpp b/examples/sql/overview/navigating/main.cpp index 519aa2698..a2e773c1b 100644 --- a/examples/sql/overview/navigating/main.cpp +++ b/examples/sql/overview/navigating/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlquery.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/order1/main.cpp b/examples/sql/overview/order1/main.cpp index 7b185d459..89d7658de 100644 --- a/examples/sql/overview/order1/main.cpp +++ b/examples/sql/overview/order1/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/order2/main.cpp b/examples/sql/overview/order2/main.cpp index 9165d2a9f..2dfba8315 100644 --- a/examples/sql/overview/order2/main.cpp +++ b/examples/sql/overview/order2/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/retrieve1/main.cpp b/examples/sql/overview/retrieve1/main.cpp index 956f8a17f..1b7e11778 100644 --- a/examples/sql/overview/retrieve1/main.cpp +++ b/examples/sql/overview/retrieve1/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlquery.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/retrieve2/main.cpp b/examples/sql/overview/retrieve2/main.cpp index 4cb0150be..ecb59296e 100644 --- a/examples/sql/overview/retrieve2/main.cpp +++ b/examples/sql/overview/retrieve2/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/subclass1/main.cpp b/examples/sql/overview/subclass1/main.cpp index 476ebd898..97b33c473 100644 --- a/examples/sql/overview/subclass1/main.cpp +++ b/examples/sql/overview/subclass1/main.cpp @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qdatatable.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/subclass2/main.cpp b/examples/sql/overview/subclass2/main.cpp index f7f9bd91f..de4d0d7e4 100644 --- a/examples/sql/overview/subclass2/main.cpp +++ b/examples/sql/overview/subclass2/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <qdatatable.h> +#include <ntqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass2/main.h b/examples/sql/overview/subclass2/main.h index 020ecbff7..421b634d6 100644 --- a/examples/sql/overview/subclass2/main.h +++ b/examples/sql/overview/subclass2/main.h @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/subclass3/main.cpp b/examples/sql/overview/subclass3/main.cpp index db77b855e..7f6f7f567 100644 --- a/examples/sql/overview/subclass3/main.cpp +++ b/examples/sql/overview/subclass3/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <qdatatable.h> +#include <ntqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass3/main.h b/examples/sql/overview/subclass3/main.h index 06b0a1734..8c68eb4df 100644 --- a/examples/sql/overview/subclass3/main.h +++ b/examples/sql/overview/subclass3/main.h @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/subclass4/main.cpp b/examples/sql/overview/subclass4/main.cpp index a96870e4d..0ea60afcb 100644 --- a/examples/sql/overview/subclass4/main.cpp +++ b/examples/sql/overview/subclass4/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <qdatatable.h> +#include <ntqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass4/main.h b/examples/sql/overview/subclass4/main.h index 06b0a1734..8c68eb4df 100644 --- a/examples/sql/overview/subclass4/main.h +++ b/examples/sql/overview/subclass4/main.h @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/subclass5/main.cpp b/examples/sql/overview/subclass5/main.cpp index 260ddaf2a..afb616f67 100644 --- a/examples/sql/overview/subclass5/main.cpp +++ b/examples/sql/overview/subclass5/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <qdatatable.h> +#include <ntqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass5/main.h b/examples/sql/overview/subclass5/main.h index 6f3a0edca..95e30e415 100644 --- a/examples/sql/overview/subclass5/main.h +++ b/examples/sql/overview/subclass5/main.h @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qdatetime.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqdatetime.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/table1/main.cpp b/examples/sql/overview/table1/main.cpp index c0041a9a2..118e73f6d 100644 --- a/examples/sql/overview/table1/main.cpp +++ b/examples/sql/overview/table1/main.cpp @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qdatatable.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/table2/main.cpp b/examples/sql/overview/table2/main.cpp index 79c9993f9..4c6794c29 100644 --- a/examples/sql/overview/table2/main.cpp +++ b/examples/sql/overview/table2/main.cpp @@ -7,10 +7,10 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qdatatable.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/table3/main.cpp b/examples/sql/overview/table3/main.cpp index 4b9f2050e..a105239c9 100644 --- a/examples/sql/overview/table3/main.cpp +++ b/examples/sql/overview/table3/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <qdatatable.h> +#include <ntqdatatable.h> StatusPicker::StatusPicker( TQWidget *parent, const char *name ) : TQComboBox( parent, name ) diff --git a/examples/sql/overview/table3/main.h b/examples/sql/overview/table3/main.h index dd0d8d095..e93e6ee7b 100644 --- a/examples/sql/overview/table3/main.h +++ b/examples/sql/overview/table3/main.h @@ -7,13 +7,13 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qcombobox.h> -#include <qmap.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qsqleditorfactory.h> -#include <qsqlpropertymap.h> +#include <ntqapplication.h> +#include <ntqcombobox.h> +#include <ntqmap.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqsqleditorfactory.h> +#include <ntqsqlpropertymap.h> #include "../connection.h" class StatusPicker : public TQComboBox diff --git a/examples/sql/overview/table4/main.h b/examples/sql/overview/table4/main.h index 59edfc9d5..ecd878b1c 100644 --- a/examples/sql/overview/table4/main.h +++ b/examples/sql/overview/table4/main.h @@ -7,15 +7,15 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qcombobox.h> -#include <qmap.h> -#include <qpainter.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qsqleditorfactory.h> -#include <qsqlpropertymap.h> -#include <qdatatable.h> +#include <ntqapplication.h> +#include <ntqcombobox.h> +#include <ntqmap.h> +#include <ntqpainter.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqsqleditorfactory.h> +#include <ntqsqlpropertymap.h> +#include <ntqdatatable.h> #include "../connection.h" class StatusPicker : public TQComboBox diff --git a/examples/sql/overview/update/main.cpp b/examples/sql/overview/update/main.cpp index 207702c06..905e98107 100644 --- a/examples/sql/overview/update/main.cpp +++ b/examples/sql/overview/update/main.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/sqltable/main.cpp b/examples/sql/sqltable/main.cpp index 68d31389a..5af04d6c5 100644 --- a/examples/sql/sqltable/main.cpp +++ b/examples/sql/sqltable/main.cpp @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qdatatable.h> -#include <qsqlcursor.h> -#include <qmessagebox.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqdatatable.h> +#include <ntqsqlcursor.h> +#include <ntqmessagebox.h> /* Modify the following to match your environment */ #define DRIVER "TQSQLITE" /* see the TQt SQL documentation for a list of available drivers */ diff --git a/examples/tabdialog/main.cpp b/examples/tabdialog/main.cpp index 954f4dc94..f26fb4704 100644 --- a/examples/tabdialog/main.cpp +++ b/examples/tabdialog/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include "tabdialog.h" -#include <qapplication.h> -#include <qstring.h> +#include <ntqapplication.h> +#include <ntqstring.h> int main( int argc, char **argv ) { diff --git a/examples/tabdialog/tabdialog.cpp b/examples/tabdialog/tabdialog.cpp index fd5837d75..6211ac939 100644 --- a/examples/tabdialog/tabdialog.cpp +++ b/examples/tabdialog/tabdialog.cpp @@ -9,14 +9,14 @@ #include "tabdialog.h" -#include <qvbox.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qdatetime.h> -#include <qbuttongroup.h> -#include <qcheckbox.h> -#include <qlistbox.h> -#include <qapplication.h> +#include <ntqvbox.h> +#include <ntqlabel.h> +#include <ntqlineedit.h> +#include <ntqdatetime.h> +#include <ntqbuttongroup.h> +#include <ntqcheckbox.h> +#include <ntqlistbox.h> +#include <ntqapplication.h> TabDialog::TabDialog( TQWidget *parent, const char *name, const TQString &_filename ) : TQTabDialog( parent, name ), filename( _filename ), fileinfo( filename ) diff --git a/examples/tabdialog/tabdialog.h b/examples/tabdialog/tabdialog.h index 363c07eb0..0d2634cc3 100644 --- a/examples/tabdialog/tabdialog.h +++ b/examples/tabdialog/tabdialog.h @@ -10,9 +10,9 @@ #ifndef TABDIALOG_H #define TABDIALOG_H -#include <qtabdialog.h> -#include <qstring.h> -#include <qfileinfo.h> +#include <ntqtabdialog.h> +#include <ntqstring.h> +#include <ntqfileinfo.h> class TabDialog : public TQTabDialog { diff --git a/examples/table/bigtable/main.cpp b/examples/table/bigtable/main.cpp index b0d42b22b..a1226a594 100644 --- a/examples/table/bigtable/main.cpp +++ b/examples/table/bigtable/main.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qtable.h> +#include <ntqapplication.h> +#include <ntqtable.h> // Table size diff --git a/examples/table/small-table-demo/main.cpp b/examples/table/small-table-demo/main.cpp index 8039aadf2..359654507 100644 --- a/examples/table/small-table-demo/main.cpp +++ b/examples/table/small-table-demo/main.cpp @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qtable.h> -#include <qimage.h> -#include <qpixmap.h> -#include <qstringlist.h> +#include <ntqapplication.h> +#include <ntqtable.h> +#include <ntqimage.h> +#include <ntqpixmap.h> +#include <ntqstringlist.h> // TQt logo: static const char *qtlogo_xpm[] #include "qtlogo.xpm" diff --git a/examples/table/statistics/main.cpp b/examples/table/statistics/main.cpp index 0f58c21b8..1b09b75f0 100644 --- a/examples/table/statistics/main.cpp +++ b/examples/table/statistics/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "statistics.h" -#include <qapplication.h> +#include <ntqapplication.h> int main( int argc, char **argv ) { TQApplication a(argc,argv); diff --git a/examples/table/statistics/statistics.cpp b/examples/table/statistics/statistics.cpp index f64b67568..c67c19387 100644 --- a/examples/table/statistics/statistics.cpp +++ b/examples/table/statistics/statistics.cpp @@ -9,10 +9,10 @@ #include "statistics.h" -#include <qdir.h> -#include <qstringlist.h> -#include <qheader.h> -#include <qcombobox.h> +#include <ntqdir.h> +#include <ntqstringlist.h> +#include <ntqheader.h> +#include <ntqcombobox.h> #include <stdlib.h> const char* dirs[] = { diff --git a/examples/table/statistics/statistics.h b/examples/table/statistics/statistics.h index efb0358a6..a5225d998 100644 --- a/examples/table/statistics/statistics.h +++ b/examples/table/statistics/statistics.h @@ -10,8 +10,8 @@ #ifndef STATISTICS_H #define STATISTICS_H -#include <qtable.h> -#include <qcombobox.h> +#include <ntqtable.h> +#include <ntqcombobox.h> class TableItem : public TQTableItem { diff --git a/examples/tablet/canvas.cpp b/examples/tablet/canvas.cpp index 6d5c0fe75..d71a95429 100644 --- a/examples/tablet/canvas.cpp +++ b/examples/tablet/canvas.cpp @@ -9,10 +9,10 @@ #include "canvas.h" -#include <qapplication.h> -#include <qpainter.h> -#include <qevent.h> -#include <qrect.h> +#include <ntqapplication.h> +#include <ntqpainter.h> +#include <ntqevent.h> +#include <ntqrect.h> const bool no_writing = FALSE; diff --git a/examples/tablet/canvas.h b/examples/tablet/canvas.h index 24268b95d..bc76dad7f 100644 --- a/examples/tablet/canvas.h +++ b/examples/tablet/canvas.h @@ -7,11 +7,11 @@ ** *****************************************************************************/ -#include <qpen.h> -#include <qpixmap.h> -#include <qpoint.h> -#include <qpointarray.h> -#include <qwidget.h> +#include <ntqpen.h> +#include <ntqpixmap.h> +#include <ntqpoint.h> +#include <ntqpointarray.h> +#include <ntqwidget.h> #ifndef _MY_CANVAS_ diff --git a/examples/tablet/main.cpp b/examples/tablet/main.cpp index 7f97aa964..d12295897 100644 --- a/examples/tablet/main.cpp +++ b/examples/tablet/main.cpp @@ -9,8 +9,8 @@ #include "scribble.h" #include "tabletstats.h" -#include <qapplication.h> -#include <qtabwidget.h> +#include <ntqapplication.h> +#include <ntqtabwidget.h> int main( int argc, char **argv ) diff --git a/examples/tablet/scribble.cpp b/examples/tablet/scribble.cpp index 356a4277b..adf247a76 100644 --- a/examples/tablet/scribble.cpp +++ b/examples/tablet/scribble.cpp @@ -10,22 +10,22 @@ #include "canvas.h" #include "scribble.h" -#include <qapplication.h> -#include <qevent.h> -#include <qpainter.h> -#include <qtoolbar.h> -#include <qtoolbutton.h> -#include <qspinbox.h> -#include <qtooltip.h> -#include <qrect.h> -#include <qpoint.h> -#include <qcolordialog.h> -#include <qfiledialog.h> -#include <qcursor.h> -#include <qimage.h> -#include <qstrlist.h> -#include <qpopupmenu.h> -#include <qintdict.h> +#include <ntqapplication.h> +#include <ntqevent.h> +#include <ntqpainter.h> +#include <ntqtoolbar.h> +#include <ntqtoolbutton.h> +#include <ntqspinbox.h> +#include <ntqtooltip.h> +#include <ntqrect.h> +#include <ntqpoint.h> +#include <ntqcolordialog.h> +#include <ntqfiledialog.h> +#include <ntqcursor.h> +#include <ntqimage.h> +#include <ntqstrlist.h> +#include <ntqpopupmenu.h> +#include <ntqintdict.h> diff --git a/examples/tablet/scribble.h b/examples/tablet/scribble.h index de5749bed..36eaa7ed6 100644 --- a/examples/tablet/scribble.h +++ b/examples/tablet/scribble.h @@ -10,13 +10,13 @@ #ifndef SCRIBBLE_H #define SCRIBBLE_H -#include <qmainwindow.h> -#include <qpen.h> -#include <qpoint.h> -#include <qpixmap.h> -#include <qwidget.h> -#include <qstring.h> -#include <qpointarray.h> +#include <ntqmainwindow.h> +#include <ntqpen.h> +#include <ntqpoint.h> +#include <ntqpixmap.h> +#include <ntqwidget.h> +#include <ntqstring.h> +#include <ntqpointarray.h> class TQMouseEvent; class TQResizeEvent; diff --git a/examples/tablet/tabletstats.cpp b/examples/tablet/tabletstats.cpp index ac3617e0f..771b59e25 100644 --- a/examples/tablet/tabletstats.cpp +++ b/examples/tablet/tabletstats.cpp @@ -7,9 +7,9 @@ ** *****************************************************************************/ -#include <qlabel.h> -#include <qlayout.h> -#include <qpainter.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqpainter.h> #include <math.h> #include "tabletstats.h" diff --git a/examples/tablet/tabletstats.h b/examples/tablet/tabletstats.h index fca8960fa..473866e94 100644 --- a/examples/tablet/tabletstats.h +++ b/examples/tablet/tabletstats.h @@ -10,8 +10,8 @@ #ifndef _TABLET_STATS_ #define _TABLET_STATS_ -#include <qwidget.h> -#include <qframe.h> +#include <ntqwidget.h> +#include <ntqframe.h> #include "canvas.h" #include "tabletstatsbase.h" diff --git a/examples/tetrix/qdragapp.cpp b/examples/tetrix/qdragapp.cpp index 409d418b3..d9903e797 100644 --- a/examples/tetrix/qdragapp.cpp +++ b/examples/tetrix/qdragapp.cpp @@ -8,15 +8,15 @@ *****************************************************************************/ #include "qdragapp.h" -#include "qptrlist.h" -#include "qintdict.h" -#include "qpopupmenu.h" -#include "qguardedptr.h" -#include "qcolor.h" -#include "qwidget.h" -#include "qfontmetrics.h" -#include "qcursor.h" -#include "qobjectlist.h" +#include "ntqptrlist.h" +#include "ntqintdict.h" +#include "ntqpopupmenu.h" +#include "ntqguardedptr.h" +#include "ntqcolor.h" +#include "ntqwidget.h" +#include "ntqfontmetrics.h" +#include "ntqcursor.h" +#include "ntqobjectlist.h" TQWidget *cursorWidget( TQPoint * = 0 ); diff --git a/examples/tetrix/qdragapp.h b/examples/tetrix/qdragapp.h index f0334b829..85f3b9dd6 100644 --- a/examples/tetrix/qdragapp.h +++ b/examples/tetrix/qdragapp.h @@ -10,7 +10,7 @@ #ifndef TQDRAGAPP_H #define TQDRAGAPP_H -#include "qapplication.h" +#include "ntqapplication.h" class TQDragger; diff --git a/examples/tetrix/qtetrix.cpp b/examples/tetrix/qtetrix.cpp index 655c2e71a..8e7946ad1 100644 --- a/examples/tetrix/qtetrix.cpp +++ b/examples/tetrix/qtetrix.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include "qtetrix.h" -#include <qapplication.h> -#include <qlabel.h> -#include <qdatetime.h> +#include <ntqapplication.h> +#include <ntqlabel.h> +#include <ntqdatetime.h> void drawTetrixButton( TQPainter *p, int x, int y, int w, int h, diff --git a/examples/tetrix/qtetrix.h b/examples/tetrix/qtetrix.h index 5b39051b0..1c81fcdf1 100644 --- a/examples/tetrix/qtetrix.h +++ b/examples/tetrix/qtetrix.h @@ -11,11 +11,11 @@ #define TQTETRIX_H #include "qtetrixb.h" -#include <qframe.h> -#include <qlcdnumber.h> -#include <qlabel.h> -#include <qpushbutton.h> -#include <qpainter.h> +#include <ntqframe.h> +#include <ntqlcdnumber.h> +#include <ntqlabel.h> +#include <ntqpushbutton.h> +#include <ntqpainter.h> class ShowNextPiece : public TQFrame diff --git a/examples/tetrix/qtetrixb.cpp b/examples/tetrix/qtetrixb.cpp index 26fd2c2d0..fc5816a74 100644 --- a/examples/tetrix/qtetrixb.cpp +++ b/examples/tetrix/qtetrixb.cpp @@ -9,8 +9,8 @@ #include "qtetrixb.h" #include "qtetrix.h" -#include <qtimer.h> -#include <qpainter.h> +#include <ntqtimer.h> +#include <ntqpainter.h> const int waitAfterLineTime = 500; diff --git a/examples/tetrix/qtetrixb.h b/examples/tetrix/qtetrixb.h index 236f02e18..0e9812e89 100644 --- a/examples/tetrix/qtetrixb.h +++ b/examples/tetrix/qtetrixb.h @@ -11,7 +11,7 @@ #define TQTETRIXB_H #include "gtetrix.h" -#include <qframe.h> +#include <ntqframe.h> class TQTimer; diff --git a/examples/tetrix/tetrix.cpp b/examples/tetrix/tetrix.cpp index e3cf9c29f..2d8c2d5fd 100644 --- a/examples/tetrix/tetrix.cpp +++ b/examples/tetrix/tetrix.cpp @@ -9,7 +9,7 @@ #include "qtetrix.h" #include "qdragapp.h" -#include "qfont.h" +#include "ntqfont.h" int main( int argc, char **argv ) { diff --git a/examples/tetrix/tpiece.cpp b/examples/tetrix/tpiece.cpp index 71e47e9b3..acda548fb 100644 --- a/examples/tetrix/tpiece.cpp +++ b/examples/tetrix/tpiece.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "tpiece.h" -#include "qstring.h" +#include "ntqstring.h" #include <stdlib.h> void TetrixPiece::rotateLeft() diff --git a/examples/textedit/main.cpp b/examples/textedit/main.cpp index 31b5412a3..f07bf4a26 100644 --- a/examples/textedit/main.cpp +++ b/examples/textedit/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "textedit.h" int main( int argc, char ** argv ) diff --git a/examples/textedit/textedit.cpp b/examples/textedit/textedit.cpp index b25074788..e3441c858 100644 --- a/examples/textedit/textedit.cpp +++ b/examples/textedit/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 ) diff --git a/examples/textedit/textedit.h b/examples/textedit/textedit.h index 7b2031f03..226e0e0eb 100644 --- a/examples/textedit/textedit.h +++ b/examples/textedit/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/themes/main.cpp b/examples/themes/main.cpp index bf4c31b7e..a560b5f70 100644 --- a/examples/themes/main.cpp +++ b/examples/themes/main.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qwindowsstyle.h> +#include <ntqapplication.h> +#include <ntqwindowsstyle.h> #include "themes.h" #include "metal.h" diff --git a/examples/themes/metal.cpp b/examples/themes/metal.cpp index 02b0c02b2..93522f194 100644 --- a/examples/themes/metal.cpp +++ b/examples/themes/metal.cpp @@ -11,20 +11,20 @@ #ifndef QT_NO_STYLE_WINDOWS -#include "qapplication.h" -#include "qcombobox.h" -#include "qpainter.h" -#include "qdrawutil.h" // for now -#include "qpixmap.h" // for now -#include "qpalette.h" // for now -#include "qwidget.h" -#include "qlabel.h" -#include "qimage.h" -#include "qpushbutton.h" -#include "qwidget.h" -#include "qrangecontrol.h" -#include "qscrollbar.h" -#include "qslider.h" +#include "ntqapplication.h" +#include "ntqcombobox.h" +#include "ntqpainter.h" +#include "ntqdrawutil.h" // for now +#include "ntqpixmap.h" // for now +#include "ntqpalette.h" // for now +#include "ntqwidget.h" +#include "ntqlabel.h" +#include "ntqimage.h" +#include "ntqpushbutton.h" +#include "ntqwidget.h" +#include "ntqrangecontrol.h" +#include "ntqscrollbar.h" +#include "ntqslider.h" #include <limits.h> diff --git a/examples/themes/metal.h b/examples/themes/metal.h index 95ff6111f..ac6fe84f6 100644 --- a/examples/themes/metal.h +++ b/examples/themes/metal.h @@ -15,11 +15,11 @@ #define METAL_H -#include <qpalette.h> +#include <ntqpalette.h> #ifndef QT_NO_STYLE_WINDOWS -#include <qwindowsstyle.h> +#include <ntqwindowsstyle.h> class MetalStyle : public TQWindowsStyle diff --git a/examples/themes/themes.cpp b/examples/themes/themes.cpp index f448e3421..3cd7e0405 100644 --- a/examples/themes/themes.cpp +++ b/examples/themes/themes.cpp @@ -19,16 +19,16 @@ #include "../rangecontrols/rangecontrols.h" #include "../richtext/richtext.h" -#include <qtabwidget.h> -#include <qapplication.h> -#include <qpopupmenu.h> -#include <qmenubar.h> -#include <qmessagebox.h> -#include <qfont.h> -#include <qstylefactory.h> -#include <qaction.h> -#include <qsignalmapper.h> -#include <qdict.h> +#include <ntqtabwidget.h> +#include <ntqapplication.h> +#include <ntqpopupmenu.h> +#include <ntqmenubar.h> +#include <ntqmessagebox.h> +#include <ntqfont.h> +#include <ntqstylefactory.h> +#include <ntqaction.h> +#include <ntqsignalmapper.h> +#include <ntqdict.h> Themes::Themes( TQWidget *parent, const char *name, WFlags f ) : TQMainWindow( parent, name, f ) diff --git a/examples/themes/themes.h b/examples/themes/themes.h index 7b6f4b544..e3789c6e0 100644 --- a/examples/themes/themes.h +++ b/examples/themes/themes.h @@ -10,8 +10,8 @@ #ifndef THEMES_H #define THEMES_H -#include <qmainwindow.h> -#include <qfont.h> +#include <ntqmainwindow.h> +#include <ntqfont.h> class TQTabWidget; diff --git a/examples/themes/wood.cpp b/examples/themes/wood.cpp index 3d78eb5a0..8b2830b32 100644 --- a/examples/themes/wood.cpp +++ b/examples/themes/wood.cpp @@ -11,21 +11,21 @@ #ifndef QT_NO_STYLE_WINDOWS -#include "qapplication.h" -#include "qcombobox.h" -#include "qpainter.h" -#include "qdrawutil.h" // for now -#include "qpixmap.h" // for now -#include "qpalette.h" // for now -#include "qwidget.h" -#include "qlabel.h" -#include "qimage.h" -#include "qpushbutton.h" -#include "qwidget.h" -#include "qrangecontrol.h" -#include "qscrollbar.h" +#include "ntqapplication.h" +#include "ntqcombobox.h" +#include "ntqpainter.h" +#include "ntqdrawutil.h" // for now +#include "ntqpixmap.h" // for now +#include "ntqpalette.h" // for now +#include "ntqwidget.h" +#include "ntqlabel.h" +#include "ntqimage.h" +#include "ntqpushbutton.h" +#include "ntqwidget.h" +#include "ntqrangecontrol.h" +#include "ntqscrollbar.h" #include <limits.h> -#include "qstylefactory.h" +#include "ntqstylefactory.h" /* XPM */ static const char *polish_xpm[] = { diff --git a/examples/themes/wood.h b/examples/themes/wood.h index c05efb10c..dd2d10624 100644 --- a/examples/themes/wood.h +++ b/examples/themes/wood.h @@ -15,11 +15,11 @@ #define WOOD_H -#include <qpalette.h> +#include <ntqpalette.h> #ifndef QT_NO_STYLE_WINDOWS -#include <qwindowsstyle.h> +#include <ntqwindowsstyle.h> class NorwegianWoodStyle : public TQWindowsStyle diff --git a/examples/thread/prodcons/prodcons.cpp b/examples/thread/prodcons/prodcons.cpp index f6ff4500a..ec4e68c5a 100644 --- a/examples/thread/prodcons/prodcons.cpp +++ b/examples/thread/prodcons/prodcons.cpp @@ -1,17 +1,17 @@ -#include <qthread.h> -#include <qwaitcondition.h> -#include <qmutex.h> -#include <qapplication.h> -#include <qwidget.h> -#include <qpushbutton.h> -#include <qcheckbox.h> -#include <qprogressbar.h> -#include <qlayout.h> -#include <qevent.h> -#include <qlabel.h> -#include <qcstring.h> -#include <qtextstream.h> -#include <qfile.h> +#include <ntqthread.h> +#include <ntqwaitcondition.h> +#include <ntqmutex.h> +#include <ntqapplication.h> +#include <ntqwidget.h> +#include <ntqpushbutton.h> +#include <ntqcheckbox.h> +#include <ntqprogressbar.h> +#include <ntqlayout.h> +#include <ntqevent.h> +#include <ntqlabel.h> +#include <ntqcstring.h> +#include <ntqtextstream.h> +#include <ntqfile.h> #include <stdio.h> diff --git a/examples/thread/semaphores/main.cpp b/examples/thread/semaphores/main.cpp index 69d4779d5..a32873a95 100644 --- a/examples/thread/semaphores/main.cpp +++ b/examples/thread/semaphores/main.cpp @@ -6,16 +6,16 @@ ** program may be used, distributed and modified without limitation. ** *****************************************************************************/ -#include <qapplication.h> -#include <qwidget.h> -#include <qpushbutton.h> -#include <qmultilineedit.h> -#include <qthread.h> -#include <qsemaphore.h> -#include <qmutex.h> -#include <qlayout.h> -#include <qmessagebox.h> -#include <qlabel.h> +#include <ntqapplication.h> +#include <ntqwidget.h> +#include <ntqpushbutton.h> +#include <ntqmultilineedit.h> +#include <ntqthread.h> +#include <ntqsemaphore.h> +#include <ntqmutex.h> +#include <ntqlayout.h> +#include <ntqmessagebox.h> +#include <ntqlabel.h> #if defined(QT_NO_THREAD) # error Thread support not enabled. diff --git a/examples/tictac/main.cpp b/examples/tictac/main.cpp index 1a18598c9..bfd4035d3 100644 --- a/examples/tictac/main.cpp +++ b/examples/tictac/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include <stdlib.h> #include "tictac.h" diff --git a/examples/tictac/tictac.cpp b/examples/tictac/tictac.cpp index e3d15eeac..3d0375869 100644 --- a/examples/tictac/tictac.cpp +++ b/examples/tictac/tictac.cpp @@ -8,15 +8,15 @@ *****************************************************************************/ #include "tictac.h" -#include <qapplication.h> -#include <qpainter.h> -#include <qdrawutil.h> -#include <qcombobox.h> -#include <qcheckbox.h> -#include <qlabel.h> -#include <qlayout.h> +#include <ntqapplication.h> +#include <ntqpainter.h> +#include <ntqdrawutil.h> +#include <ntqcombobox.h> +#include <ntqcheckbox.h> +#include <ntqlabel.h> +#include <ntqlayout.h> #include <stdlib.h> // rand() function -#include <qdatetime.h> // seed for rand() +#include <ntqdatetime.h> // seed for rand() //*************************************************************************** diff --git a/examples/tictac/tictac.h b/examples/tictac/tictac.h index 72de5278d..e2c1917ed 100644 --- a/examples/tictac/tictac.h +++ b/examples/tictac/tictac.h @@ -11,8 +11,8 @@ #define TICTAC_H -#include <qpushbutton.h> -#include <qptrvector.h> +#include <ntqpushbutton.h> +#include <ntqptrvector.h> class TQComboBox; class TQLabel; diff --git a/examples/tooltip/main.cpp b/examples/tooltip/main.cpp index fa02f0e86..78313a4d1 100644 --- a/examples/tooltip/main.cpp +++ b/examples/tooltip/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "tooltip.h" int main( int argc, char ** argv ) diff --git a/examples/tooltip/tooltip.cpp b/examples/tooltip/tooltip.cpp index 628c4d94f..fe28b56ee 100644 --- a/examples/tooltip/tooltip.cpp +++ b/examples/tooltip/tooltip.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include "tooltip.h" -#include <qapplication.h> -#include <qpainter.h> +#include <ntqapplication.h> +#include <ntqpainter.h> #include <stdlib.h> diff --git a/examples/tooltip/tooltip.h b/examples/tooltip/tooltip.h index c9d26d9ac..7cd868eb5 100644 --- a/examples/tooltip/tooltip.h +++ b/examples/tooltip/tooltip.h @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qwidget.h> -#include <qtooltip.h> +#include <ntqwidget.h> +#include <ntqtooltip.h> class DynamicTip : public TQToolTip diff --git a/examples/toplevel/main.cpp b/examples/toplevel/main.cpp index 1987a3f52..f8742fd2a 100644 --- a/examples/toplevel/main.cpp +++ b/examples/toplevel/main.cpp @@ -1,4 +1,4 @@ -#include <qapplication.h> +#include <ntqapplication.h> #include "options.h" int main( int argc, char ** argv ) diff --git a/examples/toplevel/options.ui b/examples/toplevel/options.ui index 1658876e3..5f8779808 100644 --- a/examples/toplevel/options.ui +++ b/examples/toplevel/options.ui @@ -572,9 +572,9 @@ Note that this attribute is not supported on many windowing systems and will hav </connection> </connections> <includes> - <include location="global" impldecl="in declaration">qguardedptr.h</include> - <include location="global" impldecl="in declaration">qvbox.h</include> - <include location="global" impldecl="in implementation">qfiledialog.h</include> + <include location="global" impldecl="in declaration">ntqguardedptr.h</include> + <include location="global" impldecl="in declaration">ntqvbox.h</include> + <include location="global" impldecl="in implementation">ntqfiledialog.h</include> </includes> <variables> <variable access="private">TQGuardedPtr<TQVBox> widget;</variable> diff --git a/examples/tux/tux.cpp b/examples/tux/tux.cpp index e0d482b79..2afca6d92 100644 --- a/examples/tux/tux.cpp +++ b/examples/tux/tux.cpp @@ -1,9 +1,9 @@ -#include <qapplication.h> -#include <qwidget.h> -#include <qimage.h> -#include <qpixmap.h> -#include <qbitmap.h> -#include <qfile.h> +#include <ntqapplication.h> +#include <ntqwidget.h> +#include <ntqimage.h> +#include <ntqpixmap.h> +#include <ntqbitmap.h> +#include <ntqfile.h> #include <stdlib.h> diff --git a/examples/widgets/main.cpp b/examples/widgets/main.cpp index a88dab434..a72de7e3f 100644 --- a/examples/widgets/main.cpp +++ b/examples/widgets/main.cpp @@ -7,8 +7,8 @@ ** *****************************************************************************/ -#include <qapplication.h> -#include <qstylefactory.h> +#include <ntqapplication.h> +#include <ntqstylefactory.h> #include "widgets.h" class MyWidgetView : public WidgetView diff --git a/examples/widgets/widgets.cpp b/examples/widgets/widgets.cpp index 513a6e6eb..2f6ec11e3 100644 --- a/examples/widgets/widgets.cpp +++ b/examples/widgets/widgets.cpp @@ -7,47 +7,47 @@ ** *****************************************************************************/ -#include <qmessagebox.h> -#include <qpixmap.h> -#include <qlayout.h> -#include <qapplication.h> +#include <ntqmessagebox.h> +#include <ntqpixmap.h> +#include <ntqlayout.h> +#include <ntqapplication.h> // Standard TQt widgets -#include <qtoolbar.h> -#include <qmenubar.h> -#include <qpopupmenu.h> -#include <qbuttongroup.h> -#include <qcheckbox.h> -#include <qcombobox.h> -#include <qframe.h> -#include <qgroupbox.h> -#include <qlabel.h> -#include <qlcdnumber.h> -#include <qmultilineedit.h> -#include <qlineedit.h> -#include <qlistbox.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qslider.h> -#include <qtooltip.h> -#include <qspinbox.h> -#include <qstatusbar.h> -#include <qwhatsthis.h> -#include <qtoolbutton.h> -#include <qvbox.h> -#include <qtabbar.h> -#include <qtabwidget.h> -#include <qwidgetstack.h> -#include <qprogressbar.h> -#include <qsplitter.h> -#include <qlistview.h> -#include <qheader.h> -#include <qtextbrowser.h> -#include <qfiledialog.h> -#include <qaccel.h> -#include <qmetaobject.h> -#include <qpainter.h> +#include <ntqtoolbar.h> +#include <ntqmenubar.h> +#include <ntqpopupmenu.h> +#include <ntqbuttongroup.h> +#include <ntqcheckbox.h> +#include <ntqcombobox.h> +#include <ntqframe.h> +#include <ntqgroupbox.h> +#include <ntqlabel.h> +#include <ntqlcdnumber.h> +#include <ntqmultilineedit.h> +#include <ntqlineedit.h> +#include <ntqlistbox.h> +#include <ntqpushbutton.h> +#include <ntqradiobutton.h> +#include <ntqslider.h> +#include <ntqtooltip.h> +#include <ntqspinbox.h> +#include <ntqstatusbar.h> +#include <ntqwhatsthis.h> +#include <ntqtoolbutton.h> +#include <ntqvbox.h> +#include <ntqtabbar.h> +#include <ntqtabwidget.h> +#include <ntqwidgetstack.h> +#include <ntqprogressbar.h> +#include <ntqsplitter.h> +#include <ntqlistview.h> +#include <ntqheader.h> +#include <ntqtextbrowser.h> +#include <ntqfiledialog.h> +#include <ntqaccel.h> +#include <ntqmetaobject.h> +#include <ntqpainter.h> #include "widgets.h" diff --git a/examples/widgets/widgets.h b/examples/widgets/widgets.h index 628068f87..8fc9cca55 100644 --- a/examples/widgets/widgets.h +++ b/examples/widgets/widgets.h @@ -14,9 +14,9 @@ #ifndef WIDGETS_H #define WIDGETS_H -#include <qmainwindow.h> -#include <qmovie.h> -#include <qlistview.h> +#include <ntqmainwindow.h> +#include <ntqmovie.h> +#include <ntqlistview.h> class TQLabel; class TQCheckBox; class TQProgressBar; diff --git a/examples/wizard/main.cpp b/examples/wizard/main.cpp index b7e4406dc..3f08e99e9 100644 --- a/examples/wizard/main.cpp +++ b/examples/wizard/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "wizard.h" -#include <qapplication.h> +#include <ntqapplication.h> int main(int argc,char **argv) { diff --git a/examples/wizard/wizard.cpp b/examples/wizard/wizard.cpp index 96c88efb4..ad5c8699f 100644 --- a/examples/wizard/wizard.cpp +++ b/examples/wizard/wizard.cpp @@ -9,14 +9,14 @@ #include "wizard.h" -#include <qwidget.h> -#include <qhbox.h> -#include <qvbox.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qpushbutton.h> -#include <qvalidator.h> -#include <qapplication.h> +#include <ntqwidget.h> +#include <ntqhbox.h> +#include <ntqvbox.h> +#include <ntqlabel.h> +#include <ntqlineedit.h> +#include <ntqpushbutton.h> +#include <ntqvalidator.h> +#include <ntqapplication.h> Wizard::Wizard( TQWidget *parent, const char *name ) : TQWizard( parent, name, TRUE ) diff --git a/examples/wizard/wizard.h b/examples/wizard/wizard.h index f97a01fdf..332f18966 100644 --- a/examples/wizard/wizard.h +++ b/examples/wizard/wizard.h @@ -10,7 +10,7 @@ #ifndef WIZARD_H #define WIZARD_H -#include <qwizard.h> +#include <ntqwizard.h> class TQWidget; class TQHBox; diff --git a/examples/xform/xform.cpp b/examples/xform/xform.cpp index dfe351946..bad40c303 100644 --- a/examples/xform/xform.cpp +++ b/examples/xform/xform.cpp @@ -7,26 +7,26 @@ ** *****************************************************************************/ -#include <qapplication.h> - -#include <qdialog.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qpushbutton.h> -#include <qcheckbox.h> -#include <qradiobutton.h> -#include <qbuttongroup.h> -#include <qlcdnumber.h> -#include <qslider.h> -#include <qmenubar.h> -#include <qfontdialog.h> -#include <qlayout.h> -#include <qvbox.h> -#include <qwidgetstack.h> - -#include <qpainter.h> -#include <qpixmap.h> -#include <qpicture.h> +#include <ntqapplication.h> + +#include <ntqdialog.h> +#include <ntqlabel.h> +#include <ntqlineedit.h> +#include <ntqpushbutton.h> +#include <ntqcheckbox.h> +#include <ntqradiobutton.h> +#include <ntqbuttongroup.h> +#include <ntqlcdnumber.h> +#include <ntqslider.h> +#include <ntqmenubar.h> +#include <ntqfontdialog.h> +#include <ntqlayout.h> +#include <ntqvbox.h> +#include <ntqwidgetstack.h> + +#include <ntqpainter.h> +#include <ntqpixmap.h> +#include <ntqpicture.h> #include <stdlib.h> diff --git a/examples/xml/outliner/main.cpp b/examples/xml/outliner/main.cpp index c4b1491e3..0f7848e44 100644 --- a/examples/xml/outliner/main.cpp +++ b/examples/xml/outliner/main.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <qapplication.h> +#include <ntqapplication.h> #include "outlinetree.h" int main( int argc, char **argv ) diff --git a/examples/xml/outliner/outlinetree.cpp b/examples/xml/outliner/outlinetree.cpp index 69b92358b..ba89585b2 100644 --- a/examples/xml/outliner/outlinetree.cpp +++ b/examples/xml/outliner/outlinetree.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include "outlinetree.h" -#include <qfile.h> -#include <qmessagebox.h> +#include <ntqfile.h> +#include <ntqmessagebox.h> OutlineTree::OutlineTree( const TQString fileName, TQWidget *parent, const char *name ) : TQListView( parent, name ) diff --git a/examples/xml/outliner/outlinetree.h b/examples/xml/outliner/outlinetree.h index c6a22ad9d..891a44d37 100644 --- a/examples/xml/outliner/outlinetree.h +++ b/examples/xml/outliner/outlinetree.h @@ -10,8 +10,8 @@ #ifndef OUTLINETREE_H #define OUTLINETREE_H -#include <qlistview.h> -#include <qdom.h> +#include <ntqlistview.h> +#include <ntqdom.h> class OutlineTree : public TQListView { diff --git a/examples/xml/tagreader-with-features/structureparser.cpp b/examples/xml/tagreader-with-features/structureparser.cpp index 3bbd2a9c9..cc5e210a1 100644 --- a/examples/xml/tagreader-with-features/structureparser.cpp +++ b/examples/xml/tagreader-with-features/structureparser.cpp @@ -3,8 +3,8 @@ #include "structureparser.h" -#include <qstring.h> -#include <qlistview.h> +#include <ntqstring.h> +#include <ntqlistview.h> StructureParser::StructureParser( TQListView * t ) : TQXmlDefaultHandler() diff --git a/examples/xml/tagreader-with-features/structureparser.h b/examples/xml/tagreader-with-features/structureparser.h index 9ab8ec2af..1a85ff977 100644 --- a/examples/xml/tagreader-with-features/structureparser.h +++ b/examples/xml/tagreader-with-features/structureparser.h @@ -4,8 +4,8 @@ #ifndef STRUCTUREPARSER_H #define STRUCTUREPARSER_H -#include <qxml.h> -#include <qptrstack.h> +#include <ntqxml.h> +#include <ntqptrstack.h> class TQListView; class TQListViewItem; diff --git a/examples/xml/tagreader-with-features/tagreader.cpp b/examples/xml/tagreader-with-features/tagreader.cpp index 866879a4f..cce97d58d 100644 --- a/examples/xml/tagreader-with-features/tagreader.cpp +++ b/examples/xml/tagreader-with-features/tagreader.cpp @@ -8,13 +8,13 @@ *****************************************************************************/ #include "structureparser.h" -#include <qapplication.h> -#include <qfile.h> -#include <qxml.h> -#include <qlistview.h> -#include <qgrid.h> -#include <qmainwindow.h> -#include <qlabel.h> +#include <ntqapplication.h> +#include <ntqfile.h> +#include <ntqxml.h> +#include <ntqlistview.h> +#include <ntqgrid.h> +#include <ntqmainwindow.h> +#include <ntqlabel.h> int main( int argc, char **argv ) { diff --git a/examples/xml/tagreader/structureparser.cpp b/examples/xml/tagreader/structureparser.cpp index 9c13f4568..a4798dc49 100644 --- a/examples/xml/tagreader/structureparser.cpp +++ b/examples/xml/tagreader/structureparser.cpp @@ -10,7 +10,7 @@ #include "structureparser.h" #include <stdio.h> -#include <qstring.h> +#include <ntqstring.h> bool StructureParser::startDocument() { diff --git a/examples/xml/tagreader/structureparser.h b/examples/xml/tagreader/structureparser.h index c860f21a5..d2b91fef5 100644 --- a/examples/xml/tagreader/structureparser.h +++ b/examples/xml/tagreader/structureparser.h @@ -10,7 +10,7 @@ #ifndef STRUCTUREPARSER_H #define STRUCTUREPARSER_H -#include <qxml.h> +#include <ntqxml.h> class TQString; diff --git a/examples/xml/tagreader/tagreader.cpp b/examples/xml/tagreader/tagreader.cpp index 93dd4cc59..d54106592 100644 --- a/examples/xml/tagreader/tagreader.cpp +++ b/examples/xml/tagreader/tagreader.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include "structureparser.h" -#include <qfile.h> -#include <qxml.h> -#include <qwindowdefs.h> +#include <ntqfile.h> +#include <ntqxml.h> +#include <ntqwindowdefs.h> int main( int argc, char **argv ) { |