Drop TQT_NO_COMPAT code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 1 year ago
parent 3a0019282e
commit 0f7f50ffa0
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -38,19 +38,19 @@
** **
****************************************************************************/ ****************************************************************************/
#include <ntqcheckbox.h> #include <tqcheckbox.h>
#include <ntqcombobox.h> #include <tqcombobox.h>
#include <ntqradiobutton.h> #include <tqradiobutton.h>
#include <ntqpushbutton.h> #include <tqpushbutton.h>
#include <ntqprogressbar.h> #include <tqprogressbar.h>
#include <ntqtextedit.h> #include <tqtextedit.h>
#include <ntqtabbar.h> #include <tqtabbar.h>
#include <ntqtoolbar.h> #include <tqtoolbar.h>
#include <ntqtoolbutton.h> #include <tqtoolbutton.h>
#include <ntqmainwindow.h> #include <tqmainwindow.h>
#include <ntqlayout.h> #include <tqlayout.h>
#include <ntqaction.h> #include <tqaction.h>
#include <ntqgroupbox.h> #include <tqgroupbox.h>
#include "stylewindow.h" #include "stylewindow.h"

@ -41,7 +41,7 @@
#ifndef STYLEWINDOW_H #ifndef STYLEWINDOW_H
#define STYLEWINDOW_H #define STYLEWINDOW_H
#include <ntqwidget.h> #include <tqwidget.h>
class StyleWindow : public TQWidget class StyleWindow : public TQWidget
{ {

@ -2,5 +2,5 @@
gccxml --gccxml-cxxflags -I/usr/include/qt4/ /usr/include/qt4/QtGui/QStyle -fxml=test.xml && cat test.xml | grep -E "(Enumeration|EnumValue)" &> qt4enums.xml gccxml --gccxml-cxxflags -I/usr/include/qt4/ /usr/include/qt4/QtGui/QStyle -fxml=test.xml && cat test.xml | grep -E "(Enumeration|EnumValue)" &> qt4enums.xml
rm -f test.xml rm -f test.xml
gccxml --gccxml-cxxflags -I/usr/include/tqt3/ /usr/include/tqt3/ntqstyle.h -fxml=test.xml && cat test.xml | grep -E "(Enumeration|EnumValue)" &> qt3enums.xml gccxml --gccxml-cxxflags -I/usr/include/tqt3/ -I/usr/include/tqt/ /usr/include/tqt3/tqstyle.h -fxml=test.xml && cat test.xml | grep -E "(Enumeration|EnumValue)" &> qt3enums.xml
rm -f test.xml rm -f test.xml

@ -19,7 +19,6 @@
#ifndef TDEQT4CONVERTER_H #ifndef TDEQT4CONVERTER_H
#define TDEQT4CONVERTER_H #define TDEQT4CONVERTER_H
#define TQT_NO_COMPAT_NAMES
#include <tqstyle.h> #include <tqstyle.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tqbitmap.h> #include <tqbitmap.h>

@ -20,7 +20,6 @@
#include "tdeqt4painter.h" #include "tdeqt4painter.h"
#define TQT_NO_COMPAT_NAMES
#include "tqpainter.h" #include "tqpainter.h"
#include "tqpixmap.h" #include "tqpixmap.h"
#include "tqbitmap.h" #include "tqbitmap.h"

@ -21,9 +21,8 @@
#ifndef TDEQT4PAINTER_H #ifndef TDEQT4PAINTER_H
#define TDEQT4PAINTER_H #define TDEQT4PAINTER_H
#define TQT_NO_COMPAT_NAMES #include "tqpaintdevice.h"
#include "ntqpaintdevice.h" #include "tqbuffer.h"
#include "ntqbuffer.h"
#undef Qt #undef Qt
#include <QtGui/QPainter> #include <QtGui/QPainter>

@ -16,7 +16,6 @@
** **
**********************************************************************/ **********************************************************************/
#define TQT_NO_COMPAT_NAMES
#include <tqstyle.h> #include <tqstyle.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tqbitmap.h> #include <tqbitmap.h>

@ -21,7 +21,7 @@
#include <QtGui/QWindowsStyle> #include <QtGui/QWindowsStyle>
#include <QFileDialog> #include <QFileDialog>
#include <ntqintcache.h> #include <tqintcache.h>
#include "tdeqt4converter.h" #include "tdeqt4converter.h"

Loading…
Cancel
Save