From 6533027025a1c3d6d9d7ae7dbd024b3a8751109b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 10 Dec 2009 00:27:47 +0000 Subject: [PATCH] 2009-12-10 01:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt.h % Minor cleanup after prev. * contrib/hbqt/generator/hbqtgen.prg * Changed to use HB_TRACE() instead of hbqt_debug(). ; NOTE: IMPORTANT: Now to enabled debug trace calls, you have to use the standard Harbour method: HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG It's enough to enable this setting when build hbqt lib, to get HBQT trace calls. In addition, following setting stil works to enable .prg level debug trace calls: HB_USER_PRGFLAGS=-D__HB_DEBUG__ * contrib/hbqt/qtgui/QPageSetupDialog.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QItemSelectionModel.cpp * contrib/hbqt/qtgui/QTextLength.cpp * contrib/hbqt/qtgui/QConicalGradient.cpp * contrib/hbqt/qtgui/QStandardItemModel.cpp * contrib/hbqt/qtgui/QItemSelection.cpp * contrib/hbqt/qtgui/QTransform.cpp * contrib/hbqt/qtgui/QPicture.cpp * contrib/hbqt/qtgui/QAction.cpp * contrib/hbqt/qtgui/QPaintEvent.cpp * contrib/hbqt/qtgui/QStyledItemDelegate.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/QFontDialog.cpp * contrib/hbqt/qtgui/QToolBox.cpp * contrib/hbqt/qtgui/QTextListFormat.cpp * contrib/hbqt/qtgui/QTextEdit.cpp * contrib/hbqt/qtgui/QMouseEvent.cpp * contrib/hbqt/qtgui/QFontComboBox.cpp * contrib/hbqt/qtgui/QStyleOptionHeader.cpp * contrib/hbqt/qtgui/QListView.cpp * contrib/hbqt/qtgui/QRadialGradient.cpp * contrib/hbqt/qtgui/QCursor.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QPainterPath.cpp * contrib/hbqt/qtgui/QStylePainter.cpp * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * contrib/hbqt/qtgui/QBrush.cpp * contrib/hbqt/qtgui/QLinearGradient.cpp * contrib/hbqt/qtgui/QProgressBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QToolButton.cpp * contrib/hbqt/qtgui/QWindowsStyle.cpp * contrib/hbqt/qtgui/QColor.cpp * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QTextLayout.cpp * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/QPolygon.cpp * contrib/hbqt/qtgui/QRadioButton.cpp * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * contrib/hbqt/qtgui/QFileIconProvider.cpp * contrib/hbqt/qtgui/QTextFrameFormat.cpp * contrib/hbqt/qtgui/QTextBlockFormat.cpp * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * contrib/hbqt/qtgui/QBitmap.cpp * contrib/hbqt/qtgui/QCalendarWidget.cpp * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * contrib/hbqt/qtgui/QHeaderView.cpp * contrib/hbqt/qtgui/QScrollBar.cpp * contrib/hbqt/qtgui/QStyleOptionButton.cpp * contrib/hbqt/qtgui/QCommandLinkButton.cpp * contrib/hbqt/qtgui/QFocusFrame.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QTextFragment.cpp * contrib/hbqt/qtgui/QPlainTextEdit.cpp * contrib/hbqt/qtgui/QInputDialog.cpp * contrib/hbqt/qtgui/QKeySequence.cpp * contrib/hbqt/qtgui/QPrinter.cpp * contrib/hbqt/qtgui/QActionGroup.cpp * contrib/hbqt/qtgui/QTextCharFormat.cpp * contrib/hbqt/qtgui/QStyleOptionSlider.cpp * contrib/hbqt/qtgui/QInputEvent.cpp * contrib/hbqt/qtgui/QWidgetItem.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * contrib/hbqt/qtgui/QImage.cpp * contrib/hbqt/qtgui/QFontInfo.cpp * contrib/hbqt/qtgui/QIcon.cpp * contrib/hbqt/qtgui/QPolygonF.cpp * contrib/hbqt/qtgui/QHBoxLayout.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qtgui/QCommonStyle.cpp * contrib/hbqt/qtgui/QProgressDialog.cpp * contrib/hbqt/qtgui/QStyleFactory.cpp * contrib/hbqt/qtgui/QButtonGroup.cpp * contrib/hbqt/qtgui/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * contrib/hbqt/qtgui/QColorDialog.cpp * contrib/hbqt/qtgui/QListWidgetItem.cpp * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/qtgui/QDateTimeEdit.cpp * contrib/hbqt/qtgui/QInputMethodEvent.cpp * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QDesktopWidget.cpp * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * contrib/hbqt/qtgui/QWidgetAction.cpp * contrib/hbqt/qtgui/QStringListModel.cpp * contrib/hbqt/qtgui/QDockWidget.cpp * contrib/hbqt/qtgui/QTextBrowser.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QErrorMessage.cpp * contrib/hbqt/qtgui/QWizard.cpp * contrib/hbqt/qtgui/QFileSystemModel.cpp * contrib/hbqt/qtgui/QDial.cpp * contrib/hbqt/qtgui/QTextOption.cpp * contrib/hbqt/qtgui/QImageWriter.cpp * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * contrib/hbqt/qtgui/QWizardPage.cpp * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QPrintDialog.cpp * contrib/hbqt/qtgui/QStandardItem.cpp * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * contrib/hbqt/qtgui/QSplashScreen.cpp * contrib/hbqt/qtgui/QSizeGrip.cpp * contrib/hbqt/qtgui/QMessageBox.cpp * contrib/hbqt/qtgui/QTextImageFormat.cpp * contrib/hbqt/qtgui/QGroupBox.cpp * contrib/hbqt/qtgui/QImageReader.cpp * contrib/hbqt/qtgui/QTextDocumentFragment.cpp * contrib/hbqt/qtgui/QPushButton.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QTextFormat.cpp * contrib/hbqt/qtgui/QPalette.cpp * contrib/hbqt/qtgui/QTextFrame.cpp * contrib/hbqt/qtgui/QTextBlock.cpp * contrib/hbqt/qtgui/QPainter.cpp * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * contrib/hbqt/qtgui/QTextTableFormat.cpp * contrib/hbqt/qtgui/QStatusBar.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qtgui/QContextMenuEvent.cpp * contrib/hbqt/qtgui/QLCDNumber.cpp * contrib/hbqt/qtgui/QTextDocumentWriter.cpp * contrib/hbqt/qtgui/QStyleOptionTab.cpp * contrib/hbqt/qtgui/QDateEdit.cpp * contrib/hbqt/qtgui/QCheckBox.cpp * contrib/hbqt/qtgui/QSound.cpp * contrib/hbqt/qtgui/QTabBar.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qtgui/QFileDialog.cpp * contrib/hbqt/qtgui/QDirModel.cpp * contrib/hbqt/qtgui/QDialog.cpp * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/qtgui/QStyleOptionFrame.cpp * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/QFont.cpp * contrib/hbqt/qtgui/QTableWidgetItem.cpp * contrib/hbqt/qtgui/QVBoxLayout.cpp * contrib/hbqt/qtgui/QMovie.cpp * contrib/hbqt/qtgui/QStyleOption.cpp * contrib/hbqt/qtgui/QTreeView.cpp * contrib/hbqt/qtgui/QTextLine.cpp * contrib/hbqt/qtgui/QTextItem.cpp * contrib/hbqt/qtgui/QTimeEdit.cpp * contrib/hbqt/qtgui/QMatrix.cpp * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * contrib/hbqt/qtgui/QSlider.cpp * contrib/hbqt/qtgui/QSpinBox.cpp * contrib/hbqt/qtgui/QScrollArea.cpp * contrib/hbqt/qtgui/QFontDatabase.cpp * contrib/hbqt/qtgui/QLineEdit.cpp * contrib/hbqt/qtgui/QPixmap.cpp * contrib/hbqt/qtgui/QSplitter.cpp * contrib/hbqt/qtgui/QComboBox.cpp * contrib/hbqt/qtgui/QDoubleSpinBox.cpp * contrib/hbqt/qtgui/QStyleOptionComplex.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/QPen.cpp * contrib/hbqt/qtgui/QRegion.cpp * contrib/hbqt/qtgui/QFrame.cpp * contrib/hbqt/qtgui/QCompleter.cpp * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * contrib/hbqt/qtcore/QDate.cpp * contrib/hbqt/qtcore/QProcess.cpp * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * contrib/hbqt/qtcore/QPoint.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QObject.cpp * contrib/hbqt/qtcore/QTimer.cpp * contrib/hbqt/qtcore/QEvent.cpp * contrib/hbqt/qtcore/QDataStream.cpp * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/qtcore/QModelIndex.cpp * contrib/hbqt/qtcore/QTranslator.cpp * contrib/hbqt/qtcore/QLineF.cpp * contrib/hbqt/qtcore/QRect.cpp * contrib/hbqt/qtcore/QTime.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QPointF.cpp * contrib/hbqt/qtcore/QBitArray.cpp * contrib/hbqt/qtcore/QFile.cpp * contrib/hbqt/qtcore/QLatin1String.cpp * contrib/hbqt/qtcore/QSizeF.cpp * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/QLine.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/QStringList.cpp * contrib/hbqt/qtcore/QByteArray.cpp * contrib/hbqt/qtcore/QRectF.cpp * contrib/hbqt/qtcore/QEventLoop.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QSignalMapper.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QLatin1Char.cpp * contrib/hbqt/qtcore/QRegExp.cpp * contrib/hbqt/qtcore/QFileInfo.cpp * contrib/hbqt/qtcore/QDateTime.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtcore/QUiLoader.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/QTextDecoder.cpp * contrib/hbqt/qtcore/QSize.cpp * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtnetwork/QHttp.cpp * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * contrib/hbqt/qtnetwork/QNetworkRequest.cpp * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * contrib/hbqt/qtnetwork/QFtp.cpp * Regenerated after generator change. --- harbour/ChangeLog | 241 +++++++++++++++++- harbour/contrib/hbqt/generator/hbqtgen.prg | 45 +--- harbour/contrib/hbqt/hbqt.h | 5 - harbour/contrib/hbqt/qtcore/QBitArray.cpp | 14 +- harbour/contrib/hbqt/qtcore/QByteArray.cpp | 14 +- harbour/contrib/hbqt/qtcore/QDataStream.cpp | 14 +- harbour/contrib/hbqt/qtcore/QDate.cpp | 14 +- harbour/contrib/hbqt/qtcore/QDateTime.cpp | 14 +- harbour/contrib/hbqt/qtcore/QDir.cpp | 14 +- harbour/contrib/hbqt/qtcore/QEvent.cpp | 14 +- harbour/contrib/hbqt/qtcore/QEventLoop.cpp | 19 +- harbour/contrib/hbqt/qtcore/QFile.cpp | 19 +- harbour/contrib/hbqt/qtcore/QFileInfo.cpp | 14 +- harbour/contrib/hbqt/qtcore/QLatin1Char.cpp | 14 +- harbour/contrib/hbqt/qtcore/QLatin1String.cpp | 14 +- harbour/contrib/hbqt/qtcore/QLine.cpp | 14 +- harbour/contrib/hbqt/qtcore/QLineF.cpp | 14 +- harbour/contrib/hbqt/qtcore/QList.cpp | 14 +- harbour/contrib/hbqt/qtcore/QLocale.cpp | 14 +- harbour/contrib/hbqt/qtcore/QMimeData.cpp | 19 +- harbour/contrib/hbqt/qtcore/QModelIndex.cpp | 14 +- harbour/contrib/hbqt/qtcore/QObject.cpp | 19 +- harbour/contrib/hbqt/qtcore/QPoint.cpp | 14 +- harbour/contrib/hbqt/qtcore/QPointF.cpp | 14 +- harbour/contrib/hbqt/qtcore/QProcess.cpp | 19 +- harbour/contrib/hbqt/qtcore/QRect.cpp | 14 +- harbour/contrib/hbqt/qtcore/QRectF.cpp | 14 +- harbour/contrib/hbqt/qtcore/QRegExp.cpp | 14 +- harbour/contrib/hbqt/qtcore/QResource.cpp | 14 +- harbour/contrib/hbqt/qtcore/QSignalMapper.cpp | 19 +- harbour/contrib/hbqt/qtcore/QSize.cpp | 14 +- harbour/contrib/hbqt/qtcore/QSizeF.cpp | 14 +- harbour/contrib/hbqt/qtcore/QStringList.cpp | 14 +- .../hbqt/qtcore/QTextBoundaryFinder.cpp | 14 +- harbour/contrib/hbqt/qtcore/QTextDecoder.cpp | 14 +- harbour/contrib/hbqt/qtcore/QTextEncoder.cpp | 14 +- harbour/contrib/hbqt/qtcore/QTextStream.cpp | 14 +- harbour/contrib/hbqt/qtcore/QThread.cpp | 19 +- harbour/contrib/hbqt/qtcore/QTime.cpp | 14 +- harbour/contrib/hbqt/qtcore/QTimer.cpp | 19 +- harbour/contrib/hbqt/qtcore/QTranslator.cpp | 19 +- harbour/contrib/hbqt/qtcore/QUiLoader.cpp | 19 +- harbour/contrib/hbqt/qtcore/QUrl.cpp | 14 +- harbour/contrib/hbqt/qtcore/QVariant.cpp | 14 +- harbour/contrib/hbqt/qtgui/QAction.cpp | 19 +- harbour/contrib/hbqt/qtgui/QActionGroup.cpp | 19 +- harbour/contrib/hbqt/qtgui/QApplication.cpp | 19 +- harbour/contrib/hbqt/qtgui/QBitmap.cpp | 14 +- harbour/contrib/hbqt/qtgui/QBoxLayout.cpp | 19 +- harbour/contrib/hbqt/qtgui/QBrush.cpp | 14 +- harbour/contrib/hbqt/qtgui/QButtonGroup.cpp | 19 +- .../contrib/hbqt/qtgui/QCalendarWidget.cpp | 19 +- harbour/contrib/hbqt/qtgui/QCheckBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QColor.cpp | 14 +- harbour/contrib/hbqt/qtgui/QColorDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QComboBox.cpp | 19 +- .../contrib/hbqt/qtgui/QCommandLinkButton.cpp | 19 +- harbour/contrib/hbqt/qtgui/QCommonStyle.cpp | 19 +- harbour/contrib/hbqt/qtgui/QCompleter.cpp | 19 +- .../contrib/hbqt/qtgui/QConicalGradient.cpp | 14 +- .../contrib/hbqt/qtgui/QContextMenuEvent.cpp | 14 +- harbour/contrib/hbqt/qtgui/QCursor.cpp | 14 +- harbour/contrib/hbqt/qtgui/QDateEdit.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDial.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDirModel.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDockWidget.cpp | 19 +- harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QErrorMessage.cpp | 19 +- harbour/contrib/hbqt/qtgui/QFileDialog.cpp | 19 +- .../contrib/hbqt/qtgui/QFileIconProvider.cpp | 14 +- .../contrib/hbqt/qtgui/QFileSystemModel.cpp | 19 +- harbour/contrib/hbqt/qtgui/QFocusFrame.cpp | 19 +- harbour/contrib/hbqt/qtgui/QFont.cpp | 14 +- harbour/contrib/hbqt/qtgui/QFontComboBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QFontDatabase.cpp | 14 +- harbour/contrib/hbqt/qtgui/QFontDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QFontInfo.cpp | 14 +- harbour/contrib/hbqt/qtgui/QFontMetrics.cpp | 14 +- harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp | 14 +- harbour/contrib/hbqt/qtgui/QFormLayout.cpp | 19 +- harbour/contrib/hbqt/qtgui/QFrame.cpp | 19 +- harbour/contrib/hbqt/qtgui/QGridLayout.cpp | 19 +- harbour/contrib/hbqt/qtgui/QGroupBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp | 19 +- harbour/contrib/hbqt/qtgui/QHeaderView.cpp | 19 +- harbour/contrib/hbqt/qtgui/QIcon.cpp | 14 +- harbour/contrib/hbqt/qtgui/QImage.cpp | 14 +- harbour/contrib/hbqt/qtgui/QImageReader.cpp | 14 +- harbour/contrib/hbqt/qtgui/QImageWriter.cpp | 14 +- harbour/contrib/hbqt/qtgui/QInputDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QInputEvent.cpp | 14 +- .../contrib/hbqt/qtgui/QInputMethodEvent.cpp | 14 +- harbour/contrib/hbqt/qtgui/QItemSelection.cpp | 14 +- .../hbqt/qtgui/QItemSelectionModel.cpp | 19 +- harbour/contrib/hbqt/qtgui/QKeySequence.cpp | 14 +- harbour/contrib/hbqt/qtgui/QLCDNumber.cpp | 19 +- harbour/contrib/hbqt/qtgui/QLabel.cpp | 19 +- harbour/contrib/hbqt/qtgui/QLineEdit.cpp | 19 +- .../contrib/hbqt/qtgui/QLinearGradient.cpp | 14 +- harbour/contrib/hbqt/qtgui/QListView.cpp | 19 +- harbour/contrib/hbqt/qtgui/QListWidget.cpp | 19 +- .../contrib/hbqt/qtgui/QListWidgetItem.cpp | 14 +- harbour/contrib/hbqt/qtgui/QMainWindow.cpp | 19 +- harbour/contrib/hbqt/qtgui/QMatrix.cpp | 14 +- harbour/contrib/hbqt/qtgui/QMenu.cpp | 19 +- harbour/contrib/hbqt/qtgui/QMenuBar.cpp | 19 +- harbour/contrib/hbqt/qtgui/QMessageBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QMouseEvent.cpp | 14 +- harbour/contrib/hbqt/qtgui/QMovie.cpp | 19 +- .../contrib/hbqt/qtgui/QPageSetupDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QPaintEvent.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPainter.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPainterPath.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPalette.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPen.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPicture.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPixmap.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp | 19 +- harbour/contrib/hbqt/qtgui/QPolygon.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPolygonF.cpp | 14 +- harbour/contrib/hbqt/qtgui/QPrintDialog.cpp | 19 +- .../hbqt/qtgui/QPrintPreviewDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QPrinter.cpp | 14 +- harbour/contrib/hbqt/qtgui/QProgressBar.cpp | 19 +- .../contrib/hbqt/qtgui/QProgressDialog.cpp | 19 +- harbour/contrib/hbqt/qtgui/QPushButton.cpp | 19 +- .../contrib/hbqt/qtgui/QRadialGradient.cpp | 14 +- harbour/contrib/hbqt/qtgui/QRadioButton.cpp | 19 +- harbour/contrib/hbqt/qtgui/QRegion.cpp | 14 +- harbour/contrib/hbqt/qtgui/QScrollArea.cpp | 19 +- harbour/contrib/hbqt/qtgui/QScrollBar.cpp | 19 +- harbour/contrib/hbqt/qtgui/QSizeGrip.cpp | 19 +- harbour/contrib/hbqt/qtgui/QSizePolicy.cpp | 14 +- harbour/contrib/hbqt/qtgui/QSlider.cpp | 19 +- harbour/contrib/hbqt/qtgui/QSound.cpp | 19 +- harbour/contrib/hbqt/qtgui/QSpacerItem.cpp | 14 +- harbour/contrib/hbqt/qtgui/QSpinBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QSplashScreen.cpp | 19 +- harbour/contrib/hbqt/qtgui/QSplitter.cpp | 19 +- harbour/contrib/hbqt/qtgui/QStandardItem.cpp | 14 +- .../contrib/hbqt/qtgui/QStandardItemModel.cpp | 19 +- harbour/contrib/hbqt/qtgui/QStatusBar.cpp | 19 +- .../contrib/hbqt/qtgui/QStringListModel.cpp | 19 +- harbour/contrib/hbqt/qtgui/QStyleFactory.cpp | 14 +- harbour/contrib/hbqt/qtgui/QStyleOption.cpp | 14 +- .../contrib/hbqt/qtgui/QStyleOptionButton.cpp | 14 +- .../hbqt/qtgui/QStyleOptionComboBox.cpp | 14 +- .../hbqt/qtgui/QStyleOptionComplex.cpp | 14 +- .../hbqt/qtgui/QStyleOptionDockWidget.cpp | 14 +- .../hbqt/qtgui/QStyleOptionFocusRect.cpp | 14 +- .../contrib/hbqt/qtgui/QStyleOptionFrame.cpp | 14 +- .../hbqt/qtgui/QStyleOptionGroupBox.cpp | 14 +- .../contrib/hbqt/qtgui/QStyleOptionHeader.cpp | 14 +- .../hbqt/qtgui/QStyleOptionMenuItem.cpp | 14 +- .../hbqt/qtgui/QStyleOptionProgressBar.cpp | 14 +- .../hbqt/qtgui/QStyleOptionSizeGrip.cpp | 14 +- .../contrib/hbqt/qtgui/QStyleOptionSlider.cpp | 14 +- .../hbqt/qtgui/QStyleOptionSpinBox.cpp | 14 +- .../contrib/hbqt/qtgui/QStyleOptionTab.cpp | 14 +- .../hbqt/qtgui/QStyleOptionTabBarBase.cpp | 14 +- .../hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp | 14 +- .../hbqt/qtgui/QStyleOptionTitleBar.cpp | 14 +- .../hbqt/qtgui/QStyleOptionToolBar.cpp | 14 +- .../hbqt/qtgui/QStyleOptionToolBox.cpp | 14 +- .../hbqt/qtgui/QStyleOptionToolButton.cpp | 14 +- .../hbqt/qtgui/QStyleOptionViewItem.cpp | 14 +- harbour/contrib/hbqt/qtgui/QStylePainter.cpp | 14 +- .../hbqt/qtgui/QStyledItemDelegate.cpp | 19 +- .../contrib/hbqt/qtgui/QSyntaxHighlighter.cpp | 19 +- .../contrib/hbqt/qtgui/QSystemTrayIcon.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTabBar.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTabWidget.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTableView.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTableWidget.cpp | 19 +- .../contrib/hbqt/qtgui/QTableWidgetItem.cpp | 14 +- .../hbqt/qtgui/QTableWidgetSelectionRange.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextBlock.cpp | 14 +- .../contrib/hbqt/qtgui/QTextBlockFormat.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextBrowser.cpp | 19 +- .../contrib/hbqt/qtgui/QTextCharFormat.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextCursor.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextDocument.cpp | 19 +- .../hbqt/qtgui/QTextDocumentFragment.cpp | 14 +- .../hbqt/qtgui/QTextDocumentWriter.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextEdit.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTextFormat.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextFragment.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextFrame.cpp | 19 +- .../contrib/hbqt/qtgui/QTextFrameFormat.cpp | 14 +- .../contrib/hbqt/qtgui/QTextImageFormat.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextItem.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextLayout.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextLength.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextLine.cpp | 14 +- .../contrib/hbqt/qtgui/QTextListFormat.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTextOption.cpp | 14 +- .../contrib/hbqt/qtgui/QTextTableFormat.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTimeEdit.cpp | 19 +- harbour/contrib/hbqt/qtgui/QToolBar.cpp | 19 +- harbour/contrib/hbqt/qtgui/QToolBox.cpp | 19 +- harbour/contrib/hbqt/qtgui/QToolButton.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTransform.cpp | 14 +- harbour/contrib/hbqt/qtgui/QTreeView.cpp | 19 +- harbour/contrib/hbqt/qtgui/QTreeWidget.cpp | 19 +- .../contrib/hbqt/qtgui/QTreeWidgetItem.cpp | 14 +- harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp | 19 +- harbour/contrib/hbqt/qtgui/QWidget.cpp | 19 +- harbour/contrib/hbqt/qtgui/QWidgetAction.cpp | 19 +- harbour/contrib/hbqt/qtgui/QWidgetItem.cpp | 14 +- harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp | 19 +- harbour/contrib/hbqt/qtgui/QWizard.cpp | 19 +- harbour/contrib/hbqt/qtgui/QWizardPage.cpp | 19 +- harbour/contrib/hbqt/qtnetwork/QFtp.cpp | 19 +- harbour/contrib/hbqt/qtnetwork/QHttp.cpp | 19 +- .../hbqt/qtnetwork/QHttpRequestHeader.cpp | 14 +- .../hbqt/qtnetwork/QHttpResponseHeader.cpp | 14 +- .../hbqt/qtnetwork/QNetworkRequest.cpp | 14 +- 220 files changed, 995 insertions(+), 2824 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6f99eabfb3..e489a2ac4a 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,241 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-10 01:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbqt/hbqt.h + % Minor cleanup after prev. + + * contrib/hbqt/generator/hbqtgen.prg + * Changed to use HB_TRACE() instead of hbqt_debug(). + + ; NOTE: IMPORTANT: Now to enabled debug trace calls, you have to + use the standard Harbour method: + HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG + It's enough to enable this setting when build hbqt lib, to + get HBQT trace calls. + In addition, following setting stil works to enable + .prg level debug trace calls: + HB_USER_PRGFLAGS=-D__HB_DEBUG__ + + * contrib/hbqt/qtgui/QPageSetupDialog.cpp + * contrib/hbqt/qtgui/QGridLayout.cpp + * contrib/hbqt/qtgui/QItemSelectionModel.cpp + * contrib/hbqt/qtgui/QTextLength.cpp + * contrib/hbqt/qtgui/QConicalGradient.cpp + * contrib/hbqt/qtgui/QStandardItemModel.cpp + * contrib/hbqt/qtgui/QItemSelection.cpp + * contrib/hbqt/qtgui/QTransform.cpp + * contrib/hbqt/qtgui/QPicture.cpp + * contrib/hbqt/qtgui/QAction.cpp + * contrib/hbqt/qtgui/QPaintEvent.cpp + * contrib/hbqt/qtgui/QStyledItemDelegate.cpp + * contrib/hbqt/qtgui/QWidget.cpp + * contrib/hbqt/qtgui/QFontDialog.cpp + * contrib/hbqt/qtgui/QToolBox.cpp + * contrib/hbqt/qtgui/QTextListFormat.cpp + * contrib/hbqt/qtgui/QTextEdit.cpp + * contrib/hbqt/qtgui/QMouseEvent.cpp + * contrib/hbqt/qtgui/QFontComboBox.cpp + * contrib/hbqt/qtgui/QStyleOptionHeader.cpp + * contrib/hbqt/qtgui/QListView.cpp + * contrib/hbqt/qtgui/QRadialGradient.cpp + * contrib/hbqt/qtgui/QCursor.cpp + * contrib/hbqt/qtgui/QLabel.cpp + * contrib/hbqt/qtgui/QPainterPath.cpp + * contrib/hbqt/qtgui/QStylePainter.cpp + * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp + * contrib/hbqt/qtgui/QBrush.cpp + * contrib/hbqt/qtgui/QLinearGradient.cpp + * contrib/hbqt/qtgui/QProgressBar.cpp + * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp + * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp + * contrib/hbqt/qtgui/QToolBar.cpp + * contrib/hbqt/qtgui/QFontMetricsF.cpp + * contrib/hbqt/qtgui/QToolButton.cpp + * contrib/hbqt/qtgui/QWindowsStyle.cpp + * contrib/hbqt/qtgui/QColor.cpp + * contrib/hbqt/qtgui/QListWidget.cpp + * contrib/hbqt/qtgui/QTextLayout.cpp + * contrib/hbqt/qtgui/QTextCursor.cpp + * contrib/hbqt/qtgui/QTextDocument.cpp + * contrib/hbqt/qtgui/QPolygon.cpp + * contrib/hbqt/qtgui/QRadioButton.cpp + * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp + * contrib/hbqt/qtgui/QFileIconProvider.cpp + * contrib/hbqt/qtgui/QTextFrameFormat.cpp + * contrib/hbqt/qtgui/QTextBlockFormat.cpp + * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp + * contrib/hbqt/qtgui/QBitmap.cpp + * contrib/hbqt/qtgui/QCalendarWidget.cpp + * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp + * contrib/hbqt/qtgui/QHeaderView.cpp + * contrib/hbqt/qtgui/QScrollBar.cpp + * contrib/hbqt/qtgui/QStyleOptionButton.cpp + * contrib/hbqt/qtgui/QCommandLinkButton.cpp + * contrib/hbqt/qtgui/QFocusFrame.cpp + * contrib/hbqt/qtgui/QSizePolicy.cpp + * contrib/hbqt/qtgui/QApplication.cpp + * contrib/hbqt/qtgui/QTextFragment.cpp + * contrib/hbqt/qtgui/QPlainTextEdit.cpp + * contrib/hbqt/qtgui/QInputDialog.cpp + * contrib/hbqt/qtgui/QKeySequence.cpp + * contrib/hbqt/qtgui/QPrinter.cpp + * contrib/hbqt/qtgui/QActionGroup.cpp + * contrib/hbqt/qtgui/QTextCharFormat.cpp + * contrib/hbqt/qtgui/QStyleOptionSlider.cpp + * contrib/hbqt/qtgui/QInputEvent.cpp + * contrib/hbqt/qtgui/QWidgetItem.cpp + * contrib/hbqt/qtgui/QMenu.cpp + * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp + * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp + * contrib/hbqt/qtgui/QImage.cpp + * contrib/hbqt/qtgui/QFontInfo.cpp + * contrib/hbqt/qtgui/QIcon.cpp + * contrib/hbqt/qtgui/QPolygonF.cpp + * contrib/hbqt/qtgui/QHBoxLayout.cpp + * contrib/hbqt/qtgui/QTreeWidget.cpp + * contrib/hbqt/qtgui/QCommonStyle.cpp + * contrib/hbqt/qtgui/QProgressDialog.cpp + * contrib/hbqt/qtgui/QStyleFactory.cpp + * contrib/hbqt/qtgui/QButtonGroup.cpp + * contrib/hbqt/qtgui/QSystemTrayIcon.cpp + * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp + * contrib/hbqt/qtgui/QColorDialog.cpp + * contrib/hbqt/qtgui/QListWidgetItem.cpp + * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp + * contrib/hbqt/qtgui/QDateTimeEdit.cpp + * contrib/hbqt/qtgui/QInputMethodEvent.cpp + * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp + * contrib/hbqt/qtgui/QMainWindow.cpp + * contrib/hbqt/qtgui/QDesktopWidget.cpp + * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp + * contrib/hbqt/qtgui/QWidgetAction.cpp + * contrib/hbqt/qtgui/QStringListModel.cpp + * contrib/hbqt/qtgui/QDockWidget.cpp + * contrib/hbqt/qtgui/QTextBrowser.cpp + * contrib/hbqt/qtgui/QTableWidget.cpp + * contrib/hbqt/qtgui/QErrorMessage.cpp + * contrib/hbqt/qtgui/QWizard.cpp + * contrib/hbqt/qtgui/QFileSystemModel.cpp + * contrib/hbqt/qtgui/QDial.cpp + * contrib/hbqt/qtgui/QTextOption.cpp + * contrib/hbqt/qtgui/QImageWriter.cpp + * contrib/hbqt/qtgui/QMenuBar.cpp + * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp + * contrib/hbqt/qtgui/QWizardPage.cpp + * contrib/hbqt/qtgui/QFontMetrics.cpp + * contrib/hbqt/qtgui/QPrintDialog.cpp + * contrib/hbqt/qtgui/QStandardItem.cpp + * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp + * contrib/hbqt/qtgui/QSplashScreen.cpp + * contrib/hbqt/qtgui/QSizeGrip.cpp + * contrib/hbqt/qtgui/QMessageBox.cpp + * contrib/hbqt/qtgui/QTextImageFormat.cpp + * contrib/hbqt/qtgui/QGroupBox.cpp + * contrib/hbqt/qtgui/QImageReader.cpp + * contrib/hbqt/qtgui/QTextDocumentFragment.cpp + * contrib/hbqt/qtgui/QPushButton.cpp + * contrib/hbqt/qtgui/QTreeWidgetItem.cpp + * contrib/hbqt/qtgui/QBoxLayout.cpp + * contrib/hbqt/qtgui/QTextFormat.cpp + * contrib/hbqt/qtgui/QPalette.cpp + * contrib/hbqt/qtgui/QTextFrame.cpp + * contrib/hbqt/qtgui/QTextBlock.cpp + * contrib/hbqt/qtgui/QPainter.cpp + * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp + * contrib/hbqt/qtgui/QTextTableFormat.cpp + * contrib/hbqt/qtgui/QStatusBar.cpp + * contrib/hbqt/qtgui/QTabWidget.cpp + * contrib/hbqt/qtgui/QContextMenuEvent.cpp + * contrib/hbqt/qtgui/QLCDNumber.cpp + * contrib/hbqt/qtgui/QTextDocumentWriter.cpp + * contrib/hbqt/qtgui/QStyleOptionTab.cpp + * contrib/hbqt/qtgui/QDateEdit.cpp + * contrib/hbqt/qtgui/QCheckBox.cpp + * contrib/hbqt/qtgui/QSound.cpp + * contrib/hbqt/qtgui/QTabBar.cpp + * contrib/hbqt/qtgui/QSpacerItem.cpp + * contrib/hbqt/qtgui/QFileDialog.cpp + * contrib/hbqt/qtgui/QDirModel.cpp + * contrib/hbqt/qtgui/QDialog.cpp + * contrib/hbqt/qtgui/QFormLayout.cpp + * contrib/hbqt/qtgui/QStyleOptionFrame.cpp + * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp + * contrib/hbqt/qtgui/QFont.cpp + * contrib/hbqt/qtgui/QTableWidgetItem.cpp + * contrib/hbqt/qtgui/QVBoxLayout.cpp + * contrib/hbqt/qtgui/QMovie.cpp + * contrib/hbqt/qtgui/QStyleOption.cpp + * contrib/hbqt/qtgui/QTreeView.cpp + * contrib/hbqt/qtgui/QTextLine.cpp + * contrib/hbqt/qtgui/QTextItem.cpp + * contrib/hbqt/qtgui/QTimeEdit.cpp + * contrib/hbqt/qtgui/QMatrix.cpp + * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp + * contrib/hbqt/qtgui/QSlider.cpp + * contrib/hbqt/qtgui/QSpinBox.cpp + * contrib/hbqt/qtgui/QScrollArea.cpp + * contrib/hbqt/qtgui/QFontDatabase.cpp + * contrib/hbqt/qtgui/QLineEdit.cpp + * contrib/hbqt/qtgui/QPixmap.cpp + * contrib/hbqt/qtgui/QSplitter.cpp + * contrib/hbqt/qtgui/QComboBox.cpp + * contrib/hbqt/qtgui/QDoubleSpinBox.cpp + * contrib/hbqt/qtgui/QStyleOptionComplex.cpp + * contrib/hbqt/qtgui/QTableView.cpp + * contrib/hbqt/qtgui/QPen.cpp + * contrib/hbqt/qtgui/QRegion.cpp + * contrib/hbqt/qtgui/QFrame.cpp + * contrib/hbqt/qtgui/QCompleter.cpp + * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp + * contrib/hbqt/qtcore/QDate.cpp + * contrib/hbqt/qtcore/QProcess.cpp + * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp + * contrib/hbqt/qtcore/QPoint.cpp + * contrib/hbqt/qtcore/QTextStream.cpp + * contrib/hbqt/qtcore/QObject.cpp + * contrib/hbqt/qtcore/QTimer.cpp + * contrib/hbqt/qtcore/QEvent.cpp + * contrib/hbqt/qtcore/QDataStream.cpp + * contrib/hbqt/qtcore/QResource.cpp + * contrib/hbqt/qtcore/QModelIndex.cpp + * contrib/hbqt/qtcore/QTranslator.cpp + * contrib/hbqt/qtcore/QLineF.cpp + * contrib/hbqt/qtcore/QRect.cpp + * contrib/hbqt/qtcore/QTime.cpp + * contrib/hbqt/qtcore/QLocale.cpp + * contrib/hbqt/qtcore/QPointF.cpp + * contrib/hbqt/qtcore/QBitArray.cpp + * contrib/hbqt/qtcore/QFile.cpp + * contrib/hbqt/qtcore/QLatin1String.cpp + * contrib/hbqt/qtcore/QSizeF.cpp + * contrib/hbqt/qtcore/QMimeData.cpp + * contrib/hbqt/qtcore/QLine.cpp + * contrib/hbqt/qtcore/QUrl.cpp + * contrib/hbqt/qtcore/QStringList.cpp + * contrib/hbqt/qtcore/QByteArray.cpp + * contrib/hbqt/qtcore/QRectF.cpp + * contrib/hbqt/qtcore/QEventLoop.cpp + * contrib/hbqt/qtcore/QDir.cpp + * contrib/hbqt/qtcore/QSignalMapper.cpp + * contrib/hbqt/qtcore/QTextEncoder.cpp + * contrib/hbqt/qtcore/QLatin1Char.cpp + * contrib/hbqt/qtcore/QRegExp.cpp + * contrib/hbqt/qtcore/QFileInfo.cpp + * contrib/hbqt/qtcore/QDateTime.cpp + * contrib/hbqt/qtcore/QVariant.cpp + * contrib/hbqt/qtcore/QUiLoader.cpp + * contrib/hbqt/qtcore/QThread.cpp + * contrib/hbqt/qtcore/QTextDecoder.cpp + * contrib/hbqt/qtcore/QSize.cpp + * contrib/hbqt/qtcore/QList.cpp + * contrib/hbqt/qtnetwork/QHttp.cpp + * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp + * contrib/hbqt/qtnetwork/QNetworkRequest.cpp + * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp + * contrib/hbqt/qtnetwork/QFtp.cpp + * Regenerated after generator change. + 2009-12-10 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_base.cpp @@ -33,12 +268,6 @@ * contrib/hbqt/hbqt_slots.cpp * Replaced hbqt_debug() with HB_TRACE() calls. - ; NOTE: IMPORTANT: -D__HB_DEBUG__ works no more. Now for debug builds, - you have to use the standard Harbour method: - HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG - It's enough to enable this setting when build hbqt lib, to - get HBQT trace calls. - * contrib/hbqt/hbqt.h ! Added missing 'extern' keywords. ! Added missing 'extern int hbqt_getmemused( void )'. diff --git a/harbour/contrib/hbqt/generator/hbqtgen.prg b/harbour/contrib/hbqt/generator/hbqtgen.prg index 7dc5ec81ad..6eb50972ca 100644 --- a/harbour/contrib/hbqt/generator/hbqtgen.prg +++ b/harbour/contrib/hbqt/generator/hbqtgen.prg @@ -518,17 +518,11 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, " break;" ) aadd( cpp_, " }" ) aadd( cpp_, " p->ph = NULL;" ) - aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "release_' + pad( cWidget, 27 ) + ' Object deleted!" ) );') - aadd( cpp_, " #if defined( __HB_DEBUG__ )" ) - aadd( cpp_, ' hbqt_debug( "' + ' YES release_' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() );' ) - aadd( cpp_, " #endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "release_' + pad( cWidget, 27 ) + ' Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) );') aadd( cpp_, " }" ) aadd( cpp_, " else" ) aadd( cpp_, " {" ) - aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "release_' + pad( cWidget, 27 ) + ' Object Name Missing!" ) );') - aadd( cpp_, " #if defined( __HB_DEBUG__ )" ) - aadd( cpp_, ' hbqt_debug( "' + ' NO release_' + cWidget + '" );' ) - aadd( cpp_, " #endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "NO release_' + pad( cWidget, 27 ) + ' Object Name Missing!" ) );') aadd( cpp_, " }" ) ELSE aadd( cpp_, " QGC_POINTER * p = ( QGC_POINTER * ) Cargo; " ) @@ -541,18 +535,12 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, " delete ( ( " + cWidget + IF( lList, "< void * >", "" ) + " * ) p->ph ); " ) //aadd( cpp_, " ( ( " + cWidget + IF( lList, "< void * >", "" ) + " * ) p->ph )->~" + cWidget + "(); " ) aadd( cpp_, " p->ph = NULL;" ) - aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "release_' + pad( cWidget, 27 ) + ' Object deleted!" ) );') - aadd( cpp_, " #if defined( __HB_DEBUG__ )" ) - aadd( cpp_, ' hbqt_debug( "' + ' YES release_' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() );' ) - aadd( cpp_, " #endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "YES release_' + pad( cWidget, 27 ) + ' Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) );') ENDIF aadd( cpp_, " }" ) aadd( cpp_, " else" ) aadd( cpp_, " {" ) - aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "release_' + pad( cWidget, 27 ) + ' Object Allready deleted!" ) );' ) - aadd( cpp_, " #if defined( __HB_DEBUG__ )" ) - aadd( cpp_, ' hbqt_debug( "' + ' DEL release_' + cWidget + '" );' ) - aadd( cpp_, " #endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "DEL release_' + pad( cWidget, 27 ) + ' Object Allready deleted!" ) );' ) aadd( cpp_, " }" ) ELSE aadd( cpp_, " HB_SYMBOL_UNUSED( Cargo );" ) @@ -563,9 +551,8 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, "QT_G_FUNC( release_" + cWidget + " ) " ) aadd( cpp_, "{ " ) IF lDestructor - aadd( cpp_, "#if defined( __HB_DEBUG__ )" ) - aadd( cpp_, ' hbqt_debug( "' + 'release_' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() );' ) - aadd( cpp_, "#endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "release_' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) );') + aadd( cpp_, "" ) aadd( cpp_, " void * ph = ( void * ) Cargo; " ) aadd( cpp_, " if( ph ) " ) aadd( cpp_, " { " ) @@ -579,9 +566,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, " }" ) aadd( cpp_, " else" ) aadd( cpp_, " {" ) - aadd( cpp_, "#if defined( __HB_DEBUG__ )" ) - aadd( cpp_, 'hbqt_debug( "' + ' Object Name Missing: ' + cWidget + '" );' ) - aadd( cpp_, "#endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( " Object Name Missin: ' + pad( cWidget, 27 ) + '" ) );') aadd( cpp_, " }" ) ELSE //aadd( cpp_, " delete ( ( " + cWidget + IF( lList, "< void * >", "" ) + " * ) ph ); " ) @@ -591,9 +576,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, " }" ) aadd( cpp_, " else" ) aadd( cpp_, " {" ) - aadd( cpp_, "#if defined( __HB_DEBUG__ )" ) - aadd( cpp_, 'hbqt_debug( "' + '! ph____' + cWidget + '" );' ) - aadd( cpp_, "#endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( "! ph_____' + cWidget + '" ) );') aadd( cpp_, " }" ) ELSE aadd( cpp_, " HB_SYMBOL_UNUSED( Cargo );" ) @@ -628,9 +611,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) IF lObject aadd( cpp_, " new( & p->pq ) QPointer< "+ cWidget +" >( ( " + cWidget + " * ) pObj );" ) ENDIF - aadd( cpp_, " #if defined( __HB_DEBUG__ )" ) - aadd( cpp_, ' hbqt_debug( "' + ' new_' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() );' ) - aadd( cpp_, " #endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( " new_' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) );') aadd( cpp_, " return( p ); " ) aadd( cpp_, "} " ) aadd( cpp_, " " ) @@ -676,9 +657,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, " void * pObj = NULL;" ) ENDIF - aadd( cpp_, "#if defined( __HB_DEBUG__ )" ) - aadd( cpp_, 'hbqt_debug( "' + ' ' + IF( lDestructor, 'GC', 'NON-GC' ) + ': new ' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() );' ) - aadd( cpp_, "#endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( " ' + IIF( lDestructor, 'GC', 'NON-GC' ) + ': new ' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) );' ) aadd( cpp_, "" ) FOR i := 3 TO len( new_ ) - 1 @@ -694,9 +673,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) NEXT aadd( cpp_, "" ) - aadd( cpp_, "#if defined( __HB_DEBUG__ )" ) - aadd( cpp_, 'hbqt_debug( "' + ' ' + IF( lDestructor, 'GC', 'NON-GC' ) + ': ' + pad( " ", 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() );' ) - aadd( cpp_, "#endif" ) + aadd( cpp_, ' HB_TRACE( HB_TR_DEBUG, ( " ' + IIF( lDestructor, 'GC', 'NON-GC' ) + ': ' + pad( cWidget, 27 ) + ' %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) );' ) //IF lObject .or. IsMemObject( cWidget ) IF lDestructor diff --git a/harbour/contrib/hbqt/hbqt.h b/harbour/contrib/hbqt/hbqt.h index 4355479428..689f067b3a 100644 --- a/harbour/contrib/hbqt/hbqt.h +++ b/harbour/contrib/hbqt/hbqt.h @@ -61,11 +61,6 @@ #if QT_VERSION >= 0x040500 -#if defined( __HB_DEBUG__ ) - int hbqt_getmemused( void ); - void hbqt_debug( const char * sTraceMsg, ... ); -#endif - #define QT_G_FUNC( hbfunc ) void hbfunc( void * Cargo ) /* callback function for cleaning garbage memory pointer */ typedef QT_G_FUNC( QT_G_FUNC_ ); typedef QT_G_FUNC_ * QT_G_FUNC_PTR; diff --git a/harbour/contrib/hbqt/qtcore/QBitArray.cpp b/harbour/contrib/hbqt/qtcore/QBitArray.cpp index 8850218f38..661f697977 100644 --- a/harbour/contrib/hbqt/qtcore/QBitArray.cpp +++ b/harbour/contrib/hbqt/qtcore/QBitArray.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QBitArray ) { delete ( ( QBitArray * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QBitArray Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QBitArray %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QBitArray Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QBitArray Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QBitArray" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QBitArray Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QBitArray( void * pObj ) p->ph = pObj; p->func = release_QBitArray; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QBitArray %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QBitArray %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QByteArray.cpp b/harbour/contrib/hbqt/qtcore/QByteArray.cpp index 6c98e4ffff..b1a1483e5a 100644 --- a/harbour/contrib/hbqt/qtcore/QByteArray.cpp +++ b/harbour/contrib/hbqt/qtcore/QByteArray.cpp @@ -105,17 +105,11 @@ QT_G_FUNC( release_QByteArray ) { delete ( ( QByteArray * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QByteArray Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QByteArray %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QByteArray Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QByteArray Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QByteArray" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QByteArray Object Allready deleted!" ) ); } } @@ -125,9 +119,7 @@ void * gcAllocate_QByteArray( void * pObj ) p->ph = pObj; p->func = release_QByteArray; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QByteArray %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QByteArray %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QDataStream.cpp b/harbour/contrib/hbqt/qtcore/QDataStream.cpp index 4cf60b6cc3..9820e81555 100644 --- a/harbour/contrib/hbqt/qtcore/QDataStream.cpp +++ b/harbour/contrib/hbqt/qtcore/QDataStream.cpp @@ -95,17 +95,11 @@ QT_G_FUNC( release_QDataStream ) { delete ( ( QDataStream * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDataStream Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDataStream %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QDataStream Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDataStream Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDataStream" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDataStream Object Allready deleted!" ) ); } } @@ -115,9 +109,7 @@ void * gcAllocate_QDataStream( void * pObj ) p->ph = pObj; p->func = release_QDataStream; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDataStream %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDataStream %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QDate.cpp b/harbour/contrib/hbqt/qtcore/QDate.cpp index fb63916993..dce1d9f245 100644 --- a/harbour/contrib/hbqt/qtcore/QDate.cpp +++ b/harbour/contrib/hbqt/qtcore/QDate.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QDate ) { delete ( ( QDate * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDate Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDate %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QDate Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDate Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDate" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDate Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QDate( void * pObj ) p->ph = pObj; p->func = release_QDate; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDate %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDate %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QDateTime.cpp b/harbour/contrib/hbqt/qtcore/QDateTime.cpp index 3f81411c5e..ec496941fa 100644 --- a/harbour/contrib/hbqt/qtcore/QDateTime.cpp +++ b/harbour/contrib/hbqt/qtcore/QDateTime.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QDateTime ) { delete ( ( QDateTime * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDateTime Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDateTime %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QDateTime Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDateTime Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDateTime" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDateTime Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QDateTime( void * pObj ) p->ph = pObj; p->func = release_QDateTime; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDateTime %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDateTime %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QDir.cpp b/harbour/contrib/hbqt/qtcore/QDir.cpp index b702602fec..e56592e9eb 100644 --- a/harbour/contrib/hbqt/qtcore/QDir.cpp +++ b/harbour/contrib/hbqt/qtcore/QDir.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QDir ) { delete ( ( QDir * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDir Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDir %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QDir Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDir Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDir" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDir Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QDir( void * pObj ) p->ph = pObj; p->func = release_QDir; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDir %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDir %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QEvent.cpp b/harbour/contrib/hbqt/qtcore/QEvent.cpp index 37240ccd01..b1e350b3b7 100644 --- a/harbour/contrib/hbqt/qtcore/QEvent.cpp +++ b/harbour/contrib/hbqt/qtcore/QEvent.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QEvent ) { delete ( ( QEvent * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QEvent Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QEvent Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QEvent Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QEvent" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QEvent Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QEvent( void * pObj ) p->ph = pObj; p->func = release_QEvent; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QEventLoop.cpp b/harbour/contrib/hbqt/qtcore/QEventLoop.cpp index e4561667cb..0fdabb360c 100644 --- a/harbour/contrib/hbqt/qtcore/QEventLoop.cpp +++ b/harbour/contrib/hbqt/qtcore/QEventLoop.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QEventLoop ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QEventLoop Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QEventLoop %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QEventLoop Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QEventLoop Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QEventLoop" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QEventLoop Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QEventLoop Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QEventLoop" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QEventLoop Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QEventLoop( void * pObj ) p->ph = pObj; p->func = release_QEventLoop; new( & p->pq ) QPointer< QEventLoop >( ( QEventLoop * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QEventLoop %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QEventLoop %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QFile.cpp b/harbour/contrib/hbqt/qtcore/QFile.cpp index aca68575af..9ae509b2dc 100644 --- a/harbour/contrib/hbqt/qtcore/QFile.cpp +++ b/harbour/contrib/hbqt/qtcore/QFile.cpp @@ -118,25 +118,16 @@ QT_G_FUNC( release_QFile ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFile Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFile %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFile Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFile Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFile" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFile Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFile Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFile" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFile Object Allready deleted!" ) ); } } @@ -147,9 +138,7 @@ void * gcAllocate_QFile( void * pObj ) p->ph = pObj; p->func = release_QFile; new( & p->pq ) QPointer< QFile >( ( QFile * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFile %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFile %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QFileInfo.cpp b/harbour/contrib/hbqt/qtcore/QFileInfo.cpp index 3ec2f3b15b..723894ade7 100644 --- a/harbour/contrib/hbqt/qtcore/QFileInfo.cpp +++ b/harbour/contrib/hbqt/qtcore/QFileInfo.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QFileInfo ) { delete ( ( QFileInfo * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFileInfo Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFileInfo %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFileInfo Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFileInfo Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFileInfo" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFileInfo Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QFileInfo( void * pObj ) p->ph = pObj; p->func = release_QFileInfo; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFileInfo %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFileInfo %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QLatin1Char.cpp b/harbour/contrib/hbqt/qtcore/QLatin1Char.cpp index 92a5ff73dc..2e33bdbba2 100644 --- a/harbour/contrib/hbqt/qtcore/QLatin1Char.cpp +++ b/harbour/contrib/hbqt/qtcore/QLatin1Char.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QLatin1Char ) { delete ( ( QLatin1Char * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLatin1Char Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLatin1Char %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QLatin1Char Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLatin1Char Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLatin1Char" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLatin1Char Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QLatin1Char( void * pObj ) p->ph = pObj; p->func = release_QLatin1Char; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLatin1Char %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLatin1Char %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QLatin1String.cpp b/harbour/contrib/hbqt/qtcore/QLatin1String.cpp index a5eb0ffebb..90003d7ee5 100644 --- a/harbour/contrib/hbqt/qtcore/QLatin1String.cpp +++ b/harbour/contrib/hbqt/qtcore/QLatin1String.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QLatin1String ) { delete ( ( QLatin1String * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLatin1String Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLatin1String %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QLatin1String Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLatin1String Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLatin1String" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLatin1String Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QLatin1String( void * pObj ) p->ph = pObj; p->func = release_QLatin1String; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLatin1String %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLatin1String %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QLine.cpp b/harbour/contrib/hbqt/qtcore/QLine.cpp index e7ad4ec334..2fa63e3b90 100644 --- a/harbour/contrib/hbqt/qtcore/QLine.cpp +++ b/harbour/contrib/hbqt/qtcore/QLine.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QLine ) { delete ( ( QLine * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLine Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLine %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QLine Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLine Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLine" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLine Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QLine( void * pObj ) p->ph = pObj; p->func = release_QLine; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLine %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLine %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QLineF.cpp b/harbour/contrib/hbqt/qtcore/QLineF.cpp index fbfbda4399..09474db656 100644 --- a/harbour/contrib/hbqt/qtcore/QLineF.cpp +++ b/harbour/contrib/hbqt/qtcore/QLineF.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QLineF ) { delete ( ( QLineF * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLineF Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLineF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QLineF Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLineF Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLineF" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLineF Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QLineF( void * pObj ) p->ph = pObj; p->func = release_QLineF; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLineF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLineF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QList.cpp b/harbour/contrib/hbqt/qtcore/QList.cpp index 3930719764..0172cb2e5b 100644 --- a/harbour/contrib/hbqt/qtcore/QList.cpp +++ b/harbour/contrib/hbqt/qtcore/QList.cpp @@ -114,17 +114,11 @@ QT_G_FUNC( release_QList ) { delete ( ( QList< void * > * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QList Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QList %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QList Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QList Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QList" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QList Object Allready deleted!" ) ); } } @@ -134,9 +128,7 @@ void * gcAllocate_QList( void * pObj ) p->ph = pObj; p->func = release_QList; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QList %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QList %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QLocale.cpp b/harbour/contrib/hbqt/qtcore/QLocale.cpp index c6eba03a43..cdc1b22976 100644 --- a/harbour/contrib/hbqt/qtcore/QLocale.cpp +++ b/harbour/contrib/hbqt/qtcore/QLocale.cpp @@ -116,17 +116,11 @@ QT_G_FUNC( release_QLocale ) { delete ( ( QLocale * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLocale Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLocale %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QLocale Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLocale Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLocale" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLocale Object Allready deleted!" ) ); } } @@ -136,9 +130,7 @@ void * gcAllocate_QLocale( void * pObj ) p->ph = pObj; p->func = release_QLocale; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLocale %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLocale %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QMimeData.cpp b/harbour/contrib/hbqt/qtcore/QMimeData.cpp index 8cbad23e91..f0f73915d3 100644 --- a/harbour/contrib/hbqt/qtcore/QMimeData.cpp +++ b/harbour/contrib/hbqt/qtcore/QMimeData.cpp @@ -118,25 +118,16 @@ QT_G_FUNC( release_QMimeData ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMimeData Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMimeData %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QMimeData Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMimeData Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QMimeData" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QMimeData Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMimeData Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMimeData" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMimeData Object Allready deleted!" ) ); } } @@ -147,9 +138,7 @@ void * gcAllocate_QMimeData( void * pObj ) p->ph = pObj; p->func = release_QMimeData; new( & p->pq ) QPointer< QMimeData >( ( QMimeData * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMimeData %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMimeData %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QModelIndex.cpp b/harbour/contrib/hbqt/qtcore/QModelIndex.cpp index 530ee917fc..08ee6b2dd4 100644 --- a/harbour/contrib/hbqt/qtcore/QModelIndex.cpp +++ b/harbour/contrib/hbqt/qtcore/QModelIndex.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QModelIndex ) { delete ( ( QModelIndex * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QModelIndex Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QModelIndex %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QModelIndex Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QModelIndex Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QModelIndex" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QModelIndex Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QModelIndex( void * pObj ) p->ph = pObj; p->func = release_QModelIndex; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QModelIndex %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QModelIndex %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QObject.cpp b/harbour/contrib/hbqt/qtcore/QObject.cpp index f4f0907b9e..aea1699a20 100644 --- a/harbour/contrib/hbqt/qtcore/QObject.cpp +++ b/harbour/contrib/hbqt/qtcore/QObject.cpp @@ -126,25 +126,16 @@ QT_G_FUNC( release_QObject ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QObject Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QObject %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QObject Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QObject Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QObject" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QObject Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QObject Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QObject" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QObject Object Allready deleted!" ) ); } } @@ -155,9 +146,7 @@ void * gcAllocate_QObject( void * pObj ) p->ph = pObj; p->func = release_QObject; new( & p->pq ) QPointer< QObject >( ( QObject * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QObject %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QObject %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QPoint.cpp b/harbour/contrib/hbqt/qtcore/QPoint.cpp index ca3e5ab1b2..73b7d2764e 100644 --- a/harbour/contrib/hbqt/qtcore/QPoint.cpp +++ b/harbour/contrib/hbqt/qtcore/QPoint.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QPoint ) { delete ( ( QPoint * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPoint Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPoint %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPoint Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPoint Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPoint" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPoint Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QPoint( void * pObj ) p->ph = pObj; p->func = release_QPoint; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPoint %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPoint %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QPointF.cpp b/harbour/contrib/hbqt/qtcore/QPointF.cpp index f61be50225..54b8a5fc6f 100644 --- a/harbour/contrib/hbqt/qtcore/QPointF.cpp +++ b/harbour/contrib/hbqt/qtcore/QPointF.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QPointF ) { delete ( ( QPointF * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPointF Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPointF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPointF Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPointF Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPointF" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPointF Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QPointF( void * pObj ) p->ph = pObj; p->func = release_QPointF; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPointF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPointF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QProcess.cpp b/harbour/contrib/hbqt/qtcore/QProcess.cpp index 9ec41d219e..8952113eb7 100644 --- a/harbour/contrib/hbqt/qtcore/QProcess.cpp +++ b/harbour/contrib/hbqt/qtcore/QProcess.cpp @@ -119,25 +119,16 @@ QT_G_FUNC( release_QProcess ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QProcess Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QProcess %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QProcess Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QProcess Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QProcess" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QProcess Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QProcess Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QProcess" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QProcess Object Allready deleted!" ) ); } } @@ -148,9 +139,7 @@ void * gcAllocate_QProcess( void * pObj ) p->ph = pObj; p->func = release_QProcess; new( & p->pq ) QPointer< QProcess >( ( QProcess * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QProcess %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QProcess %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QRect.cpp b/harbour/contrib/hbqt/qtcore/QRect.cpp index 2e7fe10ea1..5fb34a194c 100644 --- a/harbour/contrib/hbqt/qtcore/QRect.cpp +++ b/harbour/contrib/hbqt/qtcore/QRect.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QRect ) { delete ( ( QRect * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QRect Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QRect %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QRect Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRect Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QRect" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QRect Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QRect( void * pObj ) p->ph = pObj; p->func = release_QRect; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QRect %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QRect %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QRectF.cpp b/harbour/contrib/hbqt/qtcore/QRectF.cpp index 85e6e01ba6..2ba263b4b0 100644 --- a/harbour/contrib/hbqt/qtcore/QRectF.cpp +++ b/harbour/contrib/hbqt/qtcore/QRectF.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QRectF ) { delete ( ( QRectF * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QRectF Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QRectF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QRectF Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRectF Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QRectF" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QRectF Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QRectF( void * pObj ) p->ph = pObj; p->func = release_QRectF; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QRectF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QRectF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QRegExp.cpp b/harbour/contrib/hbqt/qtcore/QRegExp.cpp index 6751b588c4..a9d4906f89 100644 --- a/harbour/contrib/hbqt/qtcore/QRegExp.cpp +++ b/harbour/contrib/hbqt/qtcore/QRegExp.cpp @@ -93,17 +93,11 @@ QT_G_FUNC( release_QRegExp ) { delete ( ( QRegExp * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QRegExp Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QRegExp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QRegExp Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRegExp Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QRegExp" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QRegExp Object Allready deleted!" ) ); } } @@ -113,9 +107,7 @@ void * gcAllocate_QRegExp( void * pObj ) p->ph = pObj; p->func = release_QRegExp; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QRegExp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QRegExp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QResource.cpp b/harbour/contrib/hbqt/qtcore/QResource.cpp index e7b2424d30..ef62aa744d 100644 --- a/harbour/contrib/hbqt/qtcore/QResource.cpp +++ b/harbour/contrib/hbqt/qtcore/QResource.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QResource ) { delete ( ( QResource * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QResource Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QResource %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QResource Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QResource Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QResource" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QResource Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QResource( void * pObj ) p->ph = pObj; p->func = release_QResource; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QResource %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QResource %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QSignalMapper.cpp b/harbour/contrib/hbqt/qtcore/QSignalMapper.cpp index 0e4d9af1d7..6b20a7dc92 100644 --- a/harbour/contrib/hbqt/qtcore/QSignalMapper.cpp +++ b/harbour/contrib/hbqt/qtcore/QSignalMapper.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QSignalMapper ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSignalMapper Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSignalMapper %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSignalMapper Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSignalMapper Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSignalMapper" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSignalMapper Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSignalMapper Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSignalMapper" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSignalMapper Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QSignalMapper( void * pObj ) p->ph = pObj; p->func = release_QSignalMapper; new( & p->pq ) QPointer< QSignalMapper >( ( QSignalMapper * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSignalMapper %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSignalMapper %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QSize.cpp b/harbour/contrib/hbqt/qtcore/QSize.cpp index 1b8f3483e9..cce85ac329 100644 --- a/harbour/contrib/hbqt/qtcore/QSize.cpp +++ b/harbour/contrib/hbqt/qtcore/QSize.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QSize ) { delete ( ( QSize * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSize Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSize %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QSize Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSize Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSize" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSize Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QSize( void * pObj ) p->ph = pObj; p->func = release_QSize; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSize %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSize %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QSizeF.cpp b/harbour/contrib/hbqt/qtcore/QSizeF.cpp index 337fd81cc8..d831b0c6df 100644 --- a/harbour/contrib/hbqt/qtcore/QSizeF.cpp +++ b/harbour/contrib/hbqt/qtcore/QSizeF.cpp @@ -89,17 +89,11 @@ QT_G_FUNC( release_QSizeF ) { delete ( ( QSizeF * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSizeF Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSizeF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QSizeF Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSizeF Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSizeF" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSizeF Object Allready deleted!" ) ); } } @@ -109,9 +103,7 @@ void * gcAllocate_QSizeF( void * pObj ) p->ph = pObj; p->func = release_QSizeF; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSizeF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSizeF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QStringList.cpp b/harbour/contrib/hbqt/qtcore/QStringList.cpp index 3fd0158ca4..7564863daf 100644 --- a/harbour/contrib/hbqt/qtcore/QStringList.cpp +++ b/harbour/contrib/hbqt/qtcore/QStringList.cpp @@ -107,17 +107,11 @@ QT_G_FUNC( release_QStringList ) { delete ( ( QStringList * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStringList Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStringList %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStringList Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStringList Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStringList" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStringList Object Allready deleted!" ) ); } } @@ -127,9 +121,7 @@ void * gcAllocate_QStringList( void * pObj ) p->ph = pObj; p->func = release_QStringList; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStringList %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStringList %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTextBoundaryFinder.cpp b/harbour/contrib/hbqt/qtcore/QTextBoundaryFinder.cpp index 7db1a6c8cc..263519b0bd 100644 --- a/harbour/contrib/hbqt/qtcore/QTextBoundaryFinder.cpp +++ b/harbour/contrib/hbqt/qtcore/QTextBoundaryFinder.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QTextBoundaryFinder ) { delete ( ( QTextBoundaryFinder * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBoundaryFinder Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextBoundaryFinder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextBoundaryFinder Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBoundaryFinder Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextBoundaryFinder" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextBoundaryFinder Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QTextBoundaryFinder( void * pObj ) p->ph = pObj; p->func = release_QTextBoundaryFinder; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextBoundaryFinder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextBoundaryFinder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTextDecoder.cpp b/harbour/contrib/hbqt/qtcore/QTextDecoder.cpp index 898c657b99..39f3d53db6 100644 --- a/harbour/contrib/hbqt/qtcore/QTextDecoder.cpp +++ b/harbour/contrib/hbqt/qtcore/QTextDecoder.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QTextDecoder ) { delete ( ( QTextDecoder * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDecoder Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextDecoder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextDecoder Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDecoder Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextDecoder" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextDecoder Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QTextDecoder( void * pObj ) p->ph = pObj; p->func = release_QTextDecoder; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextDecoder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextDecoder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTextEncoder.cpp b/harbour/contrib/hbqt/qtcore/QTextEncoder.cpp index 0d815a91b8..042d8db783 100644 --- a/harbour/contrib/hbqt/qtcore/QTextEncoder.cpp +++ b/harbour/contrib/hbqt/qtcore/QTextEncoder.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QTextEncoder ) { delete ( ( QTextEncoder * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextEncoder Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextEncoder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextEncoder Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextEncoder Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextEncoder" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextEncoder Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QTextEncoder( void * pObj ) p->ph = pObj; p->func = release_QTextEncoder; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextEncoder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextEncoder %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTextStream.cpp b/harbour/contrib/hbqt/qtcore/QTextStream.cpp index 4f78b7a2e2..e4331017ee 100644 --- a/harbour/contrib/hbqt/qtcore/QTextStream.cpp +++ b/harbour/contrib/hbqt/qtcore/QTextStream.cpp @@ -107,17 +107,11 @@ QT_G_FUNC( release_QTextStream ) { delete ( ( QTextStream * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextStream Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextStream %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextStream Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextStream Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextStream" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextStream Object Allready deleted!" ) ); } } @@ -127,9 +121,7 @@ void * gcAllocate_QTextStream( void * pObj ) p->ph = pObj; p->func = release_QTextStream; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextStream %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextStream %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QThread.cpp b/harbour/contrib/hbqt/qtcore/QThread.cpp index bfd207efc2..17e37dfc1e 100644 --- a/harbour/contrib/hbqt/qtcore/QThread.cpp +++ b/harbour/contrib/hbqt/qtcore/QThread.cpp @@ -111,25 +111,16 @@ QT_G_FUNC( release_QThread ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QThread Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QThread %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QThread Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QThread Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QThread" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QThread Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QThread Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QThread" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QThread Object Allready deleted!" ) ); } } @@ -140,9 +131,7 @@ void * gcAllocate_QThread( void * pObj ) p->ph = pObj; p->func = release_QThread; new( & p->pq ) QPointer< QThread >( ( QThread * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QThread %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QThread %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTime.cpp b/harbour/contrib/hbqt/qtcore/QTime.cpp index d20cb90c14..2f3c90d0f9 100644 --- a/harbour/contrib/hbqt/qtcore/QTime.cpp +++ b/harbour/contrib/hbqt/qtcore/QTime.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QTime ) { delete ( ( QTime * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTime Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTime %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTime Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTime Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTime" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTime Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QTime( void * pObj ) p->ph = pObj; p->func = release_QTime; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTime %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTime %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTimer.cpp b/harbour/contrib/hbqt/qtcore/QTimer.cpp index 289783650e..b763b0e84c 100644 --- a/harbour/contrib/hbqt/qtcore/QTimer.cpp +++ b/harbour/contrib/hbqt/qtcore/QTimer.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QTimer ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTimer Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTimer %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTimer Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTimer Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTimer" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTimer Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTimer Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTimer" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTimer Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QTimer( void * pObj ) p->ph = pObj; p->func = release_QTimer; new( & p->pq ) QPointer< QTimer >( ( QTimer * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTimer %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTimer %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QTranslator.cpp b/harbour/contrib/hbqt/qtcore/QTranslator.cpp index 5362ffc179..d0b7350fb7 100644 --- a/harbour/contrib/hbqt/qtcore/QTranslator.cpp +++ b/harbour/contrib/hbqt/qtcore/QTranslator.cpp @@ -107,25 +107,16 @@ QT_G_FUNC( release_QTranslator ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTranslator Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTranslator %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTranslator Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTranslator Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTranslator" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTranslator Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTranslator Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTranslator" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTranslator Object Allready deleted!" ) ); } } @@ -136,9 +127,7 @@ void * gcAllocate_QTranslator( void * pObj ) p->ph = pObj; p->func = release_QTranslator; new( & p->pq ) QPointer< QTranslator >( ( QTranslator * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTranslator %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTranslator %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QUiLoader.cpp b/harbour/contrib/hbqt/qtcore/QUiLoader.cpp index b990b0a8a4..a5b85389a6 100644 --- a/harbour/contrib/hbqt/qtcore/QUiLoader.cpp +++ b/harbour/contrib/hbqt/qtcore/QUiLoader.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QUiLoader ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QUiLoader Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QUiLoader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QUiLoader Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QUiLoader Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QUiLoader" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QUiLoader Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QUiLoader Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QUiLoader" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QUiLoader Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QUiLoader( void * pObj ) p->ph = pObj; p->func = release_QUiLoader; new( & p->pq ) QPointer< QUiLoader >( ( QUiLoader * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QUiLoader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QUiLoader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QUrl.cpp b/harbour/contrib/hbqt/qtcore/QUrl.cpp index 9156db1994..c831842a20 100644 --- a/harbour/contrib/hbqt/qtcore/QUrl.cpp +++ b/harbour/contrib/hbqt/qtcore/QUrl.cpp @@ -121,17 +121,11 @@ QT_G_FUNC( release_QUrl ) { delete ( ( QUrl * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QUrl Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QUrl %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QUrl Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QUrl Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QUrl" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QUrl Object Allready deleted!" ) ); } } @@ -141,9 +135,7 @@ void * gcAllocate_QUrl( void * pObj ) p->ph = pObj; p->func = release_QUrl; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QUrl %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QUrl %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtcore/QVariant.cpp b/harbour/contrib/hbqt/qtcore/QVariant.cpp index 53dfe43014..da709ad412 100644 --- a/harbour/contrib/hbqt/qtcore/QVariant.cpp +++ b/harbour/contrib/hbqt/qtcore/QVariant.cpp @@ -150,17 +150,11 @@ QT_G_FUNC( release_QVariant ) { delete ( ( QVariant * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QVariant Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QVariant %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QVariant Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QVariant Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QVariant" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QVariant Object Allready deleted!" ) ); } } @@ -170,9 +164,7 @@ void * gcAllocate_QVariant( void * pObj ) p->ph = pObj; p->func = release_QVariant; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QVariant %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QVariant %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QAction.cpp b/harbour/contrib/hbqt/qtgui/QAction.cpp index 993057bc9e..12503599aa 100644 --- a/harbour/contrib/hbqt/qtgui/QAction.cpp +++ b/harbour/contrib/hbqt/qtgui/QAction.cpp @@ -127,25 +127,16 @@ QT_G_FUNC( release_QAction ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QAction Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QAction %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QAction Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QAction Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QAction" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QAction Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QAction Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QAction" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QAction Object Allready deleted!" ) ); } } @@ -156,9 +147,7 @@ void * gcAllocate_QAction( void * pObj ) p->ph = pObj; p->func = release_QAction; new( & p->pq ) QPointer< QAction >( ( QAction * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QAction %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QAction %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QActionGroup.cpp b/harbour/contrib/hbqt/qtgui/QActionGroup.cpp index 66025c1195..5acc759fe0 100644 --- a/harbour/contrib/hbqt/qtgui/QActionGroup.cpp +++ b/harbour/contrib/hbqt/qtgui/QActionGroup.cpp @@ -116,25 +116,16 @@ QT_G_FUNC( release_QActionGroup ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QActionGroup Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QActionGroup %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QActionGroup Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QActionGroup Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QActionGroup" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QActionGroup Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QActionGroup Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QActionGroup" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QActionGroup Object Allready deleted!" ) ); } } @@ -145,9 +136,7 @@ void * gcAllocate_QActionGroup( void * pObj ) p->ph = pObj; p->func = release_QActionGroup; new( & p->pq ) QPointer< QActionGroup >( ( QActionGroup * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QActionGroup %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QActionGroup %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QApplication.cpp b/harbour/contrib/hbqt/qtgui/QApplication.cpp index b60595f74d..e2920047bd 100644 --- a/harbour/contrib/hbqt/qtgui/QApplication.cpp +++ b/harbour/contrib/hbqt/qtgui/QApplication.cpp @@ -189,25 +189,16 @@ QT_G_FUNC( release_QApplication ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QApplication Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QApplication %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QApplication Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QApplication Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QApplication" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QApplication Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QApplication Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QApplication" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QApplication Object Allready deleted!" ) ); } } @@ -218,9 +209,7 @@ void * gcAllocate_QApplication( void * pObj ) p->ph = pObj; p->func = release_QApplication; new( & p->pq ) QPointer< QApplication >( ( QApplication * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QApplication %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QApplication %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QBitmap.cpp b/harbour/contrib/hbqt/qtgui/QBitmap.cpp index d6f899e1d3..a767cf23d9 100644 --- a/harbour/contrib/hbqt/qtgui/QBitmap.cpp +++ b/harbour/contrib/hbqt/qtgui/QBitmap.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QBitmap ) { delete ( ( QBitmap * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QBitmap Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QBitmap %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QBitmap Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QBitmap Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QBitmap" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QBitmap Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QBitmap( void * pObj ) p->ph = pObj; p->func = release_QBitmap; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QBitmap %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QBitmap %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/QBoxLayout.cpp index a7e3dca28f..c2668a5e70 100644 --- a/harbour/contrib/hbqt/qtgui/QBoxLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/QBoxLayout.cpp @@ -112,25 +112,16 @@ QT_G_FUNC( release_QBoxLayout ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QBoxLayout Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QBoxLayout Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QBoxLayout Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QBoxLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QBoxLayout Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QBoxLayout Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QBoxLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QBoxLayout Object Allready deleted!" ) ); } } @@ -141,9 +132,7 @@ void * gcAllocate_QBoxLayout( void * pObj ) p->ph = pObj; p->func = release_QBoxLayout; new( & p->pq ) QPointer< QBoxLayout >( ( QBoxLayout * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QBrush.cpp b/harbour/contrib/hbqt/qtgui/QBrush.cpp index df326edccf..cd9f3eb59d 100644 --- a/harbour/contrib/hbqt/qtgui/QBrush.cpp +++ b/harbour/contrib/hbqt/qtgui/QBrush.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QBrush ) { delete ( ( QBrush * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QBrush Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QBrush %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QBrush Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QBrush Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QBrush" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QBrush Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QBrush( void * pObj ) p->ph = pObj; p->func = release_QBrush; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QBrush %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QBrush %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QButtonGroup.cpp b/harbour/contrib/hbqt/qtgui/QButtonGroup.cpp index dfaf2caf1f..f845424c2b 100644 --- a/harbour/contrib/hbqt/qtgui/QButtonGroup.cpp +++ b/harbour/contrib/hbqt/qtgui/QButtonGroup.cpp @@ -117,25 +117,16 @@ QT_G_FUNC( release_QButtonGroup ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QButtonGroup Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QButtonGroup %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QButtonGroup Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QButtonGroup Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QButtonGroup" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QButtonGroup Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QButtonGroup Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QButtonGroup" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QButtonGroup Object Allready deleted!" ) ); } } @@ -146,9 +137,7 @@ void * gcAllocate_QButtonGroup( void * pObj ) p->ph = pObj; p->func = release_QButtonGroup; new( & p->pq ) QPointer< QButtonGroup >( ( QButtonGroup * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QButtonGroup %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QButtonGroup %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp b/harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp index 3a40435d6f..133819129a 100644 --- a/harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp @@ -123,25 +123,16 @@ QT_G_FUNC( release_QCalendarWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QCalendarWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QCalendarWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QCalendarWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCalendarWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QCalendarWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QCalendarWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCalendarWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QCalendarWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QCalendarWidget Object Allready deleted!" ) ); } } @@ -152,9 +143,7 @@ void * gcAllocate_QCalendarWidget( void * pObj ) p->ph = pObj; p->func = release_QCalendarWidget; new( & p->pq ) QPointer< QCalendarWidget >( ( QCalendarWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QCalendarWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QCalendarWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QCheckBox.cpp b/harbour/contrib/hbqt/qtgui/QCheckBox.cpp index 78e6179592..3078003745 100644 --- a/harbour/contrib/hbqt/qtgui/QCheckBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QCheckBox.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QCheckBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QCheckBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QCheckBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QCheckBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCheckBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QCheckBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QCheckBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCheckBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QCheckBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QCheckBox Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QCheckBox( void * pObj ) p->ph = pObj; p->func = release_QCheckBox; new( & p->pq ) QPointer< QCheckBox >( ( QCheckBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QCheckBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QCheckBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QColor.cpp b/harbour/contrib/hbqt/qtgui/QColor.cpp index e6176b483d..56eb28fc6d 100644 --- a/harbour/contrib/hbqt/qtgui/QColor.cpp +++ b/harbour/contrib/hbqt/qtgui/QColor.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QColor ) { delete ( ( QColor * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QColor Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QColor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QColor Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QColor Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QColor" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QColor Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QColor( void * pObj ) p->ph = pObj; p->func = release_QColor; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QColor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QColor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QColorDialog.cpp b/harbour/contrib/hbqt/qtgui/QColorDialog.cpp index 390ed443ee..80818056d1 100644 --- a/harbour/contrib/hbqt/qtgui/QColorDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QColorDialog.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QColorDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QColorDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QColorDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QColorDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QColorDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QColorDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QColorDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QColorDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QColorDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QColorDialog Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QColorDialog( void * pObj ) p->ph = pObj; p->func = release_QColorDialog; new( & p->pq ) QPointer< QColorDialog >( ( QColorDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QColorDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QColorDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QComboBox.cpp b/harbour/contrib/hbqt/qtgui/QComboBox.cpp index 92b8daeec2..2de673cb35 100644 --- a/harbour/contrib/hbqt/qtgui/QComboBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QComboBox.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QComboBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QComboBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QComboBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QComboBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QComboBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QComboBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QComboBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QComboBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QComboBox Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QComboBox( void * pObj ) p->ph = pObj; p->func = release_QComboBox; new( & p->pq ) QPointer< QComboBox >( ( QComboBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp b/harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp index 306c11d3b5..b95ab7d53b 100644 --- a/harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp +++ b/harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QCommandLinkButton ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QCommandLinkButton Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QCommandLinkButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QCommandLinkButton Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCommandLinkButton Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QCommandLinkButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QCommandLinkButton Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCommandLinkButton Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QCommandLinkButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QCommandLinkButton Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QCommandLinkButton( void * pObj ) p->ph = pObj; p->func = release_QCommandLinkButton; new( & p->pq ) QPointer< QCommandLinkButton >( ( QCommandLinkButton * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QCommandLinkButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QCommandLinkButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QCommonStyle.cpp b/harbour/contrib/hbqt/qtgui/QCommonStyle.cpp index 5a64429321..ea3e4cfc28 100644 --- a/harbour/contrib/hbqt/qtgui/QCommonStyle.cpp +++ b/harbour/contrib/hbqt/qtgui/QCommonStyle.cpp @@ -107,25 +107,16 @@ QT_G_FUNC( release_QCommonStyle ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QCommonStyle Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QCommonStyle %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QCommonStyle Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCommonStyle Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QCommonStyle" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QCommonStyle Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCommonStyle Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QCommonStyle" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QCommonStyle Object Allready deleted!" ) ); } } @@ -136,9 +127,7 @@ void * gcAllocate_QCommonStyle( void * pObj ) p->ph = pObj; p->func = release_QCommonStyle; new( & p->pq ) QPointer< QCommonStyle >( ( QCommonStyle * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QCommonStyle %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QCommonStyle %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QCompleter.cpp b/harbour/contrib/hbqt/qtgui/QCompleter.cpp index 0558ee9e16..6e190ec86a 100644 --- a/harbour/contrib/hbqt/qtgui/QCompleter.cpp +++ b/harbour/contrib/hbqt/qtgui/QCompleter.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QCompleter ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QCompleter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QCompleter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QCompleter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCompleter Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QCompleter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QCompleter Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCompleter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QCompleter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QCompleter Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QCompleter( void * pObj ) p->ph = pObj; p->func = release_QCompleter; new( & p->pq ) QPointer< QCompleter >( ( QCompleter * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QCompleter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QCompleter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QConicalGradient.cpp b/harbour/contrib/hbqt/qtgui/QConicalGradient.cpp index d3a8d885df..316302accd 100644 --- a/harbour/contrib/hbqt/qtgui/QConicalGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/QConicalGradient.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QConicalGradient ) { delete ( ( QConicalGradient * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QConicalGradient Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QConicalGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QConicalGradient Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QConicalGradient Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QConicalGradient" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QConicalGradient Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QConicalGradient( void * pObj ) p->ph = pObj; p->func = release_QConicalGradient; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QConicalGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QConicalGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp b/harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp index 05cd25e1aa..a1f5993180 100644 --- a/harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QContextMenuEvent ) { delete ( ( QContextMenuEvent * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QContextMenuEvent Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QContextMenuEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QContextMenuEvent Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QContextMenuEvent Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QContextMenuEvent" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QContextMenuEvent Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QContextMenuEvent( void * pObj ) p->ph = pObj; p->func = release_QContextMenuEvent; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QContextMenuEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QContextMenuEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QCursor.cpp b/harbour/contrib/hbqt/qtgui/QCursor.cpp index ac43a1d9f1..de65488f40 100644 --- a/harbour/contrib/hbqt/qtgui/QCursor.cpp +++ b/harbour/contrib/hbqt/qtgui/QCursor.cpp @@ -93,17 +93,11 @@ QT_G_FUNC( release_QCursor ) { delete ( ( QCursor * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QCursor Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QCursor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QCursor Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QCursor Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QCursor" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QCursor Object Allready deleted!" ) ); } } @@ -113,9 +107,7 @@ void * gcAllocate_QCursor( void * pObj ) p->ph = pObj; p->func = release_QCursor; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QCursor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QCursor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDateEdit.cpp b/harbour/contrib/hbqt/qtgui/QDateEdit.cpp index ad12641455..b7fee29fb3 100644 --- a/harbour/contrib/hbqt/qtgui/QDateEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/QDateEdit.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QDateEdit ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDateEdit Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDateEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDateEdit Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDateEdit Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDateEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDateEdit Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDateEdit Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDateEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDateEdit Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QDateEdit( void * pObj ) p->ph = pObj; p->func = release_QDateEdit; new( & p->pq ) QPointer< QDateEdit >( ( QDateEdit * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDateEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDateEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp b/harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp index 754541e822..ba5bf6e953 100644 --- a/harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp @@ -115,25 +115,16 @@ QT_G_FUNC( release_QDateTimeEdit ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDateTimeEdit Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDateTimeEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDateTimeEdit Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDateTimeEdit Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDateTimeEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDateTimeEdit Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDateTimeEdit Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDateTimeEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDateTimeEdit Object Allready deleted!" ) ); } } @@ -144,9 +135,7 @@ void * gcAllocate_QDateTimeEdit( void * pObj ) p->ph = pObj; p->func = release_QDateTimeEdit; new( & p->pq ) QPointer< QDateTimeEdit >( ( QDateTimeEdit * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDateTimeEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDateTimeEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp b/harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp index 41409c75f8..5ac97dfb93 100644 --- a/harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QDesktopWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDesktopWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDesktopWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDesktopWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDesktopWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDesktopWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDesktopWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDesktopWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDesktopWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDesktopWidget Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QDesktopWidget( void * pObj ) p->ph = pObj; p->func = release_QDesktopWidget; new( & p->pq ) QPointer< QDesktopWidget >( ( QDesktopWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDesktopWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDesktopWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDial.cpp b/harbour/contrib/hbqt/qtgui/QDial.cpp index 040299744b..a701e0f883 100644 --- a/harbour/contrib/hbqt/qtgui/QDial.cpp +++ b/harbour/contrib/hbqt/qtgui/QDial.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QDial ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDial Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDial %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDial Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDial Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDial" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDial Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDial Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDial" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDial Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QDial( void * pObj ) p->ph = pObj; p->func = release_QDial; new( & p->pq ) QPointer< QDial >( ( QDial * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDial %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDial %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDialog.cpp b/harbour/contrib/hbqt/qtgui/QDialog.cpp index 3ef652f2fd..e6f60b7679 100644 --- a/harbour/contrib/hbqt/qtgui/QDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QDialog.cpp @@ -112,25 +112,16 @@ QT_G_FUNC( release_QDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDialog Object Allready deleted!" ) ); } } @@ -141,9 +132,7 @@ void * gcAllocate_QDialog( void * pObj ) p->ph = pObj; p->func = release_QDialog; new( & p->pq ) QPointer< QDialog >( ( QDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDirModel.cpp b/harbour/contrib/hbqt/qtgui/QDirModel.cpp index 07f218398e..cb872da475 100644 --- a/harbour/contrib/hbqt/qtgui/QDirModel.cpp +++ b/harbour/contrib/hbqt/qtgui/QDirModel.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QDirModel ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDirModel Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDirModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDirModel Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDirModel Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDirModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDirModel Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDirModel Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDirModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDirModel Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QDirModel( void * pObj ) p->ph = pObj; p->func = release_QDirModel; new( & p->pq ) QPointer< QDirModel >( ( QDirModel * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDirModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDirModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDockWidget.cpp b/harbour/contrib/hbqt/qtgui/QDockWidget.cpp index 976b70e9a1..5ffe5d7009 100644 --- a/harbour/contrib/hbqt/qtgui/QDockWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QDockWidget.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QDockWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDockWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDockWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDockWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDockWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDockWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDockWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDockWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDockWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDockWidget Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QDockWidget( void * pObj ) p->ph = pObj; p->func = release_QDockWidget; new( & p->pq ) QPointer< QDockWidget >( ( QDockWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDockWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDockWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp b/harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp index bd8eb6f4cb..c83e2a90d8 100644 --- a/harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp @@ -107,25 +107,16 @@ QT_G_FUNC( release_QDoubleSpinBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QDoubleSpinBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QDoubleSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QDoubleSpinBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDoubleSpinBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QDoubleSpinBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QDoubleSpinBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QDoubleSpinBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QDoubleSpinBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QDoubleSpinBox Object Allready deleted!" ) ); } } @@ -136,9 +127,7 @@ void * gcAllocate_QDoubleSpinBox( void * pObj ) p->ph = pObj; p->func = release_QDoubleSpinBox; new( & p->pq ) QPointer< QDoubleSpinBox >( ( QDoubleSpinBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QDoubleSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QDoubleSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QErrorMessage.cpp b/harbour/contrib/hbqt/qtgui/QErrorMessage.cpp index 6a992acd4a..a49f665957 100644 --- a/harbour/contrib/hbqt/qtgui/QErrorMessage.cpp +++ b/harbour/contrib/hbqt/qtgui/QErrorMessage.cpp @@ -117,25 +117,16 @@ QT_G_FUNC( release_QErrorMessage ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QErrorMessage Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QErrorMessage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QErrorMessage Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QErrorMessage Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QErrorMessage" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QErrorMessage Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QErrorMessage Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QErrorMessage" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QErrorMessage Object Allready deleted!" ) ); } } @@ -146,9 +137,7 @@ void * gcAllocate_QErrorMessage( void * pObj ) p->ph = pObj; p->func = release_QErrorMessage; new( & p->pq ) QPointer< QErrorMessage >( ( QErrorMessage * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QErrorMessage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QErrorMessage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFileDialog.cpp b/harbour/contrib/hbqt/qtgui/QFileDialog.cpp index 358eb1491b..89c692fa5a 100644 --- a/harbour/contrib/hbqt/qtgui/QFileDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QFileDialog.cpp @@ -135,25 +135,16 @@ QT_G_FUNC( release_QFileDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFileDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFileDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFileDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFileDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFileDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFileDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFileDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFileDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFileDialog Object Allready deleted!" ) ); } } @@ -164,9 +155,7 @@ void * gcAllocate_QFileDialog( void * pObj ) p->ph = pObj; p->func = release_QFileDialog; new( & p->pq ) QPointer< QFileDialog >( ( QFileDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFileDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFileDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp b/harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp index 27ef1af0b4..036aa78413 100644 --- a/harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp +++ b/harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QFileIconProvider ) { delete ( ( QFileIconProvider * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFileIconProvider Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFileIconProvider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFileIconProvider Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFileIconProvider Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFileIconProvider" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFileIconProvider Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QFileIconProvider( void * pObj ) p->ph = pObj; p->func = release_QFileIconProvider; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFileIconProvider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFileIconProvider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp b/harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp index c7d16b190d..7b516b2244 100644 --- a/harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp +++ b/harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp @@ -112,25 +112,16 @@ QT_G_FUNC( release_QFileSystemModel ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFileSystemModel Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFileSystemModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFileSystemModel Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFileSystemModel Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFileSystemModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFileSystemModel Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFileSystemModel Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFileSystemModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFileSystemModel Object Allready deleted!" ) ); } } @@ -141,9 +132,7 @@ void * gcAllocate_QFileSystemModel( void * pObj ) p->ph = pObj; p->func = release_QFileSystemModel; new( & p->pq ) QPointer< QFileSystemModel >( ( QFileSystemModel * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFileSystemModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFileSystemModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFocusFrame.cpp b/harbour/contrib/hbqt/qtgui/QFocusFrame.cpp index fe8e5301a2..198eb26a05 100644 --- a/harbour/contrib/hbqt/qtgui/QFocusFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/QFocusFrame.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QFocusFrame ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFocusFrame Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFocusFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFocusFrame Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFocusFrame Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFocusFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFocusFrame Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFocusFrame Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFocusFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFocusFrame Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QFocusFrame( void * pObj ) p->ph = pObj; p->func = release_QFocusFrame; new( & p->pq ) QPointer< QFocusFrame >( ( QFocusFrame * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFocusFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFocusFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFont.cpp b/harbour/contrib/hbqt/qtgui/QFont.cpp index 8fd25231c1..459a83d728 100644 --- a/harbour/contrib/hbqt/qtgui/QFont.cpp +++ b/harbour/contrib/hbqt/qtgui/QFont.cpp @@ -100,17 +100,11 @@ QT_G_FUNC( release_QFont ) { delete ( ( QFont * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFont Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFont %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFont Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFont Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFont" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFont Object Allready deleted!" ) ); } } @@ -120,9 +114,7 @@ void * gcAllocate_QFont( void * pObj ) p->ph = pObj; p->func = release_QFont; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFont %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFont %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFontComboBox.cpp b/harbour/contrib/hbqt/qtgui/QFontComboBox.cpp index ff5a32cce1..4009904c07 100644 --- a/harbour/contrib/hbqt/qtgui/QFontComboBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QFontComboBox.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QFontComboBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFontComboBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFontComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFontComboBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontComboBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFontComboBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFontComboBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontComboBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFontComboBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFontComboBox Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QFontComboBox( void * pObj ) p->ph = pObj; p->func = release_QFontComboBox; new( & p->pq ) QPointer< QFontComboBox >( ( QFontComboBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFontComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFontComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFontDatabase.cpp b/harbour/contrib/hbqt/qtgui/QFontDatabase.cpp index 1794e37009..dfdcf335b9 100644 --- a/harbour/contrib/hbqt/qtgui/QFontDatabase.cpp +++ b/harbour/contrib/hbqt/qtgui/QFontDatabase.cpp @@ -104,17 +104,11 @@ QT_G_FUNC( release_QFontDatabase ) { delete ( ( QFontDatabase * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFontDatabase Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFontDatabase %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFontDatabase Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontDatabase Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFontDatabase" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFontDatabase Object Allready deleted!" ) ); } } @@ -124,9 +118,7 @@ void * gcAllocate_QFontDatabase( void * pObj ) p->ph = pObj; p->func = release_QFontDatabase; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFontDatabase %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFontDatabase %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFontDialog.cpp b/harbour/contrib/hbqt/qtgui/QFontDialog.cpp index 1ccccada03..83c42c3224 100644 --- a/harbour/contrib/hbqt/qtgui/QFontDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QFontDialog.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QFontDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFontDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFontDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFontDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFontDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFontDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFontDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFontDialog Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QFontDialog( void * pObj ) p->ph = pObj; p->func = release_QFontDialog; new( & p->pq ) QPointer< QFontDialog >( ( QFontDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFontDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFontDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFontInfo.cpp b/harbour/contrib/hbqt/qtgui/QFontInfo.cpp index 95f096f860..5e04a0431e 100644 --- a/harbour/contrib/hbqt/qtgui/QFontInfo.cpp +++ b/harbour/contrib/hbqt/qtgui/QFontInfo.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QFontInfo ) { delete ( ( QFontInfo * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFontInfo Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFontInfo %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFontInfo Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontInfo Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFontInfo" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFontInfo Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QFontInfo( void * pObj ) p->ph = pObj; p->func = release_QFontInfo; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFontInfo %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFontInfo %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFontMetrics.cpp b/harbour/contrib/hbqt/qtgui/QFontMetrics.cpp index 4e8a4d63f3..f371b4d32a 100644 --- a/harbour/contrib/hbqt/qtgui/QFontMetrics.cpp +++ b/harbour/contrib/hbqt/qtgui/QFontMetrics.cpp @@ -89,17 +89,11 @@ QT_G_FUNC( release_QFontMetrics ) { delete ( ( QFontMetrics * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFontMetrics Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFontMetrics %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFontMetrics Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontMetrics Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFontMetrics" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFontMetrics Object Allready deleted!" ) ); } } @@ -109,9 +103,7 @@ void * gcAllocate_QFontMetrics( void * pObj ) p->ph = pObj; p->func = release_QFontMetrics; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFontMetrics %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFontMetrics %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp b/harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp index 46d3a20e09..56b94d72c3 100644 --- a/harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp +++ b/harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QFontMetricsF ) { delete ( ( QFontMetricsF * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFontMetricsF Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFontMetricsF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QFontMetricsF Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFontMetricsF Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFontMetricsF" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFontMetricsF Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QFontMetricsF( void * pObj ) p->ph = pObj; p->func = release_QFontMetricsF; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFontMetricsF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFontMetricsF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFormLayout.cpp b/harbour/contrib/hbqt/qtgui/QFormLayout.cpp index 64ce3d1e42..86991edb51 100644 --- a/harbour/contrib/hbqt/qtgui/QFormLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/QFormLayout.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QFormLayout ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFormLayout Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFormLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFormLayout Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFormLayout Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFormLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFormLayout Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFormLayout Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFormLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFormLayout Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QFormLayout( void * pObj ) p->ph = pObj; p->func = release_QFormLayout; new( & p->pq ) QPointer< QFormLayout >( ( QFormLayout * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFormLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFormLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QFrame.cpp b/harbour/contrib/hbqt/qtgui/QFrame.cpp index 6d78b190b3..8fd063a351 100644 --- a/harbour/contrib/hbqt/qtgui/QFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/QFrame.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QFrame ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFrame Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFrame Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFrame Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFrame Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFrame Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFrame Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QFrame( void * pObj ) p->ph = pObj; p->func = release_QFrame; new( & p->pq ) QPointer< QFrame >( ( QFrame * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QGridLayout.cpp b/harbour/contrib/hbqt/qtgui/QGridLayout.cpp index bf12b1aaec..3aef36d860 100644 --- a/harbour/contrib/hbqt/qtgui/QGridLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/QGridLayout.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QGridLayout ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QGridLayout Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QGridLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QGridLayout Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QGridLayout Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QGridLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QGridLayout Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QGridLayout Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QGridLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QGridLayout Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QGridLayout( void * pObj ) p->ph = pObj; p->func = release_QGridLayout; new( & p->pq ) QPointer< QGridLayout >( ( QGridLayout * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QGridLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QGridLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QGroupBox.cpp b/harbour/contrib/hbqt/qtgui/QGroupBox.cpp index de2dee4cf3..45c40739ea 100644 --- a/harbour/contrib/hbqt/qtgui/QGroupBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QGroupBox.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QGroupBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QGroupBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QGroupBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QGroupBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QGroupBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QGroupBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QGroupBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QGroupBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QGroupBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QGroupBox Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QGroupBox( void * pObj ) p->ph = pObj; p->func = release_QGroupBox; new( & p->pq ) QPointer< QGroupBox >( ( QGroupBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QGroupBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QGroupBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp index f714daaa1e..cd4301dba8 100644 --- a/harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QHBoxLayout ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QHBoxLayout Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QHBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QHBoxLayout Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHBoxLayout Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QHBoxLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QHBoxLayout Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHBoxLayout Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QHBoxLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QHBoxLayout Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QHBoxLayout( void * pObj ) p->ph = pObj; p->func = release_QHBoxLayout; new( & p->pq ) QPointer< QHBoxLayout >( ( QHBoxLayout * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QHBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QHBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QHeaderView.cpp b/harbour/contrib/hbqt/qtgui/QHeaderView.cpp index c7fb613a5f..fdaaa27ab6 100644 --- a/harbour/contrib/hbqt/qtgui/QHeaderView.cpp +++ b/harbour/contrib/hbqt/qtgui/QHeaderView.cpp @@ -112,25 +112,16 @@ QT_G_FUNC( release_QHeaderView ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QHeaderView Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QHeaderView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QHeaderView Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHeaderView Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QHeaderView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QHeaderView Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHeaderView Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QHeaderView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QHeaderView Object Allready deleted!" ) ); } } @@ -141,9 +132,7 @@ void * gcAllocate_QHeaderView( void * pObj ) p->ph = pObj; p->func = release_QHeaderView; new( & p->pq ) QPointer< QHeaderView >( ( QHeaderView * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QHeaderView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QHeaderView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QIcon.cpp b/harbour/contrib/hbqt/qtgui/QIcon.cpp index 4610b4042e..c0580f68b9 100644 --- a/harbour/contrib/hbqt/qtgui/QIcon.cpp +++ b/harbour/contrib/hbqt/qtgui/QIcon.cpp @@ -106,17 +106,11 @@ QT_G_FUNC( release_QIcon ) { delete ( ( QIcon * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QIcon Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QIcon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QIcon Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QIcon Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QIcon" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QIcon Object Allready deleted!" ) ); } } @@ -126,9 +120,7 @@ void * gcAllocate_QIcon( void * pObj ) p->ph = pObj; p->func = release_QIcon; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QIcon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QIcon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QImage.cpp b/harbour/contrib/hbqt/qtgui/QImage.cpp index 56c0e23280..18ea7fc766 100644 --- a/harbour/contrib/hbqt/qtgui/QImage.cpp +++ b/harbour/contrib/hbqt/qtgui/QImage.cpp @@ -118,17 +118,11 @@ QT_G_FUNC( release_QImage ) { delete ( ( QImage * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QImage Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QImage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QImage Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QImage Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QImage" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QImage Object Allready deleted!" ) ); } } @@ -138,9 +132,7 @@ void * gcAllocate_QImage( void * pObj ) p->ph = pObj; p->func = release_QImage; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QImage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QImage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QImageReader.cpp b/harbour/contrib/hbqt/qtgui/QImageReader.cpp index db310b90b5..5e3e2b58e9 100644 --- a/harbour/contrib/hbqt/qtgui/QImageReader.cpp +++ b/harbour/contrib/hbqt/qtgui/QImageReader.cpp @@ -103,17 +103,11 @@ QT_G_FUNC( release_QImageReader ) { delete ( ( QImageReader * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QImageReader Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QImageReader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QImageReader Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QImageReader Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QImageReader" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QImageReader Object Allready deleted!" ) ); } } @@ -123,9 +117,7 @@ void * gcAllocate_QImageReader( void * pObj ) p->ph = pObj; p->func = release_QImageReader; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QImageReader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QImageReader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QImageWriter.cpp b/harbour/contrib/hbqt/qtgui/QImageWriter.cpp index 6c95974182..96af82f606 100644 --- a/harbour/contrib/hbqt/qtgui/QImageWriter.cpp +++ b/harbour/contrib/hbqt/qtgui/QImageWriter.cpp @@ -102,17 +102,11 @@ QT_G_FUNC( release_QImageWriter ) { delete ( ( QImageWriter * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QImageWriter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QImageWriter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QImageWriter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QImageWriter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QImageWriter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QImageWriter Object Allready deleted!" ) ); } } @@ -122,9 +116,7 @@ void * gcAllocate_QImageWriter( void * pObj ) p->ph = pObj; p->func = release_QImageWriter; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QImageWriter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QImageWriter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QInputDialog.cpp b/harbour/contrib/hbqt/qtgui/QInputDialog.cpp index 0d4f9964e5..0dce2484ad 100644 --- a/harbour/contrib/hbqt/qtgui/QInputDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QInputDialog.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QInputDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QInputDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QInputDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QInputDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QInputDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QInputDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QInputDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QInputDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QInputDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QInputDialog Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QInputDialog( void * pObj ) p->ph = pObj; p->func = release_QInputDialog; new( & p->pq ) QPointer< QInputDialog >( ( QInputDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QInputDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QInputDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QInputEvent.cpp b/harbour/contrib/hbqt/qtgui/QInputEvent.cpp index 04de169ebe..4a200ae0cf 100644 --- a/harbour/contrib/hbqt/qtgui/QInputEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/QInputEvent.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QInputEvent ) { delete ( ( QInputEvent * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QInputEvent Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QInputEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QInputEvent Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QInputEvent Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QInputEvent" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QInputEvent Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QInputEvent( void * pObj ) p->ph = pObj; p->func = release_QInputEvent; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QInputEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QInputEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp b/harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp index b30d0e7183..032a8375f1 100644 --- a/harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp @@ -100,17 +100,11 @@ QT_G_FUNC( release_QInputMethodEvent ) { delete ( ( QInputMethodEvent * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QInputMethodEvent Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QInputMethodEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QInputMethodEvent Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QInputMethodEvent Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QInputMethodEvent" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QInputMethodEvent Object Allready deleted!" ) ); } } @@ -120,9 +114,7 @@ void * gcAllocate_QInputMethodEvent( void * pObj ) p->ph = pObj; p->func = release_QInputMethodEvent; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QInputMethodEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QInputMethodEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QItemSelection.cpp b/harbour/contrib/hbqt/qtgui/QItemSelection.cpp index fffae9fdd9..a1fcf4c17d 100644 --- a/harbour/contrib/hbqt/qtgui/QItemSelection.cpp +++ b/harbour/contrib/hbqt/qtgui/QItemSelection.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QItemSelection ) { delete ( ( QItemSelection * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QItemSelection Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QItemSelection %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QItemSelection Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QItemSelection Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QItemSelection" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QItemSelection Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QItemSelection( void * pObj ) p->ph = pObj; p->func = release_QItemSelection; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QItemSelection %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QItemSelection %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp b/harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp index c92bf08c4e..0e71c33295 100644 --- a/harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp +++ b/harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QItemSelectionModel ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QItemSelectionModel Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QItemSelectionModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QItemSelectionModel Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QItemSelectionModel Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QItemSelectionModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QItemSelectionModel Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QItemSelectionModel Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QItemSelectionModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QItemSelectionModel Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QItemSelectionModel( void * pObj ) p->ph = pObj; p->func = release_QItemSelectionModel; new( & p->pq ) QPointer< QItemSelectionModel >( ( QItemSelectionModel * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QItemSelectionModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QItemSelectionModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QKeySequence.cpp b/harbour/contrib/hbqt/qtgui/QKeySequence.cpp index b3aafaa6f2..5871495b6e 100644 --- a/harbour/contrib/hbqt/qtgui/QKeySequence.cpp +++ b/harbour/contrib/hbqt/qtgui/QKeySequence.cpp @@ -106,17 +106,11 @@ QT_G_FUNC( release_QKeySequence ) { delete ( ( QKeySequence * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QKeySequence Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QKeySequence %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QKeySequence Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QKeySequence Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QKeySequence" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QKeySequence Object Allready deleted!" ) ); } } @@ -126,9 +120,7 @@ void * gcAllocate_QKeySequence( void * pObj ) p->ph = pObj; p->func = release_QKeySequence; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QKeySequence %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QKeySequence %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QLCDNumber.cpp b/harbour/contrib/hbqt/qtgui/QLCDNumber.cpp index 92d4b06ea5..a13b91611a 100644 --- a/harbour/contrib/hbqt/qtgui/QLCDNumber.cpp +++ b/harbour/contrib/hbqt/qtgui/QLCDNumber.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QLCDNumber ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLCDNumber Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLCDNumber %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QLCDNumber Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLCDNumber Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QLCDNumber" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QLCDNumber Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLCDNumber Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLCDNumber" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLCDNumber Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QLCDNumber( void * pObj ) p->ph = pObj; p->func = release_QLCDNumber; new( & p->pq ) QPointer< QLCDNumber >( ( QLCDNumber * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLCDNumber %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLCDNumber %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QLabel.cpp b/harbour/contrib/hbqt/qtgui/QLabel.cpp index 126ef077f8..c3e334093d 100644 --- a/harbour/contrib/hbqt/qtgui/QLabel.cpp +++ b/harbour/contrib/hbqt/qtgui/QLabel.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QLabel ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLabel Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLabel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QLabel Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLabel Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QLabel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QLabel Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLabel Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLabel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLabel Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QLabel( void * pObj ) p->ph = pObj; p->func = release_QLabel; new( & p->pq ) QPointer< QLabel >( ( QLabel * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLabel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLabel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QLineEdit.cpp b/harbour/contrib/hbqt/qtgui/QLineEdit.cpp index 703f9e6eb0..086f2ceae3 100644 --- a/harbour/contrib/hbqt/qtgui/QLineEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/QLineEdit.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QLineEdit ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLineEdit Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLineEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QLineEdit Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLineEdit Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QLineEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QLineEdit Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLineEdit Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLineEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLineEdit Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QLineEdit( void * pObj ) p->ph = pObj; p->func = release_QLineEdit; new( & p->pq ) QPointer< QLineEdit >( ( QLineEdit * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLineEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLineEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QLinearGradient.cpp b/harbour/contrib/hbqt/qtgui/QLinearGradient.cpp index 8da35c0d53..bc984fb903 100644 --- a/harbour/contrib/hbqt/qtgui/QLinearGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/QLinearGradient.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QLinearGradient ) { delete ( ( QLinearGradient * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QLinearGradient Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QLinearGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QLinearGradient Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QLinearGradient Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QLinearGradient" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QLinearGradient Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QLinearGradient( void * pObj ) p->ph = pObj; p->func = release_QLinearGradient; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QLinearGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QLinearGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QListView.cpp b/harbour/contrib/hbqt/qtgui/QListView.cpp index 0ebf11230a..efb9f76bde 100644 --- a/harbour/contrib/hbqt/qtgui/QListView.cpp +++ b/harbour/contrib/hbqt/qtgui/QListView.cpp @@ -116,25 +116,16 @@ QT_G_FUNC( release_QListView ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QListView Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QListView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QListView Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QListView Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QListView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QListView Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QListView Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QListView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QListView Object Allready deleted!" ) ); } } @@ -145,9 +136,7 @@ void * gcAllocate_QListView( void * pObj ) p->ph = pObj; p->func = release_QListView; new( & p->pq ) QPointer< QListView >( ( QListView * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QListView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QListView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QListWidget.cpp b/harbour/contrib/hbqt/qtgui/QListWidget.cpp index 9354c87cf6..14ea1a3ff1 100644 --- a/harbour/contrib/hbqt/qtgui/QListWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QListWidget.cpp @@ -118,25 +118,16 @@ QT_G_FUNC( release_QListWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QListWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QListWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QListWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QListWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QListWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QListWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QListWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QListWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QListWidget Object Allready deleted!" ) ); } } @@ -147,9 +138,7 @@ void * gcAllocate_QListWidget( void * pObj ) p->ph = pObj; p->func = release_QListWidget; new( & p->pq ) QPointer< QListWidget >( ( QListWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QListWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QListWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp index c113ea2a6e..7f299c41c3 100644 --- a/harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QListWidgetItem ) { delete ( ( QListWidgetItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QListWidgetItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QListWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QListWidgetItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QListWidgetItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QListWidgetItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QListWidgetItem Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QListWidgetItem( void * pObj ) p->ph = pObj; p->func = release_QListWidgetItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QListWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QListWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMainWindow.cpp b/harbour/contrib/hbqt/qtgui/QMainWindow.cpp index fe500ccbe7..90afbac3d9 100644 --- a/harbour/contrib/hbqt/qtgui/QMainWindow.cpp +++ b/harbour/contrib/hbqt/qtgui/QMainWindow.cpp @@ -122,25 +122,16 @@ QT_G_FUNC( release_QMainWindow ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMainWindow Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMainWindow %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QMainWindow Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMainWindow Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QMainWindow" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QMainWindow Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMainWindow Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMainWindow" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMainWindow Object Allready deleted!" ) ); } } @@ -151,9 +142,7 @@ void * gcAllocate_QMainWindow( void * pObj ) p->ph = pObj; p->func = release_QMainWindow; new( & p->pq ) QPointer< QMainWindow >( ( QMainWindow * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMainWindow %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMainWindow %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMatrix.cpp b/harbour/contrib/hbqt/qtgui/QMatrix.cpp index 811f9432a8..3647dce0e0 100644 --- a/harbour/contrib/hbqt/qtgui/QMatrix.cpp +++ b/harbour/contrib/hbqt/qtgui/QMatrix.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QMatrix ) { delete ( ( QMatrix * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMatrix Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMatrix %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QMatrix Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMatrix Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMatrix" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMatrix Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QMatrix( void * pObj ) p->ph = pObj; p->func = release_QMatrix; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMatrix %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMatrix %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMenu.cpp b/harbour/contrib/hbqt/qtgui/QMenu.cpp index 94cbe4d07a..5e88a49d5f 100644 --- a/harbour/contrib/hbqt/qtgui/QMenu.cpp +++ b/harbour/contrib/hbqt/qtgui/QMenu.cpp @@ -119,25 +119,16 @@ QT_G_FUNC( release_QMenu ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMenu Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMenu %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QMenu Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMenu Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QMenu" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QMenu Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMenu Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMenu" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMenu Object Allready deleted!" ) ); } } @@ -148,9 +139,7 @@ void * gcAllocate_QMenu( void * pObj ) p->ph = pObj; p->func = release_QMenu; new( & p->pq ) QPointer< QMenu >( ( QMenu * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMenu %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMenu %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMenuBar.cpp b/harbour/contrib/hbqt/qtgui/QMenuBar.cpp index 809cc7bddd..b09219b37e 100644 --- a/harbour/contrib/hbqt/qtgui/QMenuBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QMenuBar.cpp @@ -122,25 +122,16 @@ QT_G_FUNC( release_QMenuBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMenuBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QMenuBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QMenuBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMenuBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMenuBar Object Allready deleted!" ) ); } } @@ -151,9 +142,7 @@ void * gcAllocate_QMenuBar( void * pObj ) p->ph = pObj; p->func = release_QMenuBar; new( & p->pq ) QPointer< QMenuBar >( ( QMenuBar * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMenuBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMenuBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMessageBox.cpp b/harbour/contrib/hbqt/qtgui/QMessageBox.cpp index 706b4d188c..76c29f1ef3 100644 --- a/harbour/contrib/hbqt/qtgui/QMessageBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QMessageBox.cpp @@ -125,25 +125,16 @@ QT_G_FUNC( release_QMessageBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMessageBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMessageBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QMessageBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMessageBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QMessageBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QMessageBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMessageBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMessageBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMessageBox Object Allready deleted!" ) ); } } @@ -154,9 +145,7 @@ void * gcAllocate_QMessageBox( void * pObj ) p->ph = pObj; p->func = release_QMessageBox; new( & p->pq ) QPointer< QMessageBox >( ( QMessageBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMessageBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMessageBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMouseEvent.cpp b/harbour/contrib/hbqt/qtgui/QMouseEvent.cpp index c30915ee66..c447214faa 100644 --- a/harbour/contrib/hbqt/qtgui/QMouseEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/QMouseEvent.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QMouseEvent ) { delete ( ( QMouseEvent * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMouseEvent Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMouseEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QMouseEvent Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMouseEvent Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMouseEvent" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMouseEvent Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QMouseEvent( void * pObj ) p->ph = pObj; p->func = release_QMouseEvent; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMouseEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMouseEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QMovie.cpp b/harbour/contrib/hbqt/qtgui/QMovie.cpp index a358b12df3..e20077b13a 100644 --- a/harbour/contrib/hbqt/qtgui/QMovie.cpp +++ b/harbour/contrib/hbqt/qtgui/QMovie.cpp @@ -116,25 +116,16 @@ QT_G_FUNC( release_QMovie ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMovie Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QMovie %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QMovie Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMovie Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QMovie" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QMovie Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QMovie Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QMovie" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMovie Object Allready deleted!" ) ); } } @@ -145,9 +136,7 @@ void * gcAllocate_QMovie( void * pObj ) p->ph = pObj; p->func = release_QMovie; new( & p->pq ) QPointer< QMovie >( ( QMovie * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QMovie %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QMovie %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp b/harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp index 763ad0528c..cd262ad79c 100644 --- a/harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QPageSetupDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPageSetupDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPageSetupDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QPageSetupDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPageSetupDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QPageSetupDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QPageSetupDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPageSetupDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPageSetupDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPageSetupDialog Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QPageSetupDialog( void * pObj ) p->ph = pObj; p->func = release_QPageSetupDialog; new( & p->pq ) QPointer< QPageSetupDialog >( ( QPageSetupDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPageSetupDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPageSetupDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPaintEvent.cpp b/harbour/contrib/hbqt/qtgui/QPaintEvent.cpp index edcbed344b..a555bc6d80 100644 --- a/harbour/contrib/hbqt/qtgui/QPaintEvent.cpp +++ b/harbour/contrib/hbqt/qtgui/QPaintEvent.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QPaintEvent ) { delete ( ( QPaintEvent * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPaintEvent Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPaintEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPaintEvent Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPaintEvent Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPaintEvent" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPaintEvent Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QPaintEvent( void * pObj ) p->ph = pObj; p->func = release_QPaintEvent; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPaintEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPaintEvent %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPainter.cpp b/harbour/contrib/hbqt/qtgui/QPainter.cpp index fd638f6e57..8deb843bae 100644 --- a/harbour/contrib/hbqt/qtgui/QPainter.cpp +++ b/harbour/contrib/hbqt/qtgui/QPainter.cpp @@ -107,17 +107,11 @@ QT_G_FUNC( release_QPainter ) { delete ( ( QPainter * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPainter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPainter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPainter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPainter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPainter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPainter Object Allready deleted!" ) ); } } @@ -127,9 +121,7 @@ void * gcAllocate_QPainter( void * pObj ) p->ph = pObj; p->func = release_QPainter; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPainter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPainter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPainterPath.cpp b/harbour/contrib/hbqt/qtgui/QPainterPath.cpp index 222e923db4..036bc63e82 100644 --- a/harbour/contrib/hbqt/qtgui/QPainterPath.cpp +++ b/harbour/contrib/hbqt/qtgui/QPainterPath.cpp @@ -108,17 +108,11 @@ QT_G_FUNC( release_QPainterPath ) { delete ( ( QPainterPath * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPainterPath Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPainterPath %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPainterPath Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPainterPath Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPainterPath" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPainterPath Object Allready deleted!" ) ); } } @@ -128,9 +122,7 @@ void * gcAllocate_QPainterPath( void * pObj ) p->ph = pObj; p->func = release_QPainterPath; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPainterPath %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPainterPath %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPalette.cpp b/harbour/contrib/hbqt/qtgui/QPalette.cpp index 786b80c52a..6e98a199fe 100644 --- a/harbour/contrib/hbqt/qtgui/QPalette.cpp +++ b/harbour/contrib/hbqt/qtgui/QPalette.cpp @@ -97,17 +97,11 @@ QT_G_FUNC( release_QPalette ) { delete ( ( QPalette * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPalette Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPalette %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPalette Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPalette Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPalette" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPalette Object Allready deleted!" ) ); } } @@ -117,9 +111,7 @@ void * gcAllocate_QPalette( void * pObj ) p->ph = pObj; p->func = release_QPalette; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPalette %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPalette %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPen.cpp b/harbour/contrib/hbqt/qtgui/QPen.cpp index 8043e4d6ed..6d60d792f9 100644 --- a/harbour/contrib/hbqt/qtgui/QPen.cpp +++ b/harbour/contrib/hbqt/qtgui/QPen.cpp @@ -101,17 +101,11 @@ QT_G_FUNC( release_QPen ) { delete ( ( QPen * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPen Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPen %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPen Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPen Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPen" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPen Object Allready deleted!" ) ); } } @@ -121,9 +115,7 @@ void * gcAllocate_QPen( void * pObj ) p->ph = pObj; p->func = release_QPen; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPen %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPen %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPicture.cpp b/harbour/contrib/hbqt/qtgui/QPicture.cpp index d5748d2493..10117391bb 100644 --- a/harbour/contrib/hbqt/qtgui/QPicture.cpp +++ b/harbour/contrib/hbqt/qtgui/QPicture.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QPicture ) { delete ( ( QPicture * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPicture Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPicture %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPicture Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPicture Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPicture" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPicture Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QPicture( void * pObj ) p->ph = pObj; p->func = release_QPicture; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPicture %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPicture %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPixmap.cpp b/harbour/contrib/hbqt/qtgui/QPixmap.cpp index a5f39ca7ea..e7c30308ae 100644 --- a/harbour/contrib/hbqt/qtgui/QPixmap.cpp +++ b/harbour/contrib/hbqt/qtgui/QPixmap.cpp @@ -97,17 +97,11 @@ QT_G_FUNC( release_QPixmap ) { delete ( ( QPixmap * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPixmap Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPixmap %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPixmap Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPixmap Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPixmap" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPixmap Object Allready deleted!" ) ); } } @@ -117,9 +111,7 @@ void * gcAllocate_QPixmap( void * pObj ) p->ph = pObj; p->func = release_QPixmap; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPixmap %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPixmap %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp b/harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp index 1acb515438..c7d51258af 100644 --- a/harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp @@ -128,25 +128,16 @@ QT_G_FUNC( release_QPlainTextEdit ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPlainTextEdit Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPlainTextEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QPlainTextEdit Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPlainTextEdit Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QPlainTextEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QPlainTextEdit Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPlainTextEdit Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPlainTextEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPlainTextEdit Object Allready deleted!" ) ); } } @@ -157,9 +148,7 @@ void * gcAllocate_QPlainTextEdit( void * pObj ) p->ph = pObj; p->func = release_QPlainTextEdit; new( & p->pq ) QPointer< QPlainTextEdit >( ( QPlainTextEdit * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPlainTextEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPlainTextEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPolygon.cpp b/harbour/contrib/hbqt/qtgui/QPolygon.cpp index 37976fe96e..fa114fd6c1 100644 --- a/harbour/contrib/hbqt/qtgui/QPolygon.cpp +++ b/harbour/contrib/hbqt/qtgui/QPolygon.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QPolygon ) { delete ( ( QPolygon * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPolygon Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPolygon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPolygon Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPolygon Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPolygon" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPolygon Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QPolygon( void * pObj ) p->ph = pObj; p->func = release_QPolygon; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPolygon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPolygon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPolygonF.cpp b/harbour/contrib/hbqt/qtgui/QPolygonF.cpp index aa9e35d432..a547dcb3a2 100644 --- a/harbour/contrib/hbqt/qtgui/QPolygonF.cpp +++ b/harbour/contrib/hbqt/qtgui/QPolygonF.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QPolygonF ) { delete ( ( QPolygonF * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPolygonF Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPolygonF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPolygonF Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPolygonF Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPolygonF" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPolygonF Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QPolygonF( void * pObj ) p->ph = pObj; p->func = release_QPolygonF; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPolygonF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPolygonF %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPrintDialog.cpp b/harbour/contrib/hbqt/qtgui/QPrintDialog.cpp index 8f97d92fac..e9cce8b32f 100644 --- a/harbour/contrib/hbqt/qtgui/QPrintDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QPrintDialog.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QPrintDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPrintDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPrintDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QPrintDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPrintDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QPrintDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QPrintDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPrintDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPrintDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPrintDialog Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QPrintDialog( void * pObj ) p->ph = pObj; p->func = release_QPrintDialog; new( & p->pq ) QPointer< QPrintDialog >( ( QPrintDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPrintDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPrintDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp b/harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp index 262ad75873..7cfff76a0f 100644 --- a/harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QPrintPreviewDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPrintPreviewDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPrintPreviewDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QPrintPreviewDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPrintPreviewDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QPrintPreviewDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QPrintPreviewDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPrintPreviewDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPrintPreviewDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPrintPreviewDialog Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QPrintPreviewDialog( void * pObj ) p->ph = pObj; p->func = release_QPrintPreviewDialog; new( & p->pq ) QPointer< QPrintPreviewDialog >( ( QPrintPreviewDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPrintPreviewDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPrintPreviewDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPrinter.cpp b/harbour/contrib/hbqt/qtgui/QPrinter.cpp index f5298d8ade..482e589fa5 100644 --- a/harbour/contrib/hbqt/qtgui/QPrinter.cpp +++ b/harbour/contrib/hbqt/qtgui/QPrinter.cpp @@ -119,17 +119,11 @@ QT_G_FUNC( release_QPrinter ) { delete ( ( QPrinter * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPrinter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPrinter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QPrinter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPrinter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPrinter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPrinter Object Allready deleted!" ) ); } } @@ -139,9 +133,7 @@ void * gcAllocate_QPrinter( void * pObj ) p->ph = pObj; p->func = release_QPrinter; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPrinter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPrinter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QProgressBar.cpp b/harbour/contrib/hbqt/qtgui/QProgressBar.cpp index 7d1c7ad38b..a1e52c3ac5 100644 --- a/harbour/contrib/hbqt/qtgui/QProgressBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QProgressBar.cpp @@ -111,25 +111,16 @@ QT_G_FUNC( release_QProgressBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QProgressBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QProgressBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QProgressBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QProgressBar Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QProgressBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QProgressBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QProgressBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QProgressBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QProgressBar Object Allready deleted!" ) ); } } @@ -140,9 +131,7 @@ void * gcAllocate_QProgressBar( void * pObj ) p->ph = pObj; p->func = release_QProgressBar; new( & p->pq ) QPointer< QProgressBar >( ( QProgressBar * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QProgressBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QProgressBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QProgressDialog.cpp b/harbour/contrib/hbqt/qtgui/QProgressDialog.cpp index 533aed4eba..2109427d95 100644 --- a/harbour/contrib/hbqt/qtgui/QProgressDialog.cpp +++ b/harbour/contrib/hbqt/qtgui/QProgressDialog.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QProgressDialog ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QProgressDialog Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QProgressDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QProgressDialog Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QProgressDialog Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QProgressDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QProgressDialog Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QProgressDialog Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QProgressDialog" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QProgressDialog Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QProgressDialog( void * pObj ) p->ph = pObj; p->func = release_QProgressDialog; new( & p->pq ) QPointer< QProgressDialog >( ( QProgressDialog * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QProgressDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QProgressDialog %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QPushButton.cpp b/harbour/contrib/hbqt/qtgui/QPushButton.cpp index a78154bcd4..3d89d85216 100644 --- a/harbour/contrib/hbqt/qtgui/QPushButton.cpp +++ b/harbour/contrib/hbqt/qtgui/QPushButton.cpp @@ -110,25 +110,16 @@ QT_G_FUNC( release_QPushButton ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QPushButton Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QPushButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QPushButton Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPushButton Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QPushButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QPushButton Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QPushButton Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QPushButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QPushButton Object Allready deleted!" ) ); } } @@ -139,9 +130,7 @@ void * gcAllocate_QPushButton( void * pObj ) p->ph = pObj; p->func = release_QPushButton; new( & p->pq ) QPointer< QPushButton >( ( QPushButton * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QPushButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QPushButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QRadialGradient.cpp b/harbour/contrib/hbqt/qtgui/QRadialGradient.cpp index 0214856a72..fee0a9c38d 100644 --- a/harbour/contrib/hbqt/qtgui/QRadialGradient.cpp +++ b/harbour/contrib/hbqt/qtgui/QRadialGradient.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QRadialGradient ) { delete ( ( QRadialGradient * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QRadialGradient Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QRadialGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QRadialGradient Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRadialGradient Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QRadialGradient" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QRadialGradient Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QRadialGradient( void * pObj ) p->ph = pObj; p->func = release_QRadialGradient; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QRadialGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QRadialGradient %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QRadioButton.cpp b/harbour/contrib/hbqt/qtgui/QRadioButton.cpp index 7b49f94b32..4c3287ba7a 100644 --- a/harbour/contrib/hbqt/qtgui/QRadioButton.cpp +++ b/harbour/contrib/hbqt/qtgui/QRadioButton.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QRadioButton ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QRadioButton Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QRadioButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QRadioButton Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRadioButton Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QRadioButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QRadioButton Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRadioButton Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QRadioButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QRadioButton Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QRadioButton( void * pObj ) p->ph = pObj; p->func = release_QRadioButton; new( & p->pq ) QPointer< QRadioButton >( ( QRadioButton * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QRadioButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QRadioButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QRegion.cpp b/harbour/contrib/hbqt/qtgui/QRegion.cpp index a8ea6bbcf5..4bf79bed73 100644 --- a/harbour/contrib/hbqt/qtgui/QRegion.cpp +++ b/harbour/contrib/hbqt/qtgui/QRegion.cpp @@ -109,17 +109,11 @@ QT_G_FUNC( release_QRegion ) { delete ( ( QRegion * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QRegion Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QRegion %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QRegion Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QRegion Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QRegion" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QRegion Object Allready deleted!" ) ); } } @@ -129,9 +123,7 @@ void * gcAllocate_QRegion( void * pObj ) p->ph = pObj; p->func = release_QRegion; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QRegion %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QRegion %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QScrollArea.cpp b/harbour/contrib/hbqt/qtgui/QScrollArea.cpp index 386eabffe0..74fe721eed 100644 --- a/harbour/contrib/hbqt/qtgui/QScrollArea.cpp +++ b/harbour/contrib/hbqt/qtgui/QScrollArea.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QScrollArea ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QScrollArea Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QScrollArea %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QScrollArea Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QScrollArea Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QScrollArea" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QScrollArea Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QScrollArea Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QScrollArea" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QScrollArea Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QScrollArea( void * pObj ) p->ph = pObj; p->func = release_QScrollArea; new( & p->pq ) QPointer< QScrollArea >( ( QScrollArea * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QScrollArea %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QScrollArea %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QScrollBar.cpp b/harbour/contrib/hbqt/qtgui/QScrollBar.cpp index c50e245b89..5eae7b6095 100644 --- a/harbour/contrib/hbqt/qtgui/QScrollBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QScrollBar.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QScrollBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QScrollBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QScrollBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QScrollBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QScrollBar Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QScrollBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QScrollBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QScrollBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QScrollBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QScrollBar Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QScrollBar( void * pObj ) p->ph = pObj; p->func = release_QScrollBar; new( & p->pq ) QPointer< QScrollBar >( ( QScrollBar * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QScrollBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QScrollBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSizeGrip.cpp b/harbour/contrib/hbqt/qtgui/QSizeGrip.cpp index a4ea51fab6..397ea3b0e7 100644 --- a/harbour/contrib/hbqt/qtgui/QSizeGrip.cpp +++ b/harbour/contrib/hbqt/qtgui/QSizeGrip.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QSizeGrip ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSizeGrip Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSizeGrip %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSizeGrip Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSizeGrip Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSizeGrip" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSizeGrip Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSizeGrip Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSizeGrip" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSizeGrip Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QSizeGrip( void * pObj ) p->ph = pObj; p->func = release_QSizeGrip; new( & p->pq ) QPointer< QSizeGrip >( ( QSizeGrip * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSizeGrip %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSizeGrip %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSizePolicy.cpp b/harbour/contrib/hbqt/qtgui/QSizePolicy.cpp index e11316565c..f8d364812c 100644 --- a/harbour/contrib/hbqt/qtgui/QSizePolicy.cpp +++ b/harbour/contrib/hbqt/qtgui/QSizePolicy.cpp @@ -95,17 +95,11 @@ QT_G_FUNC( release_QSizePolicy ) { delete ( ( QSizePolicy * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSizePolicy Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSizePolicy %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QSizePolicy Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSizePolicy Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSizePolicy" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSizePolicy Object Allready deleted!" ) ); } } @@ -115,9 +109,7 @@ void * gcAllocate_QSizePolicy( void * pObj ) p->ph = pObj; p->func = release_QSizePolicy; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSizePolicy %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSizePolicy %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSlider.cpp b/harbour/contrib/hbqt/qtgui/QSlider.cpp index f0356b8f93..d71c1a5f10 100644 --- a/harbour/contrib/hbqt/qtgui/QSlider.cpp +++ b/harbour/contrib/hbqt/qtgui/QSlider.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QSlider ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSlider Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSlider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSlider Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSlider Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSlider" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSlider Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSlider Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSlider" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSlider Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QSlider( void * pObj ) p->ph = pObj; p->func = release_QSlider; new( & p->pq ) QPointer< QSlider >( ( QSlider * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSlider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSlider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSound.cpp b/harbour/contrib/hbqt/qtgui/QSound.cpp index ef6d9b3088..789216976b 100644 --- a/harbour/contrib/hbqt/qtgui/QSound.cpp +++ b/harbour/contrib/hbqt/qtgui/QSound.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QSound ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSound Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSound %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSound Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSound Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSound" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSound Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSound Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSound" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSound Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QSound( void * pObj ) p->ph = pObj; p->func = release_QSound; new( & p->pq ) QPointer< QSound >( ( QSound * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSound %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSound %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSpacerItem.cpp b/harbour/contrib/hbqt/qtgui/QSpacerItem.cpp index 635cdde1f6..0c7944cfa2 100644 --- a/harbour/contrib/hbqt/qtgui/QSpacerItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QSpacerItem.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QSpacerItem ) { delete ( ( QSpacerItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSpacerItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSpacerItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QSpacerItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSpacerItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSpacerItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSpacerItem Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QSpacerItem( void * pObj ) p->ph = pObj; p->func = release_QSpacerItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSpacerItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSpacerItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSpinBox.cpp b/harbour/contrib/hbqt/qtgui/QSpinBox.cpp index c3721291f0..6f9c190f69 100644 --- a/harbour/contrib/hbqt/qtgui/QSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QSpinBox.cpp @@ -107,25 +107,16 @@ QT_G_FUNC( release_QSpinBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSpinBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSpinBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSpinBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSpinBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSpinBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSpinBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSpinBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSpinBox Object Allready deleted!" ) ); } } @@ -136,9 +127,7 @@ void * gcAllocate_QSpinBox( void * pObj ) p->ph = pObj; p->func = release_QSpinBox; new( & p->pq ) QPointer< QSpinBox >( ( QSpinBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSplashScreen.cpp b/harbour/contrib/hbqt/qtgui/QSplashScreen.cpp index 6d27c0b9b4..0436dcb8a4 100644 --- a/harbour/contrib/hbqt/qtgui/QSplashScreen.cpp +++ b/harbour/contrib/hbqt/qtgui/QSplashScreen.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QSplashScreen ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSplashScreen Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSplashScreen %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSplashScreen Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSplashScreen Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSplashScreen" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSplashScreen Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSplashScreen Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSplashScreen" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSplashScreen Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QSplashScreen( void * pObj ) p->ph = pObj; p->func = release_QSplashScreen; new( & p->pq ) QPointer< QSplashScreen >( ( QSplashScreen * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSplashScreen %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSplashScreen %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSplitter.cpp b/harbour/contrib/hbqt/qtgui/QSplitter.cpp index 8bee8eba47..bbeea05b9a 100644 --- a/harbour/contrib/hbqt/qtgui/QSplitter.cpp +++ b/harbour/contrib/hbqt/qtgui/QSplitter.cpp @@ -119,25 +119,16 @@ QT_G_FUNC( release_QSplitter ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSplitter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSplitter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSplitter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSplitter Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSplitter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSplitter Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSplitter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSplitter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSplitter Object Allready deleted!" ) ); } } @@ -148,9 +139,7 @@ void * gcAllocate_QSplitter( void * pObj ) p->ph = pObj; p->func = release_QSplitter; new( & p->pq ) QPointer< QSplitter >( ( QSplitter * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSplitter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSplitter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStandardItem.cpp b/harbour/contrib/hbqt/qtgui/QStandardItem.cpp index ccf1d7dec2..567342ecc8 100644 --- a/harbour/contrib/hbqt/qtgui/QStandardItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QStandardItem.cpp @@ -110,17 +110,11 @@ QT_G_FUNC( release_QStandardItem ) { delete ( ( QStandardItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStandardItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStandardItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStandardItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStandardItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStandardItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStandardItem Object Allready deleted!" ) ); } } @@ -130,9 +124,7 @@ void * gcAllocate_QStandardItem( void * pObj ) p->ph = pObj; p->func = release_QStandardItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStandardItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStandardItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp b/harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp index 9d62067231..9554f8bc21 100644 --- a/harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp +++ b/harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp @@ -124,25 +124,16 @@ QT_G_FUNC( release_QStandardItemModel ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStandardItemModel Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStandardItemModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QStandardItemModel Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStandardItemModel Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QStandardItemModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QStandardItemModel Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStandardItemModel Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStandardItemModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStandardItemModel Object Allready deleted!" ) ); } } @@ -153,9 +144,7 @@ void * gcAllocate_QStandardItemModel( void * pObj ) p->ph = pObj; p->func = release_QStandardItemModel; new( & p->pq ) QPointer< QStandardItemModel >( ( QStandardItemModel * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStandardItemModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStandardItemModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStatusBar.cpp b/harbour/contrib/hbqt/qtgui/QStatusBar.cpp index f318b0b7c1..9d215161d3 100644 --- a/harbour/contrib/hbqt/qtgui/QStatusBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QStatusBar.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QStatusBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStatusBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStatusBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QStatusBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStatusBar Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QStatusBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QStatusBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStatusBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStatusBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStatusBar Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QStatusBar( void * pObj ) p->ph = pObj; p->func = release_QStatusBar; new( & p->pq ) QPointer< QStatusBar >( ( QStatusBar * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStatusBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStatusBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStringListModel.cpp b/harbour/contrib/hbqt/qtgui/QStringListModel.cpp index e624be9cea..f16f176a14 100644 --- a/harbour/contrib/hbqt/qtgui/QStringListModel.cpp +++ b/harbour/contrib/hbqt/qtgui/QStringListModel.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QStringListModel ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStringListModel Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStringListModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QStringListModel Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStringListModel Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QStringListModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QStringListModel Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStringListModel Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStringListModel" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStringListModel Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QStringListModel( void * pObj ) p->ph = pObj; p->func = release_QStringListModel; new( & p->pq ) QPointer< QStringListModel >( ( QStringListModel * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStringListModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStringListModel %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleFactory.cpp b/harbour/contrib/hbqt/qtgui/QStyleFactory.cpp index 86bf07a6a2..54900d42f6 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleFactory.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleFactory.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QStyleFactory ) { delete ( ( QStyleFactory * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleFactory Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleFactory %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleFactory Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleFactory Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleFactory" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleFactory Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QStyleFactory( void * pObj ) p->ph = pObj; p->func = release_QStyleFactory; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleFactory %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleFactory %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOption.cpp b/harbour/contrib/hbqt/qtgui/QStyleOption.cpp index 404ffc62b5..e17feff9f1 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOption.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOption.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QStyleOption ) { delete ( ( QStyleOption * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOption Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOption %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOption Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOption Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOption" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOption Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QStyleOption( void * pObj ) p->ph = pObj; p->func = release_QStyleOption; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOption %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOption %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp index 45d8e61f41..d5a23af5ea 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QStyleOptionButton ) { delete ( ( QStyleOptionButton * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionButton Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionButton Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionButton Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionButton Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QStyleOptionButton( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionButton; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp index dafef02fa9..fa53447b04 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionComboBox ) { delete ( ( QStyleOptionComboBox * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionComboBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionComboBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionComboBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionComboBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionComboBox Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionComboBox( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionComboBox; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionComboBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp index 820b4687ba..b3f6450cea 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionComplex ) { delete ( ( QStyleOptionComplex * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionComplex Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionComplex %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionComplex Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionComplex Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionComplex" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionComplex Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionComplex( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionComplex; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionComplex %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionComplex %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp index 143f9c39bb..16198f91b9 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionDockWidget ) { delete ( ( QStyleOptionDockWidget * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionDockWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionDockWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionDockWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionDockWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionDockWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionDockWidget Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionDockWidget( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionDockWidget; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionDockWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionDockWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp index edf7c9e117..19cbc56623 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionFocusRect ) { delete ( ( QStyleOptionFocusRect * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionFocusRect Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionFocusRect %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionFocusRect Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionFocusRect Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionFocusRect" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionFocusRect Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionFocusRect( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionFocusRect; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionFocusRect %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionFocusRect %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp index 358dd0a891..51c83ef38e 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionFrame ) { delete ( ( QStyleOptionFrame * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionFrame Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionFrame Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionFrame Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionFrame Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionFrame( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionFrame; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp index d19f41258a..c63c0bdb28 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionGroupBox ) { delete ( ( QStyleOptionGroupBox * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionGroupBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionGroupBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionGroupBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionGroupBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionGroupBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionGroupBox Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionGroupBox( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionGroupBox; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionGroupBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionGroupBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp index 8afb94d45f..64d21ed72b 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp @@ -95,17 +95,11 @@ QT_G_FUNC( release_QStyleOptionHeader ) { delete ( ( QStyleOptionHeader * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionHeader Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionHeader Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionHeader Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionHeader" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionHeader Object Allready deleted!" ) ); } } @@ -115,9 +109,7 @@ void * gcAllocate_QStyleOptionHeader( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionHeader; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp index 53bab38f41..215f49742d 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QStyleOptionMenuItem ) { delete ( ( QStyleOptionMenuItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionMenuItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionMenuItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionMenuItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionMenuItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionMenuItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionMenuItem Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QStyleOptionMenuItem( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionMenuItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionMenuItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionMenuItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp index 605071bdae..0eca05159b 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp @@ -93,17 +93,11 @@ QT_G_FUNC( release_QStyleOptionProgressBar ) { delete ( ( QStyleOptionProgressBar * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionProgressBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionProgressBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionProgressBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionProgressBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionProgressBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionProgressBar Object Allready deleted!" ) ); } } @@ -113,9 +107,7 @@ void * gcAllocate_QStyleOptionProgressBar( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionProgressBar; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionProgressBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionProgressBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp index 3d94b28e31..805dfd5c6a 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionSizeGrip ) { delete ( ( QStyleOptionSizeGrip * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionSizeGrip Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionSizeGrip %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionSizeGrip Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionSizeGrip Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionSizeGrip" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionSizeGrip Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionSizeGrip( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionSizeGrip; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionSizeGrip %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionSizeGrip %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp index 8fa81b56c2..8f75b58d98 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionSlider ) { delete ( ( QStyleOptionSlider * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionSlider Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionSlider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionSlider Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionSlider Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionSlider" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionSlider Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionSlider( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionSlider; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionSlider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionSlider %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp index 2f0f40b141..d086d47522 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionSpinBox ) { delete ( ( QStyleOptionSpinBox * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionSpinBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionSpinBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionSpinBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionSpinBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionSpinBox Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionSpinBox( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionSpinBox; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionSpinBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp index 474eeeba21..d99db6d589 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QStyleOptionTab ) { delete ( ( QStyleOptionTab * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTab Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionTab %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionTab Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTab Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionTab" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionTab Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QStyleOptionTab( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionTab; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionTab %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionTab %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp index 749b35d3e4..49f7bcf3de 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionTabBarBase ) { delete ( ( QStyleOptionTabBarBase * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTabBarBase Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionTabBarBase %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionTabBarBase Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTabBarBase Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionTabBarBase" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionTabBarBase Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionTabBarBase( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionTabBarBase; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionTabBarBase %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionTabBarBase %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp index 6c62be47b8..a00df28792 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionTabWidgetFrame ) { delete ( ( QStyleOptionTabWidgetFrame * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTabWidgetFrame Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionTabWidgetFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionTabWidgetFrame Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTabWidgetFrame Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionTabWidgetFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionTabWidgetFrame Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionTabWidgetFrame( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionTabWidgetFrame; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionTabWidgetFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionTabWidgetFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp index 1d8a8725ad..24def75f77 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionTitleBar ) { delete ( ( QStyleOptionTitleBar * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTitleBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionTitleBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionTitleBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionTitleBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionTitleBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionTitleBar Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionTitleBar( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionTitleBar; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionTitleBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionTitleBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp index 35cbd9c540..56f26aa8ca 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp @@ -95,17 +95,11 @@ QT_G_FUNC( release_QStyleOptionToolBar ) { delete ( ( QStyleOptionToolBar * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionToolBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionToolBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionToolBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionToolBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionToolBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionToolBar Object Allready deleted!" ) ); } } @@ -115,9 +109,7 @@ void * gcAllocate_QStyleOptionToolBar( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionToolBar; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionToolBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionToolBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp index 11c24f9e77..04411fa321 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QStyleOptionToolBox ) { delete ( ( QStyleOptionToolBox * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionToolBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionToolBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionToolBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionToolBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionToolBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionToolBox Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QStyleOptionToolBox( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionToolBox; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionToolBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionToolBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp index acc6ea9031..9d3824d3eb 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QStyleOptionToolButton ) { delete ( ( QStyleOptionToolButton * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionToolButton Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionToolButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionToolButton Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionToolButton Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionToolButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionToolButton Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QStyleOptionToolButton( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionToolButton; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionToolButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionToolButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp b/harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp index ddb9b54c59..0dca9dfa2e 100644 --- a/harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp @@ -93,17 +93,11 @@ QT_G_FUNC( release_QStyleOptionViewItem ) { delete ( ( QStyleOptionViewItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionViewItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyleOptionViewItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStyleOptionViewItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyleOptionViewItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyleOptionViewItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyleOptionViewItem Object Allready deleted!" ) ); } } @@ -113,9 +107,7 @@ void * gcAllocate_QStyleOptionViewItem( void * pObj ) p->ph = pObj; p->func = release_QStyleOptionViewItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyleOptionViewItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyleOptionViewItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStylePainter.cpp b/harbour/contrib/hbqt/qtgui/QStylePainter.cpp index 4408c3f05a..fa0e453aee 100644 --- a/harbour/contrib/hbqt/qtgui/QStylePainter.cpp +++ b/harbour/contrib/hbqt/qtgui/QStylePainter.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QStylePainter ) { delete ( ( QStylePainter * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStylePainter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStylePainter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QStylePainter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStylePainter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStylePainter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStylePainter Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QStylePainter( void * pObj ) p->ph = pObj; p->func = release_QStylePainter; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStylePainter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStylePainter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp b/harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp index 4c2b0a0a2e..c6bd2d8845 100644 --- a/harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp +++ b/harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QStyledItemDelegate ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QStyledItemDelegate Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QStyledItemDelegate %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QStyledItemDelegate Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyledItemDelegate Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QStyledItemDelegate" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QStyledItemDelegate Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QStyledItemDelegate Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QStyledItemDelegate" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QStyledItemDelegate Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QStyledItemDelegate( void * pObj ) p->ph = pObj; p->func = release_QStyledItemDelegate; new( & p->pq ) QPointer< QStyledItemDelegate >( ( QStyledItemDelegate * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QStyledItemDelegate %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QStyledItemDelegate %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp b/harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp index 249189d9f6..5b6ac426c0 100644 --- a/harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp +++ b/harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp @@ -110,25 +110,16 @@ QT_G_FUNC( release_QSyntaxHighlighter ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSyntaxHighlighter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSyntaxHighlighter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSyntaxHighlighter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSyntaxHighlighter Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSyntaxHighlighter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSyntaxHighlighter Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSyntaxHighlighter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSyntaxHighlighter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSyntaxHighlighter Object Allready deleted!" ) ); } } @@ -139,9 +130,7 @@ void * gcAllocate_QSyntaxHighlighter( void * pObj ) p->ph = pObj; p->func = release_QSyntaxHighlighter; new( & p->pq ) QPointer< QSyntaxHighlighter >( ( QSyntaxHighlighter * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSyntaxHighlighter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSyntaxHighlighter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp b/harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp index 04d087fa00..e1ca5d7a65 100644 --- a/harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp +++ b/harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp @@ -114,25 +114,16 @@ QT_G_FUNC( release_QSystemTrayIcon ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QSystemTrayIcon Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QSystemTrayIcon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QSystemTrayIcon Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSystemTrayIcon Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QSystemTrayIcon" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QSystemTrayIcon Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QSystemTrayIcon Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QSystemTrayIcon" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QSystemTrayIcon Object Allready deleted!" ) ); } } @@ -143,9 +134,7 @@ void * gcAllocate_QSystemTrayIcon( void * pObj ) p->ph = pObj; p->func = release_QSystemTrayIcon; new( & p->pq ) QPointer< QSystemTrayIcon >( ( QSystemTrayIcon * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QSystemTrayIcon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QSystemTrayIcon %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTabBar.cpp b/harbour/contrib/hbqt/qtgui/QTabBar.cpp index 655f194198..66fd76916b 100644 --- a/harbour/contrib/hbqt/qtgui/QTabBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QTabBar.cpp @@ -115,25 +115,16 @@ QT_G_FUNC( release_QTabBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTabBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTabBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTabBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTabBar Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTabBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTabBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTabBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTabBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTabBar Object Allready deleted!" ) ); } } @@ -144,9 +135,7 @@ void * gcAllocate_QTabBar( void * pObj ) p->ph = pObj; p->func = release_QTabBar; new( & p->pq ) QPointer< QTabBar >( ( QTabBar * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTabBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTabBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTabWidget.cpp b/harbour/contrib/hbqt/qtgui/QTabWidget.cpp index 70d54a147e..5d44e23fe9 100644 --- a/harbour/contrib/hbqt/qtgui/QTabWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QTabWidget.cpp @@ -113,25 +113,16 @@ QT_G_FUNC( release_QTabWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTabWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTabWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTabWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTabWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTabWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTabWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTabWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTabWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTabWidget Object Allready deleted!" ) ); } } @@ -142,9 +133,7 @@ void * gcAllocate_QTabWidget( void * pObj ) p->ph = pObj; p->func = release_QTabWidget; new( & p->pq ) QPointer< QTabWidget >( ( QTabWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTabWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTabWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTableView.cpp b/harbour/contrib/hbqt/qtgui/QTableView.cpp index 16598f5ebb..4ac00841ea 100644 --- a/harbour/contrib/hbqt/qtgui/QTableView.cpp +++ b/harbour/contrib/hbqt/qtgui/QTableView.cpp @@ -125,25 +125,16 @@ QT_G_FUNC( release_QTableView ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTableView Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTableView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTableView Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTableView Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTableView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTableView Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTableView Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTableView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTableView Object Allready deleted!" ) ); } } @@ -154,9 +145,7 @@ void * gcAllocate_QTableView( void * pObj ) p->ph = pObj; p->func = release_QTableView; new( & p->pq ) QPointer< QTableView >( ( QTableView * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTableView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTableView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTableWidget.cpp b/harbour/contrib/hbqt/qtgui/QTableWidget.cpp index fdfe7323e2..2e686c802b 100644 --- a/harbour/contrib/hbqt/qtgui/QTableWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QTableWidget.cpp @@ -120,25 +120,16 @@ QT_G_FUNC( release_QTableWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTableWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTableWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTableWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTableWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTableWidget Object Allready deleted!" ) ); } } @@ -149,9 +140,7 @@ void * gcAllocate_QTableWidget( void * pObj ) p->ph = pObj; p->func = release_QTableWidget; new( & p->pq ) QPointer< QTableWidget >( ( QTableWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTableWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTableWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp index 6f98d0155b..bfbe60a535 100644 --- a/harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp @@ -94,17 +94,11 @@ QT_G_FUNC( release_QTableWidgetItem ) { delete ( ( QTableWidgetItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidgetItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTableWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTableWidgetItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidgetItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTableWidgetItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTableWidgetItem Object Allready deleted!" ) ); } } @@ -114,9 +108,7 @@ void * gcAllocate_QTableWidgetItem( void * pObj ) p->ph = pObj; p->func = release_QTableWidgetItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTableWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTableWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp b/harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp index 6ff0888489..834c4868fb 100644 --- a/harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp +++ b/harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QTableWidgetSelectionRange ) { delete ( ( QTableWidgetSelectionRange * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidgetSelectionRange Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTableWidgetSelectionRange %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTableWidgetSelectionRange Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTableWidgetSelectionRange Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTableWidgetSelectionRange" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTableWidgetSelectionRange Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QTableWidgetSelectionRange( void * pObj ) p->ph = pObj; p->func = release_QTableWidgetSelectionRange; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTableWidgetSelectionRange %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTableWidgetSelectionRange %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextBlock.cpp b/harbour/contrib/hbqt/qtgui/QTextBlock.cpp index 23a8bda931..f6881be218 100644 --- a/harbour/contrib/hbqt/qtgui/QTextBlock.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextBlock.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QTextBlock ) { delete ( ( QTextBlock * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBlock Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextBlock %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextBlock Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBlock Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextBlock" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextBlock Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QTextBlock( void * pObj ) p->ph = pObj; p->func = release_QTextBlock; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextBlock %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextBlock %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp index 72d63daf31..6b1f975d78 100644 --- a/harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp @@ -105,17 +105,11 @@ QT_G_FUNC( release_QTextBlockFormat ) { delete ( ( QTextBlockFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBlockFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextBlockFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextBlockFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBlockFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextBlockFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextBlockFormat Object Allready deleted!" ) ); } } @@ -125,9 +119,7 @@ void * gcAllocate_QTextBlockFormat( void * pObj ) p->ph = pObj; p->func = release_QTextBlockFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextBlockFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextBlockFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextBrowser.cpp b/harbour/contrib/hbqt/qtgui/QTextBrowser.cpp index cba4abcad9..65c8a54d58 100644 --- a/harbour/contrib/hbqt/qtgui/QTextBrowser.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextBrowser.cpp @@ -107,25 +107,16 @@ QT_G_FUNC( release_QTextBrowser ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBrowser Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextBrowser %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTextBrowser Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBrowser Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTextBrowser" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTextBrowser Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextBrowser Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextBrowser" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextBrowser Object Allready deleted!" ) ); } } @@ -136,9 +127,7 @@ void * gcAllocate_QTextBrowser( void * pObj ) p->ph = pObj; p->func = release_QTextBrowser; new( & p->pq ) QPointer< QTextBrowser >( ( QTextBrowser * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextBrowser %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextBrowser %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp index 59feb821ac..60c6cedd20 100644 --- a/harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QTextCharFormat ) { delete ( ( QTextCharFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextCharFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextCharFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextCharFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextCharFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextCharFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextCharFormat Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QTextCharFormat( void * pObj ) p->ph = pObj; p->func = release_QTextCharFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextCharFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextCharFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextCursor.cpp b/harbour/contrib/hbqt/qtgui/QTextCursor.cpp index a7009f5f1c..d08f7a16d1 100644 --- a/harbour/contrib/hbqt/qtgui/QTextCursor.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextCursor.cpp @@ -98,17 +98,11 @@ QT_G_FUNC( release_QTextCursor ) { delete ( ( QTextCursor * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextCursor Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextCursor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextCursor Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextCursor Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextCursor" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextCursor Object Allready deleted!" ) ); } } @@ -118,9 +112,7 @@ void * gcAllocate_QTextCursor( void * pObj ) p->ph = pObj; p->func = release_QTextCursor; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextCursor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextCursor %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextDocument.cpp b/harbour/contrib/hbqt/qtgui/QTextDocument.cpp index 7c25b5d541..9d6ac85f14 100644 --- a/harbour/contrib/hbqt/qtgui/QTextDocument.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextDocument.cpp @@ -131,25 +131,16 @@ QT_G_FUNC( release_QTextDocument ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocument Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextDocument %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocument Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocument Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTextDocument" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTextDocument Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocument Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextDocument" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextDocument Object Allready deleted!" ) ); } } @@ -160,9 +151,7 @@ void * gcAllocate_QTextDocument( void * pObj ) p->ph = pObj; p->func = release_QTextDocument; new( & p->pq ) QPointer< QTextDocument >( ( QTextDocument * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextDocument %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextDocument %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp b/harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp index d48a61798e..d2ee22d18f 100644 --- a/harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QTextDocumentFragment ) { delete ( ( QTextDocumentFragment * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocumentFragment Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextDocumentFragment %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextDocumentFragment Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocumentFragment Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextDocumentFragment" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextDocumentFragment Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QTextDocumentFragment( void * pObj ) p->ph = pObj; p->func = release_QTextDocumentFragment; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextDocumentFragment %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextDocumentFragment %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp b/harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp index 19b31beda8..1f9566bbfc 100644 --- a/harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp @@ -89,17 +89,11 @@ QT_G_FUNC( release_QTextDocumentWriter ) { delete ( ( QTextDocumentWriter * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocumentWriter Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextDocumentWriter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextDocumentWriter Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextDocumentWriter Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextDocumentWriter" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextDocumentWriter Object Allready deleted!" ) ); } } @@ -109,9 +103,7 @@ void * gcAllocate_QTextDocumentWriter( void * pObj ) p->ph = pObj; p->func = release_QTextDocumentWriter; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextDocumentWriter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextDocumentWriter %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextEdit.cpp b/harbour/contrib/hbqt/qtgui/QTextEdit.cpp index 54a32d9e70..376930c0e4 100644 --- a/harbour/contrib/hbqt/qtgui/QTextEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextEdit.cpp @@ -126,25 +126,16 @@ QT_G_FUNC( release_QTextEdit ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextEdit Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTextEdit Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextEdit Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTextEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTextEdit Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextEdit Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextEdit Object Allready deleted!" ) ); } } @@ -155,9 +146,7 @@ void * gcAllocate_QTextEdit( void * pObj ) p->ph = pObj; p->func = release_QTextEdit; new( & p->pq ) QPointer< QTextEdit >( ( QTextEdit * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextFormat.cpp index 91ec3675f4..92e913f675 100644 --- a/harbour/contrib/hbqt/qtgui/QTextFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextFormat.cpp @@ -112,17 +112,11 @@ QT_G_FUNC( release_QTextFormat ) { delete ( ( QTextFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextFormat Object Allready deleted!" ) ); } } @@ -132,9 +126,7 @@ void * gcAllocate_QTextFormat( void * pObj ) p->ph = pObj; p->func = release_QTextFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextFragment.cpp b/harbour/contrib/hbqt/qtgui/QTextFragment.cpp index 145bb4e40c..e1168571bf 100644 --- a/harbour/contrib/hbqt/qtgui/QTextFragment.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextFragment.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QTextFragment ) { delete ( ( QTextFragment * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFragment Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextFragment %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextFragment Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFragment Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextFragment" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextFragment Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QTextFragment( void * pObj ) p->ph = pObj; p->func = release_QTextFragment; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextFragment %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextFragment %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextFrame.cpp b/harbour/contrib/hbqt/qtgui/QTextFrame.cpp index ed63e705dd..8b8f8a7c3d 100644 --- a/harbour/contrib/hbqt/qtgui/QTextFrame.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextFrame.cpp @@ -123,25 +123,16 @@ QT_G_FUNC( release_QTextFrame ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFrame Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTextFrame Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFrame Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTextFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTextFrame Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFrame Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextFrame" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextFrame Object Allready deleted!" ) ); } } @@ -152,9 +143,7 @@ void * gcAllocate_QTextFrame( void * pObj ) p->ph = pObj; p->func = release_QTextFrame; new( & p->pq ) QPointer< QTextFrame >( ( QTextFrame * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextFrame %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp index 285fc84e06..fe0722288c 100644 --- a/harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp @@ -96,17 +96,11 @@ QT_G_FUNC( release_QTextFrameFormat ) { delete ( ( QTextFrameFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFrameFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextFrameFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextFrameFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextFrameFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextFrameFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextFrameFormat Object Allready deleted!" ) ); } } @@ -116,9 +110,7 @@ void * gcAllocate_QTextFrameFormat( void * pObj ) p->ph = pObj; p->func = release_QTextFrameFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextFrameFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextFrameFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp index c1c59c45dc..e6f15eb6fd 100644 --- a/harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp @@ -87,17 +87,11 @@ QT_G_FUNC( release_QTextImageFormat ) { delete ( ( QTextImageFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextImageFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextImageFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextImageFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextImageFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextImageFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextImageFormat Object Allready deleted!" ) ); } } @@ -107,9 +101,7 @@ void * gcAllocate_QTextImageFormat( void * pObj ) p->ph = pObj; p->func = release_QTextImageFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextImageFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextImageFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextItem.cpp b/harbour/contrib/hbqt/qtgui/QTextItem.cpp index 4c86b754a0..0fef257617 100644 --- a/harbour/contrib/hbqt/qtgui/QTextItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextItem.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QTextItem ) { delete ( ( QTextItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextItem Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QTextItem( void * pObj ) p->ph = pObj; p->func = release_QTextItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextLayout.cpp b/harbour/contrib/hbqt/qtgui/QTextLayout.cpp index a55f5a44cc..a13538283d 100644 --- a/harbour/contrib/hbqt/qtgui/QTextLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextLayout.cpp @@ -104,17 +104,11 @@ QT_G_FUNC( release_QTextLayout ) { delete ( ( QTextLayout * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextLayout Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextLayout Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextLayout Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextLayout Object Allready deleted!" ) ); } } @@ -124,9 +118,7 @@ void * gcAllocate_QTextLayout( void * pObj ) p->ph = pObj; p->func = release_QTextLayout; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextLength.cpp b/harbour/contrib/hbqt/qtgui/QTextLength.cpp index 3ef0995415..6d91240144 100644 --- a/harbour/contrib/hbqt/qtgui/QTextLength.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextLength.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QTextLength ) { delete ( ( QTextLength * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextLength Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextLength %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextLength Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextLength Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextLength" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextLength Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QTextLength( void * pObj ) p->ph = pObj; p->func = release_QTextLength; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextLength %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextLength %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextLine.cpp b/harbour/contrib/hbqt/qtgui/QTextLine.cpp index d41cd5c807..2eaaae717f 100644 --- a/harbour/contrib/hbqt/qtgui/QTextLine.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextLine.cpp @@ -91,17 +91,11 @@ QT_G_FUNC( release_QTextLine ) { delete ( ( QTextLine * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextLine Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextLine %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextLine Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextLine Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextLine" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextLine Object Allready deleted!" ) ); } } @@ -111,9 +105,7 @@ void * gcAllocate_QTextLine( void * pObj ) p->ph = pObj; p->func = release_QTextLine; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextLine %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextLine %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextListFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextListFormat.cpp index fa51b2d464..8ec2071ab8 100644 --- a/harbour/contrib/hbqt/qtgui/QTextListFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextListFormat.cpp @@ -90,17 +90,11 @@ QT_G_FUNC( release_QTextListFormat ) { delete ( ( QTextListFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextListFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextListFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextListFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextListFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextListFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextListFormat Object Allready deleted!" ) ); } } @@ -110,9 +104,7 @@ void * gcAllocate_QTextListFormat( void * pObj ) p->ph = pObj; p->func = release_QTextListFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextListFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextListFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextOption.cpp b/harbour/contrib/hbqt/qtgui/QTextOption.cpp index 65d128a9e2..65a8eb1a0c 100644 --- a/harbour/contrib/hbqt/qtgui/QTextOption.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextOption.cpp @@ -108,17 +108,11 @@ QT_G_FUNC( release_QTextOption ) { delete ( ( QTextOption * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextOption Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextOption %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextOption Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextOption Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextOption" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextOption Object Allready deleted!" ) ); } } @@ -128,9 +122,7 @@ void * gcAllocate_QTextOption( void * pObj ) p->ph = pObj; p->func = release_QTextOption; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextOption %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextOption %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp b/harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp index f6d322d89e..6a6011c5cf 100644 --- a/harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp +++ b/harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp @@ -95,17 +95,11 @@ QT_G_FUNC( release_QTextTableFormat ) { delete ( ( QTextTableFormat * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTextTableFormat Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTextTableFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTextTableFormat Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTextTableFormat Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTextTableFormat" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTextTableFormat Object Allready deleted!" ) ); } } @@ -115,9 +109,7 @@ void * gcAllocate_QTextTableFormat( void * pObj ) p->ph = pObj; p->func = release_QTextTableFormat; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTextTableFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTextTableFormat %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTimeEdit.cpp b/harbour/contrib/hbqt/qtgui/QTimeEdit.cpp index 9da74a9741..b3a6a2c6d5 100644 --- a/harbour/contrib/hbqt/qtgui/QTimeEdit.cpp +++ b/harbour/contrib/hbqt/qtgui/QTimeEdit.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QTimeEdit ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTimeEdit Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTimeEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTimeEdit Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTimeEdit Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTimeEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTimeEdit Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTimeEdit Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTimeEdit" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTimeEdit Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QTimeEdit( void * pObj ) p->ph = pObj; p->func = release_QTimeEdit; new( & p->pq ) QPointer< QTimeEdit >( ( QTimeEdit * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTimeEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTimeEdit %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QToolBar.cpp b/harbour/contrib/hbqt/qtgui/QToolBar.cpp index b28daf2dba..221f7755eb 100644 --- a/harbour/contrib/hbqt/qtgui/QToolBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QToolBar.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QToolBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QToolBar Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QToolBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QToolBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QToolBar Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QToolBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QToolBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QToolBar Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QToolBar" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QToolBar Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QToolBar( void * pObj ) p->ph = pObj; p->func = release_QToolBar; new( & p->pq ) QPointer< QToolBar >( ( QToolBar * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QToolBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QToolBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QToolBox.cpp b/harbour/contrib/hbqt/qtgui/QToolBox.cpp index c8235d5e4c..6524864502 100644 --- a/harbour/contrib/hbqt/qtgui/QToolBox.cpp +++ b/harbour/contrib/hbqt/qtgui/QToolBox.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QToolBox ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QToolBox Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QToolBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QToolBox Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QToolBox Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QToolBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QToolBox Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QToolBox Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QToolBox" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QToolBox Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QToolBox( void * pObj ) p->ph = pObj; p->func = release_QToolBox; new( & p->pq ) QPointer< QToolBox >( ( QToolBox * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QToolBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QToolBox %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QToolButton.cpp b/harbour/contrib/hbqt/qtgui/QToolButton.cpp index d45fa84681..d51d3ab154 100644 --- a/harbour/contrib/hbqt/qtgui/QToolButton.cpp +++ b/harbour/contrib/hbqt/qtgui/QToolButton.cpp @@ -112,25 +112,16 @@ QT_G_FUNC( release_QToolButton ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QToolButton Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QToolButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QToolButton Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QToolButton Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QToolButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QToolButton Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QToolButton Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QToolButton" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QToolButton Object Allready deleted!" ) ); } } @@ -141,9 +132,7 @@ void * gcAllocate_QToolButton( void * pObj ) p->ph = pObj; p->func = release_QToolButton; new( & p->pq ) QPointer< QToolButton >( ( QToolButton * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QToolButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QToolButton %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTransform.cpp b/harbour/contrib/hbqt/qtgui/QTransform.cpp index 4a75018bad..08096ea73a 100644 --- a/harbour/contrib/hbqt/qtgui/QTransform.cpp +++ b/harbour/contrib/hbqt/qtgui/QTransform.cpp @@ -92,17 +92,11 @@ QT_G_FUNC( release_QTransform ) { delete ( ( QTransform * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTransform Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTransform %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTransform Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTransform Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTransform" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTransform Object Allready deleted!" ) ); } } @@ -112,9 +106,7 @@ void * gcAllocate_QTransform( void * pObj ) p->ph = pObj; p->func = release_QTransform; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTransform %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTransform %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTreeView.cpp b/harbour/contrib/hbqt/qtgui/QTreeView.cpp index 17e19265da..385c4983d7 100644 --- a/harbour/contrib/hbqt/qtgui/QTreeView.cpp +++ b/harbour/contrib/hbqt/qtgui/QTreeView.cpp @@ -120,25 +120,16 @@ QT_G_FUNC( release_QTreeView ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeView Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTreeView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTreeView Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeView Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTreeView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTreeView Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeView Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTreeView" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTreeView Object Allready deleted!" ) ); } } @@ -149,9 +140,7 @@ void * gcAllocate_QTreeView( void * pObj ) p->ph = pObj; p->func = release_QTreeView; new( & p->pq ) QPointer< QTreeView >( ( QTreeView * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTreeView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTreeView %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTreeWidget.cpp b/harbour/contrib/hbqt/qtgui/QTreeWidget.cpp index 3f63b1b58e..d6ff18c35f 100644 --- a/harbour/contrib/hbqt/qtgui/QTreeWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QTreeWidget.cpp @@ -120,25 +120,16 @@ QT_G_FUNC( release_QTreeWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTreeWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QTreeWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QTreeWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QTreeWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTreeWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTreeWidget Object Allready deleted!" ) ); } } @@ -149,9 +140,7 @@ void * gcAllocate_QTreeWidget( void * pObj ) p->ph = pObj; p->func = release_QTreeWidget; new( & p->pq ) QPointer< QTreeWidget >( ( QTreeWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTreeWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTreeWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp index be5db7795e..1515ac5c0a 100644 --- a/harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp @@ -111,17 +111,11 @@ QT_G_FUNC( release_QTreeWidgetItem ) { delete ( ( QTreeWidgetItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeWidgetItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QTreeWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QTreeWidgetItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QTreeWidgetItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QTreeWidgetItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QTreeWidgetItem Object Allready deleted!" ) ); } } @@ -131,9 +125,7 @@ void * gcAllocate_QTreeWidgetItem( void * pObj ) p->ph = pObj; p->func = release_QTreeWidgetItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QTreeWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QTreeWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp b/harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp index e04893e3b2..fea15cf1a5 100644 --- a/harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp +++ b/harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QVBoxLayout ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QVBoxLayout Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QVBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QVBoxLayout Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QVBoxLayout Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QVBoxLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QVBoxLayout Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QVBoxLayout Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QVBoxLayout" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QVBoxLayout Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QVBoxLayout( void * pObj ) p->ph = pObj; p->func = release_QVBoxLayout; new( & p->pq ) QPointer< QVBoxLayout >( ( QVBoxLayout * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QVBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QVBoxLayout %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QWidget.cpp b/harbour/contrib/hbqt/qtgui/QWidget.cpp index 6661374654..657e686b78 100644 --- a/harbour/contrib/hbqt/qtgui/QWidget.cpp +++ b/harbour/contrib/hbqt/qtgui/QWidget.cpp @@ -146,25 +146,16 @@ QT_G_FUNC( release_QWidget ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWidget Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QWidget Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWidget Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QWidget Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWidget Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWidget" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QWidget Object Allready deleted!" ) ); } } @@ -175,9 +166,7 @@ void * gcAllocate_QWidget( void * pObj ) p->ph = pObj; p->func = release_QWidget; new( & p->pq ) QPointer< QWidget >( ( QWidget * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QWidget %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QWidgetAction.cpp b/harbour/contrib/hbqt/qtgui/QWidgetAction.cpp index 1fd2a39011..7c7e1b4052 100644 --- a/harbour/contrib/hbqt/qtgui/QWidgetAction.cpp +++ b/harbour/contrib/hbqt/qtgui/QWidgetAction.cpp @@ -108,25 +108,16 @@ QT_G_FUNC( release_QWidgetAction ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWidgetAction Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWidgetAction %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QWidgetAction Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWidgetAction Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWidgetAction" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QWidgetAction Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWidgetAction Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWidgetAction" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QWidgetAction Object Allready deleted!" ) ); } } @@ -137,9 +128,7 @@ void * gcAllocate_QWidgetAction( void * pObj ) p->ph = pObj; p->func = release_QWidgetAction; new( & p->pq ) QPointer< QWidgetAction >( ( QWidgetAction * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWidgetAction %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QWidgetAction %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QWidgetItem.cpp b/harbour/contrib/hbqt/qtgui/QWidgetItem.cpp index c5ba0fca8c..21b0e67465 100644 --- a/harbour/contrib/hbqt/qtgui/QWidgetItem.cpp +++ b/harbour/contrib/hbqt/qtgui/QWidgetItem.cpp @@ -86,17 +86,11 @@ QT_G_FUNC( release_QWidgetItem ) { delete ( ( QWidgetItem * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWidgetItem Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QWidgetItem Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWidgetItem Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWidgetItem" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QWidgetItem Object Allready deleted!" ) ); } } @@ -106,9 +100,7 @@ void * gcAllocate_QWidgetItem( void * pObj ) p->ph = pObj; p->func = release_QWidgetItem; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QWidgetItem %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp b/harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp index bf0c270fcf..d0aa51f561 100644 --- a/harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp +++ b/harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp @@ -109,25 +109,16 @@ QT_G_FUNC( release_QWindowsStyle ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWindowsStyle Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWindowsStyle %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QWindowsStyle Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWindowsStyle Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWindowsStyle" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QWindowsStyle Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWindowsStyle Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWindowsStyle" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QWindowsStyle Object Allready deleted!" ) ); } } @@ -138,9 +129,7 @@ void * gcAllocate_QWindowsStyle( void * pObj ) p->ph = pObj; p->func = release_QWindowsStyle; new( & p->pq ) QPointer< QWindowsStyle >( ( QWindowsStyle * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWindowsStyle %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QWindowsStyle %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QWizard.cpp b/harbour/contrib/hbqt/qtgui/QWizard.cpp index 3cb46ff6fc..901b05d5f3 100644 --- a/harbour/contrib/hbqt/qtgui/QWizard.cpp +++ b/harbour/contrib/hbqt/qtgui/QWizard.cpp @@ -128,25 +128,16 @@ QT_G_FUNC( release_QWizard ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWizard Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWizard %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QWizard Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWizard Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWizard" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QWizard Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWizard Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWizard" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QWizard Object Allready deleted!" ) ); } } @@ -157,9 +148,7 @@ void * gcAllocate_QWizard( void * pObj ) p->ph = pObj; p->func = release_QWizard; new( & p->pq ) QPointer< QWizard >( ( QWizard * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWizard %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QWizard %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtgui/QWizardPage.cpp b/harbour/contrib/hbqt/qtgui/QWizardPage.cpp index c651573b50..5ca0e46b87 100644 --- a/harbour/contrib/hbqt/qtgui/QWizardPage.cpp +++ b/harbour/contrib/hbqt/qtgui/QWizardPage.cpp @@ -106,25 +106,16 @@ QT_G_FUNC( release_QWizardPage ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QWizardPage Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QWizardPage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QWizardPage Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWizardPage Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QWizardPage" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QWizardPage Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QWizardPage Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QWizardPage" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QWizardPage Object Allready deleted!" ) ); } } @@ -135,9 +126,7 @@ void * gcAllocate_QWizardPage( void * pObj ) p->ph = pObj; p->func = release_QWizardPage; new( & p->pq ) QPointer< QWizardPage >( ( QWizardPage * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QWizardPage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QWizardPage %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtnetwork/QFtp.cpp b/harbour/contrib/hbqt/qtnetwork/QFtp.cpp index 2e6d4c2c19..d94c0e3d38 100644 --- a/harbour/contrib/hbqt/qtnetwork/QFtp.cpp +++ b/harbour/contrib/hbqt/qtnetwork/QFtp.cpp @@ -131,25 +131,16 @@ QT_G_FUNC( release_QFtp ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QFtp Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QFtp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QFtp Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFtp Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QFtp" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QFtp Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QFtp Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QFtp" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QFtp Object Allready deleted!" ) ); } } @@ -160,9 +151,7 @@ void * gcAllocate_QFtp( void * pObj ) p->ph = pObj; p->func = release_QFtp; new( & p->pq ) QPointer< QFtp >( ( QFtp * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QFtp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QFtp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtnetwork/QHttp.cpp b/harbour/contrib/hbqt/qtnetwork/QHttp.cpp index a19039ae46..c8a3235e2e 100644 --- a/harbour/contrib/hbqt/qtnetwork/QHttp.cpp +++ b/harbour/contrib/hbqt/qtnetwork/QHttp.cpp @@ -131,25 +131,16 @@ QT_G_FUNC( release_QHttp ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QHttp Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QHttp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "release_QHttp Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHttp Object Name Missing!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " NO release_QHttp" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "NO release_QHttp Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHttp Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QHttp" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QHttp Object Allready deleted!" ) ); } } @@ -160,9 +151,7 @@ void * gcAllocate_QHttp( void * pObj ) p->ph = pObj; p->func = release_QHttp; new( & p->pq ) QPointer< QHttp >( ( QHttp * ) pObj ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QHttp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QHttp %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp b/harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp index 282a85e522..ffd89ec4c0 100644 --- a/harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp +++ b/harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QHttpRequestHeader ) { delete ( ( QHttpRequestHeader * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QHttpRequestHeader Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QHttpRequestHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QHttpRequestHeader Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHttpRequestHeader Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QHttpRequestHeader" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QHttpRequestHeader Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QHttpRequestHeader( void * pObj ) p->ph = pObj; p->func = release_QHttpRequestHeader; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QHttpRequestHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QHttpRequestHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp b/harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp index a44eb7223f..1156e8c66b 100644 --- a/harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp +++ b/harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp @@ -88,17 +88,11 @@ QT_G_FUNC( release_QHttpResponseHeader ) { delete ( ( QHttpResponseHeader * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QHttpResponseHeader Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QHttpResponseHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QHttpResponseHeader Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QHttpResponseHeader Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QHttpResponseHeader" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QHttpResponseHeader Object Allready deleted!" ) ); } } @@ -108,9 +102,7 @@ void * gcAllocate_QHttpResponseHeader( void * pObj ) p->ph = pObj; p->func = release_QHttpResponseHeader; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QHttpResponseHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QHttpResponseHeader %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); } diff --git a/harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp b/harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp index d62feec29b..2f197e9e75 100644 --- a/harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp +++ b/harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp @@ -107,17 +107,11 @@ QT_G_FUNC( release_QNetworkRequest ) { delete ( ( QNetworkRequest * ) p->ph ); p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QNetworkRequest Object deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " YES release_QNetworkRequest %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "YES release_QNetworkRequest Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "release_QNetworkRequest Object Allready deleted!" ) ); - #if defined( __HB_DEBUG__ ) - hbqt_debug( " DEL release_QNetworkRequest" ); - #endif + HB_TRACE( HB_TR_DEBUG, ( "DEL release_QNetworkRequest Object Allready deleted!" ) ); } } @@ -127,9 +121,7 @@ void * gcAllocate_QNetworkRequest( void * pObj ) p->ph = pObj; p->func = release_QNetworkRequest; - #if defined( __HB_DEBUG__ ) - hbqt_debug( " new_QNetworkRequest %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ); - #endif + HB_TRACE( HB_TR_DEBUG, ( " new_QNetworkRequest %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p ); }