From 3c39677606e1f40fab444f2e290c56289dcbb0b8 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Thu, 22 Oct 2009 18:04:06 +0000 Subject: [PATCH] 2009-10-22 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QAbstractScrollArea.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QDir.qth * contrib/hbqt/qth/QDirModel.qth * contrib/hbqt/qth/QFileSystemModel.qth * contrib/hbqt/qth/QGradient.qth * contrib/hbqt/qth/QHttp.qth * contrib/hbqt/qth/QObject.qth * contrib/hbqt/qth/QProcess.qth * contrib/hbqt/qth/QStyledItemDelegate.qth * contrib/hbqt/qth/QTableView.qth * contrib/hbqt/qth/QTextBlock.qth * contrib/hbqt/qth/QTextFormat.qth * contrib/hbqt/qth/QTextInlineObject.qth * contrib/hbqt/qth/QWebPage.qth * contrib/hbqt/qth/QWidget.qth + contrib/hbqt/qth/QAbstractEventDispatcher.qth + contrib/hbqt/qth/QAbstractItemDelegate.qth + contrib/hbqt/qth/QAbstractProxyModel.qth + contrib/hbqt/qth/QAbstractTextDocumentLayout.qth + contrib/hbqt/qth/QActionGroup.qth + contrib/hbqt/qth/QBitArray.qth + contrib/hbqt/qth/QByteArray.qth + contrib/hbqt/qth/QCompleter.qth + contrib/hbqt/qth/QContextMenuEvent.qth + contrib/hbqt/qth/QDataStream.qth + contrib/hbqt/qth/QDate.qth + contrib/hbqt/qth/QFile.qth + contrib/hbqt/qth/QFileIconProvider.qth + contrib/hbqt/qth/QFileInfo.qth + contrib/hbqt/qth/QHelpEvent.qth + contrib/hbqt/qth/QHttpRequestHeader.qth + contrib/hbqt/qth/QHttpResponseHeader.qth + contrib/hbqt/qth/QInputContext.qth + contrib/hbqt/qth/QInputMethodEvent.qth + contrib/hbqt/qth/QItemSelection.qth + contrib/hbqt/qth/QItemSelectionModel.qth + contrib/hbqt/qth/QLibraryInfo.qth + contrib/hbqt/qth/QLineF.qth + contrib/hbqt/qth/QLocale.qth + contrib/hbqt/qth/QMatrix.qth + contrib/hbqt/qth/QMimeData.qth + contrib/hbqt/qth/QMovie.qth + contrib/hbqt/qth/QNetworkRequest.qth + contrib/hbqt/qth/QPainterPath.qth + contrib/hbqt/qth/QPolygon.qth + contrib/hbqt/qth/QPolygonF.qth + contrib/hbqt/qth/QRegExp.qth + contrib/hbqt/qth/QSessionManager.qth + contrib/hbqt/qth/QSpacerItem.qth + contrib/hbqt/qth/QTableWidgetSelectionRange.qth + contrib/hbqt/qth/QTextListFormat.qth + contrib/hbqt/qth/QTextOption.qth + contrib/hbqt/qth/QTextTableFormat.qth + contrib/hbqt/qth/QThread.qth + contrib/hbqt/qth/QTime.qth + contrib/hbqt/qth/QTransform.qth + contrib/hbqt/qth/QTranslator.qth + contrib/hbqt/qth/QValidator.qth + contrib/hbqt/qth/QWizardPage.qth * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/filelist.mk * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_destruct.cpp + contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_slots.cpp - contrib/hbqt/QAbstractButton.cpp - contrib/hbqt/QAbstractItemModel.cpp - contrib/hbqt/QAbstractItemView.cpp - contrib/hbqt/QAbstractListModel.cpp - contrib/hbqt/QAbstractPrintDialog.cpp - contrib/hbqt/QAbstractScrollArea.cpp - contrib/hbqt/QAbstractSlider.cpp - contrib/hbqt/QAbstractSpinBox.cpp - contrib/hbqt/QAbstractTableModel.cpp - contrib/hbqt/QAction.cpp - contrib/hbqt/QApplication.cpp - contrib/hbqt/QBitmap.cpp - contrib/hbqt/QBoxLayout.cpp - contrib/hbqt/QBrush.cpp - contrib/hbqt/QButtonGroup.cpp - contrib/hbqt/QCalendarWidget.cpp - contrib/hbqt/QCheckBox.cpp - contrib/hbqt/QClipboard.cpp - contrib/hbqt/QColor.cpp - contrib/hbqt/QColorDialog.cpp - contrib/hbqt/QComboBox.cpp - contrib/hbqt/QCommandLinkButton.cpp - contrib/hbqt/QCommonStyle.cpp - contrib/hbqt/QConicalGradient.cpp - contrib/hbqt/QCoreApplication.cpp - contrib/hbqt/QCursor.cpp - contrib/hbqt/QDateEdit.cpp - contrib/hbqt/QDateTime.cpp - contrib/hbqt/QDateTimeEdit.cpp - contrib/hbqt/QDesktopWidget.cpp - contrib/hbqt/QDial.cpp - contrib/hbqt/QDialog.cpp - contrib/hbqt/QDir.cpp - contrib/hbqt/QDirModel.cpp - contrib/hbqt/QDockWidget.cpp - contrib/hbqt/QDoubleSpinBox.cpp - contrib/hbqt/QDragEnterEvent.cpp - contrib/hbqt/QDragLeaveEvent.cpp - contrib/hbqt/QDragMoveEvent.cpp - contrib/hbqt/QDropEvent.cpp - contrib/hbqt/QErrorMessage.cpp - contrib/hbqt/QEvent.cpp - contrib/hbqt/QEventLoop.cpp - contrib/hbqt/QFileDialog.cpp - contrib/hbqt/QFileSystemModel.cpp - contrib/hbqt/QFocusEvent.cpp - contrib/hbqt/QFocusFrame.cpp - contrib/hbqt/QFont.cpp - contrib/hbqt/QFontComboBox.cpp - contrib/hbqt/QFontDatabase.cpp - contrib/hbqt/QFontDialog.cpp - contrib/hbqt/QFontInfo.cpp - contrib/hbqt/QFontMetrics.cpp - contrib/hbqt/QFontMetricsF.cpp - contrib/hbqt/QFormLayout.cpp - contrib/hbqt/QFrame.cpp - contrib/hbqt/QFtp.cpp - contrib/hbqt/QGradient.cpp - contrib/hbqt/QGridLayout.cpp - contrib/hbqt/QGroupBox.cpp - contrib/hbqt/QHBoxLayout.cpp - contrib/hbqt/QHeaderView.cpp - contrib/hbqt/QHttp.cpp - contrib/hbqt/QIcon.cpp - contrib/hbqt/QImage.cpp - contrib/hbqt/QImageReader.cpp - contrib/hbqt/QImageWriter.cpp - contrib/hbqt/QInputDialog.cpp - contrib/hbqt/QInputEvent.cpp - contrib/hbqt/QIODevice.cpp - contrib/hbqt/QKeyEvent.cpp - contrib/hbqt/QKeySequence.cpp - contrib/hbqt/QLabel.cpp - contrib/hbqt/QLatin1Char.cpp - contrib/hbqt/QLatin1String.cpp - contrib/hbqt/QLayout.cpp - contrib/hbqt/QLayoutItem.cpp - contrib/hbqt/QLCDNumber.cpp - contrib/hbqt/QLine.cpp - contrib/hbqt/QLinearGradient.cpp - contrib/hbqt/QLineEdit.cpp - contrib/hbqt/QList.cpp - contrib/hbqt/QListView.cpp - contrib/hbqt/QListWidget.cpp - contrib/hbqt/QListWidgetItem.cpp - contrib/hbqt/QMainWindow.cpp - contrib/hbqt/QMenu.cpp - contrib/hbqt/QMenuBar.cpp - contrib/hbqt/QMessageBox.cpp - contrib/hbqt/QModelIndex.cpp - contrib/hbqt/QMouseEvent.cpp - contrib/hbqt/QMoveEvent.cpp - contrib/hbqt/QObject.cpp - contrib/hbqt/QPageSetupDialog.cpp - contrib/hbqt/QPaintDevice.cpp - contrib/hbqt/QPainter.cpp - contrib/hbqt/QPaintEvent.cpp - contrib/hbqt/QPalette.cpp - contrib/hbqt/QPen.cpp - contrib/hbqt/QPicture.cpp - contrib/hbqt/QPixmap.cpp - contrib/hbqt/QPoint.cpp - contrib/hbqt/QPointF.cpp - contrib/hbqt/QPrintDialog.cpp - contrib/hbqt/QPrintEngine.cpp - contrib/hbqt/QPrinter.cpp - contrib/hbqt/QPrintPreviewDialog.cpp - contrib/hbqt/QProcess.cpp - contrib/hbqt/QProgressBar.cpp - contrib/hbqt/QProgressDialog.cpp - contrib/hbqt/QPushButton.cpp - contrib/hbqt/QRadialGradient.cpp - contrib/hbqt/QRadioButton.cpp - contrib/hbqt/QRect.cpp - contrib/hbqt/QRectF.cpp - contrib/hbqt/QRegion.cpp - contrib/hbqt/QResizeEvent.cpp - contrib/hbqt/QResource.cpp - contrib/hbqt/QScrollArea.cpp - contrib/hbqt/QScrollBar.cpp - contrib/hbqt/QSignalMapper.cpp - contrib/hbqt/QSize.cpp - contrib/hbqt/QSizeF.cpp - contrib/hbqt/QSizeGrip.cpp - contrib/hbqt/QSizePolicy.cpp - contrib/hbqt/QSlider.cpp - contrib/hbqt/QSound.cpp - contrib/hbqt/QSpinBox.cpp - contrib/hbqt/QSplashScreen.cpp - contrib/hbqt/QSplitter.cpp - contrib/hbqt/QStandardItem.cpp - contrib/hbqt/QStandardItemModel.cpp - contrib/hbqt/QStatusBar.cpp - contrib/hbqt/QStringList.cpp - contrib/hbqt/QStringListModel.cpp - contrib/hbqt/QStyle.cpp - contrib/hbqt/QStyledItemDelegate.cpp - contrib/hbqt/QStyleFactory.cpp - contrib/hbqt/QStyleHintReturn.cpp - contrib/hbqt/QStyleHintReturnMask.cpp - contrib/hbqt/QStyleHintReturnVariant.cpp - contrib/hbqt/QStyleOption.cpp - contrib/hbqt/QStyleOptionButton.cpp - contrib/hbqt/QStyleOptionComboBox.cpp - contrib/hbqt/QStyleOptionComplex.cpp - contrib/hbqt/QStyleOptionDockWidget.cpp - contrib/hbqt/QStyleOptionFocusRect.cpp - contrib/hbqt/QStyleOptionFrame.cpp - contrib/hbqt/QStyleOptionGroupBox.cpp - contrib/hbqt/QStyleOptionHeader.cpp - contrib/hbqt/QStyleOptionMenuItem.cpp - contrib/hbqt/QStyleOptionProgressBar.cpp - contrib/hbqt/QStyleOptionSizeGrip.cpp - contrib/hbqt/QStyleOptionSlider.cpp - contrib/hbqt/QStyleOptionSpinBox.cpp - contrib/hbqt/QStyleOptionTab.cpp - contrib/hbqt/QStyleOptionTabBarBase.cpp - contrib/hbqt/QStyleOptionTabWidgetFrame.cpp - contrib/hbqt/QStyleOptionTitleBar.cpp - contrib/hbqt/QStyleOptionToolBar.cpp - contrib/hbqt/QStyleOptionToolBox.cpp - contrib/hbqt/QStyleOptionToolButton.cpp - contrib/hbqt/QStyleOptionViewItem.cpp - contrib/hbqt/QStylePainter.cpp - contrib/hbqt/QSystemTrayIcon.cpp - contrib/hbqt/QTabBar.cpp - contrib/hbqt/QTableView.cpp - contrib/hbqt/QTableWidget.cpp - contrib/hbqt/QTableWidgetItem.cpp - contrib/hbqt/QTabWidget.cpp - contrib/hbqt/QTextBlock.cpp - contrib/hbqt/QTextBlockFormat.cpp - contrib/hbqt/QTextBlockGroup.cpp - contrib/hbqt/QTextBoundaryFinder.cpp - contrib/hbqt/QTextBrowser.cpp - contrib/hbqt/QTextCharFormat.cpp - contrib/hbqt/QTextCodec.cpp - contrib/hbqt/QTextCursor.cpp - contrib/hbqt/QTextDecoder.cpp - contrib/hbqt/QTextDocument.cpp - contrib/hbqt/QTextDocumentFragment.cpp - contrib/hbqt/QTextDocumentWriter.cpp - contrib/hbqt/QTextEdit.cpp - contrib/hbqt/QTextEncoder.cpp - contrib/hbqt/QTextFormat.cpp - contrib/hbqt/QTextFragment.cpp - contrib/hbqt/QTextFrame.cpp - contrib/hbqt/QTextFrameFormat.cpp - contrib/hbqt/QTextImageFormat.cpp - contrib/hbqt/QTextInlineObject.cpp - contrib/hbqt/QTextItem.cpp - contrib/hbqt/QTextLayout.cpp - contrib/hbqt/QTextLength.cpp - contrib/hbqt/QTextLine.cpp - contrib/hbqt/QTextObject.cpp - contrib/hbqt/QTextStream.cpp - contrib/hbqt/QTimeEdit.cpp - contrib/hbqt/QTimer.cpp - contrib/hbqt/QToolBar.cpp - contrib/hbqt/QToolBox.cpp - contrib/hbqt/QToolButton.cpp - contrib/hbqt/QTreeView.cpp - contrib/hbqt/QTreeWidget.cpp - contrib/hbqt/QTreeWidgetItem.cpp - contrib/hbqt/QUrl.cpp - contrib/hbqt/QVariant.cpp - contrib/hbqt/QVBoxLayout.cpp - contrib/hbqt/QWebFrame.cpp - contrib/hbqt/QWebHistory.cpp - contrib/hbqt/QWebHistoryInterface.cpp - contrib/hbqt/QWebHistoryItem.cpp - contrib/hbqt/QWebHitTestResult.cpp - contrib/hbqt/QWebPage.cpp - contrib/hbqt/QWebPluginFactory.cpp - contrib/hbqt/QWebSecurityOrigin.cpp - contrib/hbqt/QWebSettings.cpp - contrib/hbqt/QWebView.cpp - contrib/hbqt/QWheelEvent.cpp - contrib/hbqt/QWidget.cpp - contrib/hbqt/QWidgetAction.cpp - contrib/hbqt/QWidgetItem.cpp - contrib/hbqt/QWindowsStyle.cpp - contrib/hbqt/QWindowsXPStyle.cpp - contrib/hbqt/QWizard.cpp - contrib/hbqt/TQAbstractButton.prg - contrib/hbqt/TQAbstractItemModel.prg - contrib/hbqt/TQAbstractItemView.prg - contrib/hbqt/TQAbstractListModel.prg - contrib/hbqt/TQAbstractPrintDialog.prg - contrib/hbqt/TQAbstractScrollArea.prg - contrib/hbqt/TQAbstractSlider.prg - contrib/hbqt/TQAbstractSpinBox.prg - contrib/hbqt/TQAbstractTableModel.prg - contrib/hbqt/TQAction.prg - contrib/hbqt/TQApplication.prg - contrib/hbqt/TQBitmap.prg - contrib/hbqt/TQBoxLayout.prg - contrib/hbqt/TQBrush.prg - contrib/hbqt/TQButtonGroup.prg - contrib/hbqt/TQCalendarWidget.prg - contrib/hbqt/TQCheckBox.prg - contrib/hbqt/TQClipboard.prg - contrib/hbqt/TQColor.prg - contrib/hbqt/TQColorDialog.prg - contrib/hbqt/TQComboBox.prg - contrib/hbqt/TQCommandLinkButton.prg - contrib/hbqt/TQCommonStyle.prg - contrib/hbqt/TQConicalGradient.prg - contrib/hbqt/TQCoreApplication.prg - contrib/hbqt/TQCursor.prg - contrib/hbqt/TQDateEdit.prg - contrib/hbqt/TQDateTime.prg - contrib/hbqt/TQDateTimeEdit.prg - contrib/hbqt/TQDesktopWidget.prg - contrib/hbqt/TQDial.prg - contrib/hbqt/TQDialog.prg - contrib/hbqt/TQDir.prg - contrib/hbqt/TQDirModel.prg - contrib/hbqt/TQDockWidget.prg - contrib/hbqt/TQDoubleSpinBox.prg - contrib/hbqt/TQDragEnterEvent.prg - contrib/hbqt/TQDragLeaveEvent.prg - contrib/hbqt/TQDragMoveEvent.prg - contrib/hbqt/TQDropEvent.prg - contrib/hbqt/TQErrorMessage.prg - contrib/hbqt/TQEvent.prg - contrib/hbqt/TQEventLoop.prg - contrib/hbqt/TQFileDialog.prg - contrib/hbqt/TQFileSystemModel.prg - contrib/hbqt/TQFocusEvent.prg - contrib/hbqt/TQFocusFrame.prg - contrib/hbqt/TQFont.prg - contrib/hbqt/TQFontComboBox.prg - contrib/hbqt/TQFontDatabase.prg - contrib/hbqt/TQFontDialog.prg - contrib/hbqt/TQFontInfo.prg - contrib/hbqt/TQFontMetrics.prg - contrib/hbqt/TQFontMetricsF.prg - contrib/hbqt/TQFormLayout.prg - contrib/hbqt/TQFrame.prg - contrib/hbqt/TQFtp.prg - contrib/hbqt/TQGradient.prg - contrib/hbqt/TQGridLayout.prg - contrib/hbqt/TQGroupBox.prg - contrib/hbqt/TQHBoxLayout.prg - contrib/hbqt/TQHeaderView.prg - contrib/hbqt/TQHttp.prg - contrib/hbqt/TQIcon.prg - contrib/hbqt/TQImage.prg - contrib/hbqt/TQImageReader.prg - contrib/hbqt/TQImageWriter.prg - contrib/hbqt/TQInputDialog.prg - contrib/hbqt/TQInputEvent.prg - contrib/hbqt/TQIODevice.prg - contrib/hbqt/TQKeyEvent.prg - contrib/hbqt/TQKeySequence.prg - contrib/hbqt/TQLabel.prg - contrib/hbqt/TQLatin1Char.prg - contrib/hbqt/TQLatin1String.prg - contrib/hbqt/TQLayout.prg - contrib/hbqt/TQLayoutItem.prg - contrib/hbqt/TQLCDNumber.prg - contrib/hbqt/TQLine.prg - contrib/hbqt/TQLinearGradient.prg - contrib/hbqt/TQLineEdit.prg - contrib/hbqt/TQList.prg - contrib/hbqt/TQListView.prg - contrib/hbqt/TQListWidget.prg - contrib/hbqt/TQListWidgetItem.prg - contrib/hbqt/TQMainWindow.prg - contrib/hbqt/TQMenu.prg - contrib/hbqt/TQMenuBar.prg - contrib/hbqt/TQMessageBox.prg - contrib/hbqt/TQModelIndex.prg - contrib/hbqt/TQMouseEvent.prg - contrib/hbqt/TQMoveEvent.prg - contrib/hbqt/TQObject.prg - contrib/hbqt/TQPageSetupDialog.prg - contrib/hbqt/TQPaintDevice.prg - contrib/hbqt/TQPainter.prg - contrib/hbqt/TQPaintEvent.prg - contrib/hbqt/TQPalette.prg - contrib/hbqt/TQPen.prg - contrib/hbqt/TQPicture.prg - contrib/hbqt/TQPixmap.prg - contrib/hbqt/TQPoint.prg - contrib/hbqt/TQPointF.prg - contrib/hbqt/TQPrintDialog.prg - contrib/hbqt/TQPrintEngine.prg - contrib/hbqt/TQPrinter.prg - contrib/hbqt/TQPrintPreviewDialog.prg - contrib/hbqt/TQProcess.prg - contrib/hbqt/TQProgressBar.prg - contrib/hbqt/TQProgressDialog.prg - contrib/hbqt/TQPushButton.prg - contrib/hbqt/TQRadialGradient.prg - contrib/hbqt/TQRadioButton.prg - contrib/hbqt/TQRect.prg - contrib/hbqt/TQRectF.prg - contrib/hbqt/TQRegion.prg - contrib/hbqt/TQResizeEvent.prg - contrib/hbqt/TQResource.prg - contrib/hbqt/TQScrollArea.prg - contrib/hbqt/TQScrollBar.prg - contrib/hbqt/TQSignalMapper.prg - contrib/hbqt/TQSize.prg - contrib/hbqt/TQSizeF.prg - contrib/hbqt/TQSizeGrip.prg - contrib/hbqt/TQSizePolicy.prg - contrib/hbqt/TQSlider.prg - contrib/hbqt/TQSound.prg - contrib/hbqt/TQSpinBox.prg - contrib/hbqt/TQSplashScreen.prg - contrib/hbqt/TQSplitter.prg - contrib/hbqt/TQStandardItem.prg - contrib/hbqt/TQStandardItemModel.prg - contrib/hbqt/TQStatusBar.prg - contrib/hbqt/TQStringList.prg - contrib/hbqt/TQStringListModel.prg - contrib/hbqt/TQStyle.prg - contrib/hbqt/TQStyledItemDelegate.prg - contrib/hbqt/TQStyleFactory.prg - contrib/hbqt/TQStyleHintReturn.prg - contrib/hbqt/TQStyleHintReturnMask.prg - contrib/hbqt/TQStyleHintReturnVariant.prg - contrib/hbqt/TQStyleOption.prg - contrib/hbqt/TQStyleOptionButton.prg - contrib/hbqt/TQStyleOptionComboBox.prg - contrib/hbqt/TQStyleOptionComplex.prg - contrib/hbqt/TQStyleOptionDockWidget.prg - contrib/hbqt/TQStyleOptionFocusRect.prg - contrib/hbqt/TQStyleOptionFrame.prg - contrib/hbqt/TQStyleOptionGroupBox.prg - contrib/hbqt/TQStyleOptionHeader.prg - contrib/hbqt/TQStyleOptionMenuItem.prg - contrib/hbqt/TQStyleOptionProgressBar.prg - contrib/hbqt/TQStyleOptionSizeGrip.prg - contrib/hbqt/TQStyleOptionSlider.prg - contrib/hbqt/TQStyleOptionSpinBox.prg - contrib/hbqt/TQStyleOptionTab.prg - contrib/hbqt/TQStyleOptionTabBarBase.prg - contrib/hbqt/TQStyleOptionTabWidgetFrame.prg - contrib/hbqt/TQStyleOptionTitleBar.prg - contrib/hbqt/TQStyleOptionToolBar.prg - contrib/hbqt/TQStyleOptionToolBox.prg - contrib/hbqt/TQStyleOptionToolButton.prg - contrib/hbqt/TQStyleOptionViewItem.prg - contrib/hbqt/TQStylePainter.prg - contrib/hbqt/TQSystemTrayIcon.prg - contrib/hbqt/TQTabBar.prg - contrib/hbqt/TQTableView.prg - contrib/hbqt/TQTableWidget.prg - contrib/hbqt/TQTableWidgetItem.prg - contrib/hbqt/TQTabWidget.prg - contrib/hbqt/TQTextBlock.prg - contrib/hbqt/TQTextBlockFormat.prg - contrib/hbqt/TQTextBlockGroup.prg - contrib/hbqt/TQTextBoundaryFinder.prg - contrib/hbqt/TQTextBrowser.prg - contrib/hbqt/TQTextCharFormat.prg - contrib/hbqt/TQTextCodec.prg - contrib/hbqt/TQTextCursor.prg - contrib/hbqt/TQTextDecoder.prg - contrib/hbqt/TQTextDocument.prg - contrib/hbqt/TQTextDocumentFragment.prg - contrib/hbqt/TQTextDocumentWriter.prg - contrib/hbqt/TQTextEdit.prg - contrib/hbqt/TQTextEncoder.prg - contrib/hbqt/TQTextFormat.prg - contrib/hbqt/TQTextFragment.prg - contrib/hbqt/TQTextFrame.prg - contrib/hbqt/TQTextFrameFormat.prg - contrib/hbqt/TQTextImageFormat.prg - contrib/hbqt/TQTextInlineObject.prg - contrib/hbqt/TQTextItem.prg - contrib/hbqt/TQTextLayout.prg - contrib/hbqt/TQTextLength.prg - contrib/hbqt/TQTextLine.prg - contrib/hbqt/TQTextObject.prg - contrib/hbqt/TQTextStream.prg - contrib/hbqt/TQTimeEdit.prg - contrib/hbqt/TQTimer.prg - contrib/hbqt/TQToolBar.prg - contrib/hbqt/TQToolBox.prg - contrib/hbqt/TQToolButton.prg - contrib/hbqt/TQTreeView.prg - contrib/hbqt/TQTreeWidget.prg - contrib/hbqt/TQTreeWidgetItem.prg - contrib/hbqt/TQUrl.prg - contrib/hbqt/TQVariant.prg - contrib/hbqt/TQVBoxLayout.prg - contrib/hbqt/TQWebFrame.prg - contrib/hbqt/TQWebHistory.prg - contrib/hbqt/TQWebHistoryInterface.prg - contrib/hbqt/TQWebHistoryItem.prg - contrib/hbqt/TQWebHitTestResult.prg - contrib/hbqt/TQWebPage.prg - contrib/hbqt/TQWebPluginFactory.prg - contrib/hbqt/TQWebSecurityOrigin.prg - contrib/hbqt/TQWebSettings.prg - contrib/hbqt/TQWebView.prg - contrib/hbqt/TQWheelEvent.prg - contrib/hbqt/TQWidget.prg - contrib/hbqt/TQWidgetAction.prg - contrib/hbqt/TQWidgetItem.prg - contrib/hbqt/TQWindowsStyle.prg - contrib/hbqt/TQWindowsXPStyle.prg - contrib/hbqt/TQWizard.prg + contrib/hbqt/qtcore + contrib/hbqt/qtcore/filelist.mk + contrib/hbqt/qtcore/Makefile + contrib/hbqt/qtcore/QAbstractItemModel.cpp + contrib/hbqt/qtcore/QAbstractListModel.cpp + contrib/hbqt/qtcore/QAbstractTableModel.cpp + contrib/hbqt/qtcore/QBitArray.cpp + contrib/hbqt/qtcore/QByteArray.cpp + contrib/hbqt/qtcore/QCoreApplication.cpp + contrib/hbqt/qtcore/QDataStream.cpp + contrib/hbqt/qtcore/QDate.cpp + contrib/hbqt/qtcore/QDateTime.cpp + contrib/hbqt/qtcore/QDir.cpp + contrib/hbqt/qtcore/QEvent.cpp + contrib/hbqt/qtcore/QEventLoop.cpp + contrib/hbqt/qtcore/QFile.cpp + contrib/hbqt/qtcore/QFileInfo.cpp + contrib/hbqt/qtcore/QIODevice.cpp + contrib/hbqt/qtcore/QLatin1Char.cpp + contrib/hbqt/qtcore/QLatin1String.cpp + contrib/hbqt/qtcore/QLine.cpp + contrib/hbqt/qtcore/QLineF.cpp + contrib/hbqt/qtcore/QList.cpp + contrib/hbqt/qtcore/QLocale.cpp + contrib/hbqt/qtcore/QMimeData.cpp + contrib/hbqt/qtcore/QModelIndex.cpp + contrib/hbqt/qtcore/QObject.cpp + contrib/hbqt/qtcore/QPoint.cpp + contrib/hbqt/qtcore/QPointF.cpp + contrib/hbqt/qtcore/QProcess.cpp + contrib/hbqt/qtcore/QRect.cpp + contrib/hbqt/qtcore/QRectF.cpp + contrib/hbqt/qtcore/QRegExp.cpp + contrib/hbqt/qtcore/QResource.cpp + contrib/hbqt/qtcore/QSignalMapper.cpp + contrib/hbqt/qtcore/QSize.cpp + contrib/hbqt/qtcore/QSizeF.cpp + contrib/hbqt/qtcore/QStringList.cpp + contrib/hbqt/qtcore/QTextBoundaryFinder.cpp + contrib/hbqt/qtcore/QTextCodec.cpp + contrib/hbqt/qtcore/QTextDecoder.cpp + contrib/hbqt/qtcore/QTextEncoder.cpp + contrib/hbqt/qtcore/QTextStream.cpp + contrib/hbqt/qtcore/QThread.cpp + contrib/hbqt/qtcore/QTime.cpp + contrib/hbqt/qtcore/QTimer.cpp + contrib/hbqt/qtcore/QTranslator.cpp + contrib/hbqt/qtcore/QUrl.cpp + contrib/hbqt/qtcore/QVariant.cpp + contrib/hbqt/qtcore/TQAbstractItemModel.prg + contrib/hbqt/qtcore/TQAbstractListModel.prg + contrib/hbqt/qtcore/TQAbstractTableModel.prg + contrib/hbqt/qtcore/TQBitArray.prg + contrib/hbqt/qtcore/TQByteArray.prg + contrib/hbqt/qtcore/TQCoreApplication.prg + contrib/hbqt/qtcore/TQDataStream.prg + contrib/hbqt/qtcore/TQDate.prg + contrib/hbqt/qtcore/TQDateTime.prg + contrib/hbqt/qtcore/TQDir.prg + contrib/hbqt/qtcore/TQEvent.prg + contrib/hbqt/qtcore/TQEventLoop.prg + contrib/hbqt/qtcore/TQFile.prg + contrib/hbqt/qtcore/TQFileInfo.prg + contrib/hbqt/qtcore/TQIODevice.prg + contrib/hbqt/qtcore/TQLatin1Char.prg + contrib/hbqt/qtcore/TQLatin1String.prg + contrib/hbqt/qtcore/TQLine.prg + contrib/hbqt/qtcore/TQLineF.prg + contrib/hbqt/qtcore/TQList.prg + contrib/hbqt/qtcore/TQLocale.prg + contrib/hbqt/qtcore/TQMimeData.prg + contrib/hbqt/qtcore/TQModelIndex.prg + contrib/hbqt/qtcore/TQObject.prg + contrib/hbqt/qtcore/TQPoint.prg + contrib/hbqt/qtcore/TQPointF.prg + contrib/hbqt/qtcore/TQProcess.prg + contrib/hbqt/qtcore/TQRect.prg + contrib/hbqt/qtcore/TQRectF.prg + contrib/hbqt/qtcore/TQRegExp.prg + contrib/hbqt/qtcore/TQResource.prg + contrib/hbqt/qtcore/TQSignalMapper.prg + contrib/hbqt/qtcore/TQSize.prg + contrib/hbqt/qtcore/TQSizeF.prg + contrib/hbqt/qtcore/TQStringList.prg + contrib/hbqt/qtcore/TQTextBoundaryFinder.prg + contrib/hbqt/qtcore/TQTextCodec.prg + contrib/hbqt/qtcore/TQTextDecoder.prg + contrib/hbqt/qtcore/TQTextEncoder.prg + contrib/hbqt/qtcore/TQTextStream.prg + contrib/hbqt/qtcore/TQThread.prg + contrib/hbqt/qtcore/TQTime.prg + contrib/hbqt/qtcore/TQTimer.prg + contrib/hbqt/qtcore/TQTranslator.prg + contrib/hbqt/qtcore/TQUrl.prg + contrib/hbqt/qtcore/TQVariant.prg + contrib/hbqt/qtgui + contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/Makefile + contrib/hbqt/qtgui/QAbstractButton.cpp + contrib/hbqt/qtgui/QAbstractItemDelegate.cpp + contrib/hbqt/qtgui/QAbstractItemView.cpp + contrib/hbqt/qtgui/QAbstractPrintDialog.cpp + contrib/hbqt/qtgui/QAbstractProxyModel.cpp + contrib/hbqt/qtgui/QAbstractScrollArea.cpp + contrib/hbqt/qtgui/QAbstractSlider.cpp + contrib/hbqt/qtgui/QAbstractSpinBox.cpp + contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp + contrib/hbqt/qtgui/QAction.cpp + contrib/hbqt/qtgui/QActionGroup.cpp + contrib/hbqt/qtgui/QApplication.cpp + contrib/hbqt/qtgui/QBitmap.cpp + contrib/hbqt/qtgui/QBoxLayout.cpp + contrib/hbqt/qtgui/QBrush.cpp + contrib/hbqt/qtgui/QButtonGroup.cpp + contrib/hbqt/qtgui/QCalendarWidget.cpp + contrib/hbqt/qtgui/QCheckBox.cpp + contrib/hbqt/qtgui/QClipboard.cpp + contrib/hbqt/qtgui/QColor.cpp + contrib/hbqt/qtgui/QColorDialog.cpp + contrib/hbqt/qtgui/QComboBox.cpp + contrib/hbqt/qtgui/QCommandLinkButton.cpp + contrib/hbqt/qtgui/QCommonStyle.cpp + contrib/hbqt/qtgui/QCompleter.cpp + contrib/hbqt/qtgui/QConicalGradient.cpp + contrib/hbqt/qtgui/QContextMenuEvent.cpp + contrib/hbqt/qtgui/QCursor.cpp + contrib/hbqt/qtgui/QDateEdit.cpp + contrib/hbqt/qtgui/QDateTimeEdit.cpp + contrib/hbqt/qtgui/QDesktopWidget.cpp + contrib/hbqt/qtgui/QDial.cpp + contrib/hbqt/qtgui/QDialog.cpp + contrib/hbqt/qtgui/QDirModel.cpp + contrib/hbqt/qtgui/QDockWidget.cpp + contrib/hbqt/qtgui/QDoubleSpinBox.cpp + contrib/hbqt/qtgui/QDragEnterEvent.cpp + contrib/hbqt/qtgui/QDragLeaveEvent.cpp + contrib/hbqt/qtgui/QDragMoveEvent.cpp + contrib/hbqt/qtgui/QDropEvent.cpp + contrib/hbqt/qtgui/QErrorMessage.cpp + contrib/hbqt/qtgui/QFileDialog.cpp + contrib/hbqt/qtgui/QFileIconProvider.cpp + contrib/hbqt/qtgui/QFileSystemModel.cpp + contrib/hbqt/qtgui/QFocusEvent.cpp + contrib/hbqt/qtgui/QFocusFrame.cpp + contrib/hbqt/qtgui/QFont.cpp + contrib/hbqt/qtgui/QFontComboBox.cpp + contrib/hbqt/qtgui/QFontDatabase.cpp + contrib/hbqt/qtgui/QFontDialog.cpp + contrib/hbqt/qtgui/QFontInfo.cpp + contrib/hbqt/qtgui/QFontMetrics.cpp + contrib/hbqt/qtgui/QFontMetricsF.cpp + contrib/hbqt/qtgui/QFormLayout.cpp + contrib/hbqt/qtgui/QFrame.cpp + contrib/hbqt/qtgui/QGradient.cpp + contrib/hbqt/qtgui/QGridLayout.cpp + contrib/hbqt/qtgui/QGroupBox.cpp + contrib/hbqt/qtgui/QHBoxLayout.cpp + contrib/hbqt/qtgui/QHeaderView.cpp + contrib/hbqt/qtgui/QHelpEvent.cpp + contrib/hbqt/qtgui/QIcon.cpp + contrib/hbqt/qtgui/QImage.cpp + contrib/hbqt/qtgui/QImageReader.cpp + contrib/hbqt/qtgui/QImageWriter.cpp + contrib/hbqt/qtgui/QInputContext.cpp + contrib/hbqt/qtgui/QInputDialog.cpp + contrib/hbqt/qtgui/QInputEvent.cpp + contrib/hbqt/qtgui/QInputMethodEvent.cpp + contrib/hbqt/qtgui/QItemSelection.cpp + contrib/hbqt/qtgui/QItemSelectionModel.cpp + contrib/hbqt/qtgui/QKeyEvent.cpp + contrib/hbqt/qtgui/QKeySequence.cpp + contrib/hbqt/qtgui/QLabel.cpp + contrib/hbqt/qtgui/QLayout.cpp + contrib/hbqt/qtgui/QLayoutItem.cpp + contrib/hbqt/qtgui/QLCDNumber.cpp + contrib/hbqt/qtgui/QLinearGradient.cpp + contrib/hbqt/qtgui/QLineEdit.cpp + contrib/hbqt/qtgui/QListView.cpp + contrib/hbqt/qtgui/QListWidget.cpp + contrib/hbqt/qtgui/QListWidgetItem.cpp + contrib/hbqt/qtgui/QMainWindow.cpp + contrib/hbqt/qtgui/QMatrix.cpp + contrib/hbqt/qtgui/QMenu.cpp + contrib/hbqt/qtgui/QMenuBar.cpp + contrib/hbqt/qtgui/QMessageBox.cpp + contrib/hbqt/qtgui/QMouseEvent.cpp + contrib/hbqt/qtgui/QMoveEvent.cpp + contrib/hbqt/qtgui/QMovie.cpp + contrib/hbqt/qtgui/QPageSetupDialog.cpp + contrib/hbqt/qtgui/QPaintDevice.cpp + contrib/hbqt/qtgui/QPainter.cpp + contrib/hbqt/qtgui/QPainterPath.cpp + contrib/hbqt/qtgui/QPaintEvent.cpp + contrib/hbqt/qtgui/QPalette.cpp + contrib/hbqt/qtgui/QPen.cpp + contrib/hbqt/qtgui/QPicture.cpp + contrib/hbqt/qtgui/QPixmap.cpp + contrib/hbqt/qtgui/QPolygon.cpp + contrib/hbqt/qtgui/QPolygonF.cpp + contrib/hbqt/qtgui/QPrintDialog.cpp + contrib/hbqt/qtgui/QPrintEngine.cpp + contrib/hbqt/qtgui/QPrinter.cpp + contrib/hbqt/qtgui/QPrintPreviewDialog.cpp + contrib/hbqt/qtgui/QProgressBar.cpp + contrib/hbqt/qtgui/QProgressDialog.cpp + contrib/hbqt/qtgui/QPushButton.cpp + contrib/hbqt/qtgui/QRadialGradient.cpp + contrib/hbqt/qtgui/QRadioButton.cpp + contrib/hbqt/qtgui/QRegion.cpp + contrib/hbqt/qtgui/QResizeEvent.cpp + contrib/hbqt/qtgui/QScrollArea.cpp + contrib/hbqt/qtgui/QScrollBar.cpp + contrib/hbqt/qtgui/QSessionManager.cpp + contrib/hbqt/qtgui/QSizeGrip.cpp + contrib/hbqt/qtgui/QSizePolicy.cpp + contrib/hbqt/qtgui/QSlider.cpp + contrib/hbqt/qtgui/QSound.cpp + contrib/hbqt/qtgui/QSpacerItem.cpp + contrib/hbqt/qtgui/QSpinBox.cpp + contrib/hbqt/qtgui/QSplashScreen.cpp + contrib/hbqt/qtgui/QSplitter.cpp + contrib/hbqt/qtgui/QStandardItem.cpp + contrib/hbqt/qtgui/QStandardItemModel.cpp + contrib/hbqt/qtgui/QStatusBar.cpp + contrib/hbqt/qtgui/QStringListModel.cpp + contrib/hbqt/qtgui/QStyle.cpp + contrib/hbqt/qtgui/QStyledItemDelegate.cpp + contrib/hbqt/qtgui/QStyleFactory.cpp + contrib/hbqt/qtgui/QStyleHintReturn.cpp + contrib/hbqt/qtgui/QStyleHintReturnMask.cpp + contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp + contrib/hbqt/qtgui/QStyleOption.cpp + contrib/hbqt/qtgui/QStyleOptionButton.cpp + contrib/hbqt/qtgui/QStyleOptionComboBox.cpp + contrib/hbqt/qtgui/QStyleOptionComplex.cpp + contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp + contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp + contrib/hbqt/qtgui/QStyleOptionFrame.cpp + contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp + contrib/hbqt/qtgui/QStyleOptionHeader.cpp + contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp + contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp + contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp + contrib/hbqt/qtgui/QStyleOptionSlider.cpp + contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp + contrib/hbqt/qtgui/QStyleOptionTab.cpp + contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp + contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp + contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp + contrib/hbqt/qtgui/QStyleOptionToolBar.cpp + contrib/hbqt/qtgui/QStyleOptionToolBox.cpp + contrib/hbqt/qtgui/QStyleOptionToolButton.cpp + contrib/hbqt/qtgui/QStyleOptionViewItem.cpp + contrib/hbqt/qtgui/QStylePainter.cpp + contrib/hbqt/qtgui/QSystemTrayIcon.cpp + contrib/hbqt/qtgui/QTabBar.cpp + contrib/hbqt/qtgui/QTableView.cpp + contrib/hbqt/qtgui/QTableWidget.cpp + contrib/hbqt/qtgui/QTableWidgetItem.cpp + contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp + contrib/hbqt/qtgui/QTabWidget.cpp + contrib/hbqt/qtgui/QTextBlock.cpp + contrib/hbqt/qtgui/QTextBlockFormat.cpp + contrib/hbqt/qtgui/QTextBlockGroup.cpp + contrib/hbqt/qtgui/QTextBrowser.cpp + contrib/hbqt/qtgui/QTextCharFormat.cpp + contrib/hbqt/qtgui/QTextCursor.cpp + contrib/hbqt/qtgui/QTextDocument.cpp + contrib/hbqt/qtgui/QTextDocumentFragment.cpp + contrib/hbqt/qtgui/QTextDocumentWriter.cpp + contrib/hbqt/qtgui/QTextEdit.cpp + contrib/hbqt/qtgui/QTextFormat.cpp + contrib/hbqt/qtgui/QTextFragment.cpp + contrib/hbqt/qtgui/QTextFrame.cpp + contrib/hbqt/qtgui/QTextFrameFormat.cpp + contrib/hbqt/qtgui/QTextImageFormat.cpp + contrib/hbqt/qtgui/QTextInlineObject.cpp + contrib/hbqt/qtgui/QTextItem.cpp + contrib/hbqt/qtgui/QTextLayout.cpp + contrib/hbqt/qtgui/QTextLength.cpp + contrib/hbqt/qtgui/QTextLine.cpp + contrib/hbqt/qtgui/QTextListFormat.cpp + contrib/hbqt/qtgui/QTextObject.cpp + contrib/hbqt/qtgui/QTextOption.cpp + contrib/hbqt/qtgui/QTextTableFormat.cpp + contrib/hbqt/qtgui/QTimeEdit.cpp + contrib/hbqt/qtgui/QToolBar.cpp + contrib/hbqt/qtgui/QToolBox.cpp + contrib/hbqt/qtgui/QToolButton.cpp + contrib/hbqt/qtgui/QTransform.cpp + contrib/hbqt/qtgui/QTreeView.cpp + contrib/hbqt/qtgui/QTreeWidget.cpp + contrib/hbqt/qtgui/QTreeWidgetItem.cpp + contrib/hbqt/qtgui/QValidator.cpp + contrib/hbqt/qtgui/QVBoxLayout.cpp + contrib/hbqt/qtgui/QWheelEvent.cpp + contrib/hbqt/qtgui/QWidget.cpp + contrib/hbqt/qtgui/QWidgetAction.cpp + contrib/hbqt/qtgui/QWidgetItem.cpp + contrib/hbqt/qtgui/QWindowsStyle.cpp + contrib/hbqt/qtgui/QWindowsXPStyle.cpp + contrib/hbqt/qtgui/QWizard.cpp + contrib/hbqt/qtgui/QWizardPage.cpp + contrib/hbqt/qtgui/TQAbstractButton.prg + contrib/hbqt/qtgui/TQAbstractItemDelegate.prg + contrib/hbqt/qtgui/TQAbstractItemView.prg + contrib/hbqt/qtgui/TQAbstractPrintDialog.prg + contrib/hbqt/qtgui/TQAbstractProxyModel.prg + contrib/hbqt/qtgui/TQAbstractScrollArea.prg + contrib/hbqt/qtgui/TQAbstractSlider.prg + contrib/hbqt/qtgui/TQAbstractSpinBox.prg + contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg + contrib/hbqt/qtgui/TQAction.prg + contrib/hbqt/qtgui/TQActionGroup.prg + contrib/hbqt/qtgui/TQApplication.prg + contrib/hbqt/qtgui/TQBitmap.prg + contrib/hbqt/qtgui/TQBoxLayout.prg + contrib/hbqt/qtgui/TQBrush.prg + contrib/hbqt/qtgui/TQButtonGroup.prg + contrib/hbqt/qtgui/TQCalendarWidget.prg + contrib/hbqt/qtgui/TQCheckBox.prg + contrib/hbqt/qtgui/TQClipboard.prg + contrib/hbqt/qtgui/TQColor.prg + contrib/hbqt/qtgui/TQColorDialog.prg + contrib/hbqt/qtgui/TQComboBox.prg + contrib/hbqt/qtgui/TQCommandLinkButton.prg + contrib/hbqt/qtgui/TQCommonStyle.prg + contrib/hbqt/qtgui/TQCompleter.prg + contrib/hbqt/qtgui/TQConicalGradient.prg + contrib/hbqt/qtgui/TQContextMenuEvent.prg + contrib/hbqt/qtgui/TQCursor.prg + contrib/hbqt/qtgui/TQDateEdit.prg + contrib/hbqt/qtgui/TQDateTimeEdit.prg + contrib/hbqt/qtgui/TQDesktopWidget.prg + contrib/hbqt/qtgui/TQDial.prg + contrib/hbqt/qtgui/TQDialog.prg + contrib/hbqt/qtgui/TQDirModel.prg + contrib/hbqt/qtgui/TQDockWidget.prg + contrib/hbqt/qtgui/TQDoubleSpinBox.prg + contrib/hbqt/qtgui/TQDragEnterEvent.prg + contrib/hbqt/qtgui/TQDragLeaveEvent.prg + contrib/hbqt/qtgui/TQDragMoveEvent.prg + contrib/hbqt/qtgui/TQDropEvent.prg + contrib/hbqt/qtgui/TQErrorMessage.prg + contrib/hbqt/qtgui/TQFileDialog.prg + contrib/hbqt/qtgui/TQFileIconProvider.prg + contrib/hbqt/qtgui/TQFileSystemModel.prg + contrib/hbqt/qtgui/TQFocusEvent.prg + contrib/hbqt/qtgui/TQFocusFrame.prg + contrib/hbqt/qtgui/TQFont.prg + contrib/hbqt/qtgui/TQFontComboBox.prg + contrib/hbqt/qtgui/TQFontDatabase.prg + contrib/hbqt/qtgui/TQFontDialog.prg + contrib/hbqt/qtgui/TQFontInfo.prg + contrib/hbqt/qtgui/TQFontMetrics.prg + contrib/hbqt/qtgui/TQFontMetricsF.prg + contrib/hbqt/qtgui/TQFormLayout.prg + contrib/hbqt/qtgui/TQFrame.prg + contrib/hbqt/qtgui/TQGradient.prg + contrib/hbqt/qtgui/TQGridLayout.prg + contrib/hbqt/qtgui/TQGroupBox.prg + contrib/hbqt/qtgui/TQHBoxLayout.prg + contrib/hbqt/qtgui/TQHeaderView.prg + contrib/hbqt/qtgui/TQHelpEvent.prg + contrib/hbqt/qtgui/TQIcon.prg + contrib/hbqt/qtgui/TQImage.prg + contrib/hbqt/qtgui/TQImageReader.prg + contrib/hbqt/qtgui/TQImageWriter.prg + contrib/hbqt/qtgui/TQInputContext.prg + contrib/hbqt/qtgui/TQInputDialog.prg + contrib/hbqt/qtgui/TQInputEvent.prg + contrib/hbqt/qtgui/TQInputMethodEvent.prg + contrib/hbqt/qtgui/TQItemSelection.prg + contrib/hbqt/qtgui/TQItemSelectionModel.prg + contrib/hbqt/qtgui/TQKeyEvent.prg + contrib/hbqt/qtgui/TQKeySequence.prg + contrib/hbqt/qtgui/TQLabel.prg + contrib/hbqt/qtgui/TQLayout.prg + contrib/hbqt/qtgui/TQLayoutItem.prg + contrib/hbqt/qtgui/TQLCDNumber.prg + contrib/hbqt/qtgui/TQLinearGradient.prg + contrib/hbqt/qtgui/TQLineEdit.prg + contrib/hbqt/qtgui/TQListView.prg + contrib/hbqt/qtgui/TQListWidget.prg + contrib/hbqt/qtgui/TQListWidgetItem.prg + contrib/hbqt/qtgui/TQMainWindow.prg + contrib/hbqt/qtgui/TQMatrix.prg + contrib/hbqt/qtgui/TQMenu.prg + contrib/hbqt/qtgui/TQMenuBar.prg + contrib/hbqt/qtgui/TQMessageBox.prg + contrib/hbqt/qtgui/TQMouseEvent.prg + contrib/hbqt/qtgui/TQMoveEvent.prg + contrib/hbqt/qtgui/TQMovie.prg + contrib/hbqt/qtgui/TQPageSetupDialog.prg + contrib/hbqt/qtgui/TQPaintDevice.prg + contrib/hbqt/qtgui/TQPainter.prg + contrib/hbqt/qtgui/TQPainterPath.prg + contrib/hbqt/qtgui/TQPaintEvent.prg + contrib/hbqt/qtgui/TQPalette.prg + contrib/hbqt/qtgui/TQPen.prg + contrib/hbqt/qtgui/TQPicture.prg + contrib/hbqt/qtgui/TQPixmap.prg + contrib/hbqt/qtgui/TQPolygon.prg + contrib/hbqt/qtgui/TQPolygonF.prg + contrib/hbqt/qtgui/TQPrintDialog.prg + contrib/hbqt/qtgui/TQPrintEngine.prg + contrib/hbqt/qtgui/TQPrinter.prg + contrib/hbqt/qtgui/TQPrintPreviewDialog.prg + contrib/hbqt/qtgui/TQProgressBar.prg + contrib/hbqt/qtgui/TQProgressDialog.prg + contrib/hbqt/qtgui/TQPushButton.prg + contrib/hbqt/qtgui/TQRadialGradient.prg + contrib/hbqt/qtgui/TQRadioButton.prg + contrib/hbqt/qtgui/TQRegion.prg + contrib/hbqt/qtgui/TQResizeEvent.prg + contrib/hbqt/qtgui/TQScrollArea.prg + contrib/hbqt/qtgui/TQScrollBar.prg + contrib/hbqt/qtgui/TQSessionManager.prg + contrib/hbqt/qtgui/TQSizeGrip.prg + contrib/hbqt/qtgui/TQSizePolicy.prg + contrib/hbqt/qtgui/TQSlider.prg + contrib/hbqt/qtgui/TQSound.prg + contrib/hbqt/qtgui/TQSpacerItem.prg + contrib/hbqt/qtgui/TQSpinBox.prg + contrib/hbqt/qtgui/TQSplashScreen.prg + contrib/hbqt/qtgui/TQSplitter.prg + contrib/hbqt/qtgui/TQStandardItem.prg + contrib/hbqt/qtgui/TQStandardItemModel.prg + contrib/hbqt/qtgui/TQStatusBar.prg + contrib/hbqt/qtgui/TQStringListModel.prg + contrib/hbqt/qtgui/TQStyle.prg + contrib/hbqt/qtgui/TQStyledItemDelegate.prg + contrib/hbqt/qtgui/TQStyleFactory.prg + contrib/hbqt/qtgui/TQStyleHintReturn.prg + contrib/hbqt/qtgui/TQStyleHintReturnMask.prg + contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg + contrib/hbqt/qtgui/TQStyleOption.prg + contrib/hbqt/qtgui/TQStyleOptionButton.prg + contrib/hbqt/qtgui/TQStyleOptionComboBox.prg + contrib/hbqt/qtgui/TQStyleOptionComplex.prg + contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg + contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg + contrib/hbqt/qtgui/TQStyleOptionFrame.prg + contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg + contrib/hbqt/qtgui/TQStyleOptionHeader.prg + contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg + contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg + contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg + contrib/hbqt/qtgui/TQStyleOptionSlider.prg + contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg + contrib/hbqt/qtgui/TQStyleOptionTab.prg + contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg + contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg + contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg + contrib/hbqt/qtgui/TQStyleOptionToolBar.prg + contrib/hbqt/qtgui/TQStyleOptionToolBox.prg + contrib/hbqt/qtgui/TQStyleOptionToolButton.prg + contrib/hbqt/qtgui/TQStyleOptionViewItem.prg + contrib/hbqt/qtgui/TQStylePainter.prg + contrib/hbqt/qtgui/TQSystemTrayIcon.prg + contrib/hbqt/qtgui/TQTabBar.prg + contrib/hbqt/qtgui/TQTableView.prg + contrib/hbqt/qtgui/TQTableWidget.prg + contrib/hbqt/qtgui/TQTableWidgetItem.prg + contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg + contrib/hbqt/qtgui/TQTabWidget.prg + contrib/hbqt/qtgui/TQTextBlock.prg + contrib/hbqt/qtgui/TQTextBlockFormat.prg + contrib/hbqt/qtgui/TQTextBlockGroup.prg + contrib/hbqt/qtgui/TQTextBrowser.prg + contrib/hbqt/qtgui/TQTextCharFormat.prg + contrib/hbqt/qtgui/TQTextCursor.prg + contrib/hbqt/qtgui/TQTextDocument.prg + contrib/hbqt/qtgui/TQTextDocumentFragment.prg + contrib/hbqt/qtgui/TQTextDocumentWriter.prg + contrib/hbqt/qtgui/TQTextEdit.prg + contrib/hbqt/qtgui/TQTextFormat.prg + contrib/hbqt/qtgui/TQTextFragment.prg + contrib/hbqt/qtgui/TQTextFrame.prg + contrib/hbqt/qtgui/TQTextFrameFormat.prg + contrib/hbqt/qtgui/TQTextImageFormat.prg + contrib/hbqt/qtgui/TQTextInlineObject.prg + contrib/hbqt/qtgui/TQTextItem.prg + contrib/hbqt/qtgui/TQTextLayout.prg + contrib/hbqt/qtgui/TQTextLength.prg + contrib/hbqt/qtgui/TQTextLine.prg + contrib/hbqt/qtgui/TQTextListFormat.prg + contrib/hbqt/qtgui/TQTextObject.prg + contrib/hbqt/qtgui/TQTextOption.prg + contrib/hbqt/qtgui/TQTextTableFormat.prg + contrib/hbqt/qtgui/TQTimeEdit.prg + contrib/hbqt/qtgui/TQToolBar.prg + contrib/hbqt/qtgui/TQToolBox.prg + contrib/hbqt/qtgui/TQToolButton.prg + contrib/hbqt/qtgui/TQTransform.prg + contrib/hbqt/qtgui/TQTreeView.prg + contrib/hbqt/qtgui/TQTreeWidget.prg + contrib/hbqt/qtgui/TQTreeWidgetItem.prg + contrib/hbqt/qtgui/TQValidator.prg + contrib/hbqt/qtgui/TQVBoxLayout.prg + contrib/hbqt/qtgui/TQWheelEvent.prg + contrib/hbqt/qtgui/TQWidget.prg + contrib/hbqt/qtgui/TQWidgetAction.prg + contrib/hbqt/qtgui/TQWidgetItem.prg + contrib/hbqt/qtgui/TQWindowsStyle.prg + contrib/hbqt/qtgui/TQWindowsXPStyle.prg + contrib/hbqt/qtgui/TQWizard.prg + contrib/hbqt/qtgui/TQWizardPage.prg + contrib/hbqt/qtnetwork + contrib/hbqt/qtnetwork/filelist.mk + contrib/hbqt/qtnetwork/Makefile + contrib/hbqt/qtnetwork/QFtp.cpp + contrib/hbqt/qtnetwork/QHttp.cpp + contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp + contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp + contrib/hbqt/qtnetwork/QNetworkRequest.cpp + contrib/hbqt/qtnetwork/TQFtp.prg + contrib/hbqt/qtnetwork/TQHttp.prg + contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg + contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg + contrib/hbqt/qtnetwork/TQNetworkRequest.prg + contrib/hbqt/qtwebkit + contrib/hbqt/qtwebkit/filelist.mk + contrib/hbqt/qtwebkit/Makefile + contrib/hbqt/qtwebkit/QWebFrame.cpp + contrib/hbqt/qtwebkit/QWebHistory.cpp + contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp + contrib/hbqt/qtwebkit/QWebHistoryItem.cpp + contrib/hbqt/qtwebkit/QWebHitTestResult.cpp + contrib/hbqt/qtwebkit/QWebPage.cpp + contrib/hbqt/qtwebkit/QWebPluginFactory.cpp + contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp + contrib/hbqt/qtwebkit/QWebSettings.cpp + contrib/hbqt/qtwebkit/QWebView.cpp + contrib/hbqt/qtwebkit/TQWebFrame.prg + contrib/hbqt/qtwebkit/TQWebHistory.prg + contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg + contrib/hbqt/qtwebkit/TQWebHistoryItem.prg + contrib/hbqt/qtwebkit/TQWebHitTestResult.prg + contrib/hbqt/qtwebkit/TQWebPage.prg + contrib/hbqt/qtwebkit/TQWebPluginFactory.prg + contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg + contrib/hbqt/qtwebkit/TQWebSettings.prg + contrib/hbqt/qtwebkit/TQWebView.prg * contrib/hbqt/tests/demoqt.prg ! A lot of changes. Please expect some instability for some time. demoqt.prg compiles and executes fine. HBXBP is in the pipeline. Viktor, please set the make system in place. --- harbour/ChangeLog | 1080 ++++++++++ harbour/contrib/hbqt/QAbstractButton.cpp | 293 --- harbour/contrib/hbqt/QAbstractItemModel.cpp | 387 ---- harbour/contrib/hbqt/QAbstractItemView.cpp | 599 ------ harbour/contrib/hbqt/QAbstractListModel.cpp | 93 - harbour/contrib/hbqt/QAbstractPrintDialog.cpp | 179 -- harbour/contrib/hbqt/QAbstractScrollArea.cpp | 205 -- harbour/contrib/hbqt/QAbstractSlider.cpp | 281 --- harbour/contrib/hbqt/QAbstractSpinBox.cpp | 300 --- harbour/contrib/hbqt/QAbstractTableModel.cpp | 93 - harbour/contrib/hbqt/QAction.cpp | 501 ----- harbour/contrib/hbqt/QApplication.cpp | 802 ------- harbour/contrib/hbqt/QBitmap.cpp | 163 -- harbour/contrib/hbqt/QBoxLayout.cpp | 257 --- harbour/contrib/hbqt/QBrush.cpp | 266 --- harbour/contrib/hbqt/QButtonGroup.cpp | 189 -- harbour/contrib/hbqt/QCalendarWidget.cpp | 412 ---- harbour/contrib/hbqt/QCheckBox.cpp | 132 -- harbour/contrib/hbqt/QClipboard.cpp | 210 -- harbour/contrib/hbqt/QColor.cpp | 720 ------- harbour/contrib/hbqt/QColorDialog.cpp | 225 -- harbour/contrib/hbqt/QComboBox.cpp | 570 ----- harbour/contrib/hbqt/QCommandLinkButton.cpp | 110 - harbour/contrib/hbqt/QCommonStyle.cpp | 92 - harbour/contrib/hbqt/QConicalGradient.cpp | 137 -- harbour/contrib/hbqt/QCoreApplication.cpp | 424 ---- harbour/contrib/hbqt/QCursor.cpp | 199 -- harbour/contrib/hbqt/QDateEdit.cpp | 93 - harbour/contrib/hbqt/QDateTime.cpp | 304 --- harbour/contrib/hbqt/QDateTimeEdit.cpp | 452 ---- harbour/contrib/hbqt/QDesktopWidget.cpp | 189 -- harbour/contrib/hbqt/QDial.cpp | 149 -- harbour/contrib/hbqt/QDialog.cpp | 177 -- harbour/contrib/hbqt/QDir.cpp | 542 ----- harbour/contrib/hbqt/QDirModel.cpp | 402 ---- harbour/contrib/hbqt/QDockWidget.cpp | 195 -- harbour/contrib/hbqt/QDoubleSpinBox.cpp | 236 --- harbour/contrib/hbqt/QDragEnterEvent.cpp | 84 - harbour/contrib/hbqt/QDragLeaveEvent.cpp | 84 - harbour/contrib/hbqt/QDragMoveEvent.cpp | 125 -- harbour/contrib/hbqt/QDropEvent.cpp | 164 -- harbour/contrib/hbqt/QErrorMessage.cpp | 110 - harbour/contrib/hbqt/QEvent.cpp | 150 -- harbour/contrib/hbqt/QEventLoop.cpp | 146 -- harbour/contrib/hbqt/QFileDialog.cpp | 491 ----- harbour/contrib/hbqt/QFileSystemModel.cpp | 353 ---- harbour/contrib/hbqt/QFocusEvent.cpp | 108 - harbour/contrib/hbqt/QFocusFrame.cpp | 109 - harbour/contrib/hbqt/QFont.cpp | 597 ------ harbour/contrib/hbqt/QFontComboBox.cpp | 146 -- harbour/contrib/hbqt/QFontDatabase.cpp | 267 --- harbour/contrib/hbqt/QFontDialog.cpp | 225 -- harbour/contrib/hbqt/QFontInfo.cpp | 197 -- harbour/contrib/hbqt/QFontMetrics.cpp | 329 --- harbour/contrib/hbqt/QFontMetricsF.cpp | 319 --- harbour/contrib/hbqt/QFormLayout.cpp | 405 ---- harbour/contrib/hbqt/QFrame.cpp | 203 -- harbour/contrib/hbqt/QFtp.cpp | 324 --- harbour/contrib/hbqt/QGradient.cpp | 154 -- harbour/contrib/hbqt/QGridLayout.cpp | 312 --- harbour/contrib/hbqt/QGroupBox.cpp | 174 -- harbour/contrib/hbqt/QHBoxLayout.cpp | 94 - harbour/contrib/hbqt/QHeaderView.cpp | 553 ----- harbour/contrib/hbqt/QHttp.cpp | 324 --- harbour/contrib/hbqt/QIODevice.cpp | 355 ---- harbour/contrib/hbqt/QIcon.cpp | 203 -- harbour/contrib/hbqt/QImage.cpp | 635 ------ harbour/contrib/hbqt/QImageReader.cpp | 410 ---- harbour/contrib/hbqt/QImageWriter.cpp | 249 --- harbour/contrib/hbqt/QInputDialog.cpp | 467 ----- harbour/contrib/hbqt/QInputEvent.cpp | 98 - harbour/contrib/hbqt/QKeyEvent.cpp | 157 -- harbour/contrib/hbqt/QKeySequence.cpp | 167 -- harbour/contrib/hbqt/QLCDNumber.cpp | 251 --- harbour/contrib/hbqt/QLabel.cpp | 326 --- harbour/contrib/hbqt/QLatin1Char.cpp | 105 - harbour/contrib/hbqt/QLatin1String.cpp | 97 - harbour/contrib/hbqt/QLayout.cpp | 331 --- harbour/contrib/hbqt/QLayoutItem.cpp | 221 -- harbour/contrib/hbqt/QLine.cpp | 245 --- harbour/contrib/hbqt/QLineEdit.cpp | 548 ----- harbour/contrib/hbqt/QLinearGradient.cpp | 160 -- harbour/contrib/hbqt/QList.cpp | 438 ---- harbour/contrib/hbqt/QListView.cpp | 333 --- harbour/contrib/hbqt/QListWidget.cpp | 343 --- harbour/contrib/hbqt/QListWidgetItem.cpp | 377 ---- harbour/contrib/hbqt/QMainWindow.cpp | 491 ----- harbour/contrib/hbqt/QMenu.cpp | 375 ---- harbour/contrib/hbqt/QMenuBar.cpp | 219 -- harbour/contrib/hbqt/QMessageBox.cpp | 414 ---- harbour/contrib/hbqt/QModelIndex.cpp | 182 -- harbour/contrib/hbqt/QMouseEvent.cpp | 166 -- harbour/contrib/hbqt/QMoveEvent.cpp | 101 - harbour/contrib/hbqt/QObject.cpp | 350 ---- harbour/contrib/hbqt/QPageSetupDialog.cpp | 165 -- harbour/contrib/hbqt/QPaintDevice.cpp | 183 -- harbour/contrib/hbqt/QPaintEvent.cpp | 118 -- harbour/contrib/hbqt/QPainter.cpp | 1573 -------------- harbour/contrib/hbqt/QPalette.cpp | 398 ---- harbour/contrib/hbqt/QPen.cpp | 307 --- harbour/contrib/hbqt/QPicture.cpp | 190 -- harbour/contrib/hbqt/QPixmap.cpp | 438 ---- harbour/contrib/hbqt/QPoint.cpp | 166 -- harbour/contrib/hbqt/QPointF.cpp | 169 -- harbour/contrib/hbqt/QPrintDialog.cpp | 171 -- harbour/contrib/hbqt/QPrintEngine.cpp | 136 -- harbour/contrib/hbqt/QPrintPreviewDialog.cpp | 113 - harbour/contrib/hbqt/QPrinter.cpp | 572 ----- harbour/contrib/hbqt/QProcess.cpp | 387 ---- harbour/contrib/hbqt/QProgressBar.cpp | 264 --- harbour/contrib/hbqt/QProgressDialog.cpp | 286 --- harbour/contrib/hbqt/QPushButton.cpp | 167 -- harbour/contrib/hbqt/QRadialGradient.cpp | 182 -- harbour/contrib/hbqt/QRadioButton.cpp | 96 - harbour/contrib/hbqt/QRect.cpp | 603 ------ harbour/contrib/hbqt/QRectF.cpp | 612 ------ harbour/contrib/hbqt/QRegion.cpp | 293 --- harbour/contrib/hbqt/QResizeEvent.cpp | 100 - harbour/contrib/hbqt/QResource.cpp | 186 -- harbour/contrib/hbqt/QScrollArea.cpp | 165 -- harbour/contrib/hbqt/QScrollBar.cpp | 94 - harbour/contrib/hbqt/QSignalMapper.cpp | 181 -- harbour/contrib/hbqt/QSize.cpp | 217 -- harbour/contrib/hbqt/QSizeF.cpp | 222 -- harbour/contrib/hbqt/QSizeGrip.cpp | 93 - harbour/contrib/hbqt/QSizePolicy.cpp | 213 -- harbour/contrib/hbqt/QSlider.cpp | 133 -- harbour/contrib/hbqt/QSound.cpp | 149 -- harbour/contrib/hbqt/QSpinBox.cpp | 204 -- harbour/contrib/hbqt/QSplashScreen.cpp | 142 -- harbour/contrib/hbqt/QSplitter.cpp | 281 --- harbour/contrib/hbqt/QStandardItem.cpp | 681 ------ harbour/contrib/hbqt/QStandardItemModel.cpp | 317 --- harbour/contrib/hbqt/QStatusBar.cpp | 173 -- harbour/contrib/hbqt/QStringList.cpp | 393 ---- harbour/contrib/hbqt/QStringListModel.cpp | 157 -- harbour/contrib/hbqt/QStyle.cpp | 332 --- harbour/contrib/hbqt/QStyleFactory.cpp | 105 - harbour/contrib/hbqt/QStyleHintReturn.cpp | 90 - harbour/contrib/hbqt/QStyleHintReturnMask.cpp | 90 - .../contrib/hbqt/QStyleHintReturnVariant.cpp | 90 - harbour/contrib/hbqt/QStyleOption.cpp | 161 -- harbour/contrib/hbqt/QStyleOptionButton.cpp | 129 -- harbour/contrib/hbqt/QStyleOptionComboBox.cpp | 143 -- harbour/contrib/hbqt/QStyleOptionComplex.cpp | 111 - .../contrib/hbqt/QStyleOptionDockWidget.cpp | 127 -- .../contrib/hbqt/QStyleOptionFocusRect.cpp | 103 - harbour/contrib/hbqt/QStyleOptionFrame.cpp | 111 - harbour/contrib/hbqt/QStyleOptionGroupBox.cpp | 143 -- harbour/contrib/hbqt/QStyleOptionHeader.cpp | 170 -- harbour/contrib/hbqt/QStyleOptionMenuItem.cpp | 177 -- .../contrib/hbqt/QStyleOptionProgressBar.cpp | 144 -- harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp | 103 - harbour/contrib/hbqt/QStyleOptionSlider.cpp | 191 -- harbour/contrib/hbqt/QStyleOptionSpinBox.cpp | 119 -- harbour/contrib/hbqt/QStyleOptionTab.cpp | 155 -- .../contrib/hbqt/QStyleOptionTabBarBase.cpp | 119 -- .../hbqt/QStyleOptionTabWidgetFrame.cpp | 143 -- harbour/contrib/hbqt/QStyleOptionTitleBar.cpp | 127 -- harbour/contrib/hbqt/QStyleOptionToolBar.cpp | 146 -- harbour/contrib/hbqt/QStyleOptionToolBox.cpp | 111 - .../contrib/hbqt/QStyleOptionToolButton.cpp | 161 -- harbour/contrib/hbqt/QStyleOptionViewItem.cpp | 152 -- harbour/contrib/hbqt/QStylePainter.cpp | 155 -- harbour/contrib/hbqt/QStyledItemDelegate.cpp | 165 -- harbour/contrib/hbqt/QSystemTrayIcon.cpp | 211 -- harbour/contrib/hbqt/QTabBar.cpp | 452 ---- harbour/contrib/hbqt/QTabWidget.cpp | 426 ---- harbour/contrib/hbqt/QTableView.cpp | 440 ---- harbour/contrib/hbqt/QTableWidget.cpp | 476 ----- harbour/contrib/hbqt/QTableWidgetItem.cpp | 392 ---- harbour/contrib/hbqt/QTextBlock.cpp | 312 --- harbour/contrib/hbqt/QTextBlockFormat.cpp | 270 --- harbour/contrib/hbqt/QTextBlockGroup.cpp | 84 - harbour/contrib/hbqt/QTextBoundaryFinder.cpp | 187 -- harbour/contrib/hbqt/QTextBrowser.cpp | 252 --- harbour/contrib/hbqt/QTextCharFormat.cpp | 474 ----- harbour/contrib/hbqt/QTextCodec.cpp | 264 --- harbour/contrib/hbqt/QTextCursor.cpp | 622 ------ harbour/contrib/hbqt/QTextDecoder.cpp | 98 - harbour/contrib/hbqt/QTextDocument.cpp | 644 ------ .../contrib/hbqt/QTextDocumentFragment.cpp | 152 -- harbour/contrib/hbqt/QTextDocumentWriter.cpp | 172 -- harbour/contrib/hbqt/QTextEdit.cpp | 762 ------- harbour/contrib/hbqt/QTextEncoder.cpp | 98 - harbour/contrib/hbqt/QTextFormat.cpp | 450 ---- harbour/contrib/hbqt/QTextFragment.cpp | 146 -- harbour/contrib/hbqt/QTextFrame.cpp | 164 -- harbour/contrib/hbqt/QTextFrameFormat.cpp | 334 --- harbour/contrib/hbqt/QTextImageFormat.cpp | 149 -- harbour/contrib/hbqt/QTextInlineObject.cpp | 194 -- harbour/contrib/hbqt/QTextItem.cpp | 143 -- harbour/contrib/hbqt/QTextLayout.cpp | 339 --- harbour/contrib/hbqt/QTextLength.cpp | 121 -- harbour/contrib/hbqt/QTextLine.cpp | 269 --- harbour/contrib/hbqt/QTextObject.cpp | 116 -- harbour/contrib/hbqt/QTextStream.cpp | 398 ---- harbour/contrib/hbqt/QTimeEdit.cpp | 96 - harbour/contrib/hbqt/QTimer.cpp | 173 -- harbour/contrib/hbqt/QToolBar.cpp | 321 --- harbour/contrib/hbqt/QToolBox.cpp | 253 --- harbour/contrib/hbqt/QToolButton.cpp | 201 -- harbour/contrib/hbqt/QTreeView.cpp | 497 ----- harbour/contrib/hbqt/QTreeWidget.cpp | 401 ---- harbour/contrib/hbqt/QTreeWidgetItem.cpp | 537 ----- harbour/contrib/hbqt/QUrl.cpp | 679 ------ harbour/contrib/hbqt/QVBoxLayout.cpp | 94 - harbour/contrib/hbqt/QVariant.cpp | 464 ----- harbour/contrib/hbqt/QWebFrame.cpp | 394 ---- harbour/contrib/hbqt/QWebHistory.cpp | 207 -- harbour/contrib/hbqt/QWebHistoryInterface.cpp | 117 -- harbour/contrib/hbqt/QWebHistoryItem.cpp | 162 -- harbour/contrib/hbqt/QWebHitTestResult.cpp | 206 -- harbour/contrib/hbqt/QWebPage.cpp | 376 ---- harbour/contrib/hbqt/QWebPluginFactory.cpp | 127 -- harbour/contrib/hbqt/QWebSecurityOrigin.cpp | 154 -- harbour/contrib/hbqt/QWebSettings.cpp | 292 --- harbour/contrib/hbqt/QWebView.cpp | 302 --- harbour/contrib/hbqt/QWheelEvent.cpp | 157 -- harbour/contrib/hbqt/QWidget.cpp | 1843 ----------------- harbour/contrib/hbqt/QWidgetAction.cpp | 125 -- harbour/contrib/hbqt/QWidgetItem.cpp | 105 - harbour/contrib/hbqt/QWindowsStyle.cpp | 94 - harbour/contrib/hbqt/QWindowsXPStyle.cpp | 98 - harbour/contrib/hbqt/QWizard.cpp | 377 ---- harbour/contrib/hbqt/TQAbstractButton.prg | 125 -- harbour/contrib/hbqt/TQAbstractItemModel.prg | 144 -- harbour/contrib/hbqt/TQAbstractItemView.prg | 162 -- harbour/contrib/hbqt/TQAbstractListModel.prg | 100 - .../contrib/hbqt/TQAbstractPrintDialog.prg | 109 - harbour/contrib/hbqt/TQAbstractScrollArea.prg | 114 - harbour/contrib/hbqt/TQAbstractSlider.prg | 123 -- harbour/contrib/hbqt/TQAbstractSpinBox.prg | 125 -- harbour/contrib/hbqt/TQAbstractTableModel.prg | 100 - harbour/contrib/hbqt/TQAction.prg | 147 -- harbour/contrib/hbqt/TQApplication.prg | 177 -- harbour/contrib/hbqt/TQBitmap.prg | 101 - harbour/contrib/hbqt/TQBoxLayout.prg | 119 -- harbour/contrib/hbqt/TQBrush.prg | 111 - harbour/contrib/hbqt/TQButtonGroup.prg | 109 - harbour/contrib/hbqt/TQCalendarWidget.prg | 137 -- harbour/contrib/hbqt/TQCheckBox.prg | 103 - harbour/contrib/hbqt/TQClipboard.prg | 113 - harbour/contrib/hbqt/TQColor.prg | 162 -- harbour/contrib/hbqt/TQColorDialog.prg | 114 - harbour/contrib/hbqt/TQComboBox.prg | 158 -- harbour/contrib/hbqt/TQCommandLinkButton.prg | 101 - harbour/contrib/hbqt/TQCommonStyle.prg | 99 - harbour/contrib/hbqt/TQConicalGradient.prg | 104 - harbour/contrib/hbqt/TQCoreApplication.prg | 139 -- harbour/contrib/hbqt/TQCursor.prg | 106 - harbour/contrib/hbqt/TQDateEdit.prg | 99 - harbour/contrib/hbqt/TQDateTime.prg | 125 -- harbour/contrib/hbqt/TQDateTimeEdit.prg | 143 -- harbour/contrib/hbqt/TQDesktopWidget.prg | 111 - harbour/contrib/hbqt/TQDial.prg | 106 - harbour/contrib/hbqt/TQDialog.prg | 109 - harbour/contrib/hbqt/TQDir.prg | 154 -- harbour/contrib/hbqt/TQDirModel.prg | 137 -- harbour/contrib/hbqt/TQDockWidget.prg | 111 - harbour/contrib/hbqt/TQDoubleSpinBox.prg | 117 -- harbour/contrib/hbqt/TQDragEnterEvent.prg | 99 - harbour/contrib/hbqt/TQDragLeaveEvent.prg | 99 - harbour/contrib/hbqt/TQDragMoveEvent.prg | 104 - harbour/contrib/hbqt/TQDropEvent.prg | 109 - harbour/contrib/hbqt/TQErrorMessage.prg | 100 - harbour/contrib/hbqt/TQEvent.prg | 106 - harbour/contrib/hbqt/TQEventLoop.prg | 105 - harbour/contrib/hbqt/TQFileDialog.prg | 144 -- harbour/contrib/hbqt/TQFileSystemModel.prg | 131 -- harbour/contrib/hbqt/TQFocusEvent.prg | 102 - harbour/contrib/hbqt/TQFocusFrame.prg | 101 - harbour/contrib/hbqt/TQFont.prg | 155 -- harbour/contrib/hbqt/TQFontComboBox.prg | 105 - harbour/contrib/hbqt/TQFontDatabase.prg | 119 -- harbour/contrib/hbqt/TQFontDialog.prg | 111 - harbour/contrib/hbqt/TQFontInfo.prg | 111 - harbour/contrib/hbqt/TQFontMetrics.prg | 123 -- harbour/contrib/hbqt/TQFontMetricsF.prg | 122 -- harbour/contrib/hbqt/TQFormLayout.prg | 135 -- harbour/contrib/hbqt/TQFrame.prg | 112 - harbour/contrib/hbqt/TQFtp.prg | 125 -- harbour/contrib/hbqt/TQGradient.prg | 107 - harbour/contrib/hbqt/TQGridLayout.prg | 125 -- harbour/contrib/hbqt/TQGroupBox.prg | 109 - harbour/contrib/hbqt/TQHBoxLayout.prg | 99 - harbour/contrib/hbqt/TQHeaderView.prg | 156 -- harbour/contrib/hbqt/TQHttp.prg | 125 -- harbour/contrib/hbqt/TQIODevice.prg | 132 -- harbour/contrib/hbqt/TQIcon.prg | 107 - harbour/contrib/hbqt/TQImage.prg | 157 -- harbour/contrib/hbqt/TQImageReader.prg | 137 -- harbour/contrib/hbqt/TQImageWriter.prg | 117 -- harbour/contrib/hbqt/TQInputDialog.prg | 143 -- harbour/contrib/hbqt/TQInputEvent.prg | 100 - harbour/contrib/hbqt/TQKeyEvent.prg | 108 - harbour/contrib/hbqt/TQKeySequence.prg | 105 - harbour/contrib/hbqt/TQLCDNumber.prg | 118 -- harbour/contrib/hbqt/TQLabel.prg | 128 -- harbour/contrib/hbqt/TQLatin1Char.prg | 101 - harbour/contrib/hbqt/TQLatin1String.prg | 100 - harbour/contrib/hbqt/TQLayout.prg | 128 -- harbour/contrib/hbqt/TQLayoutItem.prg | 116 -- harbour/contrib/hbqt/TQLine.prg | 114 - harbour/contrib/hbqt/TQLineEdit.prg | 154 -- harbour/contrib/hbqt/TQLinearGradient.prg | 103 - harbour/contrib/hbqt/TQList.prg | 139 -- harbour/contrib/hbqt/TQListView.prg | 128 -- harbour/contrib/hbqt/TQListWidget.prg | 129 -- harbour/contrib/hbqt/TQListWidgetItem.prg | 134 -- harbour/contrib/hbqt/TQMainWindow.prg | 147 -- harbour/contrib/hbqt/TQMenu.prg | 132 -- harbour/contrib/hbqt/TQMenuBar.prg | 113 - harbour/contrib/hbqt/TQMessageBox.prg | 137 -- harbour/contrib/hbqt/TQModelIndex.prg | 110 - harbour/contrib/hbqt/TQMouseEvent.prg | 108 - harbour/contrib/hbqt/TQMoveEvent.prg | 101 - harbour/contrib/hbqt/TQObject.prg | 129 -- harbour/contrib/hbqt/TQPageSetupDialog.prg | 107 - harbour/contrib/hbqt/TQPaintDevice.prg | 111 - harbour/contrib/hbqt/TQPaintEvent.prg | 101 - harbour/contrib/hbqt/TQPainter.prg | 281 --- harbour/contrib/hbqt/TQPalette.prg | 132 -- harbour/contrib/hbqt/TQPen.prg | 118 -- harbour/contrib/hbqt/TQPicture.prg | 108 - harbour/contrib/hbqt/TQPixmap.prg | 137 -- harbour/contrib/hbqt/TQPoint.prg | 105 - harbour/contrib/hbqt/TQPointF.prg | 105 - harbour/contrib/hbqt/TQPrintDialog.prg | 108 - harbour/contrib/hbqt/TQPrintEngine.prg | 105 - harbour/contrib/hbqt/TQPrintPreviewDialog.prg | 101 - harbour/contrib/hbqt/TQPrinter.prg | 154 -- harbour/contrib/hbqt/TQProcess.prg | 133 -- harbour/contrib/hbqt/TQProgressBar.prg | 120 -- harbour/contrib/hbqt/TQProgressDialog.prg | 123 -- harbour/contrib/hbqt/TQPushButton.prg | 108 - harbour/contrib/hbqt/TQRadialGradient.prg | 105 - harbour/contrib/hbqt/TQRadioButton.prg | 99 - harbour/contrib/hbqt/TQRect.prg | 156 -- harbour/contrib/hbqt/TQRectF.prg | 157 -- harbour/contrib/hbqt/TQRegion.prg | 115 - harbour/contrib/hbqt/TQResizeEvent.prg | 101 - harbour/contrib/hbqt/TQResource.prg | 111 - harbour/contrib/hbqt/TQScrollArea.prg | 108 - harbour/contrib/hbqt/TQScrollBar.prg | 99 - harbour/contrib/hbqt/TQSignalMapper.prg | 110 - harbour/contrib/hbqt/TQSize.prg | 111 - harbour/contrib/hbqt/TQSizeF.prg | 112 - harbour/contrib/hbqt/TQSizeGrip.prg | 99 - harbour/contrib/hbqt/TQSizePolicy.prg | 113 - harbour/contrib/hbqt/TQSlider.prg | 103 - harbour/contrib/hbqt/TQSound.prg | 106 - harbour/contrib/hbqt/TQSpinBox.prg | 113 - harbour/contrib/hbqt/TQSplashScreen.prg | 105 - harbour/contrib/hbqt/TQSplitter.prg | 120 -- harbour/contrib/hbqt/TQStandardItem.prg | 170 -- harbour/contrib/hbqt/TQStandardItemModel.prg | 125 -- harbour/contrib/hbqt/TQStatusBar.prg | 109 - harbour/contrib/hbqt/TQStringList.prg | 134 -- harbour/contrib/hbqt/TQStringListModel.prg | 107 - harbour/contrib/hbqt/TQStyle.prg | 128 -- harbour/contrib/hbqt/TQStyleFactory.prg | 101 - harbour/contrib/hbqt/TQStyleHintReturn.prg | 99 - .../contrib/hbqt/TQStyleHintReturnMask.prg | 99 - .../contrib/hbqt/TQStyleHintReturnVariant.prg | 99 - harbour/contrib/hbqt/TQStyleOption.prg | 107 - harbour/contrib/hbqt/TQStyleOptionButton.prg | 103 - .../contrib/hbqt/TQStyleOptionComboBox.prg | 105 - harbour/contrib/hbqt/TQStyleOptionComplex.prg | 101 - .../contrib/hbqt/TQStyleOptionDockWidget.prg | 103 - .../contrib/hbqt/TQStyleOptionFocusRect.prg | 100 - harbour/contrib/hbqt/TQStyleOptionFrame.prg | 101 - .../contrib/hbqt/TQStyleOptionGroupBox.prg | 105 - harbour/contrib/hbqt/TQStyleOptionHeader.prg | 108 - .../contrib/hbqt/TQStyleOptionMenuItem.prg | 109 - .../contrib/hbqt/TQStyleOptionProgressBar.prg | 105 - .../contrib/hbqt/TQStyleOptionSizeGrip.prg | 100 - harbour/contrib/hbqt/TQStyleOptionSlider.prg | 111 - harbour/contrib/hbqt/TQStyleOptionSpinBox.prg | 102 - harbour/contrib/hbqt/TQStyleOptionTab.prg | 106 - .../contrib/hbqt/TQStyleOptionTabBarBase.prg | 102 - .../hbqt/TQStyleOptionTabWidgetFrame.prg | 105 - .../contrib/hbqt/TQStyleOptionTitleBar.prg | 103 - harbour/contrib/hbqt/TQStyleOptionToolBar.prg | 105 - harbour/contrib/hbqt/TQStyleOptionToolBox.prg | 101 - .../contrib/hbqt/TQStyleOptionToolButton.prg | 107 - .../contrib/hbqt/TQStyleOptionViewItem.prg | 106 - harbour/contrib/hbqt/TQStylePainter.prg | 107 - harbour/contrib/hbqt/TQStyledItemDelegate.prg | 108 - harbour/contrib/hbqt/TQSystemTrayIcon.prg | 113 - harbour/contrib/hbqt/TQTabBar.prg | 143 -- harbour/contrib/hbqt/TQTabWidget.prg | 140 -- harbour/contrib/hbqt/TQTableView.prg | 151 -- harbour/contrib/hbqt/TQTableWidget.prg | 145 -- harbour/contrib/hbqt/TQTableWidgetItem.prg | 134 -- harbour/contrib/hbqt/TQTextBlock.prg | 126 -- harbour/contrib/hbqt/TQTextBlockFormat.prg | 118 -- harbour/contrib/hbqt/TQTextBlockGroup.prg | 99 - harbour/contrib/hbqt/TQTextBoundaryFinder.prg | 110 - harbour/contrib/hbqt/TQTextBrowser.prg | 119 -- harbour/contrib/hbqt/TQTextCharFormat.prg | 146 -- harbour/contrib/hbqt/TQTextCodec.prg | 119 -- harbour/contrib/hbqt/TQTextCursor.prg | 157 -- harbour/contrib/hbqt/TQTextDecoder.prg | 100 - harbour/contrib/hbqt/TQTextDocument.prg | 165 -- .../contrib/hbqt/TQTextDocumentFragment.prg | 106 - harbour/contrib/hbqt/TQTextDocumentWriter.prg | 109 - harbour/contrib/hbqt/TQTextEdit.prg | 180 -- harbour/contrib/hbqt/TQTextEncoder.prg | 100 - harbour/contrib/hbqt/TQTextFormat.prg | 141 -- harbour/contrib/hbqt/TQTextFragment.prg | 106 - harbour/contrib/hbqt/TQTextFrame.prg | 106 - harbour/contrib/hbqt/TQTextFrameFormat.prg | 128 -- harbour/contrib/hbqt/TQTextImageFormat.prg | 106 - harbour/contrib/hbqt/TQTextInlineObject.prg | 112 - harbour/contrib/hbqt/TQTextItem.prg | 105 - harbour/contrib/hbqt/TQTextLayout.prg | 128 -- harbour/contrib/hbqt/TQTextLength.prg | 102 - harbour/contrib/hbqt/TQTextLine.prg | 120 -- harbour/contrib/hbqt/TQTextObject.prg | 103 - harbour/contrib/hbqt/TQTextStream.prg | 135 -- harbour/contrib/hbqt/TQTimeEdit.prg | 99 - harbour/contrib/hbqt/TQTimer.prg | 109 - harbour/contrib/hbqt/TQToolBar.prg | 127 -- harbour/contrib/hbqt/TQToolBox.prg | 119 -- harbour/contrib/hbqt/TQToolButton.prg | 112 - harbour/contrib/hbqt/TQTreeView.prg | 148 -- harbour/contrib/hbqt/TQTreeWidget.prg | 136 -- harbour/contrib/hbqt/TQTreeWidgetItem.prg | 151 -- harbour/contrib/hbqt/TQUrl.prg | 168 -- harbour/contrib/hbqt/TQVBoxLayout.prg | 99 - harbour/contrib/hbqt/TQVariant.prg | 135 -- harbour/contrib/hbqt/TQWebFrame.prg | 136 -- harbour/contrib/hbqt/TQWebHistory.prg | 113 - .../contrib/hbqt/TQWebHistoryInterface.prg | 103 - harbour/contrib/hbqt/TQWebHistoryItem.prg | 107 - harbour/contrib/hbqt/TQWebHitTestResult.prg | 113 - harbour/contrib/hbqt/TQWebPage.prg | 133 -- harbour/contrib/hbqt/TQWebPluginFactory.prg | 102 - harbour/contrib/hbqt/TQWebSecurityOrigin.prg | 105 - harbour/contrib/hbqt/TQWebSettings.prg | 124 -- harbour/contrib/hbqt/TQWebView.prg | 125 -- harbour/contrib/hbqt/TQWheelEvent.prg | 108 - harbour/contrib/hbqt/TQWidget.prg | 312 --- harbour/contrib/hbqt/TQWidgetAction.prg | 103 - harbour/contrib/hbqt/TQWidgetItem.prg | 101 - harbour/contrib/hbqt/TQWindowsStyle.prg | 99 - harbour/contrib/hbqt/TQWindowsXPStyle.prg | 99 - harbour/contrib/hbqt/TQWizard.prg | 132 -- harbour/contrib/hbqt/filelist.mk | 452 ---- harbour/contrib/hbqt/generator/hbmk.hbm | 2 +- harbour/contrib/hbqt/generator/hbqtgen.prg | 213 +- harbour/contrib/hbqt/generator/qt45.qtp | 52 +- harbour/contrib/hbqt/hbqt.h | 313 +-- harbour/contrib/hbqt/hbqt.hbc | 1 + harbour/contrib/hbqt/hbqt_destruct.cpp | 353 +--- harbour/contrib/hbqt/hbqt_garbage.h | 278 +++ harbour/contrib/hbqt/hbqt_slots.cpp | 25 +- harbour/contrib/hbqt/tests/demoqt.prg | 87 +- 459 files changed, 1708 insertions(+), 88112 deletions(-) delete mode 100644 harbour/contrib/hbqt/QAbstractButton.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractItemModel.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractItemView.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractListModel.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractPrintDialog.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractScrollArea.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractSlider.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/QAbstractTableModel.cpp delete mode 100644 harbour/contrib/hbqt/QAction.cpp delete mode 100644 harbour/contrib/hbqt/QApplication.cpp delete mode 100644 harbour/contrib/hbqt/QBitmap.cpp delete mode 100644 harbour/contrib/hbqt/QBoxLayout.cpp delete mode 100644 harbour/contrib/hbqt/QBrush.cpp delete mode 100644 harbour/contrib/hbqt/QButtonGroup.cpp delete mode 100644 harbour/contrib/hbqt/QCalendarWidget.cpp delete mode 100644 harbour/contrib/hbqt/QCheckBox.cpp delete mode 100644 harbour/contrib/hbqt/QClipboard.cpp delete mode 100644 harbour/contrib/hbqt/QColor.cpp delete mode 100644 harbour/contrib/hbqt/QColorDialog.cpp delete mode 100644 harbour/contrib/hbqt/QComboBox.cpp delete mode 100644 harbour/contrib/hbqt/QCommandLinkButton.cpp delete mode 100644 harbour/contrib/hbqt/QCommonStyle.cpp delete mode 100644 harbour/contrib/hbqt/QConicalGradient.cpp delete mode 100644 harbour/contrib/hbqt/QCoreApplication.cpp delete mode 100644 harbour/contrib/hbqt/QCursor.cpp delete mode 100644 harbour/contrib/hbqt/QDateEdit.cpp delete mode 100644 harbour/contrib/hbqt/QDateTime.cpp delete mode 100644 harbour/contrib/hbqt/QDateTimeEdit.cpp delete mode 100644 harbour/contrib/hbqt/QDesktopWidget.cpp delete mode 100644 harbour/contrib/hbqt/QDial.cpp delete mode 100644 harbour/contrib/hbqt/QDialog.cpp delete mode 100644 harbour/contrib/hbqt/QDir.cpp delete mode 100644 harbour/contrib/hbqt/QDirModel.cpp delete mode 100644 harbour/contrib/hbqt/QDockWidget.cpp delete mode 100644 harbour/contrib/hbqt/QDoubleSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/QDragEnterEvent.cpp delete mode 100644 harbour/contrib/hbqt/QDragLeaveEvent.cpp delete mode 100644 harbour/contrib/hbqt/QDragMoveEvent.cpp delete mode 100644 harbour/contrib/hbqt/QDropEvent.cpp delete mode 100644 harbour/contrib/hbqt/QErrorMessage.cpp delete mode 100644 harbour/contrib/hbqt/QEvent.cpp delete mode 100644 harbour/contrib/hbqt/QEventLoop.cpp delete mode 100644 harbour/contrib/hbqt/QFileDialog.cpp delete mode 100644 harbour/contrib/hbqt/QFileSystemModel.cpp delete mode 100644 harbour/contrib/hbqt/QFocusEvent.cpp delete mode 100644 harbour/contrib/hbqt/QFocusFrame.cpp delete mode 100644 harbour/contrib/hbqt/QFont.cpp delete mode 100644 harbour/contrib/hbqt/QFontComboBox.cpp delete mode 100644 harbour/contrib/hbqt/QFontDatabase.cpp delete mode 100644 harbour/contrib/hbqt/QFontDialog.cpp delete mode 100644 harbour/contrib/hbqt/QFontInfo.cpp delete mode 100644 harbour/contrib/hbqt/QFontMetrics.cpp delete mode 100644 harbour/contrib/hbqt/QFontMetricsF.cpp delete mode 100644 harbour/contrib/hbqt/QFormLayout.cpp delete mode 100644 harbour/contrib/hbqt/QFrame.cpp delete mode 100644 harbour/contrib/hbqt/QFtp.cpp delete mode 100644 harbour/contrib/hbqt/QGradient.cpp delete mode 100644 harbour/contrib/hbqt/QGridLayout.cpp delete mode 100644 harbour/contrib/hbqt/QGroupBox.cpp delete mode 100644 harbour/contrib/hbqt/QHBoxLayout.cpp delete mode 100644 harbour/contrib/hbqt/QHeaderView.cpp delete mode 100644 harbour/contrib/hbqt/QHttp.cpp delete mode 100644 harbour/contrib/hbqt/QIODevice.cpp delete mode 100644 harbour/contrib/hbqt/QIcon.cpp delete mode 100644 harbour/contrib/hbqt/QImage.cpp delete mode 100644 harbour/contrib/hbqt/QImageReader.cpp delete mode 100644 harbour/contrib/hbqt/QImageWriter.cpp delete mode 100644 harbour/contrib/hbqt/QInputDialog.cpp delete mode 100644 harbour/contrib/hbqt/QInputEvent.cpp delete mode 100644 harbour/contrib/hbqt/QKeyEvent.cpp delete mode 100644 harbour/contrib/hbqt/QKeySequence.cpp delete mode 100644 harbour/contrib/hbqt/QLCDNumber.cpp delete mode 100644 harbour/contrib/hbqt/QLabel.cpp delete mode 100644 harbour/contrib/hbqt/QLatin1Char.cpp delete mode 100644 harbour/contrib/hbqt/QLatin1String.cpp delete mode 100644 harbour/contrib/hbqt/QLayout.cpp delete mode 100644 harbour/contrib/hbqt/QLayoutItem.cpp delete mode 100644 harbour/contrib/hbqt/QLine.cpp delete mode 100644 harbour/contrib/hbqt/QLineEdit.cpp delete mode 100644 harbour/contrib/hbqt/QLinearGradient.cpp delete mode 100644 harbour/contrib/hbqt/QList.cpp delete mode 100644 harbour/contrib/hbqt/QListView.cpp delete mode 100644 harbour/contrib/hbqt/QListWidget.cpp delete mode 100644 harbour/contrib/hbqt/QListWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/QMainWindow.cpp delete mode 100644 harbour/contrib/hbqt/QMenu.cpp delete mode 100644 harbour/contrib/hbqt/QMenuBar.cpp delete mode 100644 harbour/contrib/hbqt/QMessageBox.cpp delete mode 100644 harbour/contrib/hbqt/QModelIndex.cpp delete mode 100644 harbour/contrib/hbqt/QMouseEvent.cpp delete mode 100644 harbour/contrib/hbqt/QMoveEvent.cpp delete mode 100644 harbour/contrib/hbqt/QObject.cpp delete mode 100644 harbour/contrib/hbqt/QPageSetupDialog.cpp delete mode 100644 harbour/contrib/hbqt/QPaintDevice.cpp delete mode 100644 harbour/contrib/hbqt/QPaintEvent.cpp delete mode 100644 harbour/contrib/hbqt/QPainter.cpp delete mode 100644 harbour/contrib/hbqt/QPalette.cpp delete mode 100644 harbour/contrib/hbqt/QPen.cpp delete mode 100644 harbour/contrib/hbqt/QPicture.cpp delete mode 100644 harbour/contrib/hbqt/QPixmap.cpp delete mode 100644 harbour/contrib/hbqt/QPoint.cpp delete mode 100644 harbour/contrib/hbqt/QPointF.cpp delete mode 100644 harbour/contrib/hbqt/QPrintDialog.cpp delete mode 100644 harbour/contrib/hbqt/QPrintEngine.cpp delete mode 100644 harbour/contrib/hbqt/QPrintPreviewDialog.cpp delete mode 100644 harbour/contrib/hbqt/QPrinter.cpp delete mode 100644 harbour/contrib/hbqt/QProcess.cpp delete mode 100644 harbour/contrib/hbqt/QProgressBar.cpp delete mode 100644 harbour/contrib/hbqt/QProgressDialog.cpp delete mode 100644 harbour/contrib/hbqt/QPushButton.cpp delete mode 100644 harbour/contrib/hbqt/QRadialGradient.cpp delete mode 100644 harbour/contrib/hbqt/QRadioButton.cpp delete mode 100644 harbour/contrib/hbqt/QRect.cpp delete mode 100644 harbour/contrib/hbqt/QRectF.cpp delete mode 100644 harbour/contrib/hbqt/QRegion.cpp delete mode 100644 harbour/contrib/hbqt/QResizeEvent.cpp delete mode 100644 harbour/contrib/hbqt/QResource.cpp delete mode 100644 harbour/contrib/hbqt/QScrollArea.cpp delete mode 100644 harbour/contrib/hbqt/QScrollBar.cpp delete mode 100644 harbour/contrib/hbqt/QSignalMapper.cpp delete mode 100644 harbour/contrib/hbqt/QSize.cpp delete mode 100644 harbour/contrib/hbqt/QSizeF.cpp delete mode 100644 harbour/contrib/hbqt/QSizeGrip.cpp delete mode 100644 harbour/contrib/hbqt/QSizePolicy.cpp delete mode 100644 harbour/contrib/hbqt/QSlider.cpp delete mode 100644 harbour/contrib/hbqt/QSound.cpp delete mode 100644 harbour/contrib/hbqt/QSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/QSplashScreen.cpp delete mode 100644 harbour/contrib/hbqt/QSplitter.cpp delete mode 100644 harbour/contrib/hbqt/QStandardItem.cpp delete mode 100644 harbour/contrib/hbqt/QStandardItemModel.cpp delete mode 100644 harbour/contrib/hbqt/QStatusBar.cpp delete mode 100644 harbour/contrib/hbqt/QStringList.cpp delete mode 100644 harbour/contrib/hbqt/QStringListModel.cpp delete mode 100644 harbour/contrib/hbqt/QStyle.cpp delete mode 100644 harbour/contrib/hbqt/QStyleFactory.cpp delete mode 100644 harbour/contrib/hbqt/QStyleHintReturn.cpp delete mode 100644 harbour/contrib/hbqt/QStyleHintReturnMask.cpp delete mode 100644 harbour/contrib/hbqt/QStyleHintReturnVariant.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOption.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionButton.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionComboBox.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionComplex.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionDockWidget.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionFocusRect.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionFrame.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionGroupBox.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionHeader.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionMenuItem.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionProgressBar.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionSlider.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionSpinBox.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionTab.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionTabBarBase.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionTabWidgetFrame.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionTitleBar.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionToolBar.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionToolBox.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionToolButton.cpp delete mode 100644 harbour/contrib/hbqt/QStyleOptionViewItem.cpp delete mode 100644 harbour/contrib/hbqt/QStylePainter.cpp delete mode 100644 harbour/contrib/hbqt/QStyledItemDelegate.cpp delete mode 100644 harbour/contrib/hbqt/QSystemTrayIcon.cpp delete mode 100644 harbour/contrib/hbqt/QTabBar.cpp delete mode 100644 harbour/contrib/hbqt/QTabWidget.cpp delete mode 100644 harbour/contrib/hbqt/QTableView.cpp delete mode 100644 harbour/contrib/hbqt/QTableWidget.cpp delete mode 100644 harbour/contrib/hbqt/QTableWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/QTextBlock.cpp delete mode 100644 harbour/contrib/hbqt/QTextBlockFormat.cpp delete mode 100644 harbour/contrib/hbqt/QTextBlockGroup.cpp delete mode 100644 harbour/contrib/hbqt/QTextBoundaryFinder.cpp delete mode 100644 harbour/contrib/hbqt/QTextBrowser.cpp delete mode 100644 harbour/contrib/hbqt/QTextCharFormat.cpp delete mode 100644 harbour/contrib/hbqt/QTextCodec.cpp delete mode 100644 harbour/contrib/hbqt/QTextCursor.cpp delete mode 100644 harbour/contrib/hbqt/QTextDecoder.cpp delete mode 100644 harbour/contrib/hbqt/QTextDocument.cpp delete mode 100644 harbour/contrib/hbqt/QTextDocumentFragment.cpp delete mode 100644 harbour/contrib/hbqt/QTextDocumentWriter.cpp delete mode 100644 harbour/contrib/hbqt/QTextEdit.cpp delete mode 100644 harbour/contrib/hbqt/QTextEncoder.cpp delete mode 100644 harbour/contrib/hbqt/QTextFormat.cpp delete mode 100644 harbour/contrib/hbqt/QTextFragment.cpp delete mode 100644 harbour/contrib/hbqt/QTextFrame.cpp delete mode 100644 harbour/contrib/hbqt/QTextFrameFormat.cpp delete mode 100644 harbour/contrib/hbqt/QTextImageFormat.cpp delete mode 100644 harbour/contrib/hbqt/QTextInlineObject.cpp delete mode 100644 harbour/contrib/hbqt/QTextItem.cpp delete mode 100644 harbour/contrib/hbqt/QTextLayout.cpp delete mode 100644 harbour/contrib/hbqt/QTextLength.cpp delete mode 100644 harbour/contrib/hbqt/QTextLine.cpp delete mode 100644 harbour/contrib/hbqt/QTextObject.cpp delete mode 100644 harbour/contrib/hbqt/QTextStream.cpp delete mode 100644 harbour/contrib/hbqt/QTimeEdit.cpp delete mode 100644 harbour/contrib/hbqt/QTimer.cpp delete mode 100644 harbour/contrib/hbqt/QToolBar.cpp delete mode 100644 harbour/contrib/hbqt/QToolBox.cpp delete mode 100644 harbour/contrib/hbqt/QToolButton.cpp delete mode 100644 harbour/contrib/hbqt/QTreeView.cpp delete mode 100644 harbour/contrib/hbqt/QTreeWidget.cpp delete mode 100644 harbour/contrib/hbqt/QTreeWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/QUrl.cpp delete mode 100644 harbour/contrib/hbqt/QVBoxLayout.cpp delete mode 100644 harbour/contrib/hbqt/QVariant.cpp delete mode 100644 harbour/contrib/hbqt/QWebFrame.cpp delete mode 100644 harbour/contrib/hbqt/QWebHistory.cpp delete mode 100644 harbour/contrib/hbqt/QWebHistoryInterface.cpp delete mode 100644 harbour/contrib/hbqt/QWebHistoryItem.cpp delete mode 100644 harbour/contrib/hbqt/QWebHitTestResult.cpp delete mode 100644 harbour/contrib/hbqt/QWebPage.cpp delete mode 100644 harbour/contrib/hbqt/QWebPluginFactory.cpp delete mode 100644 harbour/contrib/hbqt/QWebSecurityOrigin.cpp delete mode 100644 harbour/contrib/hbqt/QWebSettings.cpp delete mode 100644 harbour/contrib/hbqt/QWebView.cpp delete mode 100644 harbour/contrib/hbqt/QWheelEvent.cpp delete mode 100644 harbour/contrib/hbqt/QWidget.cpp delete mode 100644 harbour/contrib/hbqt/QWidgetAction.cpp delete mode 100644 harbour/contrib/hbqt/QWidgetItem.cpp delete mode 100644 harbour/contrib/hbqt/QWindowsStyle.cpp delete mode 100644 harbour/contrib/hbqt/QWindowsXPStyle.cpp delete mode 100644 harbour/contrib/hbqt/QWizard.cpp delete mode 100644 harbour/contrib/hbqt/TQAbstractButton.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractItemModel.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractItemView.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractListModel.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractPrintDialog.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractScrollArea.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractSlider.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractSpinBox.prg delete mode 100644 harbour/contrib/hbqt/TQAbstractTableModel.prg delete mode 100644 harbour/contrib/hbqt/TQAction.prg delete mode 100644 harbour/contrib/hbqt/TQApplication.prg delete mode 100644 harbour/contrib/hbqt/TQBitmap.prg delete mode 100644 harbour/contrib/hbqt/TQBoxLayout.prg delete mode 100644 harbour/contrib/hbqt/TQBrush.prg delete mode 100644 harbour/contrib/hbqt/TQButtonGroup.prg delete mode 100644 harbour/contrib/hbqt/TQCalendarWidget.prg delete mode 100644 harbour/contrib/hbqt/TQCheckBox.prg delete mode 100644 harbour/contrib/hbqt/TQClipboard.prg delete mode 100644 harbour/contrib/hbqt/TQColor.prg delete mode 100644 harbour/contrib/hbqt/TQColorDialog.prg delete mode 100644 harbour/contrib/hbqt/TQComboBox.prg delete mode 100644 harbour/contrib/hbqt/TQCommandLinkButton.prg delete mode 100644 harbour/contrib/hbqt/TQCommonStyle.prg delete mode 100644 harbour/contrib/hbqt/TQConicalGradient.prg delete mode 100644 harbour/contrib/hbqt/TQCoreApplication.prg delete mode 100644 harbour/contrib/hbqt/TQCursor.prg delete mode 100644 harbour/contrib/hbqt/TQDateEdit.prg delete mode 100644 harbour/contrib/hbqt/TQDateTime.prg delete mode 100644 harbour/contrib/hbqt/TQDateTimeEdit.prg delete mode 100644 harbour/contrib/hbqt/TQDesktopWidget.prg delete mode 100644 harbour/contrib/hbqt/TQDial.prg delete mode 100644 harbour/contrib/hbqt/TQDialog.prg delete mode 100644 harbour/contrib/hbqt/TQDir.prg delete mode 100644 harbour/contrib/hbqt/TQDirModel.prg delete mode 100644 harbour/contrib/hbqt/TQDockWidget.prg delete mode 100644 harbour/contrib/hbqt/TQDoubleSpinBox.prg delete mode 100644 harbour/contrib/hbqt/TQDragEnterEvent.prg delete mode 100644 harbour/contrib/hbqt/TQDragLeaveEvent.prg delete mode 100644 harbour/contrib/hbqt/TQDragMoveEvent.prg delete mode 100644 harbour/contrib/hbqt/TQDropEvent.prg delete mode 100644 harbour/contrib/hbqt/TQErrorMessage.prg delete mode 100644 harbour/contrib/hbqt/TQEvent.prg delete mode 100644 harbour/contrib/hbqt/TQEventLoop.prg delete mode 100644 harbour/contrib/hbqt/TQFileDialog.prg delete mode 100644 harbour/contrib/hbqt/TQFileSystemModel.prg delete mode 100644 harbour/contrib/hbqt/TQFocusEvent.prg delete mode 100644 harbour/contrib/hbqt/TQFocusFrame.prg delete mode 100644 harbour/contrib/hbqt/TQFont.prg delete mode 100644 harbour/contrib/hbqt/TQFontComboBox.prg delete mode 100644 harbour/contrib/hbqt/TQFontDatabase.prg delete mode 100644 harbour/contrib/hbqt/TQFontDialog.prg delete mode 100644 harbour/contrib/hbqt/TQFontInfo.prg delete mode 100644 harbour/contrib/hbqt/TQFontMetrics.prg delete mode 100644 harbour/contrib/hbqt/TQFontMetricsF.prg delete mode 100644 harbour/contrib/hbqt/TQFormLayout.prg delete mode 100644 harbour/contrib/hbqt/TQFrame.prg delete mode 100644 harbour/contrib/hbqt/TQFtp.prg delete mode 100644 harbour/contrib/hbqt/TQGradient.prg delete mode 100644 harbour/contrib/hbqt/TQGridLayout.prg delete mode 100644 harbour/contrib/hbqt/TQGroupBox.prg delete mode 100644 harbour/contrib/hbqt/TQHBoxLayout.prg delete mode 100644 harbour/contrib/hbqt/TQHeaderView.prg delete mode 100644 harbour/contrib/hbqt/TQHttp.prg delete mode 100644 harbour/contrib/hbqt/TQIODevice.prg delete mode 100644 harbour/contrib/hbqt/TQIcon.prg delete mode 100644 harbour/contrib/hbqt/TQImage.prg delete mode 100644 harbour/contrib/hbqt/TQImageReader.prg delete mode 100644 harbour/contrib/hbqt/TQImageWriter.prg delete mode 100644 harbour/contrib/hbqt/TQInputDialog.prg delete mode 100644 harbour/contrib/hbqt/TQInputEvent.prg delete mode 100644 harbour/contrib/hbqt/TQKeyEvent.prg delete mode 100644 harbour/contrib/hbqt/TQKeySequence.prg delete mode 100644 harbour/contrib/hbqt/TQLCDNumber.prg delete mode 100644 harbour/contrib/hbqt/TQLabel.prg delete mode 100644 harbour/contrib/hbqt/TQLatin1Char.prg delete mode 100644 harbour/contrib/hbqt/TQLatin1String.prg delete mode 100644 harbour/contrib/hbqt/TQLayout.prg delete mode 100644 harbour/contrib/hbqt/TQLayoutItem.prg delete mode 100644 harbour/contrib/hbqt/TQLine.prg delete mode 100644 harbour/contrib/hbqt/TQLineEdit.prg delete mode 100644 harbour/contrib/hbqt/TQLinearGradient.prg delete mode 100644 harbour/contrib/hbqt/TQList.prg delete mode 100644 harbour/contrib/hbqt/TQListView.prg delete mode 100644 harbour/contrib/hbqt/TQListWidget.prg delete mode 100644 harbour/contrib/hbqt/TQListWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/TQMainWindow.prg delete mode 100644 harbour/contrib/hbqt/TQMenu.prg delete mode 100644 harbour/contrib/hbqt/TQMenuBar.prg delete mode 100644 harbour/contrib/hbqt/TQMessageBox.prg delete mode 100644 harbour/contrib/hbqt/TQModelIndex.prg delete mode 100644 harbour/contrib/hbqt/TQMouseEvent.prg delete mode 100644 harbour/contrib/hbqt/TQMoveEvent.prg delete mode 100644 harbour/contrib/hbqt/TQObject.prg delete mode 100644 harbour/contrib/hbqt/TQPageSetupDialog.prg delete mode 100644 harbour/contrib/hbqt/TQPaintDevice.prg delete mode 100644 harbour/contrib/hbqt/TQPaintEvent.prg delete mode 100644 harbour/contrib/hbqt/TQPainter.prg delete mode 100644 harbour/contrib/hbqt/TQPalette.prg delete mode 100644 harbour/contrib/hbqt/TQPen.prg delete mode 100644 harbour/contrib/hbqt/TQPicture.prg delete mode 100644 harbour/contrib/hbqt/TQPixmap.prg delete mode 100644 harbour/contrib/hbqt/TQPoint.prg delete mode 100644 harbour/contrib/hbqt/TQPointF.prg delete mode 100644 harbour/contrib/hbqt/TQPrintDialog.prg delete mode 100644 harbour/contrib/hbqt/TQPrintEngine.prg delete mode 100644 harbour/contrib/hbqt/TQPrintPreviewDialog.prg delete mode 100644 harbour/contrib/hbqt/TQPrinter.prg delete mode 100644 harbour/contrib/hbqt/TQProcess.prg delete mode 100644 harbour/contrib/hbqt/TQProgressBar.prg delete mode 100644 harbour/contrib/hbqt/TQProgressDialog.prg delete mode 100644 harbour/contrib/hbqt/TQPushButton.prg delete mode 100644 harbour/contrib/hbqt/TQRadialGradient.prg delete mode 100644 harbour/contrib/hbqt/TQRadioButton.prg delete mode 100644 harbour/contrib/hbqt/TQRect.prg delete mode 100644 harbour/contrib/hbqt/TQRectF.prg delete mode 100644 harbour/contrib/hbqt/TQRegion.prg delete mode 100644 harbour/contrib/hbqt/TQResizeEvent.prg delete mode 100644 harbour/contrib/hbqt/TQResource.prg delete mode 100644 harbour/contrib/hbqt/TQScrollArea.prg delete mode 100644 harbour/contrib/hbqt/TQScrollBar.prg delete mode 100644 harbour/contrib/hbqt/TQSignalMapper.prg delete mode 100644 harbour/contrib/hbqt/TQSize.prg delete mode 100644 harbour/contrib/hbqt/TQSizeF.prg delete mode 100644 harbour/contrib/hbqt/TQSizeGrip.prg delete mode 100644 harbour/contrib/hbqt/TQSizePolicy.prg delete mode 100644 harbour/contrib/hbqt/TQSlider.prg delete mode 100644 harbour/contrib/hbqt/TQSound.prg delete mode 100644 harbour/contrib/hbqt/TQSpinBox.prg delete mode 100644 harbour/contrib/hbqt/TQSplashScreen.prg delete mode 100644 harbour/contrib/hbqt/TQSplitter.prg delete mode 100644 harbour/contrib/hbqt/TQStandardItem.prg delete mode 100644 harbour/contrib/hbqt/TQStandardItemModel.prg delete mode 100644 harbour/contrib/hbqt/TQStatusBar.prg delete mode 100644 harbour/contrib/hbqt/TQStringList.prg delete mode 100644 harbour/contrib/hbqt/TQStringListModel.prg delete mode 100644 harbour/contrib/hbqt/TQStyle.prg delete mode 100644 harbour/contrib/hbqt/TQStyleFactory.prg delete mode 100644 harbour/contrib/hbqt/TQStyleHintReturn.prg delete mode 100644 harbour/contrib/hbqt/TQStyleHintReturnMask.prg delete mode 100644 harbour/contrib/hbqt/TQStyleHintReturnVariant.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOption.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionButton.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionComboBox.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionComplex.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionDockWidget.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionFocusRect.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionFrame.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionGroupBox.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionHeader.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionMenuItem.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionProgressBar.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionSlider.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionSpinBox.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionTab.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionTitleBar.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionToolBar.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionToolBox.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionToolButton.prg delete mode 100644 harbour/contrib/hbqt/TQStyleOptionViewItem.prg delete mode 100644 harbour/contrib/hbqt/TQStylePainter.prg delete mode 100644 harbour/contrib/hbqt/TQStyledItemDelegate.prg delete mode 100644 harbour/contrib/hbqt/TQSystemTrayIcon.prg delete mode 100644 harbour/contrib/hbqt/TQTabBar.prg delete mode 100644 harbour/contrib/hbqt/TQTabWidget.prg delete mode 100644 harbour/contrib/hbqt/TQTableView.prg delete mode 100644 harbour/contrib/hbqt/TQTableWidget.prg delete mode 100644 harbour/contrib/hbqt/TQTableWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/TQTextBlock.prg delete mode 100644 harbour/contrib/hbqt/TQTextBlockFormat.prg delete mode 100644 harbour/contrib/hbqt/TQTextBlockGroup.prg delete mode 100644 harbour/contrib/hbqt/TQTextBoundaryFinder.prg delete mode 100644 harbour/contrib/hbqt/TQTextBrowser.prg delete mode 100644 harbour/contrib/hbqt/TQTextCharFormat.prg delete mode 100644 harbour/contrib/hbqt/TQTextCodec.prg delete mode 100644 harbour/contrib/hbqt/TQTextCursor.prg delete mode 100644 harbour/contrib/hbqt/TQTextDecoder.prg delete mode 100644 harbour/contrib/hbqt/TQTextDocument.prg delete mode 100644 harbour/contrib/hbqt/TQTextDocumentFragment.prg delete mode 100644 harbour/contrib/hbqt/TQTextDocumentWriter.prg delete mode 100644 harbour/contrib/hbqt/TQTextEdit.prg delete mode 100644 harbour/contrib/hbqt/TQTextEncoder.prg delete mode 100644 harbour/contrib/hbqt/TQTextFormat.prg delete mode 100644 harbour/contrib/hbqt/TQTextFragment.prg delete mode 100644 harbour/contrib/hbqt/TQTextFrame.prg delete mode 100644 harbour/contrib/hbqt/TQTextFrameFormat.prg delete mode 100644 harbour/contrib/hbqt/TQTextImageFormat.prg delete mode 100644 harbour/contrib/hbqt/TQTextInlineObject.prg delete mode 100644 harbour/contrib/hbqt/TQTextItem.prg delete mode 100644 harbour/contrib/hbqt/TQTextLayout.prg delete mode 100644 harbour/contrib/hbqt/TQTextLength.prg delete mode 100644 harbour/contrib/hbqt/TQTextLine.prg delete mode 100644 harbour/contrib/hbqt/TQTextObject.prg delete mode 100644 harbour/contrib/hbqt/TQTextStream.prg delete mode 100644 harbour/contrib/hbqt/TQTimeEdit.prg delete mode 100644 harbour/contrib/hbqt/TQTimer.prg delete mode 100644 harbour/contrib/hbqt/TQToolBar.prg delete mode 100644 harbour/contrib/hbqt/TQToolBox.prg delete mode 100644 harbour/contrib/hbqt/TQToolButton.prg delete mode 100644 harbour/contrib/hbqt/TQTreeView.prg delete mode 100644 harbour/contrib/hbqt/TQTreeWidget.prg delete mode 100644 harbour/contrib/hbqt/TQTreeWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/TQUrl.prg delete mode 100644 harbour/contrib/hbqt/TQVBoxLayout.prg delete mode 100644 harbour/contrib/hbqt/TQVariant.prg delete mode 100644 harbour/contrib/hbqt/TQWebFrame.prg delete mode 100644 harbour/contrib/hbqt/TQWebHistory.prg delete mode 100644 harbour/contrib/hbqt/TQWebHistoryInterface.prg delete mode 100644 harbour/contrib/hbqt/TQWebHistoryItem.prg delete mode 100644 harbour/contrib/hbqt/TQWebHitTestResult.prg delete mode 100644 harbour/contrib/hbqt/TQWebPage.prg delete mode 100644 harbour/contrib/hbqt/TQWebPluginFactory.prg delete mode 100644 harbour/contrib/hbqt/TQWebSecurityOrigin.prg delete mode 100644 harbour/contrib/hbqt/TQWebSettings.prg delete mode 100644 harbour/contrib/hbqt/TQWebView.prg delete mode 100644 harbour/contrib/hbqt/TQWheelEvent.prg delete mode 100644 harbour/contrib/hbqt/TQWidget.prg delete mode 100644 harbour/contrib/hbqt/TQWidgetAction.prg delete mode 100644 harbour/contrib/hbqt/TQWidgetItem.prg delete mode 100644 harbour/contrib/hbqt/TQWindowsStyle.prg delete mode 100644 harbour/contrib/hbqt/TQWindowsXPStyle.prg delete mode 100644 harbour/contrib/hbqt/TQWizard.prg create mode 100644 harbour/contrib/hbqt/hbqt_garbage.h diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6bd35edc6d..bfb7770bc1 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,1086 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-22 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbqt/qth/QAbstractItemModel.qth + * contrib/hbqt/qth/QAbstractScrollArea.qth + * contrib/hbqt/qth/QApplication.qth + * contrib/hbqt/qth/QDir.qth + * contrib/hbqt/qth/QDirModel.qth + * contrib/hbqt/qth/QFileSystemModel.qth + * contrib/hbqt/qth/QGradient.qth + * contrib/hbqt/qth/QHttp.qth + * contrib/hbqt/qth/QObject.qth + * contrib/hbqt/qth/QProcess.qth + * contrib/hbqt/qth/QStyledItemDelegate.qth + * contrib/hbqt/qth/QTableView.qth + * contrib/hbqt/qth/QTextBlock.qth + * contrib/hbqt/qth/QTextFormat.qth + * contrib/hbqt/qth/QTextInlineObject.qth + * contrib/hbqt/qth/QWebPage.qth + * contrib/hbqt/qth/QWidget.qth + + + contrib/hbqt/qth/QAbstractEventDispatcher.qth + + contrib/hbqt/qth/QAbstractItemDelegate.qth + + contrib/hbqt/qth/QAbstractProxyModel.qth + + contrib/hbqt/qth/QAbstractTextDocumentLayout.qth + + contrib/hbqt/qth/QActionGroup.qth + + contrib/hbqt/qth/QBitArray.qth + + contrib/hbqt/qth/QByteArray.qth + + contrib/hbqt/qth/QCompleter.qth + + contrib/hbqt/qth/QContextMenuEvent.qth + + contrib/hbqt/qth/QDataStream.qth + + contrib/hbqt/qth/QDate.qth + + contrib/hbqt/qth/QFile.qth + + contrib/hbqt/qth/QFileIconProvider.qth + + contrib/hbqt/qth/QFileInfo.qth + + contrib/hbqt/qth/QHelpEvent.qth + + contrib/hbqt/qth/QHttpRequestHeader.qth + + contrib/hbqt/qth/QHttpResponseHeader.qth + + contrib/hbqt/qth/QInputContext.qth + + contrib/hbqt/qth/QInputMethodEvent.qth + + contrib/hbqt/qth/QItemSelection.qth + + contrib/hbqt/qth/QItemSelectionModel.qth + + contrib/hbqt/qth/QLibraryInfo.qth + + contrib/hbqt/qth/QLineF.qth + + contrib/hbqt/qth/QLocale.qth + + contrib/hbqt/qth/QMatrix.qth + + contrib/hbqt/qth/QMimeData.qth + + contrib/hbqt/qth/QMovie.qth + + contrib/hbqt/qth/QNetworkRequest.qth + + contrib/hbqt/qth/QPainterPath.qth + + contrib/hbqt/qth/QPolygon.qth + + contrib/hbqt/qth/QPolygonF.qth + + contrib/hbqt/qth/QRegExp.qth + + contrib/hbqt/qth/QSessionManager.qth + + contrib/hbqt/qth/QSpacerItem.qth + + contrib/hbqt/qth/QTableWidgetSelectionRange.qth + + contrib/hbqt/qth/QTextListFormat.qth + + contrib/hbqt/qth/QTextOption.qth + + contrib/hbqt/qth/QTextTableFormat.qth + + contrib/hbqt/qth/QThread.qth + + contrib/hbqt/qth/QTime.qth + + contrib/hbqt/qth/QTransform.qth + + contrib/hbqt/qth/QTranslator.qth + + contrib/hbqt/qth/QValidator.qth + + contrib/hbqt/qth/QWizardPage.qth + + * contrib/hbqt/generator/hbqtgen.prg + * contrib/hbqt/generator/qt45.qtp + + * contrib/hbqt/filelist.mk + + * contrib/hbqt/hbqt.h + * contrib/hbqt/hbqt.hbc + * contrib/hbqt/hbqt_destruct.cpp + + contrib/hbqt/hbqt_garbage.h + * contrib/hbqt/hbqt_slots.cpp + + - contrib/hbqt/QAbstractButton.cpp + - contrib/hbqt/QAbstractItemModel.cpp + - contrib/hbqt/QAbstractItemView.cpp + - contrib/hbqt/QAbstractListModel.cpp + - contrib/hbqt/QAbstractPrintDialog.cpp + - contrib/hbqt/QAbstractScrollArea.cpp + - contrib/hbqt/QAbstractSlider.cpp + - contrib/hbqt/QAbstractSpinBox.cpp + - contrib/hbqt/QAbstractTableModel.cpp + - contrib/hbqt/QAction.cpp + - contrib/hbqt/QApplication.cpp + - contrib/hbqt/QBitmap.cpp + - contrib/hbqt/QBoxLayout.cpp + - contrib/hbqt/QBrush.cpp + - contrib/hbqt/QButtonGroup.cpp + - contrib/hbqt/QCalendarWidget.cpp + - contrib/hbqt/QCheckBox.cpp + - contrib/hbqt/QClipboard.cpp + - contrib/hbqt/QColor.cpp + - contrib/hbqt/QColorDialog.cpp + - contrib/hbqt/QComboBox.cpp + - contrib/hbqt/QCommandLinkButton.cpp + - contrib/hbqt/QCommonStyle.cpp + - contrib/hbqt/QConicalGradient.cpp + - contrib/hbqt/QCoreApplication.cpp + - contrib/hbqt/QCursor.cpp + - contrib/hbqt/QDateEdit.cpp + - contrib/hbqt/QDateTime.cpp + - contrib/hbqt/QDateTimeEdit.cpp + - contrib/hbqt/QDesktopWidget.cpp + - contrib/hbqt/QDial.cpp + - contrib/hbqt/QDialog.cpp + - contrib/hbqt/QDir.cpp + - contrib/hbqt/QDirModel.cpp + - contrib/hbqt/QDockWidget.cpp + - contrib/hbqt/QDoubleSpinBox.cpp + - contrib/hbqt/QDragEnterEvent.cpp + - contrib/hbqt/QDragLeaveEvent.cpp + - contrib/hbqt/QDragMoveEvent.cpp + - contrib/hbqt/QDropEvent.cpp + - contrib/hbqt/QErrorMessage.cpp + - contrib/hbqt/QEvent.cpp + - contrib/hbqt/QEventLoop.cpp + - contrib/hbqt/QFileDialog.cpp + - contrib/hbqt/QFileSystemModel.cpp + - contrib/hbqt/QFocusEvent.cpp + - contrib/hbqt/QFocusFrame.cpp + - contrib/hbqt/QFont.cpp + - contrib/hbqt/QFontComboBox.cpp + - contrib/hbqt/QFontDatabase.cpp + - contrib/hbqt/QFontDialog.cpp + - contrib/hbqt/QFontInfo.cpp + - contrib/hbqt/QFontMetrics.cpp + - contrib/hbqt/QFontMetricsF.cpp + - contrib/hbqt/QFormLayout.cpp + - contrib/hbqt/QFrame.cpp + - contrib/hbqt/QFtp.cpp + - contrib/hbqt/QGradient.cpp + - contrib/hbqt/QGridLayout.cpp + - contrib/hbqt/QGroupBox.cpp + - contrib/hbqt/QHBoxLayout.cpp + - contrib/hbqt/QHeaderView.cpp + - contrib/hbqt/QHttp.cpp + - contrib/hbqt/QIcon.cpp + - contrib/hbqt/QImage.cpp + - contrib/hbqt/QImageReader.cpp + - contrib/hbqt/QImageWriter.cpp + - contrib/hbqt/QInputDialog.cpp + - contrib/hbqt/QInputEvent.cpp + - contrib/hbqt/QIODevice.cpp + - contrib/hbqt/QKeyEvent.cpp + - contrib/hbqt/QKeySequence.cpp + - contrib/hbqt/QLabel.cpp + - contrib/hbqt/QLatin1Char.cpp + - contrib/hbqt/QLatin1String.cpp + - contrib/hbqt/QLayout.cpp + - contrib/hbqt/QLayoutItem.cpp + - contrib/hbqt/QLCDNumber.cpp + - contrib/hbqt/QLine.cpp + - contrib/hbqt/QLinearGradient.cpp + - contrib/hbqt/QLineEdit.cpp + - contrib/hbqt/QList.cpp + - contrib/hbqt/QListView.cpp + - contrib/hbqt/QListWidget.cpp + - contrib/hbqt/QListWidgetItem.cpp + - contrib/hbqt/QMainWindow.cpp + - contrib/hbqt/QMenu.cpp + - contrib/hbqt/QMenuBar.cpp + - contrib/hbqt/QMessageBox.cpp + - contrib/hbqt/QModelIndex.cpp + - contrib/hbqt/QMouseEvent.cpp + - contrib/hbqt/QMoveEvent.cpp + - contrib/hbqt/QObject.cpp + - contrib/hbqt/QPageSetupDialog.cpp + - contrib/hbqt/QPaintDevice.cpp + - contrib/hbqt/QPainter.cpp + - contrib/hbqt/QPaintEvent.cpp + - contrib/hbqt/QPalette.cpp + - contrib/hbqt/QPen.cpp + - contrib/hbqt/QPicture.cpp + - contrib/hbqt/QPixmap.cpp + - contrib/hbqt/QPoint.cpp + - contrib/hbqt/QPointF.cpp + - contrib/hbqt/QPrintDialog.cpp + - contrib/hbqt/QPrintEngine.cpp + - contrib/hbqt/QPrinter.cpp + - contrib/hbqt/QPrintPreviewDialog.cpp + - contrib/hbqt/QProcess.cpp + - contrib/hbqt/QProgressBar.cpp + - contrib/hbqt/QProgressDialog.cpp + - contrib/hbqt/QPushButton.cpp + - contrib/hbqt/QRadialGradient.cpp + - contrib/hbqt/QRadioButton.cpp + - contrib/hbqt/QRect.cpp + - contrib/hbqt/QRectF.cpp + - contrib/hbqt/QRegion.cpp + - contrib/hbqt/QResizeEvent.cpp + - contrib/hbqt/QResource.cpp + - contrib/hbqt/QScrollArea.cpp + - contrib/hbqt/QScrollBar.cpp + - contrib/hbqt/QSignalMapper.cpp + - contrib/hbqt/QSize.cpp + - contrib/hbqt/QSizeF.cpp + - contrib/hbqt/QSizeGrip.cpp + - contrib/hbqt/QSizePolicy.cpp + - contrib/hbqt/QSlider.cpp + - contrib/hbqt/QSound.cpp + - contrib/hbqt/QSpinBox.cpp + - contrib/hbqt/QSplashScreen.cpp + - contrib/hbqt/QSplitter.cpp + - contrib/hbqt/QStandardItem.cpp + - contrib/hbqt/QStandardItemModel.cpp + - contrib/hbqt/QStatusBar.cpp + - contrib/hbqt/QStringList.cpp + - contrib/hbqt/QStringListModel.cpp + - contrib/hbqt/QStyle.cpp + - contrib/hbqt/QStyledItemDelegate.cpp + - contrib/hbqt/QStyleFactory.cpp + - contrib/hbqt/QStyleHintReturn.cpp + - contrib/hbqt/QStyleHintReturnMask.cpp + - contrib/hbqt/QStyleHintReturnVariant.cpp + - contrib/hbqt/QStyleOption.cpp + - contrib/hbqt/QStyleOptionButton.cpp + - contrib/hbqt/QStyleOptionComboBox.cpp + - contrib/hbqt/QStyleOptionComplex.cpp + - contrib/hbqt/QStyleOptionDockWidget.cpp + - contrib/hbqt/QStyleOptionFocusRect.cpp + - contrib/hbqt/QStyleOptionFrame.cpp + - contrib/hbqt/QStyleOptionGroupBox.cpp + - contrib/hbqt/QStyleOptionHeader.cpp + - contrib/hbqt/QStyleOptionMenuItem.cpp + - contrib/hbqt/QStyleOptionProgressBar.cpp + - contrib/hbqt/QStyleOptionSizeGrip.cpp + - contrib/hbqt/QStyleOptionSlider.cpp + - contrib/hbqt/QStyleOptionSpinBox.cpp + - contrib/hbqt/QStyleOptionTab.cpp + - contrib/hbqt/QStyleOptionTabBarBase.cpp + - contrib/hbqt/QStyleOptionTabWidgetFrame.cpp + - contrib/hbqt/QStyleOptionTitleBar.cpp + - contrib/hbqt/QStyleOptionToolBar.cpp + - contrib/hbqt/QStyleOptionToolBox.cpp + - contrib/hbqt/QStyleOptionToolButton.cpp + - contrib/hbqt/QStyleOptionViewItem.cpp + - contrib/hbqt/QStylePainter.cpp + - contrib/hbqt/QSystemTrayIcon.cpp + - contrib/hbqt/QTabBar.cpp + - contrib/hbqt/QTableView.cpp + - contrib/hbqt/QTableWidget.cpp + - contrib/hbqt/QTableWidgetItem.cpp + - contrib/hbqt/QTabWidget.cpp + - contrib/hbqt/QTextBlock.cpp + - contrib/hbqt/QTextBlockFormat.cpp + - contrib/hbqt/QTextBlockGroup.cpp + - contrib/hbqt/QTextBoundaryFinder.cpp + - contrib/hbqt/QTextBrowser.cpp + - contrib/hbqt/QTextCharFormat.cpp + - contrib/hbqt/QTextCodec.cpp + - contrib/hbqt/QTextCursor.cpp + - contrib/hbqt/QTextDecoder.cpp + - contrib/hbqt/QTextDocument.cpp + - contrib/hbqt/QTextDocumentFragment.cpp + - contrib/hbqt/QTextDocumentWriter.cpp + - contrib/hbqt/QTextEdit.cpp + - contrib/hbqt/QTextEncoder.cpp + - contrib/hbqt/QTextFormat.cpp + - contrib/hbqt/QTextFragment.cpp + - contrib/hbqt/QTextFrame.cpp + - contrib/hbqt/QTextFrameFormat.cpp + - contrib/hbqt/QTextImageFormat.cpp + - contrib/hbqt/QTextInlineObject.cpp + - contrib/hbqt/QTextItem.cpp + - contrib/hbqt/QTextLayout.cpp + - contrib/hbqt/QTextLength.cpp + - contrib/hbqt/QTextLine.cpp + - contrib/hbqt/QTextObject.cpp + - contrib/hbqt/QTextStream.cpp + - contrib/hbqt/QTimeEdit.cpp + - contrib/hbqt/QTimer.cpp + - contrib/hbqt/QToolBar.cpp + - contrib/hbqt/QToolBox.cpp + - contrib/hbqt/QToolButton.cpp + - contrib/hbqt/QTreeView.cpp + - contrib/hbqt/QTreeWidget.cpp + - contrib/hbqt/QTreeWidgetItem.cpp + - contrib/hbqt/QUrl.cpp + - contrib/hbqt/QVariant.cpp + - contrib/hbqt/QVBoxLayout.cpp + - contrib/hbqt/QWebFrame.cpp + - contrib/hbqt/QWebHistory.cpp + - contrib/hbqt/QWebHistoryInterface.cpp + - contrib/hbqt/QWebHistoryItem.cpp + - contrib/hbqt/QWebHitTestResult.cpp + - contrib/hbqt/QWebPage.cpp + - contrib/hbqt/QWebPluginFactory.cpp + - contrib/hbqt/QWebSecurityOrigin.cpp + - contrib/hbqt/QWebSettings.cpp + - contrib/hbqt/QWebView.cpp + - contrib/hbqt/QWheelEvent.cpp + - contrib/hbqt/QWidget.cpp + - contrib/hbqt/QWidgetAction.cpp + - contrib/hbqt/QWidgetItem.cpp + - contrib/hbqt/QWindowsStyle.cpp + - contrib/hbqt/QWindowsXPStyle.cpp + - contrib/hbqt/QWizard.cpp + + - contrib/hbqt/TQAbstractButton.prg + - contrib/hbqt/TQAbstractItemModel.prg + - contrib/hbqt/TQAbstractItemView.prg + - contrib/hbqt/TQAbstractListModel.prg + - contrib/hbqt/TQAbstractPrintDialog.prg + - contrib/hbqt/TQAbstractScrollArea.prg + - contrib/hbqt/TQAbstractSlider.prg + - contrib/hbqt/TQAbstractSpinBox.prg + - contrib/hbqt/TQAbstractTableModel.prg + - contrib/hbqt/TQAction.prg + - contrib/hbqt/TQApplication.prg + - contrib/hbqt/TQBitmap.prg + - contrib/hbqt/TQBoxLayout.prg + - contrib/hbqt/TQBrush.prg + - contrib/hbqt/TQButtonGroup.prg + - contrib/hbqt/TQCalendarWidget.prg + - contrib/hbqt/TQCheckBox.prg + - contrib/hbqt/TQClipboard.prg + - contrib/hbqt/TQColor.prg + - contrib/hbqt/TQColorDialog.prg + - contrib/hbqt/TQComboBox.prg + - contrib/hbqt/TQCommandLinkButton.prg + - contrib/hbqt/TQCommonStyle.prg + - contrib/hbqt/TQConicalGradient.prg + - contrib/hbqt/TQCoreApplication.prg + - contrib/hbqt/TQCursor.prg + - contrib/hbqt/TQDateEdit.prg + - contrib/hbqt/TQDateTime.prg + - contrib/hbqt/TQDateTimeEdit.prg + - contrib/hbqt/TQDesktopWidget.prg + - contrib/hbqt/TQDial.prg + - contrib/hbqt/TQDialog.prg + - contrib/hbqt/TQDir.prg + - contrib/hbqt/TQDirModel.prg + - contrib/hbqt/TQDockWidget.prg + - contrib/hbqt/TQDoubleSpinBox.prg + - contrib/hbqt/TQDragEnterEvent.prg + - contrib/hbqt/TQDragLeaveEvent.prg + - contrib/hbqt/TQDragMoveEvent.prg + - contrib/hbqt/TQDropEvent.prg + - contrib/hbqt/TQErrorMessage.prg + - contrib/hbqt/TQEvent.prg + - contrib/hbqt/TQEventLoop.prg + - contrib/hbqt/TQFileDialog.prg + - contrib/hbqt/TQFileSystemModel.prg + - contrib/hbqt/TQFocusEvent.prg + - contrib/hbqt/TQFocusFrame.prg + - contrib/hbqt/TQFont.prg + - contrib/hbqt/TQFontComboBox.prg + - contrib/hbqt/TQFontDatabase.prg + - contrib/hbqt/TQFontDialog.prg + - contrib/hbqt/TQFontInfo.prg + - contrib/hbqt/TQFontMetrics.prg + - contrib/hbqt/TQFontMetricsF.prg + - contrib/hbqt/TQFormLayout.prg + - contrib/hbqt/TQFrame.prg + - contrib/hbqt/TQFtp.prg + - contrib/hbqt/TQGradient.prg + - contrib/hbqt/TQGridLayout.prg + - contrib/hbqt/TQGroupBox.prg + - contrib/hbqt/TQHBoxLayout.prg + - contrib/hbqt/TQHeaderView.prg + - contrib/hbqt/TQHttp.prg + - contrib/hbqt/TQIcon.prg + - contrib/hbqt/TQImage.prg + - contrib/hbqt/TQImageReader.prg + - contrib/hbqt/TQImageWriter.prg + - contrib/hbqt/TQInputDialog.prg + - contrib/hbqt/TQInputEvent.prg + - contrib/hbqt/TQIODevice.prg + - contrib/hbqt/TQKeyEvent.prg + - contrib/hbqt/TQKeySequence.prg + - contrib/hbqt/TQLabel.prg + - contrib/hbqt/TQLatin1Char.prg + - contrib/hbqt/TQLatin1String.prg + - contrib/hbqt/TQLayout.prg + - contrib/hbqt/TQLayoutItem.prg + - contrib/hbqt/TQLCDNumber.prg + - contrib/hbqt/TQLine.prg + - contrib/hbqt/TQLinearGradient.prg + - contrib/hbqt/TQLineEdit.prg + - contrib/hbqt/TQList.prg + - contrib/hbqt/TQListView.prg + - contrib/hbqt/TQListWidget.prg + - contrib/hbqt/TQListWidgetItem.prg + - contrib/hbqt/TQMainWindow.prg + - contrib/hbqt/TQMenu.prg + - contrib/hbqt/TQMenuBar.prg + - contrib/hbqt/TQMessageBox.prg + - contrib/hbqt/TQModelIndex.prg + - contrib/hbqt/TQMouseEvent.prg + - contrib/hbqt/TQMoveEvent.prg + - contrib/hbqt/TQObject.prg + - contrib/hbqt/TQPageSetupDialog.prg + - contrib/hbqt/TQPaintDevice.prg + - contrib/hbqt/TQPainter.prg + - contrib/hbqt/TQPaintEvent.prg + - contrib/hbqt/TQPalette.prg + - contrib/hbqt/TQPen.prg + - contrib/hbqt/TQPicture.prg + - contrib/hbqt/TQPixmap.prg + - contrib/hbqt/TQPoint.prg + - contrib/hbqt/TQPointF.prg + - contrib/hbqt/TQPrintDialog.prg + - contrib/hbqt/TQPrintEngine.prg + - contrib/hbqt/TQPrinter.prg + - contrib/hbqt/TQPrintPreviewDialog.prg + - contrib/hbqt/TQProcess.prg + - contrib/hbqt/TQProgressBar.prg + - contrib/hbqt/TQProgressDialog.prg + - contrib/hbqt/TQPushButton.prg + - contrib/hbqt/TQRadialGradient.prg + - contrib/hbqt/TQRadioButton.prg + - contrib/hbqt/TQRect.prg + - contrib/hbqt/TQRectF.prg + - contrib/hbqt/TQRegion.prg + - contrib/hbqt/TQResizeEvent.prg + - contrib/hbqt/TQResource.prg + - contrib/hbqt/TQScrollArea.prg + - contrib/hbqt/TQScrollBar.prg + - contrib/hbqt/TQSignalMapper.prg + - contrib/hbqt/TQSize.prg + - contrib/hbqt/TQSizeF.prg + - contrib/hbqt/TQSizeGrip.prg + - contrib/hbqt/TQSizePolicy.prg + - contrib/hbqt/TQSlider.prg + - contrib/hbqt/TQSound.prg + - contrib/hbqt/TQSpinBox.prg + - contrib/hbqt/TQSplashScreen.prg + - contrib/hbqt/TQSplitter.prg + - contrib/hbqt/TQStandardItem.prg + - contrib/hbqt/TQStandardItemModel.prg + - contrib/hbqt/TQStatusBar.prg + - contrib/hbqt/TQStringList.prg + - contrib/hbqt/TQStringListModel.prg + - contrib/hbqt/TQStyle.prg + - contrib/hbqt/TQStyledItemDelegate.prg + - contrib/hbqt/TQStyleFactory.prg + - contrib/hbqt/TQStyleHintReturn.prg + - contrib/hbqt/TQStyleHintReturnMask.prg + - contrib/hbqt/TQStyleHintReturnVariant.prg + - contrib/hbqt/TQStyleOption.prg + - contrib/hbqt/TQStyleOptionButton.prg + - contrib/hbqt/TQStyleOptionComboBox.prg + - contrib/hbqt/TQStyleOptionComplex.prg + - contrib/hbqt/TQStyleOptionDockWidget.prg + - contrib/hbqt/TQStyleOptionFocusRect.prg + - contrib/hbqt/TQStyleOptionFrame.prg + - contrib/hbqt/TQStyleOptionGroupBox.prg + - contrib/hbqt/TQStyleOptionHeader.prg + - contrib/hbqt/TQStyleOptionMenuItem.prg + - contrib/hbqt/TQStyleOptionProgressBar.prg + - contrib/hbqt/TQStyleOptionSizeGrip.prg + - contrib/hbqt/TQStyleOptionSlider.prg + - contrib/hbqt/TQStyleOptionSpinBox.prg + - contrib/hbqt/TQStyleOptionTab.prg + - contrib/hbqt/TQStyleOptionTabBarBase.prg + - contrib/hbqt/TQStyleOptionTabWidgetFrame.prg + - contrib/hbqt/TQStyleOptionTitleBar.prg + - contrib/hbqt/TQStyleOptionToolBar.prg + - contrib/hbqt/TQStyleOptionToolBox.prg + - contrib/hbqt/TQStyleOptionToolButton.prg + - contrib/hbqt/TQStyleOptionViewItem.prg + - contrib/hbqt/TQStylePainter.prg + - contrib/hbqt/TQSystemTrayIcon.prg + - contrib/hbqt/TQTabBar.prg + - contrib/hbqt/TQTableView.prg + - contrib/hbqt/TQTableWidget.prg + - contrib/hbqt/TQTableWidgetItem.prg + - contrib/hbqt/TQTabWidget.prg + - contrib/hbqt/TQTextBlock.prg + - contrib/hbqt/TQTextBlockFormat.prg + - contrib/hbqt/TQTextBlockGroup.prg + - contrib/hbqt/TQTextBoundaryFinder.prg + - contrib/hbqt/TQTextBrowser.prg + - contrib/hbqt/TQTextCharFormat.prg + - contrib/hbqt/TQTextCodec.prg + - contrib/hbqt/TQTextCursor.prg + - contrib/hbqt/TQTextDecoder.prg + - contrib/hbqt/TQTextDocument.prg + - contrib/hbqt/TQTextDocumentFragment.prg + - contrib/hbqt/TQTextDocumentWriter.prg + - contrib/hbqt/TQTextEdit.prg + - contrib/hbqt/TQTextEncoder.prg + - contrib/hbqt/TQTextFormat.prg + - contrib/hbqt/TQTextFragment.prg + - contrib/hbqt/TQTextFrame.prg + - contrib/hbqt/TQTextFrameFormat.prg + - contrib/hbqt/TQTextImageFormat.prg + - contrib/hbqt/TQTextInlineObject.prg + - contrib/hbqt/TQTextItem.prg + - contrib/hbqt/TQTextLayout.prg + - contrib/hbqt/TQTextLength.prg + - contrib/hbqt/TQTextLine.prg + - contrib/hbqt/TQTextObject.prg + - contrib/hbqt/TQTextStream.prg + - contrib/hbqt/TQTimeEdit.prg + - contrib/hbqt/TQTimer.prg + - contrib/hbqt/TQToolBar.prg + - contrib/hbqt/TQToolBox.prg + - contrib/hbqt/TQToolButton.prg + - contrib/hbqt/TQTreeView.prg + - contrib/hbqt/TQTreeWidget.prg + - contrib/hbqt/TQTreeWidgetItem.prg + - contrib/hbqt/TQUrl.prg + - contrib/hbqt/TQVariant.prg + - contrib/hbqt/TQVBoxLayout.prg + - contrib/hbqt/TQWebFrame.prg + - contrib/hbqt/TQWebHistory.prg + - contrib/hbqt/TQWebHistoryInterface.prg + - contrib/hbqt/TQWebHistoryItem.prg + - contrib/hbqt/TQWebHitTestResult.prg + - contrib/hbqt/TQWebPage.prg + - contrib/hbqt/TQWebPluginFactory.prg + - contrib/hbqt/TQWebSecurityOrigin.prg + - contrib/hbqt/TQWebSettings.prg + - contrib/hbqt/TQWebView.prg + - contrib/hbqt/TQWheelEvent.prg + - contrib/hbqt/TQWidget.prg + - contrib/hbqt/TQWidgetAction.prg + - contrib/hbqt/TQWidgetItem.prg + - contrib/hbqt/TQWindowsStyle.prg + - contrib/hbqt/TQWindowsXPStyle.prg + - contrib/hbqt/TQWizard.prg + + + contrib/hbqt/qtcore + + contrib/hbqt/qtcore/filelist.mk + + contrib/hbqt/qtcore/Makefile + + contrib/hbqt/qtcore/QAbstractItemModel.cpp + + contrib/hbqt/qtcore/QAbstractListModel.cpp + + contrib/hbqt/qtcore/QAbstractTableModel.cpp + + contrib/hbqt/qtcore/QBitArray.cpp + + contrib/hbqt/qtcore/QByteArray.cpp + + contrib/hbqt/qtcore/QCoreApplication.cpp + + contrib/hbqt/qtcore/QDataStream.cpp + + contrib/hbqt/qtcore/QDate.cpp + + contrib/hbqt/qtcore/QDateTime.cpp + + contrib/hbqt/qtcore/QDir.cpp + + contrib/hbqt/qtcore/QEvent.cpp + + contrib/hbqt/qtcore/QEventLoop.cpp + + contrib/hbqt/qtcore/QFile.cpp + + contrib/hbqt/qtcore/QFileInfo.cpp + + contrib/hbqt/qtcore/QIODevice.cpp + + contrib/hbqt/qtcore/QLatin1Char.cpp + + contrib/hbqt/qtcore/QLatin1String.cpp + + contrib/hbqt/qtcore/QLine.cpp + + contrib/hbqt/qtcore/QLineF.cpp + + contrib/hbqt/qtcore/QList.cpp + + contrib/hbqt/qtcore/QLocale.cpp + + contrib/hbqt/qtcore/QMimeData.cpp + + contrib/hbqt/qtcore/QModelIndex.cpp + + contrib/hbqt/qtcore/QObject.cpp + + contrib/hbqt/qtcore/QPoint.cpp + + contrib/hbqt/qtcore/QPointF.cpp + + contrib/hbqt/qtcore/QProcess.cpp + + contrib/hbqt/qtcore/QRect.cpp + + contrib/hbqt/qtcore/QRectF.cpp + + contrib/hbqt/qtcore/QRegExp.cpp + + contrib/hbqt/qtcore/QResource.cpp + + contrib/hbqt/qtcore/QSignalMapper.cpp + + contrib/hbqt/qtcore/QSize.cpp + + contrib/hbqt/qtcore/QSizeF.cpp + + contrib/hbqt/qtcore/QStringList.cpp + + contrib/hbqt/qtcore/QTextBoundaryFinder.cpp + + contrib/hbqt/qtcore/QTextCodec.cpp + + contrib/hbqt/qtcore/QTextDecoder.cpp + + contrib/hbqt/qtcore/QTextEncoder.cpp + + contrib/hbqt/qtcore/QTextStream.cpp + + contrib/hbqt/qtcore/QThread.cpp + + contrib/hbqt/qtcore/QTime.cpp + + contrib/hbqt/qtcore/QTimer.cpp + + contrib/hbqt/qtcore/QTranslator.cpp + + contrib/hbqt/qtcore/QUrl.cpp + + contrib/hbqt/qtcore/QVariant.cpp + + contrib/hbqt/qtcore/TQAbstractItemModel.prg + + contrib/hbqt/qtcore/TQAbstractListModel.prg + + contrib/hbqt/qtcore/TQAbstractTableModel.prg + + contrib/hbqt/qtcore/TQBitArray.prg + + contrib/hbqt/qtcore/TQByteArray.prg + + contrib/hbqt/qtcore/TQCoreApplication.prg + + contrib/hbqt/qtcore/TQDataStream.prg + + contrib/hbqt/qtcore/TQDate.prg + + contrib/hbqt/qtcore/TQDateTime.prg + + contrib/hbqt/qtcore/TQDir.prg + + contrib/hbqt/qtcore/TQEvent.prg + + contrib/hbqt/qtcore/TQEventLoop.prg + + contrib/hbqt/qtcore/TQFile.prg + + contrib/hbqt/qtcore/TQFileInfo.prg + + contrib/hbqt/qtcore/TQIODevice.prg + + contrib/hbqt/qtcore/TQLatin1Char.prg + + contrib/hbqt/qtcore/TQLatin1String.prg + + contrib/hbqt/qtcore/TQLine.prg + + contrib/hbqt/qtcore/TQLineF.prg + + contrib/hbqt/qtcore/TQList.prg + + contrib/hbqt/qtcore/TQLocale.prg + + contrib/hbqt/qtcore/TQMimeData.prg + + contrib/hbqt/qtcore/TQModelIndex.prg + + contrib/hbqt/qtcore/TQObject.prg + + contrib/hbqt/qtcore/TQPoint.prg + + contrib/hbqt/qtcore/TQPointF.prg + + contrib/hbqt/qtcore/TQProcess.prg + + contrib/hbqt/qtcore/TQRect.prg + + contrib/hbqt/qtcore/TQRectF.prg + + contrib/hbqt/qtcore/TQRegExp.prg + + contrib/hbqt/qtcore/TQResource.prg + + contrib/hbqt/qtcore/TQSignalMapper.prg + + contrib/hbqt/qtcore/TQSize.prg + + contrib/hbqt/qtcore/TQSizeF.prg + + contrib/hbqt/qtcore/TQStringList.prg + + contrib/hbqt/qtcore/TQTextBoundaryFinder.prg + + contrib/hbqt/qtcore/TQTextCodec.prg + + contrib/hbqt/qtcore/TQTextDecoder.prg + + contrib/hbqt/qtcore/TQTextEncoder.prg + + contrib/hbqt/qtcore/TQTextStream.prg + + contrib/hbqt/qtcore/TQThread.prg + + contrib/hbqt/qtcore/TQTime.prg + + contrib/hbqt/qtcore/TQTimer.prg + + contrib/hbqt/qtcore/TQTranslator.prg + + contrib/hbqt/qtcore/TQUrl.prg + + contrib/hbqt/qtcore/TQVariant.prg + + + contrib/hbqt/qtgui + + contrib/hbqt/qtgui/filelist.mk + + contrib/hbqt/qtgui/Makefile + + contrib/hbqt/qtgui/QAbstractButton.cpp + + contrib/hbqt/qtgui/QAbstractItemDelegate.cpp + + contrib/hbqt/qtgui/QAbstractItemView.cpp + + contrib/hbqt/qtgui/QAbstractPrintDialog.cpp + + contrib/hbqt/qtgui/QAbstractProxyModel.cpp + + contrib/hbqt/qtgui/QAbstractScrollArea.cpp + + contrib/hbqt/qtgui/QAbstractSlider.cpp + + contrib/hbqt/qtgui/QAbstractSpinBox.cpp + + contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp + + contrib/hbqt/qtgui/QAction.cpp + + contrib/hbqt/qtgui/QActionGroup.cpp + + contrib/hbqt/qtgui/QApplication.cpp + + contrib/hbqt/qtgui/QBitmap.cpp + + contrib/hbqt/qtgui/QBoxLayout.cpp + + contrib/hbqt/qtgui/QBrush.cpp + + contrib/hbqt/qtgui/QButtonGroup.cpp + + contrib/hbqt/qtgui/QCalendarWidget.cpp + + contrib/hbqt/qtgui/QCheckBox.cpp + + contrib/hbqt/qtgui/QClipboard.cpp + + contrib/hbqt/qtgui/QColor.cpp + + contrib/hbqt/qtgui/QColorDialog.cpp + + contrib/hbqt/qtgui/QComboBox.cpp + + contrib/hbqt/qtgui/QCommandLinkButton.cpp + + contrib/hbqt/qtgui/QCommonStyle.cpp + + contrib/hbqt/qtgui/QCompleter.cpp + + contrib/hbqt/qtgui/QConicalGradient.cpp + + contrib/hbqt/qtgui/QContextMenuEvent.cpp + + contrib/hbqt/qtgui/QCursor.cpp + + contrib/hbqt/qtgui/QDateEdit.cpp + + contrib/hbqt/qtgui/QDateTimeEdit.cpp + + contrib/hbqt/qtgui/QDesktopWidget.cpp + + contrib/hbqt/qtgui/QDial.cpp + + contrib/hbqt/qtgui/QDialog.cpp + + contrib/hbqt/qtgui/QDirModel.cpp + + contrib/hbqt/qtgui/QDockWidget.cpp + + contrib/hbqt/qtgui/QDoubleSpinBox.cpp + + contrib/hbqt/qtgui/QDragEnterEvent.cpp + + contrib/hbqt/qtgui/QDragLeaveEvent.cpp + + contrib/hbqt/qtgui/QDragMoveEvent.cpp + + contrib/hbqt/qtgui/QDropEvent.cpp + + contrib/hbqt/qtgui/QErrorMessage.cpp + + contrib/hbqt/qtgui/QFileDialog.cpp + + contrib/hbqt/qtgui/QFileIconProvider.cpp + + contrib/hbqt/qtgui/QFileSystemModel.cpp + + contrib/hbqt/qtgui/QFocusEvent.cpp + + contrib/hbqt/qtgui/QFocusFrame.cpp + + contrib/hbqt/qtgui/QFont.cpp + + contrib/hbqt/qtgui/QFontComboBox.cpp + + contrib/hbqt/qtgui/QFontDatabase.cpp + + contrib/hbqt/qtgui/QFontDialog.cpp + + contrib/hbqt/qtgui/QFontInfo.cpp + + contrib/hbqt/qtgui/QFontMetrics.cpp + + contrib/hbqt/qtgui/QFontMetricsF.cpp + + contrib/hbqt/qtgui/QFormLayout.cpp + + contrib/hbqt/qtgui/QFrame.cpp + + contrib/hbqt/qtgui/QGradient.cpp + + contrib/hbqt/qtgui/QGridLayout.cpp + + contrib/hbqt/qtgui/QGroupBox.cpp + + contrib/hbqt/qtgui/QHBoxLayout.cpp + + contrib/hbqt/qtgui/QHeaderView.cpp + + contrib/hbqt/qtgui/QHelpEvent.cpp + + contrib/hbqt/qtgui/QIcon.cpp + + contrib/hbqt/qtgui/QImage.cpp + + contrib/hbqt/qtgui/QImageReader.cpp + + contrib/hbqt/qtgui/QImageWriter.cpp + + contrib/hbqt/qtgui/QInputContext.cpp + + contrib/hbqt/qtgui/QInputDialog.cpp + + contrib/hbqt/qtgui/QInputEvent.cpp + + contrib/hbqt/qtgui/QInputMethodEvent.cpp + + contrib/hbqt/qtgui/QItemSelection.cpp + + contrib/hbqt/qtgui/QItemSelectionModel.cpp + + contrib/hbqt/qtgui/QKeyEvent.cpp + + contrib/hbqt/qtgui/QKeySequence.cpp + + contrib/hbqt/qtgui/QLabel.cpp + + contrib/hbqt/qtgui/QLayout.cpp + + contrib/hbqt/qtgui/QLayoutItem.cpp + + contrib/hbqt/qtgui/QLCDNumber.cpp + + contrib/hbqt/qtgui/QLinearGradient.cpp + + contrib/hbqt/qtgui/QLineEdit.cpp + + contrib/hbqt/qtgui/QListView.cpp + + contrib/hbqt/qtgui/QListWidget.cpp + + contrib/hbqt/qtgui/QListWidgetItem.cpp + + contrib/hbqt/qtgui/QMainWindow.cpp + + contrib/hbqt/qtgui/QMatrix.cpp + + contrib/hbqt/qtgui/QMenu.cpp + + contrib/hbqt/qtgui/QMenuBar.cpp + + contrib/hbqt/qtgui/QMessageBox.cpp + + contrib/hbqt/qtgui/QMouseEvent.cpp + + contrib/hbqt/qtgui/QMoveEvent.cpp + + contrib/hbqt/qtgui/QMovie.cpp + + contrib/hbqt/qtgui/QPageSetupDialog.cpp + + contrib/hbqt/qtgui/QPaintDevice.cpp + + contrib/hbqt/qtgui/QPainter.cpp + + contrib/hbqt/qtgui/QPainterPath.cpp + + contrib/hbqt/qtgui/QPaintEvent.cpp + + contrib/hbqt/qtgui/QPalette.cpp + + contrib/hbqt/qtgui/QPen.cpp + + contrib/hbqt/qtgui/QPicture.cpp + + contrib/hbqt/qtgui/QPixmap.cpp + + contrib/hbqt/qtgui/QPolygon.cpp + + contrib/hbqt/qtgui/QPolygonF.cpp + + contrib/hbqt/qtgui/QPrintDialog.cpp + + contrib/hbqt/qtgui/QPrintEngine.cpp + + contrib/hbqt/qtgui/QPrinter.cpp + + contrib/hbqt/qtgui/QPrintPreviewDialog.cpp + + contrib/hbqt/qtgui/QProgressBar.cpp + + contrib/hbqt/qtgui/QProgressDialog.cpp + + contrib/hbqt/qtgui/QPushButton.cpp + + contrib/hbqt/qtgui/QRadialGradient.cpp + + contrib/hbqt/qtgui/QRadioButton.cpp + + contrib/hbqt/qtgui/QRegion.cpp + + contrib/hbqt/qtgui/QResizeEvent.cpp + + contrib/hbqt/qtgui/QScrollArea.cpp + + contrib/hbqt/qtgui/QScrollBar.cpp + + contrib/hbqt/qtgui/QSessionManager.cpp + + contrib/hbqt/qtgui/QSizeGrip.cpp + + contrib/hbqt/qtgui/QSizePolicy.cpp + + contrib/hbqt/qtgui/QSlider.cpp + + contrib/hbqt/qtgui/QSound.cpp + + contrib/hbqt/qtgui/QSpacerItem.cpp + + contrib/hbqt/qtgui/QSpinBox.cpp + + contrib/hbqt/qtgui/QSplashScreen.cpp + + contrib/hbqt/qtgui/QSplitter.cpp + + contrib/hbqt/qtgui/QStandardItem.cpp + + contrib/hbqt/qtgui/QStandardItemModel.cpp + + contrib/hbqt/qtgui/QStatusBar.cpp + + contrib/hbqt/qtgui/QStringListModel.cpp + + contrib/hbqt/qtgui/QStyle.cpp + + contrib/hbqt/qtgui/QStyledItemDelegate.cpp + + contrib/hbqt/qtgui/QStyleFactory.cpp + + contrib/hbqt/qtgui/QStyleHintReturn.cpp + + contrib/hbqt/qtgui/QStyleHintReturnMask.cpp + + contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp + + contrib/hbqt/qtgui/QStyleOption.cpp + + contrib/hbqt/qtgui/QStyleOptionButton.cpp + + contrib/hbqt/qtgui/QStyleOptionComboBox.cpp + + contrib/hbqt/qtgui/QStyleOptionComplex.cpp + + contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp + + contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp + + contrib/hbqt/qtgui/QStyleOptionFrame.cpp + + contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp + + contrib/hbqt/qtgui/QStyleOptionHeader.cpp + + contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp + + contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp + + contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp + + contrib/hbqt/qtgui/QStyleOptionSlider.cpp + + contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp + + contrib/hbqt/qtgui/QStyleOptionTab.cpp + + contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp + + contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp + + contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp + + contrib/hbqt/qtgui/QStyleOptionToolBar.cpp + + contrib/hbqt/qtgui/QStyleOptionToolBox.cpp + + contrib/hbqt/qtgui/QStyleOptionToolButton.cpp + + contrib/hbqt/qtgui/QStyleOptionViewItem.cpp + + contrib/hbqt/qtgui/QStylePainter.cpp + + contrib/hbqt/qtgui/QSystemTrayIcon.cpp + + contrib/hbqt/qtgui/QTabBar.cpp + + contrib/hbqt/qtgui/QTableView.cpp + + contrib/hbqt/qtgui/QTableWidget.cpp + + contrib/hbqt/qtgui/QTableWidgetItem.cpp + + contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp + + contrib/hbqt/qtgui/QTabWidget.cpp + + contrib/hbqt/qtgui/QTextBlock.cpp + + contrib/hbqt/qtgui/QTextBlockFormat.cpp + + contrib/hbqt/qtgui/QTextBlockGroup.cpp + + contrib/hbqt/qtgui/QTextBrowser.cpp + + contrib/hbqt/qtgui/QTextCharFormat.cpp + + contrib/hbqt/qtgui/QTextCursor.cpp + + contrib/hbqt/qtgui/QTextDocument.cpp + + contrib/hbqt/qtgui/QTextDocumentFragment.cpp + + contrib/hbqt/qtgui/QTextDocumentWriter.cpp + + contrib/hbqt/qtgui/QTextEdit.cpp + + contrib/hbqt/qtgui/QTextFormat.cpp + + contrib/hbqt/qtgui/QTextFragment.cpp + + contrib/hbqt/qtgui/QTextFrame.cpp + + contrib/hbqt/qtgui/QTextFrameFormat.cpp + + contrib/hbqt/qtgui/QTextImageFormat.cpp + + contrib/hbqt/qtgui/QTextInlineObject.cpp + + contrib/hbqt/qtgui/QTextItem.cpp + + contrib/hbqt/qtgui/QTextLayout.cpp + + contrib/hbqt/qtgui/QTextLength.cpp + + contrib/hbqt/qtgui/QTextLine.cpp + + contrib/hbqt/qtgui/QTextListFormat.cpp + + contrib/hbqt/qtgui/QTextObject.cpp + + contrib/hbqt/qtgui/QTextOption.cpp + + contrib/hbqt/qtgui/QTextTableFormat.cpp + + contrib/hbqt/qtgui/QTimeEdit.cpp + + contrib/hbqt/qtgui/QToolBar.cpp + + contrib/hbqt/qtgui/QToolBox.cpp + + contrib/hbqt/qtgui/QToolButton.cpp + + contrib/hbqt/qtgui/QTransform.cpp + + contrib/hbqt/qtgui/QTreeView.cpp + + contrib/hbqt/qtgui/QTreeWidget.cpp + + contrib/hbqt/qtgui/QTreeWidgetItem.cpp + + contrib/hbqt/qtgui/QValidator.cpp + + contrib/hbqt/qtgui/QVBoxLayout.cpp + + contrib/hbqt/qtgui/QWheelEvent.cpp + + contrib/hbqt/qtgui/QWidget.cpp + + contrib/hbqt/qtgui/QWidgetAction.cpp + + contrib/hbqt/qtgui/QWidgetItem.cpp + + contrib/hbqt/qtgui/QWindowsStyle.cpp + + contrib/hbqt/qtgui/QWindowsXPStyle.cpp + + contrib/hbqt/qtgui/QWizard.cpp + + contrib/hbqt/qtgui/QWizardPage.cpp + + contrib/hbqt/qtgui/TQAbstractButton.prg + + contrib/hbqt/qtgui/TQAbstractItemDelegate.prg + + contrib/hbqt/qtgui/TQAbstractItemView.prg + + contrib/hbqt/qtgui/TQAbstractPrintDialog.prg + + contrib/hbqt/qtgui/TQAbstractProxyModel.prg + + contrib/hbqt/qtgui/TQAbstractScrollArea.prg + + contrib/hbqt/qtgui/TQAbstractSlider.prg + + contrib/hbqt/qtgui/TQAbstractSpinBox.prg + + contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg + + contrib/hbqt/qtgui/TQAction.prg + + contrib/hbqt/qtgui/TQActionGroup.prg + + contrib/hbqt/qtgui/TQApplication.prg + + contrib/hbqt/qtgui/TQBitmap.prg + + contrib/hbqt/qtgui/TQBoxLayout.prg + + contrib/hbqt/qtgui/TQBrush.prg + + contrib/hbqt/qtgui/TQButtonGroup.prg + + contrib/hbqt/qtgui/TQCalendarWidget.prg + + contrib/hbqt/qtgui/TQCheckBox.prg + + contrib/hbqt/qtgui/TQClipboard.prg + + contrib/hbqt/qtgui/TQColor.prg + + contrib/hbqt/qtgui/TQColorDialog.prg + + contrib/hbqt/qtgui/TQComboBox.prg + + contrib/hbqt/qtgui/TQCommandLinkButton.prg + + contrib/hbqt/qtgui/TQCommonStyle.prg + + contrib/hbqt/qtgui/TQCompleter.prg + + contrib/hbqt/qtgui/TQConicalGradient.prg + + contrib/hbqt/qtgui/TQContextMenuEvent.prg + + contrib/hbqt/qtgui/TQCursor.prg + + contrib/hbqt/qtgui/TQDateEdit.prg + + contrib/hbqt/qtgui/TQDateTimeEdit.prg + + contrib/hbqt/qtgui/TQDesktopWidget.prg + + contrib/hbqt/qtgui/TQDial.prg + + contrib/hbqt/qtgui/TQDialog.prg + + contrib/hbqt/qtgui/TQDirModel.prg + + contrib/hbqt/qtgui/TQDockWidget.prg + + contrib/hbqt/qtgui/TQDoubleSpinBox.prg + + contrib/hbqt/qtgui/TQDragEnterEvent.prg + + contrib/hbqt/qtgui/TQDragLeaveEvent.prg + + contrib/hbqt/qtgui/TQDragMoveEvent.prg + + contrib/hbqt/qtgui/TQDropEvent.prg + + contrib/hbqt/qtgui/TQErrorMessage.prg + + contrib/hbqt/qtgui/TQFileDialog.prg + + contrib/hbqt/qtgui/TQFileIconProvider.prg + + contrib/hbqt/qtgui/TQFileSystemModel.prg + + contrib/hbqt/qtgui/TQFocusEvent.prg + + contrib/hbqt/qtgui/TQFocusFrame.prg + + contrib/hbqt/qtgui/TQFont.prg + + contrib/hbqt/qtgui/TQFontComboBox.prg + + contrib/hbqt/qtgui/TQFontDatabase.prg + + contrib/hbqt/qtgui/TQFontDialog.prg + + contrib/hbqt/qtgui/TQFontInfo.prg + + contrib/hbqt/qtgui/TQFontMetrics.prg + + contrib/hbqt/qtgui/TQFontMetricsF.prg + + contrib/hbqt/qtgui/TQFormLayout.prg + + contrib/hbqt/qtgui/TQFrame.prg + + contrib/hbqt/qtgui/TQGradient.prg + + contrib/hbqt/qtgui/TQGridLayout.prg + + contrib/hbqt/qtgui/TQGroupBox.prg + + contrib/hbqt/qtgui/TQHBoxLayout.prg + + contrib/hbqt/qtgui/TQHeaderView.prg + + contrib/hbqt/qtgui/TQHelpEvent.prg + + contrib/hbqt/qtgui/TQIcon.prg + + contrib/hbqt/qtgui/TQImage.prg + + contrib/hbqt/qtgui/TQImageReader.prg + + contrib/hbqt/qtgui/TQImageWriter.prg + + contrib/hbqt/qtgui/TQInputContext.prg + + contrib/hbqt/qtgui/TQInputDialog.prg + + contrib/hbqt/qtgui/TQInputEvent.prg + + contrib/hbqt/qtgui/TQInputMethodEvent.prg + + contrib/hbqt/qtgui/TQItemSelection.prg + + contrib/hbqt/qtgui/TQItemSelectionModel.prg + + contrib/hbqt/qtgui/TQKeyEvent.prg + + contrib/hbqt/qtgui/TQKeySequence.prg + + contrib/hbqt/qtgui/TQLabel.prg + + contrib/hbqt/qtgui/TQLayout.prg + + contrib/hbqt/qtgui/TQLayoutItem.prg + + contrib/hbqt/qtgui/TQLCDNumber.prg + + contrib/hbqt/qtgui/TQLinearGradient.prg + + contrib/hbqt/qtgui/TQLineEdit.prg + + contrib/hbqt/qtgui/TQListView.prg + + contrib/hbqt/qtgui/TQListWidget.prg + + contrib/hbqt/qtgui/TQListWidgetItem.prg + + contrib/hbqt/qtgui/TQMainWindow.prg + + contrib/hbqt/qtgui/TQMatrix.prg + + contrib/hbqt/qtgui/TQMenu.prg + + contrib/hbqt/qtgui/TQMenuBar.prg + + contrib/hbqt/qtgui/TQMessageBox.prg + + contrib/hbqt/qtgui/TQMouseEvent.prg + + contrib/hbqt/qtgui/TQMoveEvent.prg + + contrib/hbqt/qtgui/TQMovie.prg + + contrib/hbqt/qtgui/TQPageSetupDialog.prg + + contrib/hbqt/qtgui/TQPaintDevice.prg + + contrib/hbqt/qtgui/TQPainter.prg + + contrib/hbqt/qtgui/TQPainterPath.prg + + contrib/hbqt/qtgui/TQPaintEvent.prg + + contrib/hbqt/qtgui/TQPalette.prg + + contrib/hbqt/qtgui/TQPen.prg + + contrib/hbqt/qtgui/TQPicture.prg + + contrib/hbqt/qtgui/TQPixmap.prg + + contrib/hbqt/qtgui/TQPolygon.prg + + contrib/hbqt/qtgui/TQPolygonF.prg + + contrib/hbqt/qtgui/TQPrintDialog.prg + + contrib/hbqt/qtgui/TQPrintEngine.prg + + contrib/hbqt/qtgui/TQPrinter.prg + + contrib/hbqt/qtgui/TQPrintPreviewDialog.prg + + contrib/hbqt/qtgui/TQProgressBar.prg + + contrib/hbqt/qtgui/TQProgressDialog.prg + + contrib/hbqt/qtgui/TQPushButton.prg + + contrib/hbqt/qtgui/TQRadialGradient.prg + + contrib/hbqt/qtgui/TQRadioButton.prg + + contrib/hbqt/qtgui/TQRegion.prg + + contrib/hbqt/qtgui/TQResizeEvent.prg + + contrib/hbqt/qtgui/TQScrollArea.prg + + contrib/hbqt/qtgui/TQScrollBar.prg + + contrib/hbqt/qtgui/TQSessionManager.prg + + contrib/hbqt/qtgui/TQSizeGrip.prg + + contrib/hbqt/qtgui/TQSizePolicy.prg + + contrib/hbqt/qtgui/TQSlider.prg + + contrib/hbqt/qtgui/TQSound.prg + + contrib/hbqt/qtgui/TQSpacerItem.prg + + contrib/hbqt/qtgui/TQSpinBox.prg + + contrib/hbqt/qtgui/TQSplashScreen.prg + + contrib/hbqt/qtgui/TQSplitter.prg + + contrib/hbqt/qtgui/TQStandardItem.prg + + contrib/hbqt/qtgui/TQStandardItemModel.prg + + contrib/hbqt/qtgui/TQStatusBar.prg + + contrib/hbqt/qtgui/TQStringListModel.prg + + contrib/hbqt/qtgui/TQStyle.prg + + contrib/hbqt/qtgui/TQStyledItemDelegate.prg + + contrib/hbqt/qtgui/TQStyleFactory.prg + + contrib/hbqt/qtgui/TQStyleHintReturn.prg + + contrib/hbqt/qtgui/TQStyleHintReturnMask.prg + + contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg + + contrib/hbqt/qtgui/TQStyleOption.prg + + contrib/hbqt/qtgui/TQStyleOptionButton.prg + + contrib/hbqt/qtgui/TQStyleOptionComboBox.prg + + contrib/hbqt/qtgui/TQStyleOptionComplex.prg + + contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg + + contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg + + contrib/hbqt/qtgui/TQStyleOptionFrame.prg + + contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg + + contrib/hbqt/qtgui/TQStyleOptionHeader.prg + + contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg + + contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg + + contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg + + contrib/hbqt/qtgui/TQStyleOptionSlider.prg + + contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg + + contrib/hbqt/qtgui/TQStyleOptionTab.prg + + contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg + + contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg + + contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg + + contrib/hbqt/qtgui/TQStyleOptionToolBar.prg + + contrib/hbqt/qtgui/TQStyleOptionToolBox.prg + + contrib/hbqt/qtgui/TQStyleOptionToolButton.prg + + contrib/hbqt/qtgui/TQStyleOptionViewItem.prg + + contrib/hbqt/qtgui/TQStylePainter.prg + + contrib/hbqt/qtgui/TQSystemTrayIcon.prg + + contrib/hbqt/qtgui/TQTabBar.prg + + contrib/hbqt/qtgui/TQTableView.prg + + contrib/hbqt/qtgui/TQTableWidget.prg + + contrib/hbqt/qtgui/TQTableWidgetItem.prg + + contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg + + contrib/hbqt/qtgui/TQTabWidget.prg + + contrib/hbqt/qtgui/TQTextBlock.prg + + contrib/hbqt/qtgui/TQTextBlockFormat.prg + + contrib/hbqt/qtgui/TQTextBlockGroup.prg + + contrib/hbqt/qtgui/TQTextBrowser.prg + + contrib/hbqt/qtgui/TQTextCharFormat.prg + + contrib/hbqt/qtgui/TQTextCursor.prg + + contrib/hbqt/qtgui/TQTextDocument.prg + + contrib/hbqt/qtgui/TQTextDocumentFragment.prg + + contrib/hbqt/qtgui/TQTextDocumentWriter.prg + + contrib/hbqt/qtgui/TQTextEdit.prg + + contrib/hbqt/qtgui/TQTextFormat.prg + + contrib/hbqt/qtgui/TQTextFragment.prg + + contrib/hbqt/qtgui/TQTextFrame.prg + + contrib/hbqt/qtgui/TQTextFrameFormat.prg + + contrib/hbqt/qtgui/TQTextImageFormat.prg + + contrib/hbqt/qtgui/TQTextInlineObject.prg + + contrib/hbqt/qtgui/TQTextItem.prg + + contrib/hbqt/qtgui/TQTextLayout.prg + + contrib/hbqt/qtgui/TQTextLength.prg + + contrib/hbqt/qtgui/TQTextLine.prg + + contrib/hbqt/qtgui/TQTextListFormat.prg + + contrib/hbqt/qtgui/TQTextObject.prg + + contrib/hbqt/qtgui/TQTextOption.prg + + contrib/hbqt/qtgui/TQTextTableFormat.prg + + contrib/hbqt/qtgui/TQTimeEdit.prg + + contrib/hbqt/qtgui/TQToolBar.prg + + contrib/hbqt/qtgui/TQToolBox.prg + + contrib/hbqt/qtgui/TQToolButton.prg + + contrib/hbqt/qtgui/TQTransform.prg + + contrib/hbqt/qtgui/TQTreeView.prg + + contrib/hbqt/qtgui/TQTreeWidget.prg + + contrib/hbqt/qtgui/TQTreeWidgetItem.prg + + contrib/hbqt/qtgui/TQValidator.prg + + contrib/hbqt/qtgui/TQVBoxLayout.prg + + contrib/hbqt/qtgui/TQWheelEvent.prg + + contrib/hbqt/qtgui/TQWidget.prg + + contrib/hbqt/qtgui/TQWidgetAction.prg + + contrib/hbqt/qtgui/TQWidgetItem.prg + + contrib/hbqt/qtgui/TQWindowsStyle.prg + + contrib/hbqt/qtgui/TQWindowsXPStyle.prg + + contrib/hbqt/qtgui/TQWizard.prg + + contrib/hbqt/qtgui/TQWizardPage.prg + + + contrib/hbqt/qtnetwork + + contrib/hbqt/qtnetwork/filelist.mk + + contrib/hbqt/qtnetwork/Makefile + + contrib/hbqt/qtnetwork/QFtp.cpp + + contrib/hbqt/qtnetwork/QHttp.cpp + + contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp + + contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp + + contrib/hbqt/qtnetwork/QNetworkRequest.cpp + + contrib/hbqt/qtnetwork/TQFtp.prg + + contrib/hbqt/qtnetwork/TQHttp.prg + + contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg + + contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg + + contrib/hbqt/qtnetwork/TQNetworkRequest.prg + + + contrib/hbqt/qtwebkit + + contrib/hbqt/qtwebkit/filelist.mk + + contrib/hbqt/qtwebkit/Makefile + + contrib/hbqt/qtwebkit/QWebFrame.cpp + + contrib/hbqt/qtwebkit/QWebHistory.cpp + + contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp + + contrib/hbqt/qtwebkit/QWebHistoryItem.cpp + + contrib/hbqt/qtwebkit/QWebHitTestResult.cpp + + contrib/hbqt/qtwebkit/QWebPage.cpp + + contrib/hbqt/qtwebkit/QWebPluginFactory.cpp + + contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp + + contrib/hbqt/qtwebkit/QWebSettings.cpp + + contrib/hbqt/qtwebkit/QWebView.cpp + + contrib/hbqt/qtwebkit/TQWebFrame.prg + + contrib/hbqt/qtwebkit/TQWebHistory.prg + + contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg + + contrib/hbqt/qtwebkit/TQWebHistoryItem.prg + + contrib/hbqt/qtwebkit/TQWebHitTestResult.prg + + contrib/hbqt/qtwebkit/TQWebPage.prg + + contrib/hbqt/qtwebkit/TQWebPluginFactory.prg + + contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg + + contrib/hbqt/qtwebkit/TQWebSettings.prg + + contrib/hbqt/qtwebkit/TQWebView.prg + + * contrib/hbqt/tests/demoqt.prg + + ! A lot of changes. Please expect some instability for some time. + demoqt.prg compiles and executes fine. HBXBP is in the pipeline. + + Viktor, please set the make system in place. + 2009-10-21 17:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbwin/tests/testax.prg + Added self-contained AX example created by Alex Strickland. diff --git a/harbour/contrib/hbqt/QAbstractButton.cpp b/harbour/contrib/hbqt/QAbstractButton.cpp deleted file mode 100644 index 2e5181f508..0000000000 --- a/harbour/contrib/hbqt/QAbstractButton.cpp +++ /dev/null @@ -1,293 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QAbstractButton ( QWidget * parent = 0 ) - * ~QAbstractButton () - */ - -HB_FUNC( QT_QABSTRACTBUTTON ) -{ -} -/* - * bool autoExclusive () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOEXCLUSIVE ) -{ - hb_retl( hbqt_par_QAbstractButton( 1 )->autoExclusive() ); -} - -/* - * bool autoRepeat () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEAT ) -{ - hb_retl( hbqt_par_QAbstractButton( 1 )->autoRepeat() ); -} - -/* - * int autoRepeatDelay () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEATDELAY ) -{ - hb_retni( hbqt_par_QAbstractButton( 1 )->autoRepeatDelay() ); -} - -/* - * int autoRepeatInterval () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEATINTERVAL ) -{ - hb_retni( hbqt_par_QAbstractButton( 1 )->autoRepeatInterval() ); -} - -/* - * QButtonGroup * group () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_GROUP ) -{ - hb_retptr( ( QButtonGroup* ) hbqt_par_QAbstractButton( 1 )->group() ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QAbstractButton( 1 )->icon() ) ) ); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QAbstractButton( 1 )->iconSize() ) ) ); -} - -/* - * bool isCheckable () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_ISCHECKABLE ) -{ - hb_retl( hbqt_par_QAbstractButton( 1 )->isCheckable() ); -} - -/* - * bool isChecked () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_ISCHECKED ) -{ - hb_retl( hbqt_par_QAbstractButton( 1 )->isChecked() ); -} - -/* - * bool isDown () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_ISDOWN ) -{ - hb_retl( hbqt_par_QAbstractButton( 1 )->isDown() ); -} - -/* - * void setAutoExclusive ( bool ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOEXCLUSIVE ) -{ - hbqt_par_QAbstractButton( 1 )->setAutoExclusive( hb_parl( 2 ) ); -} - -/* - * void setAutoRepeat ( bool ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEAT ) -{ - hbqt_par_QAbstractButton( 1 )->setAutoRepeat( hb_parl( 2 ) ); -} - -/* - * void setAutoRepeatDelay ( int ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEATDELAY ) -{ - hbqt_par_QAbstractButton( 1 )->setAutoRepeatDelay( hb_parni( 2 ) ); -} - -/* - * void setAutoRepeatInterval ( int ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEATINTERVAL ) -{ - hbqt_par_QAbstractButton( 1 )->setAutoRepeatInterval( hb_parni( 2 ) ); -} - -/* - * void setCheckable ( bool ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETCHECKABLE ) -{ - hbqt_par_QAbstractButton( 1 )->setCheckable( hb_parl( 2 ) ); -} - -/* - * void setDown ( bool ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETDOWN ) -{ - hbqt_par_QAbstractButton( 1 )->setDown( hb_parl( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETICON ) -{ - hbqt_par_QAbstractButton( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setShortcut ( const QKeySequence & key ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETSHORTCUT ) -{ - hbqt_par_QAbstractButton( 1 )->setShortcut( *hbqt_par_QKeySequence( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETTEXT ) -{ - hbqt_par_QAbstractButton( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * QKeySequence shortcut () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_SHORTCUT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QKeySequence( hbqt_par_QAbstractButton( 1 )->shortcut() ) ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QABSTRACTBUTTON_TEXT ) -{ - hb_retc( hbqt_par_QAbstractButton( 1 )->text().toAscii().data() ); -} - -/* - * void animateClick ( int msec = 100 ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_ANIMATECLICK ) -{ - hbqt_par_QAbstractButton( 1 )->animateClick( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 100 ) ); -} - -/* - * void click () - */ -HB_FUNC( QT_QABSTRACTBUTTON_CLICK ) -{ - hbqt_par_QAbstractButton( 1 )->click(); -} - -/* - * void setChecked ( bool ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETCHECKED ) -{ - hbqt_par_QAbstractButton( 1 )->setChecked( hb_parl( 2 ) ); -} - -/* - * void setIconSize ( const QSize & size ) - */ -HB_FUNC( QT_QABSTRACTBUTTON_SETICONSIZE ) -{ - hbqt_par_QAbstractButton( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void toggle () - */ -HB_FUNC( QT_QABSTRACTBUTTON_TOGGLE ) -{ - hbqt_par_QAbstractButton( 1 )->toggle(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractItemModel.cpp b/harbour/contrib/hbqt/QAbstractItemModel.cpp deleted file mode 100644 index 3bd1d69e72..0000000000 --- a/harbour/contrib/hbqt/QAbstractItemModel.cpp +++ /dev/null @@ -1,387 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 33/36 [ 91.67% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * virtual QMap itemData ( const QModelIndex & index ) const - * virtual bool setItemData ( const QModelIndex & index, const QMap & roles ) - * - * *** Commented out protos which construct fine but do not compile *** - * - * // virtual QModelIndexList match ( const QModelIndex & start, int role, const QVariant & value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap ) ) const - */ - -#include - -#include -#include -#include - -#include "hbqt_slots.h" - -/* - * QAbstractItemModel ( QObject * parent = 0 ) - * virtual ~QAbstractItemModel () - */ - -HB_FUNC( QT_HBDBFMODEL ) -{ - hb_retptr( new HbDbfModel( ( PHB_ITEM ) hb_param( 1, HB_IT_BLOCK ) ) ); -} - -HB_FUNC( QT_HBDBFMODEL_RESET ) -{ - hbqt_par_HbDbfModel( 1 )->reset(); -} - -HB_FUNC( QT_HBDBFMODEL_INDEX ) -{ - hb_retptr( new QModelIndex( hbqt_par_HbDbfModel( 1 )->index( hb_parni( 2 ), hb_parni( 3 ), QModelIndex() ) ) ); -} - -HB_FUNC( QT_HBDBFMODEL_HBSETROWCOLUMNS ) -{ - hbqt_par_HbDbfModel( 1 )->hbSetRowColumns( hb_parni( 2 ), hb_parni( 3 ) ); -} - - -HB_FUNC( QT_QABSTRACTITEMMODEL ) -{ -} -/* - * virtual QModelIndex buddy ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_BUDDY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemModel( 1 )->buddy( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * virtual bool canFetchMore ( const QModelIndex & parent ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_CANFETCHMORE ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->canFetchMore( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * virtual int columnCount ( const QModelIndex & parent = QModelIndex() ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QAbstractItemModel( 1 )->columnCount( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QAbstractItemModel( 1 )->data( *hbqt_par_QModelIndex( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::DisplayRole ) ) ) ) ); -} - -/* - * virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_DROPMIMEDATA ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->dropMimeData( hbqt_par_QMimeData( 2 ), ( Qt::DropAction ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QModelIndex( 6 ) ) ); -} - -/* - * virtual void fetchMore ( const QModelIndex & parent ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_FETCHMORE ) -{ - hbqt_par_QAbstractItemModel( 1 )->fetchMore( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * virtual Qt::ItemFlags flags ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QAbstractItemModel( 1 )->flags( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_HASCHILDREN ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->hasChildren( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * bool hasIndex ( int row, int column, const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_HASINDEX ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->hasIndex( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * virtual QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_HEADERDATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QAbstractItemModel( 1 )->headerData( hb_parni( 2 ), ( Qt::Orientation ) hb_parni( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::DisplayRole ) ) ) ) ); -} - -/* - * virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemModel( 1 )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ) ) ); -} - -/* - * bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTCOLUMN ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->insertColumn( hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool insertColumns ( int column, int count, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTCOLUMNS ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->insertColumns( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTROW ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->insertRow( hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_INSERTROWS ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->insertRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_MIMEDATA ) -{ - hb_retptr( ( QMimeData* ) hbqt_par_QAbstractItemModel( 1 )->mimeData( *hbqt_par_QModelIndexList( 2 ) ) ); -} - -/* - * virtual QStringList mimeTypes () const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_MIMETYPES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QAbstractItemModel( 1 )->mimeTypes() ) ) ); -} - -/* - * virtual QModelIndex parent ( const QModelIndex & index ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_PARENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemModel( 1 )->parent( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * bool removeColumn ( int column, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVECOLUMN ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->removeColumn( hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool removeColumns ( int column, int count, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVECOLUMNS ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->removeColumns( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * bool removeRow ( int row, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVEROW ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->removeRow( hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REMOVEROWS ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->removeRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_ROWCOUNT ) -{ - hb_retni( hbqt_par_QAbstractItemModel( 1 )->rowCount( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SETDATA ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->setData( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QVariant( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::EditRole ) ) ); -} - -/* - * virtual bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SETHEADERDATA ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->setHeaderData( hb_parni( 2 ), ( Qt::Orientation ) hb_parni( 3 ), *hbqt_par_QVariant( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : Qt::EditRole ) ) ); -} - -/* - * void setSupportedDragActions ( Qt::DropActions actions ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SETSUPPORTEDDRAGACTIONS ) -{ - hbqt_par_QAbstractItemModel( 1 )->setSupportedDragActions( ( Qt::DropActions ) hb_parni( 2 ) ); -} - -/* - * QModelIndex sibling ( int row, int column, const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SIBLING ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemModel( 1 )->sibling( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QModelIndex( 4 ) ) ) ) ); -} - -/* - * virtual void sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SORT ) -{ - hbqt_par_QAbstractItemModel( 1 )->sort( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* - * virtual QSize span ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SPAN ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QAbstractItemModel( 1 )->span( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * Qt::DropActions supportedDragActions () const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SUPPORTEDDRAGACTIONS ) -{ - hb_retni( ( Qt::DropActions ) hbqt_par_QAbstractItemModel( 1 )->supportedDragActions() ); -} - -/* - * virtual Qt::DropActions supportedDropActions () const - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SUPPORTEDDROPACTIONS ) -{ - hb_retni( ( Qt::DropActions ) hbqt_par_QAbstractItemModel( 1 )->supportedDropActions() ); -} - -/* - * virtual void revert () - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_REVERT ) -{ - hbqt_par_QAbstractItemModel( 1 )->revert(); -} - -/* - * virtual bool submit () - */ -HB_FUNC( QT_QABSTRACTITEMMODEL_SUBMIT ) -{ - hb_retl( hbqt_par_QAbstractItemModel( 1 )->submit() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractItemView.cpp b/harbour/contrib/hbqt/QAbstractItemView.cpp deleted file mode 100644 index 4ed9e070ea..0000000000 --- a/harbour/contrib/hbqt/QAbstractItemView.cpp +++ /dev/null @@ -1,599 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags EditTriggers - * enum DragDropMode { NoDragDrop, DragOnly, DropOnly, DragDrop, InternalMove } - * enum EditTrigger { NoEditTriggers, CurrentChanged, DoubleClicked, SelectedClicked, ..., AllEditTriggers } - * enum ScrollHint { EnsureVisible, PositionAtTop, PositionAtBottom, PositionAtCenter } - * enum ScrollMode { ScrollPerItem, ScrollPerPixel } - * enum SelectionBehavior { SelectItems, SelectRows, SelectColumns } - * enum SelectionMode { SingleSelection, ContiguousSelection, ExtendedSelection, MultiSelection, NoSelection } - */ - -#include - -#include - - -/* - * QAbstractItemView ( QWidget * parent = 0 ) - * ~QAbstractItemView () - */ - -HB_FUNC( QT_QABSTRACTITEMVIEW ) -{ -} -/* - * bool alternatingRowColors () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ALTERNATINGROWCOLORS ) -{ - hb_retl( hbqt_par_QAbstractItemView( 1 )->alternatingRowColors() ); -} - -/* - * int autoScrollMargin () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_AUTOSCROLLMARGIN ) -{ - hb_retni( hbqt_par_QAbstractItemView( 1 )->autoScrollMargin() ); -} - -/* - * void closePersistentEditor ( const QModelIndex & index ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_CLOSEPERSISTENTEDITOR ) -{ - hbqt_par_QAbstractItemView( 1 )->closePersistentEditor( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * QModelIndex currentIndex () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_CURRENTINDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemView( 1 )->currentIndex() ) ) ); -} - -/* - * DragDropMode dragDropMode () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPMODE ) -{ - hb_retni( ( QAbstractItemView::DragDropMode ) hbqt_par_QAbstractItemView( 1 )->dragDropMode() ); -} - -/* - * bool dragDropOverwriteMode () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPOVERWRITEMODE ) -{ - hb_retl( hbqt_par_QAbstractItemView( 1 )->dragDropOverwriteMode() ); -} - -/* - * bool dragEnabled () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGENABLED ) -{ - hb_retl( hbqt_par_QAbstractItemView( 1 )->dragEnabled() ); -} - -/* - * EditTriggers editTriggers () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_EDITTRIGGERS ) -{ - hb_retni( ( QAbstractItemView::EditTriggers ) hbqt_par_QAbstractItemView( 1 )->editTriggers() ); -} - -/* - * bool hasAutoScroll () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_HASAUTOSCROLL ) -{ - hb_retl( hbqt_par_QAbstractItemView( 1 )->hasAutoScroll() ); -} - -/* - * ScrollMode horizontalScrollMode () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_HORIZONTALSCROLLMODE ) -{ - hb_retni( ( QAbstractItemView::ScrollMode ) hbqt_par_QAbstractItemView( 1 )->horizontalScrollMode() ); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QAbstractItemView( 1 )->iconSize() ) ) ); -} - -/* - * virtual QModelIndex indexAt ( const QPoint & point ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_INDEXAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemView( 1 )->indexAt( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QWidget * indexWidget ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_INDEXWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QAbstractItemView( 1 )->indexWidget( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * QAbstractItemDelegate * itemDelegate () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATE ) -{ - hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegate() ); -} - -/* - * QAbstractItemDelegate * itemDelegate ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATE_1 ) -{ - hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegate( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * QAbstractItemDelegate * itemDelegateForColumn ( int column ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORCOLUMN ) -{ - hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegateForColumn( hb_parni( 2 ) ) ); -} - -/* - * QAbstractItemDelegate * itemDelegateForRow ( int row ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORROW ) -{ - hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegateForRow( hb_parni( 2 ) ) ); -} - -/* - * virtual void keyboardSearch ( const QString & search ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_KEYBOARDSEARCH ) -{ - hbqt_par_QAbstractItemView( 1 )->keyboardSearch( hbqt_par_QString( 2 ) ); -} - -/* - * QAbstractItemModel * model () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_MODEL ) -{ - hb_retptr( ( QAbstractItemModel* ) hbqt_par_QAbstractItemView( 1 )->model() ); -} - -/* - * void openPersistentEditor ( const QModelIndex & index ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_OPENPERSISTENTEDITOR ) -{ - hbqt_par_QAbstractItemView( 1 )->openPersistentEditor( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * QModelIndex rootIndex () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_ROOTINDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractItemView( 1 )->rootIndex() ) ) ); -} - -/* - * virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) = 0 - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTO ) -{ - hbqt_par_QAbstractItemView( 1 )->scrollTo( *hbqt_par_QModelIndex( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QAbstractItemView::EnsureVisible ) ); -} - -/* - * QAbstractItemView::SelectionBehavior selectionBehavior () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONBEHAVIOR ) -{ - hb_retni( ( QAbstractItemView::SelectionBehavior ) hbqt_par_QAbstractItemView( 1 )->selectionBehavior() ); -} - -/* - * QAbstractItemView::SelectionMode selectionMode () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODE ) -{ - hb_retni( ( QAbstractItemView::SelectionMode ) hbqt_par_QAbstractItemView( 1 )->selectionMode() ); -} - -/* - * QItemSelectionModel * selectionModel () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODEL ) -{ - hb_retptr( ( QItemSelectionModel* ) hbqt_par_QAbstractItemView( 1 )->selectionModel() ); -} - -/* - * void setAlternatingRowColors ( bool enable ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETALTERNATINGROWCOLORS ) -{ - hbqt_par_QAbstractItemView( 1 )->setAlternatingRowColors( hb_parl( 2 ) ); -} - -/* - * void setAutoScroll ( bool enable ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLL ) -{ - hbqt_par_QAbstractItemView( 1 )->setAutoScroll( hb_parl( 2 ) ); -} - -/* - * void setAutoScrollMargin ( int margin ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLLMARGIN ) -{ - hbqt_par_QAbstractItemView( 1 )->setAutoScrollMargin( hb_parni( 2 ) ); -} - -/* - * void setDragDropMode ( DragDropMode behavior ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPMODE ) -{ - hbqt_par_QAbstractItemView( 1 )->setDragDropMode( ( QAbstractItemView::DragDropMode ) hb_parni( 2 ) ); -} - -/* - * void setDragDropOverwriteMode ( bool overwrite ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPOVERWRITEMODE ) -{ - hbqt_par_QAbstractItemView( 1 )->setDragDropOverwriteMode( hb_parl( 2 ) ); -} - -/* - * void setDragEnabled ( bool enable ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGENABLED ) -{ - hbqt_par_QAbstractItemView( 1 )->setDragEnabled( hb_parl( 2 ) ); -} - -/* - * void setDropIndicatorShown ( bool enable ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETDROPINDICATORSHOWN ) -{ - hbqt_par_QAbstractItemView( 1 )->setDropIndicatorShown( hb_parl( 2 ) ); -} - -/* - * void setEditTriggers ( EditTriggers triggers ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETEDITTRIGGERS ) -{ - hbqt_par_QAbstractItemView( 1 )->setEditTriggers( ( QAbstractItemView::EditTriggers ) hb_parni( 2 ) ); -} - -/* - * void setHorizontalScrollMode ( ScrollMode mode ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETHORIZONTALSCROLLMODE ) -{ - hbqt_par_QAbstractItemView( 1 )->setHorizontalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) ); -} - -/* - * void setIconSize ( const QSize & size ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETICONSIZE ) -{ - hbqt_par_QAbstractItemView( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setIndexWidget ( const QModelIndex & index, QWidget * widget ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETINDEXWIDGET ) -{ - hbqt_par_QAbstractItemView( 1 )->setIndexWidget( *hbqt_par_QModelIndex( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * void setItemDelegate ( QAbstractItemDelegate * delegate ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATE ) -{ - hbqt_par_QAbstractItemView( 1 )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) ); -} - -/* - * void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORCOLUMN ) -{ - hbqt_par_QAbstractItemView( 1 )->setItemDelegateForColumn( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) ); -} - -/* - * void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORROW ) -{ - hbqt_par_QAbstractItemView( 1 )->setItemDelegateForRow( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) ); -} - -/* - * virtual void setModel ( QAbstractItemModel * model ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETMODEL ) -{ - hbqt_par_QAbstractItemView( 1 )->setModel( hbqt_par_QAbstractItemModel( 2 ) ); -} - -/* - * void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONBEHAVIOR ) -{ - hbqt_par_QAbstractItemView( 1 )->setSelectionBehavior( ( QAbstractItemView::SelectionBehavior ) hb_parni( 2 ) ); -} - -/* - * void setSelectionMode ( QAbstractItemView::SelectionMode mode ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODE ) -{ - hbqt_par_QAbstractItemView( 1 )->setSelectionMode( ( QAbstractItemView::SelectionMode ) hb_parni( 2 ) ); -} - -/* - * virtual void setSelectionModel ( QItemSelectionModel * selectionModel ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODEL ) -{ - hbqt_par_QAbstractItemView( 1 )->setSelectionModel( hbqt_par_QItemSelectionModel( 2 ) ); -} - -/* - * void setTabKeyNavigation ( bool enable ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETTABKEYNAVIGATION ) -{ - hbqt_par_QAbstractItemView( 1 )->setTabKeyNavigation( hb_parl( 2 ) ); -} - -/* - * void setTextElideMode ( Qt::TextElideMode mode ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETTEXTELIDEMODE ) -{ - hbqt_par_QAbstractItemView( 1 )->setTextElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) ); -} - -/* - * void setVerticalScrollMode ( ScrollMode mode ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETVERTICALSCROLLMODE ) -{ - hbqt_par_QAbstractItemView( 1 )->setVerticalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) ); -} - -/* - * bool showDropIndicator () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SHOWDROPINDICATOR ) -{ - hb_retl( hbqt_par_QAbstractItemView( 1 )->showDropIndicator() ); -} - -/* - * virtual int sizeHintForColumn ( int column ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORCOLUMN ) -{ - hb_retni( hbqt_par_QAbstractItemView( 1 )->sizeHintForColumn( hb_parni( 2 ) ) ); -} - -/* - * QSize sizeHintForIndex ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORINDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QAbstractItemView( 1 )->sizeHintForIndex( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * virtual int sizeHintForRow ( int row ) const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORROW ) -{ - hb_retni( hbqt_par_QAbstractItemView( 1 )->sizeHintForRow( hb_parni( 2 ) ) ); -} - -/* - * bool tabKeyNavigation () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_TABKEYNAVIGATION ) -{ - hb_retl( hbqt_par_QAbstractItemView( 1 )->tabKeyNavigation() ); -} - -/* - * Qt::TextElideMode textElideMode () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_TEXTELIDEMODE ) -{ - hb_retni( ( Qt::TextElideMode ) hbqt_par_QAbstractItemView( 1 )->textElideMode() ); -} - -/* - * ScrollMode verticalScrollMode () const - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_VERTICALSCROLLMODE ) -{ - hb_retni( ( QAbstractItemView::ScrollMode ) hbqt_par_QAbstractItemView( 1 )->verticalScrollMode() ); -} - -/* - * virtual QRect visualRect ( const QModelIndex & index ) const = 0 - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_VISUALRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QAbstractItemView( 1 )->visualRect( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * void clearSelection () - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_CLEARSELECTION ) -{ - hbqt_par_QAbstractItemView( 1 )->clearSelection(); -} - -/* - * void edit ( const QModelIndex & index ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_EDIT ) -{ - hbqt_par_QAbstractItemView( 1 )->edit( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * virtual void reset () - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_RESET ) -{ - hbqt_par_QAbstractItemView( 1 )->reset(); -} - -/* - * void scrollToBottom () - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOBOTTOM ) -{ - hbqt_par_QAbstractItemView( 1 )->scrollToBottom(); -} - -/* - * void scrollToTop () - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOTOP ) -{ - hbqt_par_QAbstractItemView( 1 )->scrollToTop(); -} - -/* - * virtual void selectAll () - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTALL ) -{ - hbqt_par_QAbstractItemView( 1 )->selectAll(); -} - -/* - * void setCurrentIndex ( const QModelIndex & index ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETCURRENTINDEX ) -{ - hbqt_par_QAbstractItemView( 1 )->setCurrentIndex( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * virtual void setRootIndex ( const QModelIndex & index ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_SETROOTINDEX ) -{ - hbqt_par_QAbstractItemView( 1 )->setRootIndex( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * void update ( const QModelIndex & index ) - */ -HB_FUNC( QT_QABSTRACTITEMVIEW_UPDATE ) -{ - hbqt_par_QAbstractItemView( 1 )->update( *hbqt_par_QModelIndex( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractListModel.cpp b/harbour/contrib/hbqt/QAbstractListModel.cpp deleted file mode 100644 index 07cafd15a5..0000000000 --- a/harbour/contrib/hbqt/QAbstractListModel.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QAbstractListModel ( QObject * parent = 0 ) - * ~QAbstractListModel () - */ - -HB_FUNC( QT_QABSTRACTLISTMODEL ) -{ -} -/* - * virtual QModelIndex index ( int row, int column = 0, const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QABSTRACTLISTMODEL_INDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractListModel( 1 )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractPrintDialog.cpp b/harbour/contrib/hbqt/QAbstractPrintDialog.cpp deleted file mode 100644 index cb1a7a40f6..0000000000 --- a/harbour/contrib/hbqt/QAbstractPrintDialog.cpp +++ /dev/null @@ -1,179 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum PrintDialogOption { None, PrintToFile, PrintSelection, PrintPageRange, ..., PrintShowPageSize } - * enum PrintRange { AllPages, Selection, PageRange } - * flags PrintDialogOptions - */ - -/* - * Constructed[ 10/11 [ 90.91% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void setOptionTabs ( const QList & tabs ) - */ - -#include - -#include - - -/* - * QAbstractPrintDialog ( QPrinter * printer, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QABSTRACTPRINTDIALOG ) -{ -} -/* - * virtual int exec () = 0 - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_EXEC ) -{ - hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->exec() ); -} - -/* - * int fromPage () const - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_FROMPAGE ) -{ - hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->fromPage() ); -} - -/* - * int maxPage () const - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_MAXPAGE ) -{ - hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->maxPage() ); -} - -/* - * int minPage () const - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_MINPAGE ) -{ - hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->minPage() ); -} - -/* - * PrintRange printRange () const - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTRANGE ) -{ - hb_retni( ( QAbstractPrintDialog::PrintRange ) hbqt_par_QAbstractPrintDialog( 1 )->printRange() ); -} - -/* - * QPrinter * printer () const - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTER ) -{ - hb_retptr( ( QPrinter* ) hbqt_par_QAbstractPrintDialog( 1 )->printer() ); -} - -/* - * void setFromTo ( int from, int to ) - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETFROMTO ) -{ - hbqt_par_QAbstractPrintDialog( 1 )->setFromTo( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setMinMax ( int min, int max ) - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETMINMAX ) -{ - hbqt_par_QAbstractPrintDialog( 1 )->setMinMax( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setPrintRange ( PrintRange range ) - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETPRINTRANGE ) -{ - hbqt_par_QAbstractPrintDialog( 1 )->setPrintRange( ( QAbstractPrintDialog::PrintRange ) hb_parni( 2 ) ); -} - -/* - * int toPage () const - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG_TOPAGE ) -{ - hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->toPage() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractScrollArea.cpp b/harbour/contrib/hbqt/QAbstractScrollArea.cpp deleted file mode 100644 index 1bd0b26957..0000000000 --- a/harbour/contrib/hbqt/QAbstractScrollArea.cpp +++ /dev/null @@ -1,205 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QAbstractScrollArea ( QWidget * parent = 0 ) - * ~QAbstractScrollArea () - */ - -HB_FUNC( QT_QABSTRACTSCROLLAREA ) -{ -} -/* - * void addScrollBarWidget ( QWidget * widget, Qt::Alignment alignment ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_ADDSCROLLBARWIDGET ) -{ - hbqt_par_QAbstractScrollArea( 1 )->addScrollBarWidget( hbqt_par_QWidget( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); -} - -/* - * QWidget * cornerWidget () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_CORNERWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QAbstractScrollArea( 1 )->cornerWidget() ); -} - -/* - * QScrollBar * horizontalScrollBar () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_HORIZONTALSCROLLBAR ) -{ - hb_retptr( ( QScrollBar* ) hbqt_par_QAbstractScrollArea( 1 )->horizontalScrollBar() ); -} - -/* - * Qt::ScrollBarPolicy horizontalScrollBarPolicy () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_HORIZONTALSCROLLBARPOLICY ) -{ - hb_retni( ( Qt::ScrollBarPolicy ) hbqt_par_QAbstractScrollArea( 1 )->horizontalScrollBarPolicy() ); -} - -/* - * QSize maximumViewportSize () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_MAXIMUMVIEWPORTSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QAbstractScrollArea( 1 )->maximumViewportSize() ) ) ); -} - -/* - * QWidgetList scrollBarWidgets ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SCROLLBARWIDGETS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWidgetList( hbqt_par_QAbstractScrollArea( 1 )->scrollBarWidgets( ( Qt::Alignment ) hb_parni( 2 ) ) ) ) ); -} - -/* - * void setCornerWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETCORNERWIDGET ) -{ - hbqt_par_QAbstractScrollArea( 1 )->setCornerWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setHorizontalScrollBar ( QScrollBar * scrollBar ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETHORIZONTALSCROLLBAR ) -{ - hbqt_par_QAbstractScrollArea( 1 )->setHorizontalScrollBar( hbqt_par_QScrollBar( 2 ) ); -} - -/* - * void setHorizontalScrollBarPolicy ( Qt::ScrollBarPolicy ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETHORIZONTALSCROLLBARPOLICY ) -{ - hbqt_par_QAbstractScrollArea( 1 )->setHorizontalScrollBarPolicy( ( Qt::ScrollBarPolicy ) hb_parni( 2 ) ); -} - -/* - * void setVerticalScrollBar ( QScrollBar * scrollBar ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVERTICALSCROLLBAR ) -{ - hbqt_par_QAbstractScrollArea( 1 )->setVerticalScrollBar( hbqt_par_QScrollBar( 2 ) ); -} - -/* - * void setVerticalScrollBarPolicy ( Qt::ScrollBarPolicy ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVERTICALSCROLLBARPOLICY ) -{ - hbqt_par_QAbstractScrollArea( 1 )->setVerticalScrollBarPolicy( ( Qt::ScrollBarPolicy ) hb_parni( 2 ) ); -} - -/* - * void setViewport ( QWidget * widget ) - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVIEWPORT ) -{ - hbqt_par_QAbstractScrollArea( 1 )->setViewport( hbqt_par_QWidget( 2 ) ); -} - -/* - * QScrollBar * verticalScrollBar () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_VERTICALSCROLLBAR ) -{ - hb_retptr( ( QScrollBar* ) hbqt_par_QAbstractScrollArea( 1 )->verticalScrollBar() ); -} - -/* - * Qt::ScrollBarPolicy verticalScrollBarPolicy () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_VERTICALSCROLLBARPOLICY ) -{ - hb_retni( ( Qt::ScrollBarPolicy ) hbqt_par_QAbstractScrollArea( 1 )->verticalScrollBarPolicy() ); -} - -/* - * QWidget * viewport () const - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA_VIEWPORT ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QAbstractScrollArea( 1 )->viewport() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractSlider.cpp b/harbour/contrib/hbqt/QAbstractSlider.cpp deleted file mode 100644 index 0f5391be5d..0000000000 --- a/harbour/contrib/hbqt/QAbstractSlider.cpp +++ /dev/null @@ -1,281 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum SliderAction { SliderNoAction, SliderSingleStepAdd, SliderSingleStepSub, SliderPageStepAdd, ..., SliderMove } - */ - -#include - -#include - - -/* - * QAbstractSlider ( QWidget * parent = 0 ) - * ~QAbstractSlider () - */ - -HB_FUNC( QT_QABSTRACTSLIDER ) -{ -} -/* - * bool hasTracking () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_HASTRACKING ) -{ - hb_retl( hbqt_par_QAbstractSlider( 1 )->hasTracking() ); -} - -/* - * bool invertedAppearance () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_INVERTEDAPPEARANCE ) -{ - hb_retl( hbqt_par_QAbstractSlider( 1 )->invertedAppearance() ); -} - -/* - * bool invertedControls () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_INVERTEDCONTROLS ) -{ - hb_retl( hbqt_par_QAbstractSlider( 1 )->invertedControls() ); -} - -/* - * bool isSliderDown () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_ISSLIDERDOWN ) -{ - hb_retl( hbqt_par_QAbstractSlider( 1 )->isSliderDown() ); -} - -/* - * int maximum () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_MAXIMUM ) -{ - hb_retni( hbqt_par_QAbstractSlider( 1 )->maximum() ); -} - -/* - * int minimum () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_MINIMUM ) -{ - hb_retni( hbqt_par_QAbstractSlider( 1 )->minimum() ); -} - -/* - * Qt::Orientation orientation () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QAbstractSlider( 1 )->orientation() ); -} - -/* - * int pageStep () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_PAGESTEP ) -{ - hb_retni( hbqt_par_QAbstractSlider( 1 )->pageStep() ); -} - -/* - * void setInvertedAppearance ( bool ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETINVERTEDAPPEARANCE ) -{ - hbqt_par_QAbstractSlider( 1 )->setInvertedAppearance( hb_parl( 2 ) ); -} - -/* - * void setInvertedControls ( bool ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETINVERTEDCONTROLS ) -{ - hbqt_par_QAbstractSlider( 1 )->setInvertedControls( hb_parl( 2 ) ); -} - -/* - * void setMaximum ( int ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETMAXIMUM ) -{ - hbqt_par_QAbstractSlider( 1 )->setMaximum( hb_parni( 2 ) ); -} - -/* - * void setMinimum ( int ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETMINIMUM ) -{ - hbqt_par_QAbstractSlider( 1 )->setMinimum( hb_parni( 2 ) ); -} - -/* - * void setPageStep ( int ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETPAGESTEP ) -{ - hbqt_par_QAbstractSlider( 1 )->setPageStep( hb_parni( 2 ) ); -} - -/* - * void setRange ( int min, int max ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETRANGE ) -{ - hbqt_par_QAbstractSlider( 1 )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setSingleStep ( int ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETSINGLESTEP ) -{ - hbqt_par_QAbstractSlider( 1 )->setSingleStep( hb_parni( 2 ) ); -} - -/* - * void setSliderDown ( bool ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETSLIDERDOWN ) -{ - hbqt_par_QAbstractSlider( 1 )->setSliderDown( hb_parl( 2 ) ); -} - -/* - * void setSliderPosition ( int ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETSLIDERPOSITION ) -{ - hbqt_par_QAbstractSlider( 1 )->setSliderPosition( hb_parni( 2 ) ); -} - -/* - * void setTracking ( bool enable ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETTRACKING ) -{ - hbqt_par_QAbstractSlider( 1 )->setTracking( hb_parl( 2 ) ); -} - -/* - * int singleStep () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_SINGLESTEP ) -{ - hb_retni( hbqt_par_QAbstractSlider( 1 )->singleStep() ); -} - -/* - * int sliderPosition () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_SLIDERPOSITION ) -{ - hb_retni( hbqt_par_QAbstractSlider( 1 )->sliderPosition() ); -} - -/* - * void triggerAction ( SliderAction action ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_TRIGGERACTION ) -{ - hbqt_par_QAbstractSlider( 1 )->triggerAction( ( QAbstractSlider::SliderAction ) hb_parni( 2 ) ); -} - -/* - * int value () const - */ -HB_FUNC( QT_QABSTRACTSLIDER_VALUE ) -{ - hb_retni( hbqt_par_QAbstractSlider( 1 )->value() ); -} - -/* - * void setOrientation ( Qt::Orientation ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETORIENTATION ) -{ - hbqt_par_QAbstractSlider( 1 )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* - * void setValue ( int ) - */ -HB_FUNC( QT_QABSTRACTSLIDER_SETVALUE ) -{ - hbqt_par_QAbstractSlider( 1 )->setValue( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractSpinBox.cpp b/harbour/contrib/hbqt/QAbstractSpinBox.cpp deleted file mode 100644 index 85e577b420..0000000000 --- a/harbour/contrib/hbqt/QAbstractSpinBox.cpp +++ /dev/null @@ -1,300 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ButtonSymbols { UpDownArrows, PlusMinus, NoButtons } - * enum CorrectionMode { CorrectToPreviousValue, CorrectToNearestValue } - * flags StepEnabled - * enum StepEnabledFlag { StepNone, StepUpEnabled, StepDownEnabled } - */ - -#include - -#include - - -/* - * QAbstractSpinBox ( QWidget * parent = 0 ) - * ~QAbstractSpinBox () - */ - -HB_FUNC( QT_QABSTRACTSPINBOX ) -{ -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QAbstractSpinBox( 1 )->alignment() ); -} - -/* - * ButtonSymbols buttonSymbols () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_BUTTONSYMBOLS ) -{ - hb_retni( ( QAbstractSpinBox::ButtonSymbols ) hbqt_par_QAbstractSpinBox( 1 )->buttonSymbols() ); -} - -/* - * CorrectionMode correctionMode () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_CORRECTIONMODE ) -{ - hb_retni( ( QAbstractSpinBox::CorrectionMode ) hbqt_par_QAbstractSpinBox( 1 )->correctionMode() ); -} - -/* - * bool hasAcceptableInput () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_HASACCEPTABLEINPUT ) -{ - hb_retl( hbqt_par_QAbstractSpinBox( 1 )->hasAcceptableInput() ); -} - -/* - * bool hasFrame () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_HASFRAME ) -{ - hb_retl( hbqt_par_QAbstractSpinBox( 1 )->hasFrame() ); -} - -/* - * void interpretText () - */ -HB_FUNC( QT_QABSTRACTSPINBOX_INTERPRETTEXT ) -{ - hbqt_par_QAbstractSpinBox( 1 )->interpretText(); -} - -/* - * bool isAccelerated () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_ISACCELERATED ) -{ - hb_retl( hbqt_par_QAbstractSpinBox( 1 )->isAccelerated() ); -} - -/* - * bool isReadOnly () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_ISREADONLY ) -{ - hb_retl( hbqt_par_QAbstractSpinBox( 1 )->isReadOnly() ); -} - -/* - * bool keyboardTracking () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_KEYBOARDTRACKING ) -{ - hb_retl( hbqt_par_QAbstractSpinBox( 1 )->keyboardTracking() ); -} - -/* - * void setAccelerated ( bool on ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETACCELERATED ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setAccelerated( hb_parl( 2 ) ); -} - -/* - * void setAlignment ( Qt::Alignment flag ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETALIGNMENT ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setButtonSymbols ( ButtonSymbols bs ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETBUTTONSYMBOLS ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setButtonSymbols( ( QAbstractSpinBox::ButtonSymbols ) hb_parni( 2 ) ); -} - -/* - * void setCorrectionMode ( CorrectionMode cm ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETCORRECTIONMODE ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setCorrectionMode( ( QAbstractSpinBox::CorrectionMode ) hb_parni( 2 ) ); -} - -/* - * void setFrame ( bool ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETFRAME ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setFrame( hb_parl( 2 ) ); -} - -/* - * void setKeyboardTracking ( bool kt ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETKEYBOARDTRACKING ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setKeyboardTracking( hb_parl( 2 ) ); -} - -/* - * void setReadOnly ( bool r ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETREADONLY ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setReadOnly( hb_parl( 2 ) ); -} - -/* - * void setSpecialValueText ( const QString & txt ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETSPECIALVALUETEXT ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setSpecialValueText( hbqt_par_QString( 2 ) ); -} - -/* - * void setWrapping ( bool w ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SETWRAPPING ) -{ - hbqt_par_QAbstractSpinBox( 1 )->setWrapping( hb_parl( 2 ) ); -} - -/* - * QString specialValueText () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SPECIALVALUETEXT ) -{ - hb_retc( hbqt_par_QAbstractSpinBox( 1 )->specialValueText().toAscii().data() ); -} - -/* - * virtual void stepBy ( int steps ) - */ -HB_FUNC( QT_QABSTRACTSPINBOX_STEPBY ) -{ - hbqt_par_QAbstractSpinBox( 1 )->stepBy( hb_parni( 2 ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_TEXT ) -{ - hb_retc( hbqt_par_QAbstractSpinBox( 1 )->text().toAscii().data() ); -} - -/* - * bool wrapping () const - */ -HB_FUNC( QT_QABSTRACTSPINBOX_WRAPPING ) -{ - hb_retl( hbqt_par_QAbstractSpinBox( 1 )->wrapping() ); -} - -/* - * virtual void clear () - */ -HB_FUNC( QT_QABSTRACTSPINBOX_CLEAR ) -{ - hbqt_par_QAbstractSpinBox( 1 )->clear(); -} - -/* - * void selectAll () - */ -HB_FUNC( QT_QABSTRACTSPINBOX_SELECTALL ) -{ - hbqt_par_QAbstractSpinBox( 1 )->selectAll(); -} - -/* - * void stepDown () - */ -HB_FUNC( QT_QABSTRACTSPINBOX_STEPDOWN ) -{ - hbqt_par_QAbstractSpinBox( 1 )->stepDown(); -} - -/* - * void stepUp () - */ -HB_FUNC( QT_QABSTRACTSPINBOX_STEPUP ) -{ - hbqt_par_QAbstractSpinBox( 1 )->stepUp(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAbstractTableModel.cpp b/harbour/contrib/hbqt/QAbstractTableModel.cpp deleted file mode 100644 index 64bc1439fd..0000000000 --- a/harbour/contrib/hbqt/QAbstractTableModel.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QAbstractTableModel ( QObject * parent = 0 ) - * ~QAbstractTableModel () - */ - -HB_FUNC( QT_QABSTRACTTABLEMODEL ) -{ -} -/* - * virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QABSTRACTTABLEMODEL_INDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QAbstractTableModel( 1 )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QAction.cpp b/harbour/contrib/hbqt/QAction.cpp deleted file mode 100644 index 86ac5c0d53..0000000000 --- a/harbour/contrib/hbqt/QAction.cpp +++ /dev/null @@ -1,501 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ActionEvent { Trigger, Hover } - * enum MenuRole { NoRole, TextHeuristicRole, ApplicationSpecificRole, AboutQtRole, ..., QuitRole } - */ - -/* - * Constructed[ 48/52 [ 92.31% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList associatedGraphicsWidgets () const - * QList associatedWidgets () const - * void setShortcuts ( const QList & shortcuts ) - * QList shortcuts () const - */ - -#include - -#include - - -/* - * QAction ( QObject * parent ) - * QAction ( const QString & text, QObject * parent ) - * QAction ( const QIcon & icon, const QString & text, QObject * parent ) - * ~QAction () - */ - -HB_FUNC( QT_QACTION ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QAction > pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - pObj = new QAction( hbqt_par_QObject( 1 ) ) ; - else if( HB_ISPOINTER( 2 ) ) - pObj = new QAction( hbqt_par_QString( 1 ), hbqt_par_QObject( 2 ) ) ; - else if( HB_ISPOINTER( 3 ) ) - pObj = new QAction( *hbqt_par_QIcon( 1 ), hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QActionGroup * actionGroup () const - */ -HB_FUNC( QT_QACTION_ACTIONGROUP ) -{ - hb_retptr( ( QActionGroup* ) hbqt_par_QAction( 1 )->actionGroup() ); -} - -/* - * void activate ( ActionEvent event ) - */ -HB_FUNC( QT_QACTION_ACTIVATE ) -{ - hbqt_par_QAction( 1 )->activate( ( QAction::ActionEvent ) hb_parni( 2 ) ); -} - -/* - * bool autoRepeat () const - */ -HB_FUNC( QT_QACTION_AUTOREPEAT ) -{ - hb_retl( hbqt_par_QAction( 1 )->autoRepeat() ); -} - -/* - * QVariant data () const - */ -HB_FUNC( QT_QACTION_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QAction( 1 )->data() ) ) ); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QACTION_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QAction( 1 )->font() ) ) ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QACTION_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QAction( 1 )->icon() ) ) ); -} - -/* - * QString iconText () const - */ -HB_FUNC( QT_QACTION_ICONTEXT ) -{ - hb_retc( hbqt_par_QAction( 1 )->iconText().toAscii().data() ); -} - -/* - * bool isCheckable () const - */ -HB_FUNC( QT_QACTION_ISCHECKABLE ) -{ - hb_retl( hbqt_par_QAction( 1 )->isCheckable() ); -} - -/* - * bool isChecked () const - */ -HB_FUNC( QT_QACTION_ISCHECKED ) -{ - hb_retl( hbqt_par_QAction( 1 )->isChecked() ); -} - -/* - * bool isEnabled () const - */ -HB_FUNC( QT_QACTION_ISENABLED ) -{ - hb_retl( hbqt_par_QAction( 1 )->isEnabled() ); -} - -/* - * bool isIconVisibleInMenu () const - */ -HB_FUNC( QT_QACTION_ISICONVISIBLEINMENU ) -{ - hb_retl( hbqt_par_QAction( 1 )->isIconVisibleInMenu() ); -} - -/* - * bool isSeparator () const - */ -HB_FUNC( QT_QACTION_ISSEPARATOR ) -{ - hb_retl( hbqt_par_QAction( 1 )->isSeparator() ); -} - -/* - * bool isVisible () const - */ -HB_FUNC( QT_QACTION_ISVISIBLE ) -{ - hb_retl( hbqt_par_QAction( 1 )->isVisible() ); -} - -/* - * QMenu * menu () const - */ -HB_FUNC( QT_QACTION_MENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QAction( 1 )->menu() ); -} - -/* - * MenuRole menuRole () const - */ -HB_FUNC( QT_QACTION_MENUROLE ) -{ - hb_retni( ( QAction::MenuRole ) hbqt_par_QAction( 1 )->menuRole() ); -} - -/* - * QWidget * parentWidget () const - */ -HB_FUNC( QT_QACTION_PARENTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QAction( 1 )->parentWidget() ); -} - -/* - * void setActionGroup ( QActionGroup * group ) - */ -HB_FUNC( QT_QACTION_SETACTIONGROUP ) -{ - hbqt_par_QAction( 1 )->setActionGroup( hbqt_par_QActionGroup( 2 ) ); -} - -/* - * void setAutoRepeat ( bool ) - */ -HB_FUNC( QT_QACTION_SETAUTOREPEAT ) -{ - hbqt_par_QAction( 1 )->setAutoRepeat( hb_parl( 2 ) ); -} - -/* - * void setCheckable ( bool ) - */ -HB_FUNC( QT_QACTION_SETCHECKABLE ) -{ - hbqt_par_QAction( 1 )->setCheckable( hb_parl( 2 ) ); -} - -/* - * void setData ( const QVariant & userData ) - */ -HB_FUNC( QT_QACTION_SETDATA ) -{ - hbqt_par_QAction( 1 )->setData( *hbqt_par_QVariant( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QACTION_SETFONT ) -{ - hbqt_par_QAction( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QACTION_SETICON ) -{ - hbqt_par_QAction( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setIconText ( const QString & text ) - */ -HB_FUNC( QT_QACTION_SETICONTEXT ) -{ - hbqt_par_QAction( 1 )->setIconText( hbqt_par_QString( 2 ) ); -} - -/* - * void setIconVisibleInMenu ( bool visible ) - */ -HB_FUNC( QT_QACTION_SETICONVISIBLEINMENU ) -{ - hbqt_par_QAction( 1 )->setIconVisibleInMenu( hb_parl( 2 ) ); -} - -/* - * void setMenu ( QMenu * menu ) - */ -HB_FUNC( QT_QACTION_SETMENU ) -{ - hbqt_par_QAction( 1 )->setMenu( hbqt_par_QMenu( 2 ) ); -} - -/* - * void setMenuRole ( MenuRole menuRole ) - */ -HB_FUNC( QT_QACTION_SETMENUROLE ) -{ - hbqt_par_QAction( 1 )->setMenuRole( ( QAction::MenuRole ) hb_parni( 2 ) ); -} - -/* - * void setSeparator ( bool b ) - */ -HB_FUNC( QT_QACTION_SETSEPARATOR ) -{ - hbqt_par_QAction( 1 )->setSeparator( hb_parl( 2 ) ); -} - -/* - * void setShortcut ( const QKeySequence & shortcut ) - */ -HB_FUNC( QT_QACTION_SETSHORTCUT ) -{ - hbqt_par_QAction( 1 )->setShortcut( *hbqt_par_QKeySequence( 2 ) ); -} - -/* - * void setShortcutContext ( Qt::ShortcutContext context ) - */ -HB_FUNC( QT_QACTION_SETSHORTCUTCONTEXT ) -{ - hbqt_par_QAction( 1 )->setShortcutContext( ( Qt::ShortcutContext ) hb_parni( 2 ) ); -} - -/* - * void setShortcuts ( QKeySequence::StandardKey key ) - */ -HB_FUNC( QT_QACTION_SETSHORTCUTS ) -{ - hbqt_par_QAction( 1 )->setShortcuts( ( QKeySequence::StandardKey ) hb_parni( 2 ) ); -} - -/* - * void setStatusTip ( const QString & statusTip ) - */ -HB_FUNC( QT_QACTION_SETSTATUSTIP ) -{ - hbqt_par_QAction( 1 )->setStatusTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QACTION_SETTEXT ) -{ - hbqt_par_QAction( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setToolTip ( const QString & tip ) - */ -HB_FUNC( QT_QACTION_SETTOOLTIP ) -{ - hbqt_par_QAction( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setWhatsThis ( const QString & what ) - */ -HB_FUNC( QT_QACTION_SETWHATSTHIS ) -{ - hbqt_par_QAction( 1 )->setWhatsThis( hbqt_par_QString( 2 ) ); -} - -/* - * QKeySequence shortcut () const - */ -HB_FUNC( QT_QACTION_SHORTCUT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QKeySequence( hbqt_par_QAction( 1 )->shortcut() ) ) ); -} - -/* - * Qt::ShortcutContext shortcutContext () const - */ -HB_FUNC( QT_QACTION_SHORTCUTCONTEXT ) -{ - hb_retni( ( Qt::ShortcutContext ) hbqt_par_QAction( 1 )->shortcutContext() ); -} - -/* - * bool showStatusText ( QWidget * widget = 0 ) - */ -HB_FUNC( QT_QACTION_SHOWSTATUSTEXT ) -{ - hb_retl( hbqt_par_QAction( 1 )->showStatusText( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * QString statusTip () const - */ -HB_FUNC( QT_QACTION_STATUSTIP ) -{ - hb_retc( hbqt_par_QAction( 1 )->statusTip().toAscii().data() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QACTION_TEXT ) -{ - hb_retc( hbqt_par_QAction( 1 )->text().toAscii().data() ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QACTION_TOOLTIP ) -{ - hb_retc( hbqt_par_QAction( 1 )->toolTip().toAscii().data() ); -} - -/* - * QString whatsThis () const - */ -HB_FUNC( QT_QACTION_WHATSTHIS ) -{ - hb_retc( hbqt_par_QAction( 1 )->whatsThis().toAscii().data() ); -} - -/* - * void hover () - */ -HB_FUNC( QT_QACTION_HOVER ) -{ - hbqt_par_QAction( 1 )->hover(); -} - -/* - * void setChecked ( bool ) - */ -HB_FUNC( QT_QACTION_SETCHECKED ) -{ - hbqt_par_QAction( 1 )->setChecked( hb_parl( 2 ) ); -} - -/* - * void setDisabled ( bool b ) - */ -HB_FUNC( QT_QACTION_SETDISABLED ) -{ - hbqt_par_QAction( 1 )->setDisabled( hb_parl( 2 ) ); -} - -/* - * void setEnabled ( bool ) - */ -HB_FUNC( QT_QACTION_SETENABLED ) -{ - hbqt_par_QAction( 1 )->setEnabled( hb_parl( 2 ) ); -} - -/* - * void setVisible ( bool ) - */ -HB_FUNC( QT_QACTION_SETVISIBLE ) -{ - hbqt_par_QAction( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * void toggle () - */ -HB_FUNC( QT_QACTION_TOGGLE ) -{ - hbqt_par_QAction( 1 )->toggle(); -} - -/* - * void trigger () - */ -HB_FUNC( QT_QACTION_TRIGGER ) -{ - hbqt_par_QAction( 1 )->trigger(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QApplication.cpp b/harbour/contrib/hbqt/QApplication.cpp deleted file mode 100644 index 82b0e63e0d..0000000000 --- a/harbour/contrib/hbqt/QApplication.cpp +++ /dev/null @@ -1,802 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ColorSpec { NormalColor, CustomColor, ManyColor } - * enum Type { Tty, GuiClient, GuiServer } - */ - -#include - -#include "hbapi.h" -#include "hbinit.h" -#include "hbdefs.h" -#include "hbapifs.h" -#include "hbapiitm.h" -#include "hbstack.h" -#include "hbvm.h" -#include "hbdate.h" -#include "hbapierr.h" - -#include -#include -#include -#include -#include -#include -#include - -void release_codeblocks(); - -static QApplication * app = NULL; -static bool hbqtinit = false; - -static int s_argc; -static char ** s_argv; - -/* - * QApplication ( int & argc, char ** argv ) - * QApplication ( int & argc, char ** argv, bool GUIenabled ) - * QApplication ( int & argc, char ** argv, Type type ) - * QApplication ( Display * display, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 ) - * QApplication ( Display * display, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 ) - * virtual ~QApplication () -*/ - - -static void hbqt_Exit( void * cargo ) -{ - HB_SYMBOL_UNUSED( cargo ); - - release_codeblocks(); -} - -static void hbqt_Init( void * cargo ) -{ - HB_SYMBOL_UNUSED( cargo ); - - s_argc = hb_cmdargARGC(); - s_argv = hb_cmdargARGV(); - - app = new QApplication( s_argc, s_argv ); - - if( app ) - hbqtinit = true; - - if( ! hbqtinit ) - hb_errInternal( 11001, "hbqt_Init(): QT Initilization Error.", NULL, NULL ); - - hb_cmdargInit( s_argc, s_argv ); - - hb_vmAtExit( hbqt_Exit, NULL ); -} - -HB_CALL_ON_STARTUP_BEGIN( _hb_hbqt_init_ ) - hb_vmAtInit( hbqt_Init, NULL ); -HB_CALL_ON_STARTUP_END( _hb_hbqt_init_ ) - -#if defined( HB_PRAGMA_STARTUP ) - #pragma startup _hb_hbqt_init_ -#elif defined( HB_MSC_STARTUP ) - #if defined( HB_OS_WIN_64 ) - #pragma section( HB_MSC_START_SEGMENT, long, read ) - #endif - #pragma data_seg( HB_MSC_START_SEGMENT ) - static HB_$INITSYM hb_auto_hbqt_init_ = _hb_hbqt_init_; - #pragma data_seg() -#endif - -HB_FUNC( QT_QAPPLICATION_EXECUTE ) -{ - hb_retni( app->exec() ); -} - -HB_FUNC( QT_QAPPLICATION_QUIT ) -{ - app->quit(); -} - -HB_FUNC( QT_QAPPLICATION ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QApplication > pObj = NULL; - - pObj = ( QApplication * ) app ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual void commitData ( QSessionManager & manager ) - */ -HB_FUNC( QT_QAPPLICATION_COMMITDATA ) -{ - hbqt_par_QApplication( 1 )->commitData( *hbqt_par_QSessionManager( 2 ) ); -} - -/* - * QInputContext * inputContext () const - */ -HB_FUNC( QT_QAPPLICATION_INPUTCONTEXT ) -{ - hb_retptr( ( QInputContext* ) hbqt_par_QApplication( 1 )->inputContext() ); -} - -/* - * bool isSessionRestored () const - */ -HB_FUNC( QT_QAPPLICATION_ISSESSIONRESTORED ) -{ - hb_retl( hbqt_par_QApplication( 1 )->isSessionRestored() ); -} - -/* - * virtual void saveState ( QSessionManager & manager ) - */ -HB_FUNC( QT_QAPPLICATION_SAVESTATE ) -{ - hbqt_par_QApplication( 1 )->saveState( *hbqt_par_QSessionManager( 2 ) ); -} - -/* - * QString sessionId () const - */ -HB_FUNC( QT_QAPPLICATION_SESSIONID ) -{ - hb_retc( hbqt_par_QApplication( 1 )->sessionId().toAscii().data() ); -} - -/* - * QString sessionKey () const - */ -HB_FUNC( QT_QAPPLICATION_SESSIONKEY ) -{ - hb_retc( hbqt_par_QApplication( 1 )->sessionKey().toAscii().data() ); -} - -/* - * void setInputContext ( QInputContext * inputContext ) - */ -HB_FUNC( QT_QAPPLICATION_SETINPUTCONTEXT ) -{ - hbqt_par_QApplication( 1 )->setInputContext( hbqt_par_QInputContext( 2 ) ); -} - -/* - * QString styleSheet () const - */ -HB_FUNC( QT_QAPPLICATION_STYLESHEET ) -{ - hb_retc( hbqt_par_QApplication( 1 )->styleSheet().toAscii().data() ); -} - -/* - * QWidget * activeModalWidget () - */ -HB_FUNC( QT_QAPPLICATION_ACTIVEMODALWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->activeModalWidget() ); -} - -/* - * QWidget * activePopupWidget () - */ -HB_FUNC( QT_QAPPLICATION_ACTIVEPOPUPWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->activePopupWidget() ); -} - -/* - * QWidget * activeWindow () - */ -HB_FUNC( QT_QAPPLICATION_ACTIVEWINDOW ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->activeWindow() ); -} - -/* - * void alert ( QWidget * widget, int msec = 0 ) - */ -HB_FUNC( QT_QAPPLICATION_ALERT ) -{ - hbqt_par_QApplication( 1 )->alert( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ); -} - -/* - * QWidgetList allWidgets () - */ -HB_FUNC( QT_QAPPLICATION_ALLWIDGETS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWidgetList( hbqt_par_QApplication( 1 )->allWidgets() ) ) ); -} - -/* - * void beep () - */ -HB_FUNC( QT_QAPPLICATION_BEEP ) -{ - hbqt_par_QApplication( 1 )->beep(); -} - -/* - * void changeOverrideCursor ( const QCursor & cursor ) - */ -HB_FUNC( QT_QAPPLICATION_CHANGEOVERRIDECURSOR ) -{ - hbqt_par_QApplication( 1 )->changeOverrideCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* - * QClipboard * clipboard () - */ -HB_FUNC( QT_QAPPLICATION_CLIPBOARD ) -{ - hb_retptr( ( QClipboard* ) hbqt_par_QApplication( 1 )->clipboard() ); -} - -/* - * int colorSpec () - */ -HB_FUNC( QT_QAPPLICATION_COLORSPEC ) -{ - hb_retni( hbqt_par_QApplication( 1 )->colorSpec() ); -} - -/* - * int cursorFlashTime () - */ -HB_FUNC( QT_QAPPLICATION_CURSORFLASHTIME ) -{ - hb_retni( hbqt_par_QApplication( 1 )->cursorFlashTime() ); -} - -/* - * QDesktopWidget * desktop () - */ -HB_FUNC( QT_QAPPLICATION_DESKTOP ) -{ - hb_retptr( ( QDesktopWidget* ) hbqt_par_QApplication( 1 )->desktop() ); -} - -/* - * bool desktopSettingsAware () - */ -HB_FUNC( QT_QAPPLICATION_DESKTOPSETTINGSAWARE ) -{ - hb_retl( hbqt_par_QApplication( 1 )->desktopSettingsAware() ); -} - -/* - * int doubleClickInterval () - */ -HB_FUNC( QT_QAPPLICATION_DOUBLECLICKINTERVAL ) -{ - hb_retni( hbqt_par_QApplication( 1 )->doubleClickInterval() ); -} - -/* - * int exec () - */ -HB_FUNC( QT_QAPPLICATION_EXEC ) -{ - hb_retni( hbqt_par_QApplication( 1 )->exec() ); -} - -/* - * QWidget * focusWidget () - */ -HB_FUNC( QT_QAPPLICATION_FOCUSWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->focusWidget() ); -} - -/* - * QFont font () - */ -HB_FUNC( QT_QAPPLICATION_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QApplication( 1 )->font() ) ) ); -} - -/* - * QFont font ( const QWidget * widget ) - */ -HB_FUNC( QT_QAPPLICATION_FONT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QApplication( 1 )->font( hbqt_par_QWidget( 2 ) ) ) ) ); -} - -/* - * QFont font ( const char * className ) - */ -HB_FUNC( QT_QAPPLICATION_FONT_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QApplication( 1 )->font( hbqt_par_char( 2 ) ) ) ) ); -} - -/* - * QFontMetrics fontMetrics () - */ -HB_FUNC( QT_QAPPLICATION_FONTMETRICS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFontMetrics( hbqt_par_QApplication( 1 )->fontMetrics() ) ) ); -} - -/* - * QSize globalStrut () - */ -HB_FUNC( QT_QAPPLICATION_GLOBALSTRUT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QApplication( 1 )->globalStrut() ) ) ); -} - -/* - * bool isEffectEnabled ( Qt::UIEffect effect ) - */ -HB_FUNC( QT_QAPPLICATION_ISEFFECTENABLED ) -{ - hb_retl( hbqt_par_QApplication( 1 )->isEffectEnabled( ( Qt::UIEffect ) hb_parni( 2 ) ) ); -} - -/* - * bool isLeftToRight () - */ -HB_FUNC( QT_QAPPLICATION_ISLEFTTORIGHT ) -{ - hb_retl( hbqt_par_QApplication( 1 )->isLeftToRight() ); -} - -/* - * bool isRightToLeft () - */ -HB_FUNC( QT_QAPPLICATION_ISRIGHTTOLEFT ) -{ - hb_retl( hbqt_par_QApplication( 1 )->isRightToLeft() ); -} - -/* - * Qt::LayoutDirection keyboardInputDirection () - */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDINPUTDIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QApplication( 1 )->keyboardInputDirection() ); -} - -/* - * int keyboardInputInterval () - */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDINPUTINTERVAL ) -{ - hb_retni( hbqt_par_QApplication( 1 )->keyboardInputInterval() ); -} - -/* - * QLocale keyboardInputLocale () - */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDINPUTLOCALE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLocale( hbqt_par_QApplication( 1 )->keyboardInputLocale() ) ) ); -} - -/* - * Qt::KeyboardModifiers keyboardModifiers () - */ -HB_FUNC( QT_QAPPLICATION_KEYBOARDMODIFIERS ) -{ - hb_retni( ( Qt::KeyboardModifiers ) hbqt_par_QApplication( 1 )->keyboardModifiers() ); -} - -/* - * Qt::LayoutDirection layoutDirection () - */ -HB_FUNC( QT_QAPPLICATION_LAYOUTDIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QApplication( 1 )->layoutDirection() ); -} - -/* - * Qt::MouseButtons mouseButtons () - */ -HB_FUNC( QT_QAPPLICATION_MOUSEBUTTONS ) -{ - hb_retni( ( Qt::MouseButtons ) hbqt_par_QApplication( 1 )->mouseButtons() ); -} - -/* - * QCursor * overrideCursor () - */ -HB_FUNC( QT_QAPPLICATION_OVERRIDECURSOR ) -{ - hb_retptr( ( QCursor* ) hbqt_par_QApplication( 1 )->overrideCursor() ); -} - -/* - * QPalette palette () - */ -HB_FUNC( QT_QAPPLICATION_PALETTE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QApplication( 1 )->palette() ) ) ); -} - -/* - * QPalette palette ( const QWidget * widget ) - */ -HB_FUNC( QT_QAPPLICATION_PALETTE_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QApplication( 1 )->palette( hbqt_par_QWidget( 2 ) ) ) ) ); -} - -/* - * QPalette palette ( const char * className ) - */ -HB_FUNC( QT_QAPPLICATION_PALETTE_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QApplication( 1 )->palette( hbqt_par_char( 2 ) ) ) ) ); -} - -/* - * bool quitOnLastWindowClosed () - */ -HB_FUNC( QT_QAPPLICATION_QUITONLASTWINDOWCLOSED ) -{ - hb_retl( hbqt_par_QApplication( 1 )->quitOnLastWindowClosed() ); -} - -/* - * void restoreOverrideCursor () - */ -HB_FUNC( QT_QAPPLICATION_RESTOREOVERRIDECURSOR ) -{ - hbqt_par_QApplication( 1 )->restoreOverrideCursor(); -} - -/* - * void setActiveWindow ( QWidget * active ) - */ -HB_FUNC( QT_QAPPLICATION_SETACTIVEWINDOW ) -{ - hbqt_par_QApplication( 1 )->setActiveWindow( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setColorSpec ( int spec ) - */ -HB_FUNC( QT_QAPPLICATION_SETCOLORSPEC ) -{ - hbqt_par_QApplication( 1 )->setColorSpec( hb_parni( 2 ) ); -} - -/* - * void setCursorFlashTime ( int ) - */ -HB_FUNC( QT_QAPPLICATION_SETCURSORFLASHTIME ) -{ - hbqt_par_QApplication( 1 )->setCursorFlashTime( hb_parni( 2 ) ); -} - -/* - * void setDesktopSettingsAware ( bool on ) - */ -HB_FUNC( QT_QAPPLICATION_SETDESKTOPSETTINGSAWARE ) -{ - hbqt_par_QApplication( 1 )->setDesktopSettingsAware( hb_parl( 2 ) ); -} - -/* - * void setDoubleClickInterval ( int ) - */ -HB_FUNC( QT_QAPPLICATION_SETDOUBLECLICKINTERVAL ) -{ - hbqt_par_QApplication( 1 )->setDoubleClickInterval( hb_parni( 2 ) ); -} - -/* - * void setEffectEnabled ( Qt::UIEffect effect, bool enable = true ) - */ -HB_FUNC( QT_QAPPLICATION_SETEFFECTENABLED ) -{ - hbqt_par_QApplication( 1 )->setEffectEnabled( ( Qt::UIEffect ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setFont ( const QFont & font, const char * className = 0 ) - */ -HB_FUNC( QT_QAPPLICATION_SETFONT ) -{ - hbqt_par_QApplication( 1 )->setFont( *hbqt_par_QFont( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * void setGlobalStrut ( const QSize & ) - */ -HB_FUNC( QT_QAPPLICATION_SETGLOBALSTRUT ) -{ - hbqt_par_QApplication( 1 )->setGlobalStrut( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setGraphicsSystem ( const QString & system ) - */ -HB_FUNC( QT_QAPPLICATION_SETGRAPHICSSYSTEM ) -{ - hbqt_par_QApplication( 1 )->setGraphicsSystem( hbqt_par_QString( 2 ) ); -} - -/* - * void setKeyboardInputInterval ( int ) - */ -HB_FUNC( QT_QAPPLICATION_SETKEYBOARDINPUTINTERVAL ) -{ - hbqt_par_QApplication( 1 )->setKeyboardInputInterval( hb_parni( 2 ) ); -} - -/* - * void setLayoutDirection ( Qt::LayoutDirection direction ) - */ -HB_FUNC( QT_QAPPLICATION_SETLAYOUTDIRECTION ) -{ - hbqt_par_QApplication( 1 )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* - * void setOverrideCursor ( const QCursor & cursor ) - */ -HB_FUNC( QT_QAPPLICATION_SETOVERRIDECURSOR ) -{ - hbqt_par_QApplication( 1 )->setOverrideCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* - * void setPalette ( const QPalette & palette, const char * className = 0 ) - */ -HB_FUNC( QT_QAPPLICATION_SETPALETTE ) -{ - hbqt_par_QApplication( 1 )->setPalette( *hbqt_par_QPalette( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * void setQuitOnLastWindowClosed ( bool quit ) - */ -HB_FUNC( QT_QAPPLICATION_SETQUITONLASTWINDOWCLOSED ) -{ - hbqt_par_QApplication( 1 )->setQuitOnLastWindowClosed( hb_parl( 2 ) ); -} - -/* - * void setStartDragDistance ( int l ) - */ -HB_FUNC( QT_QAPPLICATION_SETSTARTDRAGDISTANCE ) -{ - hbqt_par_QApplication( 1 )->setStartDragDistance( hb_parni( 2 ) ); -} - -/* - * void setStartDragTime ( int ms ) - */ -HB_FUNC( QT_QAPPLICATION_SETSTARTDRAGTIME ) -{ - hbqt_par_QApplication( 1 )->setStartDragTime( hb_parni( 2 ) ); -} - -/* - * void setStyle ( QStyle * style ) - */ -HB_FUNC( QT_QAPPLICATION_SETSTYLE ) -{ - hbqt_par_QApplication( 1 )->setStyle( hbqt_par_QStyle( 2 ) ); -} - -/* - * QStyle * setStyle ( const QString & style ) - */ -HB_FUNC( QT_QAPPLICATION_SETSTYLE_1 ) -{ - hb_retptr( ( QStyle* ) hbqt_par_QApplication( 1 )->setStyle( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setWheelScrollLines ( int ) - */ -HB_FUNC( QT_QAPPLICATION_SETWHEELSCROLLLINES ) -{ - hbqt_par_QApplication( 1 )->setWheelScrollLines( hb_parni( 2 ) ); -} - -/* - * void setWindowIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QAPPLICATION_SETWINDOWICON ) -{ - hbqt_par_QApplication( 1 )->setWindowIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * int startDragDistance () - */ -HB_FUNC( QT_QAPPLICATION_STARTDRAGDISTANCE ) -{ - hb_retni( hbqt_par_QApplication( 1 )->startDragDistance() ); -} - -/* - * int startDragTime () - */ -HB_FUNC( QT_QAPPLICATION_STARTDRAGTIME ) -{ - hb_retni( hbqt_par_QApplication( 1 )->startDragTime() ); -} - -/* - * QStyle * style () - */ -HB_FUNC( QT_QAPPLICATION_STYLE ) -{ - hb_retptr( ( QStyle* ) hbqt_par_QApplication( 1 )->style() ); -} - -/* - * void syncX () - */ -HB_FUNC( QT_QAPPLICATION_SYNCX ) -{ - hbqt_par_QApplication( 1 )->syncX(); -} - -/* - * QWidget * topLevelAt ( const QPoint & point ) - */ -HB_FUNC( QT_QAPPLICATION_TOPLEVELAT ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->topLevelAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QWidget * topLevelAt ( int x, int y ) - */ -HB_FUNC( QT_QAPPLICATION_TOPLEVELAT_1 ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->topLevelAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QWidgetList topLevelWidgets () - */ -HB_FUNC( QT_QAPPLICATION_TOPLEVELWIDGETS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWidgetList( hbqt_par_QApplication( 1 )->topLevelWidgets() ) ) ); -} - -/* - * Type type () - */ -HB_FUNC( QT_QAPPLICATION_TYPE ) -{ - hb_retni( ( QApplication::Type ) hbqt_par_QApplication( 1 )->type() ); -} - -/* - * int wheelScrollLines () - */ -HB_FUNC( QT_QAPPLICATION_WHEELSCROLLLINES ) -{ - hb_retni( hbqt_par_QApplication( 1 )->wheelScrollLines() ); -} - -/* - * QWidget * widgetAt ( const QPoint & point ) - */ -HB_FUNC( QT_QAPPLICATION_WIDGETAT ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->widgetAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QWidget * widgetAt ( int x, int y ) - */ -HB_FUNC( QT_QAPPLICATION_WIDGETAT_1 ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QApplication( 1 )->widgetAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QIcon windowIcon () - */ -HB_FUNC( QT_QAPPLICATION_WINDOWICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QApplication( 1 )->windowIcon() ) ) ); -} - -/* - * void aboutQt () - */ -HB_FUNC( QT_QAPPLICATION_ABOUTQT ) -{ - hbqt_par_QApplication( 1 )->aboutQt(); -} - -/* - * void closeAllWindows () - */ -HB_FUNC( QT_QAPPLICATION_CLOSEALLWINDOWS ) -{ - hbqt_par_QApplication( 1 )->closeAllWindows(); -} - -/* - * void setStyleSheet ( const QString & sheet ) - */ -HB_FUNC( QT_QAPPLICATION_SETSTYLESHEET ) -{ - hbqt_par_QApplication( 1 )->setStyleSheet( hbqt_par_QString( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QBitmap.cpp b/harbour/contrib/hbqt/QBitmap.cpp deleted file mode 100644 index 40accd66eb..0000000000 --- a/harbour/contrib/hbqt/QBitmap.cpp +++ /dev/null @@ -1,163 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QBitmap () - * QBitmap ( const QPixmap & pixmap ) - * QBitmap ( int width, int height ) - * QBitmap ( const QSize & size ) - * QBitmap ( const QString & fileName, const char * format = 0 ) - * ~QBitmap () - */ - -HB_FUNC( QT_QBITMAP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QBitmap* ) new QBitmap( *hbqt_par_QBitmap( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QBitmap* ) new QBitmap( hbqt_par_QString( 1 ), ( const char * ) 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - pObj = ( QBitmap* ) new QBitmap( hbqt_par_QString( 1 ), hb_parc( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QBitmap* ) new QBitmap( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( ( QString ) "QPixmap" == hbqt_par_QString( 1 ) ) - { - pObj = ( QBitmap* ) new QBitmap( *hbqt_par_QPixmap( 2 ) ) ; - } - else if( ( QString ) "QSize" == hbqt_par_QString( 1 ) ) - { - pObj = ( QBitmap* ) new QBitmap( *hbqt_par_QSize( 2 ) ) ; - } - else - { - pObj = ( QBitmap* ) new QBitmap() ; - } - } - else - { - pObj = ( QBitmap* ) new QBitmap() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QBitmap" ); - hb_retptrGC( p ); -} -/* - * void clear () - */ -HB_FUNC( QT_QBITMAP_CLEAR ) -{ - hbqt_par_QBitmap( 1 )->clear(); -} - -/* - * QBitmap transformed ( const QTransform & matrix ) const - */ -HB_FUNC( QT_QBITMAP_TRANSFORMED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QBitmap( 1 )->transformed( *hbqt_par_QTransform( 2 ) ) ) ) ); -} - -/* - * QBitmap transformed ( const QMatrix & matrix ) const - */ -HB_FUNC( QT_QBITMAP_TRANSFORMED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QBitmap( 1 )->transformed( *hbqt_par_QMatrix( 2 ) ) ) ) ); -} - -/* - * QBitmap fromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QBITMAP_FROMIMAGE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QBitmap( 1 )->fromImage( *hbqt_par_QImage( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ImageConversionFlags ) hb_parni( 3 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QBoxLayout.cpp b/harbour/contrib/hbqt/QBoxLayout.cpp deleted file mode 100644 index 0bb0432ede..0000000000 --- a/harbour/contrib/hbqt/QBoxLayout.cpp +++ /dev/null @@ -1,257 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Direction { LeftToRight, RightToLeft, TopToBottom, BottomToTop } - */ - -#include - -#include - - -/* - * QBoxLayout ( Direction dir, QWidget * parent = 0 ) - * ~QBoxLayout () - */ - -HB_FUNC( QT_QBOXLAYOUT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QBoxLayout > pObj = NULL; - - pObj = ( QBoxLayout* ) new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addLayout ( QLayout * layout, int stretch = 0 ) - */ -HB_FUNC( QT_QBOXLAYOUT_ADDLAYOUT ) -{ - hbqt_par_QBoxLayout( 1 )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ) ); -} - -/* - * void addSpacerItem ( QSpacerItem * spacerItem ) - */ -HB_FUNC( QT_QBOXLAYOUT_ADDSPACERITEM ) -{ - hbqt_par_QBoxLayout( 1 )->addSpacerItem( hbqt_par_QSpacerItem( 2 ) ); -} - -/* - * void addSpacing ( int size ) - */ -HB_FUNC( QT_QBOXLAYOUT_ADDSPACING ) -{ - hbqt_par_QBoxLayout( 1 )->addSpacing( hb_parni( 2 ) ); -} - -/* - * void addStretch ( int stretch = 0 ) - */ -HB_FUNC( QT_QBOXLAYOUT_ADDSTRETCH ) -{ - hbqt_par_QBoxLayout( 1 )->addStretch( hb_parni( 2 ) ); -} - -/* - * void addStrut ( int size ) - */ -HB_FUNC( QT_QBOXLAYOUT_ADDSTRUT ) -{ - hbqt_par_QBoxLayout( 1 )->addStrut( hb_parni( 2 ) ); -} - -/* - * void addWidget ( QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QBOXLAYOUT_ADDWIDGET ) -{ - hbqt_par_QBoxLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), ( Qt::Alignment ) hb_parni( 4 ) ); -} - -/* - * Direction direction () const - */ -HB_FUNC( QT_QBOXLAYOUT_DIRECTION ) -{ - hb_retni( ( QBoxLayout::Direction ) hbqt_par_QBoxLayout( 1 )->direction() ); -} - -/* - * void insertLayout ( int index, QLayout * layout, int stretch = 0 ) - */ -HB_FUNC( QT_QBOXLAYOUT_INSERTLAYOUT ) -{ - hbqt_par_QBoxLayout( 1 )->insertLayout( hb_parni( 2 ), hbqt_par_QLayout( 3 ), hb_parni( 4 ) ); -} - -/* - * void insertSpacerItem ( int index, QSpacerItem * spacerItem ) - */ -HB_FUNC( QT_QBOXLAYOUT_INSERTSPACERITEM ) -{ - hbqt_par_QBoxLayout( 1 )->insertSpacerItem( hb_parni( 2 ), hbqt_par_QSpacerItem( 3 ) ); -} - -/* - * void insertSpacing ( int index, int size ) - */ -HB_FUNC( QT_QBOXLAYOUT_INSERTSPACING ) -{ - hbqt_par_QBoxLayout( 1 )->insertSpacing( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void insertStretch ( int index, int stretch = 0 ) - */ -HB_FUNC( QT_QBOXLAYOUT_INSERTSTRETCH ) -{ - hbqt_par_QBoxLayout( 1 )->insertStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void insertWidget ( int index, QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QBOXLAYOUT_INSERTWIDGET ) -{ - hbqt_par_QBoxLayout( 1 )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); -} - -/* - * virtual void invalidate () - */ -HB_FUNC( QT_QBOXLAYOUT_INVALIDATE ) -{ - hbqt_par_QBoxLayout( 1 )->invalidate(); -} - -/* - * void setDirection ( Direction direction ) - */ -HB_FUNC( QT_QBOXLAYOUT_SETDIRECTION ) -{ - hbqt_par_QBoxLayout( 1 )->setDirection( ( QBoxLayout::Direction ) hb_parni( 2 ) ); -} - -/* - * void setSpacing ( int spacing ) - */ -HB_FUNC( QT_QBOXLAYOUT_SETSPACING ) -{ - hbqt_par_QBoxLayout( 1 )->setSpacing( hb_parni( 2 ) ); -} - -/* - * void setStretch ( int index, int stretch ) - */ -HB_FUNC( QT_QBOXLAYOUT_SETSTRETCH ) -{ - hbqt_par_QBoxLayout( 1 )->setStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * bool setStretchFactor ( QWidget * widget, int stretch ) - */ -HB_FUNC( QT_QBOXLAYOUT_SETSTRETCHFACTOR ) -{ - hb_retl( hbqt_par_QBoxLayout( 1 )->setStretchFactor( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ) ); -} - -/* - * bool setStretchFactor ( QLayout * layout, int stretch ) - */ -HB_FUNC( QT_QBOXLAYOUT_SETSTRETCHFACTOR_1 ) -{ - hb_retl( hbqt_par_QBoxLayout( 1 )->setStretchFactor( hbqt_par_QLayout( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int spacing () const - */ -HB_FUNC( QT_QBOXLAYOUT_SPACING ) -{ - hb_retni( hbqt_par_QBoxLayout( 1 )->spacing() ); -} - -/* - * int stretch ( int index ) const - */ -HB_FUNC( QT_QBOXLAYOUT_STRETCH ) -{ - hb_retni( hbqt_par_QBoxLayout( 1 )->stretch( hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QBrush.cpp b/harbour/contrib/hbqt/QBrush.cpp deleted file mode 100644 index 4df89edfce..0000000000 --- a/harbour/contrib/hbqt/QBrush.cpp +++ /dev/null @@ -1,266 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QBrush () - * QBrush ( Qt::BrushStyle style ) - * QBrush ( const QColor & color, Qt::BrushStyle style = Qt::SolidPattern ) - * QBrush ( Qt::GlobalColor color, Qt::BrushStyle style = Qt::SolidPattern ) - * QBrush ( const QColor & color, const QPixmap & pixmap ) - * QBrush ( Qt::GlobalColor color, const QPixmap & pixmap ) - * QBrush ( const QPixmap & pixmap ) - * QBrush ( const QImage & image ) - * QBrush ( const QBrush & other ) - * QBrush ( const QGradient & gradient ) - * ~QBrush () - */ - -HB_FUNC( QT_QBRUSH ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QBrush( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QBrush* ) new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), Qt::SolidPattern ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QBrush* ) new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), ( Qt::BrushStyle ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QColor( 1 ), ( Qt::BrushStyle ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QColor( 1 ), *hbqt_par_QPixmap( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QBrush* ) new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), *hbqt_par_QPixmap( 2 ) ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QPixmap" ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QPixmap( 2 ) ) ; - } - else if( objName == ( QString ) "QImage" ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QImage( 2 ) ) ; - } - else if( objName == ( QString ) "QGradient" ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QGradient( 2 ) ) ; - } - else if( objName == ( QString ) "QColor" ) - { - pObj = ( QBrush* ) new QBrush( *hbqt_par_QColor( 2 ), HB_ISNUM( 3 ) ? ( Qt::BrushStyle ) hb_parni( 3 ) : Qt::SolidPattern ) ; - } - else - { - pObj = ( QBrush* ) new QBrush() ; - } - } - else - { - pObj = ( QBrush* ) new QBrush() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QBrush" ); - hb_retptrGC( p ); -} -/* - * const QColor & color () const - */ -HB_FUNC( QT_QBRUSH_COLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QBrush( 1 )->color() ) ) ); -} - -/* - * bool isOpaque () const - */ -HB_FUNC( QT_QBRUSH_ISOPAQUE ) -{ - hb_retl( hbqt_par_QBrush( 1 )->isOpaque() ); -} - -/* - * const QMatrix & matrix () const - */ -HB_FUNC( QT_QBRUSH_MATRIX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QMatrix( hbqt_par_QBrush( 1 )->matrix() ) ) ); -} - -/* - * void setColor ( const QColor & color ) - */ -HB_FUNC( QT_QBRUSH_SETCOLOR ) -{ - hbqt_par_QBrush( 1 )->setColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setColor ( Qt::GlobalColor color ) - */ -HB_FUNC( QT_QBRUSH_SETCOLOR_1 ) -{ - hbqt_par_QBrush( 1 )->setColor( ( Qt::GlobalColor ) hb_parni( 2 ) ); -} - -/* - * void setMatrix ( const QMatrix & matrix ) - */ -HB_FUNC( QT_QBRUSH_SETMATRIX ) -{ - hbqt_par_QBrush( 1 )->setMatrix( *hbqt_par_QMatrix( 2 ) ); -} - -/* - * void setStyle ( Qt::BrushStyle style ) - */ -HB_FUNC( QT_QBRUSH_SETSTYLE ) -{ - hbqt_par_QBrush( 1 )->setStyle( ( Qt::BrushStyle ) hb_parni( 2 ) ); -} - -/* - * void setTexture ( const QPixmap & pixmap ) - */ -HB_FUNC( QT_QBRUSH_SETTEXTURE ) -{ - hbqt_par_QBrush( 1 )->setTexture( *hbqt_par_QPixmap( 2 ) ); -} - -/* - * void setTextureImage ( const QImage & image ) - */ -HB_FUNC( QT_QBRUSH_SETTEXTUREIMAGE ) -{ - hbqt_par_QBrush( 1 )->setTextureImage( *hbqt_par_QImage( 2 ) ); -} - -/* - * void setTransform ( const QTransform & matrix ) - */ -HB_FUNC( QT_QBRUSH_SETTRANSFORM ) -{ - hbqt_par_QBrush( 1 )->setTransform( *hbqt_par_QTransform( 2 ) ); -} - -/* - * Qt::BrushStyle style () const - */ -HB_FUNC( QT_QBRUSH_STYLE ) -{ - hb_retni( ( Qt::BrushStyle ) hbqt_par_QBrush( 1 )->style() ); -} - -/* - * QPixmap texture () const - */ -HB_FUNC( QT_QBRUSH_TEXTURE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QBrush( 1 )->texture() ) ) ); -} - -/* - * QImage textureImage () const - */ -HB_FUNC( QT_QBRUSH_TEXTUREIMAGE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QBrush( 1 )->textureImage() ) ) ); -} - -/* - * QTransform transform () const - */ -HB_FUNC( QT_QBRUSH_TRANSFORM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTransform( hbqt_par_QBrush( 1 )->transform() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QButtonGroup.cpp b/harbour/contrib/hbqt/QButtonGroup.cpp deleted file mode 100644 index d4070c97f3..0000000000 --- a/harbour/contrib/hbqt/QButtonGroup.cpp +++ /dev/null @@ -1,189 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 10/11 [ 90.91% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList buttons () const - */ - -#include - -#include - - -/* - * QButtonGroup ( QObject * parent = 0 ) - * ~QButtonGroup () - */ - -HB_FUNC( QT_QBUTTONGROUP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QButtonGroup > pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QButtonGroup* ) new QButtonGroup( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = ( QButtonGroup* ) new QButtonGroup() ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addButton ( QAbstractButton * button ) - */ -HB_FUNC( QT_QBUTTONGROUP_ADDBUTTON ) -{ - hbqt_par_QButtonGroup( 1 )->addButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* - * void addButton ( QAbstractButton * button, int id ) - */ -HB_FUNC( QT_QBUTTONGROUP_ADDBUTTON_1 ) -{ - hbqt_par_QButtonGroup( 1 )->addButton( hbqt_par_QAbstractButton( 2 ), hb_parni( 3 ) ); -} - -/* - * QAbstractButton * button ( int id ) const - */ -HB_FUNC( QT_QBUTTONGROUP_BUTTON ) -{ - hb_retptr( ( QAbstractButton* ) hbqt_par_QButtonGroup( 1 )->button( hb_parni( 2 ) ) ); -} - -/* - * QAbstractButton * checkedButton () const - */ -HB_FUNC( QT_QBUTTONGROUP_CHECKEDBUTTON ) -{ - hb_retptr( ( QAbstractButton* ) hbqt_par_QButtonGroup( 1 )->checkedButton() ); -} - -/* - * int checkedId () const - */ -HB_FUNC( QT_QBUTTONGROUP_CHECKEDID ) -{ - hb_retni( hbqt_par_QButtonGroup( 1 )->checkedId() ); -} - -/* - * bool exclusive () const - */ -HB_FUNC( QT_QBUTTONGROUP_EXCLUSIVE ) -{ - hb_retl( hbqt_par_QButtonGroup( 1 )->exclusive() ); -} - -/* - * int id ( QAbstractButton * button ) const - */ -HB_FUNC( QT_QBUTTONGROUP_ID ) -{ - hb_retni( hbqt_par_QButtonGroup( 1 )->id( hbqt_par_QAbstractButton( 2 ) ) ); -} - -/* - * void removeButton ( QAbstractButton * button ) - */ -HB_FUNC( QT_QBUTTONGROUP_REMOVEBUTTON ) -{ - hbqt_par_QButtonGroup( 1 )->removeButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* - * void setExclusive ( bool ) - */ -HB_FUNC( QT_QBUTTONGROUP_SETEXCLUSIVE ) -{ - hbqt_par_QButtonGroup( 1 )->setExclusive( hb_parl( 2 ) ); -} - -/* - * void setId ( QAbstractButton * button, int id ) - */ -HB_FUNC( QT_QBUTTONGROUP_SETID ) -{ - hbqt_par_QButtonGroup( 1 )->setId( hbqt_par_QAbstractButton( 2 ), hb_parni( 3 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QCalendarWidget.cpp b/harbour/contrib/hbqt/QCalendarWidget.cpp deleted file mode 100644 index 2bda86a46b..0000000000 --- a/harbour/contrib/hbqt/QCalendarWidget.cpp +++ /dev/null @@ -1,412 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum HorizontalHeaderFormat { SingleLetterDayNames, ShortDayNames, LongDayNames, NoHorizontalHeader } - * enum SelectionMode { NoSelection, SingleSelection } - * enum VerticalHeaderFormat { ISOWeekNumbers, NoVerticalHeader } - */ - -/* - * Constructed[ 38/39 [ 97.44% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QMap dateTextFormat () const - */ - -#include - -#include -#include - -/* - * QCalendarWidget ( QWidget * parent = 0 ) - * ~QCalendarWidget () - */ - -HB_FUNC( QT_QCALENDARWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QCalendarWidget > pObj = NULL; - - pObj = ( QCalendarWidget* ) new QCalendarWidget( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int dateEditAcceptDelay () const - */ -HB_FUNC( QT_QCALENDARWIDGET_DATEEDITACCEPTDELAY ) -{ - hb_retni( hbqt_par_QCalendarWidget( 1 )->dateEditAcceptDelay() ); -} - -/* - * QTextCharFormat dateTextFormat ( const QDate & date ) const - */ -HB_FUNC( QT_QCALENDARWIDGET_DATETEXTFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QCalendarWidget( 1 )->dateTextFormat( *hbqt_par_QDate( 2 ) ) ) ) ); -} - -/* - * Qt::DayOfWeek firstDayOfWeek () const - */ -HB_FUNC( QT_QCALENDARWIDGET_FIRSTDAYOFWEEK ) -{ - hb_retni( ( Qt::DayOfWeek ) hbqt_par_QCalendarWidget( 1 )->firstDayOfWeek() ); -} - -/* - * QTextCharFormat headerTextFormat () const - */ -HB_FUNC( QT_QCALENDARWIDGET_HEADERTEXTFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QCalendarWidget( 1 )->headerTextFormat() ) ) ); -} - -/* - * HorizontalHeaderFormat horizontalHeaderFormat () const - */ -HB_FUNC( QT_QCALENDARWIDGET_HORIZONTALHEADERFORMAT ) -{ - hb_retni( ( QCalendarWidget::HorizontalHeaderFormat ) hbqt_par_QCalendarWidget( 1 )->horizontalHeaderFormat() ); -} - -/* - * bool isDateEditEnabled () const - */ -HB_FUNC( QT_QCALENDARWIDGET_ISDATEEDITENABLED ) -{ - hb_retl( hbqt_par_QCalendarWidget( 1 )->isDateEditEnabled() ); -} - -/* - * bool isGridVisible () const - */ -HB_FUNC( QT_QCALENDARWIDGET_ISGRIDVISIBLE ) -{ - hb_retl( hbqt_par_QCalendarWidget( 1 )->isGridVisible() ); -} - -/* - * bool isNavigationBarVisible () const - */ -HB_FUNC( QT_QCALENDARWIDGET_ISNAVIGATIONBARVISIBLE ) -{ - hb_retl( hbqt_par_QCalendarWidget( 1 )->isNavigationBarVisible() ); -} - -/* - * QDate maximumDate () const - */ -HB_FUNC( QT_QCALENDARWIDGET_MAXIMUMDATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QCalendarWidget( 1 )->maximumDate() ) ) ); -} - -/* - * QDate minimumDate () const - */ -HB_FUNC( QT_QCALENDARWIDGET_MINIMUMDATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QCalendarWidget( 1 )->minimumDate() ) ) ); -} - -/* - * int monthShown () const - */ -HB_FUNC( QT_QCALENDARWIDGET_MONTHSHOWN ) -{ - hb_retni( hbqt_par_QCalendarWidget( 1 )->monthShown() ); -} - -/* - * QDate selectedDate () const - */ -HB_FUNC( QT_QCALENDARWIDGET_SELECTEDDATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QCalendarWidget( 1 )->selectedDate() ) ) ); -} - -/* - * SelectionMode selectionMode () const - */ -HB_FUNC( QT_QCALENDARWIDGET_SELECTIONMODE ) -{ - hb_retni( ( QCalendarWidget::SelectionMode ) hbqt_par_QCalendarWidget( 1 )->selectionMode() ); -} - -/* - * void setDateEditAcceptDelay ( int delay ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITACCEPTDELAY ) -{ - hbqt_par_QCalendarWidget( 1 )->setDateEditAcceptDelay( hb_parni( 2 ) ); -} - -/* - * void setDateEditEnabled ( bool enable ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITENABLED ) -{ - hbqt_par_QCalendarWidget( 1 )->setDateEditEnabled( hb_parl( 2 ) ); -} - -/* - * void setDateTextFormat ( const QDate & date, const QTextCharFormat & format ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATETEXTFORMAT ) -{ - hbqt_par_QCalendarWidget( 1 )->setDateTextFormat( *hbqt_par_QDate( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* - * void setFirstDayOfWeek ( Qt::DayOfWeek dayOfWeek ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETFIRSTDAYOFWEEK ) -{ - hbqt_par_QCalendarWidget( 1 )->setFirstDayOfWeek( ( Qt::DayOfWeek ) hb_parni( 2 ) ); -} - -/* - * void setHeaderTextFormat ( const QTextCharFormat & format ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETHEADERTEXTFORMAT ) -{ - hbqt_par_QCalendarWidget( 1 )->setHeaderTextFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * void setHorizontalHeaderFormat ( HorizontalHeaderFormat format ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETHORIZONTALHEADERFORMAT ) -{ - hbqt_par_QCalendarWidget( 1 )->setHorizontalHeaderFormat( ( QCalendarWidget::HorizontalHeaderFormat ) hb_parni( 2 ) ); -} - -/* - * void setMaximumDate ( const QDate & date ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETMAXIMUMDATE ) -{ - hbqt_par_QCalendarWidget( 1 )->setMaximumDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void setMinimumDate ( const QDate & date ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETMINIMUMDATE ) -{ - hbqt_par_QCalendarWidget( 1 )->setMinimumDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void setSelectionMode ( SelectionMode mode ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETSELECTIONMODE ) -{ - hbqt_par_QCalendarWidget( 1 )->setSelectionMode( ( QCalendarWidget::SelectionMode ) hb_parni( 2 ) ); -} - -/* - * void setVerticalHeaderFormat ( VerticalHeaderFormat format ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETVERTICALHEADERFORMAT ) -{ - hbqt_par_QCalendarWidget( 1 )->setVerticalHeaderFormat( ( QCalendarWidget::VerticalHeaderFormat ) hb_parni( 2 ) ); -} - -/* - * void setWeekdayTextFormat ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETWEEKDAYTEXTFORMAT ) -{ - hbqt_par_QCalendarWidget( 1 )->setWeekdayTextFormat( ( Qt::DayOfWeek ) hb_parni( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* - * VerticalHeaderFormat verticalHeaderFormat () const - */ -HB_FUNC( QT_QCALENDARWIDGET_VERTICALHEADERFORMAT ) -{ - hb_retni( ( QCalendarWidget::VerticalHeaderFormat ) hbqt_par_QCalendarWidget( 1 )->verticalHeaderFormat() ); -} - -/* - * QTextCharFormat weekdayTextFormat ( Qt::DayOfWeek dayOfWeek ) const - */ -HB_FUNC( QT_QCALENDARWIDGET_WEEKDAYTEXTFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QCalendarWidget( 1 )->weekdayTextFormat( ( Qt::DayOfWeek ) hb_parni( 2 ) ) ) ) ); -} - -/* - * int yearShown () const - */ -HB_FUNC( QT_QCALENDARWIDGET_YEARSHOWN ) -{ - hb_retni( hbqt_par_QCalendarWidget( 1 )->yearShown() ); -} - -/* - * void setCurrentPage ( int year, int month ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETCURRENTPAGE ) -{ - hbqt_par_QCalendarWidget( 1 )->setCurrentPage( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setDateRange ( const QDate & min, const QDate & max ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETDATERANGE ) -{ - hbqt_par_QCalendarWidget( 1 )->setDateRange( *hbqt_par_QDate( 2 ), *hbqt_par_QDate( 3 ) ); -} - -/* - * void setGridVisible ( bool show ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETGRIDVISIBLE ) -{ - hbqt_par_QCalendarWidget( 1 )->setGridVisible( hb_parl( 2 ) ); -} - -/* - * void setNavigationBarVisible ( bool visible ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETNAVIGATIONBARVISIBLE ) -{ - hbqt_par_QCalendarWidget( 1 )->setNavigationBarVisible( hb_parl( 2 ) ); -} - -/* - * void setSelectedDate ( const QDate & date ) - */ -HB_FUNC( QT_QCALENDARWIDGET_SETSELECTEDDATE ) -{ - hbqt_par_QCalendarWidget( 1 )->setSelectedDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void showNextMonth () - */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTMONTH ) -{ - hbqt_par_QCalendarWidget( 1 )->showNextMonth(); -} - -/* - * void showNextYear () - */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTYEAR ) -{ - hbqt_par_QCalendarWidget( 1 )->showNextYear(); -} - -/* - * void showPreviousMonth () - */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSMONTH ) -{ - hbqt_par_QCalendarWidget( 1 )->showPreviousMonth(); -} - -/* - * void showPreviousYear () - */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSYEAR ) -{ - hbqt_par_QCalendarWidget( 1 )->showPreviousYear(); -} - -/* - * void showSelectedDate () - */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWSELECTEDDATE ) -{ - hbqt_par_QCalendarWidget( 1 )->showSelectedDate(); -} - -/* - * void showToday () - */ -HB_FUNC( QT_QCALENDARWIDGET_SHOWTODAY ) -{ - hbqt_par_QCalendarWidget( 1 )->showToday(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QCheckBox.cpp b/harbour/contrib/hbqt/QCheckBox.cpp deleted file mode 100644 index 35bc547b9d..0000000000 --- a/harbour/contrib/hbqt/QCheckBox.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QCheckBox ( QWidget * parent = 0 ) - * QCheckBox ( const QString & text, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QCHECKBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QCheckBox > pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QCheckBox* ) new QCheckBox( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = ( QCheckBox* ) new QCheckBox( hbqt_par_QWidget( 1 ) ) ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::CheckState checkState () const - */ -HB_FUNC( QT_QCHECKBOX_CHECKSTATE ) -{ - hb_retni( ( Qt::CheckState ) hbqt_par_QCheckBox( 1 )->checkState() ); -} - -/* - * bool isTristate () const - */ -HB_FUNC( QT_QCHECKBOX_ISTRISTATE ) -{ - hb_retl( hbqt_par_QCheckBox( 1 )->isTristate() ); -} - -/* - * void setCheckState ( Qt::CheckState state ) - */ -HB_FUNC( QT_QCHECKBOX_SETCHECKSTATE ) -{ - hbqt_par_QCheckBox( 1 )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* - * void setTristate ( bool y = true ) - */ -HB_FUNC( QT_QCHECKBOX_SETTRISTATE ) -{ - hbqt_par_QCheckBox( 1 )->setTristate( hb_parl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QClipboard.cpp b/harbour/contrib/hbqt/QClipboard.cpp deleted file mode 100644 index 00eeeec5b6..0000000000 --- a/harbour/contrib/hbqt/QClipboard.cpp +++ /dev/null @@ -1,210 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Mode { Clipboard, Selection, FindBuffer } - */ - -#include - -#include -#include -#include - -/* - * - * - */ - -HB_FUNC( QT_QCLIPBOARD ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QClipboard > pObj = NULL; - - pObj = ( QClipboard* ) QApplication::clipboard() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void clear ( Mode mode = Clipboard ) - */ -HB_FUNC( QT_QCLIPBOARD_CLEAR ) -{ - hbqt_par_QClipboard( 1 )->clear( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* - * QImage image ( Mode mode = Clipboard ) const - */ -HB_FUNC( QT_QCLIPBOARD_IMAGE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QClipboard( 1 )->image( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ) ) ) ); -} - -/* - * const QMimeData * mimeData ( Mode mode = Clipboard ) const - */ -HB_FUNC( QT_QCLIPBOARD_MIMEDATA ) -{ - hb_retptr( ( QMimeData* ) hbqt_par_QClipboard( 1 )->mimeData( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ) ); -} - -/* - * bool ownsClipboard () const - */ -HB_FUNC( QT_QCLIPBOARD_OWNSCLIPBOARD ) -{ - hb_retl( hbqt_par_QClipboard( 1 )->ownsClipboard() ); -} - -/* - * bool ownsFindBuffer () const - */ -HB_FUNC( QT_QCLIPBOARD_OWNSFINDBUFFER ) -{ - hb_retl( hbqt_par_QClipboard( 1 )->ownsFindBuffer() ); -} - -/* - * bool ownsSelection () const - */ -HB_FUNC( QT_QCLIPBOARD_OWNSSELECTION ) -{ - hb_retl( hbqt_par_QClipboard( 1 )->ownsSelection() ); -} - -/* - * QPixmap pixmap ( Mode mode = Clipboard ) const - */ -HB_FUNC( QT_QCLIPBOARD_PIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QClipboard( 1 )->pixmap( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ) ) ) ); -} - -/* - * void setImage ( const QImage & image, Mode mode = Clipboard ) - */ -HB_FUNC( QT_QCLIPBOARD_SETIMAGE ) -{ - hbqt_par_QClipboard( 1 )->setImage( *hbqt_par_QImage( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* - * void setMimeData ( QMimeData * src, Mode mode = Clipboard ) - */ -HB_FUNC( QT_QCLIPBOARD_SETMIMEDATA ) -{ - hbqt_par_QClipboard( 1 )->setMimeData( hbqt_par_QMimeData( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* - * void setPixmap ( const QPixmap & pixmap, Mode mode = Clipboard ) - */ -HB_FUNC( QT_QCLIPBOARD_SETPIXMAP ) -{ - hbqt_par_QClipboard( 1 )->setPixmap( *hbqt_par_QPixmap( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* - * void setText ( const QString & text, Mode mode = Clipboard ) - */ -HB_FUNC( QT_QCLIPBOARD_SETTEXT ) -{ - hbqt_par_QClipboard( 1 )->setText( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( QClipboard::Mode ) hb_parni( 3 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ); -} - -/* - * bool supportsFindBuffer () const - */ -HB_FUNC( QT_QCLIPBOARD_SUPPORTSFINDBUFFER ) -{ - hb_retl( hbqt_par_QClipboard( 1 )->supportsFindBuffer() ); -} - -/* - * bool supportsSelection () const - */ -HB_FUNC( QT_QCLIPBOARD_SUPPORTSSELECTION ) -{ - hb_retl( hbqt_par_QClipboard( 1 )->supportsSelection() ); -} - -/* - * QString text ( Mode mode = Clipboard ) const - */ -HB_FUNC( QT_QCLIPBOARD_TEXT ) -{ - hb_retc( hbqt_par_QClipboard( 1 )->text( ( HB_ISNUM( 2 ) ? ( QClipboard::Mode ) hb_parni( 2 ) : ( QClipboard::Mode ) QClipboard::Clipboard ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QColor.cpp b/harbour/contrib/hbqt/QColor.cpp deleted file mode 100644 index e0c291ce7a..0000000000 --- a/harbour/contrib/hbqt/QColor.cpp +++ /dev/null @@ -1,720 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Spec { Rgb, Hsv, Cmyk, Invalid } - */ - -#include - -#include - -/* -QColor () -QColor ( int r, int g, int b, int a = 255 ) -QColor ( QRgb color ) -QColor ( Qt::GlobalColor color ) -QColor ( const QString & name ) -QColor ( const char * name ) -QColor ( const QColor & color ) -~QColor () - */ - -HB_FUNC( QT_QCOLOR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() >= 1 ) - { - if( hb_pcount() == 1 && HB_ISNUM( 1 ) && hb_parni( 1 ) < 25 ) - { - pObj = ( QColor* ) new QColor( ( Qt::GlobalColor ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QColor* ) new QColor( ( QRgb ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QColor* ) new QColor( hbqt_par_QString( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QColor* ) new QColor( *hbqt_par_QColor( 1 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = ( QColor* ) new QColor( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), ( int ) 255 ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QColor* ) new QColor( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ; - } - else - { - pObj = ( QColor* ) new QColor() ; - } - } - else - { - pObj = ( QColor* ) new QColor() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QColor" ); - hb_retptrGC( p ); -} -/* - * int alpha () const - */ -HB_FUNC( QT_QCOLOR_ALPHA ) -{ - hb_retni( hbqt_par_QColor( 1 )->alpha() ); -} - -/* - * qreal alphaF () const - */ -HB_FUNC( QT_QCOLOR_ALPHAF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->alphaF() ); -} - -/* - * int black () const - */ -HB_FUNC( QT_QCOLOR_BLACK ) -{ - hb_retni( hbqt_par_QColor( 1 )->black() ); -} - -/* - * qreal blackF () const - */ -HB_FUNC( QT_QCOLOR_BLACKF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->blackF() ); -} - -/* - * int blue () const - */ -HB_FUNC( QT_QCOLOR_BLUE ) -{ - hb_retni( hbqt_par_QColor( 1 )->blue() ); -} - -/* - * qreal blueF () const - */ -HB_FUNC( QT_QCOLOR_BLUEF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->blueF() ); -} - -/* - * QColor convertTo ( Spec colorSpec ) const - */ -HB_FUNC( QT_QCOLOR_CONVERTTO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->convertTo( ( QColor::Spec ) hb_parni( 2 ) ) ) ) ); -} - -/* - * int cyan () const - */ -HB_FUNC( QT_QCOLOR_CYAN ) -{ - hb_retni( hbqt_par_QColor( 1 )->cyan() ); -} - -/* - * qreal cyanF () const - */ -HB_FUNC( QT_QCOLOR_CYANF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->cyanF() ); -} - -/* - * QColor darker ( int factor = 200 ) const - */ -HB_FUNC( QT_QCOLOR_DARKER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->darker( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 200 ) ) ) ) ); -} - -/* - * void getCmyk ( int * c, int * m, int * y, int * k, int * a = 0 ) - */ -HB_FUNC( QT_QCOLOR_GETCMYK ) -{ - int iC = 0; - int iM = 0; - int iY = 0; - int iK = 0; - int iA = 0; - - hbqt_par_QColor( 1 )->getCmyk( &iC, &iM, &iY, &iK, &iA ); - - hb_storni( iC, 2 ); - hb_storni( iM, 3 ); - hb_storni( iY, 4 ); - hb_storni( iK, 5 ); - hb_storni( iA, 6 ); -} - -/* - * void getCmykF ( qreal * c, qreal * m, qreal * y, qreal * k, qreal * a = 0 ) - */ -HB_FUNC( QT_QCOLOR_GETCMYKF ) -{ - qreal qrC = 0; - qreal qrM = 0; - qreal qrY = 0; - qreal qrK = 0; - qreal qrA = 0; - - hbqt_par_QColor( 1 )->getCmykF( &qrC, &qrM, &qrY, &qrK, &qrA ); - - hb_stornd( qrC, 2 ); - hb_stornd( qrM, 3 ); - hb_stornd( qrY, 4 ); - hb_stornd( qrK, 5 ); - hb_stornd( qrA, 6 ); -} - -/* - * void getHsv ( int * h, int * s, int * v, int * a = 0 ) const - */ -HB_FUNC( QT_QCOLOR_GETHSV ) -{ - int iH = 0; - int iS = 0; - int iV = 0; - int iA = 0; - - hbqt_par_QColor( 1 )->getHsv( &iH, &iS, &iV, &iA ); - - hb_storni( iH, 2 ); - hb_storni( iS, 3 ); - hb_storni( iV, 4 ); - hb_storni( iA, 5 ); -} - -/* - * void getHsvF ( qreal * h, qreal * s, qreal * v, qreal * a = 0 ) const - */ -HB_FUNC( QT_QCOLOR_GETHSVF ) -{ - qreal qrH = 0; - qreal qrS = 0; - qreal qrV = 0; - qreal qrA = 0; - - hbqt_par_QColor( 1 )->getHsvF( &qrH, &qrS, &qrV, &qrA ); - - hb_stornd( qrH, 2 ); - hb_stornd( qrS, 3 ); - hb_stornd( qrV, 4 ); - hb_stornd( qrA, 5 ); -} - -/* - * void getRgb ( int * r, int * g, int * b, int * a = 0 ) const - */ -HB_FUNC( QT_QCOLOR_GETRGB ) -{ - int iR = 0; - int iG = 0; - int iB = 0; - int iA = 0; - - hbqt_par_QColor( 1 )->getRgb( &iR, &iG, &iB, &iA ); - - hb_storni( iR, 2 ); - hb_storni( iG, 3 ); - hb_storni( iB, 4 ); - hb_storni( iA, 5 ); -} - -/* - * void getRgbF ( qreal * r, qreal * g, qreal * b, qreal * a = 0 ) const - */ -HB_FUNC( QT_QCOLOR_GETRGBF ) -{ - qreal qrR = 0; - qreal qrG = 0; - qreal qrB = 0; - qreal qrA = 0; - - hbqt_par_QColor( 1 )->getRgbF( &qrR, &qrG, &qrB, &qrA ); - - hb_stornd( qrR, 2 ); - hb_stornd( qrG, 3 ); - hb_stornd( qrB, 4 ); - hb_stornd( qrA, 5 ); -} - -/* - * int green () const - */ -HB_FUNC( QT_QCOLOR_GREEN ) -{ - hb_retni( hbqt_par_QColor( 1 )->green() ); -} - -/* - * qreal greenF () const - */ -HB_FUNC( QT_QCOLOR_GREENF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->greenF() ); -} - -/* - * int hue () const - */ -HB_FUNC( QT_QCOLOR_HUE ) -{ - hb_retni( hbqt_par_QColor( 1 )->hue() ); -} - -/* - * qreal hueF () const - */ -HB_FUNC( QT_QCOLOR_HUEF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->hueF() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QCOLOR_ISVALID ) -{ - hb_retl( hbqt_par_QColor( 1 )->isValid() ); -} - -/* - * QColor lighter ( int factor = 150 ) const - */ -HB_FUNC( QT_QCOLOR_LIGHTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->lighter( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 150 ) ) ) ) ); -} - -/* - * int magenta () const - */ -HB_FUNC( QT_QCOLOR_MAGENTA ) -{ - hb_retni( hbqt_par_QColor( 1 )->magenta() ); -} - -/* - * qreal magentaF () const - */ -HB_FUNC( QT_QCOLOR_MAGENTAF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->magentaF() ); -} - -/* - * QString name () const - */ -HB_FUNC( QT_QCOLOR_NAME ) -{ - hb_retc( hbqt_par_QColor( 1 )->name().toAscii().data() ); -} - -/* - * int red () const - */ -HB_FUNC( QT_QCOLOR_RED ) -{ - hb_retni( hbqt_par_QColor( 1 )->red() ); -} - -/* - * qreal redF () const - */ -HB_FUNC( QT_QCOLOR_REDF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->redF() ); -} - -/* - * QRgb rgb () const - */ -HB_FUNC( QT_QCOLOR_RGB ) -{ - hb_retnl( hbqt_par_QColor( 1 )->rgb() ); -} - -/* - * QRgb rgba () const - */ -HB_FUNC( QT_QCOLOR_RGBA ) -{ - hb_retnl( hbqt_par_QColor( 1 )->rgba() ); -} - -/* - * int saturation () const - */ -HB_FUNC( QT_QCOLOR_SATURATION ) -{ - hb_retni( hbqt_par_QColor( 1 )->saturation() ); -} - -/* - * qreal saturationF () const - */ -HB_FUNC( QT_QCOLOR_SATURATIONF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->saturationF() ); -} - -/* - * void setAlpha ( int alpha ) - */ -HB_FUNC( QT_QCOLOR_SETALPHA ) -{ - hbqt_par_QColor( 1 )->setAlpha( hb_parni( 2 ) ); -} - -/* - * void setAlphaF ( qreal alpha ) - */ -HB_FUNC( QT_QCOLOR_SETALPHAF ) -{ - hbqt_par_QColor( 1 )->setAlphaF( hb_parnd( 2 ) ); -} - -/* - * void setBlue ( int blue ) - */ -HB_FUNC( QT_QCOLOR_SETBLUE ) -{ - hbqt_par_QColor( 1 )->setBlue( hb_parni( 2 ) ); -} - -/* - * void setBlueF ( qreal blue ) - */ -HB_FUNC( QT_QCOLOR_SETBLUEF ) -{ - hbqt_par_QColor( 1 )->setBlueF( hb_parnd( 2 ) ); -} - -/* - * void setCmyk ( int c, int m, int y, int k, int a = 255 ) - */ -HB_FUNC( QT_QCOLOR_SETCMYK ) -{ - hbqt_par_QColor( 1 )->setCmyk( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : 255 ) ); -} - -/* - * void setCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) - */ -HB_FUNC( QT_QCOLOR_SETCMYKF ) -{ - hbqt_par_QColor( 1 )->setCmykF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ); -} - -/* - * void setGreen ( int green ) - */ -HB_FUNC( QT_QCOLOR_SETGREEN ) -{ - hbqt_par_QColor( 1 )->setGreen( hb_parni( 2 ) ); -} - -/* - * void setGreenF ( qreal green ) - */ -HB_FUNC( QT_QCOLOR_SETGREENF ) -{ - hbqt_par_QColor( 1 )->setGreenF( hb_parnd( 2 ) ); -} - -/* - * void setHsv ( int h, int s, int v, int a = 255 ) - */ -HB_FUNC( QT_QCOLOR_SETHSV ) -{ - hbqt_par_QColor( 1 )->setHsv( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 255 ) ); -} - -/* - * void setHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 ) - */ -HB_FUNC( QT_QCOLOR_SETHSVF ) -{ - hbqt_par_QColor( 1 )->setHsvF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* - * void setNamedColor ( const QString & name ) - */ -HB_FUNC( QT_QCOLOR_SETNAMEDCOLOR ) -{ - hbqt_par_QColor( 1 )->setNamedColor( hbqt_par_QString( 2 ) ); -} - -/* - * void setRed ( int red ) - */ -HB_FUNC( QT_QCOLOR_SETRED ) -{ - hbqt_par_QColor( 1 )->setRed( hb_parni( 2 ) ); -} - -/* - * void setRedF ( qreal red ) - */ -HB_FUNC( QT_QCOLOR_SETREDF ) -{ - hbqt_par_QColor( 1 )->setRedF( hb_parnd( 2 ) ); -} - -/* - * void setRgb ( QRgb rgb ) - */ -HB_FUNC( QT_QCOLOR_SETRGB ) -{ - hbqt_par_QColor( 1 )->setRgb( hb_parnl( 2 ) ); -} - -/* - * void setRgb ( int r, int g, int b, int a = 255 ) - */ -HB_FUNC( QT_QCOLOR_SETRGB_1 ) -{ - hbqt_par_QColor( 1 )->setRgb( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 255 ) ); -} - -/* - * void setRgba ( QRgb rgba ) - */ -HB_FUNC( QT_QCOLOR_SETRGBA ) -{ - hbqt_par_QColor( 1 )->setRgba( hb_parnl( 2 ) ); -} - -/* - * void setRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 ) - */ -HB_FUNC( QT_QCOLOR_SETRGBF ) -{ - hbqt_par_QColor( 1 )->setRgbF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* - * Spec spec () const - */ -HB_FUNC( QT_QCOLOR_SPEC ) -{ - hb_retni( ( QColor::Spec ) hbqt_par_QColor( 1 )->spec() ); -} - -/* - * QColor toCmyk () const - */ -HB_FUNC( QT_QCOLOR_TOCMYK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->toCmyk() ) ) ); -} - -/* - * QColor toHsv () const - */ -HB_FUNC( QT_QCOLOR_TOHSV ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->toHsv() ) ) ); -} - -/* - * QColor toRgb () const - */ -HB_FUNC( QT_QCOLOR_TORGB ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->toRgb() ) ) ); -} - -/* - * int value () const - */ -HB_FUNC( QT_QCOLOR_VALUE ) -{ - hb_retni( hbqt_par_QColor( 1 )->value() ); -} - -/* - * qreal valueF () const - */ -HB_FUNC( QT_QCOLOR_VALUEF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->valueF() ); -} - -/* - * int yellow () const - */ -HB_FUNC( QT_QCOLOR_YELLOW ) -{ - hb_retni( hbqt_par_QColor( 1 )->yellow() ); -} - -/* - * qreal yellowF () const - */ -HB_FUNC( QT_QCOLOR_YELLOWF ) -{ - hb_retnd( hbqt_par_QColor( 1 )->yellowF() ); -} - -/* - * QStringList colorNames () - */ -HB_FUNC( QT_QCOLOR_COLORNAMES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QColor( 1 )->colorNames() ) ) ); -} - -/* - * QColor fromCmyk ( int c, int m, int y, int k, int a = 255 ) - */ -HB_FUNC( QT_QCOLOR_FROMCMYK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromCmyk( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : 255 ) ) ) ) ); -} - -/* - * QColor fromCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) - */ -HB_FUNC( QT_QCOLOR_FROMCMYKF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromCmykF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) ) ) ) ); -} - -/* - * QColor fromHsv ( int h, int s, int v, int a = 255 ) - */ -HB_FUNC( QT_QCOLOR_FROMHSV ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromHsv( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 255 ) ) ) ) ); -} - -/* - * QColor fromHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 ) - */ -HB_FUNC( QT_QCOLOR_FROMHSVF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromHsvF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ) ) ); -} - -/* - * QColor fromRgb ( QRgb rgb ) - */ -HB_FUNC( QT_QCOLOR_FROMRGB ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromRgb( hb_parnl( 2 ) ) ) ) ); -} - -/* - * QColor fromRgb ( int r, int g, int b, int a = 255 ) - */ -HB_FUNC( QT_QCOLOR_FROMRGB_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromRgb( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 255 ) ) ) ) ); -} - -/* - * QColor fromRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 ) - */ -HB_FUNC( QT_QCOLOR_FROMRGBF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromRgbF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ) ) ); -} - -/* - * QColor fromRgba ( QRgb rgba ) - */ -HB_FUNC( QT_QCOLOR_FROMRGBA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColor( 1 )->fromRgba( hb_parnl( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QColorDialog.cpp b/harbour/contrib/hbqt/QColorDialog.cpp deleted file mode 100644 index e8e31bc509..0000000000 --- a/harbour/contrib/hbqt/QColorDialog.cpp +++ /dev/null @@ -1,225 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ColorDialogOption { ShowAlphaChannel, NoButtons, DontUseNativeDialog } - * flags ColorDialogOptions - */ - -#include - -#include - -/* - * QColorDialog ( QWidget * parent = 0 ) - * QColorDialog ( const QColor & initial, QWidget * parent = 0 ) - * ~QColorDialog () - */ - -HB_FUNC( QT_QCOLORDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QColorDialog > pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QColorDialog* ) new QColorDialog( hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = ( QColorDialog* ) new QColorDialog( hbqt_par_QWidget( 1 ) ) ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QColor currentColor () const - */ -HB_FUNC( QT_QCOLORDIALOG_CURRENTCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColorDialog( 1 )->currentColor() ) ) ); -} - -/* - * void open () - */ -HB_FUNC( QT_QCOLORDIALOG_OPEN ) -{ - hbqt_par_QColorDialog( 1 )->open(); -} - -/* - * ColorDialogOptions options () const - */ -HB_FUNC( QT_QCOLORDIALOG_OPTIONS ) -{ - hb_retni( ( QColorDialog::ColorDialogOptions ) hbqt_par_QColorDialog( 1 )->options() ); -} - -/* - * QColor selectedColor () const - */ -HB_FUNC( QT_QCOLORDIALOG_SELECTEDCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColorDialog( 1 )->selectedColor() ) ) ); -} - -/* - * void setCurrentColor ( const QColor & color ) - */ -HB_FUNC( QT_QCOLORDIALOG_SETCURRENTCOLOR ) -{ - hbqt_par_QColorDialog( 1 )->setCurrentColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setOption ( ColorDialogOption option, bool on = true ) - */ -HB_FUNC( QT_QCOLORDIALOG_SETOPTION ) -{ - hbqt_par_QColorDialog( 1 )->setOption( ( QColorDialog::ColorDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( ColorDialogOptions options ) - */ -HB_FUNC( QT_QCOLORDIALOG_SETOPTIONS ) -{ - hbqt_par_QColorDialog( 1 )->setOptions( ( QColorDialog::ColorDialogOptions ) hb_parni( 2 ) ); -} - -/* - * virtual void setVisible ( bool visible ) - */ -HB_FUNC( QT_QCOLORDIALOG_SETVISIBLE ) -{ - hbqt_par_QColorDialog( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * bool testOption ( ColorDialogOption option ) const - */ -HB_FUNC( QT_QCOLORDIALOG_TESTOPTION ) -{ - hb_retl( hbqt_par_QColorDialog( 1 )->testOption( ( QColorDialog::ColorDialogOption ) hb_parni( 2 ) ) ); -} - -/* - * QRgb customColor ( int index ) - */ -HB_FUNC( QT_QCOLORDIALOG_CUSTOMCOLOR ) -{ - hb_retnl( hbqt_par_QColorDialog( 1 )->customColor( hb_parni( 2 ) ) ); -} - -/* - * int customCount () - */ -HB_FUNC( QT_QCOLORDIALOG_CUSTOMCOUNT ) -{ - hb_retni( hbqt_par_QColorDialog( 1 )->customCount() ); -} - -/* - * QColor getColor ( const QColor & initial, QWidget * parent, const QString & title, ColorDialogOptions options = 0 ) - */ -HB_FUNC( QT_QCOLORDIALOG_GETCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColorDialog( 1 )->getColor( *hbqt_par_QColor( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QString( 4 ), ( QColorDialog::ColorDialogOptions ) hb_parni( 5 ) ) ) ) ); -} - -/* - * QColor getColor ( const QColor & initial = Qt::white, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QCOLORDIALOG_GETCOLOR_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QColorDialog( 1 )->getColor( *hbqt_par_QColor( 2 ), hbqt_par_QWidget( 3 ) ) ) ) ); -} - -/* - * void setCustomColor ( int index, QRgb color ) - */ -HB_FUNC( QT_QCOLORDIALOG_SETCUSTOMCOLOR ) -{ - hbqt_par_QColorDialog( 1 )->setCustomColor( hb_parni( 2 ), hb_parnl( 3 ) ); -} - -/* - * void setStandardColor ( int index, QRgb color ) - */ -HB_FUNC( QT_QCOLORDIALOG_SETSTANDARDCOLOR ) -{ - hbqt_par_QColorDialog( 1 )->setStandardColor( hb_parni( 2 ), hb_parnl( 3 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QComboBox.cpp b/harbour/contrib/hbqt/QComboBox.cpp deleted file mode 100644 index f0ef4f2dfc..0000000000 --- a/harbour/contrib/hbqt/QComboBox.cpp +++ /dev/null @@ -1,570 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum InsertPolicy { NoInsert, InsertAtTop, InsertAtCurrent, InsertAtBottom, ..., InsertAlphabetically } - * enum SizeAdjustPolicy { AdjustToContents, AdjustToContentsOnFirstShow, AdjustToMinimumContentsLength, AdjustToMinimumContentsLengthWithIcon } - */ - -#include - -#include - - -/* - * QComboBox ( QWidget * parent = 0 ) - * ~QComboBox () - */ - -HB_FUNC( QT_QCOMBOBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QComboBox > pObj = NULL; - - pObj = ( QComboBox* ) new QComboBox( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addItem ( const QString & text, const QVariant & userData = QVariant() ) - */ -HB_FUNC( QT_QCOMBOBOX_ADDITEM ) -{ - hbqt_par_QComboBox( 1 )->addItem( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QVariant( 3 ) : QVariant() ) ); -} - -/* - * void addItem ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) - */ -HB_FUNC( QT_QCOMBOBOX_ADDITEM_1 ) -{ - hbqt_par_QComboBox( 1 )->addItem( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QVariant( 4 ) : QVariant() ) ); -} - -/* - * void addItems ( const QStringList & texts ) - */ -HB_FUNC( QT_QCOMBOBOX_ADDITEMS ) -{ - hbqt_par_QComboBox( 1 )->addItems( *hbqt_par_QStringList( 2 ) ); -} - -/* - * QCompleter * completer () const - */ -HB_FUNC( QT_QCOMBOBOX_COMPLETER ) -{ - hb_retptr( ( QCompleter* ) hbqt_par_QComboBox( 1 )->completer() ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QCOMBOBOX_COUNT ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->count() ); -} - -/* - * int currentIndex () const - */ -HB_FUNC( QT_QCOMBOBOX_CURRENTINDEX ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->currentIndex() ); -} - -/* - * QString currentText () const - */ -HB_FUNC( QT_QCOMBOBOX_CURRENTTEXT ) -{ - hb_retc( hbqt_par_QComboBox( 1 )->currentText().toAscii().data() ); -} - -/* - * bool duplicatesEnabled () const - */ -HB_FUNC( QT_QCOMBOBOX_DUPLICATESENABLED ) -{ - hb_retl( hbqt_par_QComboBox( 1 )->duplicatesEnabled() ); -} - -/* - * int findData ( const QVariant & data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) const - */ -HB_FUNC( QT_QCOMBOBOX_FINDDATA ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->findData( *hbqt_par_QVariant( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::UserRole ), ( HB_ISNUM( 4 ) ? ( Qt::MatchFlags ) hb_parni( 4 ) : ( Qt::MatchFlags ) Qt::MatchExactly | Qt::MatchCaseSensitive ) ) ); -} - -/* - * int findText ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) const - */ -HB_FUNC( QT_QCOMBOBOX_FINDTEXT ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->findText( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::MatchFlags ) hb_parni( 3 ) : ( Qt::MatchFlags ) Qt::MatchExactly | Qt::MatchCaseSensitive ) ) ); -} - -/* - * bool hasFrame () const - */ -HB_FUNC( QT_QCOMBOBOX_HASFRAME ) -{ - hb_retl( hbqt_par_QComboBox( 1 )->hasFrame() ); -} - -/* - * virtual void hidePopup () - */ -HB_FUNC( QT_QCOMBOBOX_HIDEPOPUP ) -{ - hbqt_par_QComboBox( 1 )->hidePopup(); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QCOMBOBOX_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QComboBox( 1 )->iconSize() ) ) ); -} - -/* - * void insertItem ( int index, const QString & text, const QVariant & userData = QVariant() ) - */ -HB_FUNC( QT_QCOMBOBOX_INSERTITEM ) -{ - hbqt_par_QComboBox( 1 )->insertItem( hb_parni( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QVariant( 4 ) : QVariant() ) ); -} - -/* - * void insertItem ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) - */ -HB_FUNC( QT_QCOMBOBOX_INSERTITEM_1 ) -{ - hbqt_par_QComboBox( 1 )->insertItem( hb_parni( 2 ), QIcon( hbqt_par_QString( 3 ) ), hbqt_par_QString( 4 ), ( HB_ISPOINTER( 5 ) ? *hbqt_par_QVariant( 5 ) : QVariant() ) ); -} - -/* - * void insertItems ( int index, const QStringList & list ) - */ -HB_FUNC( QT_QCOMBOBOX_INSERTITEMS ) -{ - hbqt_par_QComboBox( 1 )->insertItems( hb_parni( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* - * InsertPolicy insertPolicy () const - */ -HB_FUNC( QT_QCOMBOBOX_INSERTPOLICY ) -{ - hb_retni( ( QComboBox::InsertPolicy ) hbqt_par_QComboBox( 1 )->insertPolicy() ); -} - -/* - * void insertSeparator ( int index ) - */ -HB_FUNC( QT_QCOMBOBOX_INSERTSEPARATOR ) -{ - hbqt_par_QComboBox( 1 )->insertSeparator( hb_parni( 2 ) ); -} - -/* - * bool isEditable () const - */ -HB_FUNC( QT_QCOMBOBOX_ISEDITABLE ) -{ - hb_retl( hbqt_par_QComboBox( 1 )->isEditable() ); -} - -/* - * QVariant itemData ( int index, int role = Qt::UserRole ) const - */ -HB_FUNC( QT_QCOMBOBOX_ITEMDATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QComboBox( 1 )->itemData( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::UserRole ) ) ) ) ); -} - -/* - * QAbstractItemDelegate * itemDelegate () const - */ -HB_FUNC( QT_QCOMBOBOX_ITEMDELEGATE ) -{ - hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QComboBox( 1 )->itemDelegate() ); -} - -/* - * QIcon itemIcon ( int index ) const - */ -HB_FUNC( QT_QCOMBOBOX_ITEMICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QComboBox( 1 )->itemIcon( hb_parni( 2 ) ) ) ) ); -} - -/* - * QString itemText ( int index ) const - */ -HB_FUNC( QT_QCOMBOBOX_ITEMTEXT ) -{ - hb_retc( hbqt_par_QComboBox( 1 )->itemText( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QLineEdit * lineEdit () const - */ -HB_FUNC( QT_QCOMBOBOX_LINEEDIT ) -{ - hb_retptr( ( QLineEdit* ) hbqt_par_QComboBox( 1 )->lineEdit() ); -} - -/* - * int maxCount () const - */ -HB_FUNC( QT_QCOMBOBOX_MAXCOUNT ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->maxCount() ); -} - -/* - * int maxVisibleItems () const - */ -HB_FUNC( QT_QCOMBOBOX_MAXVISIBLEITEMS ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->maxVisibleItems() ); -} - -/* - * int minimumContentsLength () const - */ -HB_FUNC( QT_QCOMBOBOX_MINIMUMCONTENTSLENGTH ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->minimumContentsLength() ); -} - -/* - * QAbstractItemModel * model () const - */ -HB_FUNC( QT_QCOMBOBOX_MODEL ) -{ - hb_retptr( ( QAbstractItemModel* ) hbqt_par_QComboBox( 1 )->model() ); -} - -/* - * int modelColumn () const - */ -HB_FUNC( QT_QCOMBOBOX_MODELCOLUMN ) -{ - hb_retni( hbqt_par_QComboBox( 1 )->modelColumn() ); -} - -/* - * void removeItem ( int index ) - */ -HB_FUNC( QT_QCOMBOBOX_REMOVEITEM ) -{ - hbqt_par_QComboBox( 1 )->removeItem( hb_parni( 2 ) ); -} - -/* - * QModelIndex rootModelIndex () const - */ -HB_FUNC( QT_QCOMBOBOX_ROOTMODELINDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QComboBox( 1 )->rootModelIndex() ) ) ); -} - -/* - * void setCompleter ( QCompleter * completer ) - */ -HB_FUNC( QT_QCOMBOBOX_SETCOMPLETER ) -{ - hbqt_par_QComboBox( 1 )->setCompleter( hbqt_par_QCompleter( 2 ) ); -} - -/* - * void setDuplicatesEnabled ( bool enable ) - */ -HB_FUNC( QT_QCOMBOBOX_SETDUPLICATESENABLED ) -{ - hbqt_par_QComboBox( 1 )->setDuplicatesEnabled( hb_parl( 2 ) ); -} - -/* - * void setEditable ( bool editable ) - */ -HB_FUNC( QT_QCOMBOBOX_SETEDITABLE ) -{ - hbqt_par_QComboBox( 1 )->setEditable( hb_parl( 2 ) ); -} - -/* - * void setFrame ( bool ) - */ -HB_FUNC( QT_QCOMBOBOX_SETFRAME ) -{ - hbqt_par_QComboBox( 1 )->setFrame( hb_parl( 2 ) ); -} - -/* - * void setIconSize ( const QSize & size ) - */ -HB_FUNC( QT_QCOMBOBOX_SETICONSIZE ) -{ - hbqt_par_QComboBox( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setInsertPolicy ( InsertPolicy policy ) - */ -HB_FUNC( QT_QCOMBOBOX_SETINSERTPOLICY ) -{ - hbqt_par_QComboBox( 1 )->setInsertPolicy( ( QComboBox::InsertPolicy ) hb_parni( 2 ) ); -} - -/* - * void setItemData ( int index, const QVariant & value, int role = Qt::UserRole ) - */ -HB_FUNC( QT_QCOMBOBOX_SETITEMDATA ) -{ - hbqt_par_QComboBox( 1 )->setItemData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::UserRole ) ); -} - -/* - * void setItemDelegate ( QAbstractItemDelegate * delegate ) - */ -HB_FUNC( QT_QCOMBOBOX_SETITEMDELEGATE ) -{ - hbqt_par_QComboBox( 1 )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) ); -} - -/* - * void setItemIcon ( int index, const QIcon & icon ) - */ -HB_FUNC( QT_QCOMBOBOX_SETITEMICON ) -{ - hbqt_par_QComboBox( 1 )->setItemIcon( hb_parni( 2 ), QIcon( hbqt_par_QString( 3 ) ) ); -} - -/* - * void setItemText ( int index, const QString & text ) - */ -HB_FUNC( QT_QCOMBOBOX_SETITEMTEXT ) -{ - hbqt_par_QComboBox( 1 )->setItemText( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setLineEdit ( QLineEdit * edit ) - */ -HB_FUNC( QT_QCOMBOBOX_SETLINEEDIT ) -{ - hbqt_par_QComboBox( 1 )->setLineEdit( hbqt_par_QLineEdit( 2 ) ); -} - -/* - * void setMaxCount ( int max ) - */ -HB_FUNC( QT_QCOMBOBOX_SETMAXCOUNT ) -{ - hbqt_par_QComboBox( 1 )->setMaxCount( hb_parni( 2 ) ); -} - -/* - * void setMaxVisibleItems ( int maxItems ) - */ -HB_FUNC( QT_QCOMBOBOX_SETMAXVISIBLEITEMS ) -{ - hbqt_par_QComboBox( 1 )->setMaxVisibleItems( hb_parni( 2 ) ); -} - -/* - * void setMinimumContentsLength ( int characters ) - */ -HB_FUNC( QT_QCOMBOBOX_SETMINIMUMCONTENTSLENGTH ) -{ - hbqt_par_QComboBox( 1 )->setMinimumContentsLength( hb_parni( 2 ) ); -} - -/* - * void setModel ( QAbstractItemModel * model ) - */ -HB_FUNC( QT_QCOMBOBOX_SETMODEL ) -{ - hbqt_par_QComboBox( 1 )->setModel( hbqt_par_QAbstractItemModel( 2 ) ); -} - -/* - * void setModelColumn ( int visibleColumn ) - */ -HB_FUNC( QT_QCOMBOBOX_SETMODELCOLUMN ) -{ - hbqt_par_QComboBox( 1 )->setModelColumn( hb_parni( 2 ) ); -} - -/* - * void setRootModelIndex ( const QModelIndex & index ) - */ -HB_FUNC( QT_QCOMBOBOX_SETROOTMODELINDEX ) -{ - hbqt_par_QComboBox( 1 )->setRootModelIndex( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * void setSizeAdjustPolicy ( SizeAdjustPolicy policy ) - */ -HB_FUNC( QT_QCOMBOBOX_SETSIZEADJUSTPOLICY ) -{ - hbqt_par_QComboBox( 1 )->setSizeAdjustPolicy( ( QComboBox::SizeAdjustPolicy ) hb_parni( 2 ) ); -} - -/* - * void setValidator ( const QValidator * validator ) - */ -HB_FUNC( QT_QCOMBOBOX_SETVALIDATOR ) -{ - hbqt_par_QComboBox( 1 )->setValidator( hbqt_par_QValidator( 2 ) ); -} - -/* - * void setView ( QAbstractItemView * itemView ) - */ -HB_FUNC( QT_QCOMBOBOX_SETVIEW ) -{ - hbqt_par_QComboBox( 1 )->setView( hbqt_par_QAbstractItemView( 2 ) ); -} - -/* - * virtual void showPopup () - */ -HB_FUNC( QT_QCOMBOBOX_SHOWPOPUP ) -{ - hbqt_par_QComboBox( 1 )->showPopup(); -} - -/* - * SizeAdjustPolicy sizeAdjustPolicy () const - */ -HB_FUNC( QT_QCOMBOBOX_SIZEADJUSTPOLICY ) -{ - hb_retni( ( QComboBox::SizeAdjustPolicy ) hbqt_par_QComboBox( 1 )->sizeAdjustPolicy() ); -} - -/* - * const QValidator * validator () const - */ -HB_FUNC( QT_QCOMBOBOX_VALIDATOR ) -{ - hb_retptr( ( QValidator* ) hbqt_par_QComboBox( 1 )->validator() ); -} - -/* - * QAbstractItemView * view () const - */ -HB_FUNC( QT_QCOMBOBOX_VIEW ) -{ - hb_retptr( ( QAbstractItemView* ) hbqt_par_QComboBox( 1 )->view() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QCOMBOBOX_CLEAR ) -{ - hbqt_par_QComboBox( 1 )->clear(); -} - -/* - * void clearEditText () - */ -HB_FUNC( QT_QCOMBOBOX_CLEAREDITTEXT ) -{ - hbqt_par_QComboBox( 1 )->clearEditText(); -} - -/* - * void setCurrentIndex ( int index ) - */ -HB_FUNC( QT_QCOMBOBOX_SETCURRENTINDEX ) -{ - hbqt_par_QComboBox( 1 )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* - * void setEditText ( const QString & text ) - */ -HB_FUNC( QT_QCOMBOBOX_SETEDITTEXT ) -{ - hbqt_par_QComboBox( 1 )->setEditText( hbqt_par_QString( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QCommandLinkButton.cpp b/harbour/contrib/hbqt/QCommandLinkButton.cpp deleted file mode 100644 index 9e905a456c..0000000000 --- a/harbour/contrib/hbqt/QCommandLinkButton.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QCommandLinkButton ( QWidget * parent = 0 ) - * QCommandLinkButton ( const QString & text, QWidget * parent = 0 ) - * QCommandLinkButton ( const QString & text, const QString & description, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QCOMMANDLINKBUTTON ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QCommandLinkButton > pObj = NULL; - - pObj = ( QCommandLinkButton* ) new QCommandLinkButton( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QString description () const - */ -HB_FUNC( QT_QCOMMANDLINKBUTTON_DESCRIPTION ) -{ - hb_retc( hbqt_par_QCommandLinkButton( 1 )->description().toAscii().data() ); -} - -/* - * void setDescription ( const QString & description ) - */ -HB_FUNC( QT_QCOMMANDLINKBUTTON_SETDESCRIPTION ) -{ - hbqt_par_QCommandLinkButton( 1 )->setDescription( hbqt_par_QString( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QCommonStyle.cpp b/harbour/contrib/hbqt/QCommonStyle.cpp deleted file mode 100644 index 79f5856352..0000000000 --- a/harbour/contrib/hbqt/QCommonStyle.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QCommonStyle () - */ - -HB_FUNC( QT_QCOMMONSTYLE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QCommonStyle > pObj = NULL; - - pObj = ( QCommonStyle* ) new QCommonStyle() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QConicalGradient.cpp b/harbour/contrib/hbqt/QConicalGradient.cpp deleted file mode 100644 index 84db2a83c0..0000000000 --- a/harbour/contrib/hbqt/QConicalGradient.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -#include - -#include - - -/* - * QConicalGradient () - * QConicalGradient ( const QPointF & center, qreal angle ) - * QConicalGradient ( qreal cx, qreal cy, qreal angle ) - */ - -HB_FUNC( QT_QCONICALGRADIENT ) -{ - void * pObj = NULL; - - pObj = ( QConicalGradient* ) new QConicalGradient() ; - - hb_retptr( pObj ); -} -/* - * qreal angle () const - */ -HB_FUNC( QT_QCONICALGRADIENT_ANGLE ) -{ - hb_retnd( hbqt_par_QConicalGradient( 1 )->angle() ); -} - -/* - * QPointF center () const - */ -HB_FUNC( QT_QCONICALGRADIENT_CENTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QConicalGradient( 1 )->center() ) ) ); -} - -/* - * void setAngle ( qreal angle ) - */ -HB_FUNC( QT_QCONICALGRADIENT_SETANGLE ) -{ - hbqt_par_QConicalGradient( 1 )->setAngle( hb_parnd( 2 ) ); -} - -/* - * void setCenter ( const QPointF & center ) - */ -HB_FUNC( QT_QCONICALGRADIENT_SETCENTER ) -{ - hbqt_par_QConicalGradient( 1 )->setCenter( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setCenter ( qreal x, qreal y ) - */ -HB_FUNC( QT_QCONICALGRADIENT_SETCENTER_1 ) -{ - hbqt_par_QConicalGradient( 1 )->setCenter( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QCoreApplication.cpp b/harbour/contrib/hbqt/QCoreApplication.cpp deleted file mode 100644 index f8adf2ff20..0000000000 --- a/harbour/contrib/hbqt/QCoreApplication.cpp +++ /dev/null @@ -1,424 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Encoding { CodecForTr, UnicodeUTF8, DefaultCodec } - */ - -/* - * Constructed[ 40/43 [ 93.02% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * EventFilter setEventFilter ( EventFilter filter ) - * - * *** Commented out protos which construct fine but do not compile *** - * - * // bool filterEvent ( void * message, long * result ) - * // virtual bool winEventFilter ( MSG * msg, long * result ) - */ - -#include - -#include -#include - - -/* - * QCoreApplication ( int & argc, char ** argv ) - * ~QCoreApplication () - */ - -HB_FUNC( QT_QCOREAPPLICATION ) -{ -} -/* - * virtual bool notify ( QObject * receiver, QEvent * event ) - */ -HB_FUNC( QT_QCOREAPPLICATION_NOTIFY ) -{ - hb_retl( hbqt_par_QCoreApplication( 1 )->notify( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) ); -} - -/* - * void addLibraryPath ( const QString & path ) - */ -HB_FUNC( QT_QCOREAPPLICATION_ADDLIBRARYPATH ) -{ - hbqt_par_QCoreApplication( 1 )->addLibraryPath( hbqt_par_QString( 2 ) ); -} - -/* - * QString applicationDirPath () - */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONDIRPATH ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->applicationDirPath().toAscii().data() ); -} - -/* - * QString applicationFilePath () - */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONFILEPATH ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->applicationFilePath().toAscii().data() ); -} - -/* - * QString applicationName () - */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONNAME ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->applicationName().toAscii().data() ); -} - -/* - * qint64 applicationPid () - */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONPID ) -{ - hb_retnint( hbqt_par_QCoreApplication( 1 )->applicationPid() ); -} - -/* - * QString applicationVersion () - */ -HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONVERSION ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->applicationVersion().toAscii().data() ); -} - -/* - * QStringList arguments () - */ -HB_FUNC( QT_QCOREAPPLICATION_ARGUMENTS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QCoreApplication( 1 )->arguments() ) ) ); -} - -/* - * bool closingDown () - */ -HB_FUNC( QT_QCOREAPPLICATION_CLOSINGDOWN ) -{ - hb_retl( hbqt_par_QCoreApplication( 1 )->closingDown() ); -} - -/* - * int exec () - */ -HB_FUNC( QT_QCOREAPPLICATION_EXEC ) -{ - hb_retni( hbqt_par_QCoreApplication( 1 )->exec() ); -} - -/* - * void exit ( int returnCode = 0 ) - */ -HB_FUNC( QT_QCOREAPPLICATION_EXIT ) -{ - hbqt_par_QCoreApplication( 1 )->exit( hb_parni( 2 ) ); -} - -/* - * void flush () - */ -HB_FUNC( QT_QCOREAPPLICATION_FLUSH ) -{ - hbqt_par_QCoreApplication( 1 )->flush(); -} - -/* - * bool hasPendingEvents () - */ -HB_FUNC( QT_QCOREAPPLICATION_HASPENDINGEVENTS ) -{ - hb_retl( hbqt_par_QCoreApplication( 1 )->hasPendingEvents() ); -} - -/* - * void installTranslator ( QTranslator * translationFile ) - */ -HB_FUNC( QT_QCOREAPPLICATION_INSTALLTRANSLATOR ) -{ - hbqt_par_QCoreApplication( 1 )->installTranslator( hbqt_par_QTranslator( 2 ) ); -} - -/* - * QCoreApplication * instance () - */ -HB_FUNC( QT_QCOREAPPLICATION_INSTANCE ) -{ - hb_retptr( ( QCoreApplication* ) hbqt_par_QCoreApplication( 1 )->instance() ); -} - -/* - * QStringList libraryPaths () - */ -HB_FUNC( QT_QCOREAPPLICATION_LIBRARYPATHS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QCoreApplication( 1 )->libraryPaths() ) ) ); -} - -/* - * QString organizationDomain () - */ -HB_FUNC( QT_QCOREAPPLICATION_ORGANIZATIONDOMAIN ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->organizationDomain().toAscii().data() ); -} - -/* - * QString organizationName () - */ -HB_FUNC( QT_QCOREAPPLICATION_ORGANIZATIONNAME ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->organizationName().toAscii().data() ); -} - -/* - * void postEvent ( QObject * receiver, QEvent * event ) - */ -HB_FUNC( QT_QCOREAPPLICATION_POSTEVENT ) -{ - hbqt_par_QCoreApplication( 1 )->postEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ); -} - -/* - * void postEvent ( QObject * receiver, QEvent * event, int priority ) - */ -HB_FUNC( QT_QCOREAPPLICATION_POSTEVENT_1 ) -{ - hbqt_par_QCoreApplication( 1 )->postEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ), hb_parni( 4 ) ); -} - -/* - * void processEvents ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents ) - */ -HB_FUNC( QT_QCOREAPPLICATION_PROCESSEVENTS ) -{ - hbqt_par_QCoreApplication( 1 )->processEvents( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) ); -} - -/* - * void processEvents ( QEventLoop::ProcessEventsFlags flags, int maxtime ) - */ -HB_FUNC( QT_QCOREAPPLICATION_PROCESSEVENTS_1 ) -{ - hbqt_par_QCoreApplication( 1 )->processEvents( ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void removeLibraryPath ( const QString & path ) - */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVELIBRARYPATH ) -{ - hbqt_par_QCoreApplication( 1 )->removeLibraryPath( hbqt_par_QString( 2 ) ); -} - -/* - * void removePostedEvents ( QObject * receiver ) - */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVEPOSTEDEVENTS ) -{ - hbqt_par_QCoreApplication( 1 )->removePostedEvents( hbqt_par_QObject( 2 ) ); -} - -/* - * void removePostedEvents ( QObject * receiver, int eventType ) - */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVEPOSTEDEVENTS_1 ) -{ - hbqt_par_QCoreApplication( 1 )->removePostedEvents( hbqt_par_QObject( 2 ), hb_parni( 3 ) ); -} - -/* - * void removeTranslator ( QTranslator * translationFile ) - */ -HB_FUNC( QT_QCOREAPPLICATION_REMOVETRANSLATOR ) -{ - hbqt_par_QCoreApplication( 1 )->removeTranslator( hbqt_par_QTranslator( 2 ) ); -} - -/* - * bool sendEvent ( QObject * receiver, QEvent * event ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SENDEVENT ) -{ - hb_retl( hbqt_par_QCoreApplication( 1 )->sendEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) ); -} - -/* - * void sendPostedEvents ( QObject * receiver, int event_type ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SENDPOSTEDEVENTS ) -{ - hbqt_par_QCoreApplication( 1 )->sendPostedEvents( hbqt_par_QObject( 2 ), hb_parni( 3 ) ); -} - -/* - * void sendPostedEvents () - */ -HB_FUNC( QT_QCOREAPPLICATION_SENDPOSTEDEVENTS_1 ) -{ - hbqt_par_QCoreApplication( 1 )->sendPostedEvents(); -} - -/* - * void setApplicationName ( const QString & application ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SETAPPLICATIONNAME ) -{ - hbqt_par_QCoreApplication( 1 )->setApplicationName( hbqt_par_QString( 2 ) ); -} - -/* - * void setApplicationVersion ( const QString & version ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SETAPPLICATIONVERSION ) -{ - hbqt_par_QCoreApplication( 1 )->setApplicationVersion( hbqt_par_QString( 2 ) ); -} - -/* - * void setAttribute ( Qt::ApplicationAttribute attribute, bool on = true ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SETATTRIBUTE ) -{ - hbqt_par_QCoreApplication( 1 )->setAttribute( ( Qt::ApplicationAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setLibraryPaths ( const QStringList & paths ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SETLIBRARYPATHS ) -{ - hbqt_par_QCoreApplication( 1 )->setLibraryPaths( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setOrganizationDomain ( const QString & orgDomain ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SETORGANIZATIONDOMAIN ) -{ - hbqt_par_QCoreApplication( 1 )->setOrganizationDomain( hbqt_par_QString( 2 ) ); -} - -/* - * void setOrganizationName ( const QString & orgName ) - */ -HB_FUNC( QT_QCOREAPPLICATION_SETORGANIZATIONNAME ) -{ - hbqt_par_QCoreApplication( 1 )->setOrganizationName( hbqt_par_QString( 2 ) ); -} - -/* - * bool startingUp () - */ -HB_FUNC( QT_QCOREAPPLICATION_STARTINGUP ) -{ - hb_retl( hbqt_par_QCoreApplication( 1 )->startingUp() ); -} - -/* - * bool testAttribute ( Qt::ApplicationAttribute attribute ) - */ -HB_FUNC( QT_QCOREAPPLICATION_TESTATTRIBUTE ) -{ - hb_retl( hbqt_par_QCoreApplication( 1 )->testAttribute( ( Qt::ApplicationAttribute ) hb_parni( 2 ) ) ); -} - -/* - * QString translate ( const char * context, const char * sourceText, const char * disambiguation, Encoding encoding, int n ) - */ -HB_FUNC( QT_QCOREAPPLICATION_TRANSLATE ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->translate( hbqt_par_char( 2 ), hbqt_par_char( 3 ), hbqt_par_char( 4 ), ( QCoreApplication::Encoding ) hb_parni( 5 ), hb_parni( 6 ) ).toAscii().data() ); -} - -/* - * QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0, Encoding encoding = CodecForTr ) - */ -HB_FUNC( QT_QCOREAPPLICATION_TRANSLATE_1 ) -{ - hb_retc( hbqt_par_QCoreApplication( 1 )->translate( hbqt_par_char( 2 ), hbqt_par_char( 3 ), hbqt_par_char( 4 ), ( HB_ISNUM( 5 ) ? ( QCoreApplication::Encoding ) hb_parni( 5 ) : ( QCoreApplication::Encoding ) QCoreApplication::CodecForTr ) ).toAscii().data() ); -} - -/* - * void quit () - */ -HB_FUNC( QT_QCOREAPPLICATION_QUIT ) -{ - hbqt_par_QCoreApplication( 1 )->quit(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QCursor.cpp b/harbour/contrib/hbqt/QCursor.cpp deleted file mode 100644 index 43474b2869..0000000000 --- a/harbour/contrib/hbqt/QCursor.cpp +++ /dev/null @@ -1,199 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include -#include - -/* - * QCursor () - * QCursor ( Qt::CursorShape shape ) - * QCursor ( const QBitmap & bitmap, const QBitmap & mask, int hotX = -1, int hotY = -1 ) - * QCursor ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 ) - * QCursor ( const QCursor & c ) - * QCursor ( HCURSOR cursor ) - * QCursor ( Qt::HANDLE handle ) - * ~QCursor () - */ - -HB_FUNC( QT_QCURSOR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QCursor* ) new QCursor( ( Qt::CursorShape ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QCursor* ) new QCursor( *hbqt_par_QCursor( 1 ) ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QPixmap" ) - { - pObj = ( QCursor* ) new QCursor( *hbqt_par_QPixmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ; - } - else - { - pObj = ( QCursor* ) new QCursor() ; - } - } - else if( hb_pcount() >= 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QCursor* ) new QCursor( *hbqt_par_QBitmap( 1 ), *hbqt_par_QBitmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ; - } - else - { - pObj = ( QCursor* ) new QCursor() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QCursor" ); - hb_retptrGC( p ); -} -/* - * const QBitmap * bitmap () const - */ -HB_FUNC( QT_QCURSOR_BITMAP ) -{ - hb_retptr( ( QBitmap* ) hbqt_par_QCursor( 1 )->bitmap() ); -} - -/* - * QPoint hotSpot () const - */ -HB_FUNC( QT_QCURSOR_HOTSPOT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QCursor( 1 )->hotSpot() ) ) ); -} - -/* - * const QBitmap * mask () const - */ -HB_FUNC( QT_QCURSOR_MASK ) -{ - hb_retptr( ( QBitmap* ) hbqt_par_QCursor( 1 )->mask() ); -} - -/* - * QPixmap pixmap () const - */ -HB_FUNC( QT_QCURSOR_PIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QCursor( 1 )->pixmap() ) ) ); -} - -/* - * void setShape ( Qt::CursorShape shape ) - */ -HB_FUNC( QT_QCURSOR_SETSHAPE ) -{ - hbqt_par_QCursor( 1 )->setShape( ( Qt::CursorShape ) hb_parni( 2 ) ); -} - -/* - * Qt::CursorShape shape () const - */ -HB_FUNC( QT_QCURSOR_SHAPE ) -{ - hb_retni( ( Qt::CursorShape ) hbqt_par_QCursor( 1 )->shape() ); -} - -/* - * QPoint pos () - */ -HB_FUNC( QT_QCURSOR_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QCursor( 1 )->pos() ) ) ); -} - -/* - * void setPos ( int x, int y ) - */ -HB_FUNC( QT_QCURSOR_SETPOS ) -{ - hbqt_par_QCursor( 1 )->setPos( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setPos ( const QPoint & p ) - */ -HB_FUNC( QT_QCURSOR_SETPOS_1 ) -{ - hbqt_par_QCursor( 1 )->setPos( *hbqt_par_QPoint( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDateEdit.cpp b/harbour/contrib/hbqt/QDateEdit.cpp deleted file mode 100644 index 7165b659af..0000000000 --- a/harbour/contrib/hbqt/QDateEdit.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDateEdit ( QWidget * parent = 0 ) - * QDateEdit ( const QDate & date, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QDATEEDIT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDateEdit > pObj = NULL; - - pObj = ( QDateEdit* ) new QDateEdit( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDateTime.cpp b/harbour/contrib/hbqt/QDateTime.cpp deleted file mode 100644 index 9a915ff8c9..0000000000 --- a/harbour/contrib/hbqt/QDateTime.cpp +++ /dev/null @@ -1,304 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDateTime () - * QDateTime ( const QDate & date ) - * QDateTime ( const QDate & date, const QTime & time, Qt::TimeSpec spec = Qt::LocalTime ) - * QDateTime ( const QDateTime & other ) - * ~QDateTime () - */ - -HB_FUNC( QT_QDATETIME ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QDateTime* ) new QDateTime() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QDateTime" ); - hb_retptrGC( p ); -} -/* - * QDateTime addDays ( int ndays ) const - */ -HB_FUNC( QT_QDATETIME_ADDDAYS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->addDays( hb_parni( 2 ) ) ) ) ); -} - -/* - * QDateTime addMSecs ( qint64 msecs ) const - */ -HB_FUNC( QT_QDATETIME_ADDMSECS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->addMSecs( hb_parnint( 2 ) ) ) ) ); -} - -/* - * QDateTime addMonths ( int nmonths ) const - */ -HB_FUNC( QT_QDATETIME_ADDMONTHS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->addMonths( hb_parni( 2 ) ) ) ) ); -} - -/* - * QDateTime addSecs ( int s ) const - */ -HB_FUNC( QT_QDATETIME_ADDSECS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->addSecs( hb_parni( 2 ) ) ) ) ); -} - -/* - * QDateTime addYears ( int nyears ) const - */ -HB_FUNC( QT_QDATETIME_ADDYEARS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->addYears( hb_parni( 2 ) ) ) ) ); -} - -/* - * QDate date () const - */ -HB_FUNC( QT_QDATETIME_DATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QDateTime( 1 )->date() ) ) ); -} - -/* - * int daysTo ( const QDateTime & other ) const - */ -HB_FUNC( QT_QDATETIME_DAYSTO ) -{ - hb_retni( hbqt_par_QDateTime( 1 )->daysTo( *hbqt_par_QDateTime( 2 ) ) ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QDATETIME_ISNULL ) -{ - hb_retl( hbqt_par_QDateTime( 1 )->isNull() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QDATETIME_ISVALID ) -{ - hb_retl( hbqt_par_QDateTime( 1 )->isValid() ); -} - -/* - * int secsTo ( const QDateTime & other ) const - */ -HB_FUNC( QT_QDATETIME_SECSTO ) -{ - hb_retni( hbqt_par_QDateTime( 1 )->secsTo( *hbqt_par_QDateTime( 2 ) ) ); -} - -/* - * void setDate ( const QDate & date ) - */ -HB_FUNC( QT_QDATETIME_SETDATE ) -{ - hbqt_par_QDateTime( 1 )->setDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void setTime ( const QTime & time ) - */ -HB_FUNC( QT_QDATETIME_SETTIME ) -{ - hbqt_par_QDateTime( 1 )->setTime( *hbqt_par_QTime( 2 ) ); -} - -/* - * void setTimeSpec ( Qt::TimeSpec spec ) - */ -HB_FUNC( QT_QDATETIME_SETTIMESPEC ) -{ - hbqt_par_QDateTime( 1 )->setTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) ); -} - -/* - * void setTime_t ( uint seconds ) - */ -HB_FUNC( QT_QDATETIME_SETTIME_T ) -{ - hbqt_par_QDateTime( 1 )->setTime_t( hb_parni( 2 ) ); -} - -/* - * QTime time () const - */ -HB_FUNC( QT_QDATETIME_TIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTime( hbqt_par_QDateTime( 1 )->time() ) ) ); -} - -/* - * Qt::TimeSpec timeSpec () const - */ -HB_FUNC( QT_QDATETIME_TIMESPEC ) -{ - hb_retni( ( Qt::TimeSpec ) hbqt_par_QDateTime( 1 )->timeSpec() ); -} - -/* - * QDateTime toLocalTime () const - */ -HB_FUNC( QT_QDATETIME_TOLOCALTIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->toLocalTime() ) ) ); -} - -/* - * QString toString ( const QString & format ) const - */ -HB_FUNC( QT_QDATETIME_TOSTRING ) -{ - hb_retc( hbqt_par_QDateTime( 1 )->toString( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QString toString ( Qt::DateFormat format = Qt::TextDate ) const - */ -HB_FUNC( QT_QDATETIME_TOSTRING_1 ) -{ - hb_retc( hbqt_par_QDateTime( 1 )->toString( ( HB_ISNUM( 2 ) ? ( Qt::DateFormat ) hb_parni( 2 ) : ( Qt::DateFormat ) Qt::TextDate ) ).toAscii().data() ); -} - -/* - * QDateTime toTimeSpec ( Qt::TimeSpec specification ) const - */ -HB_FUNC( QT_QDATETIME_TOTIMESPEC ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->toTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) ) ) ) ); -} - -/* - * uint toTime_t () const - */ -HB_FUNC( QT_QDATETIME_TOTIME_T ) -{ - hb_retni( hbqt_par_QDateTime( 1 )->toTime_t() ); -} - -/* - * QDateTime toUTC () const - */ -HB_FUNC( QT_QDATETIME_TOUTC ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->toUTC() ) ) ); -} - -/* - * QDateTime currentDateTime () - */ -HB_FUNC( QT_QDATETIME_CURRENTDATETIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->currentDateTime() ) ) ); -} - -/* - * QDateTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - */ -HB_FUNC( QT_QDATETIME_FROMSTRING ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->fromString( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::DateFormat ) hb_parni( 3 ) : ( Qt::DateFormat ) Qt::TextDate ) ) ) ) ); -} - -/* - * QDateTime fromString ( const QString & string, const QString & format ) - */ -HB_FUNC( QT_QDATETIME_FROMSTRING_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->fromString( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ) ) ); -} - -/* - * QDateTime fromTime_t ( uint seconds ) - */ -HB_FUNC( QT_QDATETIME_FROMTIME_T ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTime( 1 )->fromTime_t( hb_parni( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDateTimeEdit.cpp b/harbour/contrib/hbqt/QDateTimeEdit.cpp deleted file mode 100644 index f1f2c64006..0000000000 --- a/harbour/contrib/hbqt/QDateTimeEdit.cpp +++ /dev/null @@ -1,452 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Section { NoSection, AmPmSection, MSecSection, SecondSection, ..., YearSection } - * flags Sections - */ - -#include - -#include - - -/* - * QDateTimeEdit ( QWidget * parent = 0 ) - * QDateTimeEdit ( const QDateTime & datetime, QWidget * parent = 0 ) - * QDateTimeEdit ( const QDate & date, QWidget * parent = 0 ) - * QDateTimeEdit ( const QTime & time, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QDATETIMEEDIT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDateTimeEdit > pObj = NULL; - - pObj = ( QDateTimeEdit* ) new QDateTimeEdit( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool calendarPopup () const - */ -HB_FUNC( QT_QDATETIMEEDIT_CALENDARPOPUP ) -{ - hb_retl( hbqt_par_QDateTimeEdit( 1 )->calendarPopup() ); -} - -/* - * QCalendarWidget * calendarWidget () const - */ -HB_FUNC( QT_QDATETIMEEDIT_CALENDARWIDGET ) -{ - hb_retptr( ( QCalendarWidget* ) hbqt_par_QDateTimeEdit( 1 )->calendarWidget() ); -} - -/* - * void clearMaximumDate () - */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMDATE ) -{ - hbqt_par_QDateTimeEdit( 1 )->clearMaximumDate(); -} - -/* - * void clearMaximumDateTime () - */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMDATETIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->clearMaximumDateTime(); -} - -/* - * void clearMaximumTime () - */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMTIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->clearMaximumTime(); -} - -/* - * void clearMinimumDate () - */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMDATE ) -{ - hbqt_par_QDateTimeEdit( 1 )->clearMinimumDate(); -} - -/* - * void clearMinimumDateTime () - */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMDATETIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->clearMinimumDateTime(); -} - -/* - * void clearMinimumTime () - */ -HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMTIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->clearMinimumTime(); -} - -/* - * Section currentSection () const - */ -HB_FUNC( QT_QDATETIMEEDIT_CURRENTSECTION ) -{ - hb_retni( ( QDateTimeEdit::Section ) hbqt_par_QDateTimeEdit( 1 )->currentSection() ); -} - -/* - * int currentSectionIndex () const - */ -HB_FUNC( QT_QDATETIMEEDIT_CURRENTSECTIONINDEX ) -{ - hb_retni( hbqt_par_QDateTimeEdit( 1 )->currentSectionIndex() ); -} - -/* - * QDate date () const - */ -HB_FUNC( QT_QDATETIMEEDIT_DATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QDateTimeEdit( 1 )->date() ) ) ); -} - -/* - * QDateTime dateTime () const - */ -HB_FUNC( QT_QDATETIMEEDIT_DATETIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTimeEdit( 1 )->dateTime() ) ) ); -} - -/* - * QString displayFormat () const - */ -HB_FUNC( QT_QDATETIMEEDIT_DISPLAYFORMAT ) -{ - hb_retc( hbqt_par_QDateTimeEdit( 1 )->displayFormat().toAscii().data() ); -} - -/* - * Sections displayedSections () const - */ -HB_FUNC( QT_QDATETIMEEDIT_DISPLAYEDSECTIONS ) -{ - hb_retni( ( QDateTimeEdit::Sections ) hbqt_par_QDateTimeEdit( 1 )->displayedSections() ); -} - -/* - * QDate maximumDate () const - */ -HB_FUNC( QT_QDATETIMEEDIT_MAXIMUMDATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QDateTimeEdit( 1 )->maximumDate() ) ) ); -} - -/* - * QDateTime maximumDateTime () const - */ -HB_FUNC( QT_QDATETIMEEDIT_MAXIMUMDATETIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTimeEdit( 1 )->maximumDateTime() ) ) ); -} - -/* - * QTime maximumTime () const - */ -HB_FUNC( QT_QDATETIMEEDIT_MAXIMUMTIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTime( hbqt_par_QDateTimeEdit( 1 )->maximumTime() ) ) ); -} - -/* - * QDate minimumDate () const - */ -HB_FUNC( QT_QDATETIMEEDIT_MINIMUMDATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QDateTimeEdit( 1 )->minimumDate() ) ) ); -} - -/* - * QDateTime minimumDateTime () const - */ -HB_FUNC( QT_QDATETIMEEDIT_MINIMUMDATETIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QDateTimeEdit( 1 )->minimumDateTime() ) ) ); -} - -/* - * QTime minimumTime () const - */ -HB_FUNC( QT_QDATETIMEEDIT_MINIMUMTIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTime( hbqt_par_QDateTimeEdit( 1 )->minimumTime() ) ) ); -} - -/* - * Section sectionAt ( int index ) const - */ -HB_FUNC( QT_QDATETIMEEDIT_SECTIONAT ) -{ - hb_retni( ( QDateTimeEdit::Section ) hbqt_par_QDateTimeEdit( 1 )->sectionAt( hb_parni( 2 ) ) ); -} - -/* - * int sectionCount () const - */ -HB_FUNC( QT_QDATETIMEEDIT_SECTIONCOUNT ) -{ - hb_retni( hbqt_par_QDateTimeEdit( 1 )->sectionCount() ); -} - -/* - * QString sectionText ( Section section ) const - */ -HB_FUNC( QT_QDATETIMEEDIT_SECTIONTEXT ) -{ - hb_retc( hbqt_par_QDateTimeEdit( 1 )->sectionText( ( QDateTimeEdit::Section ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * void setCalendarPopup ( bool enable ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETCALENDARPOPUP ) -{ - hbqt_par_QDateTimeEdit( 1 )->setCalendarPopup( hb_parl( 2 ) ); -} - -/* - * void setCalendarWidget ( QCalendarWidget * calendarWidget ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETCALENDARWIDGET ) -{ - hbqt_par_QDateTimeEdit( 1 )->setCalendarWidget( hbqt_par_QCalendarWidget( 2 ) ); -} - -/* - * void setCurrentSection ( Section section ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETCURRENTSECTION ) -{ - hbqt_par_QDateTimeEdit( 1 )->setCurrentSection( ( QDateTimeEdit::Section ) hb_parni( 2 ) ); -} - -/* - * void setCurrentSectionIndex ( int index ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETCURRENTSECTIONINDEX ) -{ - hbqt_par_QDateTimeEdit( 1 )->setCurrentSectionIndex( hb_parni( 2 ) ); -} - -/* - * void setDateRange ( const QDate & min, const QDate & max ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATERANGE ) -{ - hbqt_par_QDateTimeEdit( 1 )->setDateRange( *hbqt_par_QDate( 2 ), *hbqt_par_QDate( 3 ) ); -} - -/* - * void setDateTimeRange ( const QDateTime & min, const QDateTime & max ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATETIMERANGE ) -{ - hbqt_par_QDateTimeEdit( 1 )->setDateTimeRange( *hbqt_par_QDateTime( 2 ), *hbqt_par_QDateTime( 3 ) ); -} - -/* - * void setDisplayFormat ( const QString & format ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETDISPLAYFORMAT ) -{ - hbqt_par_QDateTimeEdit( 1 )->setDisplayFormat( hbqt_par_QString( 2 ) ); -} - -/* - * void setMaximumDate ( const QDate & max ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETMAXIMUMDATE ) -{ - hbqt_par_QDateTimeEdit( 1 )->setMaximumDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void setMaximumDateTime ( const QDateTime & dt ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETMAXIMUMDATETIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->setMaximumDateTime( *hbqt_par_QDateTime( 2 ) ); -} - -/* - * void setMaximumTime ( const QTime & max ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETMAXIMUMTIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->setMaximumTime( *hbqt_par_QTime( 2 ) ); -} - -/* - * void setMinimumDate ( const QDate & min ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETMINIMUMDATE ) -{ - hbqt_par_QDateTimeEdit( 1 )->setMinimumDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void setMinimumDateTime ( const QDateTime & dt ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETMINIMUMDATETIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->setMinimumDateTime( *hbqt_par_QDateTime( 2 ) ); -} - -/* - * void setMinimumTime ( const QTime & min ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETMINIMUMTIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->setMinimumTime( *hbqt_par_QTime( 2 ) ); -} - -/* - * void setSelectedSection ( Section section ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETSELECTEDSECTION ) -{ - hbqt_par_QDateTimeEdit( 1 )->setSelectedSection( ( QDateTimeEdit::Section ) hb_parni( 2 ) ); -} - -/* - * void setTimeRange ( const QTime & min, const QTime & max ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETTIMERANGE ) -{ - hbqt_par_QDateTimeEdit( 1 )->setTimeRange( *hbqt_par_QTime( 2 ), *hbqt_par_QTime( 3 ) ); -} - -/* - * void setTimeSpec ( Qt::TimeSpec spec ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETTIMESPEC ) -{ - hbqt_par_QDateTimeEdit( 1 )->setTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) ); -} - -/* - * QTime time () const - */ -HB_FUNC( QT_QDATETIMEEDIT_TIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTime( hbqt_par_QDateTimeEdit( 1 )->time() ) ) ); -} - -/* - * Qt::TimeSpec timeSpec () const - */ -HB_FUNC( QT_QDATETIMEEDIT_TIMESPEC ) -{ - hb_retni( ( Qt::TimeSpec ) hbqt_par_QDateTimeEdit( 1 )->timeSpec() ); -} - -/* - * void setDate ( const QDate & date ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATE ) -{ - hbqt_par_QDateTimeEdit( 1 )->setDate( *hbqt_par_QDate( 2 ) ); -} - -/* - * void setDateTime ( const QDateTime & dateTime ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETDATETIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->setDateTime( *hbqt_par_QDateTime( 2 ) ); -} - -/* - * void setTime ( const QTime & time ) - */ -HB_FUNC( QT_QDATETIMEEDIT_SETTIME ) -{ - hbqt_par_QDateTimeEdit( 1 )->setTime( *hbqt_par_QTime( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDesktopWidget.cpp b/harbour/contrib/hbqt/QDesktopWidget.cpp deleted file mode 100644 index fc0cf9cf17..0000000000 --- a/harbour/contrib/hbqt/QDesktopWidget.cpp +++ /dev/null @@ -1,189 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDesktopWidget () - * ~QDesktopWidget () - */ - -HB_FUNC( QT_QDESKTOPWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDesktopWidget > pObj = NULL; - - pObj = new QDesktopWidget() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * const QRect availableGeometry ( int screen = -1 ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_AVAILABLEGEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDesktopWidget( 1 )->availableGeometry( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : -1 ) ) ) ) ); -} - -/* - * const QRect availableGeometry ( const QWidget * widget ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_AVAILABLEGEOMETRY_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDesktopWidget( 1 )->availableGeometry( hbqt_par_QWidget( 2 ) ) ) ) ); -} - -/* - * const QRect availableGeometry ( const QPoint & p ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_AVAILABLEGEOMETRY_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDesktopWidget( 1 )->availableGeometry( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * bool isVirtualDesktop () const - */ -HB_FUNC( QT_QDESKTOPWIDGET_ISVIRTUALDESKTOP ) -{ - hb_retl( hbqt_par_QDesktopWidget( 1 )->isVirtualDesktop() ); -} - -/* - * int numScreens () const - */ -HB_FUNC( QT_QDESKTOPWIDGET_NUMSCREENS ) -{ - hb_retni( hbqt_par_QDesktopWidget( 1 )->numScreens() ); -} - -/* - * int primaryScreen () const - */ -HB_FUNC( QT_QDESKTOPWIDGET_PRIMARYSCREEN ) -{ - hb_retni( hbqt_par_QDesktopWidget( 1 )->primaryScreen() ); -} - -/* - * QWidget * screen ( int screen = -1 ) - */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREEN ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QDesktopWidget( 1 )->screen( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : -1 ) ) ); -} - -/* - * const QRect screenGeometry ( int screen = -1 ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENGEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDesktopWidget( 1 )->screenGeometry( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : -1 ) ) ) ) ); -} - -/* - * const QRect screenGeometry ( const QWidget * widget ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENGEOMETRY_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDesktopWidget( 1 )->screenGeometry( hbqt_par_QWidget( 2 ) ) ) ) ); -} - -/* - * const QRect screenGeometry ( const QPoint & p ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENGEOMETRY_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDesktopWidget( 1 )->screenGeometry( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * int screenNumber ( const QWidget * widget = 0 ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENNUMBER ) -{ - hb_retni( hbqt_par_QDesktopWidget( 1 )->screenNumber( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * int screenNumber ( const QPoint & point ) const - */ -HB_FUNC( QT_QDESKTOPWIDGET_SCREENNUMBER_1 ) -{ - hb_retni( hbqt_par_QDesktopWidget( 1 )->screenNumber( *hbqt_par_QPoint( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDial.cpp b/harbour/contrib/hbqt/QDial.cpp deleted file mode 100644 index 1cbb18663c..0000000000 --- a/harbour/contrib/hbqt/QDial.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDial ( QWidget * parent = 0 ) - * ~QDial () - */ - -HB_FUNC( QT_QDIAL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDial > pObj = NULL; - - pObj = ( QDial* ) new QDial( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int notchSize () const - */ -HB_FUNC( QT_QDIAL_NOTCHSIZE ) -{ - hb_retni( hbqt_par_QDial( 1 )->notchSize() ); -} - -/* - * qreal notchTarget () const - */ -HB_FUNC( QT_QDIAL_NOTCHTARGET ) -{ - hb_retnd( hbqt_par_QDial( 1 )->notchTarget() ); -} - -/* - * bool notchesVisible () const - */ -HB_FUNC( QT_QDIAL_NOTCHESVISIBLE ) -{ - hb_retl( hbqt_par_QDial( 1 )->notchesVisible() ); -} - -/* - * void setNotchTarget ( double target ) - */ -HB_FUNC( QT_QDIAL_SETNOTCHTARGET ) -{ - hbqt_par_QDial( 1 )->setNotchTarget( hb_parnd( 2 ) ); -} - -/* - * bool wrapping () const - */ -HB_FUNC( QT_QDIAL_WRAPPING ) -{ - hb_retl( hbqt_par_QDial( 1 )->wrapping() ); -} - -/* - * void setNotchesVisible ( bool visible ) - */ -HB_FUNC( QT_QDIAL_SETNOTCHESVISIBLE ) -{ - hbqt_par_QDial( 1 )->setNotchesVisible( hb_parl( 2 ) ); -} - -/* - * void setWrapping ( bool on ) - */ -HB_FUNC( QT_QDIAL_SETWRAPPING ) -{ - hbqt_par_QDial( 1 )->setWrapping( hb_parl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDialog.cpp b/harbour/contrib/hbqt/QDialog.cpp deleted file mode 100644 index 4b560beade..0000000000 --- a/harbour/contrib/hbqt/QDialog.cpp +++ /dev/null @@ -1,177 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum DialogCode { Accepted, Rejected } - */ - -#include - -#include - - -/* - * QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QDialog () - */ - -HB_FUNC( QT_QDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDialog > pObj = NULL; - - pObj = new QDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool isSizeGripEnabled () const - */ -HB_FUNC( QT_QDIALOG_ISSIZEGRIPENABLED ) -{ - hb_retl( hbqt_par_QDialog( 1 )->isSizeGripEnabled() ); -} - -/* - * int result () const - */ -HB_FUNC( QT_QDIALOG_RESULT ) -{ - hb_retni( hbqt_par_QDialog( 1 )->result() ); -} - -/* - * void setModal ( bool modal ) - */ -HB_FUNC( QT_QDIALOG_SETMODAL ) -{ - hbqt_par_QDialog( 1 )->setModal( hb_parl( 2 ) ); -} - -/* - * void setResult ( int i ) - */ -HB_FUNC( QT_QDIALOG_SETRESULT ) -{ - hbqt_par_QDialog( 1 )->setResult( hb_parni( 2 ) ); -} - -/* - * void setSizeGripEnabled ( bool ) - */ -HB_FUNC( QT_QDIALOG_SETSIZEGRIPENABLED ) -{ - hbqt_par_QDialog( 1 )->setSizeGripEnabled( hb_parl( 2 ) ); -} - -/* - * virtual void accept () - */ -HB_FUNC( QT_QDIALOG_ACCEPT ) -{ - hbqt_par_QDialog( 1 )->accept(); -} - -/* - * virtual void done ( int r ) - */ -HB_FUNC( QT_QDIALOG_DONE ) -{ - hbqt_par_QDialog( 1 )->done( hb_parni( 2 ) ); -} - -/* - * int exec () - */ -HB_FUNC( QT_QDIALOG_EXEC ) -{ - hb_retni( hbqt_par_QDialog( 1 )->exec() ); -} - -/* - * void open () - */ -HB_FUNC( QT_QDIALOG_OPEN ) -{ - hbqt_par_QDialog( 1 )->open(); -} - -/* - * virtual void reject () - */ -HB_FUNC( QT_QDIALOG_REJECT ) -{ - hbqt_par_QDialog( 1 )->reject(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDir.cpp b/harbour/contrib/hbqt/QDir.cpp deleted file mode 100644 index 476f2553f6..0000000000 --- a/harbour/contrib/hbqt/QDir.cpp +++ /dev/null @@ -1,542 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Filter { Dirs, AllDirs, Files, Drives, ..., CaseSensitive } - * enum SortFlag { Name, Time, Size, Type, ..., LocaleAware } - * flags Filters - * flags SortFlags - */ - -#include - -#include - - -/* - * QDir ( const QDir & dir ) - * QDir ( const QString & path = QString() ) - * QDir ( const QString & path, const QString & nameFilter, SortFlags sort = SortFlags( Name | IgnoreCase ), Filters filters = AllEntries ) - * ~QDir () - */ - -HB_FUNC( QT_QDIR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = new QDir( hbqt_par_QString( 1 ) ) ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QDir" ); - hb_retptrGC( p ); -} -/* - * QString absoluteFilePath ( const QString & fileName ) const - */ -HB_FUNC( QT_QDIR_ABSOLUTEFILEPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->absoluteFilePath( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QString absolutePath () const - */ -HB_FUNC( QT_QDIR_ABSOLUTEPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->absolutePath().toAscii().data() ); -} - -/* - * QString canonicalPath () const - */ -HB_FUNC( QT_QDIR_CANONICALPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->canonicalPath().toAscii().data() ); -} - -/* - * bool cd ( const QString & dirName ) - */ -HB_FUNC( QT_QDIR_CD ) -{ - hb_retl( hbqt_par_QDir( 1 )->cd( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool cdUp () - */ -HB_FUNC( QT_QDIR_CDUP ) -{ - hb_retl( hbqt_par_QDir( 1 )->cdUp() ); -} - -/* - * uint count () const - */ -HB_FUNC( QT_QDIR_COUNT ) -{ - hb_retni( hbqt_par_QDir( 1 )->count() ); -} - -/* - * QString dirName () const - */ -HB_FUNC( QT_QDIR_DIRNAME ) -{ - hb_retc( hbqt_par_QDir( 1 )->dirName().toAscii().data() ); -} - -/* - * QFileInfoList entryInfoList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const - */ -HB_FUNC( QT_QDIR_ENTRYINFOLIST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFileInfoList( hbqt_par_QDir( 1 )->entryInfoList( *hbqt_par_QStringList( 2 ), ( HB_ISNUM( 3 ) ? ( QDir::Filters ) hb_parni( 3 ) : ( QDir::Filters ) QDir::NoFilter ), ( HB_ISNUM( 4 ) ? ( QDir::SortFlags ) hb_parni( 4 ) : ( QDir::SortFlags ) QDir::NoSort ) ) ) ) ); -} - -/* - * QFileInfoList entryInfoList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const - */ -HB_FUNC( QT_QDIR_ENTRYINFOLIST_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFileInfoList( hbqt_par_QDir( 1 )->entryInfoList( ( HB_ISNUM( 2 ) ? ( QDir::Filters ) hb_parni( 2 ) : ( QDir::Filters ) QDir::NoFilter ), ( HB_ISNUM( 3 ) ? ( QDir::SortFlags ) hb_parni( 3 ) : ( QDir::SortFlags ) QDir::NoSort ) ) ) ) ); -} - -/* - * QStringList entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const - */ -HB_FUNC( QT_QDIR_ENTRYLIST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QDir( 1 )->entryList( *hbqt_par_QStringList( 2 ), ( HB_ISNUM( 3 ) ? ( QDir::Filters ) hb_parni( 3 ) : ( QDir::Filters ) QDir::NoFilter ), ( HB_ISNUM( 4 ) ? ( QDir::SortFlags ) hb_parni( 4 ) : ( QDir::SortFlags ) QDir::NoSort ) ) ) ) ); -} - -/* - * QStringList entryList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const - */ -HB_FUNC( QT_QDIR_ENTRYLIST_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QDir( 1 )->entryList( ( HB_ISNUM( 2 ) ? ( QDir::Filters ) hb_parni( 2 ) : ( QDir::Filters ) QDir::NoFilter ), ( HB_ISNUM( 3 ) ? ( QDir::SortFlags ) hb_parni( 3 ) : ( QDir::SortFlags ) QDir::NoSort ) ) ) ) ); -} - -/* - * bool exists ( const QString & name ) const - */ -HB_FUNC( QT_QDIR_EXISTS ) -{ - hb_retl( hbqt_par_QDir( 1 )->exists( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool exists () const - */ -HB_FUNC( QT_QDIR_EXISTS_1 ) -{ - hb_retl( hbqt_par_QDir( 1 )->exists() ); -} - -/* - * QString filePath ( const QString & fileName ) const - */ -HB_FUNC( QT_QDIR_FILEPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->filePath( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * Filters filter () const - */ -HB_FUNC( QT_QDIR_FILTER ) -{ - hb_retni( ( QDir::Filters ) hbqt_par_QDir( 1 )->filter() ); -} - -/* - * bool isAbsolute () const - */ -HB_FUNC( QT_QDIR_ISABSOLUTE ) -{ - hb_retl( hbqt_par_QDir( 1 )->isAbsolute() ); -} - -/* - * bool isReadable () const - */ -HB_FUNC( QT_QDIR_ISREADABLE ) -{ - hb_retl( hbqt_par_QDir( 1 )->isReadable() ); -} - -/* - * bool isRelative () const - */ -HB_FUNC( QT_QDIR_ISRELATIVE ) -{ - hb_retl( hbqt_par_QDir( 1 )->isRelative() ); -} - -/* - * bool isRoot () const - */ -HB_FUNC( QT_QDIR_ISROOT ) -{ - hb_retl( hbqt_par_QDir( 1 )->isRoot() ); -} - -/* - * bool makeAbsolute () - */ -HB_FUNC( QT_QDIR_MAKEABSOLUTE ) -{ - hb_retl( hbqt_par_QDir( 1 )->makeAbsolute() ); -} - -/* - * bool mkdir ( const QString & dirName ) const - */ -HB_FUNC( QT_QDIR_MKDIR ) -{ - hb_retl( hbqt_par_QDir( 1 )->mkdir( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool mkpath ( const QString & dirPath ) const - */ -HB_FUNC( QT_QDIR_MKPATH ) -{ - hb_retl( hbqt_par_QDir( 1 )->mkpath( hbqt_par_QString( 2 ) ) ); -} - -/* - * QStringList nameFilters () const - */ -HB_FUNC( QT_QDIR_NAMEFILTERS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QDir( 1 )->nameFilters() ) ) ); -} - -/* - * QString path () const - */ -HB_FUNC( QT_QDIR_PATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->path().toAscii().data() ); -} - -/* - * void refresh () const - */ -HB_FUNC( QT_QDIR_REFRESH ) -{ - hbqt_par_QDir( 1 )->refresh(); -} - -/* - * QString relativeFilePath ( const QString & fileName ) const - */ -HB_FUNC( QT_QDIR_RELATIVEFILEPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->relativeFilePath( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * bool remove ( const QString & fileName ) - */ -HB_FUNC( QT_QDIR_REMOVE ) -{ - hb_retl( hbqt_par_QDir( 1 )->remove( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool rename ( const QString & oldName, const QString & newName ) - */ -HB_FUNC( QT_QDIR_RENAME ) -{ - hb_retl( hbqt_par_QDir( 1 )->rename( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool rmdir ( const QString & dirName ) const - */ -HB_FUNC( QT_QDIR_RMDIR ) -{ - hb_retl( hbqt_par_QDir( 1 )->rmdir( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool rmpath ( const QString & dirPath ) const - */ -HB_FUNC( QT_QDIR_RMPATH ) -{ - hb_retl( hbqt_par_QDir( 1 )->rmpath( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setFilter ( Filters filters ) - */ -HB_FUNC( QT_QDIR_SETFILTER ) -{ - hbqt_par_QDir( 1 )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* - * void setNameFilters ( const QStringList & nameFilters ) - */ -HB_FUNC( QT_QDIR_SETNAMEFILTERS ) -{ - hbqt_par_QDir( 1 )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setPath ( const QString & path ) - */ -HB_FUNC( QT_QDIR_SETPATH ) -{ - hbqt_par_QDir( 1 )->setPath( hbqt_par_QString( 2 ) ); -} - -/* - * void setSorting ( SortFlags sort ) - */ -HB_FUNC( QT_QDIR_SETSORTING ) -{ - hbqt_par_QDir( 1 )->setSorting( ( QDir::SortFlags ) hb_parni( 2 ) ); -} - -/* - * SortFlags sorting () const - */ -HB_FUNC( QT_QDIR_SORTING ) -{ - hb_retni( ( QDir::SortFlags ) hbqt_par_QDir( 1 )->sorting() ); -} - -/* - * void addSearchPath ( const QString & prefix, const QString & path ) - */ -HB_FUNC( QT_QDIR_ADDSEARCHPATH ) -{ - hbqt_par_QDir( 1 )->addSearchPath( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QString cleanPath ( const QString & path ) - */ -HB_FUNC( QT_QDIR_CLEANPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->cleanPath( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QDir current () - */ -HB_FUNC( QT_QDIR_CURRENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDir( hbqt_par_QDir( 1 )->current() ) ) ); -} - -/* - * QString currentPath () - */ -HB_FUNC( QT_QDIR_CURRENTPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->currentPath().toAscii().data() ); -} - -/* - * QFileInfoList drives () - */ -HB_FUNC( QT_QDIR_DRIVES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFileInfoList( hbqt_par_QDir( 1 )->drives() ) ) ); -} - -/* - * QString fromNativeSeparators ( const QString & pathName ) - */ -HB_FUNC( QT_QDIR_FROMNATIVESEPARATORS ) -{ - hb_retc( hbqt_par_QDir( 1 )->fromNativeSeparators( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QDir home () - */ -HB_FUNC( QT_QDIR_HOME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDir( hbqt_par_QDir( 1 )->home() ) ) ); -} - -/* - * QString homePath () - */ -HB_FUNC( QT_QDIR_HOMEPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->homePath().toAscii().data() ); -} - -/* - * bool isAbsolutePath ( const QString & path ) - */ -HB_FUNC( QT_QDIR_ISABSOLUTEPATH ) -{ - hb_retl( hbqt_par_QDir( 1 )->isAbsolutePath( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool isRelativePath ( const QString & path ) - */ -HB_FUNC( QT_QDIR_ISRELATIVEPATH ) -{ - hb_retl( hbqt_par_QDir( 1 )->isRelativePath( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool match ( const QString & filter, const QString & fileName ) - */ -HB_FUNC( QT_QDIR_MATCH ) -{ - hb_retl( hbqt_par_QDir( 1 )->match( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool match ( const QStringList & filters, const QString & fileName ) - */ -HB_FUNC( QT_QDIR_MATCH_1 ) -{ - hb_retl( hbqt_par_QDir( 1 )->match( *hbqt_par_QStringList( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QDir root () - */ -HB_FUNC( QT_QDIR_ROOT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDir( hbqt_par_QDir( 1 )->root() ) ) ); -} - -/* - * QString rootPath () - */ -HB_FUNC( QT_QDIR_ROOTPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->rootPath().toAscii().data() ); -} - -/* - * QStringList searchPaths ( const QString & prefix ) - */ -HB_FUNC( QT_QDIR_SEARCHPATHS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QDir( 1 )->searchPaths( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * bool setCurrent ( const QString & path ) - */ -HB_FUNC( QT_QDIR_SETCURRENT ) -{ - hb_retl( hbqt_par_QDir( 1 )->setCurrent( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setSearchPaths ( const QString & prefix, const QStringList & searchPaths ) - */ -HB_FUNC( QT_QDIR_SETSEARCHPATHS ) -{ - hbqt_par_QDir( 1 )->setSearchPaths( hbqt_par_QString( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* - * QDir temp () - */ -HB_FUNC( QT_QDIR_TEMP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDir( hbqt_par_QDir( 1 )->temp() ) ) ); -} - -/* - * QString tempPath () - */ -HB_FUNC( QT_QDIR_TEMPPATH ) -{ - hb_retc( hbqt_par_QDir( 1 )->tempPath().toAscii().data() ); -} - -/* - * QString toNativeSeparators ( const QString & pathName ) - */ -HB_FUNC( QT_QDIR_TONATIVESEPARATORS ) -{ - hb_retc( hbqt_par_QDir( 1 )->toNativeSeparators( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDirModel.cpp b/harbour/contrib/hbqt/QDirModel.cpp deleted file mode 100644 index e53fbd302a..0000000000 --- a/harbour/contrib/hbqt/QDirModel.cpp +++ /dev/null @@ -1,402 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Roles { FileIconRole, FilePathRole, FileNameRole } - */ - -#include - -#include - - -/* - * QDirModel ( const QStringList & nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject * parent = 0 ) - * QDirModel ( QObject * parent = 0 ) - * ~QDirModel () - */ - -HB_FUNC( QT_QDIRMODEL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDirModel > pObj = NULL; - - pObj = ( QDirModel* ) new QDirModel( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual int columnCount ( const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QDIRMODEL_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QDirModel( 1 )->columnCount( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const - */ -HB_FUNC( QT_QDIRMODEL_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QDirModel( 1 )->data( *hbqt_par_QModelIndex( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::DisplayRole ) ) ) ) ); -} - -/* - * virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) - */ -HB_FUNC( QT_QDIRMODEL_DROPMIMEDATA ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->dropMimeData( hbqt_par_QMimeData( 2 ), ( Qt::DropAction ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QModelIndex( 6 ) ) ); -} - -/* - * QIcon fileIcon ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QDIRMODEL_FILEICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QDirModel( 1 )->fileIcon( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * QFileInfo fileInfo ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QDIRMODEL_FILEINFO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFileInfo( hbqt_par_QDirModel( 1 )->fileInfo( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * QString fileName ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QDIRMODEL_FILENAME ) -{ - hb_retc( hbqt_par_QDirModel( 1 )->fileName( *hbqt_par_QModelIndex( 2 ) ).toAscii().data() ); -} - -/* - * QString filePath ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QDIRMODEL_FILEPATH ) -{ - hb_retc( hbqt_par_QDirModel( 1 )->filePath( *hbqt_par_QModelIndex( 2 ) ).toAscii().data() ); -} - -/* - * QDir::Filters filter () const - */ -HB_FUNC( QT_QDIRMODEL_FILTER ) -{ - hb_retni( ( QDir::Filters ) hbqt_par_QDirModel( 1 )->filter() ); -} - -/* - * virtual Qt::ItemFlags flags ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QDIRMODEL_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QDirModel( 1 )->flags( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QDIRMODEL_HASCHILDREN ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->hasChildren( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * virtual QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const - */ -HB_FUNC( QT_QDIRMODEL_HEADERDATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QDirModel( 1 )->headerData( hb_parni( 2 ), ( Qt::Orientation ) hb_parni( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::DisplayRole ) ) ) ) ); -} - -/* - * QFileIconProvider * iconProvider () const - */ -HB_FUNC( QT_QDIRMODEL_ICONPROVIDER ) -{ - hb_retptr( ( QFileIconProvider* ) hbqt_par_QDirModel( 1 )->iconProvider() ); -} - -/* - * virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QDIRMODEL_INDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QDirModel( 1 )->index( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ) ) ); -} - -/* - * QModelIndex index ( const QString & path, int column = 0 ) const - */ -HB_FUNC( QT_QDIRMODEL_INDEX_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QDirModel( 1 )->index( hbqt_par_QString( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * bool isDir ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QDIRMODEL_ISDIR ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->isDir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * bool isReadOnly () const - */ -HB_FUNC( QT_QDIRMODEL_ISREADONLY ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->isReadOnly() ); -} - -/* - * bool lazyChildCount () const - */ -HB_FUNC( QT_QDIRMODEL_LAZYCHILDCOUNT ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->lazyChildCount() ); -} - -/* - * virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const - */ -HB_FUNC( QT_QDIRMODEL_MIMEDATA ) -{ - hb_retptr( ( QMimeData* ) hbqt_par_QDirModel( 1 )->mimeData( *hbqt_par_QModelIndexList( 2 ) ) ); -} - -/* - * virtual QStringList mimeTypes () const - */ -HB_FUNC( QT_QDIRMODEL_MIMETYPES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QDirModel( 1 )->mimeTypes() ) ) ); -} - -/* - * QModelIndex mkdir ( const QModelIndex & parent, const QString & name ) - */ -HB_FUNC( QT_QDIRMODEL_MKDIR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QDirModel( 1 )->mkdir( *hbqt_par_QModelIndex( 2 ), hbqt_par_QString( 3 ) ) ) ) ); -} - -/* - * QStringList nameFilters () const - */ -HB_FUNC( QT_QDIRMODEL_NAMEFILTERS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QDirModel( 1 )->nameFilters() ) ) ); -} - -/* - * virtual QModelIndex parent ( const QModelIndex & child ) const - */ -HB_FUNC( QT_QDIRMODEL_PARENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QDirModel( 1 )->parent( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * bool remove ( const QModelIndex & index ) - */ -HB_FUNC( QT_QDIRMODEL_REMOVE ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->remove( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * bool resolveSymlinks () const - */ -HB_FUNC( QT_QDIRMODEL_RESOLVESYMLINKS ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->resolveSymlinks() ); -} - -/* - * bool rmdir ( const QModelIndex & index ) - */ -HB_FUNC( QT_QDIRMODEL_RMDIR ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->rmdir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QDIRMODEL_ROWCOUNT ) -{ - hb_retni( hbqt_par_QDirModel( 1 )->rowCount( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - */ -HB_FUNC( QT_QDIRMODEL_SETDATA ) -{ - hb_retl( hbqt_par_QDirModel( 1 )->setData( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QVariant( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::EditRole ) ) ); -} - -/* - * void setFilter ( QDir::Filters filters ) - */ -HB_FUNC( QT_QDIRMODEL_SETFILTER ) -{ - hbqt_par_QDirModel( 1 )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* - * void setIconProvider ( QFileIconProvider * provider ) - */ -HB_FUNC( QT_QDIRMODEL_SETICONPROVIDER ) -{ - hbqt_par_QDirModel( 1 )->setIconProvider( hbqt_par_QFileIconProvider( 2 ) ); -} - -/* - * void setLazyChildCount ( bool enable ) - */ -HB_FUNC( QT_QDIRMODEL_SETLAZYCHILDCOUNT ) -{ - hbqt_par_QDirModel( 1 )->setLazyChildCount( hb_parl( 2 ) ); -} - -/* - * void setNameFilters ( const QStringList & filters ) - */ -HB_FUNC( QT_QDIRMODEL_SETNAMEFILTERS ) -{ - hbqt_par_QDirModel( 1 )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setReadOnly ( bool enable ) - */ -HB_FUNC( QT_QDIRMODEL_SETREADONLY ) -{ - hbqt_par_QDirModel( 1 )->setReadOnly( hb_parl( 2 ) ); -} - -/* - * void setResolveSymlinks ( bool enable ) - */ -HB_FUNC( QT_QDIRMODEL_SETRESOLVESYMLINKS ) -{ - hbqt_par_QDirModel( 1 )->setResolveSymlinks( hb_parl( 2 ) ); -} - -/* - * void setSorting ( QDir::SortFlags sort ) - */ -HB_FUNC( QT_QDIRMODEL_SETSORTING ) -{ - hbqt_par_QDirModel( 1 )->setSorting( ( QDir::SortFlags ) hb_parni( 2 ) ); -} - -/* - * virtual void sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - */ -HB_FUNC( QT_QDIRMODEL_SORT ) -{ - hbqt_par_QDirModel( 1 )->sort( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* - * QDir::SortFlags sorting () const - */ -HB_FUNC( QT_QDIRMODEL_SORTING ) -{ - hb_retni( ( QDir::SortFlags ) hbqt_par_QDirModel( 1 )->sorting() ); -} - -/* - * virtual Qt::DropActions supportedDropActions () const - */ -HB_FUNC( QT_QDIRMODEL_SUPPORTEDDROPACTIONS ) -{ - hb_retni( ( Qt::DropActions ) hbqt_par_QDirModel( 1 )->supportedDropActions() ); -} - -/* - * void refresh ( const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QDIRMODEL_REFRESH ) -{ - hbqt_par_QDirModel( 1 )->refresh( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDockWidget.cpp b/harbour/contrib/hbqt/QDockWidget.cpp deleted file mode 100644 index 90f51ae42f..0000000000 --- a/harbour/contrib/hbqt/QDockWidget.cpp +++ /dev/null @@ -1,195 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum DockWidgetFeature { DockWidgetClosable, DockWidgetMovable, DockWidgetFloatable, DockWidgetVerticalTitleBar, AllDockWidgetFeatures, NoDockWidgetFeatures } - * flags DockWidgetFeatures - */ - -#include - -#include - - -/* - * QDockWidget ( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * QDockWidget ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QDockWidget () - */ - -HB_FUNC( QT_QDOCKWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDockWidget > pObj = NULL; - - pObj = new QDockWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::DockWidgetAreas allowedAreas () const - */ -HB_FUNC( QT_QDOCKWIDGET_ALLOWEDAREAS ) -{ - hb_retni( ( Qt::DockWidgetAreas ) hbqt_par_QDockWidget( 1 )->allowedAreas() ); -} - -/* - * DockWidgetFeatures features () const - */ -HB_FUNC( QT_QDOCKWIDGET_FEATURES ) -{ - hb_retni( ( QDockWidget::DockWidgetFeatures ) hbqt_par_QDockWidget( 1 )->features() ); -} - -/* - * bool isAreaAllowed ( Qt::DockWidgetArea area ) const - */ -HB_FUNC( QT_QDOCKWIDGET_ISAREAALLOWED ) -{ - hb_retl( hbqt_par_QDockWidget( 1 )->isAreaAllowed( ( Qt::DockWidgetArea ) hb_parni( 2 ) ) ); -} - -/* - * bool isFloating () const - */ -HB_FUNC( QT_QDOCKWIDGET_ISFLOATING ) -{ - hb_retl( hbqt_par_QDockWidget( 1 )->isFloating() ); -} - -/* - * void setAllowedAreas ( Qt::DockWidgetAreas areas ) - */ -HB_FUNC( QT_QDOCKWIDGET_SETALLOWEDAREAS ) -{ - hbqt_par_QDockWidget( 1 )->setAllowedAreas( ( Qt::DockWidgetAreas ) hb_parni( 2 ) ); -} - -/* - * void setFeatures ( DockWidgetFeatures features ) - */ -HB_FUNC( QT_QDOCKWIDGET_SETFEATURES ) -{ - hbqt_par_QDockWidget( 1 )->setFeatures( ( QDockWidget::DockWidgetFeatures ) hb_parni( 2 ) ); -} - -/* - * void setFloating ( bool floating ) - */ -HB_FUNC( QT_QDOCKWIDGET_SETFLOATING ) -{ - hbqt_par_QDockWidget( 1 )->setFloating( hb_parl( 2 ) ); -} - -/* - * void setTitleBarWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QDOCKWIDGET_SETTITLEBARWIDGET ) -{ - hbqt_par_QDockWidget( 1 )->setTitleBarWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QDOCKWIDGET_SETWIDGET ) -{ - hbqt_par_QDockWidget( 1 )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * QWidget * titleBarWidget () const - */ -HB_FUNC( QT_QDOCKWIDGET_TITLEBARWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QDockWidget( 1 )->titleBarWidget() ); -} - -/* - * QAction * toggleViewAction () const - */ -HB_FUNC( QT_QDOCKWIDGET_TOGGLEVIEWACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QDockWidget( 1 )->toggleViewAction() ); -} - -/* - * QWidget * widget () const - */ -HB_FUNC( QT_QDOCKWIDGET_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QDockWidget( 1 )->widget() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDoubleSpinBox.cpp b/harbour/contrib/hbqt/QDoubleSpinBox.cpp deleted file mode 100644 index 6e5f1b3bb0..0000000000 --- a/harbour/contrib/hbqt/QDoubleSpinBox.cpp +++ /dev/null @@ -1,236 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDoubleSpinBox ( QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QDOUBLESPINBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QDoubleSpinBox > pObj = NULL; - - pObj = ( QDoubleSpinBox* ) new QDoubleSpinBox( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QString cleanText () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_CLEANTEXT ) -{ - hb_retc( hbqt_par_QDoubleSpinBox( 1 )->cleanText().toAscii().data() ); -} - -/* - * int decimals () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_DECIMALS ) -{ - hb_retni( hbqt_par_QDoubleSpinBox( 1 )->decimals() ); -} - -/* - * double maximum () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_MAXIMUM ) -{ - hb_retnd( hbqt_par_QDoubleSpinBox( 1 )->maximum() ); -} - -/* - * double minimum () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_MINIMUM ) -{ - hb_retnd( hbqt_par_QDoubleSpinBox( 1 )->minimum() ); -} - -/* - * QString prefix () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_PREFIX ) -{ - hb_retc( hbqt_par_QDoubleSpinBox( 1 )->prefix().toAscii().data() ); -} - -/* - * void setDecimals ( int prec ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETDECIMALS ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setDecimals( hb_parni( 2 ) ); -} - -/* - * void setMaximum ( double max ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETMAXIMUM ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setMaximum( hb_parnd( 2 ) ); -} - -/* - * void setMinimum ( double min ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETMINIMUM ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setMinimum( hb_parnd( 2 ) ); -} - -/* - * void setPrefix ( const QString & prefix ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETPREFIX ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setPrefix( hbqt_par_QString( 2 ) ); -} - -/* - * void setRange ( double minimum, double maximum ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETRANGE ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setRange( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setSingleStep ( double val ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETSINGLESTEP ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setSingleStep( hb_parnd( 2 ) ); -} - -/* - * void setSuffix ( const QString & suffix ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETSUFFIX ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setSuffix( hbqt_par_QString( 2 ) ); -} - -/* - * double singleStep () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_SINGLESTEP ) -{ - hb_retnd( hbqt_par_QDoubleSpinBox( 1 )->singleStep() ); -} - -/* - * QString suffix () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_SUFFIX ) -{ - hb_retc( hbqt_par_QDoubleSpinBox( 1 )->suffix().toAscii().data() ); -} - -/* - * virtual QString textFromValue ( double value ) const - */ -HB_FUNC( QT_QDOUBLESPINBOX_TEXTFROMVALUE ) -{ - hb_retc( hbqt_par_QDoubleSpinBox( 1 )->textFromValue( hb_parnd( 2 ) ).toAscii().data() ); -} - -/* - * double value () const - */ -HB_FUNC( QT_QDOUBLESPINBOX_VALUE ) -{ - hb_retnd( hbqt_par_QDoubleSpinBox( 1 )->value() ); -} - -/* - * virtual double valueFromText ( const QString & text ) const - */ -HB_FUNC( QT_QDOUBLESPINBOX_VALUEFROMTEXT ) -{ - hb_retnd( hbqt_par_QDoubleSpinBox( 1 )->valueFromText( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setValue ( double val ) - */ -HB_FUNC( QT_QDOUBLESPINBOX_SETVALUE ) -{ - hbqt_par_QDoubleSpinBox( 1 )->setValue( hb_parnd( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDragEnterEvent.cpp b/harbour/contrib/hbqt/QDragEnterEvent.cpp deleted file mode 100644 index 288efc33c5..0000000000 --- a/harbour/contrib/hbqt/QDragEnterEvent.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDragEnterEvent ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - */ - -HB_FUNC( QT_QDRAGENTEREVENT ) -{ -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDragLeaveEvent.cpp b/harbour/contrib/hbqt/QDragLeaveEvent.cpp deleted file mode 100644 index d2758819aa..0000000000 --- a/harbour/contrib/hbqt/QDragLeaveEvent.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDragLeaveEvent () - */ - -HB_FUNC( QT_QDRAGLEAVEEVENT ) -{ -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDragMoveEvent.cpp b/harbour/contrib/hbqt/QDragMoveEvent.cpp deleted file mode 100644 index c2682e8615..0000000000 --- a/harbour/contrib/hbqt/QDragMoveEvent.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDragMoveEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = DragMove ) - * ~QDragMoveEvent () - */ - -HB_FUNC( QT_QDRAGMOVEEVENT ) -{ -} -/* - * void accept ( const QRect & rectangle ) - */ -HB_FUNC( QT_QDRAGMOVEEVENT_ACCEPT ) -{ - hbqt_par_QDragMoveEvent( 1 )->accept( *hbqt_par_QRect( 2 ) ); -} - -/* - * void accept () - */ -HB_FUNC( QT_QDRAGMOVEEVENT_ACCEPT_1 ) -{ - hbqt_par_QDragMoveEvent( 1 )->accept(); -} - -/* - * QRect answerRect () const - */ -HB_FUNC( QT_QDRAGMOVEEVENT_ANSWERRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QDragMoveEvent( 1 )->answerRect() ) ) ); -} - -/* - * void ignore ( const QRect & rectangle ) - */ -HB_FUNC( QT_QDRAGMOVEEVENT_IGNORE ) -{ - hbqt_par_QDragMoveEvent( 1 )->ignore( *hbqt_par_QRect( 2 ) ); -} - -/* - * void ignore () - */ -HB_FUNC( QT_QDRAGMOVEEVENT_IGNORE_1 ) -{ - hbqt_par_QDragMoveEvent( 1 )->ignore(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QDropEvent.cpp b/harbour/contrib/hbqt/QDropEvent.cpp deleted file mode 100644 index 0fc011a78d..0000000000 --- a/harbour/contrib/hbqt/QDropEvent.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QDropEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop ) - */ - -HB_FUNC( QT_QDROPEVENT ) -{ -} -/* - * void acceptProposedAction () - */ -HB_FUNC( QT_QDROPEVENT_ACCEPTPROPOSEDACTION ) -{ - hbqt_par_QDropEvent( 1 )->acceptProposedAction(); -} - -/* - * Qt::DropAction dropAction () const - */ -HB_FUNC( QT_QDROPEVENT_DROPACTION ) -{ - hb_retni( ( Qt::DropAction ) hbqt_par_QDropEvent( 1 )->dropAction() ); -} - -/* - * Qt::KeyboardModifiers keyboardModifiers () const - */ -HB_FUNC( QT_QDROPEVENT_KEYBOARDMODIFIERS ) -{ - hb_retni( ( Qt::KeyboardModifiers ) hbqt_par_QDropEvent( 1 )->keyboardModifiers() ); -} - -/* - * const QMimeData * mimeData () const - */ -HB_FUNC( QT_QDROPEVENT_MIMEDATA ) -{ - hb_retptr( ( QMimeData* ) hbqt_par_QDropEvent( 1 )->mimeData() ); -} - -/* - * Qt::MouseButtons mouseButtons () const - */ -HB_FUNC( QT_QDROPEVENT_MOUSEBUTTONS ) -{ - hb_retni( ( Qt::MouseButtons ) hbqt_par_QDropEvent( 1 )->mouseButtons() ); -} - -/* - * const QPoint & pos () const - */ -HB_FUNC( QT_QDROPEVENT_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QDropEvent( 1 )->pos() ) ) ); -} - -/* - * Qt::DropActions possibleActions () const - */ -HB_FUNC( QT_QDROPEVENT_POSSIBLEACTIONS ) -{ - hb_retni( ( Qt::DropActions ) hbqt_par_QDropEvent( 1 )->possibleActions() ); -} - -/* - * Qt::DropAction proposedAction () const - */ -HB_FUNC( QT_QDROPEVENT_PROPOSEDACTION ) -{ - hb_retni( ( Qt::DropAction ) hbqt_par_QDropEvent( 1 )->proposedAction() ); -} - -/* - * void setDropAction ( Qt::DropAction action ) - */ -HB_FUNC( QT_QDROPEVENT_SETDROPACTION ) -{ - hbqt_par_QDropEvent( 1 )->setDropAction( ( Qt::DropAction ) hb_parni( 2 ) ); -} - -/* - * QWidget * source () const - */ -HB_FUNC( QT_QDROPEVENT_SOURCE ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QDropEvent( 1 )->source() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QErrorMessage.cpp b/harbour/contrib/hbqt/QErrorMessage.cpp deleted file mode 100644 index f77ac48c9b..0000000000 --- a/harbour/contrib/hbqt/QErrorMessage.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 1/2 [ 50.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * oid showMessage ( const QString & message ) - */ - -#include - -#include - - -/* - * QErrorMessage ( QWidget * parent = 0 ) - * ~QErrorMessage () - */ - -HB_FUNC( QT_QERRORMESSAGE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QErrorMessage > pObj = NULL; - - pObj = ( QErrorMessage* ) new QErrorMessage( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void showMessage ( const QString & message, const QString & type ) - */ -HB_FUNC( QT_QERRORMESSAGE_SHOWMESSAGE ) -{ - hbqt_par_QErrorMessage( 1 )->showMessage( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QEvent.cpp b/harbour/contrib/hbqt/QEvent.cpp deleted file mode 100644 index c6b0fbca1c..0000000000 --- a/harbour/contrib/hbqt/QEvent.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Type { None, AccessibilityDescription, AccessibilityHelp, AccessibilityPrepare, ..., MaxUser } - */ - -#include - -#include - - -/* - * QEvent ( Type type ) - * virtual ~QEvent () - */ - -HB_FUNC( QT_QEVENT ) -{ - void * pObj = NULL; - - pObj = ( QEvent* ) new QEvent( ( QEvent::Type ) hb_parni( 1 ) ) ; - - hb_retptr( pObj ); -} -/* - * void accept () - */ -HB_FUNC( QT_QEVENT_ACCEPT ) -{ - hbqt_par_QEvent( 1 )->accept(); -} - -/* - * void ignore () - */ -HB_FUNC( QT_QEVENT_IGNORE ) -{ - hbqt_par_QEvent( 1 )->ignore(); -} - -/* - * bool isAccepted () const - */ -HB_FUNC( QT_QEVENT_ISACCEPTED ) -{ - hb_retl( hbqt_par_QEvent( 1 )->isAccepted() ); -} - -/* - * void setAccepted ( bool accepted ) - */ -HB_FUNC( QT_QEVENT_SETACCEPTED ) -{ - hbqt_par_QEvent( 1 )->setAccepted( hb_parl( 2 ) ); -} - -/* - * bool spontaneous () const - */ -HB_FUNC( QT_QEVENT_SPONTANEOUS ) -{ - hb_retl( hbqt_par_QEvent( 1 )->spontaneous() ); -} - -/* - * Type type () const - */ -HB_FUNC( QT_QEVENT_TYPE ) -{ - hb_retni( ( QEvent::Type ) hbqt_par_QEvent( 1 )->type() ); -} - -/* - * int registerEventType ( int hint = -1 ) - */ -HB_FUNC( QT_QEVENT_REGISTEREVENTTYPE ) -{ - hb_retni( hbqt_par_QEvent( 1 )->registerEventType( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : -1 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QEventLoop.cpp b/harbour/contrib/hbqt/QEventLoop.cpp deleted file mode 100644 index 7b6ab62b96..0000000000 --- a/harbour/contrib/hbqt/QEventLoop.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ProcessEventsFlag { AllEvents, ExcludeUserInputEvents, ExcludeSocketNotifiers, WaitForMoreEvents, DeferredDeletion } - * flags ProcessEventsFlags - */ - -#include - -#include -#include - -/* - * QEventLoop ( QObject * parent = 0 ) - * ~QEventLoop () - */ - -HB_FUNC( QT_QEVENTLOOP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QEventLoop > pObj = NULL; - - pObj = new QEventLoop( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int exec ( ProcessEventsFlags flags = AllEvents ) - */ -HB_FUNC( QT_QEVENTLOOP_EXEC ) -{ - hb_retni( hbqt_par_QEventLoop( 1 )->exec( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) ) ); -} - -/* - * void exit ( int returnCode = 0 ) - */ -HB_FUNC( QT_QEVENTLOOP_EXIT ) -{ - hbqt_par_QEventLoop( 1 )->exit( hb_parni( 2 ) ); -} - -/* - * bool isRunning () const - */ -HB_FUNC( QT_QEVENTLOOP_ISRUNNING ) -{ - hb_retl( hbqt_par_QEventLoop( 1 )->isRunning() ); -} - -/* - * bool processEvents ( ProcessEventsFlags flags = AllEvents ) - */ -HB_FUNC( QT_QEVENTLOOP_PROCESSEVENTS ) -{ - hb_retl( hbqt_par_QEventLoop( 1 )->processEvents( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) ) ); -} - -/* - * void processEvents ( ProcessEventsFlags flags, int maxTime ) - */ -HB_FUNC( QT_QEVENTLOOP_PROCESSEVENTS_1 ) -{ - hbqt_par_QEventLoop( 1 )->processEvents( ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void wakeUp () - */ -HB_FUNC( QT_QEVENTLOOP_WAKEUP ) -{ - hbqt_par_QEventLoop( 1 )->wakeUp(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFileDialog.cpp b/harbour/contrib/hbqt/QFileDialog.cpp deleted file mode 100644 index 83f4e772f7..0000000000 --- a/harbour/contrib/hbqt/QFileDialog.cpp +++ /dev/null @@ -1,491 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum AcceptMode { AcceptOpen, AcceptSave } - * enum DialogLabel { LookIn, FileName, FileType, Accept, Reject } - * enum FileMode { AnyFile, ExistingFile, Directory, ExistingFiles, DirectoryOnly } - * enum Option { ShowDirsOnly, DontResolveSymlinks, DontConfirmOverwrite, DontUseNativeDialog, ..., DontUseSheet } - * flags Options - * enum ViewMode { Detail, List } - */ - -/* - * Constructed[ 45/51 [ 88.24% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void setSidebarUrls ( const QList & urls ) - * QList sidebarUrls () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // void open ( QObject * receiver, const char * member ) - * //QString getOpenFileName ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 ) - * //QStringList getOpenFileNames ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 ) - * //QString getSaveFileName ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 ) - */ - -#include - -#include - - -/* - * QFileDialog ( QWidget * parent, Qt::WindowFlags flags ) - * QFileDialog ( QWidget * parent = 0, const QString & caption = QString(), const QString & directory = QString(), const QString & filter = QString() ) - * ~QFileDialog () - */ - -HB_FUNC( QT_QFILEDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFileDialog > pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFileDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QFileDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - } - else - { - pObj = new QFileDialog() ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * AcceptMode acceptMode () const - */ -HB_FUNC( QT_QFILEDIALOG_ACCEPTMODE ) -{ - hb_retni( ( QFileDialog::AcceptMode ) hbqt_par_QFileDialog( 1 )->acceptMode() ); -} - -/* - * bool confirmOverwrite () const - */ -HB_FUNC( QT_QFILEDIALOG_CONFIRMOVERWRITE ) -{ - hb_retl( hbqt_par_QFileDialog( 1 )->confirmOverwrite() ); -} - -/* - * QString defaultSuffix () const - */ -HB_FUNC( QT_QFILEDIALOG_DEFAULTSUFFIX ) -{ - hb_retc( hbqt_par_QFileDialog( 1 )->defaultSuffix().toAscii().data() ); -} - -/* - * QDir directory () const - */ -HB_FUNC( QT_QFILEDIALOG_DIRECTORY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDir( hbqt_par_QFileDialog( 1 )->directory() ) ) ); -} - -/* - * FileMode fileMode () const - */ -HB_FUNC( QT_QFILEDIALOG_FILEMODE ) -{ - hb_retni( ( QFileDialog::FileMode ) hbqt_par_QFileDialog( 1 )->fileMode() ); -} - -/* - * QDir::Filters filter () const - */ -HB_FUNC( QT_QFILEDIALOG_FILTER ) -{ - hb_retni( ( QDir::Filters ) hbqt_par_QFileDialog( 1 )->filter() ); -} - -/* - * QStringList history () const - */ -HB_FUNC( QT_QFILEDIALOG_HISTORY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFileDialog( 1 )->history() ) ) ); -} - -/* - * QFileIconProvider * iconProvider () const - */ -HB_FUNC( QT_QFILEDIALOG_ICONPROVIDER ) -{ - hb_retptr( ( QFileIconProvider* ) hbqt_par_QFileDialog( 1 )->iconProvider() ); -} - -/* - * bool isNameFilterDetailsVisible () const - */ -HB_FUNC( QT_QFILEDIALOG_ISNAMEFILTERDETAILSVISIBLE ) -{ - hb_retl( hbqt_par_QFileDialog( 1 )->isNameFilterDetailsVisible() ); -} - -/* - * bool isReadOnly () const - */ -HB_FUNC( QT_QFILEDIALOG_ISREADONLY ) -{ - hb_retl( hbqt_par_QFileDialog( 1 )->isReadOnly() ); -} - -/* - * QAbstractItemDelegate * itemDelegate () const - */ -HB_FUNC( QT_QFILEDIALOG_ITEMDELEGATE ) -{ - hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QFileDialog( 1 )->itemDelegate() ); -} - -/* - * QString labelText ( DialogLabel label ) const - */ -HB_FUNC( QT_QFILEDIALOG_LABELTEXT ) -{ - hb_retc( hbqt_par_QFileDialog( 1 )->labelText( ( QFileDialog::DialogLabel ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QStringList nameFilters () const - */ -HB_FUNC( QT_QFILEDIALOG_NAMEFILTERS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFileDialog( 1 )->nameFilters() ) ) ); -} - -/* - * Options options () const - */ -HB_FUNC( QT_QFILEDIALOG_OPTIONS ) -{ - hb_retni( ( QFileDialog::Options ) hbqt_par_QFileDialog( 1 )->options() ); -} - -/* - * QAbstractProxyModel * proxyModel () const - */ -HB_FUNC( QT_QFILEDIALOG_PROXYMODEL ) -{ - hb_retptr( ( QAbstractProxyModel* ) hbqt_par_QFileDialog( 1 )->proxyModel() ); -} - -/* - * bool resolveSymlinks () const - */ -HB_FUNC( QT_QFILEDIALOG_RESOLVESYMLINKS ) -{ - hb_retl( hbqt_par_QFileDialog( 1 )->resolveSymlinks() ); -} - -/* - * bool restoreState ( const QByteArray & state ) - */ -HB_FUNC( QT_QFILEDIALOG_RESTORESTATE ) -{ - hb_retl( hbqt_par_QFileDialog( 1 )->restoreState( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QByteArray saveState () const - */ -HB_FUNC( QT_QFILEDIALOG_SAVESTATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QFileDialog( 1 )->saveState() ) ) ); -} - -/* - * void selectFile ( const QString & filename ) - */ -HB_FUNC( QT_QFILEDIALOG_SELECTFILE ) -{ - hbqt_par_QFileDialog( 1 )->selectFile( hbqt_par_QString( 2 ) ); -} - -/* - * void selectNameFilter ( const QString & filter ) - */ -HB_FUNC( QT_QFILEDIALOG_SELECTNAMEFILTER ) -{ - hbqt_par_QFileDialog( 1 )->selectNameFilter( hbqt_par_QString( 2 ) ); -} - -/* - * QStringList selectedFiles () const - */ -HB_FUNC( QT_QFILEDIALOG_SELECTEDFILES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFileDialog( 1 )->selectedFiles() ) ) ); -} - -/* - * QString selectedNameFilter () const - */ -HB_FUNC( QT_QFILEDIALOG_SELECTEDNAMEFILTER ) -{ - hb_retc( hbqt_par_QFileDialog( 1 )->selectedNameFilter().toAscii().data() ); -} - -/* - * void setAcceptMode ( AcceptMode mode ) - */ -HB_FUNC( QT_QFILEDIALOG_SETACCEPTMODE ) -{ - hbqt_par_QFileDialog( 1 )->setAcceptMode( ( QFileDialog::AcceptMode ) hb_parni( 2 ) ); -} - -/* - * void setConfirmOverwrite ( bool enabled ) - */ -HB_FUNC( QT_QFILEDIALOG_SETCONFIRMOVERWRITE ) -{ - hbqt_par_QFileDialog( 1 )->setConfirmOverwrite( hb_parl( 2 ) ); -} - -/* - * void setDefaultSuffix ( const QString & suffix ) - */ -HB_FUNC( QT_QFILEDIALOG_SETDEFAULTSUFFIX ) -{ - hbqt_par_QFileDialog( 1 )->setDefaultSuffix( hbqt_par_QString( 2 ) ); -} - -/* - * void setDirectory ( const QString & directory ) - */ -HB_FUNC( QT_QFILEDIALOG_SETDIRECTORY ) -{ - hbqt_par_QFileDialog( 1 )->setDirectory( hbqt_par_QString( 2 ) ); -} - -/* - * void setDirectory ( const QDir & directory ) - */ -HB_FUNC( QT_QFILEDIALOG_SETDIRECTORY_1 ) -{ - hbqt_par_QFileDialog( 1 )->setDirectory( *hbqt_par_QDir( 2 ) ); -} - -/* - * void setFileMode ( FileMode mode ) - */ -HB_FUNC( QT_QFILEDIALOG_SETFILEMODE ) -{ - hbqt_par_QFileDialog( 1 )->setFileMode( ( QFileDialog::FileMode ) hb_parni( 2 ) ); -} - -/* - * void setFilter ( QDir::Filters filters ) - */ -HB_FUNC( QT_QFILEDIALOG_SETFILTER ) -{ - hbqt_par_QFileDialog( 1 )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* - * void setHistory ( const QStringList & paths ) - */ -HB_FUNC( QT_QFILEDIALOG_SETHISTORY ) -{ - hbqt_par_QFileDialog( 1 )->setHistory( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setIconProvider ( QFileIconProvider * provider ) - */ -HB_FUNC( QT_QFILEDIALOG_SETICONPROVIDER ) -{ - hbqt_par_QFileDialog( 1 )->setIconProvider( hbqt_par_QFileIconProvider( 2 ) ); -} - -/* - * void setItemDelegate ( QAbstractItemDelegate * delegate ) - */ -HB_FUNC( QT_QFILEDIALOG_SETITEMDELEGATE ) -{ - hbqt_par_QFileDialog( 1 )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) ); -} - -/* - * void setLabelText ( DialogLabel label, const QString & text ) - */ -HB_FUNC( QT_QFILEDIALOG_SETLABELTEXT ) -{ - hbqt_par_QFileDialog( 1 )->setLabelText( ( QFileDialog::DialogLabel ) hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setNameFilter ( const QString & filter ) - */ -HB_FUNC( QT_QFILEDIALOG_SETNAMEFILTER ) -{ - hbqt_par_QFileDialog( 1 )->setNameFilter( hbqt_par_QString( 2 ) ); -} - -/* - * void setNameFilterDetailsVisible ( bool enabled ) - */ -HB_FUNC( QT_QFILEDIALOG_SETNAMEFILTERDETAILSVISIBLE ) -{ - hbqt_par_QFileDialog( 1 )->setNameFilterDetailsVisible( hb_parl( 2 ) ); -} - -/* - * void setNameFilters ( const QStringList & filters ) - */ -HB_FUNC( QT_QFILEDIALOG_SETNAMEFILTERS ) -{ - hbqt_par_QFileDialog( 1 )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setOption ( Option option, bool on = true ) - */ -HB_FUNC( QT_QFILEDIALOG_SETOPTION ) -{ - hbqt_par_QFileDialog( 1 )->setOption( ( QFileDialog::Option ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( Options options ) - */ -HB_FUNC( QT_QFILEDIALOG_SETOPTIONS ) -{ - hbqt_par_QFileDialog( 1 )->setOptions( ( QFileDialog::Options ) hb_parni( 2 ) ); -} - -/* - * void setProxyModel ( QAbstractProxyModel * proxyModel ) - */ -HB_FUNC( QT_QFILEDIALOG_SETPROXYMODEL ) -{ - hbqt_par_QFileDialog( 1 )->setProxyModel( hbqt_par_QAbstractProxyModel( 2 ) ); -} - -/* - * void setReadOnly ( bool enabled ) - */ -HB_FUNC( QT_QFILEDIALOG_SETREADONLY ) -{ - hbqt_par_QFileDialog( 1 )->setReadOnly( hb_parl( 2 ) ); -} - -/* - * void setResolveSymlinks ( bool enabled ) - */ -HB_FUNC( QT_QFILEDIALOG_SETRESOLVESYMLINKS ) -{ - hbqt_par_QFileDialog( 1 )->setResolveSymlinks( hb_parl( 2 ) ); -} - -/* - * void setViewMode ( ViewMode mode ) - */ -HB_FUNC( QT_QFILEDIALOG_SETVIEWMODE ) -{ - hbqt_par_QFileDialog( 1 )->setViewMode( ( QFileDialog::ViewMode ) hb_parni( 2 ) ); -} - -/* - * bool testOption ( Option option ) const - */ -HB_FUNC( QT_QFILEDIALOG_TESTOPTION ) -{ - hb_retl( hbqt_par_QFileDialog( 1 )->testOption( ( QFileDialog::Option ) hb_parni( 2 ) ) ); -} - -/* - * ViewMode viewMode () const - */ -HB_FUNC( QT_QFILEDIALOG_VIEWMODE ) -{ - hb_retni( ( QFileDialog::ViewMode ) hbqt_par_QFileDialog( 1 )->viewMode() ); -} - -/* - * QString getExistingDirectory ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), Options options = ShowDirsOnly ) - */ -HB_FUNC( QT_QFILEDIALOG_GETEXISTINGDIRECTORY ) -{ - hb_retc( hbqt_par_QFileDialog( 1 )->getExistingDirectory( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QFileDialog::Options ) hb_parni( 5 ) : ( QFileDialog::Options ) QFileDialog::ShowDirsOnly ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFileSystemModel.cpp b/harbour/contrib/hbqt/QFileSystemModel.cpp deleted file mode 100644 index 54f63556e1..0000000000 --- a/harbour/contrib/hbqt/QFileSystemModel.cpp +++ /dev/null @@ -1,353 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Roles { FileIconRole, FilePathRole, FileNameRole, FilePermissions } - */ - -#include - -#include -#include - -/* - * QFileSystemModel ( QObject * parent = 0 ) - * ~QFileSystemModel () - */ - -HB_FUNC( QT_QFILESYSTEMMODEL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFileSystemModel > pObj = NULL; - - pObj = ( QFileSystemModel * ) new QFileSystemModel() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_DROPMIMEDATA ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->dropMimeData( hbqt_par_QMimeData( 2 ), ( Qt::DropAction ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QModelIndex( 6 ) ) ); -} - -/* - * QIcon fileIcon ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILEICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QFileSystemModel( 1 )->fileIcon( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * QFileInfo fileInfo ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILEINFO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFileInfo( hbqt_par_QFileSystemModel( 1 )->fileInfo( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * QString fileName ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILENAME ) -{ - hb_retc( hbqt_par_QFileSystemModel( 1 )->fileName( *hbqt_par_QModelIndex( 2 ) ).toAscii().data() ); -} - -/* - * QString filePath ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILEPATH ) -{ - hb_retc( hbqt_par_QFileSystemModel( 1 )->filePath( *hbqt_par_QModelIndex( 2 ) ).toAscii().data() ); -} - -/* - * QDir::Filters filter () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_FILTER ) -{ - hb_retni( ( QDir::Filters ) hbqt_par_QFileSystemModel( 1 )->filter() ); -} - -/* - * QFileIconProvider * iconProvider () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_ICONPROVIDER ) -{ - hb_retptr( ( QFileIconProvider* ) hbqt_par_QFileSystemModel( 1 )->iconProvider() ); -} - -/* - * QModelIndex index ( const QString & path, int column = 0 ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_INDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QFileSystemModel( 1 )->index( hbqt_par_QString( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * bool isDir ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_ISDIR ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->isDir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * bool isReadOnly () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_ISREADONLY ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->isReadOnly() ); -} - -/* - * QDateTime lastModified ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_LASTMODIFIED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QFileSystemModel( 1 )->lastModified( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_MIMEDATA ) -{ - hb_retptr( ( QMimeData* ) hbqt_par_QFileSystemModel( 1 )->mimeData( *hbqt_par_QModelIndexList( 2 ) ) ); -} - -/* - * virtual QStringList mimeTypes () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_MIMETYPES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFileSystemModel( 1 )->mimeTypes() ) ) ); -} - -/* - * QModelIndex mkdir ( const QModelIndex & parent, const QString & name ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_MKDIR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QFileSystemModel( 1 )->mkdir( *hbqt_par_QModelIndex( 2 ), hbqt_par_QString( 3 ) ) ) ) ); -} - -/* - * QVariant myComputer ( int role = Qt::DisplayRole ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_MYCOMPUTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QFileSystemModel( 1 )->myComputer( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : Qt::DisplayRole ) ) ) ) ); -} - -/* - * bool nameFilterDisables () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_NAMEFILTERDISABLES ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->nameFilterDisables() ); -} - -/* - * QStringList nameFilters () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_NAMEFILTERS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFileSystemModel( 1 )->nameFilters() ) ) ); -} - -/* - * QFile::Permissions permissions ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_PERMISSIONS ) -{ - hb_retni( ( QFile::Permissions ) hbqt_par_QFileSystemModel( 1 )->permissions( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * bool remove ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_REMOVE ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->remove( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * bool resolveSymlinks () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_RESOLVESYMLINKS ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->resolveSymlinks() ); -} - -/* - * bool rmdir ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_RMDIR ) -{ - hb_retl( hbqt_par_QFileSystemModel( 1 )->rmdir( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * QDir rootDirectory () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_ROOTDIRECTORY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDir( hbqt_par_QFileSystemModel( 1 )->rootDirectory() ) ) ); -} - -/* - * QString rootPath () const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_ROOTPATH ) -{ - hb_retc( hbqt_par_QFileSystemModel( 1 )->rootPath().toAscii().data() ); -} - -/* - * void setFilter ( QDir::Filters filters ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETFILTER ) -{ - hbqt_par_QFileSystemModel( 1 )->setFilter( ( QDir::Filters ) hb_parni( 2 ) ); -} - -/* - * void setIconProvider ( QFileIconProvider * provider ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETICONPROVIDER ) -{ - hbqt_par_QFileSystemModel( 1 )->setIconProvider( hbqt_par_QFileIconProvider( 2 ) ); -} - -/* - * void setNameFilterDisables ( bool enable ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETNAMEFILTERDISABLES ) -{ - hbqt_par_QFileSystemModel( 1 )->setNameFilterDisables( hb_parl( 2 ) ); -} - -/* - * void setNameFilters ( const QStringList & filters ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETNAMEFILTERS ) -{ - hbqt_par_QFileSystemModel( 1 )->setNameFilters( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setReadOnly ( bool enable ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETREADONLY ) -{ - hbqt_par_QFileSystemModel( 1 )->setReadOnly( hb_parl( 2 ) ); -} - -/* - * void setResolveSymlinks ( bool enable ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETRESOLVESYMLINKS ) -{ - hbqt_par_QFileSystemModel( 1 )->setResolveSymlinks( hb_parl( 2 ) ); -} - -/* - * QModelIndex setRootPath ( const QString & newPath ) - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SETROOTPATH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QFileSystemModel( 1 )->setRootPath( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * qint64 size ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_SIZE ) -{ - hb_retnint( hbqt_par_QFileSystemModel( 1 )->size( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * QString type ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QFILESYSTEMMODEL_TYPE ) -{ - hb_retc( hbqt_par_QFileSystemModel( 1 )->type( *hbqt_par_QModelIndex( 2 ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFocusEvent.cpp b/harbour/contrib/hbqt/QFocusEvent.cpp deleted file mode 100644 index a1b3fcb958..0000000000 --- a/harbour/contrib/hbqt/QFocusEvent.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QFocusEvent ( Type type, Qt::FocusReason reason = Qt::OtherFocusReason ) - */ - -HB_FUNC( QT_QFOCUSEVENT ) -{ -} -/* - * bool gotFocus () const - */ -HB_FUNC( QT_QFOCUSEVENT_GOTFOCUS ) -{ - hb_retl( hbqt_par_QFocusEvent( 1 )->gotFocus() ); -} - -/* - * bool lostFocus () const - */ -HB_FUNC( QT_QFOCUSEVENT_LOSTFOCUS ) -{ - hb_retl( hbqt_par_QFocusEvent( 1 )->lostFocus() ); -} - -/* - * Qt::FocusReason reason () const - */ -HB_FUNC( QT_QFOCUSEVENT_REASON ) -{ - hb_retni( ( Qt::FocusReason ) hbqt_par_QFocusEvent( 1 )->reason() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFocusFrame.cpp b/harbour/contrib/hbqt/QFocusFrame.cpp deleted file mode 100644 index 3cb42b684f..0000000000 --- a/harbour/contrib/hbqt/QFocusFrame.cpp +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QFocusFrame ( QWidget * parent = 0 ) - * ~QFocusFrame () - */ - -HB_FUNC( QT_QFOCUSFRAME ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFocusFrame > pObj = NULL; - - pObj = ( QFocusFrame* ) new QFocusFrame( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void setWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QFOCUSFRAME_SETWIDGET ) -{ - hbqt_par_QFocusFrame( 1 )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * QWidget * widget () const - */ -HB_FUNC( QT_QFOCUSFRAME_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QFocusFrame( 1 )->widget() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFont.cpp b/harbour/contrib/hbqt/QFont.cpp deleted file mode 100644 index cf0da9bb37..0000000000 --- a/harbour/contrib/hbqt/QFont.cpp +++ /dev/null @@ -1,597 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Capitalization { MixedCase, AllUppercase, AllLowercase, SmallCaps, Capitalize } - * enum SpacingType { PercentageSpacing, AbsoluteSpacing } - * enum Stretch { UltraCondensed, ExtraCondensed, Condensed, SemiCondensed, ..., UltraExpanded } - * enum Style { StyleNormal, StyleItalic, StyleOblique } - * enum StyleHint { AnyStyle, SansSerif, Helvetica, Serif, ..., System } - * enum StyleStrategy { PreferDefault, PreferBitmap, PreferDevice, PreferOutline, ..., PreferQuality } - * enum Weight { Light, Normal, DemiBold, Bold, Black } - */ - -#include - -#include -#include - -/* - * QFont () - * QFont ( const QString & family, int pointSize = -1, int weight = -1, bool italic = false ) - * QFont ( const QFont & font, QPaintDevice * pd ) - * QFont ( const QFont & font ) - * ~QFont () - */ - -HB_FUNC( QT_QFONT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QFont* ) new QFont( hbqt_par_QString( 1 ), -1, -1, false ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QFont* ) new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), -1, false ) ; - } - else if( hb_pcount() == 3 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = ( QFont* ) new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), hb_parni( 3 ), false ) ; - } - else if( hb_pcount() == 4 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISLOG( 4 ) ) - { - pObj = ( QFont* ) new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parl( 4 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QFont* ) new QFont( *hbqt_par_QFont( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QFont* ) new QFont( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ; - } - else - { - pObj = ( QFont* ) new QFont() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QFont" ); - hb_retptrGC( p ); -} -/* - * bool bold () const - */ -HB_FUNC( QT_QFONT_BOLD ) -{ - hb_retl( hbqt_par_QFont( 1 )->bold() ); -} - -/* - * Capitalization capitalization () const - */ -HB_FUNC( QT_QFONT_CAPITALIZATION ) -{ - hb_retni( ( QFont::Capitalization ) hbqt_par_QFont( 1 )->capitalization() ); -} - -/* - * QString defaultFamily () const - */ -HB_FUNC( QT_QFONT_DEFAULTFAMILY ) -{ - hb_retc( hbqt_par_QFont( 1 )->defaultFamily().toAscii().data() ); -} - -/* - * bool exactMatch () const - */ -HB_FUNC( QT_QFONT_EXACTMATCH ) -{ - hb_retl( hbqt_par_QFont( 1 )->exactMatch() ); -} - -/* - * QString family () const - */ -HB_FUNC( QT_QFONT_FAMILY ) -{ - hb_retc( hbqt_par_QFont( 1 )->family().toAscii().data() ); -} - -/* - * bool fixedPitch () const - */ -HB_FUNC( QT_QFONT_FIXEDPITCH ) -{ - hb_retl( hbqt_par_QFont( 1 )->fixedPitch() ); -} - -/* - * bool fromString ( const QString & descrip ) - */ -HB_FUNC( QT_QFONT_FROMSTRING ) -{ - hb_retl( hbqt_par_QFont( 1 )->fromString( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool italic () const - */ -HB_FUNC( QT_QFONT_ITALIC ) -{ - hb_retl( hbqt_par_QFont( 1 )->italic() ); -} - -/* - * bool kerning () const - */ -HB_FUNC( QT_QFONT_KERNING ) -{ - hb_retl( hbqt_par_QFont( 1 )->kerning() ); -} - -/* - * QString key () const - */ -HB_FUNC( QT_QFONT_KEY ) -{ - hb_retc( hbqt_par_QFont( 1 )->key().toAscii().data() ); -} - -/* - * QString lastResortFamily () const - */ -HB_FUNC( QT_QFONT_LASTRESORTFAMILY ) -{ - hb_retc( hbqt_par_QFont( 1 )->lastResortFamily().toAscii().data() ); -} - -/* - * QString lastResortFont () const - */ -HB_FUNC( QT_QFONT_LASTRESORTFONT ) -{ - hb_retc( hbqt_par_QFont( 1 )->lastResortFont().toAscii().data() ); -} - -/* - * qreal letterSpacing () const - */ -HB_FUNC( QT_QFONT_LETTERSPACING ) -{ - hb_retnd( hbqt_par_QFont( 1 )->letterSpacing() ); -} - -/* - * SpacingType letterSpacingType () const - */ -HB_FUNC( QT_QFONT_LETTERSPACINGTYPE ) -{ - hb_retni( ( QFont::SpacingType ) hbqt_par_QFont( 1 )->letterSpacingType() ); -} - -/* - * bool overline () const - */ -HB_FUNC( QT_QFONT_OVERLINE ) -{ - hb_retl( hbqt_par_QFont( 1 )->overline() ); -} - -/* - * int pixelSize () const - */ -HB_FUNC( QT_QFONT_PIXELSIZE ) -{ - hb_retni( hbqt_par_QFont( 1 )->pixelSize() ); -} - -/* - * int pointSize () const - */ -HB_FUNC( QT_QFONT_POINTSIZE ) -{ - hb_retni( hbqt_par_QFont( 1 )->pointSize() ); -} - -/* - * qreal pointSizeF () const - */ -HB_FUNC( QT_QFONT_POINTSIZEF ) -{ - hb_retnd( hbqt_par_QFont( 1 )->pointSizeF() ); -} - -/* - * bool rawMode () const - */ -HB_FUNC( QT_QFONT_RAWMODE ) -{ - hb_retl( hbqt_par_QFont( 1 )->rawMode() ); -} - -/* - * QString rawName () const - */ -HB_FUNC( QT_QFONT_RAWNAME ) -{ - hb_retc( hbqt_par_QFont( 1 )->rawName().toAscii().data() ); -} - -/* - * void setBold ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETBOLD ) -{ - hbqt_par_QFont( 1 )->setBold( hb_parl( 2 ) ); -} - -/* - * void setCapitalization ( Capitalization caps ) - */ -HB_FUNC( QT_QFONT_SETCAPITALIZATION ) -{ - hbqt_par_QFont( 1 )->setCapitalization( ( QFont::Capitalization ) hb_parni( 2 ) ); -} - -/* - * void setFamily ( const QString & family ) - */ -HB_FUNC( QT_QFONT_SETFAMILY ) -{ - hbqt_par_QFont( 1 )->setFamily( hbqt_par_QString( 2 ) ); -} - -/* - * void setFixedPitch ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETFIXEDPITCH ) -{ - hbqt_par_QFont( 1 )->setFixedPitch( hb_parl( 2 ) ); -} - -/* - * void setItalic ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETITALIC ) -{ - hbqt_par_QFont( 1 )->setItalic( hb_parl( 2 ) ); -} - -/* - * void setKerning ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETKERNING ) -{ - hbqt_par_QFont( 1 )->setKerning( hb_parl( 2 ) ); -} - -/* - * void setLetterSpacing ( SpacingType type, qreal spacing ) - */ -HB_FUNC( QT_QFONT_SETLETTERSPACING ) -{ - hbqt_par_QFont( 1 )->setLetterSpacing( ( QFont::SpacingType ) hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setOverline ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETOVERLINE ) -{ - hbqt_par_QFont( 1 )->setOverline( hb_parl( 2 ) ); -} - -/* - * void setPixelSize ( int pixelSize ) - */ -HB_FUNC( QT_QFONT_SETPIXELSIZE ) -{ - hbqt_par_QFont( 1 )->setPixelSize( hb_parni( 2 ) ); -} - -/* - * void setPointSize ( int pointSize ) - */ -HB_FUNC( QT_QFONT_SETPOINTSIZE ) -{ - hbqt_par_QFont( 1 )->setPointSize( hb_parni( 2 ) ); -} - -/* - * void setPointSizeF ( qreal pointSize ) - */ -HB_FUNC( QT_QFONT_SETPOINTSIZEF ) -{ - hbqt_par_QFont( 1 )->setPointSizeF( hb_parnd( 2 ) ); -} - -/* - * void setRawMode ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETRAWMODE ) -{ - hbqt_par_QFont( 1 )->setRawMode( hb_parl( 2 ) ); -} - -/* - * void setRawName ( const QString & name ) - */ -HB_FUNC( QT_QFONT_SETRAWNAME ) -{ - hbqt_par_QFont( 1 )->setRawName( hbqt_par_QString( 2 ) ); -} - -/* - * void setStretch ( int factor ) - */ -HB_FUNC( QT_QFONT_SETSTRETCH ) -{ - hbqt_par_QFont( 1 )->setStretch( hb_parni( 2 ) ); -} - -/* - * void setStrikeOut ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETSTRIKEOUT ) -{ - hbqt_par_QFont( 1 )->setStrikeOut( hb_parl( 2 ) ); -} - -/* - * void setStyle ( Style style ) - */ -HB_FUNC( QT_QFONT_SETSTYLE ) -{ - hbqt_par_QFont( 1 )->setStyle( ( QFont::Style ) hb_parni( 2 ) ); -} - -/* - * void setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault ) - */ -HB_FUNC( QT_QFONT_SETSTYLEHINT ) -{ - hbqt_par_QFont( 1 )->setStyleHint( ( QFont::StyleHint ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QFont::StyleStrategy ) hb_parni( 3 ) : ( QFont::StyleStrategy ) QFont::PreferDefault ) ); -} - -/* - * void setStyleStrategy ( StyleStrategy s ) - */ -HB_FUNC( QT_QFONT_SETSTYLESTRATEGY ) -{ - hbqt_par_QFont( 1 )->setStyleStrategy( ( QFont::StyleStrategy ) hb_parni( 2 ) ); -} - -/* - * void setUnderline ( bool enable ) - */ -HB_FUNC( QT_QFONT_SETUNDERLINE ) -{ - hbqt_par_QFont( 1 )->setUnderline( hb_parl( 2 ) ); -} - -/* - * void setWeight ( int weight ) - */ -HB_FUNC( QT_QFONT_SETWEIGHT ) -{ - hbqt_par_QFont( 1 )->setWeight( hb_parni( 2 ) ); -} - -/* - * void setWordSpacing ( qreal spacing ) - */ -HB_FUNC( QT_QFONT_SETWORDSPACING ) -{ - hbqt_par_QFont( 1 )->setWordSpacing( hb_parnd( 2 ) ); -} - -/* - * int stretch () const - */ -HB_FUNC( QT_QFONT_STRETCH ) -{ - hb_retni( hbqt_par_QFont( 1 )->stretch() ); -} - -/* - * bool strikeOut () const - */ -HB_FUNC( QT_QFONT_STRIKEOUT ) -{ - hb_retl( hbqt_par_QFont( 1 )->strikeOut() ); -} - -/* - * Style style () const - */ -HB_FUNC( QT_QFONT_STYLE ) -{ - hb_retni( ( QFont::Style ) hbqt_par_QFont( 1 )->style() ); -} - -/* - * StyleHint styleHint () const - */ -HB_FUNC( QT_QFONT_STYLEHINT ) -{ - hb_retni( ( QFont::StyleHint ) hbqt_par_QFont( 1 )->styleHint() ); -} - -/* - * StyleStrategy styleStrategy () const - */ -HB_FUNC( QT_QFONT_STYLESTRATEGY ) -{ - hb_retni( ( QFont::StyleStrategy ) hbqt_par_QFont( 1 )->styleStrategy() ); -} - -/* - * QString toString () const - */ -HB_FUNC( QT_QFONT_TOSTRING ) -{ - hb_retc( hbqt_par_QFont( 1 )->toString().toAscii().data() ); -} - -/* - * bool underline () const - */ -HB_FUNC( QT_QFONT_UNDERLINE ) -{ - hb_retl( hbqt_par_QFont( 1 )->underline() ); -} - -/* - * int weight () const - */ -HB_FUNC( QT_QFONT_WEIGHT ) -{ - hb_retni( hbqt_par_QFont( 1 )->weight() ); -} - -/* - * qreal wordSpacing () const - */ -HB_FUNC( QT_QFONT_WORDSPACING ) -{ - hb_retnd( hbqt_par_QFont( 1 )->wordSpacing() ); -} - -/* - * void cleanup () - */ -HB_FUNC( QT_QFONT_CLEANUP ) -{ - hbqt_par_QFont( 1 )->cleanup(); -} - -/* - * void initialize () - */ -HB_FUNC( QT_QFONT_INITIALIZE ) -{ - hbqt_par_QFont( 1 )->initialize(); -} - -/* - * void insertSubstitution ( const QString & familyName, const QString & substituteName ) - */ -HB_FUNC( QT_QFONT_INSERTSUBSTITUTION ) -{ - hbqt_par_QFont( 1 )->insertSubstitution( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void insertSubstitutions ( const QString & familyName, const QStringList & substituteNames ) - */ -HB_FUNC( QT_QFONT_INSERTSUBSTITUTIONS ) -{ - hbqt_par_QFont( 1 )->insertSubstitutions( hbqt_par_QString( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* - * void removeSubstitution ( const QString & familyName ) - */ -HB_FUNC( QT_QFONT_REMOVESUBSTITUTION ) -{ - hbqt_par_QFont( 1 )->removeSubstitution( hbqt_par_QString( 2 ) ); -} - -/* - * QString substitute ( const QString & familyName ) - */ -HB_FUNC( QT_QFONT_SUBSTITUTE ) -{ - hb_retc( hbqt_par_QFont( 1 )->substitute( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QStringList substitutes ( const QString & familyName ) - */ -HB_FUNC( QT_QFONT_SUBSTITUTES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFont( 1 )->substitutes( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QStringList substitutions () - */ -HB_FUNC( QT_QFONT_SUBSTITUTIONS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFont( 1 )->substitutions() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFontComboBox.cpp b/harbour/contrib/hbqt/QFontComboBox.cpp deleted file mode 100644 index 867ec177c5..0000000000 --- a/harbour/contrib/hbqt/QFontComboBox.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FontFilter { AllFonts, ScalableFonts, NonScalableFonts, MonospacedFonts, ProportionalFonts } - * flags FontFilters - */ - -#include - -#include - - -/* - * QFontComboBox ( QWidget * parent = 0 ) - * ~QFontComboBox () - */ - -HB_FUNC( QT_QFONTCOMBOBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFontComboBox > pObj = NULL; - - pObj = ( QFontComboBox * ) new QFontComboBox( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QFont currentFont () const - */ -HB_FUNC( QT_QFONTCOMBOBOX_CURRENTFONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontComboBox( 1 )->currentFont() ) ) ); -} - -/* - * FontFilters fontFilters () const - */ -HB_FUNC( QT_QFONTCOMBOBOX_FONTFILTERS ) -{ - hb_retni( ( QFontComboBox::FontFilters ) hbqt_par_QFontComboBox( 1 )->fontFilters() ); -} - -/* - * void setFontFilters ( FontFilters filters ) - */ -HB_FUNC( QT_QFONTCOMBOBOX_SETFONTFILTERS ) -{ - hbqt_par_QFontComboBox( 1 )->setFontFilters( ( QFontComboBox::FontFilters ) hb_parni( 2 ) ); -} - -/* - * void setWritingSystem ( QFontDatabase::WritingSystem script ) - */ -HB_FUNC( QT_QFONTCOMBOBOX_SETWRITINGSYSTEM ) -{ - hbqt_par_QFontComboBox( 1 )->setWritingSystem( ( QFontDatabase::WritingSystem ) hb_parni( 2 ) ); -} - -/* - * QFontDatabase::WritingSystem writingSystem () const - */ -HB_FUNC( QT_QFONTCOMBOBOX_WRITINGSYSTEM ) -{ - hb_retni( ( QFontDatabase::WritingSystem ) hbqt_par_QFontComboBox( 1 )->writingSystem() ); -} - -/* - * void setCurrentFont ( const QFont & font ) - */ -HB_FUNC( QT_QFONTCOMBOBOX_SETCURRENTFONT ) -{ - hbqt_par_QFontComboBox( 1 )->setCurrentFont( *hbqt_par_QFont( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFontDatabase.cpp b/harbour/contrib/hbqt/QFontDatabase.cpp deleted file mode 100644 index 3866badaaa..0000000000 --- a/harbour/contrib/hbqt/QFontDatabase.cpp +++ /dev/null @@ -1,267 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum WritingSystem { Any, Latin, Greek, Cyrillic, ..., Runic } - */ - -/* - * Constructed[ 20/25 [ 80.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList pointSizes ( const QString & family, const QString & style = QString() ) - * QList smoothSizes ( const QString & family, const QString & style ) - * QList writingSystems () const - * QList writingSystems ( const QString & family ) const - * QList standardSizes () - */ - -#include - -#include -#include - - -/* - * QFontDatabase () - */ - -HB_FUNC( QT_QFONTDATABASE ) -{ - void * pObj = NULL; - - pObj = new QFontDatabase() ; - - hb_retptr( pObj ); -} -/* - * bool bold ( const QString & family, const QString & style ) const - */ -HB_FUNC( QT_QFONTDATABASE_BOLD ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->bold( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QStringList families ( WritingSystem writingSystem = Any ) const - */ -HB_FUNC( QT_QFONTDATABASE_FAMILIES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFontDatabase( 1 )->families( ( HB_ISNUM( 2 ) ? ( QFontDatabase::WritingSystem ) hb_parni( 2 ) : ( QFontDatabase::WritingSystem ) QFontDatabase::Any ) ) ) ) ); -} - -/* - * QFont font ( const QString & family, const QString & style, int pointSize ) const - */ -HB_FUNC( QT_QFONTDATABASE_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDatabase( 1 )->font( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ), hb_parni( 4 ) ) ) ) ); -} - -/* - * bool isBitmapScalable ( const QString & family, const QString & style = QString() ) const - */ -HB_FUNC( QT_QFONTDATABASE_ISBITMAPSCALABLE ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->isBitmapScalable( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool isFixedPitch ( const QString & family, const QString & style = QString() ) const - */ -HB_FUNC( QT_QFONTDATABASE_ISFIXEDPITCH ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->isFixedPitch( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool isScalable ( const QString & family, const QString & style = QString() ) const - */ -HB_FUNC( QT_QFONTDATABASE_ISSCALABLE ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->isScalable( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool isSmoothlyScalable ( const QString & family, const QString & style = QString() ) const - */ -HB_FUNC( QT_QFONTDATABASE_ISSMOOTHLYSCALABLE ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->isSmoothlyScalable( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool italic ( const QString & family, const QString & style ) const - */ -HB_FUNC( QT_QFONTDATABASE_ITALIC ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->italic( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QString styleString ( const QFont & font ) - */ -HB_FUNC( QT_QFONTDATABASE_STYLESTRING ) -{ - hb_retc( hbqt_par_QFontDatabase( 1 )->styleString( *hbqt_par_QFont( 2 ) ).toAscii().data() ); -} - -/* - * QString styleString ( const QFontInfo & fontInfo ) - */ -HB_FUNC( QT_QFONTDATABASE_STYLESTRING_1 ) -{ - hb_retc( hbqt_par_QFontDatabase( 1 )->styleString( *hbqt_par_QFontInfo( 2 ) ).toAscii().data() ); -} - -/* - * QStringList styles ( const QString & family ) const - */ -HB_FUNC( QT_QFONTDATABASE_STYLES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFontDatabase( 1 )->styles( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * int weight ( const QString & family, const QString & style ) const - */ -HB_FUNC( QT_QFONTDATABASE_WEIGHT ) -{ - hb_retni( hbqt_par_QFontDatabase( 1 )->weight( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * int addApplicationFont ( const QString & fileName ) - */ -HB_FUNC( QT_QFONTDATABASE_ADDAPPLICATIONFONT ) -{ - hb_retni( hbqt_par_QFontDatabase( 1 )->addApplicationFont( hbqt_par_QString( 2 ) ) ); -} - -/* - * int addApplicationFontFromData ( const QByteArray & fontData ) - */ -HB_FUNC( QT_QFONTDATABASE_ADDAPPLICATIONFONTFROMDATA ) -{ - hb_retni( hbqt_par_QFontDatabase( 1 )->addApplicationFontFromData( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QStringList applicationFontFamilies ( int id ) - */ -HB_FUNC( QT_QFONTDATABASE_APPLICATIONFONTFAMILIES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QFontDatabase( 1 )->applicationFontFamilies( hb_parni( 2 ) ) ) ) ); -} - -/* - * bool removeAllApplicationFonts () - */ -HB_FUNC( QT_QFONTDATABASE_REMOVEALLAPPLICATIONFONTS ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->removeAllApplicationFonts() ); -} - -/* - * bool removeApplicationFont ( int id ) - */ -HB_FUNC( QT_QFONTDATABASE_REMOVEAPPLICATIONFONT ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->removeApplicationFont( hb_parni( 2 ) ) ); -} - -/* - * bool supportsThreadedFontRendering () - */ -HB_FUNC( QT_QFONTDATABASE_SUPPORTSTHREADEDFONTRENDERING ) -{ - hb_retl( hbqt_par_QFontDatabase( 1 )->supportsThreadedFontRendering() ); -} - -/* - * QString writingSystemName ( WritingSystem writingSystem ) - */ -HB_FUNC( QT_QFONTDATABASE_WRITINGSYSTEMNAME ) -{ - hb_retc( hbqt_par_QFontDatabase( 1 )->writingSystemName( ( QFontDatabase::WritingSystem ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString writingSystemSample ( WritingSystem writingSystem ) - */ -HB_FUNC( QT_QFONTDATABASE_WRITINGSYSTEMSAMPLE ) -{ - hb_retc( hbqt_par_QFontDatabase( 1 )->writingSystemSample( ( QFontDatabase::WritingSystem ) hb_parni( 2 ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFontDialog.cpp b/harbour/contrib/hbqt/QFontDialog.cpp deleted file mode 100644 index bbc82860bc..0000000000 --- a/harbour/contrib/hbqt/QFontDialog.cpp +++ /dev/null @@ -1,225 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FontDialogOption { NoButtons, DontUseNativeDialog } - * flags FontDialogOptions - */ - -#include - -#include - - -/* - * QFontDialog ( QWidget * parent = 0 ) - * QFontDialog ( const QFont & initial, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QFONTDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFontDialog > pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontDialog( hbqt_par_QWidget( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontDialog( *hbqt_par_QFont( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = new QFontDialog( 0 ) ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QFont currentFont () const - */ -HB_FUNC( QT_QFONTDIALOG_CURRENTFONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->currentFont() ) ) ); -} - -/* - * FontDialogOptions options () const - */ -HB_FUNC( QT_QFONTDIALOG_OPTIONS ) -{ - hb_retni( ( QFontDialog::FontDialogOptions ) hbqt_par_QFontDialog( 1 )->options() ); -} - -/* - * QFont selectedFont () const - */ -HB_FUNC( QT_QFONTDIALOG_SELECTEDFONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->selectedFont() ) ) ); -} - -/* - * void setCurrentFont ( const QFont & font ) - */ -HB_FUNC( QT_QFONTDIALOG_SETCURRENTFONT ) -{ - hbqt_par_QFontDialog( 1 )->setCurrentFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setOption ( FontDialogOption option, bool on = true ) - */ -HB_FUNC( QT_QFONTDIALOG_SETOPTION ) -{ - hbqt_par_QFontDialog( 1 )->setOption( ( QFontDialog::FontDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( FontDialogOptions options ) - */ -HB_FUNC( QT_QFONTDIALOG_SETOPTIONS ) -{ - hbqt_par_QFontDialog( 1 )->setOptions( ( QFontDialog::FontDialogOptions ) hb_parni( 2 ) ); -} - -/* - * bool testOption ( FontDialogOption option ) const - */ -HB_FUNC( QT_QFONTDIALOG_TESTOPTION ) -{ - hb_retl( hbqt_par_QFontDialog( 1 )->testOption( ( QFontDialog::FontDialogOption ) hb_parni( 2 ) ) ); -} - -/* - * QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title, FontDialogOptions options ) - */ -HB_FUNC( QT_QFONTDIALOG_GETFONT ) -{ - bool iOk = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ), hbqt_par_QString( 5 ), ( QFontDialog::FontDialogOptions ) hb_parni( 6 ) ) ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const char * name ) - */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_1 ) -{ - bool iOk = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ), hbqt_par_char( 5 ) ) ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title ) - */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_2 ) -{ - bool iOk = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ), hbqt_par_QString( 5 ) ) ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QFont getFont ( bool * ok, const QFont & initial, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_3 ) -{ - bool iOk = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->getFont( &iOk, *hbqt_par_QFont( 3 ), hbqt_par_QWidget( 4 ) ) ) ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QFont getFont ( bool * ok, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QFONTDIALOG_GETFONT_4 ) -{ - bool iOk = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QFontDialog( 1 )->getFont( &iOk, hbqt_par_QWidget( 3 ) ) ) ) ); - - hb_stornl( iOk, 2 ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFontInfo.cpp b/harbour/contrib/hbqt/QFontInfo.cpp deleted file mode 100644 index 167a4f5b16..0000000000 --- a/harbour/contrib/hbqt/QFontInfo.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QFontInfo ( const QFont & font ) - * QFontInfo ( const QFontInfo & fi ) - * ~QFontInfo () - */ - -HB_FUNC( QT_QFONTINFO ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontInfo( *hbqt_par_QFontInfo( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontInfo( *hbqt_par_QFont( 2 ) ) ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QFontInfo" ); - hb_retptrGC( p ); -} -/* - * bool bold () const - */ -HB_FUNC( QT_QFONTINFO_BOLD ) -{ - hb_retl( hbqt_par_QFontInfo( 1 )->bold() ); -} - -/* - * bool exactMatch () const - */ -HB_FUNC( QT_QFONTINFO_EXACTMATCH ) -{ - hb_retl( hbqt_par_QFontInfo( 1 )->exactMatch() ); -} - -/* - * QString family () const - */ -HB_FUNC( QT_QFONTINFO_FAMILY ) -{ - hb_retc( hbqt_par_QFontInfo( 1 )->family().toAscii().data() ); -} - -/* - * bool fixedPitch () const - */ -HB_FUNC( QT_QFONTINFO_FIXEDPITCH ) -{ - hb_retl( hbqt_par_QFontInfo( 1 )->fixedPitch() ); -} - -/* - * bool italic () const - */ -HB_FUNC( QT_QFONTINFO_ITALIC ) -{ - hb_retl( hbqt_par_QFontInfo( 1 )->italic() ); -} - -/* - * int pixelSize () const - */ -HB_FUNC( QT_QFONTINFO_PIXELSIZE ) -{ - hb_retni( hbqt_par_QFontInfo( 1 )->pixelSize() ); -} - -/* - * int pointSize () const - */ -HB_FUNC( QT_QFONTINFO_POINTSIZE ) -{ - hb_retni( hbqt_par_QFontInfo( 1 )->pointSize() ); -} - -/* - * qreal pointSizeF () const - */ -HB_FUNC( QT_QFONTINFO_POINTSIZEF ) -{ - hb_retnd( hbqt_par_QFontInfo( 1 )->pointSizeF() ); -} - -/* - * bool rawMode () const - */ -HB_FUNC( QT_QFONTINFO_RAWMODE ) -{ - hb_retl( hbqt_par_QFontInfo( 1 )->rawMode() ); -} - -/* - * QFont::Style style () const - */ -HB_FUNC( QT_QFONTINFO_STYLE ) -{ - hb_retni( ( QFont::Style ) hbqt_par_QFontInfo( 1 )->style() ); -} - -/* - * QFont::StyleHint styleHint () const - */ -HB_FUNC( QT_QFONTINFO_STYLEHINT ) -{ - hb_retni( ( QFont::StyleHint ) hbqt_par_QFontInfo( 1 )->styleHint() ); -} - -/* - * int weight () const - */ -HB_FUNC( QT_QFONTINFO_WEIGHT ) -{ - hb_retni( hbqt_par_QFontInfo( 1 )->weight() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFontMetrics.cpp b/harbour/contrib/hbqt/QFontMetrics.cpp deleted file mode 100644 index 6886625829..0000000000 --- a/harbour/contrib/hbqt/QFontMetrics.cpp +++ /dev/null @@ -1,329 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QFontMetrics ( const QFont & font ) - * QFontMetrics ( const QFont & font, QPaintDevice * paintdevice ) - * QFontMetrics ( const QFontMetrics & fm ) - * ~QFontMetrics () - */ - -HB_FUNC( QT_QFONTMETRICS ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QFontMetrics( *hbqt_par_QFontMetrics( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( hbqt_par_QString( 1 ) == ( QString ) "QFont" ) - { - pObj = new QFontMetrics( *hbqt_par_QFont( 2 ) ) ; - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = new QFontMetrics( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QFontMetrics" ); - hb_retptrGC( p ); -} -/* - * int ascent () const - */ -HB_FUNC( QT_QFONTMETRICS_ASCENT ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->ascent() ); -} - -/* - * int averageCharWidth () const - */ -HB_FUNC( QT_QFONTMETRICS_AVERAGECHARWIDTH ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->averageCharWidth() ); -} - -/* - * QRect boundingRect ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QFontMetrics( 1 )->boundingRect( hb_parni( 2 ) ) ) ) ); -} - -/* - * QRect boundingRect ( const QString & text ) const - */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QFontMetrics( 1 )->boundingRect( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QRect boundingRect ( int x, int y, int width, int height, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT_2 ) -{ - int iTabArray = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QFontMetrics( 1 )->boundingRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ), hb_parni( 8 ), &iTabArray ) ) ) ); - - hb_storni( iTabArray, 9 ); -} - -/* - * QRect boundingRect ( const QRect & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICS_BOUNDINGRECT_3 ) -{ - int iTabArray = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QFontMetrics( 1 )->boundingRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), hb_parni( 5 ), &iTabArray ) ) ) ); - - hb_storni( iTabArray, 6 ); -} - -/* - * int descent () const - */ -HB_FUNC( QT_QFONTMETRICS_DESCENT ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->descent() ); -} - -/* - * QString elidedText ( const QString & text, Qt::TextElideMode mode, int width, int flags = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICS_ELIDEDTEXT ) -{ - hb_retc( hbqt_par_QFontMetrics( 1 )->elidedText( hbqt_par_QString( 2 ), ( Qt::TextElideMode ) hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ).toAscii().data() ); -} - -/* - * int height () const - */ -HB_FUNC( QT_QFONTMETRICS_HEIGHT ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->height() ); -} - -/* - * bool inFont ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICS_INFONT ) -{ - hb_retl( hbqt_par_QFontMetrics( 1 )->inFont( hb_parni( 2 ) ) ); -} - -/* - * int leading () const - */ -HB_FUNC( QT_QFONTMETRICS_LEADING ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->leading() ); -} - -/* - * int leftBearing ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICS_LEFTBEARING ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->leftBearing( hb_parni( 2 ) ) ); -} - -/* - * int lineSpacing () const - */ -HB_FUNC( QT_QFONTMETRICS_LINESPACING ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->lineSpacing() ); -} - -/* - * int lineWidth () const - */ -HB_FUNC( QT_QFONTMETRICS_LINEWIDTH ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->lineWidth() ); -} - -/* - * int maxWidth () const - */ -HB_FUNC( QT_QFONTMETRICS_MAXWIDTH ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->maxWidth() ); -} - -/* - * int minLeftBearing () const - */ -HB_FUNC( QT_QFONTMETRICS_MINLEFTBEARING ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->minLeftBearing() ); -} - -/* - * int minRightBearing () const - */ -HB_FUNC( QT_QFONTMETRICS_MINRIGHTBEARING ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->minRightBearing() ); -} - -/* - * int overlinePos () const - */ -HB_FUNC( QT_QFONTMETRICS_OVERLINEPOS ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->overlinePos() ); -} - -/* - * int rightBearing ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICS_RIGHTBEARING ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->rightBearing( hb_parni( 2 ) ) ); -} - -/* - * QSize size ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICS_SIZE ) -{ - int iTabArray = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QFontMetrics( 1 )->size( hb_parni( 2 ), hbqt_par_QString( 3 ), hb_parni( 4 ), &iTabArray ) ) ) ); - - hb_storni( iTabArray, 5 ); -} - -/* - * int strikeOutPos () const - */ -HB_FUNC( QT_QFONTMETRICS_STRIKEOUTPOS ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->strikeOutPos() ); -} - -/* - * QRect tightBoundingRect ( const QString & text ) const - */ -HB_FUNC( QT_QFONTMETRICS_TIGHTBOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QFontMetrics( 1 )->tightBoundingRect( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * int underlinePos () const - */ -HB_FUNC( QT_QFONTMETRICS_UNDERLINEPOS ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->underlinePos() ); -} - -/* - * int width ( const QString & text, int len = -1 ) const - */ -HB_FUNC( QT_QFONTMETRICS_WIDTH ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->width( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1 ) ) ); -} - -/* - * int width ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICS_WIDTH_1 ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->width( hb_parni( 2 ) ) ); -} - -/* - * int xHeight () const - */ -HB_FUNC( QT_QFONTMETRICS_XHEIGHT ) -{ - hb_retni( hbqt_par_QFontMetrics( 1 )->xHeight() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFontMetricsF.cpp b/harbour/contrib/hbqt/QFontMetricsF.cpp deleted file mode 100644 index 8d6e3f1b07..0000000000 --- a/harbour/contrib/hbqt/QFontMetricsF.cpp +++ /dev/null @@ -1,319 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QFontMetricsF ( const QFont & font ) - * QFontMetricsF ( const QFont & font, QPaintDevice * paintdevice ) - * QFontMetricsF ( const QFontMetrics & fontMetrics ) - * QFontMetricsF ( const QFontMetricsF & fm ) - * ~QFontMetricsF () - */ - -HB_FUNC( QT_QFONTMETRICSF ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFontMetricsF( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( hbqt_par_QString( 1 ) == ( QString ) "QFont" ) - { - pObj = ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFont( 2 ) ) ; - } - else if( hbqt_par_QString( 1 ) == ( QString ) "QFontMetrics" ) - { - pObj = ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFontMetrics( 2 ) ) ; - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ; - } - - hb_retptr( pObj ); -} -/* - * qreal ascent () const - */ -HB_FUNC( QT_QFONTMETRICSF_ASCENT ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->ascent() ); -} - -/* - * qreal averageCharWidth () const - */ -HB_FUNC( QT_QFONTMETRICSF_AVERAGECHARWIDTH ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->averageCharWidth() ); -} - -/* - * QRectF boundingRect ( const QString & text ) const - */ -HB_FUNC( QT_QFONTMETRICSF_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QFontMetricsF( 1 )->boundingRect( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QRectF boundingRect ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICSF_BOUNDINGRECT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QFontMetricsF( 1 )->boundingRect( hb_parni( 2 ) ) ) ) ); -} - -/* - * QRectF boundingRect ( const QRectF & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICSF_BOUNDINGRECT_2 ) -{ - int iTabArray = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QFontMetricsF( 1 )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), hb_parni( 5 ), &iTabArray ) ) ) ); - - hb_storni( iTabArray, 6 ); -} - -/* - * qreal descent () const - */ -HB_FUNC( QT_QFONTMETRICSF_DESCENT ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->descent() ); -} - -/* - * QString elidedText ( const QString & text, Qt::TextElideMode mode, qreal width, int flags = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICSF_ELIDEDTEXT ) -{ - hb_retc( hbqt_par_QFontMetricsF( 1 )->elidedText( hbqt_par_QString( 2 ), ( Qt::TextElideMode ) hb_parni( 3 ), hb_parnd( 4 ), hb_parni( 5 ) ).toAscii().data() ); -} - -/* - * qreal height () const - */ -HB_FUNC( QT_QFONTMETRICSF_HEIGHT ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->height() ); -} - -/* - * bool inFont ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICSF_INFONT ) -{ - hb_retl( hbqt_par_QFontMetricsF( 1 )->inFont( hb_parni( 2 ) ) ); -} - -/* - * qreal leading () const - */ -HB_FUNC( QT_QFONTMETRICSF_LEADING ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->leading() ); -} - -/* - * qreal leftBearing ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICSF_LEFTBEARING ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->leftBearing( hb_parni( 2 ) ) ); -} - -/* - * qreal lineSpacing () const - */ -HB_FUNC( QT_QFONTMETRICSF_LINESPACING ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->lineSpacing() ); -} - -/* - * qreal lineWidth () const - */ -HB_FUNC( QT_QFONTMETRICSF_LINEWIDTH ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->lineWidth() ); -} - -/* - * qreal maxWidth () const - */ -HB_FUNC( QT_QFONTMETRICSF_MAXWIDTH ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->maxWidth() ); -} - -/* - * qreal minLeftBearing () const - */ -HB_FUNC( QT_QFONTMETRICSF_MINLEFTBEARING ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->minLeftBearing() ); -} - -/* - * qreal minRightBearing () const - */ -HB_FUNC( QT_QFONTMETRICSF_MINRIGHTBEARING ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->minRightBearing() ); -} - -/* - * qreal overlinePos () const - */ -HB_FUNC( QT_QFONTMETRICSF_OVERLINEPOS ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->overlinePos() ); -} - -/* - * qreal rightBearing ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICSF_RIGHTBEARING ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->rightBearing( hb_parni( 2 ) ) ); -} - -/* - * QSizeF size ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const - */ -HB_FUNC( QT_QFONTMETRICSF_SIZE ) -{ - int iTabArray = 0; - - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QFontMetricsF( 1 )->size( hb_parni( 2 ), hbqt_par_QString( 3 ), hb_parni( 4 ), &iTabArray ) ) ) ); - - hb_storni( iTabArray, 5 ); -} - -/* - * qreal strikeOutPos () const - */ -HB_FUNC( QT_QFONTMETRICSF_STRIKEOUTPOS ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->strikeOutPos() ); -} - -/* - * QRectF tightBoundingRect ( const QString & text ) const - */ -HB_FUNC( QT_QFONTMETRICSF_TIGHTBOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QFontMetricsF( 1 )->tightBoundingRect( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * qreal underlinePos () const - */ -HB_FUNC( QT_QFONTMETRICSF_UNDERLINEPOS ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->underlinePos() ); -} - -/* - * qreal width ( const QString & text ) const - */ -HB_FUNC( QT_QFONTMETRICSF_WIDTH ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->width( hbqt_par_QString( 2 ) ) ); -} - -/* - * qreal width ( QChar ch ) const - */ -HB_FUNC( QT_QFONTMETRICSF_WIDTH_1 ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->width( hb_parni( 2 ) ) ); -} - -/* - * qreal xHeight () const - */ -HB_FUNC( QT_QFONTMETRICSF_XHEIGHT ) -{ - hb_retnd( hbqt_par_QFontMetricsF( 1 )->xHeight() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFormLayout.cpp b/harbour/contrib/hbqt/QFormLayout.cpp deleted file mode 100644 index 7715206fba..0000000000 --- a/harbour/contrib/hbqt/QFormLayout.cpp +++ /dev/null @@ -1,405 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FieldGrowthPolicy { FieldsStayAtSizeHint, ExpandingFieldsGrow, AllNonFixedFieldsGrow } - * enum ItemRole { LabelRole, FieldRole, SpanningRole } - * enum RowWrapPolicy { DontWrapRows, WrapLongRows, WrapAllRows } - */ - -#include - -#include - - -/* - * QFormLayout ( QWidget * parent = 0 ) - * ~QFormLayout () - */ - -HB_FUNC( QT_QFORMLAYOUT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFormLayout > pObj = NULL; - - pObj = ( QFormLayout * ) new QFormLayout( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addRow ( QWidget * label, QWidget * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW ) -{ - hbqt_par_QFormLayout( 1 )->addRow( hbqt_par_QWidget( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * void addRow ( QWidget * label, QLayout * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_1 ) -{ - hbqt_par_QFormLayout( 1 )->addRow( hbqt_par_QWidget( 2 ), hbqt_par_QLayout( 3 ) ); -} - -/* - * void addRow ( QWidget * widget ) - */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_2 ) -{ - hbqt_par_QFormLayout( 1 )->addRow( hbqt_par_QWidget( 2 ) ); -} - -/* - * void addRow ( const QString & labelText, QWidget * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_3 ) -{ - hbqt_par_QFormLayout( 1 )->addRow( hbqt_par_QString( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * void addRow ( const QString & labelText, QLayout * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_4 ) -{ - hbqt_par_QFormLayout( 1 )->addRow( hbqt_par_QString( 2 ), hbqt_par_QLayout( 3 ) ); -} - -/* - * void addRow ( QLayout * layout ) - */ -HB_FUNC( QT_QFORMLAYOUT_ADDROW_5 ) -{ - hbqt_par_QFormLayout( 1 )->addRow( hbqt_par_QLayout( 2 ) ); -} - -/* - * FieldGrowthPolicy fieldGrowthPolicy () const - */ -HB_FUNC( QT_QFORMLAYOUT_FIELDGROWTHPOLICY ) -{ - hb_retni( ( QFormLayout::FieldGrowthPolicy ) hbqt_par_QFormLayout( 1 )->fieldGrowthPolicy() ); -} - -/* - * Qt::Alignment formAlignment () const - */ -HB_FUNC( QT_QFORMLAYOUT_FORMALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QFormLayout( 1 )->formAlignment() ); -} - -/* - * void getItemPosition ( int index, int * rowPtr, ItemRole * rolePtr ) const - */ -HB_FUNC( QT_QFORMLAYOUT_GETITEMPOSITION ) -{ - int iRowPtr = 0; - QFormLayout::ItemRole iRolePtr; - - hbqt_par_QFormLayout( 1 )->getItemPosition( hb_parni( 2 ), &iRowPtr, &iRolePtr ); - - hb_storni( iRowPtr, 3 ); - hb_storni( iRolePtr, 4 ); -} - -/* - * void getLayoutPosition ( QLayout * layout, int * rowPtr, ItemRole * rolePtr ) const - */ -HB_FUNC( QT_QFORMLAYOUT_GETLAYOUTPOSITION ) -{ - int iRowPtr = 0; - QFormLayout::ItemRole iRolePtr; - - hbqt_par_QFormLayout( 1 )->getLayoutPosition( hbqt_par_QLayout( 2 ), &iRowPtr, &iRolePtr ); - - hb_storni( iRowPtr, 3 ); - hb_storni( iRolePtr, 4 ); -} - -/* - * void getWidgetPosition ( QWidget * widget, int * rowPtr, ItemRole * rolePtr ) const - */ -HB_FUNC( QT_QFORMLAYOUT_GETWIDGETPOSITION ) -{ - int iRowPtr = 0; - QFormLayout::ItemRole iRolePtr; - - hbqt_par_QFormLayout( 1 )->getWidgetPosition( hbqt_par_QWidget( 2 ), &iRowPtr, &iRolePtr ); - - hb_storni( iRowPtr, 3 ); - hb_storni( iRolePtr, 4 ); -} - -/* - * int horizontalSpacing () const - */ -HB_FUNC( QT_QFORMLAYOUT_HORIZONTALSPACING ) -{ - hb_retni( hbqt_par_QFormLayout( 1 )->horizontalSpacing() ); -} - -/* - * void insertRow ( int row, QWidget * label, QWidget * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW ) -{ - hbqt_par_QFormLayout( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* - * void insertRow ( int row, QWidget * label, QLayout * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_1 ) -{ - hbqt_par_QFormLayout( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QLayout( 4 ) ); -} - -/* - * void insertRow ( int row, QWidget * widget ) - */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_2 ) -{ - hbqt_par_QFormLayout( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * void insertRow ( int row, const QString & labelText, QWidget * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_3 ) -{ - hbqt_par_QFormLayout( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QString( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* - * void insertRow ( int row, const QString & labelText, QLayout * field ) - */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_4 ) -{ - hbqt_par_QFormLayout( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QString( 3 ), hbqt_par_QLayout( 4 ) ); -} - -/* - * void insertRow ( int row, QLayout * layout ) - */ -HB_FUNC( QT_QFORMLAYOUT_INSERTROW_5 ) -{ - hbqt_par_QFormLayout( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QLayout( 3 ) ); -} - -/* - * QLayoutItem * itemAt ( int row, ItemRole role ) const - */ -HB_FUNC( QT_QFORMLAYOUT_ITEMAT ) -{ - hb_retptr( ( QLayoutItem* ) hbqt_par_QFormLayout( 1 )->itemAt( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ) ) ); -} - -/* - * Qt::Alignment labelAlignment () const - */ -HB_FUNC( QT_QFORMLAYOUT_LABELALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QFormLayout( 1 )->labelAlignment() ); -} - -/* - * QWidget * labelForField ( QWidget * field ) const - */ -HB_FUNC( QT_QFORMLAYOUT_LABELFORFIELD ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QFormLayout( 1 )->labelForField( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * QWidget * labelForField ( QLayout * field ) const - */ -HB_FUNC( QT_QFORMLAYOUT_LABELFORFIELD_1 ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QFormLayout( 1 )->labelForField( hbqt_par_QLayout( 2 ) ) ); -} - -/* - * int rowCount () const - */ -HB_FUNC( QT_QFORMLAYOUT_ROWCOUNT ) -{ - hb_retni( hbqt_par_QFormLayout( 1 )->rowCount() ); -} - -/* - * RowWrapPolicy rowWrapPolicy () const - */ -HB_FUNC( QT_QFORMLAYOUT_ROWWRAPPOLICY ) -{ - hb_retni( ( QFormLayout::RowWrapPolicy ) hbqt_par_QFormLayout( 1 )->rowWrapPolicy() ); -} - -/* - * void setFieldGrowthPolicy ( FieldGrowthPolicy policy ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETFIELDGROWTHPOLICY ) -{ - hbqt_par_QFormLayout( 1 )->setFieldGrowthPolicy( ( QFormLayout::FieldGrowthPolicy ) hb_parni( 2 ) ); -} - -/* - * void setFormAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETFORMALIGNMENT ) -{ - hbqt_par_QFormLayout( 1 )->setFormAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setHorizontalSpacing ( int spacing ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETHORIZONTALSPACING ) -{ - hbqt_par_QFormLayout( 1 )->setHorizontalSpacing( hb_parni( 2 ) ); -} - -/* - * void setItem ( int row, ItemRole role, QLayoutItem * item ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETITEM ) -{ - hbqt_par_QFormLayout( 1 )->setItem( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ), hbqt_par_QLayoutItem( 4 ) ); -} - -/* - * void setLabelAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETLABELALIGNMENT ) -{ - hbqt_par_QFormLayout( 1 )->setLabelAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setLayout ( int row, ItemRole role, QLayout * layout ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETLAYOUT ) -{ - hbqt_par_QFormLayout( 1 )->setLayout( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ), hbqt_par_QLayout( 4 ) ); -} - -/* - * void setRowWrapPolicy ( RowWrapPolicy policy ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETROWWRAPPOLICY ) -{ - hbqt_par_QFormLayout( 1 )->setRowWrapPolicy( ( QFormLayout::RowWrapPolicy ) hb_parni( 2 ) ); -} - -/* - * void setSpacing ( int spacing ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETSPACING ) -{ - hbqt_par_QFormLayout( 1 )->setSpacing( hb_parni( 2 ) ); -} - -/* - * void setVerticalSpacing ( int spacing ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETVERTICALSPACING ) -{ - hbqt_par_QFormLayout( 1 )->setVerticalSpacing( hb_parni( 2 ) ); -} - -/* - * void setWidget ( int row, ItemRole role, QWidget * widget ) - */ -HB_FUNC( QT_QFORMLAYOUT_SETWIDGET ) -{ - hbqt_par_QFormLayout( 1 )->setWidget( hb_parni( 2 ), ( QFormLayout::ItemRole ) hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* - * int spacing () const - */ -HB_FUNC( QT_QFORMLAYOUT_SPACING ) -{ - hb_retni( hbqt_par_QFormLayout( 1 )->spacing() ); -} - -/* - * int verticalSpacing () const - */ -HB_FUNC( QT_QFORMLAYOUT_VERTICALSPACING ) -{ - hb_retni( hbqt_par_QFormLayout( 1 )->verticalSpacing() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFrame.cpp b/harbour/contrib/hbqt/QFrame.cpp deleted file mode 100644 index 7c4eb76bb4..0000000000 --- a/harbour/contrib/hbqt/QFrame.cpp +++ /dev/null @@ -1,203 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Shadow { Plain, Raised, Sunken } - * enum Shape { NoFrame, Box, Panel, StyledPanel, ..., WinPanel } - * enum StyleMask { Shadow_Mask, Shape_Mask } - */ - -#include - -#include - - -/* - * QFrame ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QFrame () - */ - -HB_FUNC( QT_QFRAME ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFrame > pObj = NULL; - - pObj = new QFrame( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QRect frameRect () const - */ -HB_FUNC( QT_QFRAME_FRAMERECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QFrame( 1 )->frameRect() ) ) ); -} - -/* - * Shadow frameShadow () const - */ -HB_FUNC( QT_QFRAME_FRAMESHADOW ) -{ - hb_retni( ( QFrame::Shadow ) hbqt_par_QFrame( 1 )->frameShadow() ); -} - -/* - * Shape frameShape () const - */ -HB_FUNC( QT_QFRAME_FRAMESHAPE ) -{ - hb_retni( ( QFrame::Shape ) hbqt_par_QFrame( 1 )->frameShape() ); -} - -/* - * int frameStyle () const - */ -HB_FUNC( QT_QFRAME_FRAMESTYLE ) -{ - hb_retni( hbqt_par_QFrame( 1 )->frameStyle() ); -} - -/* - * int frameWidth () const - */ -HB_FUNC( QT_QFRAME_FRAMEWIDTH ) -{ - hb_retni( hbqt_par_QFrame( 1 )->frameWidth() ); -} - -/* - * int lineWidth () const - */ -HB_FUNC( QT_QFRAME_LINEWIDTH ) -{ - hb_retni( hbqt_par_QFrame( 1 )->lineWidth() ); -} - -/* - * int midLineWidth () const - */ -HB_FUNC( QT_QFRAME_MIDLINEWIDTH ) -{ - hb_retni( hbqt_par_QFrame( 1 )->midLineWidth() ); -} - -/* - * void setFrameRect ( const QRect & ) - */ -HB_FUNC( QT_QFRAME_SETFRAMERECT ) -{ - hbqt_par_QFrame( 1 )->setFrameRect( *hbqt_par_QRect( 2 ) ); -} - -/* - * void setFrameShadow ( Shadow ) - */ -HB_FUNC( QT_QFRAME_SETFRAMESHADOW ) -{ - hbqt_par_QFrame( 1 )->setFrameShadow( ( QFrame::Shadow ) hb_parni( 2 ) ); -} - -/* - * void setFrameShape ( Shape ) - */ -HB_FUNC( QT_QFRAME_SETFRAMESHAPE ) -{ - hbqt_par_QFrame( 1 )->setFrameShape( ( QFrame::Shape ) hb_parni( 2 ) ); -} - -/* - * void setFrameStyle ( int style ) - */ -HB_FUNC( QT_QFRAME_SETFRAMESTYLE ) -{ - hbqt_par_QFrame( 1 )->setFrameStyle( hb_parni( 2 ) ); -} - -/* - * void setLineWidth ( int ) - */ -HB_FUNC( QT_QFRAME_SETLINEWIDTH ) -{ - hbqt_par_QFrame( 1 )->setLineWidth( hb_parni( 2 ) ); -} - -/* - * void setMidLineWidth ( int ) - */ -HB_FUNC( QT_QFRAME_SETMIDLINEWIDTH ) -{ - hbqt_par_QFrame( 1 )->setMidLineWidth( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QFtp.cpp b/harbour/contrib/hbqt/QFtp.cpp deleted file mode 100644 index c83c5f82b7..0000000000 --- a/harbour/contrib/hbqt/QFtp.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Command { None, SetTransferMode, SetProxy, ConnectToHost, ..., RawCommand } - * enum Error { NoError, HostNotFound, ConnectionRefused, NotConnected, UnknownError } - * enum State { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing } - * enum TransferMode { Passive, Active } - * enum TransferType { Binary, Ascii } - */ - -#include - -#include - - -/* - * QFtp ( QObject * parent = 0 ) - * virtual ~QFtp () - */ - -/* - * qint64 read ( char * data, qint64 maxlen ) - */ -HB_FUNC( QT_QFTP_READ ) -{ - char * iData = ( char * ) hb_xgrab( hb_parnint( 3 ) + 1 ); - qint64 iRead; - - iRead = hbqt_par_QFtp( 1 )->read( iData, hb_parnint( 3 ) ); - - hb_retnint( iRead ); - if( ! hb_storclen_buffer( iData, iRead, 2 ) ) - hb_xfree( iData ); -} - -HB_FUNC( QT_QFTP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QFtp > pObj = NULL; - - pObj = new QFtp( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * qint64 bytesAvailable () const - */ -HB_FUNC( QT_QFTP_BYTESAVAILABLE ) -{ - hb_retnint( hbqt_par_QFtp( 1 )->bytesAvailable() ); -} - -/* - * int cd ( const QString & dir ) - */ -HB_FUNC( QT_QFTP_CD ) -{ - hb_retni( hbqt_par_QFtp( 1 )->cd( hbqt_par_QString( 2 ) ) ); -} - -/* - * void clearPendingCommands () - */ -HB_FUNC( QT_QFTP_CLEARPENDINGCOMMANDS ) -{ - hbqt_par_QFtp( 1 )->clearPendingCommands(); -} - -/* - * int close () - */ -HB_FUNC( QT_QFTP_CLOSE ) -{ - hb_retni( hbqt_par_QFtp( 1 )->close() ); -} - -/* - * int connectToHost ( const QString & host, quint16 port = 21 ) - */ -HB_FUNC( QT_QFTP_CONNECTTOHOST ) -{ - hb_retni( hbqt_par_QFtp( 1 )->connectToHost( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : 21 ) ) ); -} - -/* - * Command currentCommand () const - */ -HB_FUNC( QT_QFTP_CURRENTCOMMAND ) -{ - hb_retni( ( QFtp::Command ) hbqt_par_QFtp( 1 )->currentCommand() ); -} - -/* - * QIODevice * currentDevice () const - */ -HB_FUNC( QT_QFTP_CURRENTDEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QFtp( 1 )->currentDevice() ); -} - -/* - * int currentId () const - */ -HB_FUNC( QT_QFTP_CURRENTID ) -{ - hb_retni( hbqt_par_QFtp( 1 )->currentId() ); -} - -/* - * Error error () const - */ -HB_FUNC( QT_QFTP_ERROR ) -{ - hb_retni( ( QFtp::Error ) hbqt_par_QFtp( 1 )->error() ); -} - -/* - * QString errorString () const - */ -HB_FUNC( QT_QFTP_ERRORSTRING ) -{ - hb_retc( hbqt_par_QFtp( 1 )->errorString().toAscii().data() ); -} - -/* - * int get ( const QString & file, QIODevice * dev = 0, TransferType type = Binary ) - */ -HB_FUNC( QT_QFTP_GET ) -{ - hb_retni( hbqt_par_QFtp( 1 )->get( hbqt_par_QString( 2 ), hbqt_par_QIODevice( 3 ), ( HB_ISNUM( 4 ) ? ( QFtp::TransferType ) hb_parni( 4 ) : ( QFtp::TransferType ) QFtp::Binary ) ) ); -} - -/* - * bool hasPendingCommands () const - */ -HB_FUNC( QT_QFTP_HASPENDINGCOMMANDS ) -{ - hb_retl( hbqt_par_QFtp( 1 )->hasPendingCommands() ); -} - -/* - * int list ( const QString & dir = QString() ) - */ -HB_FUNC( QT_QFTP_LIST ) -{ - hb_retni( hbqt_par_QFtp( 1 )->list( hbqt_par_QString( 2 ) ) ); -} - -/* - * int login ( const QString & user = QString(), const QString & password = QString() ) - */ -HB_FUNC( QT_QFTP_LOGIN ) -{ - hb_retni( hbqt_par_QFtp( 1 )->login( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * int mkdir ( const QString & dir ) - */ -HB_FUNC( QT_QFTP_MKDIR ) -{ - hb_retni( hbqt_par_QFtp( 1 )->mkdir( hbqt_par_QString( 2 ) ) ); -} - -/* - * int put ( QIODevice * dev, const QString & file, TransferType type = Binary ) - */ -HB_FUNC( QT_QFTP_PUT ) -{ - hb_retni( hbqt_par_QFtp( 1 )->put( hbqt_par_QIODevice( 2 ), hbqt_par_QString( 3 ), ( HB_ISNUM( 4 ) ? ( QFtp::TransferType ) hb_parni( 4 ) : ( QFtp::TransferType ) QFtp::Binary ) ) ); -} - -/* - * int put ( const QByteArray & data, const QString & file, TransferType type = Binary ) - */ -HB_FUNC( QT_QFTP_PUT_1 ) -{ - hb_retni( hbqt_par_QFtp( 1 )->put( *hbqt_par_QByteArray( 2 ), hbqt_par_QString( 3 ), ( HB_ISNUM( 4 ) ? ( QFtp::TransferType ) hb_parni( 4 ) : ( QFtp::TransferType ) QFtp::Binary ) ) ); -} - -/* - * int rawCommand ( const QString & command ) - */ -HB_FUNC( QT_QFTP_RAWCOMMAND ) -{ - hb_retni( hbqt_par_QFtp( 1 )->rawCommand( hbqt_par_QString( 2 ) ) ); -} - -/* - * QByteArray readAll () - */ -HB_FUNC( QT_QFTP_READALL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QFtp( 1 )->readAll() ) ) ); -} - -/* - * int remove ( const QString & file ) - */ -HB_FUNC( QT_QFTP_REMOVE ) -{ - hb_retni( hbqt_par_QFtp( 1 )->remove( hbqt_par_QString( 2 ) ) ); -} - -/* - * int rename ( const QString & oldname, const QString & newname ) - */ -HB_FUNC( QT_QFTP_RENAME ) -{ - hb_retni( hbqt_par_QFtp( 1 )->rename( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * int rmdir ( const QString & dir ) - */ -HB_FUNC( QT_QFTP_RMDIR ) -{ - hb_retni( hbqt_par_QFtp( 1 )->rmdir( hbqt_par_QString( 2 ) ) ); -} - -/* - * int setProxy ( const QString & host, quint16 port ) - */ -HB_FUNC( QT_QFTP_SETPROXY ) -{ - hb_retni( hbqt_par_QFtp( 1 )->setProxy( hbqt_par_QString( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int setTransferMode ( TransferMode mode ) - */ -HB_FUNC( QT_QFTP_SETTRANSFERMODE ) -{ - hb_retni( hbqt_par_QFtp( 1 )->setTransferMode( ( QFtp::TransferMode ) hb_parni( 2 ) ) ); -} - -/* - * State state () const - */ -HB_FUNC( QT_QFTP_STATE ) -{ - hb_retni( ( QFtp::State ) hbqt_par_QFtp( 1 )->state() ); -} - -/* - * void abort () - */ -HB_FUNC( QT_QFTP_ABORT ) -{ - hbqt_par_QFtp( 1 )->abort(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QGradient.cpp b/harbour/contrib/hbqt/QGradient.cpp deleted file mode 100644 index bffa5e34f0..0000000000 --- a/harbour/contrib/hbqt/QGradient.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -#include - -#include - - -/* - * - */ - -HB_FUNC( QT_QGRADIENT ) -{ -} -/* - * CoordinateMode coordinateMode () const - */ -HB_FUNC( QT_QGRADIENT_COORDINATEMODE ) -{ - hb_retni( ( QGradient::CoordinateMode ) hbqt_par_QGradient( 1 )->coordinateMode() ); -} - -/* - * void setColorAt ( qreal position, const QColor & color ) - */ -HB_FUNC( QT_QGRADIENT_SETCOLORAT ) -{ - hbqt_par_QGradient( 1 )->setColorAt( hb_parnd( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* - * void setCoordinateMode ( CoordinateMode mode ) - */ -HB_FUNC( QT_QGRADIENT_SETCOORDINATEMODE ) -{ - hbqt_par_QGradient( 1 )->setCoordinateMode( ( QGradient::CoordinateMode ) hb_parni( 2 ) ); -} - -/* - * void setSpread ( Spread method ) - */ -HB_FUNC( QT_QGRADIENT_SETSPREAD ) -{ - hbqt_par_QGradient( 1 )->setSpread( ( QGradient::Spread ) hb_parni( 2 ) ); -} - -/* - * void setStops ( const QGradientStops & stopPoints ) - */ -HB_FUNC( QT_QGRADIENT_SETSTOPS ) -{ - hbqt_par_QGradient( 1 )->setStops( *hbqt_par_QGradientStops( 2 ) ); -} - -/* - * Spread spread () const - */ -HB_FUNC( QT_QGRADIENT_SPREAD ) -{ - hb_retni( ( QGradient::Spread ) hbqt_par_QGradient( 1 )->spread() ); -} - -/* - * QGradientStops stops () const - */ -HB_FUNC( QT_QGRADIENT_STOPS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QGradientStops( hbqt_par_QGradient( 1 )->stops() ) ) ); -} - -/* - * Type type () const - */ -HB_FUNC( QT_QGRADIENT_TYPE ) -{ - hb_retni( ( QGradient::Type ) hbqt_par_QGradient( 1 )->type() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QGridLayout.cpp b/harbour/contrib/hbqt/QGridLayout.cpp deleted file mode 100644 index d1b3a8b61e..0000000000 --- a/harbour/contrib/hbqt/QGridLayout.cpp +++ /dev/null @@ -1,312 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QGridLayout ( QWidget * parent ) - * QGridLayout () - * ~QGridLayout () - */ - -HB_FUNC( QT_QGRIDLAYOUT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QGridLayout > pObj = NULL; - - pObj = new QGridLayout( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addItem ( QLayoutItem * item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QGRIDLAYOUT_ADDITEM ) -{ - hbqt_par_QGridLayout( 1 )->addItem( hbqt_par_QLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 1 ), ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : 1 ), ( Qt::Alignment ) hb_parni( 7 ) ); -} - -/* - * void addLayout ( QLayout * layout, int row, int column, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QGRIDLAYOUT_ADDLAYOUT ) -{ - hbqt_par_QGridLayout( 1 )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); -} - -/* - * void addLayout ( QLayout * layout, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QGRIDLAYOUT_ADDLAYOUT_1 ) -{ - hbqt_par_QGridLayout( 1 )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) ); -} - -/* - * void addWidget ( QWidget * widget, int row, int column, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QGRIDLAYOUT_ADDWIDGET ) -{ - hbqt_par_QGridLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); -} - -/* - * void addWidget ( QWidget * widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) - */ -HB_FUNC( QT_QGRIDLAYOUT_ADDWIDGET_1 ) -{ - hbqt_par_QGridLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) ); -} - -/* - * QRect cellRect ( int row, int column ) const - */ -HB_FUNC( QT_QGRIDLAYOUT_CELLRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QGridLayout( 1 )->cellRect( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * int columnCount () const - */ -HB_FUNC( QT_QGRIDLAYOUT_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->columnCount() ); -} - -/* - * int columnMinimumWidth ( int column ) const - */ -HB_FUNC( QT_QGRIDLAYOUT_COLUMNMINIMUMWIDTH ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->columnMinimumWidth( hb_parni( 2 ) ) ); -} - -/* - * int columnStretch ( int column ) const - */ -HB_FUNC( QT_QGRIDLAYOUT_COLUMNSTRETCH ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->columnStretch( hb_parni( 2 ) ) ); -} - -/* - * void getItemPosition ( int index, int * row, int * column, int * rowSpan, int * columnSpan ) - */ -HB_FUNC( QT_QGRIDLAYOUT_GETITEMPOSITION ) -{ - int iRow = 0; - int iColumn = 0; - int iRowSpan = 0; - int iColumnSpan = 0; - - hbqt_par_QGridLayout( 1 )->getItemPosition( hb_parni( 2 ), &iRow, &iColumn, &iRowSpan, &iColumnSpan ); - - hb_storni( iRow, 3 ); - hb_storni( iColumn, 4 ); - hb_storni( iRowSpan, 5 ); - hb_storni( iColumnSpan, 6 ); -} - -/* - * int horizontalSpacing () const - */ -HB_FUNC( QT_QGRIDLAYOUT_HORIZONTALSPACING ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->horizontalSpacing() ); -} - -/* - * QLayoutItem * itemAtPosition ( int row, int column ) const - */ -HB_FUNC( QT_QGRIDLAYOUT_ITEMATPOSITION ) -{ - hb_retptr( ( QLayoutItem* ) hbqt_par_QGridLayout( 1 )->itemAtPosition( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * Qt::Corner originCorner () const - */ -HB_FUNC( QT_QGRIDLAYOUT_ORIGINCORNER ) -{ - hb_retni( ( Qt::Corner ) hbqt_par_QGridLayout( 1 )->originCorner() ); -} - -/* - * int rowCount () const - */ -HB_FUNC( QT_QGRIDLAYOUT_ROWCOUNT ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->rowCount() ); -} - -/* - * int rowMinimumHeight ( int row ) const - */ -HB_FUNC( QT_QGRIDLAYOUT_ROWMINIMUMHEIGHT ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->rowMinimumHeight( hb_parni( 2 ) ) ); -} - -/* - * int rowStretch ( int row ) const - */ -HB_FUNC( QT_QGRIDLAYOUT_ROWSTRETCH ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->rowStretch( hb_parni( 2 ) ) ); -} - -/* - * void setColumnMinimumWidth ( int column, int minSize ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETCOLUMNMINIMUMWIDTH ) -{ - hbqt_par_QGridLayout( 1 )->setColumnMinimumWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setColumnStretch ( int column, int stretch ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETCOLUMNSTRETCH ) -{ - hbqt_par_QGridLayout( 1 )->setColumnStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setHorizontalSpacing ( int spacing ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETHORIZONTALSPACING ) -{ - hbqt_par_QGridLayout( 1 )->setHorizontalSpacing( hb_parni( 2 ) ); -} - -/* - * void setOriginCorner ( Qt::Corner corner ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETORIGINCORNER ) -{ - hbqt_par_QGridLayout( 1 )->setOriginCorner( ( Qt::Corner ) hb_parni( 2 ) ); -} - -/* - * void setRowMinimumHeight ( int row, int minSize ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETROWMINIMUMHEIGHT ) -{ - hbqt_par_QGridLayout( 1 )->setRowMinimumHeight( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setRowStretch ( int row, int stretch ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETROWSTRETCH ) -{ - hbqt_par_QGridLayout( 1 )->setRowStretch( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setSpacing ( int spacing ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETSPACING ) -{ - hbqt_par_QGridLayout( 1 )->setSpacing( hb_parni( 2 ) ); -} - -/* - * void setVerticalSpacing ( int spacing ) - */ -HB_FUNC( QT_QGRIDLAYOUT_SETVERTICALSPACING ) -{ - hbqt_par_QGridLayout( 1 )->setVerticalSpacing( hb_parni( 2 ) ); -} - -/* - * int spacing () const - */ -HB_FUNC( QT_QGRIDLAYOUT_SPACING ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->spacing() ); -} - -/* - * int verticalSpacing () const - */ -HB_FUNC( QT_QGRIDLAYOUT_VERTICALSPACING ) -{ - hb_retni( hbqt_par_QGridLayout( 1 )->verticalSpacing() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QGroupBox.cpp b/harbour/contrib/hbqt/QGroupBox.cpp deleted file mode 100644 index ddd9722241..0000000000 --- a/harbour/contrib/hbqt/QGroupBox.cpp +++ /dev/null @@ -1,174 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QGroupBox ( QWidget * parent = 0 ) - * QGroupBox ( const QString & title, QWidget * parent = 0 ) - * ~QGroupBox () - */ - -HB_FUNC( QT_QGROUPBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QGroupBox > pObj = NULL; - - pObj = ( QGroupBox * ) new QGroupBox( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QGROUPBOX_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QGroupBox( 1 )->alignment() ); -} - -/* - * bool isCheckable () const - */ -HB_FUNC( QT_QGROUPBOX_ISCHECKABLE ) -{ - hb_retl( hbqt_par_QGroupBox( 1 )->isCheckable() ); -} - -/* - * bool isChecked () const - */ -HB_FUNC( QT_QGROUPBOX_ISCHECKED ) -{ - hb_retl( hbqt_par_QGroupBox( 1 )->isChecked() ); -} - -/* - * bool isFlat () const - */ -HB_FUNC( QT_QGROUPBOX_ISFLAT ) -{ - hb_retl( hbqt_par_QGroupBox( 1 )->isFlat() ); -} - -/* - * void setAlignment ( int alignment ) - */ -HB_FUNC( QT_QGROUPBOX_SETALIGNMENT ) -{ - hbqt_par_QGroupBox( 1 )->setAlignment( hb_parni( 2 ) ); -} - -/* - * void setCheckable ( bool checkable ) - */ -HB_FUNC( QT_QGROUPBOX_SETCHECKABLE ) -{ - hbqt_par_QGroupBox( 1 )->setCheckable( hb_parl( 2 ) ); -} - -/* - * void setFlat ( bool flat ) - */ -HB_FUNC( QT_QGROUPBOX_SETFLAT ) -{ - hbqt_par_QGroupBox( 1 )->setFlat( hb_parl( 2 ) ); -} - -/* - * void setTitle ( const QString & title ) - */ -HB_FUNC( QT_QGROUPBOX_SETTITLE ) -{ - hbqt_par_QGroupBox( 1 )->setTitle( hbqt_par_QString( 2 ) ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QGROUPBOX_TITLE ) -{ - hb_retc( hbqt_par_QGroupBox( 1 )->title().toAscii().data() ); -} - -/* - * void setChecked ( bool checked ) - */ -HB_FUNC( QT_QGROUPBOX_SETCHECKED ) -{ - hbqt_par_QGroupBox( 1 )->setChecked( hb_parl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QHBoxLayout.cpp b/harbour/contrib/hbqt/QHBoxLayout.cpp deleted file mode 100644 index bc4e97b37e..0000000000 --- a/harbour/contrib/hbqt/QHBoxLayout.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QHBoxLayout () - * QHBoxLayout ( QWidget * parent ) - * ~QHBoxLayout () - */ - -HB_FUNC( QT_QHBOXLAYOUT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QHBoxLayout > pObj = NULL; - - pObj = ( QHBoxLayout * ) new QHBoxLayout( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QHeaderView.cpp b/harbour/contrib/hbqt/QHeaderView.cpp deleted file mode 100644 index 4b123efa7c..0000000000 --- a/harbour/contrib/hbqt/QHeaderView.cpp +++ /dev/null @@ -1,553 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ResizeMode { Interactive, Fixed, Stretch, ResizeToContents, Custom } - */ - -#include - -#include - - -/* - * QHeaderView ( Qt::Orientation orientation, QWidget * parent = 0 ) - * virtual ~QHeaderView () - */ - -HB_FUNC( QT_QHEADERVIEW ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QHeaderView > pObj = NULL; - - pObj = new QHeaderView( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool cascadingSectionResizes () const - */ -HB_FUNC( QT_QHEADERVIEW_CASCADINGSECTIONRESIZES ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->cascadingSectionResizes() ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QHEADERVIEW_COUNT ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->count() ); -} - -/* - * Qt::Alignment defaultAlignment () const - */ -HB_FUNC( QT_QHEADERVIEW_DEFAULTALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QHeaderView( 1 )->defaultAlignment() ); -} - -/* - * int defaultSectionSize () const - */ -HB_FUNC( QT_QHEADERVIEW_DEFAULTSECTIONSIZE ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->defaultSectionSize() ); -} - -/* - * int hiddenSectionCount () const - */ -HB_FUNC( QT_QHEADERVIEW_HIDDENSECTIONCOUNT ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->hiddenSectionCount() ); -} - -/* - * void hideSection ( int logicalIndex ) - */ -HB_FUNC( QT_QHEADERVIEW_HIDESECTION ) -{ - hbqt_par_QHeaderView( 1 )->hideSection( hb_parni( 2 ) ); -} - -/* - * bool highlightSections () const - */ -HB_FUNC( QT_QHEADERVIEW_HIGHLIGHTSECTIONS ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->highlightSections() ); -} - -/* - * bool isClickable () const - */ -HB_FUNC( QT_QHEADERVIEW_ISCLICKABLE ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->isClickable() ); -} - -/* - * bool isMovable () const - */ -HB_FUNC( QT_QHEADERVIEW_ISMOVABLE ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->isMovable() ); -} - -/* - * bool isSectionHidden ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_ISSECTIONHIDDEN ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->isSectionHidden( hb_parni( 2 ) ) ); -} - -/* - * bool isSortIndicatorShown () const - */ -HB_FUNC( QT_QHEADERVIEW_ISSORTINDICATORSHOWN ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->isSortIndicatorShown() ); -} - -/* - * int length () const - */ -HB_FUNC( QT_QHEADERVIEW_LENGTH ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->length() ); -} - -/* - * int logicalIndex ( int visualIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEX ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->logicalIndex( hb_parni( 2 ) ) ); -} - -/* - * int logicalIndexAt ( int position ) const - */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEXAT ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->logicalIndexAt( hb_parni( 2 ) ) ); -} - -/* - * int logicalIndexAt ( int x, int y ) const - */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEXAT_1 ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->logicalIndexAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int logicalIndexAt ( const QPoint & pos ) const - */ -HB_FUNC( QT_QHEADERVIEW_LOGICALINDEXAT_2 ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->logicalIndexAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * int minimumSectionSize () const - */ -HB_FUNC( QT_QHEADERVIEW_MINIMUMSECTIONSIZE ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->minimumSectionSize() ); -} - -/* - * void moveSection ( int from, int to ) - */ -HB_FUNC( QT_QHEADERVIEW_MOVESECTION ) -{ - hbqt_par_QHeaderView( 1 )->moveSection( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int offset () const - */ -HB_FUNC( QT_QHEADERVIEW_OFFSET ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->offset() ); -} - -/* - * Qt::Orientation orientation () const - */ -HB_FUNC( QT_QHEADERVIEW_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QHeaderView( 1 )->orientation() ); -} - -/* - * ResizeMode resizeMode ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_RESIZEMODE ) -{ - hb_retni( ( QHeaderView::ResizeMode ) hbqt_par_QHeaderView( 1 )->resizeMode( hb_parni( 2 ) ) ); -} - -/* - * void resizeSection ( int logicalIndex, int size ) - */ -HB_FUNC( QT_QHEADERVIEW_RESIZESECTION ) -{ - hbqt_par_QHeaderView( 1 )->resizeSection( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void resizeSections ( QHeaderView::ResizeMode mode ) - */ -HB_FUNC( QT_QHEADERVIEW_RESIZESECTIONS ) -{ - hbqt_par_QHeaderView( 1 )->resizeSections( ( QHeaderView::ResizeMode ) hb_parni( 2 ) ); -} - -/* - * bool restoreState ( const QByteArray & state ) - */ -HB_FUNC( QT_QHEADERVIEW_RESTORESTATE ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->restoreState( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QByteArray saveState () const - */ -HB_FUNC( QT_QHEADERVIEW_SAVESTATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QHeaderView( 1 )->saveState() ) ) ); -} - -/* - * int sectionPosition ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_SECTIONPOSITION ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->sectionPosition( hb_parni( 2 ) ) ); -} - -/* - * int sectionSize ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSIZE ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->sectionSize( hb_parni( 2 ) ) ); -} - -/* - * int sectionSizeHint ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSIZEHINT ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->sectionSizeHint( hb_parni( 2 ) ) ); -} - -/* - * int sectionViewportPosition ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_SECTIONVIEWPORTPOSITION ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->sectionViewportPosition( hb_parni( 2 ) ) ); -} - -/* - * bool sectionsHidden () const - */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSHIDDEN ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->sectionsHidden() ); -} - -/* - * bool sectionsMoved () const - */ -HB_FUNC( QT_QHEADERVIEW_SECTIONSMOVED ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->sectionsMoved() ); -} - -/* - * void setCascadingSectionResizes ( bool enable ) - */ -HB_FUNC( QT_QHEADERVIEW_SETCASCADINGSECTIONRESIZES ) -{ - hbqt_par_QHeaderView( 1 )->setCascadingSectionResizes( hb_parl( 2 ) ); -} - -/* - * void setClickable ( bool clickable ) - */ -HB_FUNC( QT_QHEADERVIEW_SETCLICKABLE ) -{ - hbqt_par_QHeaderView( 1 )->setClickable( hb_parl( 2 ) ); -} - -/* - * void setDefaultAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QHEADERVIEW_SETDEFAULTALIGNMENT ) -{ - hbqt_par_QHeaderView( 1 )->setDefaultAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setDefaultSectionSize ( int size ) - */ -HB_FUNC( QT_QHEADERVIEW_SETDEFAULTSECTIONSIZE ) -{ - hbqt_par_QHeaderView( 1 )->setDefaultSectionSize( hb_parni( 2 ) ); -} - -/* - * void setHighlightSections ( bool highlight ) - */ -HB_FUNC( QT_QHEADERVIEW_SETHIGHLIGHTSECTIONS ) -{ - hbqt_par_QHeaderView( 1 )->setHighlightSections( hb_parl( 2 ) ); -} - -/* - * void setMinimumSectionSize ( int size ) - */ -HB_FUNC( QT_QHEADERVIEW_SETMINIMUMSECTIONSIZE ) -{ - hbqt_par_QHeaderView( 1 )->setMinimumSectionSize( hb_parni( 2 ) ); -} - -/* - * void setMovable ( bool movable ) - */ -HB_FUNC( QT_QHEADERVIEW_SETMOVABLE ) -{ - hbqt_par_QHeaderView( 1 )->setMovable( hb_parl( 2 ) ); -} - -/* - * void setResizeMode ( ResizeMode mode ) - */ -HB_FUNC( QT_QHEADERVIEW_SETRESIZEMODE ) -{ - hbqt_par_QHeaderView( 1 )->setResizeMode( ( QHeaderView::ResizeMode ) hb_parni( 2 ) ); -} - -/* - * void setResizeMode ( int logicalIndex, ResizeMode mode ) - */ -HB_FUNC( QT_QHEADERVIEW_SETRESIZEMODE_1 ) -{ - hbqt_par_QHeaderView( 1 )->setResizeMode( hb_parni( 2 ), ( QHeaderView::ResizeMode ) hb_parni( 3 ) ); -} - -/* - * void setSectionHidden ( int logicalIndex, bool hide ) - */ -HB_FUNC( QT_QHEADERVIEW_SETSECTIONHIDDEN ) -{ - hbqt_par_QHeaderView( 1 )->setSectionHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setSortIndicator ( int logicalIndex, Qt::SortOrder order ) - */ -HB_FUNC( QT_QHEADERVIEW_SETSORTINDICATOR ) -{ - hbqt_par_QHeaderView( 1 )->setSortIndicator( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* - * void setSortIndicatorShown ( bool show ) - */ -HB_FUNC( QT_QHEADERVIEW_SETSORTINDICATORSHOWN ) -{ - hbqt_par_QHeaderView( 1 )->setSortIndicatorShown( hb_parl( 2 ) ); -} - -/* - * void setStretchLastSection ( bool stretch ) - */ -HB_FUNC( QT_QHEADERVIEW_SETSTRETCHLASTSECTION ) -{ - hbqt_par_QHeaderView( 1 )->setStretchLastSection( hb_parl( 2 ) ); -} - -/* - * void showSection ( int logicalIndex ) - */ -HB_FUNC( QT_QHEADERVIEW_SHOWSECTION ) -{ - hbqt_par_QHeaderView( 1 )->showSection( hb_parni( 2 ) ); -} - -/* - * virtual QSize sizeHint () const - */ -HB_FUNC( QT_QHEADERVIEW_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QHeaderView( 1 )->sizeHint() ) ) ); -} - -/* - * Qt::SortOrder sortIndicatorOrder () const - */ -HB_FUNC( QT_QHEADERVIEW_SORTINDICATORORDER ) -{ - hb_retni( ( Qt::SortOrder ) hbqt_par_QHeaderView( 1 )->sortIndicatorOrder() ); -} - -/* - * int sortIndicatorSection () const - */ -HB_FUNC( QT_QHEADERVIEW_SORTINDICATORSECTION ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->sortIndicatorSection() ); -} - -/* - * bool stretchLastSection () const - */ -HB_FUNC( QT_QHEADERVIEW_STRETCHLASTSECTION ) -{ - hb_retl( hbqt_par_QHeaderView( 1 )->stretchLastSection() ); -} - -/* - * int stretchSectionCount () const - */ -HB_FUNC( QT_QHEADERVIEW_STRETCHSECTIONCOUNT ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->stretchSectionCount() ); -} - -/* - * void swapSections ( int first, int second ) - */ -HB_FUNC( QT_QHEADERVIEW_SWAPSECTIONS ) -{ - hbqt_par_QHeaderView( 1 )->swapSections( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int visualIndex ( int logicalIndex ) const - */ -HB_FUNC( QT_QHEADERVIEW_VISUALINDEX ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->visualIndex( hb_parni( 2 ) ) ); -} - -/* - * int visualIndexAt ( int position ) const - */ -HB_FUNC( QT_QHEADERVIEW_VISUALINDEXAT ) -{ - hb_retni( hbqt_par_QHeaderView( 1 )->visualIndexAt( hb_parni( 2 ) ) ); -} - -/* - * void headerDataChanged ( Qt::Orientation orientation, int logicalFirst, int logicalLast ) - */ -HB_FUNC( QT_QHEADERVIEW_HEADERDATACHANGED ) -{ - hbqt_par_QHeaderView( 1 )->headerDataChanged( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void setOffset ( int offset ) - */ -HB_FUNC( QT_QHEADERVIEW_SETOFFSET ) -{ - hbqt_par_QHeaderView( 1 )->setOffset( hb_parni( 2 ) ); -} - -/* - * void setOffsetToLastSection () - */ -HB_FUNC( QT_QHEADERVIEW_SETOFFSETTOLASTSECTION ) -{ - hbqt_par_QHeaderView( 1 )->setOffsetToLastSection(); -} - -/* - * void setOffsetToSectionPosition ( int visualIndex ) - */ -HB_FUNC( QT_QHEADERVIEW_SETOFFSETTOSECTIONPOSITION ) -{ - hbqt_par_QHeaderView( 1 )->setOffsetToSectionPosition( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QHttp.cpp b/harbour/contrib/hbqt/QHttp.cpp deleted file mode 100644 index e459db6df4..0000000000 --- a/harbour/contrib/hbqt/QHttp.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ConnectionMode { ConnectionModeHttp, ConnectionModeHttps } - * enum Error { NoError, HostNotFound, ConnectionRefused, UnexpectedClose, ..., UnknownError } - * enum State { Unconnected, HostLookup, Connecting, Sending, ..., Closing } - */ - -#include - -#include - - -/* - * QHttp ( QObject * parent = 0 ) - * QHttp ( const QString & hostName, quint16 port = 80, QObject * parent = 0 ) - * QHttp ( const QString & hostName, ConnectionMode mode, quint16 port = 0, QObject * parent = 0 ) - * virtual ~QHttp () - */ - -/* - * qint64 read ( char * data, qint64 maxlen ) - */ -HB_FUNC( QT_QHTTP_READ ) -{ - char * iData = ( char * ) hb_xgrab( hb_parnint( 3 ) + 1 ); - qint64 iRead; - - iRead = hbqt_par_QHttp( 1 )->read( iData, hb_parnint( 3 ) ); - - hb_retnint( iRead ); - if( ! hb_storclen_buffer( iData, iRead, 2 ) ) - hb_xfree( iData ); -} - -HB_FUNC( QT_QHTTP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QHttp > pObj = NULL; - - pObj = new QHttp( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * qint64 bytesAvailable () const - */ -HB_FUNC( QT_QHTTP_BYTESAVAILABLE ) -{ - hb_retnint( hbqt_par_QHttp( 1 )->bytesAvailable() ); -} - -/* - * void clearPendingRequests () - */ -HB_FUNC( QT_QHTTP_CLEARPENDINGREQUESTS ) -{ - hbqt_par_QHttp( 1 )->clearPendingRequests(); -} - -/* - * int close () - */ -HB_FUNC( QT_QHTTP_CLOSE ) -{ - hb_retni( hbqt_par_QHttp( 1 )->close() ); -} - -/* - * QIODevice * currentDestinationDevice () const - */ -HB_FUNC( QT_QHTTP_CURRENTDESTINATIONDEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QHttp( 1 )->currentDestinationDevice() ); -} - -/* - * int currentId () const - */ -HB_FUNC( QT_QHTTP_CURRENTID ) -{ - hb_retni( hbqt_par_QHttp( 1 )->currentId() ); -} - -/* - * QHttpRequestHeader currentRequest () const - */ -HB_FUNC( QT_QHTTP_CURRENTREQUEST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QHttpRequestHeader( hbqt_par_QHttp( 1 )->currentRequest() ) ) ); -} - -/* - * QIODevice * currentSourceDevice () const - */ -HB_FUNC( QT_QHTTP_CURRENTSOURCEDEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QHttp( 1 )->currentSourceDevice() ); -} - -/* - * Error error () const - */ -HB_FUNC( QT_QHTTP_ERROR ) -{ - hb_retni( ( QHttp::Error ) hbqt_par_QHttp( 1 )->error() ); -} - -/* - * QString errorString () const - */ -HB_FUNC( QT_QHTTP_ERRORSTRING ) -{ - hb_retc( hbqt_par_QHttp( 1 )->errorString().toAscii().data() ); -} - -/* - * int get ( const QString & path, QIODevice * to = 0 ) - */ -HB_FUNC( QT_QHTTP_GET ) -{ - hb_retni( hbqt_par_QHttp( 1 )->get( hbqt_par_QString( 2 ), hbqt_par_QIODevice( 3 ) ) ); -} - -/* - * bool hasPendingRequests () const - */ -HB_FUNC( QT_QHTTP_HASPENDINGREQUESTS ) -{ - hb_retl( hbqt_par_QHttp( 1 )->hasPendingRequests() ); -} - -/* - * int head ( const QString & path ) - */ -HB_FUNC( QT_QHTTP_HEAD ) -{ - hb_retni( hbqt_par_QHttp( 1 )->head( hbqt_par_QString( 2 ) ) ); -} - -/* - * QHttpResponseHeader lastResponse () const - */ -HB_FUNC( QT_QHTTP_LASTRESPONSE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QHttpResponseHeader( hbqt_par_QHttp( 1 )->lastResponse() ) ) ); -} - -/* - * int post ( const QString & path, QIODevice * data, QIODevice * to = 0 ) - */ -HB_FUNC( QT_QHTTP_POST ) -{ - hb_retni( hbqt_par_QHttp( 1 )->post( hbqt_par_QString( 2 ), hbqt_par_QIODevice( 3 ), hbqt_par_QIODevice( 4 ) ) ); -} - -/* - * int post ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) - */ -HB_FUNC( QT_QHTTP_POST_1 ) -{ - hb_retni( hbqt_par_QHttp( 1 )->post( hbqt_par_QString( 2 ), *hbqt_par_QByteArray( 3 ), hbqt_par_QIODevice( 4 ) ) ); -} - -/* - * QByteArray readAll () - */ -HB_FUNC( QT_QHTTP_READALL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QHttp( 1 )->readAll() ) ) ); -} - -/* - * int request ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) - */ -HB_FUNC( QT_QHTTP_REQUEST ) -{ - hb_retni( hbqt_par_QHttp( 1 )->request( *hbqt_par_QHttpRequestHeader( 2 ), hbqt_par_QIODevice( 3 ), hbqt_par_QIODevice( 4 ) ) ); -} - -/* - * int request ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) - */ -HB_FUNC( QT_QHTTP_REQUEST_1 ) -{ - hb_retni( hbqt_par_QHttp( 1 )->request( *hbqt_par_QHttpRequestHeader( 2 ), *hbqt_par_QByteArray( 3 ), hbqt_par_QIODevice( 4 ) ) ); -} - -/* - * int setHost ( const QString & hostName, quint16 port = 80 ) - */ -HB_FUNC( QT_QHTTP_SETHOST ) -{ - hb_retni( hbqt_par_QHttp( 1 )->setHost( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : 80 ) ) ); -} - -/* - * int setHost ( const QString & hostName, ConnectionMode mode, quint16 port = 0 ) - */ -HB_FUNC( QT_QHTTP_SETHOST_1 ) -{ - hb_retni( hbqt_par_QHttp( 1 )->setHost( hbqt_par_QString( 2 ), ( QHttp::ConnectionMode ) hb_parni( 3 ), hb_parni( 4 ) ) ); -} - -/* - * int setProxy ( const QString & host, int port, const QString & username = QString(), const QString & password = QString() ) - */ -HB_FUNC( QT_QHTTP_SETPROXY ) -{ - hb_retni( hbqt_par_QHttp( 1 )->setProxy( hbqt_par_QString( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), hbqt_par_QString( 5 ) ) ); -} - -/* - * int setProxy ( const QNetworkProxy & proxy ) - */ -HB_FUNC( QT_QHTTP_SETPROXY_1 ) -{ - hb_retni( hbqt_par_QHttp( 1 )->setProxy( *hbqt_par_QNetworkProxy( 2 ) ) ); -} - -/* - * int setSocket ( QTcpSocket * socket ) - */ -HB_FUNC( QT_QHTTP_SETSOCKET ) -{ - hb_retni( hbqt_par_QHttp( 1 )->setSocket( hbqt_par_QTcpSocket( 2 ) ) ); -} - -/* - * int setUser ( const QString & userName, const QString & password = QString() ) - */ -HB_FUNC( QT_QHTTP_SETUSER ) -{ - hb_retni( hbqt_par_QHttp( 1 )->setUser( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * State state () const - */ -HB_FUNC( QT_QHTTP_STATE ) -{ - hb_retni( ( QHttp::State ) hbqt_par_QHttp( 1 )->state() ); -} - -/* - * void abort () - */ -HB_FUNC( QT_QHTTP_ABORT ) -{ - hbqt_par_QHttp( 1 )->abort(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QIODevice.cpp b/harbour/contrib/hbqt/QIODevice.cpp deleted file mode 100644 index 9ab562aea3..0000000000 --- a/harbour/contrib/hbqt/QIODevice.cpp +++ /dev/null @@ -1,355 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags OpenMode - * enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - */ - -#include - -#include - - -/* - * QIODevice () - * QIODevice ( QObject * parent ) - * virtual ~QIODevice () - */ - -HB_FUNC( QT_QIODEVICE ) -{ -} -/* - * virtual bool atEnd () const - */ -HB_FUNC( QT_QIODEVICE_ATEND ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->atEnd() ); -} - -/* - * virtual qint64 bytesAvailable () const - */ -HB_FUNC( QT_QIODEVICE_BYTESAVAILABLE ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->bytesAvailable() ); -} - -/* - * virtual qint64 bytesToWrite () const - */ -HB_FUNC( QT_QIODEVICE_BYTESTOWRITE ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->bytesToWrite() ); -} - -/* - * virtual bool canReadLine () const - */ -HB_FUNC( QT_QIODEVICE_CANREADLINE ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->canReadLine() ); -} - -/* - * virtual void close () - */ -HB_FUNC( QT_QIODEVICE_CLOSE ) -{ - hbqt_par_QIODevice( 1 )->close(); -} - -/* - * QString errorString () const - */ -HB_FUNC( QT_QIODEVICE_ERRORSTRING ) -{ - hb_retc( hbqt_par_QIODevice( 1 )->errorString().toAscii().data() ); -} - -/* - * bool getChar ( char * c ) - */ -HB_FUNC( QT_QIODEVICE_GETCHAR ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->getChar( ( char * ) hb_parc( 2 ) ) ); -} - -/* - * bool isOpen () const - */ -HB_FUNC( QT_QIODEVICE_ISOPEN ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->isOpen() ); -} - -/* - * bool isReadable () const - */ -HB_FUNC( QT_QIODEVICE_ISREADABLE ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->isReadable() ); -} - -/* - * virtual bool isSequential () const - */ -HB_FUNC( QT_QIODEVICE_ISSEQUENTIAL ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->isSequential() ); -} - -/* - * bool isTextModeEnabled () const - */ -HB_FUNC( QT_QIODEVICE_ISTEXTMODEENABLED ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->isTextModeEnabled() ); -} - -/* - * bool isWritable () const - */ -HB_FUNC( QT_QIODEVICE_ISWRITABLE ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->isWritable() ); -} - -/* - * virtual bool open ( OpenMode mode ) - */ -HB_FUNC( QT_QIODEVICE_OPEN ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->open( ( QIODevice::OpenMode ) hb_parni( 2 ) ) ); -} - -/* - * OpenMode openMode () const - */ -HB_FUNC( QT_QIODEVICE_OPENMODE ) -{ - hb_retni( ( QIODevice::OpenMode ) hbqt_par_QIODevice( 1 )->openMode() ); -} - -/* - * qint64 peek ( char * data, qint64 maxSize ) - */ -HB_FUNC( QT_QIODEVICE_PEEK ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->peek( ( char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* - * QByteArray peek ( qint64 maxSize ) - */ -HB_FUNC( QT_QIODEVICE_PEEK_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QIODevice( 1 )->peek( hb_parnint( 2 ) ) ) ) ); -} - -/* - * virtual qint64 pos () const - */ -HB_FUNC( QT_QIODEVICE_POS ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->pos() ); -} - -/* - * bool putChar ( char c ) - */ -HB_FUNC( QT_QIODEVICE_PUTCHAR ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->putChar( ( char ) hb_parni( 2 ) ) ); -} - -/* - * qint64 read ( char * data, qint64 maxSize ) - */ -HB_FUNC( QT_QIODEVICE_READ ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->read( ( char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* - * QByteArray read ( qint64 maxSize ) - */ -HB_FUNC( QT_QIODEVICE_READ_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QIODevice( 1 )->read( hb_parnint( 2 ) ) ) ) ); -} - -/* - * QByteArray readAll () - */ -HB_FUNC( QT_QIODEVICE_READALL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QIODevice( 1 )->readAll() ) ) ); -} - -/* - * qint64 readLine ( char * data, qint64 maxSize ) - */ -HB_FUNC( QT_QIODEVICE_READLINE ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->readLine( ( char * ) hb_parc( 2 ), hb_parnint( 3 ) ) ); -} - -/* - * QByteArray readLine ( qint64 maxSize = 0 ) - */ -HB_FUNC( QT_QIODEVICE_READLINE_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QIODevice( 1 )->readLine( hb_parnint( 2 ) ) ) ) ); -} - -/* - * virtual bool reset () - */ -HB_FUNC( QT_QIODEVICE_RESET ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->reset() ); -} - -/* - * virtual bool seek ( qint64 pos ) - */ -HB_FUNC( QT_QIODEVICE_SEEK ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->seek( hb_parnint( 2 ) ) ); -} - -/* - * void setTextModeEnabled ( bool enabled ) - */ -HB_FUNC( QT_QIODEVICE_SETTEXTMODEENABLED ) -{ - hbqt_par_QIODevice( 1 )->setTextModeEnabled( hb_parl( 2 ) ); -} - -/* - * virtual qint64 size () const - */ -HB_FUNC( QT_QIODEVICE_SIZE ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->size() ); -} - -/* - * void ungetChar ( char c ) - */ -HB_FUNC( QT_QIODEVICE_UNGETCHAR ) -{ - hbqt_par_QIODevice( 1 )->ungetChar( ( char ) hb_parni( 2 ) ); -} - -/* - * virtual bool waitForBytesWritten ( int msecs ) - */ -HB_FUNC( QT_QIODEVICE_WAITFORBYTESWRITTEN ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->waitForBytesWritten( hb_parni( 2 ) ) ); -} - -/* - * virtual bool waitForReadyRead ( int msecs ) - */ -HB_FUNC( QT_QIODEVICE_WAITFORREADYREAD ) -{ - hb_retl( hbqt_par_QIODevice( 1 )->waitForReadyRead( hb_parni( 2 ) ) ); -} - -/* - * qint64 write ( const char * data, qint64 maxSize ) - */ -HB_FUNC( QT_QIODEVICE_WRITE ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->write( hbqt_par_char( 2 ), hb_parnint( 3 ) ) ); -} - -/* - * qint64 write ( const char * data ) - */ -HB_FUNC( QT_QIODEVICE_WRITE_1 ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->write( hbqt_par_char( 2 ) ) ); -} - -/* - * qint64 write ( const QByteArray & byteArray ) - */ -HB_FUNC( QT_QIODEVICE_WRITE_2 ) -{ - hb_retnint( hbqt_par_QIODevice( 1 )->write( *hbqt_par_QByteArray( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QIcon.cpp b/harbour/contrib/hbqt/QIcon.cpp deleted file mode 100644 index 9b54c59660..0000000000 --- a/harbour/contrib/hbqt/QIcon.cpp +++ /dev/null @@ -1,203 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Mode { Normal, Disabled, Active, Selected } - * enum State { Off, On } - */ - -/* - * Constructed[ 10/11 [ 90.91% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList availableSizes ( Mode mode = Normal, State state = Off ) const - */ - -#include - -#include - - -/* - * QIcon () - * QIcon ( const QPixmap & pixmap ) - * QIcon ( const QIcon & other ) - * QIcon ( const QString & fileName ) - * QIcon ( QIconEngine * engine ) - * QIcon ( QIconEngineV2 * engine ) - * ~QIcon () - */ - -HB_FUNC( QT_QICON ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QIcon* ) new QIcon( hbqt_par_QString( 1 ) ) ; - } - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QIcon* ) new QIcon( *hbqt_par_QPixmap( 1 ) ) ; - } - else - { - pObj = ( QIcon* ) new QIcon() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QIcon" ); - hb_retptrGC( p ); -} -/* - * QSize actualSize ( const QSize & size, Mode mode = Normal, State state = Off ) const - */ -HB_FUNC( QT_QICON_ACTUALSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QIcon( 1 )->actualSize( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ) ) ) ); -} - -/* - * void addFile ( const QString & fileName, const QSize & size = QSize(), Mode mode = Normal, State state = Off ) - */ -HB_FUNC( QT_QICON_ADDFILE ) -{ - hbqt_par_QIcon( 1 )->addFile( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QSize( 3 ) : QSize() ), ( HB_ISNUM( 4 ) ? ( QIcon::Mode ) hb_parni( 4 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 5 ) ? ( QIcon::State ) hb_parni( 5 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* - * void addPixmap ( const QPixmap & pixmap, Mode mode = Normal, State state = Off ) - */ -HB_FUNC( QT_QICON_ADDPIXMAP ) -{ - hbqt_par_QIcon( 1 )->addPixmap( *hbqt_par_QPixmap( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* - * qint64 cacheKey () const - */ -HB_FUNC( QT_QICON_CACHEKEY ) -{ - hb_retnint( hbqt_par_QIcon( 1 )->cacheKey() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QICON_ISNULL ) -{ - hb_retl( hbqt_par_QIcon( 1 )->isNull() ); -} - -/* - * void paint ( QPainter * painter, const QRect & rect, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const - */ -HB_FUNC( QT_QICON_PAINT ) -{ - hbqt_par_QIcon( 1 )->paint( hbqt_par_QPainter( 2 ), *hbqt_par_QRect( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::Alignment ) hb_parni( 4 ) : ( Qt::Alignment ) Qt::AlignCenter ), ( HB_ISNUM( 5 ) ? ( QIcon::Mode ) hb_parni( 5 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 6 ) ? ( QIcon::State ) hb_parni( 6 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* - * void paint ( QPainter * painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const - */ -HB_FUNC( QT_QICON_PAINT_1 ) -{ - hbqt_par_QIcon( 1 )->paint( hbqt_par_QPainter( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( HB_ISNUM( 7 ) ? ( Qt::Alignment ) hb_parni( 7 ) : ( Qt::Alignment ) Qt::AlignCenter ), ( HB_ISNUM( 8 ) ? ( QIcon::Mode ) hb_parni( 8 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 9 ) ? ( QIcon::State ) hb_parni( 9 ) : ( QIcon::State ) QIcon::Off ) ); -} - -/* - * QPixmap pixmap ( const QSize & size, Mode mode = Normal, State state = Off ) const - */ -HB_FUNC( QT_QICON_PIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QIcon( 1 )->pixmap( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ) ) ) ); -} - -/* - * QPixmap pixmap ( int w, int h, Mode mode = Normal, State state = Off ) const - */ -HB_FUNC( QT_QICON_PIXMAP_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QIcon( 1 )->pixmap( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QIcon::Mode ) hb_parni( 4 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 5 ) ? ( QIcon::State ) hb_parni( 5 ) : ( QIcon::State ) QIcon::Off ) ) ) ) ); -} - -/* - * QPixmap pixmap ( int extent, Mode mode = Normal, State state = Off ) const - */ -HB_FUNC( QT_QICON_PIXMAP_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QIcon( 1 )->pixmap( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QIcon::Mode ) hb_parni( 3 ) : ( QIcon::Mode ) QIcon::Normal ), ( HB_ISNUM( 4 ) ? ( QIcon::State ) hb_parni( 4 ) : ( QIcon::State ) QIcon::Off ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QImage.cpp b/harbour/contrib/hbqt/QImage.cpp deleted file mode 100644 index e7f539e33f..0000000000 --- a/harbour/contrib/hbqt/QImage.cpp +++ /dev/null @@ -1,635 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Format { Format_Invalid, Format_Mono, Format_MonoLSB, Format_Indexed8, ..., Format_ARGB4444_Premultiplied } - * enum InvertMode { InvertRgb, InvertRgba } - */ - -/* - * Constructed[ 60/64 [ 93.75% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QVector colorTable () const - * QImage convertToFormat ( Format format, const QVector & colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor ) const - * void setColorTable ( const QVector colors ) - * - * *** Commented out protos which construct fine but do not compile *** - * - * // bool loadFromData ( const uchar * data, int len, const char * format = 0 ) - */ - -#include - -#include -#include - - -/* - * QImage () - * QImage ( const QSize & size, Format format ) - * QImage ( int width, int height, Format format ) - * QImage ( uchar * data, int width, int height, Format format ) - * QImage ( const uchar * data, int width, int height, Format format ) - * QImage ( uchar * data, int width, int height, int bytesPerLine, Format format ) - * QImage ( const uchar * data, int width, int height, int bytesPerLine, Format format ) - * QImage ( const char * const[] xpm ) - * QImage ( const QString & fileName, const char * format = 0 ) - * QImage ( const char * fileName, const char * format = 0 ) - * QImage ( const QImage & image ) - * ~QImage () - */ - -HB_FUNC( QT_QIMAGE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QImage* ) new QImage( *hbqt_par_QImage( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QImage* ) new QImage( hbqt_par_QString( 1 ), ( const char * ) 0 ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - pObj = ( QImage* ) new QImage( hbqt_par_QString( 1 ), ( const char * ) hb_parcx( 2 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QImage* ) new QImage( *hbqt_par_QSize( 1 ), ( QImage::Format ) hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - pObj = ( QImage* ) new QImage( hb_parni( 1 ), hb_parni( 2 ), ( QImage::Format ) hb_parni( 3 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QImage* ) new QImage( ( const uchar * ) hb_parc( 1 ), hb_parni( 2 ), hb_parni( 3 ), ( QImage::Format ) hb_parni( 4 ) ) ; - } - else if( hb_pcount() == 5 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) && HB_ISNUM( 5 ) ) - { - pObj = ( QImage* ) new QImage( ( const uchar * ) hb_parc( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( QImage::Format ) hb_parni( 5 ) ) ; - } - else - { - pObj = ( QImage* ) new QImage() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QImage" ); - hb_retptrGC( p ); -} -/* - * bool allGray () const - */ -HB_FUNC( QT_QIMAGE_ALLGRAY ) -{ - hb_retl( hbqt_par_QImage( 1 )->allGray() ); -} - -/* - * QImage alphaChannel () const - */ -HB_FUNC( QT_QIMAGE_ALPHACHANNEL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->alphaChannel() ) ) ); -} - -/* - * uchar * bits () - */ -HB_FUNC( QT_QIMAGE_BITS ) -{ - hb_retptr( ( uchar* ) hbqt_par_QImage( 1 )->bits() ); -} - -/* - * const uchar * bits () const - */ -HB_FUNC( QT_QIMAGE_BITS_1 ) -{ - hb_retptr( ( uchar* ) hbqt_par_QImage( 1 )->bits() ); -} - -/* - * int bytesPerLine () const - */ -HB_FUNC( QT_QIMAGE_BYTESPERLINE ) -{ - hb_retni( hbqt_par_QImage( 1 )->bytesPerLine() ); -} - -/* - * qint64 cacheKey () const - */ -HB_FUNC( QT_QIMAGE_CACHEKEY ) -{ - hb_retnint( hbqt_par_QImage( 1 )->cacheKey() ); -} - -/* - * QRgb color ( int i ) const - */ -HB_FUNC( QT_QIMAGE_COLOR ) -{ - hb_retnl( hbqt_par_QImage( 1 )->color( hb_parni( 2 ) ) ); -} - -/* - * QImage convertToFormat ( Format format, Qt::ImageConversionFlags flags = Qt::AutoColor ) const - */ -HB_FUNC( QT_QIMAGE_CONVERTTOFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->convertToFormat( ( QImage::Format ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ImageConversionFlags ) hb_parni( 3 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ) ) ); -} - -/* - * QImage copy ( const QRect & rectangle = QRect() ) const - */ -HB_FUNC( QT_QIMAGE_COPY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->copy( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QRect( 2 ) : QRect() ) ) ) ) ); -} - -/* - * QImage copy ( int x, int y, int width, int height ) const - */ -HB_FUNC( QT_QIMAGE_COPY_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->copy( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ) ) ); -} - -/* - * QImage createAlphaMask ( Qt::ImageConversionFlags flags = Qt::AutoColor ) const - */ -HB_FUNC( QT_QIMAGE_CREATEALPHAMASK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->createAlphaMask( ( HB_ISNUM( 2 ) ? ( Qt::ImageConversionFlags ) hb_parni( 2 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ) ) ); -} - -/* - * QImage createHeuristicMask ( bool clipTight = true ) const - */ -HB_FUNC( QT_QIMAGE_CREATEHEURISTICMASK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->createHeuristicMask( hb_parl( 2 ) ) ) ) ); -} - -/* - * QImage createMaskFromColor ( QRgb color, Qt::MaskMode mode = Qt::MaskInColor ) const - */ -HB_FUNC( QT_QIMAGE_CREATEMASKFROMCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->createMaskFromColor( hb_parnl( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::MaskMode ) hb_parni( 3 ) : ( Qt::MaskMode ) Qt::MaskInColor ) ) ) ) ); -} - -/* - * int depth () const - */ -HB_FUNC( QT_QIMAGE_DEPTH ) -{ - hb_retni( hbqt_par_QImage( 1 )->depth() ); -} - -/* - * int dotsPerMeterX () const - */ -HB_FUNC( QT_QIMAGE_DOTSPERMETERX ) -{ - hb_retni( hbqt_par_QImage( 1 )->dotsPerMeterX() ); -} - -/* - * int dotsPerMeterY () const - */ -HB_FUNC( QT_QIMAGE_DOTSPERMETERY ) -{ - hb_retni( hbqt_par_QImage( 1 )->dotsPerMeterY() ); -} - -/* - * void fill ( uint pixelValue ) - */ -HB_FUNC( QT_QIMAGE_FILL ) -{ - hbqt_par_QImage( 1 )->fill( hb_parni( 2 ) ); -} - -/* - * Format format () const - */ -HB_FUNC( QT_QIMAGE_FORMAT ) -{ - hb_retni( ( QImage::Format ) hbqt_par_QImage( 1 )->format() ); -} - -/* - * bool hasAlphaChannel () const - */ -HB_FUNC( QT_QIMAGE_HASALPHACHANNEL ) -{ - hb_retl( hbqt_par_QImage( 1 )->hasAlphaChannel() ); -} - -/* - * int height () const - */ -HB_FUNC( QT_QIMAGE_HEIGHT ) -{ - hb_retni( hbqt_par_QImage( 1 )->height() ); -} - -/* - * void invertPixels ( InvertMode mode = InvertRgb ) - */ -HB_FUNC( QT_QIMAGE_INVERTPIXELS ) -{ - hbqt_par_QImage( 1 )->invertPixels( ( HB_ISNUM( 2 ) ? ( QImage::InvertMode ) hb_parni( 2 ) : ( QImage::InvertMode ) QImage::InvertRgb ) ); -} - -/* - * bool isGrayscale () const - */ -HB_FUNC( QT_QIMAGE_ISGRAYSCALE ) -{ - hb_retl( hbqt_par_QImage( 1 )->isGrayscale() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QIMAGE_ISNULL ) -{ - hb_retl( hbqt_par_QImage( 1 )->isNull() ); -} - -/* - * bool load ( const QString & fileName, const char * format = 0 ) - */ -HB_FUNC( QT_QIMAGE_LOAD ) -{ - hb_retl( hbqt_par_QImage( 1 )->load( hbqt_par_QString( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * bool load ( QIODevice * device, const char * format ) - */ -HB_FUNC( QT_QIMAGE_LOAD_1 ) -{ - hb_retl( hbqt_par_QImage( 1 )->load( hbqt_par_QIODevice( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * bool loadFromData ( const QByteArray & data, const char * format = 0 ) - */ -HB_FUNC( QT_QIMAGE_LOADFROMDATA ) -{ - hb_retl( hbqt_par_QImage( 1 )->loadFromData( *hbqt_par_QByteArray( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * QImage mirrored ( bool horizontal = false, bool vertical = true ) const - */ -HB_FUNC( QT_QIMAGE_MIRRORED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->mirrored( hb_parl( 2 ), hb_parl( 3 ) ) ) ) ); -} - -/* - * int numBytes () const - */ -HB_FUNC( QT_QIMAGE_NUMBYTES ) -{ - hb_retni( hbqt_par_QImage( 1 )->numBytes() ); -} - -/* - * int numColors () const - */ -HB_FUNC( QT_QIMAGE_NUMCOLORS ) -{ - hb_retni( hbqt_par_QImage( 1 )->numColors() ); -} - -/* - * QPoint offset () const - */ -HB_FUNC( QT_QIMAGE_OFFSET ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QImage( 1 )->offset() ) ) ); -} - -/* - * QRgb pixel ( const QPoint & position ) const - */ -HB_FUNC( QT_QIMAGE_PIXEL ) -{ - hb_retnl( hbqt_par_QImage( 1 )->pixel( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QRgb pixel ( int x, int y ) const - */ -HB_FUNC( QT_QIMAGE_PIXEL_1 ) -{ - hb_retnl( hbqt_par_QImage( 1 )->pixel( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int pixelIndex ( const QPoint & position ) const - */ -HB_FUNC( QT_QIMAGE_PIXELINDEX ) -{ - hb_retni( hbqt_par_QImage( 1 )->pixelIndex( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * int pixelIndex ( int x, int y ) const - */ -HB_FUNC( QT_QIMAGE_PIXELINDEX_1 ) -{ - hb_retni( hbqt_par_QImage( 1 )->pixelIndex( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QRect rect () const - */ -HB_FUNC( QT_QIMAGE_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QImage( 1 )->rect() ) ) ); -} - -/* - * QImage rgbSwapped () const - */ -HB_FUNC( QT_QIMAGE_RGBSWAPPED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->rgbSwapped() ) ) ); -} - -/* - * bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const - */ -HB_FUNC( QT_QIMAGE_SAVE ) -{ - hb_retl( hbqt_par_QImage( 1 )->save( hbqt_par_QString( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ) ); -} - -/* - * bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - */ -HB_FUNC( QT_QIMAGE_SAVE_1 ) -{ - hb_retl( hbqt_par_QImage( 1 )->save( hbqt_par_QIODevice( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ) ); -} - -/* - * QImage scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QIMAGE_SCALED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->scaled( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::AspectRatioMode ) hb_parni( 3 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 4 ) ? ( Qt::TransformationMode ) hb_parni( 4 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QImage scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QIMAGE_SCALED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->scaled( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::AspectRatioMode ) hb_parni( 4 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 5 ) ? ( Qt::TransformationMode ) hb_parni( 5 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QImage scaledToHeight ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QIMAGE_SCALEDTOHEIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->scaledToHeight( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QImage scaledToWidth ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QIMAGE_SCALEDTOWIDTH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->scaledToWidth( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * uchar * scanLine ( int i ) - */ -HB_FUNC( QT_QIMAGE_SCANLINE ) -{ - hb_retptr( ( uchar* ) hbqt_par_QImage( 1 )->scanLine( hb_parni( 2 ) ) ); -} - -/* - * const uchar * scanLine ( int i ) const - */ -HB_FUNC( QT_QIMAGE_SCANLINE_1 ) -{ - hb_retptr( ( uchar* ) hbqt_par_QImage( 1 )->scanLine( hb_parni( 2 ) ) ); -} - -/* - * void setColor ( int index, QRgb colorValue ) - */ -HB_FUNC( QT_QIMAGE_SETCOLOR ) -{ - hbqt_par_QImage( 1 )->setColor( hb_parni( 2 ), hb_parnl( 3 ) ); -} - -/* - * void setDotsPerMeterX ( int x ) - */ -HB_FUNC( QT_QIMAGE_SETDOTSPERMETERX ) -{ - hbqt_par_QImage( 1 )->setDotsPerMeterX( hb_parni( 2 ) ); -} - -/* - * void setDotsPerMeterY ( int y ) - */ -HB_FUNC( QT_QIMAGE_SETDOTSPERMETERY ) -{ - hbqt_par_QImage( 1 )->setDotsPerMeterY( hb_parni( 2 ) ); -} - -/* - * void setNumColors ( int numColors ) - */ -HB_FUNC( QT_QIMAGE_SETNUMCOLORS ) -{ - hbqt_par_QImage( 1 )->setNumColors( hb_parni( 2 ) ); -} - -/* - * void setOffset ( const QPoint & offset ) - */ -HB_FUNC( QT_QIMAGE_SETOFFSET ) -{ - hbqt_par_QImage( 1 )->setOffset( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setPixel ( const QPoint & position, uint index_or_rgb ) - */ -HB_FUNC( QT_QIMAGE_SETPIXEL ) -{ - hbqt_par_QImage( 1 )->setPixel( *hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* - * void setPixel ( int x, int y, uint index_or_rgb ) - */ -HB_FUNC( QT_QIMAGE_SETPIXEL_1 ) -{ - hbqt_par_QImage( 1 )->setPixel( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void setText ( const QString & key, const QString & text ) - */ -HB_FUNC( QT_QIMAGE_SETTEXT ) -{ - hbqt_par_QImage( 1 )->setText( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QSize size () const - */ -HB_FUNC( QT_QIMAGE_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QImage( 1 )->size() ) ) ); -} - -/* - * QString text ( const QString & key = QString() ) const - */ -HB_FUNC( QT_QIMAGE_TEXT ) -{ - hb_retc( hbqt_par_QImage( 1 )->text( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QStringList textKeys () const - */ -HB_FUNC( QT_QIMAGE_TEXTKEYS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QImage( 1 )->textKeys() ) ) ); -} - -/* - * QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QIMAGE_TRANSFORMED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QImage transformed ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QIMAGE_TRANSFORMED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImage( 1 )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * bool valid ( const QPoint & pos ) const - */ -HB_FUNC( QT_QIMAGE_VALID ) -{ - hb_retl( hbqt_par_QImage( 1 )->valid( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * bool valid ( int x, int y ) const - */ -HB_FUNC( QT_QIMAGE_VALID_1 ) -{ - hb_retl( hbqt_par_QImage( 1 )->valid( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int width () const - */ -HB_FUNC( QT_QIMAGE_WIDTH ) -{ - hb_retni( hbqt_par_QImage( 1 )->width() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QImageReader.cpp b/harbour/contrib/hbqt/QImageReader.cpp deleted file mode 100644 index 0f55c9a7b6..0000000000 --- a/harbour/contrib/hbqt/QImageReader.cpp +++ /dev/null @@ -1,410 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ImageReaderError { FileNotFoundError, DeviceError, UnsupportedFormatError, InvalidDataError, UnknownError } - */ - -/* - * Constructed[ 38/39 [ 97.44% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList supportedImageFormats () - */ - -#include - -#include -#include - - -/* - * QImageReader () - * QImageReader ( QIODevice * device, const QByteArray & format = QByteArray() ) - * QImageReader ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QImageReader () - */ - -HB_FUNC( QT_QIMAGEREADER ) -{ - void * pObj = NULL; - - pObj = ( QImageReader* ) new QImageReader() ; - - hb_retptr( pObj ); -} -/* - * bool autoDetectImageFormat () const - */ -HB_FUNC( QT_QIMAGEREADER_AUTODETECTIMAGEFORMAT ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->autoDetectImageFormat() ); -} - -/* - * QColor backgroundColor () const - */ -HB_FUNC( QT_QIMAGEREADER_BACKGROUNDCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QImageReader( 1 )->backgroundColor() ) ) ); -} - -/* - * bool canRead () const - */ -HB_FUNC( QT_QIMAGEREADER_CANREAD ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->canRead() ); -} - -/* - * QRect clipRect () const - */ -HB_FUNC( QT_QIMAGEREADER_CLIPRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QImageReader( 1 )->clipRect() ) ) ); -} - -/* - * int currentImageNumber () const - */ -HB_FUNC( QT_QIMAGEREADER_CURRENTIMAGENUMBER ) -{ - hb_retni( hbqt_par_QImageReader( 1 )->currentImageNumber() ); -} - -/* - * QRect currentImageRect () const - */ -HB_FUNC( QT_QIMAGEREADER_CURRENTIMAGERECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QImageReader( 1 )->currentImageRect() ) ) ); -} - -/* - * QIODevice * device () const - */ -HB_FUNC( QT_QIMAGEREADER_DEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QImageReader( 1 )->device() ); -} - -/* - * ImageReaderError error () const - */ -HB_FUNC( QT_QIMAGEREADER_ERROR ) -{ - hb_retni( ( QImageReader::ImageReaderError ) hbqt_par_QImageReader( 1 )->error() ); -} - -/* - * QString errorString () const - */ -HB_FUNC( QT_QIMAGEREADER_ERRORSTRING ) -{ - hb_retc( hbqt_par_QImageReader( 1 )->errorString().toAscii().data() ); -} - -/* - * QString fileName () const - */ -HB_FUNC( QT_QIMAGEREADER_FILENAME ) -{ - hb_retc( hbqt_par_QImageReader( 1 )->fileName().toAscii().data() ); -} - -/* - * QByteArray format () const - */ -HB_FUNC( QT_QIMAGEREADER_FORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QImageReader( 1 )->format() ) ) ); -} - -/* - * int imageCount () const - */ -HB_FUNC( QT_QIMAGEREADER_IMAGECOUNT ) -{ - hb_retni( hbqt_par_QImageReader( 1 )->imageCount() ); -} - -/* - * QImage::Format imageFormat () const - */ -HB_FUNC( QT_QIMAGEREADER_IMAGEFORMAT ) -{ - hb_retni( ( QImage::Format ) hbqt_par_QImageReader( 1 )->imageFormat() ); -} - -/* - * bool jumpToImage ( int imageNumber ) - */ -HB_FUNC( QT_QIMAGEREADER_JUMPTOIMAGE ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->jumpToImage( hb_parni( 2 ) ) ); -} - -/* - * bool jumpToNextImage () - */ -HB_FUNC( QT_QIMAGEREADER_JUMPTONEXTIMAGE ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->jumpToNextImage() ); -} - -/* - * int loopCount () const - */ -HB_FUNC( QT_QIMAGEREADER_LOOPCOUNT ) -{ - hb_retni( hbqt_par_QImageReader( 1 )->loopCount() ); -} - -/* - * int nextImageDelay () const - */ -HB_FUNC( QT_QIMAGEREADER_NEXTIMAGEDELAY ) -{ - hb_retni( hbqt_par_QImageReader( 1 )->nextImageDelay() ); -} - -/* - * int quality () const - */ -HB_FUNC( QT_QIMAGEREADER_QUALITY ) -{ - hb_retni( hbqt_par_QImageReader( 1 )->quality() ); -} - -/* - * QImage read () - */ -HB_FUNC( QT_QIMAGEREADER_READ ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QImageReader( 1 )->read() ) ) ); -} - -/* - * bool read ( QImage * image ) - */ -HB_FUNC( QT_QIMAGEREADER_READ_1 ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->read( hbqt_par_QImage( 2 ) ) ); -} - -/* - * QRect scaledClipRect () const - */ -HB_FUNC( QT_QIMAGEREADER_SCALEDCLIPRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QImageReader( 1 )->scaledClipRect() ) ) ); -} - -/* - * QSize scaledSize () const - */ -HB_FUNC( QT_QIMAGEREADER_SCALEDSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QImageReader( 1 )->scaledSize() ) ) ); -} - -/* - * void setAutoDetectImageFormat ( bool enabled ) - */ -HB_FUNC( QT_QIMAGEREADER_SETAUTODETECTIMAGEFORMAT ) -{ - hbqt_par_QImageReader( 1 )->setAutoDetectImageFormat( hb_parl( 2 ) ); -} - -/* - * void setBackgroundColor ( const QColor & color ) - */ -HB_FUNC( QT_QIMAGEREADER_SETBACKGROUNDCOLOR ) -{ - hbqt_par_QImageReader( 1 )->setBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setClipRect ( const QRect & rect ) - */ -HB_FUNC( QT_QIMAGEREADER_SETCLIPRECT ) -{ - hbqt_par_QImageReader( 1 )->setClipRect( *hbqt_par_QRect( 2 ) ); -} - -/* - * void setDevice ( QIODevice * device ) - */ -HB_FUNC( QT_QIMAGEREADER_SETDEVICE ) -{ - hbqt_par_QImageReader( 1 )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* - * void setFileName ( const QString & fileName ) - */ -HB_FUNC( QT_QIMAGEREADER_SETFILENAME ) -{ - hbqt_par_QImageReader( 1 )->setFileName( hbqt_par_QString( 2 ) ); -} - -/* - * void setFormat ( const QByteArray & format ) - */ -HB_FUNC( QT_QIMAGEREADER_SETFORMAT ) -{ - hbqt_par_QImageReader( 1 )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setQuality ( int quality ) - */ -HB_FUNC( QT_QIMAGEREADER_SETQUALITY ) -{ - hbqt_par_QImageReader( 1 )->setQuality( hb_parni( 2 ) ); -} - -/* - * void setScaledClipRect ( const QRect & rect ) - */ -HB_FUNC( QT_QIMAGEREADER_SETSCALEDCLIPRECT ) -{ - hbqt_par_QImageReader( 1 )->setScaledClipRect( *hbqt_par_QRect( 2 ) ); -} - -/* - * void setScaledSize ( const QSize & size ) - */ -HB_FUNC( QT_QIMAGEREADER_SETSCALEDSIZE ) -{ - hbqt_par_QImageReader( 1 )->setScaledSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * QSize size () const - */ -HB_FUNC( QT_QIMAGEREADER_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QImageReader( 1 )->size() ) ) ); -} - -/* - * bool supportsAnimation () const - */ -HB_FUNC( QT_QIMAGEREADER_SUPPORTSANIMATION ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->supportsAnimation() ); -} - -/* - * bool supportsOption ( QImageIOHandler::ImageOption option ) const - */ -HB_FUNC( QT_QIMAGEREADER_SUPPORTSOPTION ) -{ - hb_retl( hbqt_par_QImageReader( 1 )->supportsOption( ( QImageIOHandler::ImageOption ) hb_parni( 2 ) ) ); -} - -/* - * QString text ( const QString & key ) const - */ -HB_FUNC( QT_QIMAGEREADER_TEXT ) -{ - hb_retc( hbqt_par_QImageReader( 1 )->text( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * QStringList textKeys () const - */ -HB_FUNC( QT_QIMAGEREADER_TEXTKEYS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QImageReader( 1 )->textKeys() ) ) ); -} - -/* - * QByteArray imageFormat ( const QString & fileName ) - */ -HB_FUNC( QT_QIMAGEREADER_IMAGEFORMAT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QImageReader( 1 )->imageFormat( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QByteArray imageFormat ( QIODevice * device ) - */ -HB_FUNC( QT_QIMAGEREADER_IMAGEFORMAT_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QImageReader( 1 )->imageFormat( hbqt_par_QIODevice( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QImageWriter.cpp b/harbour/contrib/hbqt/QImageWriter.cpp deleted file mode 100644 index 429e18f6b6..0000000000 --- a/harbour/contrib/hbqt/QImageWriter.cpp +++ /dev/null @@ -1,249 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ImageWriterError { DeviceError, UnsupportedFormatError, UnknownError } - */ - -/* - * Constructed[ 18/19 [ 94.74% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList supportedImageFormats () - */ - -#include - -#include - - -/* - * QImageWriter () - * QImageWriter ( QIODevice * device, const QByteArray & format ) - * QImageWriter ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QImageWriter () - */ - -HB_FUNC( QT_QIMAGEWRITER ) -{ - void * pObj = NULL; - - pObj = ( QImageWriter* ) new QImageWriter() ; - - hb_retptr( pObj ); -} -/* - * bool canWrite () const - */ -HB_FUNC( QT_QIMAGEWRITER_CANWRITE ) -{ - hb_retl( hbqt_par_QImageWriter( 1 )->canWrite() ); -} - -/* - * int compression () const - */ -HB_FUNC( QT_QIMAGEWRITER_COMPRESSION ) -{ - hb_retni( hbqt_par_QImageWriter( 1 )->compression() ); -} - -/* - * QIODevice * device () const - */ -HB_FUNC( QT_QIMAGEWRITER_DEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QImageWriter( 1 )->device() ); -} - -/* - * ImageWriterError error () const - */ -HB_FUNC( QT_QIMAGEWRITER_ERROR ) -{ - hb_retni( ( QImageWriter::ImageWriterError ) hbqt_par_QImageWriter( 1 )->error() ); -} - -/* - * QString errorString () const - */ -HB_FUNC( QT_QIMAGEWRITER_ERRORSTRING ) -{ - hb_retc( hbqt_par_QImageWriter( 1 )->errorString().toAscii().data() ); -} - -/* - * QString fileName () const - */ -HB_FUNC( QT_QIMAGEWRITER_FILENAME ) -{ - hb_retc( hbqt_par_QImageWriter( 1 )->fileName().toAscii().data() ); -} - -/* - * QByteArray format () const - */ -HB_FUNC( QT_QIMAGEWRITER_FORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QImageWriter( 1 )->format() ) ) ); -} - -/* - * float gamma () const - */ -HB_FUNC( QT_QIMAGEWRITER_GAMMA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new float( hbqt_par_QImageWriter( 1 )->gamma() ) ) ); -} - -/* - * int quality () const - */ -HB_FUNC( QT_QIMAGEWRITER_QUALITY ) -{ - hb_retni( hbqt_par_QImageWriter( 1 )->quality() ); -} - -/* - * void setCompression ( int compression ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETCOMPRESSION ) -{ - hbqt_par_QImageWriter( 1 )->setCompression( hb_parni( 2 ) ); -} - -/* - * void setDevice ( QIODevice * device ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETDEVICE ) -{ - hbqt_par_QImageWriter( 1 )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* - * void setFileName ( const QString & fileName ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETFILENAME ) -{ - hbqt_par_QImageWriter( 1 )->setFileName( hbqt_par_QString( 2 ) ); -} - -/* - * void setFormat ( const QByteArray & format ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETFORMAT ) -{ - hbqt_par_QImageWriter( 1 )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setGamma ( float gamma ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETGAMMA ) -{ - hbqt_par_QImageWriter( 1 )->setGamma( hb_parnd( 2 ) ); -} - -/* - * void setQuality ( int quality ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETQUALITY ) -{ - hbqt_par_QImageWriter( 1 )->setQuality( hb_parni( 2 ) ); -} - -/* - * void setText ( const QString & key, const QString & text ) - */ -HB_FUNC( QT_QIMAGEWRITER_SETTEXT ) -{ - hbqt_par_QImageWriter( 1 )->setText( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * bool supportsOption ( QImageIOHandler::ImageOption option ) const - */ -HB_FUNC( QT_QIMAGEWRITER_SUPPORTSOPTION ) -{ - hb_retl( hbqt_par_QImageWriter( 1 )->supportsOption( ( QImageIOHandler::ImageOption ) hb_parni( 2 ) ) ); -} - -/* - * bool write ( const QImage & image ) - */ -HB_FUNC( QT_QIMAGEWRITER_WRITE ) -{ - hb_retl( hbqt_par_QImageWriter( 1 )->write( *hbqt_par_QImage( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QInputDialog.cpp b/harbour/contrib/hbqt/QInputDialog.cpp deleted file mode 100644 index 30a2782db2..0000000000 --- a/harbour/contrib/hbqt/QInputDialog.cpp +++ /dev/null @@ -1,467 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum InputDialogOption { NoButtons, UseListViewForComboBoxItems } - * enum InputMode { TextInput, IntInput, DoubleInput } - * flags InputDialogOptions - */ - -#include - -#include - - -/* - * QInputDialog ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QInputDialog () - */ - -HB_FUNC( QT_QINPUTDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QInputDialog > pObj = NULL; - - pObj = ( QInputDialog * ) new QInputDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QString cancelButtonText () const - */ -HB_FUNC( QT_QINPUTDIALOG_CANCELBUTTONTEXT ) -{ - hb_retc( hbqt_par_QInputDialog( 1 )->cancelButtonText().toAscii().data() ); -} - -/* - * QStringList comboBoxItems () const - */ -HB_FUNC( QT_QINPUTDIALOG_COMBOBOXITEMS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QInputDialog( 1 )->comboBoxItems() ) ) ); -} - -/* - * virtual void done ( int result ) - */ -HB_FUNC( QT_QINPUTDIALOG_DONE ) -{ - hbqt_par_QInputDialog( 1 )->done( hb_parni( 2 ) ); -} - -/* - * int doubleDecimals () const - */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEDECIMALS ) -{ - hb_retni( hbqt_par_QInputDialog( 1 )->doubleDecimals() ); -} - -/* - * double doubleMaximum () const - */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEMAXIMUM ) -{ - hb_retnd( hbqt_par_QInputDialog( 1 )->doubleMaximum() ); -} - -/* - * double doubleMinimum () const - */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEMINIMUM ) -{ - hb_retnd( hbqt_par_QInputDialog( 1 )->doubleMinimum() ); -} - -/* - * double doubleValue () const - */ -HB_FUNC( QT_QINPUTDIALOG_DOUBLEVALUE ) -{ - hb_retnd( hbqt_par_QInputDialog( 1 )->doubleValue() ); -} - -/* - * InputMode inputMode () const - */ -HB_FUNC( QT_QINPUTDIALOG_INPUTMODE ) -{ - hb_retni( ( QInputDialog::InputMode ) hbqt_par_QInputDialog( 1 )->inputMode() ); -} - -/* - * int intMaximum () const - */ -HB_FUNC( QT_QINPUTDIALOG_INTMAXIMUM ) -{ - hb_retni( hbqt_par_QInputDialog( 1 )->intMaximum() ); -} - -/* - * int intMinimum () const - */ -HB_FUNC( QT_QINPUTDIALOG_INTMINIMUM ) -{ - hb_retni( hbqt_par_QInputDialog( 1 )->intMinimum() ); -} - -/* - * int intStep () const - */ -HB_FUNC( QT_QINPUTDIALOG_INTSTEP ) -{ - hb_retni( hbqt_par_QInputDialog( 1 )->intStep() ); -} - -/* - * int intValue () const - */ -HB_FUNC( QT_QINPUTDIALOG_INTVALUE ) -{ - hb_retni( hbqt_par_QInputDialog( 1 )->intValue() ); -} - -/* - * bool isComboBoxEditable () const - */ -HB_FUNC( QT_QINPUTDIALOG_ISCOMBOBOXEDITABLE ) -{ - hb_retl( hbqt_par_QInputDialog( 1 )->isComboBoxEditable() ); -} - -/* - * QString labelText () const - */ -HB_FUNC( QT_QINPUTDIALOG_LABELTEXT ) -{ - hb_retc( hbqt_par_QInputDialog( 1 )->labelText().toAscii().data() ); -} - -/* - * QString okButtonText () const - */ -HB_FUNC( QT_QINPUTDIALOG_OKBUTTONTEXT ) -{ - hb_retc( hbqt_par_QInputDialog( 1 )->okButtonText().toAscii().data() ); -} - -/* - * void open ( QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QINPUTDIALOG_OPEN ) -{ - hbqt_par_QInputDialog( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * InputDialogOptions options () const - */ -HB_FUNC( QT_QINPUTDIALOG_OPTIONS ) -{ - hb_retni( ( QInputDialog::InputDialogOptions ) hbqt_par_QInputDialog( 1 )->options() ); -} - -/* - * void setCancelButtonText ( const QString & text ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETCANCELBUTTONTEXT ) -{ - hbqt_par_QInputDialog( 1 )->setCancelButtonText( hbqt_par_QString( 2 ) ); -} - -/* - * void setComboBoxEditable ( bool editable ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETCOMBOBOXEDITABLE ) -{ - hbqt_par_QInputDialog( 1 )->setComboBoxEditable( hb_parl( 2 ) ); -} - -/* - * void setComboBoxItems ( const QStringList & items ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETCOMBOBOXITEMS ) -{ - hbqt_par_QInputDialog( 1 )->setComboBoxItems( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setDoubleDecimals ( int decimals ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEDECIMALS ) -{ - hbqt_par_QInputDialog( 1 )->setDoubleDecimals( hb_parni( 2 ) ); -} - -/* - * void setDoubleMaximum ( double max ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEMAXIMUM ) -{ - hbqt_par_QInputDialog( 1 )->setDoubleMaximum( hb_parnd( 2 ) ); -} - -/* - * void setDoubleMinimum ( double min ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEMINIMUM ) -{ - hbqt_par_QInputDialog( 1 )->setDoubleMinimum( hb_parnd( 2 ) ); -} - -/* - * void setDoubleRange ( double min, double max ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLERANGE ) -{ - hbqt_par_QInputDialog( 1 )->setDoubleRange( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setDoubleValue ( double value ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETDOUBLEVALUE ) -{ - hbqt_par_QInputDialog( 1 )->setDoubleValue( hb_parnd( 2 ) ); -} - -/* - * void setInputMode ( InputMode mode ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETINPUTMODE ) -{ - hbqt_par_QInputDialog( 1 )->setInputMode( ( QInputDialog::InputMode ) hb_parni( 2 ) ); -} - -/* - * void setIntMaximum ( int max ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETINTMAXIMUM ) -{ - hbqt_par_QInputDialog( 1 )->setIntMaximum( hb_parni( 2 ) ); -} - -/* - * void setIntMinimum ( int min ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETINTMINIMUM ) -{ - hbqt_par_QInputDialog( 1 )->setIntMinimum( hb_parni( 2 ) ); -} - -/* - * void setIntRange ( int min, int max ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETINTRANGE ) -{ - hbqt_par_QInputDialog( 1 )->setIntRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setIntStep ( int step ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETINTSTEP ) -{ - hbqt_par_QInputDialog( 1 )->setIntStep( hb_parni( 2 ) ); -} - -/* - * void setIntValue ( int value ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETINTVALUE ) -{ - hbqt_par_QInputDialog( 1 )->setIntValue( hb_parni( 2 ) ); -} - -/* - * void setLabelText ( const QString & text ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETLABELTEXT ) -{ - hbqt_par_QInputDialog( 1 )->setLabelText( hbqt_par_QString( 2 ) ); -} - -/* - * void setOkButtonText ( const QString & text ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETOKBUTTONTEXT ) -{ - hbqt_par_QInputDialog( 1 )->setOkButtonText( hbqt_par_QString( 2 ) ); -} - -/* - * void setOption ( InputDialogOption option, bool on = true ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETOPTION ) -{ - hbqt_par_QInputDialog( 1 )->setOption( ( QInputDialog::InputDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( InputDialogOptions options ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETOPTIONS ) -{ - hbqt_par_QInputDialog( 1 )->setOptions( ( QInputDialog::InputDialogOptions ) hb_parni( 2 ) ); -} - -/* - * void setTextEchoMode ( QLineEdit::EchoMode mode ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETTEXTECHOMODE ) -{ - hbqt_par_QInputDialog( 1 )->setTextEchoMode( ( QLineEdit::EchoMode ) hb_parni( 2 ) ); -} - -/* - * void setTextValue ( const QString & text ) - */ -HB_FUNC( QT_QINPUTDIALOG_SETTEXTVALUE ) -{ - hbqt_par_QInputDialog( 1 )->setTextValue( hbqt_par_QString( 2 ) ); -} - -/* - * bool testOption ( InputDialogOption option ) const - */ -HB_FUNC( QT_QINPUTDIALOG_TESTOPTION ) -{ - hb_retl( hbqt_par_QInputDialog( 1 )->testOption( ( QInputDialog::InputDialogOption ) hb_parni( 2 ) ) ); -} - -/* - * QLineEdit::EchoMode textEchoMode () const - */ -HB_FUNC( QT_QINPUTDIALOG_TEXTECHOMODE ) -{ - hb_retni( ( QLineEdit::EchoMode ) hbqt_par_QInputDialog( 1 )->textEchoMode() ); -} - -/* - * QString textValue () const - */ -HB_FUNC( QT_QINPUTDIALOG_TEXTVALUE ) -{ - hb_retc( hbqt_par_QInputDialog( 1 )->textValue().toAscii().data() ); -} - -/* - * double getDouble ( QWidget * parent, const QString & title, const QString & label, double value = 0, double min = -2147483647, double max = 2147483647, int decimals = 1, bool * ok = 0, Qt::WindowFlags flags = 0 ) - */ -HB_FUNC( QT_QINPUTDIALOG_GETDOUBLE ) -{ - bool iOk = 0; - - hb_retnd( hbqt_par_QInputDialog( 1 )->getDouble( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), hb_parnd( 5 ), hb_parnd( 6 ), hb_parnd( 7 ), ( HB_ISNUM( 8 ) ? hb_parni( 8 ) : 1 ), &iOk, ( Qt::WindowFlags ) hb_parni( 10 ) ) ); - - hb_stornl( iOk, 9 ); -} - -/* - * int getInt ( QWidget * parent, const QString & title, const QString & label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool * ok = 0, Qt::WindowFlags flags = 0 ) - */ -HB_FUNC( QT_QINPUTDIALOG_GETINT ) -{ - bool iOk = 0; - - hb_retni( hbqt_par_QInputDialog( 1 )->getInt( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : -2147483647 ), ( HB_ISNUM( 7 ) ? hb_parni( 7 ) : 2147483647 ), ( HB_ISNUM( 8 ) ? hb_parni( 8 ) : 1 ), &iOk, ( Qt::WindowFlags ) hb_parni( 10 ) ) ); - - hb_stornl( iOk, 9 ); -} - -/* - * QString getItem ( QWidget * parent, const QString & title, const QString & label, const QStringList & items, int current = 0, bool editable = true, bool * ok = 0, Qt::WindowFlags flags = 0 ) - */ -HB_FUNC( QT_QINPUTDIALOG_GETITEM ) -{ - bool iOk = 0; - - hb_retc( hbqt_par_QInputDialog( 1 )->getItem( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), *hbqt_par_QStringList( 5 ), hb_parni( 6 ), hb_parl( 7 ), &iOk, ( Qt::WindowFlags ) hb_parni( 9 ) ).toAscii().data() ); - - hb_stornl( iOk, 8 ); -} - -/* - * QString getText ( QWidget * parent, const QString & title, const QString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const QString & text = QString(), bool * ok = 0, Qt::WindowFlags flags = 0 ) - */ -HB_FUNC( QT_QINPUTDIALOG_GETTEXT ) -{ - bool iOk = 0; - - hb_retc( hbqt_par_QInputDialog( 1 )->getText( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QLineEdit::EchoMode ) hb_parni( 5 ) : ( QLineEdit::EchoMode ) QLineEdit::Normal ), hbqt_par_QString( 6 ), &iOk, ( Qt::WindowFlags ) hb_parni( 8 ) ).toAscii().data() ); - - hb_stornl( iOk, 7 ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QInputEvent.cpp b/harbour/contrib/hbqt/QInputEvent.cpp deleted file mode 100644 index 9953f3c220..0000000000 --- a/harbour/contrib/hbqt/QInputEvent.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include -#include - -/* - * - * - */ - -HB_FUNC( QT_QINPUTEVENT ) -{ - void * pObj = NULL; - - pObj = ( QInputEvent* ) new QInputEvent( ( QEvent::Type ) hb_parni( 1 ), ( Qt::KeyboardModifiers ) hb_parni( 2 ) ) ; - - hb_retptr( pObj ); -} -/* - * Qt::KeyboardModifiers modifiers () const - */ -HB_FUNC( QT_QINPUTEVENT_MODIFIERS ) -{ - hb_retni( ( Qt::KeyboardModifiers ) hbqt_par_QInputEvent( 1 )->modifiers() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QKeyEvent.cpp b/harbour/contrib/hbqt/QKeyEvent.cpp deleted file mode 100644 index 5818b595b4..0000000000 --- a/harbour/contrib/hbqt/QKeyEvent.cpp +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QKeyEvent ( Type type, int key, Qt::KeyboardModifiers modifiers, const QString & text = QString(), bool autorep = false, ushort count = 1 ) - * ~QKeyEvent () - */ - -HB_FUNC( QT_QKEYEVENT ) -{ -} -/* - * int count () const - */ -HB_FUNC( QT_QKEYEVENT_COUNT ) -{ - hb_retni( hbqt_par_QKeyEvent( 1 )->count() ); -} - -/* - * bool isAutoRepeat () const - */ -HB_FUNC( QT_QKEYEVENT_ISAUTOREPEAT ) -{ - hb_retl( hbqt_par_QKeyEvent( 1 )->isAutoRepeat() ); -} - -/* - * int key () const - */ -HB_FUNC( QT_QKEYEVENT_KEY ) -{ - hb_retni( hbqt_par_QKeyEvent( 1 )->key() ); -} - -/* - * bool matches ( QKeySequence::StandardKey key ) const - */ -HB_FUNC( QT_QKEYEVENT_MATCHES ) -{ - hb_retl( hbqt_par_QKeyEvent( 1 )->matches( ( QKeySequence::StandardKey ) hb_parni( 2 ) ) ); -} - -/* - * Qt::KeyboardModifiers modifiers () const - */ -HB_FUNC( QT_QKEYEVENT_MODIFIERS ) -{ - hb_retni( ( Qt::KeyboardModifiers ) hbqt_par_QKeyEvent( 1 )->modifiers() ); -} - -/* - * quint32 nativeModifiers () const - */ -HB_FUNC( QT_QKEYEVENT_NATIVEMODIFIERS ) -{ - hb_retnl( hbqt_par_QKeyEvent( 1 )->nativeModifiers() ); -} - -/* - * quint32 nativeScanCode () const - */ -HB_FUNC( QT_QKEYEVENT_NATIVESCANCODE ) -{ - hb_retnl( hbqt_par_QKeyEvent( 1 )->nativeScanCode() ); -} - -/* - * quint32 nativeVirtualKey () const - */ -HB_FUNC( QT_QKEYEVENT_NATIVEVIRTUALKEY ) -{ - hb_retnl( hbqt_par_QKeyEvent( 1 )->nativeVirtualKey() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QKEYEVENT_TEXT ) -{ - hb_retc( hbqt_par_QKeyEvent( 1 )->text().toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QKeySequence.cpp b/harbour/contrib/hbqt/QKeySequence.cpp deleted file mode 100644 index 36f0ba68f3..0000000000 --- a/harbour/contrib/hbqt/QKeySequence.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum SequenceFormat { NativeText, PortableText } - * enum SequenceMatch { NoMatch, PartialMatch, ExactMatch } - * enum StandardKey { AddTab, Back, Bold, Close, ..., ZoomOut } - */ - -/* - * Constructed[ 6/7 [ 85.71% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList keyBindings ( StandardKey key ) - */ - -#include - -#include - - -/* - * QKeySequence () - * QKeySequence ( const QString & key ) - * QKeySequence ( int k1, int k2 = 0, int k3 = 0, int k4 = 0 ) - * QKeySequence ( const QKeySequence & keysequence ) - * QKeySequence ( StandardKey key ) - * ~QKeySequence () - */ - -HB_FUNC( QT_QKEYSEQUENCE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( HB_ISPOINTER( 1 ) ) - pObj = ( QKeySequence * ) new QKeySequence( *hbqt_par_QKeySequence( 1 ) ) ; - else if( HB_ISCHAR( 1 ) ) - pObj = ( QKeySequence * ) new QKeySequence( hbqt_par_QString( 1 ) ) ; - else if( HB_ISNUM( 1 ) ) - pObj = ( QKeySequence * ) new QKeySequence( hb_parni( 1 ) ) ; - else - pObj = ( QKeySequence * ) new QKeySequence() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QKeySequence" ); - hb_retptrGC( p ); -} -/* - * uint count () const - */ -HB_FUNC( QT_QKEYSEQUENCE_COUNT ) -{ - hb_retni( hbqt_par_QKeySequence( 1 )->count() ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QKEYSEQUENCE_ISEMPTY ) -{ - hb_retl( hbqt_par_QKeySequence( 1 )->isEmpty() ); -} - -/* - * SequenceMatch matches ( const QKeySequence & seq ) const - */ -HB_FUNC( QT_QKEYSEQUENCE_MATCHES ) -{ - hb_retni( ( QKeySequence::SequenceMatch ) hbqt_par_QKeySequence( 1 )->matches( *hbqt_par_QKeySequence( 2 ) ) ); -} - -/* - * QString toString ( SequenceFormat format = PortableText ) const - */ -HB_FUNC( QT_QKEYSEQUENCE_TOSTRING ) -{ - hb_retc( hbqt_par_QKeySequence( 1 )->toString( ( HB_ISNUM( 2 ) ? ( QKeySequence::SequenceFormat ) hb_parni( 2 ) : ( QKeySequence::SequenceFormat ) QKeySequence::PortableText ) ).toAscii().data() ); -} - -/* - * QKeySequence fromString ( const QString & str, SequenceFormat format = PortableText ) - */ -HB_FUNC( QT_QKEYSEQUENCE_FROMSTRING ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QKeySequence( hbqt_par_QKeySequence( 1 )->fromString( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( QKeySequence::SequenceFormat ) hb_parni( 3 ) : ( QKeySequence::SequenceFormat ) QKeySequence::PortableText ) ) ) ) ); -} - -/* - * QKeySequence mnemonic ( const QString & text ) - */ -HB_FUNC( QT_QKEYSEQUENCE_MNEMONIC ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QKeySequence( hbqt_par_QKeySequence( 1 )->mnemonic( hbqt_par_QString( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLCDNumber.cpp b/harbour/contrib/hbqt/QLCDNumber.cpp deleted file mode 100644 index 1ee0a06c31..0000000000 --- a/harbour/contrib/hbqt/QLCDNumber.cpp +++ /dev/null @@ -1,251 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Mode { Hex, Dec, Oct, Bin } - * enum SegmentStyle { Outline, Filled, Flat } - */ - -#include - -#include - - -/* - * QLCDNumber ( QWidget * parent = 0 ) - * QLCDNumber ( uint numDigits, QWidget * parent = 0 ) - * ~QLCDNumber () - */ - -HB_FUNC( QT_QLCDNUMBER ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QLCDNumber > pObj = NULL; - - pObj = ( QLCDNumber * ) new QLCDNumber( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool checkOverflow ( double num ) const - */ -HB_FUNC( QT_QLCDNUMBER_CHECKOVERFLOW ) -{ - hb_retl( hbqt_par_QLCDNumber( 1 )->checkOverflow( hb_parnd( 2 ) ) ); -} - -/* - * bool checkOverflow ( int num ) const - */ -HB_FUNC( QT_QLCDNUMBER_CHECKOVERFLOW_1 ) -{ - hb_retl( hbqt_par_QLCDNumber( 1 )->checkOverflow( hb_parni( 2 ) ) ); -} - -/* - * int intValue () const - */ -HB_FUNC( QT_QLCDNUMBER_INTVALUE ) -{ - hb_retni( hbqt_par_QLCDNumber( 1 )->intValue() ); -} - -/* - * Mode mode () const - */ -HB_FUNC( QT_QLCDNUMBER_MODE ) -{ - hb_retni( ( QLCDNumber::Mode ) hbqt_par_QLCDNumber( 1 )->mode() ); -} - -/* - * int numDigits () const - */ -HB_FUNC( QT_QLCDNUMBER_NUMDIGITS ) -{ - hb_retni( hbqt_par_QLCDNumber( 1 )->numDigits() ); -} - -/* - * SegmentStyle segmentStyle () const - */ -HB_FUNC( QT_QLCDNUMBER_SEGMENTSTYLE ) -{ - hb_retni( ( QLCDNumber::SegmentStyle ) hbqt_par_QLCDNumber( 1 )->segmentStyle() ); -} - -/* - * void setMode ( Mode ) - */ -HB_FUNC( QT_QLCDNUMBER_SETMODE ) -{ - hbqt_par_QLCDNumber( 1 )->setMode( ( QLCDNumber::Mode ) hb_parni( 2 ) ); -} - -/* - * void setNumDigits ( int nDigits ) - */ -HB_FUNC( QT_QLCDNUMBER_SETNUMDIGITS ) -{ - hbqt_par_QLCDNumber( 1 )->setNumDigits( hb_parni( 2 ) ); -} - -/* - * void setSegmentStyle ( SegmentStyle ) - */ -HB_FUNC( QT_QLCDNUMBER_SETSEGMENTSTYLE ) -{ - hbqt_par_QLCDNumber( 1 )->setSegmentStyle( ( QLCDNumber::SegmentStyle ) hb_parni( 2 ) ); -} - -/* - * bool smallDecimalPoint () const - */ -HB_FUNC( QT_QLCDNUMBER_SMALLDECIMALPOINT ) -{ - hb_retl( hbqt_par_QLCDNumber( 1 )->smallDecimalPoint() ); -} - -/* - * double value () const - */ -HB_FUNC( QT_QLCDNUMBER_VALUE ) -{ - hb_retnd( hbqt_par_QLCDNumber( 1 )->value() ); -} - -/* - * void display ( const QString & s ) - */ -HB_FUNC( QT_QLCDNUMBER_DISPLAY ) -{ - hbqt_par_QLCDNumber( 1 )->display( hbqt_par_QString( 2 ) ); -} - -/* - * void display ( double num ) - */ -HB_FUNC( QT_QLCDNUMBER_DISPLAY_1 ) -{ - hbqt_par_QLCDNumber( 1 )->display( hb_parnd( 2 ) ); -} - -/* - * void display ( int num ) - */ -HB_FUNC( QT_QLCDNUMBER_DISPLAY_2 ) -{ - hbqt_par_QLCDNumber( 1 )->display( hb_parni( 2 ) ); -} - -/* - * void setBinMode () - */ -HB_FUNC( QT_QLCDNUMBER_SETBINMODE ) -{ - hbqt_par_QLCDNumber( 1 )->setBinMode(); -} - -/* - * void setDecMode () - */ -HB_FUNC( QT_QLCDNUMBER_SETDECMODE ) -{ - hbqt_par_QLCDNumber( 1 )->setDecMode(); -} - -/* - * void setHexMode () - */ -HB_FUNC( QT_QLCDNUMBER_SETHEXMODE ) -{ - hbqt_par_QLCDNumber( 1 )->setHexMode(); -} - -/* - * void setOctMode () - */ -HB_FUNC( QT_QLCDNUMBER_SETOCTMODE ) -{ - hbqt_par_QLCDNumber( 1 )->setOctMode(); -} - -/* - * void setSmallDecimalPoint ( bool ) - */ -HB_FUNC( QT_QLCDNUMBER_SETSMALLDECIMALPOINT ) -{ - hbqt_par_QLCDNumber( 1 )->setSmallDecimalPoint( hb_parl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLabel.cpp b/harbour/contrib/hbqt/QLabel.cpp deleted file mode 100644 index f109428add..0000000000 --- a/harbour/contrib/hbqt/QLabel.cpp +++ /dev/null @@ -1,326 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QLabel ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * QLabel ( const QString & text, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QLabel () - */ - -HB_FUNC( QT_QLABEL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QLabel > pObj = NULL; - - pObj = ( QLabel* ) new QLabel( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QLABEL_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QLabel( 1 )->alignment() ); -} - -/* - * QWidget * buddy () const - */ -HB_FUNC( QT_QLABEL_BUDDY ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QLabel( 1 )->buddy() ); -} - -/* - * bool hasScaledContents () const - */ -HB_FUNC( QT_QLABEL_HASSCALEDCONTENTS ) -{ - hb_retl( hbqt_par_QLabel( 1 )->hasScaledContents() ); -} - -/* - * int indent () const - */ -HB_FUNC( QT_QLABEL_INDENT ) -{ - hb_retni( hbqt_par_QLabel( 1 )->indent() ); -} - -/* - * int margin () const - */ -HB_FUNC( QT_QLABEL_MARGIN ) -{ - hb_retni( hbqt_par_QLabel( 1 )->margin() ); -} - -/* - * QMovie * movie () const - */ -HB_FUNC( QT_QLABEL_MOVIE ) -{ - hb_retptr( ( QMovie* ) hbqt_par_QLabel( 1 )->movie() ); -} - -/* - * bool openExternalLinks () const - */ -HB_FUNC( QT_QLABEL_OPENEXTERNALLINKS ) -{ - hb_retl( hbqt_par_QLabel( 1 )->openExternalLinks() ); -} - -/* - * const QPicture * picture () const - */ -HB_FUNC( QT_QLABEL_PICTURE ) -{ - hb_retptr( ( QPicture* ) hbqt_par_QLabel( 1 )->picture() ); -} - -/* - * const QPixmap * pixmap () const - */ -HB_FUNC( QT_QLABEL_PIXMAP ) -{ - hb_retptr( ( QPixmap* ) hbqt_par_QLabel( 1 )->pixmap() ); -} - -/* - * void setAlignment ( Qt::Alignment ) - */ -HB_FUNC( QT_QLABEL_SETALIGNMENT ) -{ - hbqt_par_QLabel( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setBuddy ( QWidget * buddy ) - */ -HB_FUNC( QT_QLABEL_SETBUDDY ) -{ - hbqt_par_QLabel( 1 )->setBuddy( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setIndent ( int ) - */ -HB_FUNC( QT_QLABEL_SETINDENT ) -{ - hbqt_par_QLabel( 1 )->setIndent( hb_parni( 2 ) ); -} - -/* - * void setMargin ( int ) - */ -HB_FUNC( QT_QLABEL_SETMARGIN ) -{ - hbqt_par_QLabel( 1 )->setMargin( hb_parni( 2 ) ); -} - -/* - * void setOpenExternalLinks ( bool open ) - */ -HB_FUNC( QT_QLABEL_SETOPENEXTERNALLINKS ) -{ - hbqt_par_QLabel( 1 )->setOpenExternalLinks( hb_parl( 2 ) ); -} - -/* - * void setScaledContents ( bool ) - */ -HB_FUNC( QT_QLABEL_SETSCALEDCONTENTS ) -{ - hbqt_par_QLabel( 1 )->setScaledContents( hb_parl( 2 ) ); -} - -/* - * void setTextFormat ( Qt::TextFormat ) - */ -HB_FUNC( QT_QLABEL_SETTEXTFORMAT ) -{ - hbqt_par_QLabel( 1 )->setTextFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* - * void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) - */ -HB_FUNC( QT_QLABEL_SETTEXTINTERACTIONFLAGS ) -{ - hbqt_par_QLabel( 1 )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); -} - -/* - * void setWordWrap ( bool on ) - */ -HB_FUNC( QT_QLABEL_SETWORDWRAP ) -{ - hbqt_par_QLabel( 1 )->setWordWrap( hb_parl( 2 ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QLABEL_TEXT ) -{ - hb_retc( hbqt_par_QLabel( 1 )->text().toAscii().data() ); -} - -/* - * Qt::TextFormat textFormat () const - */ -HB_FUNC( QT_QLABEL_TEXTFORMAT ) -{ - hb_retni( ( Qt::TextFormat ) hbqt_par_QLabel( 1 )->textFormat() ); -} - -/* - * Qt::TextInteractionFlags textInteractionFlags () const - */ -HB_FUNC( QT_QLABEL_TEXTINTERACTIONFLAGS ) -{ - hb_retni( ( Qt::TextInteractionFlags ) hbqt_par_QLabel( 1 )->textInteractionFlags() ); -} - -/* - * bool wordWrap () const - */ -HB_FUNC( QT_QLABEL_WORDWRAP ) -{ - hb_retl( hbqt_par_QLabel( 1 )->wordWrap() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QLABEL_CLEAR ) -{ - hbqt_par_QLabel( 1 )->clear(); -} - -/* - * void setMovie ( QMovie * movie ) - */ -HB_FUNC( QT_QLABEL_SETMOVIE ) -{ - hbqt_par_QLabel( 1 )->setMovie( hbqt_par_QMovie( 2 ) ); -} - -/* - * void setNum ( int num ) - */ -HB_FUNC( QT_QLABEL_SETNUM ) -{ - hbqt_par_QLabel( 1 )->setNum( hb_parni( 2 ) ); -} - -/* - * void setNum ( double num ) - */ -HB_FUNC( QT_QLABEL_SETNUM_1 ) -{ - hbqt_par_QLabel( 1 )->setNum( hb_parnd( 2 ) ); -} - -/* - * void setPicture ( const QPicture & picture ) - */ -HB_FUNC( QT_QLABEL_SETPICTURE ) -{ - hbqt_par_QLabel( 1 )->setPicture( *hbqt_par_QPicture( 2 ) ); -} - -/* - * void setPixmap ( const QPixmap & ) - */ -HB_FUNC( QT_QLABEL_SETPIXMAP ) -{ - hbqt_par_QLabel( 1 )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* - * void setText ( const QString & ) - */ -HB_FUNC( QT_QLABEL_SETTEXT ) -{ - hbqt_par_QLabel( 1 )->setText( hbqt_par_QString( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLatin1Char.cpp b/harbour/contrib/hbqt/QLatin1Char.cpp deleted file mode 100644 index 2e7ed3b994..0000000000 --- a/harbour/contrib/hbqt/QLatin1Char.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QLatin1Char ( char c ) - */ - -HB_FUNC( QT_QLATIN1CHAR ) -{ - void * pObj = NULL; - - pObj = ( QLatin1Char* ) new QLatin1Char( *hb_parcx( 1 ) ) ; - - hb_retptr( pObj ); -} -/* - * char toLatin1 () const - */ -HB_FUNC( QT_QLATIN1CHAR_TOLATIN1 ) -{ - hb_retni( hbqt_par_QLatin1Char( 1 )->toLatin1() ); -} - -/* - * ushort unicode () const - */ -HB_FUNC( QT_QLATIN1CHAR_UNICODE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new ushort( hbqt_par_QLatin1Char( 1 )->unicode() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLatin1String.cpp b/harbour/contrib/hbqt/QLatin1String.cpp deleted file mode 100644 index 8c8b833de1..0000000000 --- a/harbour/contrib/hbqt/QLatin1String.cpp +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QLatin1String ( const char * str ) - */ - -HB_FUNC( QT_QLATIN1STRING ) -{ - void * pObj = NULL; - - pObj = ( QLatin1String* ) new QLatin1String( hb_parcx( 1 ) ) ; - - hb_retptr( pObj ); -} -/* - * const char * latin1 () const - */ -HB_FUNC( QT_QLATIN1STRING_LATIN1 ) -{ - hb_retc( hbqt_par_QLatin1String( 1 )->latin1() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLayout.cpp b/harbour/contrib/hbqt/QLayout.cpp deleted file mode 100644 index 2c90343dd9..0000000000 --- a/harbour/contrib/hbqt/QLayout.cpp +++ /dev/null @@ -1,331 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum SizeConstraint { SetDefaultConstraint, SetFixedSize, SetMinimumSize, SetMaximumSize, SetMinAndMaxSize, SetNoConstraint } - */ - -#include - -#include - - -/* - * QLayout ( QWidget * parent ) - * QLayout () - */ - -HB_FUNC( QT_QLAYOUT ) -{ -} -/* - * bool activate () - */ -HB_FUNC( QT_QLAYOUT_ACTIVATE ) -{ - hb_retl( hbqt_par_QLayout( 1 )->activate() ); -} - -/* - * virtual void addItem ( QLayoutItem * item ) = 0 - */ -HB_FUNC( QT_QLAYOUT_ADDITEM ) -{ - hbqt_par_QLayout( 1 )->addItem( hbqt_par_QLayoutItem( 2 ) ); -} - -/* - * void addWidget ( QWidget * w ) - */ -HB_FUNC( QT_QLAYOUT_ADDWIDGET ) -{ - hbqt_par_QLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * QRect contentsRect () const - */ -HB_FUNC( QT_QLAYOUT_CONTENTSRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QLayout( 1 )->contentsRect() ) ) ); -} - -/* - * virtual int count () const = 0 - */ -HB_FUNC( QT_QLAYOUT_COUNT ) -{ - hb_retni( hbqt_par_QLayout( 1 )->count() ); -} - -/* - * virtual Qt::Orientations expandingDirections () const - */ -HB_FUNC( QT_QLAYOUT_EXPANDINGDIRECTIONS ) -{ - hb_retni( ( Qt::Orientations ) hbqt_par_QLayout( 1 )->expandingDirections() ); -} - -/* - * void getContentsMargins ( int * left, int * top, int * right, int * bottom ) const - */ -HB_FUNC( QT_QLAYOUT_GETCONTENTSMARGINS ) -{ - int iLeft = 0; - int iTop = 0; - int iRight = 0; - int iBottom = 0; - - hbqt_par_QLayout( 1 )->getContentsMargins( &iLeft, &iTop, &iRight, &iBottom ); - - hb_storni( iLeft, 2 ); - hb_storni( iTop, 3 ); - hb_storni( iRight, 4 ); - hb_storni( iBottom, 5 ); -} - -/* - * virtual int indexOf ( QWidget * widget ) const - */ -HB_FUNC( QT_QLAYOUT_INDEXOF ) -{ - hb_retni( hbqt_par_QLayout( 1 )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * bool isEnabled () const - */ -HB_FUNC( QT_QLAYOUT_ISENABLED ) -{ - hb_retl( hbqt_par_QLayout( 1 )->isEnabled() ); -} - -/* - * virtual QLayoutItem * itemAt ( int index ) const = 0 - */ -HB_FUNC( QT_QLAYOUT_ITEMAT ) -{ - hb_retptr( ( QLayoutItem* ) hbqt_par_QLayout( 1 )->itemAt( hb_parni( 2 ) ) ); -} - -/* - * virtual QSize maximumSize () const - */ -HB_FUNC( QT_QLAYOUT_MAXIMUMSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLayout( 1 )->maximumSize() ) ) ); -} - -/* - * QWidget * menuBar () const - */ -HB_FUNC( QT_QLAYOUT_MENUBAR ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QLayout( 1 )->menuBar() ); -} - -/* - * virtual QSize minimumSize () const - */ -HB_FUNC( QT_QLAYOUT_MINIMUMSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLayout( 1 )->minimumSize() ) ) ); -} - -/* - * QWidget * parentWidget () const - */ -HB_FUNC( QT_QLAYOUT_PARENTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QLayout( 1 )->parentWidget() ); -} - -/* - * void removeItem ( QLayoutItem * item ) - */ -HB_FUNC( QT_QLAYOUT_REMOVEITEM ) -{ - hbqt_par_QLayout( 1 )->removeItem( hbqt_par_QLayoutItem( 2 ) ); -} - -/* - * void removeWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QLAYOUT_REMOVEWIDGET ) -{ - hbqt_par_QLayout( 1 )->removeWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * bool setAlignment ( QWidget * w, Qt::Alignment alignment ) - */ -HB_FUNC( QT_QLAYOUT_SETALIGNMENT ) -{ - hb_retl( hbqt_par_QLayout( 1 )->setAlignment( hbqt_par_QWidget( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ) ); -} - -/* - * void setAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QLAYOUT_SETALIGNMENT_1 ) -{ - hbqt_par_QLayout( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * bool setAlignment ( QLayout * l, Qt::Alignment alignment ) - */ -HB_FUNC( QT_QLAYOUT_SETALIGNMENT_2 ) -{ - hb_retl( hbqt_par_QLayout( 1 )->setAlignment( hbqt_par_QLayout( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ) ); -} - -/* - * void setContentsMargins ( int left, int top, int right, int bottom ) - */ -HB_FUNC( QT_QLAYOUT_SETCONTENTSMARGINS ) -{ - hbqt_par_QLayout( 1 )->setContentsMargins( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setEnabled ( bool enable ) - */ -HB_FUNC( QT_QLAYOUT_SETENABLED ) -{ - hbqt_par_QLayout( 1 )->setEnabled( hb_parl( 2 ) ); -} - -/* - * void setMenuBar ( QWidget * widget ) - */ -HB_FUNC( QT_QLAYOUT_SETMENUBAR ) -{ - hbqt_par_QLayout( 1 )->setMenuBar( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setSizeConstraint ( SizeConstraint ) - */ -HB_FUNC( QT_QLAYOUT_SETSIZECONSTRAINT ) -{ - hbqt_par_QLayout( 1 )->setSizeConstraint( ( QLayout::SizeConstraint ) hb_parni( 2 ) ); -} - -/* - * void setSpacing ( int ) - */ -HB_FUNC( QT_QLAYOUT_SETSPACING ) -{ - hbqt_par_QLayout( 1 )->setSpacing( hb_parni( 2 ) ); -} - -/* - * SizeConstraint sizeConstraint () const - */ -HB_FUNC( QT_QLAYOUT_SIZECONSTRAINT ) -{ - hb_retni( ( QLayout::SizeConstraint ) hbqt_par_QLayout( 1 )->sizeConstraint() ); -} - -/* - * int spacing () const - */ -HB_FUNC( QT_QLAYOUT_SPACING ) -{ - hb_retni( hbqt_par_QLayout( 1 )->spacing() ); -} - -/* - * virtual QLayoutItem * takeAt ( int index ) = 0 - */ -HB_FUNC( QT_QLAYOUT_TAKEAT ) -{ - hb_retptr( ( QLayoutItem* ) hbqt_par_QLayout( 1 )->takeAt( hb_parni( 2 ) ) ); -} - -/* - * void update () - */ -HB_FUNC( QT_QLAYOUT_UPDATE ) -{ - hbqt_par_QLayout( 1 )->update(); -} - -/* - * QSize closestAcceptableSize ( const QWidget * widget, const QSize & size ) - */ -HB_FUNC( QT_QLAYOUT_CLOSESTACCEPTABLESIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLayout( 1 )->closestAcceptableSize( hbqt_par_QWidget( 2 ), *hbqt_par_QSize( 3 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLayoutItem.cpp b/harbour/contrib/hbqt/QLayoutItem.cpp deleted file mode 100644 index ac494c1061..0000000000 --- a/harbour/contrib/hbqt/QLayoutItem.cpp +++ /dev/null @@ -1,221 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QLayoutItem ( Qt::Alignment alignment = 0 ) - * virtual ~QLayoutItem () - */ - -HB_FUNC( QT_QLAYOUTITEM ) -{ -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QLAYOUTITEM_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QLayoutItem( 1 )->alignment() ); -} - -/* - * QSizePolicy::ControlTypes controlTypes () const - */ -HB_FUNC( QT_QLAYOUTITEM_CONTROLTYPES ) -{ - hb_retni( ( QSizePolicy::ControlTypes ) hbqt_par_QLayoutItem( 1 )->controlTypes() ); -} - -/* - * virtual Qt::Orientations expandingDirections () const = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_EXPANDINGDIRECTIONS ) -{ - hb_retni( ( Qt::Orientations ) hbqt_par_QLayoutItem( 1 )->expandingDirections() ); -} - -/* - * virtual QRect geometry () const = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_GEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QLayoutItem( 1 )->geometry() ) ) ); -} - -/* - * virtual bool hasHeightForWidth () const - */ -HB_FUNC( QT_QLAYOUTITEM_HASHEIGHTFORWIDTH ) -{ - hb_retl( hbqt_par_QLayoutItem( 1 )->hasHeightForWidth() ); -} - -/* - * virtual int heightForWidth ( int w ) const - */ -HB_FUNC( QT_QLAYOUTITEM_HEIGHTFORWIDTH ) -{ - hb_retni( hbqt_par_QLayoutItem( 1 )->heightForWidth( hb_parni( 2 ) ) ); -} - -/* - * virtual void invalidate () - */ -HB_FUNC( QT_QLAYOUTITEM_INVALIDATE ) -{ - hbqt_par_QLayoutItem( 1 )->invalidate(); -} - -/* - * virtual bool isEmpty () const = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_ISEMPTY ) -{ - hb_retl( hbqt_par_QLayoutItem( 1 )->isEmpty() ); -} - -/* - * virtual QLayout * layout () - */ -HB_FUNC( QT_QLAYOUTITEM_LAYOUT ) -{ - hb_retptr( ( QLayout* ) hbqt_par_QLayoutItem( 1 )->layout() ); -} - -/* - * virtual QSize maximumSize () const = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_MAXIMUMSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLayoutItem( 1 )->maximumSize() ) ) ); -} - -/* - * virtual int minimumHeightForWidth ( int w ) const - */ -HB_FUNC( QT_QLAYOUTITEM_MINIMUMHEIGHTFORWIDTH ) -{ - hb_retni( hbqt_par_QLayoutItem( 1 )->minimumHeightForWidth( hb_parni( 2 ) ) ); -} - -/* - * virtual QSize minimumSize () const = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_MINIMUMSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLayoutItem( 1 )->minimumSize() ) ) ); -} - -/* - * void setAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QLAYOUTITEM_SETALIGNMENT ) -{ - hbqt_par_QLayoutItem( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * virtual void setGeometry ( const QRect & r ) = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_SETGEOMETRY ) -{ - hbqt_par_QLayoutItem( 1 )->setGeometry( *hbqt_par_QRect( 2 ) ); -} - -/* - * virtual QSize sizeHint () const = 0 - */ -HB_FUNC( QT_QLAYOUTITEM_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLayoutItem( 1 )->sizeHint() ) ) ); -} - -/* - * virtual QSpacerItem * spacerItem () - */ -HB_FUNC( QT_QLAYOUTITEM_SPACERITEM ) -{ - hb_retptr( ( QSpacerItem* ) hbqt_par_QLayoutItem( 1 )->spacerItem() ); -} - -/* - * virtual QWidget * widget () - */ -HB_FUNC( QT_QLAYOUTITEM_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QLayoutItem( 1 )->widget() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLine.cpp b/harbour/contrib/hbqt/QLine.cpp deleted file mode 100644 index 71c20a2ffe..0000000000 --- a/harbour/contrib/hbqt/QLine.cpp +++ /dev/null @@ -1,245 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QLine () - * QLine ( const QPoint & p1, const QPoint & p2 ) - * QLine ( int x1, int y1, int x2, int y2 ) - */ - -HB_FUNC( QT_QLINE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QLine* ) new QLine( *hbqt_par_QLine( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QLine* ) new QLine( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QLine* ) new QLine( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ; - } - else - { - pObj = ( QLine* ) new QLine() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QLine" ); - hb_retptrGC( p ); -} -/* - * QPoint p1 () const - */ -HB_FUNC( QT_QLINE_P1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QLine( 1 )->p1() ) ) ); -} - -/* - * QPoint p2 () const - */ -HB_FUNC( QT_QLINE_P2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QLine( 1 )->p2() ) ) ); -} - -/* - * int x1 () const - */ -HB_FUNC( QT_QLINE_X1 ) -{ - hb_retni( hbqt_par_QLine( 1 )->x1() ); -} - -/* - * int x2 () const - */ -HB_FUNC( QT_QLINE_X2 ) -{ - hb_retni( hbqt_par_QLine( 1 )->x2() ); -} - -/* - * int y1 () const - */ -HB_FUNC( QT_QLINE_Y1 ) -{ - hb_retni( hbqt_par_QLine( 1 )->y1() ); -} - -/* - * int y2 () const - */ -HB_FUNC( QT_QLINE_Y2 ) -{ - hb_retni( hbqt_par_QLine( 1 )->y2() ); -} - -/* - * int dx () const - */ -HB_FUNC( QT_QLINE_DX ) -{ - hb_retni( hbqt_par_QLine( 1 )->dx() ); -} - -/* - * int dy () const - */ -HB_FUNC( QT_QLINE_DY ) -{ - hb_retni( hbqt_par_QLine( 1 )->dy() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QLINE_ISNULL ) -{ - hb_retl( hbqt_par_QLine( 1 )->isNull() ); -} - -/* - * void setP1 ( const QPoint & p1 ) - */ -HB_FUNC( QT_QLINE_SETP1 ) -{ - hbqt_par_QLine( 1 )->setP1( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setP2 ( const QPoint & p2 ) - */ -HB_FUNC( QT_QLINE_SETP2 ) -{ - hbqt_par_QLine( 1 )->setP2( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setLine ( int x1, int y1, int x2, int y2 ) - */ -HB_FUNC( QT_QLINE_SETLINE ) -{ - hbqt_par_QLine( 1 )->setLine( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setPoints ( const QPoint & p1, const QPoint & p2 ) - */ -HB_FUNC( QT_QLINE_SETPOINTS ) -{ - hbqt_par_QLine( 1 )->setPoints( *hbqt_par_QPoint( 2 ), *hbqt_par_QPoint( 3 ) ); -} - -/* - * void translate ( const QPoint & offset ) - */ -HB_FUNC( QT_QLINE_TRANSLATE ) -{ - hbqt_par_QLine( 1 )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void translate ( int dx, int dy ) - */ -HB_FUNC( QT_QLINE_TRANSLATE_1 ) -{ - hbqt_par_QLine( 1 )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * QLine translated ( const QPoint & offset ) const - */ -HB_FUNC( QT_QLINE_TRANSLATED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLine( hbqt_par_QLine( 1 )->translated( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QLine translated ( int dx, int dy ) const - */ -HB_FUNC( QT_QLINE_TRANSLATED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLine( hbqt_par_QLine( 1 )->translated( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLineEdit.cpp b/harbour/contrib/hbqt/QLineEdit.cpp deleted file mode 100644 index 83d6243822..0000000000 --- a/harbour/contrib/hbqt/QLineEdit.cpp +++ /dev/null @@ -1,548 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum EchoMode { Normal, NoEcho, Password, PasswordEchoOnEdit } - */ - -#include - -#include - - -/* - * QLineEdit ( QWidget * parent = 0 ) - * QLineEdit ( const QString & contents, QWidget * parent = 0 ) - * ~QLineEdit () - */ - -HB_FUNC( QT_QLINEEDIT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QLineEdit > pObj = NULL; - - pObj = ( QLineEdit* ) new QLineEdit( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QLINEEDIT_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QLineEdit( 1 )->alignment() ); -} - -/* - * void backspace () - */ -HB_FUNC( QT_QLINEEDIT_BACKSPACE ) -{ - hbqt_par_QLineEdit( 1 )->backspace(); -} - -/* - * QCompleter * completer () const - */ -HB_FUNC( QT_QLINEEDIT_COMPLETER ) -{ - hb_retptr( ( QCompleter* ) hbqt_par_QLineEdit( 1 )->completer() ); -} - -/* - * QMenu * createStandardContextMenu () - */ -HB_FUNC( QT_QLINEEDIT_CREATESTANDARDCONTEXTMENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QLineEdit( 1 )->createStandardContextMenu() ); -} - -/* - * void cursorBackward ( bool mark, int steps = 1 ) - */ -HB_FUNC( QT_QLINEEDIT_CURSORBACKWARD ) -{ - hbqt_par_QLineEdit( 1 )->cursorBackward( hb_parl( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : 1 ) ); -} - -/* - * void cursorForward ( bool mark, int steps = 1 ) - */ -HB_FUNC( QT_QLINEEDIT_CURSORFORWARD ) -{ - hbqt_par_QLineEdit( 1 )->cursorForward( hb_parl( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : 1 ) ); -} - -/* - * int cursorPosition () const - */ -HB_FUNC( QT_QLINEEDIT_CURSORPOSITION ) -{ - hb_retni( hbqt_par_QLineEdit( 1 )->cursorPosition() ); -} - -/* - * int cursorPositionAt ( const QPoint & pos ) - */ -HB_FUNC( QT_QLINEEDIT_CURSORPOSITIONAT ) -{ - hb_retni( hbqt_par_QLineEdit( 1 )->cursorPositionAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * void cursorWordBackward ( bool mark ) - */ -HB_FUNC( QT_QLINEEDIT_CURSORWORDBACKWARD ) -{ - hbqt_par_QLineEdit( 1 )->cursorWordBackward( hb_parl( 2 ) ); -} - -/* - * void cursorWordForward ( bool mark ) - */ -HB_FUNC( QT_QLINEEDIT_CURSORWORDFORWARD ) -{ - hbqt_par_QLineEdit( 1 )->cursorWordForward( hb_parl( 2 ) ); -} - -/* - * void del () - */ -HB_FUNC( QT_QLINEEDIT_DEL ) -{ - hbqt_par_QLineEdit( 1 )->del(); -} - -/* - * void deselect () - */ -HB_FUNC( QT_QLINEEDIT_DESELECT ) -{ - hbqt_par_QLineEdit( 1 )->deselect(); -} - -/* - * QString displayText () const - */ -HB_FUNC( QT_QLINEEDIT_DISPLAYTEXT ) -{ - hb_retc( hbqt_par_QLineEdit( 1 )->displayText().toAscii().data() ); -} - -/* - * bool dragEnabled () const - */ -HB_FUNC( QT_QLINEEDIT_DRAGENABLED ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->dragEnabled() ); -} - -/* - * EchoMode echoMode () const - */ -HB_FUNC( QT_QLINEEDIT_ECHOMODE ) -{ - hb_retni( ( QLineEdit::EchoMode ) hbqt_par_QLineEdit( 1 )->echoMode() ); -} - -/* - * void end ( bool mark ) - */ -HB_FUNC( QT_QLINEEDIT_END ) -{ - hbqt_par_QLineEdit( 1 )->end( hb_parl( 2 ) ); -} - -/* - * void getTextMargins ( int * left, int * top, int * right, int * bottom ) const - */ -HB_FUNC( QT_QLINEEDIT_GETTEXTMARGINS ) -{ - int iLeft = 0; - int iTop = 0; - int iRight = 0; - int iBottom = 0; - - hbqt_par_QLineEdit( 1 )->getTextMargins( &iLeft, &iTop, &iRight, &iBottom ); - - hb_storni( iLeft, 2 ); - hb_storni( iTop, 3 ); - hb_storni( iRight, 4 ); - hb_storni( iBottom, 5 ); -} - -/* - * bool hasAcceptableInput () const - */ -HB_FUNC( QT_QLINEEDIT_HASACCEPTABLEINPUT ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->hasAcceptableInput() ); -} - -/* - * bool hasFrame () const - */ -HB_FUNC( QT_QLINEEDIT_HASFRAME ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->hasFrame() ); -} - -/* - * bool hasSelectedText () const - */ -HB_FUNC( QT_QLINEEDIT_HASSELECTEDTEXT ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->hasSelectedText() ); -} - -/* - * void home ( bool mark ) - */ -HB_FUNC( QT_QLINEEDIT_HOME ) -{ - hbqt_par_QLineEdit( 1 )->home( hb_parl( 2 ) ); -} - -/* - * QString inputMask () const - */ -HB_FUNC( QT_QLINEEDIT_INPUTMASK ) -{ - hb_retc( hbqt_par_QLineEdit( 1 )->inputMask().toAscii().data() ); -} - -/* - * void insert ( const QString & newText ) - */ -HB_FUNC( QT_QLINEEDIT_INSERT ) -{ - hbqt_par_QLineEdit( 1 )->insert( hbqt_par_QString( 2 ) ); -} - -/* - * bool isModified () const - */ -HB_FUNC( QT_QLINEEDIT_ISMODIFIED ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->isModified() ); -} - -/* - * bool isReadOnly () const - */ -HB_FUNC( QT_QLINEEDIT_ISREADONLY ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->isReadOnly() ); -} - -/* - * bool isRedoAvailable () const - */ -HB_FUNC( QT_QLINEEDIT_ISREDOAVAILABLE ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->isRedoAvailable() ); -} - -/* - * bool isUndoAvailable () const - */ -HB_FUNC( QT_QLINEEDIT_ISUNDOAVAILABLE ) -{ - hb_retl( hbqt_par_QLineEdit( 1 )->isUndoAvailable() ); -} - -/* - * int maxLength () const - */ -HB_FUNC( QT_QLINEEDIT_MAXLENGTH ) -{ - hb_retni( hbqt_par_QLineEdit( 1 )->maxLength() ); -} - -/* - * virtual QSize minimumSizeHint () const - */ -HB_FUNC( QT_QLINEEDIT_MINIMUMSIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLineEdit( 1 )->minimumSizeHint() ) ) ); -} - -/* - * QString selectedText () const - */ -HB_FUNC( QT_QLINEEDIT_SELECTEDTEXT ) -{ - hb_retc( hbqt_par_QLineEdit( 1 )->selectedText().toAscii().data() ); -} - -/* - * int selectionStart () const - */ -HB_FUNC( QT_QLINEEDIT_SELECTIONSTART ) -{ - hb_retni( hbqt_par_QLineEdit( 1 )->selectionStart() ); -} - -/* - * void setAlignment ( Qt::Alignment flag ) - */ -HB_FUNC( QT_QLINEEDIT_SETALIGNMENT ) -{ - hbqt_par_QLineEdit( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setCompleter ( QCompleter * c ) - */ -HB_FUNC( QT_QLINEEDIT_SETCOMPLETER ) -{ - hbqt_par_QLineEdit( 1 )->setCompleter( hbqt_par_QCompleter( 2 ) ); -} - -/* - * void setCursorPosition ( int ) - */ -HB_FUNC( QT_QLINEEDIT_SETCURSORPOSITION ) -{ - hbqt_par_QLineEdit( 1 )->setCursorPosition( hb_parni( 2 ) ); -} - -/* - * void setDragEnabled ( bool b ) - */ -HB_FUNC( QT_QLINEEDIT_SETDRAGENABLED ) -{ - hbqt_par_QLineEdit( 1 )->setDragEnabled( hb_parl( 2 ) ); -} - -/* - * void setEchoMode ( EchoMode ) - */ -HB_FUNC( QT_QLINEEDIT_SETECHOMODE ) -{ - hbqt_par_QLineEdit( 1 )->setEchoMode( ( QLineEdit::EchoMode ) hb_parni( 2 ) ); -} - -/* - * void setFrame ( bool ) - */ -HB_FUNC( QT_QLINEEDIT_SETFRAME ) -{ - hbqt_par_QLineEdit( 1 )->setFrame( hb_parl( 2 ) ); -} - -/* - * void setInputMask ( const QString & inputMask ) - */ -HB_FUNC( QT_QLINEEDIT_SETINPUTMASK ) -{ - hbqt_par_QLineEdit( 1 )->setInputMask( hbqt_par_QString( 2 ) ); -} - -/* - * void setMaxLength ( int ) - */ -HB_FUNC( QT_QLINEEDIT_SETMAXLENGTH ) -{ - hbqt_par_QLineEdit( 1 )->setMaxLength( hb_parni( 2 ) ); -} - -/* - * void setModified ( bool ) - */ -HB_FUNC( QT_QLINEEDIT_SETMODIFIED ) -{ - hbqt_par_QLineEdit( 1 )->setModified( hb_parl( 2 ) ); -} - -/* - * void setReadOnly ( bool ) - */ -HB_FUNC( QT_QLINEEDIT_SETREADONLY ) -{ - hbqt_par_QLineEdit( 1 )->setReadOnly( hb_parl( 2 ) ); -} - -/* - * void setSelection ( int start, int length ) - */ -HB_FUNC( QT_QLINEEDIT_SETSELECTION ) -{ - hbqt_par_QLineEdit( 1 )->setSelection( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setTextMargins ( int left, int top, int right, int bottom ) - */ -HB_FUNC( QT_QLINEEDIT_SETTEXTMARGINS ) -{ - hbqt_par_QLineEdit( 1 )->setTextMargins( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setValidator ( const QValidator * v ) - */ -HB_FUNC( QT_QLINEEDIT_SETVALIDATOR ) -{ - hbqt_par_QLineEdit( 1 )->setValidator( hbqt_par_QValidator( 2 ) ); -} - -/* - * virtual QSize sizeHint () const - */ -HB_FUNC( QT_QLINEEDIT_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QLineEdit( 1 )->sizeHint() ) ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QLINEEDIT_TEXT ) -{ - hb_retc( hbqt_par_QLineEdit( 1 )->text().toAscii().data() ); -} - -/* - * const QValidator * validator () const - */ -HB_FUNC( QT_QLINEEDIT_VALIDATOR ) -{ - hb_retptr( ( QValidator* ) hbqt_par_QLineEdit( 1 )->validator() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QLINEEDIT_CLEAR ) -{ - hbqt_par_QLineEdit( 1 )->clear(); -} - -/* - * void copy () const - */ -HB_FUNC( QT_QLINEEDIT_COPY ) -{ - hbqt_par_QLineEdit( 1 )->copy(); -} - -/* - * void cut () - */ -HB_FUNC( QT_QLINEEDIT_CUT ) -{ - hbqt_par_QLineEdit( 1 )->cut(); -} - -/* - * void paste () - */ -HB_FUNC( QT_QLINEEDIT_PASTE ) -{ - hbqt_par_QLineEdit( 1 )->paste(); -} - -/* - * void redo () - */ -HB_FUNC( QT_QLINEEDIT_REDO ) -{ - hbqt_par_QLineEdit( 1 )->redo(); -} - -/* - * void selectAll () - */ -HB_FUNC( QT_QLINEEDIT_SELECTALL ) -{ - hbqt_par_QLineEdit( 1 )->selectAll(); -} - -/* - * void setText ( const QString & ) - */ -HB_FUNC( QT_QLINEEDIT_SETTEXT ) -{ - hbqt_par_QLineEdit( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void undo () - */ -HB_FUNC( QT_QLINEEDIT_UNDO ) -{ - hbqt_par_QLineEdit( 1 )->undo(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QLinearGradient.cpp b/harbour/contrib/hbqt/QLinearGradient.cpp deleted file mode 100644 index d45ea60f6e..0000000000 --- a/harbour/contrib/hbqt/QLinearGradient.cpp +++ /dev/null @@ -1,160 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -#include - -#include - - -/* - * QLinearGradient () - * QLinearGradient ( const QPointF & start, const QPointF & finalStop ) - * QLinearGradient ( qreal x1, qreal y1, qreal x2, qreal y2 ) - */ - -HB_FUNC( QT_QLINEARGRADIENT ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QLinearGradient* ) new QLinearGradient( *hbqt_par_QLinearGradient( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QLinearGradient* ) new QLinearGradient( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QLinearGradient* ) new QLinearGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ; - } - else - { - pObj = ( QLinearGradient* ) new QLinearGradient() ; - } - - hb_retptr( pObj ); -} -/* - * QPointF finalStop () const - */ -HB_FUNC( QT_QLINEARGRADIENT_FINALSTOP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QLinearGradient( 1 )->finalStop() ) ) ); -} - -/* - * void setFinalStop ( const QPointF & stop ) - */ -HB_FUNC( QT_QLINEARGRADIENT_SETFINALSTOP ) -{ - hbqt_par_QLinearGradient( 1 )->setFinalStop( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setFinalStop ( qreal x, qreal y ) - */ -HB_FUNC( QT_QLINEARGRADIENT_SETFINALSTOP_1 ) -{ - hbqt_par_QLinearGradient( 1 )->setFinalStop( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setStart ( const QPointF & start ) - */ -HB_FUNC( QT_QLINEARGRADIENT_SETSTART ) -{ - hbqt_par_QLinearGradient( 1 )->setStart( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setStart ( qreal x, qreal y ) - */ -HB_FUNC( QT_QLINEARGRADIENT_SETSTART_1 ) -{ - hbqt_par_QLinearGradient( 1 )->setStart( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * QPointF start () const - */ -HB_FUNC( QT_QLINEARGRADIENT_START ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QLinearGradient( 1 )->start() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QList.cpp b/harbour/contrib/hbqt/QList.cpp deleted file mode 100644 index 1752f7744b..0000000000 --- a/harbour/contrib/hbqt/QList.cpp +++ /dev/null @@ -1,438 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 40/55 [ 72.73% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void append ( const QList & value ) - * iterator begin () - * iterator erase ( iterator pos ) - * iterator erase ( iterator begin, iterator end ) - * iterator insert ( iterator before, const T & value ) - * QList mid ( int pos, int length = -1 ) const - * QSet toSet () const - * std::list toStdList () const - * QVector toVector () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * //const_iterator begin () const - * //const_iterator constBegin () const - * //const_iterator constEnd () const - * //bool contains ( const T & value ) const - * //iterator end () - * //const_iterator end () const - */ - -#include - -#include - - -/* - * QList () - * QList ( const QList & other ) - * ~QList () - */ - -HB_FUNC( QT_QLIST ) -{ - void * pObj = NULL; - - QList* list = NULL; - pObj = ( QList* ) list ; - - hb_retptr( pObj ); -} -/* - * void append ( const T & value ) - */ -HB_FUNC( QT_QLIST_APPEND ) -{ - hbqt_par_QList( 1 )->append( hb_param( 2, HB_IT_ANY ) ); -} - -/* - * const T & at ( int i ) const - */ -HB_FUNC( QT_QLIST_AT ) -{ - hb_retptr( hbqt_par_QList( 1 )->at( hb_parni( 2 ) ) ); -} - -/* - * T & back () - */ -HB_FUNC( QT_QLIST_BACK ) -{ - hb_retptr( hbqt_par_QList( 1 )->back() ); -} - -/* - * const T & back () const - */ -HB_FUNC( QT_QLIST_BACK_1 ) -{ - hb_retptr( hbqt_par_QList( 1 )->back() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QLIST_CLEAR ) -{ - hbqt_par_QList( 1 )->clear(); -} - -/* - * int count ( const T & value ) const - */ -HB_FUNC( QT_QLIST_COUNT ) -{ - hb_retni( hbqt_par_QList( 1 )->count( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QLIST_COUNT_1 ) -{ - hb_retni( hbqt_par_QList( 1 )->count() ); -} - -/* - * bool empty () const - */ -HB_FUNC( QT_QLIST_EMPTY ) -{ - hb_retl( hbqt_par_QList( 1 )->empty() ); -} - -/* - * bool endsWith ( const T & value ) const - */ -HB_FUNC( QT_QLIST_ENDSWITH ) -{ - hb_retl( hbqt_par_QList( 1 )->endsWith( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* - * T & first () - */ -HB_FUNC( QT_QLIST_FIRST ) -{ - hb_retptr( hbqt_par_QList( 1 )->first() ); -} - -/* - * const T & first () const - */ -HB_FUNC( QT_QLIST_FIRST_1 ) -{ - hb_retptr( hbqt_par_QList( 1 )->first() ); -} - -/* - * T & front () - */ -HB_FUNC( QT_QLIST_FRONT ) -{ - hb_retptr( hbqt_par_QList( 1 )->front() ); -} - -/* - * const T & front () const - */ -HB_FUNC( QT_QLIST_FRONT_1 ) -{ - hb_retptr( hbqt_par_QList( 1 )->front() ); -} - -/* - * int indexOf ( const T & value, int from = 0 ) const - */ -HB_FUNC( QT_QLIST_INDEXOF ) -{ - hb_retni( hbqt_par_QList( 1 )->indexOf( hb_param( 2, HB_IT_ANY ), hb_parni( 3 ) ) ); -} - -/* - * void insert ( int i, const T & value ) - */ -HB_FUNC( QT_QLIST_INSERT ) -{ - hbqt_par_QList( 1 )->insert( hb_parni( 2 ), hb_param( 3, HB_IT_ANY ) ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QLIST_ISEMPTY ) -{ - hb_retl( hbqt_par_QList( 1 )->isEmpty() ); -} - -/* - * T & last () - */ -HB_FUNC( QT_QLIST_LAST ) -{ - hb_retptr( hbqt_par_QList( 1 )->last() ); -} - -/* - * const T & last () const - */ -HB_FUNC( QT_QLIST_LAST_1 ) -{ - hb_retptr( hbqt_par_QList( 1 )->last() ); -} - -/* - * int lastIndexOf ( const T & value, int from = -1 ) const - */ -HB_FUNC( QT_QLIST_LASTINDEXOF ) -{ - hb_retni( hbqt_par_QList( 1 )->lastIndexOf( hb_param( 2, HB_IT_ANY ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1 ) ) ); -} - -/* - * int length () const - */ -HB_FUNC( QT_QLIST_LENGTH ) -{ - hb_retni( hbqt_par_QList( 1 )->length() ); -} - -/* - * void move ( int from, int to ) - */ -HB_FUNC( QT_QLIST_MOVE ) -{ - hbqt_par_QList( 1 )->move( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void pop_back () - */ -HB_FUNC( QT_QLIST_POP_BACK ) -{ - hbqt_par_QList( 1 )->pop_back(); -} - -/* - * void pop_front () - */ -HB_FUNC( QT_QLIST_POP_FRONT ) -{ - hbqt_par_QList( 1 )->pop_front(); -} - -/* - * void prepend ( const T & value ) - */ -HB_FUNC( QT_QLIST_PREPEND ) -{ - hbqt_par_QList( 1 )->prepend( hb_param( 2, HB_IT_ANY ) ); -} - -/* - * void push_back ( const T & value ) - */ -HB_FUNC( QT_QLIST_PUSH_BACK ) -{ - hbqt_par_QList( 1 )->push_back( hb_param( 2, HB_IT_ANY ) ); -} - -/* - * void push_front ( const T & value ) - */ -HB_FUNC( QT_QLIST_PUSH_FRONT ) -{ - hbqt_par_QList( 1 )->push_front( hb_param( 2, HB_IT_ANY ) ); -} - -/* - * int removeAll ( const T & value ) - */ -HB_FUNC( QT_QLIST_REMOVEALL ) -{ - hb_retni( hbqt_par_QList( 1 )->removeAll( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* - * void removeAt ( int i ) - */ -HB_FUNC( QT_QLIST_REMOVEAT ) -{ - hbqt_par_QList( 1 )->removeAt( hb_parni( 2 ) ); -} - -/* - * void removeFirst () - */ -HB_FUNC( QT_QLIST_REMOVEFIRST ) -{ - hbqt_par_QList( 1 )->removeFirst(); -} - -/* - * void removeLast () - */ -HB_FUNC( QT_QLIST_REMOVELAST ) -{ - hbqt_par_QList( 1 )->removeLast(); -} - -/* - * bool removeOne ( const T & value ) - */ -HB_FUNC( QT_QLIST_REMOVEONE ) -{ - hb_retl( hbqt_par_QList( 1 )->removeOne( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* - * void replace ( int i, const T & value ) - */ -HB_FUNC( QT_QLIST_REPLACE ) -{ - hbqt_par_QList( 1 )->replace( hb_parni( 2 ), hb_param( 3, HB_IT_ANY ) ); -} - -/* - * int size () const - */ -HB_FUNC( QT_QLIST_SIZE ) -{ - hb_retni( hbqt_par_QList( 1 )->size() ); -} - -/* - * bool startsWith ( const T & value ) const - */ -HB_FUNC( QT_QLIST_STARTSWITH ) -{ - hb_retl( hbqt_par_QList( 1 )->startsWith( hb_param( 2, HB_IT_ANY ) ) ); -} - -/* - * void swap ( int i, int j ) - */ -HB_FUNC( QT_QLIST_SWAP ) -{ - hbqt_par_QList( 1 )->swap( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * T takeAt ( int i ) - */ -HB_FUNC( QT_QLIST_TAKEAT ) -{ - hb_retptr( hbqt_par_QList( 1 )->takeAt( hb_parni( 2 ) ) ); -} - -/* - * T takeFirst () - */ -HB_FUNC( QT_QLIST_TAKEFIRST ) -{ - hb_retptr( hbqt_par_QList( 1 )->takeFirst() ); -} - -/* - * T takeLast () - */ -HB_FUNC( QT_QLIST_TAKELAST ) -{ - hb_retptr( hbqt_par_QList( 1 )->takeLast() ); -} - -/* - * T value ( int i ) const - */ -HB_FUNC( QT_QLIST_VALUE ) -{ - hb_retptr( hbqt_par_QList( 1 )->value( hb_parni( 2 ) ) ); -} - -/* - * T value ( int i, const T & defaultValue ) const - */ -HB_FUNC( QT_QLIST_VALUE_1 ) -{ - hb_retptr( hbqt_par_QList( 1 )->value( hb_parni( 2 ), hb_param( 3, HB_IT_ANY ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QListView.cpp b/harbour/contrib/hbqt/QListView.cpp deleted file mode 100644 index b38e68a891..0000000000 --- a/harbour/contrib/hbqt/QListView.cpp +++ /dev/null @@ -1,333 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Flow { LeftToRight, TopToBottom } - * enum LayoutMode { SinglePass, Batched } - * enum Movement { Static, Free, Snap } - * enum ResizeMode { Fixed, Adjust } - * enum ViewMode { ListMode, IconMode } - */ - -#include - -#include - - -/* - * QListView ( QWidget * parent = 0 ) - * ~QListView () - */ - -HB_FUNC( QT_QLISTVIEW ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QListView > pObj = NULL; - - pObj = ( QListView * ) new QListView( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int batchSize () const - */ -HB_FUNC( QT_QLISTVIEW_BATCHSIZE ) -{ - hb_retni( hbqt_par_QListView( 1 )->batchSize() ); -} - -/* - * void clearPropertyFlags () - */ -HB_FUNC( QT_QLISTVIEW_CLEARPROPERTYFLAGS ) -{ - hbqt_par_QListView( 1 )->clearPropertyFlags(); -} - -/* - * Flow flow () const - */ -HB_FUNC( QT_QLISTVIEW_FLOW ) -{ - hb_retni( ( QListView::Flow ) hbqt_par_QListView( 1 )->flow() ); -} - -/* - * QSize gridSize () const - */ -HB_FUNC( QT_QLISTVIEW_GRIDSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QListView( 1 )->gridSize() ) ) ); -} - -/* - * bool isRowHidden ( int row ) const - */ -HB_FUNC( QT_QLISTVIEW_ISROWHIDDEN ) -{ - hb_retl( hbqt_par_QListView( 1 )->isRowHidden( hb_parni( 2 ) ) ); -} - -/* - * bool isSelectionRectVisible () const - */ -HB_FUNC( QT_QLISTVIEW_ISSELECTIONRECTVISIBLE ) -{ - hb_retl( hbqt_par_QListView( 1 )->isSelectionRectVisible() ); -} - -/* - * bool isWrapping () const - */ -HB_FUNC( QT_QLISTVIEW_ISWRAPPING ) -{ - hb_retl( hbqt_par_QListView( 1 )->isWrapping() ); -} - -/* - * LayoutMode layoutMode () const - */ -HB_FUNC( QT_QLISTVIEW_LAYOUTMODE ) -{ - hb_retni( ( QListView::LayoutMode ) hbqt_par_QListView( 1 )->layoutMode() ); -} - -/* - * int modelColumn () const - */ -HB_FUNC( QT_QLISTVIEW_MODELCOLUMN ) -{ - hb_retni( hbqt_par_QListView( 1 )->modelColumn() ); -} - -/* - * Movement movement () const - */ -HB_FUNC( QT_QLISTVIEW_MOVEMENT ) -{ - hb_retni( ( QListView::Movement ) hbqt_par_QListView( 1 )->movement() ); -} - -/* - * ResizeMode resizeMode () const - */ -HB_FUNC( QT_QLISTVIEW_RESIZEMODE ) -{ - hb_retni( ( QListView::ResizeMode ) hbqt_par_QListView( 1 )->resizeMode() ); -} - -/* - * void setBatchSize ( int batchSize ) - */ -HB_FUNC( QT_QLISTVIEW_SETBATCHSIZE ) -{ - hbqt_par_QListView( 1 )->setBatchSize( hb_parni( 2 ) ); -} - -/* - * void setFlow ( Flow flow ) - */ -HB_FUNC( QT_QLISTVIEW_SETFLOW ) -{ - hbqt_par_QListView( 1 )->setFlow( ( QListView::Flow ) hb_parni( 2 ) ); -} - -/* - * void setGridSize ( const QSize & size ) - */ -HB_FUNC( QT_QLISTVIEW_SETGRIDSIZE ) -{ - hbqt_par_QListView( 1 )->setGridSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setLayoutMode ( LayoutMode mode ) - */ -HB_FUNC( QT_QLISTVIEW_SETLAYOUTMODE ) -{ - hbqt_par_QListView( 1 )->setLayoutMode( ( QListView::LayoutMode ) hb_parni( 2 ) ); -} - -/* - * void setModelColumn ( int column ) - */ -HB_FUNC( QT_QLISTVIEW_SETMODELCOLUMN ) -{ - hbqt_par_QListView( 1 )->setModelColumn( hb_parni( 2 ) ); -} - -/* - * void setMovement ( Movement movement ) - */ -HB_FUNC( QT_QLISTVIEW_SETMOVEMENT ) -{ - hbqt_par_QListView( 1 )->setMovement( ( QListView::Movement ) hb_parni( 2 ) ); -} - -/* - * void setResizeMode ( ResizeMode mode ) - */ -HB_FUNC( QT_QLISTVIEW_SETRESIZEMODE ) -{ - hbqt_par_QListView( 1 )->setResizeMode( ( QListView::ResizeMode ) hb_parni( 2 ) ); -} - -/* - * void setRowHidden ( int row, bool hide ) - */ -HB_FUNC( QT_QLISTVIEW_SETROWHIDDEN ) -{ - hbqt_par_QListView( 1 )->setRowHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setSelectionRectVisible ( bool show ) - */ -HB_FUNC( QT_QLISTVIEW_SETSELECTIONRECTVISIBLE ) -{ - hbqt_par_QListView( 1 )->setSelectionRectVisible( hb_parl( 2 ) ); -} - -/* - * void setSpacing ( int space ) - */ -HB_FUNC( QT_QLISTVIEW_SETSPACING ) -{ - hbqt_par_QListView( 1 )->setSpacing( hb_parni( 2 ) ); -} - -/* - * void setUniformItemSizes ( bool enable ) - */ -HB_FUNC( QT_QLISTVIEW_SETUNIFORMITEMSIZES ) -{ - hbqt_par_QListView( 1 )->setUniformItemSizes( hb_parl( 2 ) ); -} - -/* - * void setViewMode ( ViewMode mode ) - */ -HB_FUNC( QT_QLISTVIEW_SETVIEWMODE ) -{ - hbqt_par_QListView( 1 )->setViewMode( ( QListView::ViewMode ) hb_parni( 2 ) ); -} - -/* - * void setWordWrap ( bool on ) - */ -HB_FUNC( QT_QLISTVIEW_SETWORDWRAP ) -{ - hbqt_par_QListView( 1 )->setWordWrap( hb_parl( 2 ) ); -} - -/* - * void setWrapping ( bool enable ) - */ -HB_FUNC( QT_QLISTVIEW_SETWRAPPING ) -{ - hbqt_par_QListView( 1 )->setWrapping( hb_parl( 2 ) ); -} - -/* - * int spacing () const - */ -HB_FUNC( QT_QLISTVIEW_SPACING ) -{ - hb_retni( hbqt_par_QListView( 1 )->spacing() ); -} - -/* - * bool uniformItemSizes () const - */ -HB_FUNC( QT_QLISTVIEW_UNIFORMITEMSIZES ) -{ - hb_retl( hbqt_par_QListView( 1 )->uniformItemSizes() ); -} - -/* - * ViewMode viewMode () const - */ -HB_FUNC( QT_QLISTVIEW_VIEWMODE ) -{ - hb_retni( ( QListView::ViewMode ) hbqt_par_QListView( 1 )->viewMode() ); -} - -/* - * bool wordWrap () const - */ -HB_FUNC( QT_QLISTVIEW_WORDWRAP ) -{ - hb_retl( hbqt_par_QListView( 1 )->wordWrap() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QListWidget.cpp b/harbour/contrib/hbqt/QListWidget.cpp deleted file mode 100644 index 6edab1b0b3..0000000000 --- a/harbour/contrib/hbqt/QListWidget.cpp +++ /dev/null @@ -1,343 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 30/32 [ 93.75% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList findItems ( const QString & text, Qt::MatchFlags flags ) const - * QList selectedItems () const - */ - -#include - -#include - - -/* - * QListWidget ( QWidget * parent = 0 ) - * ~QListWidget () - */ - -HB_FUNC( QT_QLISTWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QListWidget > pObj = NULL; - - pObj = new QListWidget( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addItem ( const QString & label ) - */ -HB_FUNC( QT_QLISTWIDGET_ADDITEM ) -{ - hbqt_par_QListWidget( 1 )->addItem( hbqt_par_QString( 2 ) ); -} - -/* - * void addItem ( QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_ADDITEM_1 ) -{ - hbqt_par_QListWidget( 1 )->addItem( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* - * void addItems ( const QStringList & labels ) - */ -HB_FUNC( QT_QLISTWIDGET_ADDITEMS ) -{ - hbqt_par_QListWidget( 1 )->addItems( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void closePersistentEditor ( QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_CLOSEPERSISTENTEDITOR ) -{ - hbqt_par_QListWidget( 1 )->closePersistentEditor( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QLISTWIDGET_COUNT ) -{ - hb_retni( hbqt_par_QListWidget( 1 )->count() ); -} - -/* - * QListWidgetItem * currentItem () const - */ -HB_FUNC( QT_QLISTWIDGET_CURRENTITEM ) -{ - hb_retptr( ( QListWidgetItem* ) hbqt_par_QListWidget( 1 )->currentItem() ); -} - -/* - * int currentRow () const - */ -HB_FUNC( QT_QLISTWIDGET_CURRENTROW ) -{ - hb_retni( hbqt_par_QListWidget( 1 )->currentRow() ); -} - -/* - * void editItem ( QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_EDITITEM ) -{ - hbqt_par_QListWidget( 1 )->editItem( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* - * void insertItem ( int row, QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_INSERTITEM ) -{ - hbqt_par_QListWidget( 1 )->insertItem( hb_parni( 2 ), hbqt_par_QListWidgetItem( 3 ) ); -} - -/* - * void insertItem ( int row, const QString & label ) - */ -HB_FUNC( QT_QLISTWIDGET_INSERTITEM_1 ) -{ - hbqt_par_QListWidget( 1 )->insertItem( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void insertItems ( int row, const QStringList & labels ) - */ -HB_FUNC( QT_QLISTWIDGET_INSERTITEMS ) -{ - hbqt_par_QListWidget( 1 )->insertItems( hb_parni( 2 ), *hbqt_par_QStringList( 3 ) ); -} - -/* - * bool isSortingEnabled () const - */ -HB_FUNC( QT_QLISTWIDGET_ISSORTINGENABLED ) -{ - hb_retl( hbqt_par_QListWidget( 1 )->isSortingEnabled() ); -} - -/* - * QListWidgetItem * item ( int row ) const - */ -HB_FUNC( QT_QLISTWIDGET_ITEM ) -{ - hb_retptr( ( QListWidgetItem* ) hbqt_par_QListWidget( 1 )->item( hb_parni( 2 ) ) ); -} - -/* - * QListWidgetItem * itemAt ( const QPoint & p ) const - */ -HB_FUNC( QT_QLISTWIDGET_ITEMAT ) -{ - hb_retptr( ( QListWidgetItem* ) hbqt_par_QListWidget( 1 )->itemAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QListWidgetItem * itemAt ( int x, int y ) const - */ -HB_FUNC( QT_QLISTWIDGET_ITEMAT_1 ) -{ - hb_retptr( ( QListWidgetItem* ) hbqt_par_QListWidget( 1 )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QWidget * itemWidget ( QListWidgetItem * item ) const - */ -HB_FUNC( QT_QLISTWIDGET_ITEMWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QListWidget( 1 )->itemWidget( hbqt_par_QListWidgetItem( 2 ) ) ); -} - -/* - * void openPersistentEditor ( QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_OPENPERSISTENTEDITOR ) -{ - hbqt_par_QListWidget( 1 )->openPersistentEditor( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* - * void removeItemWidget ( QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_REMOVEITEMWIDGET ) -{ - hbqt_par_QListWidget( 1 )->removeItemWidget( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* - * int row ( const QListWidgetItem * item ) const - */ -HB_FUNC( QT_QLISTWIDGET_ROW ) -{ - hb_retni( hbqt_par_QListWidget( 1 )->row( hbqt_par_QListWidgetItem( 2 ) ) ); -} - -/* - * void setCurrentItem ( QListWidgetItem * item ) - */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTITEM ) -{ - hbqt_par_QListWidget( 1 )->setCurrentItem( hbqt_par_QListWidgetItem( 2 ) ); -} - -/* - * void setCurrentItem ( QListWidgetItem * item, QItemSelectionModel::SelectionFlags command ) - */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTITEM_1 ) -{ - hbqt_par_QListWidget( 1 )->setCurrentItem( hbqt_par_QListWidgetItem( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* - * void setCurrentRow ( int row ) - */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTROW ) -{ - hbqt_par_QListWidget( 1 )->setCurrentRow( hb_parni( 2 ) ); -} - -/* - * void setCurrentRow ( int row, QItemSelectionModel::SelectionFlags command ) - */ -HB_FUNC( QT_QLISTWIDGET_SETCURRENTROW_1 ) -{ - hbqt_par_QListWidget( 1 )->setCurrentRow( hb_parni( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* - * void setItemWidget ( QListWidgetItem * item, QWidget * widget ) - */ -HB_FUNC( QT_QLISTWIDGET_SETITEMWIDGET ) -{ - hbqt_par_QListWidget( 1 )->setItemWidget( hbqt_par_QListWidgetItem( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * void setSortingEnabled ( bool enable ) - */ -HB_FUNC( QT_QLISTWIDGET_SETSORTINGENABLED ) -{ - hbqt_par_QListWidget( 1 )->setSortingEnabled( hb_parl( 2 ) ); -} - -/* - * void sortItems ( Qt::SortOrder order = Qt::AscendingOrder ) - */ -HB_FUNC( QT_QLISTWIDGET_SORTITEMS ) -{ - hbqt_par_QListWidget( 1 )->sortItems( ( HB_ISNUM( 2 ) ? ( Qt::SortOrder ) hb_parni( 2 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* - * QListWidgetItem * takeItem ( int row ) - */ -HB_FUNC( QT_QLISTWIDGET_TAKEITEM ) -{ - hb_retptr( ( QListWidgetItem* ) hbqt_par_QListWidget( 1 )->takeItem( hb_parni( 2 ) ) ); -} - -/* - * QRect visualItemRect ( const QListWidgetItem * item ) const - */ -HB_FUNC( QT_QLISTWIDGET_VISUALITEMRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QListWidget( 1 )->visualItemRect( hbqt_par_QListWidgetItem( 2 ) ) ) ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QLISTWIDGET_CLEAR ) -{ - hbqt_par_QListWidget( 1 )->clear(); -} - -/* - * void scrollToItem ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - */ -HB_FUNC( QT_QLISTWIDGET_SCROLLTOITEM ) -{ - hbqt_par_QListWidget( 1 )->scrollToItem( hbqt_par_QListWidgetItem( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QListWidget::EnsureVisible ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QListWidgetItem.cpp b/harbour/contrib/hbqt/QListWidgetItem.cpp deleted file mode 100644 index 7d5fc133a0..0000000000 --- a/harbour/contrib/hbqt/QListWidgetItem.cpp +++ /dev/null @@ -1,377 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ItemType { Type, UserType } - */ - -#include - -#include - - -/* - * QListWidgetItem ( QListWidget * parent = 0, int type = Type ) - * QListWidgetItem ( const QString & text, QListWidget * parent = 0, int type = Type ) - * QListWidgetItem ( const QIcon & icon, const QString & text, QListWidget * parent = 0, int type = Type ) - * QListWidgetItem ( const QListWidgetItem & other ) - * virtual ~QListWidgetItem () - */ - -HB_FUNC( QT_QLISTWIDGETITEM ) -{ - void * pObj = NULL; - - pObj = new QListWidgetItem( hbqt_par_QListWidget( 1 ), hb_parni( 2 ) ) ; - - hb_retptr( pObj ); -} -/* - * QBrush background () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_BACKGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QListWidgetItem( 1 )->background() ) ) ); -} - -/* - * Qt::CheckState checkState () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_CHECKSTATE ) -{ - hb_retni( ( Qt::CheckState ) hbqt_par_QListWidgetItem( 1 )->checkState() ); -} - -/* - * virtual QListWidgetItem * clone () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_CLONE ) -{ - hb_retptr( ( QListWidgetItem* ) hbqt_par_QListWidgetItem( 1 )->clone() ); -} - -/* - * virtual QVariant data ( int role ) const - */ -HB_FUNC( QT_QLISTWIDGETITEM_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QListWidgetItem( 1 )->data( hb_parni( 2 ) ) ) ) ); -} - -/* - * Qt::ItemFlags flags () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QListWidgetItem( 1 )->flags() ); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QListWidgetItem( 1 )->font() ) ) ); -} - -/* - * QBrush foreground () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_FOREGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QListWidgetItem( 1 )->foreground() ) ) ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QListWidgetItem( 1 )->icon() ) ) ); -} - -/* - * bool isHidden () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_ISHIDDEN ) -{ - hb_retl( hbqt_par_QListWidgetItem( 1 )->isHidden() ); -} - -/* - * bool isSelected () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_ISSELECTED ) -{ - hb_retl( hbqt_par_QListWidgetItem( 1 )->isSelected() ); -} - -/* - * QListWidget * listWidget () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_LISTWIDGET ) -{ - hb_retptr( ( QListWidget* ) hbqt_par_QListWidgetItem( 1 )->listWidget() ); -} - -/* - * virtual void read ( QDataStream & in ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_READ ) -{ - hbqt_par_QListWidgetItem( 1 )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* - * void setBackground ( const QBrush & brush ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETBACKGROUND ) -{ - hbqt_par_QListWidgetItem( 1 )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setCheckState ( Qt::CheckState state ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETCHECKSTATE ) -{ - hbqt_par_QListWidgetItem( 1 )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* - * virtual void setData ( int role, const QVariant & value ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETDATA ) -{ - hbqt_par_QListWidgetItem( 1 )->setData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* - * void setFlags ( Qt::ItemFlags flags ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETFLAGS ) -{ - hbqt_par_QListWidgetItem( 1 )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETFONT ) -{ - hbqt_par_QListWidgetItem( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setForeground ( const QBrush & brush ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETFOREGROUND ) -{ - hbqt_par_QListWidgetItem( 1 )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setHidden ( bool hide ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETHIDDEN ) -{ - hbqt_par_QListWidgetItem( 1 )->setHidden( hb_parl( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETICON ) -{ - hbqt_par_QListWidgetItem( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setSelected ( bool select ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETSELECTED ) -{ - hbqt_par_QListWidgetItem( 1 )->setSelected( hb_parl( 2 ) ); -} - -/* - * void setSizeHint ( const QSize & size ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETSIZEHINT ) -{ - hbqt_par_QListWidgetItem( 1 )->setSizeHint( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setStatusTip ( const QString & statusTip ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETSTATUSTIP ) -{ - hbqt_par_QListWidgetItem( 1 )->setStatusTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETTEXT ) -{ - hbqt_par_QListWidgetItem( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextAlignment ( int alignment ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETTEXTALIGNMENT ) -{ - hbqt_par_QListWidgetItem( 1 )->setTextAlignment( hb_parni( 2 ) ); -} - -/* - * void setToolTip ( const QString & toolTip ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETTOOLTIP ) -{ - hbqt_par_QListWidgetItem( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setWhatsThis ( const QString & whatsThis ) - */ -HB_FUNC( QT_QLISTWIDGETITEM_SETWHATSTHIS ) -{ - hbqt_par_QListWidgetItem( 1 )->setWhatsThis( hbqt_par_QString( 2 ) ); -} - -/* - * QSize sizeHint () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QListWidgetItem( 1 )->sizeHint() ) ) ); -} - -/* - * QString statusTip () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_STATUSTIP ) -{ - hb_retc( hbqt_par_QListWidgetItem( 1 )->statusTip().toAscii().data() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_TEXT ) -{ - hb_retc( hbqt_par_QListWidgetItem( 1 )->text().toAscii().data() ); -} - -/* - * int textAlignment () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_TEXTALIGNMENT ) -{ - hb_retni( hbqt_par_QListWidgetItem( 1 )->textAlignment() ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_TOOLTIP ) -{ - hb_retc( hbqt_par_QListWidgetItem( 1 )->toolTip().toAscii().data() ); -} - -/* - * int type () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_TYPE ) -{ - hb_retni( hbqt_par_QListWidgetItem( 1 )->type() ); -} - -/* - * QString whatsThis () const - */ -HB_FUNC( QT_QLISTWIDGETITEM_WHATSTHIS ) -{ - hb_retc( hbqt_par_QListWidgetItem( 1 )->whatsThis().toAscii().data() ); -} - -/* - * virtual void write ( QDataStream & out ) const - */ -HB_FUNC( QT_QLISTWIDGETITEM_WRITE ) -{ - hbqt_par_QListWidgetItem( 1 )->write( *hbqt_par_QDataStream( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QMainWindow.cpp b/harbour/contrib/hbqt/QMainWindow.cpp deleted file mode 100644 index 79807606f2..0000000000 --- a/harbour/contrib/hbqt/QMainWindow.cpp +++ /dev/null @@ -1,491 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum DockOption { AnimatedDocks, AllowNestedDocks, AllowTabbedDocks, ForceTabbedDocks, VerticalTabs } - * flags DockOptions - */ - -/* - * Constructed[ 48/49 [ 97.96% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList tabifiedDockWidgets ( QDockWidget * dockwidget ) const - */ - -#include - -#include - - -/* - * QMainWindow ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QMainWindow () - */ - -HB_FUNC( QT_QMAINWINDOW ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QMainWindow > pObj = NULL; - - pObj = ( QMainWindow* ) new QMainWindow( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget ) - */ -HB_FUNC( QT_QMAINWINDOW_ADDDOCKWIDGET ) -{ - hbqt_par_QMainWindow( 1 )->addDockWidget( ( Qt::DockWidgetArea ) hb_parni( 2 ), hbqt_par_QDockWidget( 3 ) ); -} - -/* - * void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation ) - */ -HB_FUNC( QT_QMAINWINDOW_ADDDOCKWIDGET_1 ) -{ - hbqt_par_QMainWindow( 1 )->addDockWidget( ( Qt::DockWidgetArea ) hb_parni( 2 ), hbqt_par_QDockWidget( 3 ), ( Qt::Orientation ) hb_parni( 4 ) ); -} - -/* - * void addToolBar ( Qt::ToolBarArea area, QToolBar * toolbar ) - */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBAR ) -{ - hbqt_par_QMainWindow( 1 )->addToolBar( ( Qt::ToolBarArea ) hb_parni( 2 ), hbqt_par_QToolBar( 3 ) ); -} - -/* - * void addToolBar ( QToolBar * toolbar ) - */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBAR_1 ) -{ - hbqt_par_QMainWindow( 1 )->addToolBar( hbqt_par_QToolBar( 2 ) ); -} - -/* - * QToolBar * addToolBar ( const QString & title ) - */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBAR_2 ) -{ - hb_retptr( ( QToolBar* ) hbqt_par_QMainWindow( 1 )->addToolBar( hbqt_par_QString( 2 ) ) ); -} - -/* - * void addToolBarBreak ( Qt::ToolBarArea area = Qt::TopToolBarArea ) - */ -HB_FUNC( QT_QMAINWINDOW_ADDTOOLBARBREAK ) -{ - hbqt_par_QMainWindow( 1 )->addToolBarBreak( ( HB_ISNUM( 2 ) ? ( Qt::ToolBarArea ) hb_parni( 2 ) : ( Qt::ToolBarArea ) Qt::TopToolBarArea ) ); -} - -/* - * QWidget * centralWidget () const - */ -HB_FUNC( QT_QMAINWINDOW_CENTRALWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QMainWindow( 1 )->centralWidget() ); -} - -/* - * Qt::DockWidgetArea corner ( Qt::Corner corner ) const - */ -HB_FUNC( QT_QMAINWINDOW_CORNER ) -{ - hb_retni( ( Qt::DockWidgetArea ) hbqt_par_QMainWindow( 1 )->corner( ( Qt::Corner ) hb_parni( 2 ) ) ); -} - -/* - * virtual QMenu * createPopupMenu () - */ -HB_FUNC( QT_QMAINWINDOW_CREATEPOPUPMENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QMainWindow( 1 )->createPopupMenu() ); -} - -/* - * DockOptions dockOptions () const - */ -HB_FUNC( QT_QMAINWINDOW_DOCKOPTIONS ) -{ - hb_retni( ( QMainWindow::DockOptions ) hbqt_par_QMainWindow( 1 )->dockOptions() ); -} - -/* - * Qt::DockWidgetArea dockWidgetArea ( QDockWidget * dockwidget ) const - */ -HB_FUNC( QT_QMAINWINDOW_DOCKWIDGETAREA ) -{ - hb_retni( ( Qt::DockWidgetArea ) hbqt_par_QMainWindow( 1 )->dockWidgetArea( hbqt_par_QDockWidget( 2 ) ) ); -} - -/* - * bool documentMode () const - */ -HB_FUNC( QT_QMAINWINDOW_DOCUMENTMODE ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->documentMode() ); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QMAINWINDOW_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QMainWindow( 1 )->iconSize() ) ) ); -} - -/* - * void insertToolBar ( QToolBar * before, QToolBar * toolbar ) - */ -HB_FUNC( QT_QMAINWINDOW_INSERTTOOLBAR ) -{ - hbqt_par_QMainWindow( 1 )->insertToolBar( hbqt_par_QToolBar( 2 ), hbqt_par_QToolBar( 3 ) ); -} - -/* - * void insertToolBarBreak ( QToolBar * before ) - */ -HB_FUNC( QT_QMAINWINDOW_INSERTTOOLBARBREAK ) -{ - hbqt_par_QMainWindow( 1 )->insertToolBarBreak( hbqt_par_QToolBar( 2 ) ); -} - -/* - * bool isAnimated () const - */ -HB_FUNC( QT_QMAINWINDOW_ISANIMATED ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->isAnimated() ); -} - -/* - * bool isDockNestingEnabled () const - */ -HB_FUNC( QT_QMAINWINDOW_ISDOCKNESTINGENABLED ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->isDockNestingEnabled() ); -} - -/* - * QMenuBar * menuBar () const - */ -HB_FUNC( QT_QMAINWINDOW_MENUBAR ) -{ - hb_retptr( ( QMenuBar* ) hbqt_par_QMainWindow( 1 )->menuBar() ); -} - -/* - * QWidget * menuWidget () const - */ -HB_FUNC( QT_QMAINWINDOW_MENUWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QMainWindow( 1 )->menuWidget() ); -} - -/* - * void removeDockWidget ( QDockWidget * dockwidget ) - */ -HB_FUNC( QT_QMAINWINDOW_REMOVEDOCKWIDGET ) -{ - hbqt_par_QMainWindow( 1 )->removeDockWidget( hbqt_par_QDockWidget( 2 ) ); -} - -/* - * void removeToolBar ( QToolBar * toolbar ) - */ -HB_FUNC( QT_QMAINWINDOW_REMOVETOOLBAR ) -{ - hbqt_par_QMainWindow( 1 )->removeToolBar( hbqt_par_QToolBar( 2 ) ); -} - -/* - * void removeToolBarBreak ( QToolBar * before ) - */ -HB_FUNC( QT_QMAINWINDOW_REMOVETOOLBARBREAK ) -{ - hbqt_par_QMainWindow( 1 )->removeToolBarBreak( hbqt_par_QToolBar( 2 ) ); -} - -/* - * bool restoreDockWidget ( QDockWidget * dockwidget ) - */ -HB_FUNC( QT_QMAINWINDOW_RESTOREDOCKWIDGET ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->restoreDockWidget( hbqt_par_QDockWidget( 2 ) ) ); -} - -/* - * bool restoreState ( const QByteArray & state, int version = 0 ) - */ -HB_FUNC( QT_QMAINWINDOW_RESTORESTATE ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->restoreState( *hbqt_par_QByteArray( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QByteArray saveState ( int version = 0 ) const - */ -HB_FUNC( QT_QMAINWINDOW_SAVESTATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QMainWindow( 1 )->saveState( hb_parni( 2 ) ) ) ) ); -} - -/* - * void setCentralWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QMAINWINDOW_SETCENTRALWIDGET ) -{ - hbqt_par_QMainWindow( 1 )->setCentralWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setCorner ( Qt::Corner corner, Qt::DockWidgetArea area ) - */ -HB_FUNC( QT_QMAINWINDOW_SETCORNER ) -{ - hbqt_par_QMainWindow( 1 )->setCorner( ( Qt::Corner ) hb_parni( 2 ), ( Qt::DockWidgetArea ) hb_parni( 3 ) ); -} - -/* - * void setDockOptions ( DockOptions options ) - */ -HB_FUNC( QT_QMAINWINDOW_SETDOCKOPTIONS ) -{ - hbqt_par_QMainWindow( 1 )->setDockOptions( ( QMainWindow::DockOptions ) hb_parni( 2 ) ); -} - -/* - * void setDocumentMode ( bool enabled ) - */ -HB_FUNC( QT_QMAINWINDOW_SETDOCUMENTMODE ) -{ - hbqt_par_QMainWindow( 1 )->setDocumentMode( hb_parl( 2 ) ); -} - -/* - * void setIconSize ( const QSize & iconSize ) - */ -HB_FUNC( QT_QMAINWINDOW_SETICONSIZE ) -{ - hbqt_par_QMainWindow( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setMenuBar ( QMenuBar * menuBar ) - */ -HB_FUNC( QT_QMAINWINDOW_SETMENUBAR ) -{ - hbqt_par_QMainWindow( 1 )->setMenuBar( hbqt_par_QMenuBar( 2 ) ); -} - -/* - * void setMenuWidget ( QWidget * menuBar ) - */ -HB_FUNC( QT_QMAINWINDOW_SETMENUWIDGET ) -{ - hbqt_par_QMainWindow( 1 )->setMenuWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setStatusBar ( QStatusBar * statusbar ) - */ -HB_FUNC( QT_QMAINWINDOW_SETSTATUSBAR ) -{ - hbqt_par_QMainWindow( 1 )->setStatusBar( hbqt_par_QStatusBar( 2 ) ); -} - -/* - * void setTabPosition ( Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition ) - */ -HB_FUNC( QT_QMAINWINDOW_SETTABPOSITION ) -{ - hbqt_par_QMainWindow( 1 )->setTabPosition( ( Qt::DockWidgetAreas ) hb_parni( 2 ), ( QTabWidget::TabPosition ) hb_parni( 3 ) ); -} - -/* - * void setTabShape ( QTabWidget::TabShape tabShape ) - */ -HB_FUNC( QT_QMAINWINDOW_SETTABSHAPE ) -{ - hbqt_par_QMainWindow( 1 )->setTabShape( ( QTabWidget::TabShape ) hb_parni( 2 ) ); -} - -/* - * void setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle ) - */ -HB_FUNC( QT_QMAINWINDOW_SETTOOLBUTTONSTYLE ) -{ - hbqt_par_QMainWindow( 1 )->setToolButtonStyle( ( Qt::ToolButtonStyle ) hb_parni( 2 ) ); -} - -/* - * void setUnifiedTitleAndToolBarOnMac ( bool set ) - */ -HB_FUNC( QT_QMAINWINDOW_SETUNIFIEDTITLEANDTOOLBARONMAC ) -{ - hbqt_par_QMainWindow( 1 )->setUnifiedTitleAndToolBarOnMac( hb_parl( 2 ) ); -} - -/* - * void splitDockWidget ( QDockWidget * first, QDockWidget * second, Qt::Orientation orientation ) - */ -HB_FUNC( QT_QMAINWINDOW_SPLITDOCKWIDGET ) -{ - hbqt_par_QMainWindow( 1 )->splitDockWidget( hbqt_par_QDockWidget( 2 ), hbqt_par_QDockWidget( 3 ), ( Qt::Orientation ) hb_parni( 4 ) ); -} - -/* - * QStatusBar * statusBar () const - */ -HB_FUNC( QT_QMAINWINDOW_STATUSBAR ) -{ - hb_retptr( ( QStatusBar* ) hbqt_par_QMainWindow( 1 )->statusBar() ); -} - -/* - * QTabWidget::TabPosition tabPosition ( Qt::DockWidgetArea area ) const - */ -HB_FUNC( QT_QMAINWINDOW_TABPOSITION ) -{ - hb_retni( ( QTabWidget::TabPosition ) hbqt_par_QMainWindow( 1 )->tabPosition( ( Qt::DockWidgetArea ) hb_parni( 2 ) ) ); -} - -/* - * QTabWidget::TabShape tabShape () const - */ -HB_FUNC( QT_QMAINWINDOW_TABSHAPE ) -{ - hb_retni( ( QTabWidget::TabShape ) hbqt_par_QMainWindow( 1 )->tabShape() ); -} - -/* - * void tabifyDockWidget ( QDockWidget * first, QDockWidget * second ) - */ -HB_FUNC( QT_QMAINWINDOW_TABIFYDOCKWIDGET ) -{ - hbqt_par_QMainWindow( 1 )->tabifyDockWidget( hbqt_par_QDockWidget( 2 ), hbqt_par_QDockWidget( 3 ) ); -} - -/* - * Qt::ToolBarArea toolBarArea ( QToolBar * toolbar ) const - */ -HB_FUNC( QT_QMAINWINDOW_TOOLBARAREA ) -{ - hb_retni( ( Qt::ToolBarArea ) hbqt_par_QMainWindow( 1 )->toolBarArea( hbqt_par_QToolBar( 2 ) ) ); -} - -/* - * bool toolBarBreak ( QToolBar * toolbar ) const - */ -HB_FUNC( QT_QMAINWINDOW_TOOLBARBREAK ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->toolBarBreak( hbqt_par_QToolBar( 2 ) ) ); -} - -/* - * Qt::ToolButtonStyle toolButtonStyle () const - */ -HB_FUNC( QT_QMAINWINDOW_TOOLBUTTONSTYLE ) -{ - hb_retni( ( Qt::ToolButtonStyle ) hbqt_par_QMainWindow( 1 )->toolButtonStyle() ); -} - -/* - * bool unifiedTitleAndToolBarOnMac () const - */ -HB_FUNC( QT_QMAINWINDOW_UNIFIEDTITLEANDTOOLBARONMAC ) -{ - hb_retl( hbqt_par_QMainWindow( 1 )->unifiedTitleAndToolBarOnMac() ); -} - -/* - * void setAnimated ( bool enabled ) - */ -HB_FUNC( QT_QMAINWINDOW_SETANIMATED ) -{ - hbqt_par_QMainWindow( 1 )->setAnimated( hb_parl( 2 ) ); -} - -/* - * void setDockNestingEnabled ( bool enabled ) - */ -HB_FUNC( QT_QMAINWINDOW_SETDOCKNESTINGENABLED ) -{ - hbqt_par_QMainWindow( 1 )->setDockNestingEnabled( hb_parl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QMenu.cpp b/harbour/contrib/hbqt/QMenu.cpp deleted file mode 100644 index 1a8358f412..0000000000 --- a/harbour/contrib/hbqt/QMenu.cpp +++ /dev/null @@ -1,375 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 33/35 [ 94.29% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * OSMenuRef macMenu ( OSMenuRef merge = 0 ) - * HMENU wceMenu ( bool create = false ) - */ - -#include - -#include - - -/* - * QMenu ( QWidget * parent = 0 ) - * QMenu ( const QString & title, QWidget * parent = 0 ) - * ~QMenu () - */ - -HB_FUNC( QT_QMENU ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QMenu > pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - { - pObj = ( QMenu* ) new QMenu( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - } - else - { - pObj = ( QMenu* ) new QMenu( hbqt_par_QWidget( 1 ) ) ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QAction * actionAt ( const QPoint & pt ) const - */ -HB_FUNC( QT_QMENU_ACTIONAT ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->actionAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QRect actionGeometry ( QAction * act ) const - */ -HB_FUNC( QT_QMENU_ACTIONGEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QMenu( 1 )->actionGeometry( hbqt_par_QAction( 2 ) ) ) ) ); -} - -/* - * QAction * activeAction () const - */ -HB_FUNC( QT_QMENU_ACTIVEACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->activeAction() ); -} - -/* - * QAction * addAction ( const QString & text ) - */ -HB_FUNC( QT_QMENU_ADDACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->addAction( hbqt_par_QString( 2 ) ) ); -} - -/* - * QAction * addAction ( const QIcon & icon, const QString & text ) - */ -HB_FUNC( QT_QMENU_ADDACTION_1 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->addAction( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QAction * addAction ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - */ -HB_FUNC( QT_QMENU_ADDACTION_2 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->addAction( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ), *hbqt_par_QKeySequence( 5 ) ) ); -} - -/* - * QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - */ -HB_FUNC( QT_QMENU_ADDACTION_3 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->addAction( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ), hbqt_par_QObject( 4 ), hbqt_par_char( 5 ), *hbqt_par_QKeySequence( 6 ) ) ); -} - -/* - * void addAction ( QAction * action ) - */ -HB_FUNC( QT_QMENU_ADDACTION_4 ) -{ - hbqt_par_QMenu( 1 )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* - * QAction * addMenu ( QMenu * menu ) - */ -HB_FUNC( QT_QMENU_ADDMENU ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->addMenu( hbqt_par_QMenu( 2 ) ) ); -} - -/* - * QMenu * addMenu ( const QString & title ) - */ -HB_FUNC( QT_QMENU_ADDMENU_1 ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QMenu( 1 )->addMenu( hbqt_par_QString( 2 ) ) ); -} - -/* - * QMenu * addMenu ( const QIcon & icon, const QString & title ) - */ -HB_FUNC( QT_QMENU_ADDMENU_2 ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QMenu( 1 )->addMenu( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QAction * addSeparator () - */ -HB_FUNC( QT_QMENU_ADDSEPARATOR ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->addSeparator() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QMENU_CLEAR ) -{ - hbqt_par_QMenu( 1 )->clear(); -} - -/* - * QAction * defaultAction () const - */ -HB_FUNC( QT_QMENU_DEFAULTACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->defaultAction() ); -} - -/* - * QAction * exec () - */ -HB_FUNC( QT_QMENU_EXEC ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->exec() ); -} - -/* - * QAction * exec ( const QPoint & p, QAction * action = 0 ) - */ -HB_FUNC( QT_QMENU_EXEC_1 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->exec( *hbqt_par_QPoint( 2 ), hbqt_par_QAction( 3 ) ) ); -} - -/* - * void hideTearOffMenu () - */ -HB_FUNC( QT_QMENU_HIDETEAROFFMENU ) -{ - hbqt_par_QMenu( 1 )->hideTearOffMenu(); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QMENU_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QMenu( 1 )->icon() ) ) ); -} - -/* - * QAction * insertMenu ( QAction * before, QMenu * menu ) - */ -HB_FUNC( QT_QMENU_INSERTMENU ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->insertMenu( hbqt_par_QAction( 2 ), hbqt_par_QMenu( 3 ) ) ); -} - -/* - * QAction * insertSeparator ( QAction * before ) - */ -HB_FUNC( QT_QMENU_INSERTSEPARATOR ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->insertSeparator( hbqt_par_QAction( 2 ) ) ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QMENU_ISEMPTY ) -{ - hb_retl( hbqt_par_QMenu( 1 )->isEmpty() ); -} - -/* - * bool isTearOffEnabled () const - */ -HB_FUNC( QT_QMENU_ISTEAROFFENABLED ) -{ - hb_retl( hbqt_par_QMenu( 1 )->isTearOffEnabled() ); -} - -/* - * bool isTearOffMenuVisible () const - */ -HB_FUNC( QT_QMENU_ISTEAROFFMENUVISIBLE ) -{ - hb_retl( hbqt_par_QMenu( 1 )->isTearOffMenuVisible() ); -} - -/* - * QAction * menuAction () const - */ -HB_FUNC( QT_QMENU_MENUACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenu( 1 )->menuAction() ); -} - -/* - * void popup ( const QPoint & p, QAction * atAction = 0 ) - */ -HB_FUNC( QT_QMENU_POPUP ) -{ - hbqt_par_QMenu( 1 )->popup( *hbqt_par_QPoint( 2 ), hbqt_par_QAction( 3 ) ); -} - -/* - * bool separatorsCollapsible () const - */ -HB_FUNC( QT_QMENU_SEPARATORSCOLLAPSIBLE ) -{ - hb_retl( hbqt_par_QMenu( 1 )->separatorsCollapsible() ); -} - -/* - * void setActiveAction ( QAction * act ) - */ -HB_FUNC( QT_QMENU_SETACTIVEACTION ) -{ - hbqt_par_QMenu( 1 )->setActiveAction( hbqt_par_QAction( 2 ) ); -} - -/* - * void setDefaultAction ( QAction * act ) - */ -HB_FUNC( QT_QMENU_SETDEFAULTACTION ) -{ - hbqt_par_QMenu( 1 )->setDefaultAction( hbqt_par_QAction( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QMENU_SETICON ) -{ - hbqt_par_QMenu( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setSeparatorsCollapsible ( bool collapse ) - */ -HB_FUNC( QT_QMENU_SETSEPARATORSCOLLAPSIBLE ) -{ - hbqt_par_QMenu( 1 )->setSeparatorsCollapsible( hb_parl( 2 ) ); -} - -/* - * void setTearOffEnabled ( bool ) - */ -HB_FUNC( QT_QMENU_SETTEAROFFENABLED ) -{ - hbqt_par_QMenu( 1 )->setTearOffEnabled( hb_parl( 2 ) ); -} - -/* - * void setTitle ( const QString & title ) - */ -HB_FUNC( QT_QMENU_SETTITLE ) -{ - hbqt_par_QMenu( 1 )->setTitle( hbqt_par_QString( 2 ) ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QMENU_TITLE ) -{ - hb_retc( hbqt_par_QMenu( 1 )->title().toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QMenuBar.cpp b/harbour/contrib/hbqt/QMenuBar.cpp deleted file mode 100644 index 1a0a950d4c..0000000000 --- a/harbour/contrib/hbqt/QMenuBar.cpp +++ /dev/null @@ -1,219 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 14/17 [ 82.35% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * OSMenuRef macMenu () - * - * *** Commented out protos which construct fine but do not compile *** - * - * // QAction * defaultAction () const - * // void setDefaultAction ( QAction * act ) - */ - -#include - -#include - - -/* - * QMenuBar ( QWidget * parent = 0 ) - * ~QMenuBar () - */ - -HB_FUNC( QT_QMENUBAR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QMenuBar > pObj = NULL; - - pObj = ( QMenuBar* ) new QMenuBar( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QAction * activeAction () const - */ -HB_FUNC( QT_QMENUBAR_ACTIVEACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->activeAction() ); -} - -/* - * QAction * addAction ( const QString & text ) - */ -HB_FUNC( QT_QMENUBAR_ADDACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->addAction( hbqt_par_QString( 2 ) ) ); -} - -/* - * QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QMENUBAR_ADDACTION_1 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->addAction( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ) ) ); -} - -/* - * void addAction ( QAction * action ) - */ -HB_FUNC( QT_QMENUBAR_ADDACTION_2 ) -{ - hbqt_par_QMenuBar( 1 )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* - * QAction * addMenu ( QMenu * menu ) - */ -HB_FUNC( QT_QMENUBAR_ADDMENU ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->addMenu( hbqt_par_QMenu( 2 ) ) ); -} - -/* - * QMenu * addMenu ( const QString & title ) - */ -HB_FUNC( QT_QMENUBAR_ADDMENU_1 ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QMenuBar( 1 )->addMenu( hbqt_par_QString( 2 ) ) ); -} - -/* - * QMenu * addMenu ( const QIcon & icon, const QString & title ) - */ -HB_FUNC( QT_QMENUBAR_ADDMENU_2 ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QMenuBar( 1 )->addMenu( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QAction * addSeparator () - */ -HB_FUNC( QT_QMENUBAR_ADDSEPARATOR ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->addSeparator() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QMENUBAR_CLEAR ) -{ - hbqt_par_QMenuBar( 1 )->clear(); -} - -/* - * QAction * insertMenu ( QAction * before, QMenu * menu ) - */ -HB_FUNC( QT_QMENUBAR_INSERTMENU ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->insertMenu( hbqt_par_QAction( 2 ), hbqt_par_QMenu( 3 ) ) ); -} - -/* - * QAction * insertSeparator ( QAction * before ) - */ -HB_FUNC( QT_QMENUBAR_INSERTSEPARATOR ) -{ - hb_retptr( ( QAction* ) hbqt_par_QMenuBar( 1 )->insertSeparator( hbqt_par_QAction( 2 ) ) ); -} - -/* - * bool isDefaultUp () const - */ -HB_FUNC( QT_QMENUBAR_ISDEFAULTUP ) -{ - hb_retl( hbqt_par_QMenuBar( 1 )->isDefaultUp() ); -} - -/* - * void setActiveAction ( QAction * act ) - */ -HB_FUNC( QT_QMENUBAR_SETACTIVEACTION ) -{ - hbqt_par_QMenuBar( 1 )->setActiveAction( hbqt_par_QAction( 2 ) ); -} - -/* - * void setDefaultUp ( bool ) - */ -HB_FUNC( QT_QMENUBAR_SETDEFAULTUP ) -{ - hbqt_par_QMenuBar( 1 )->setDefaultUp( hb_parl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QMessageBox.cpp b/harbour/contrib/hbqt/QMessageBox.cpp deleted file mode 100644 index 7e570f7963..0000000000 --- a/harbour/contrib/hbqt/QMessageBox.cpp +++ /dev/null @@ -1,414 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ButtonRole { InvalidRole, AcceptRole, RejectRole, DestructiveRole, ..., ResetRole } - * enum Icon { NoIcon, Question, Information, Warning, Critical } - * enum StandardButton { Ok, Open, Save, Cancel, ..., ButtonMask } - * flags StandardButtons - */ - -/* - * Constructed[ 38/39 [ 97.44% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList buttons () const - */ - -#include - -#include - - -/* - * QMessageBox ( QWidget * parent = 0 ) - * QMessageBox ( Icon icon, const QString & title, const QString & text, StandardButtons buttons = NoButton, QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint ) - * ~QMessageBox () - */ - -HB_FUNC( QT_QMESSAGEBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QMessageBox > pObj = NULL; - - pObj = ( QMessageBox* ) new QMessageBox() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addButton ( QAbstractButton * button, ButtonRole role ) - */ -HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON ) -{ - hbqt_par_QMessageBox( 1 )->addButton( hbqt_par_QAbstractButton( 2 ), ( QMessageBox::ButtonRole ) hb_parni( 3 ) ); -} - -/* - * QPushButton * addButton ( const QString & text, ButtonRole role ) - */ -HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON_1 ) -{ - hb_retptr( ( QPushButton* ) hbqt_par_QMessageBox( 1 )->addButton( hbqt_par_QString( 2 ), ( QMessageBox::ButtonRole ) hb_parni( 3 ) ) ); -} - -/* - * QPushButton * addButton ( StandardButton button ) - */ -HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON_2 ) -{ - hb_retptr( ( QPushButton* ) hbqt_par_QMessageBox( 1 )->addButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ) ); -} - -/* - * QAbstractButton * button ( StandardButton which ) const - */ -HB_FUNC( QT_QMESSAGEBOX_BUTTON ) -{ - hb_retptr( ( QAbstractButton* ) hbqt_par_QMessageBox( 1 )->button( ( QMessageBox::StandardButton ) hb_parni( 2 ) ) ); -} - -/* - * ButtonRole buttonRole ( QAbstractButton * button ) const - */ -HB_FUNC( QT_QMESSAGEBOX_BUTTONROLE ) -{ - hb_retni( ( QMessageBox::ButtonRole ) hbqt_par_QMessageBox( 1 )->buttonRole( hbqt_par_QAbstractButton( 2 ) ) ); -} - -/* - * QAbstractButton * clickedButton () const - */ -HB_FUNC( QT_QMESSAGEBOX_CLICKEDBUTTON ) -{ - hb_retptr( ( QAbstractButton* ) hbqt_par_QMessageBox( 1 )->clickedButton() ); -} - -/* - * QPushButton * defaultButton () const - */ -HB_FUNC( QT_QMESSAGEBOX_DEFAULTBUTTON ) -{ - hb_retptr( ( QPushButton* ) hbqt_par_QMessageBox( 1 )->defaultButton() ); -} - -/* - * QString detailedText () const - */ -HB_FUNC( QT_QMESSAGEBOX_DETAILEDTEXT ) -{ - hb_retc( hbqt_par_QMessageBox( 1 )->detailedText().toAscii().data() ); -} - -/* - * QAbstractButton * escapeButton () const - */ -HB_FUNC( QT_QMESSAGEBOX_ESCAPEBUTTON ) -{ - hb_retptr( ( QAbstractButton* ) hbqt_par_QMessageBox( 1 )->escapeButton() ); -} - -/* - * Icon icon () const - */ -HB_FUNC( QT_QMESSAGEBOX_ICON ) -{ - hb_retni( ( QMessageBox::Icon ) hbqt_par_QMessageBox( 1 )->icon() ); -} - -/* - * QPixmap iconPixmap () const - */ -HB_FUNC( QT_QMESSAGEBOX_ICONPIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QMessageBox( 1 )->iconPixmap() ) ) ); -} - -/* - * QString informativeText () const - */ -HB_FUNC( QT_QMESSAGEBOX_INFORMATIVETEXT ) -{ - hb_retc( hbqt_par_QMessageBox( 1 )->informativeText().toAscii().data() ); -} - -/* - * void open ( QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QMESSAGEBOX_OPEN ) -{ - hbqt_par_QMessageBox( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * void removeButton ( QAbstractButton * button ) - */ -HB_FUNC( QT_QMESSAGEBOX_REMOVEBUTTON ) -{ - hbqt_par_QMessageBox( 1 )->removeButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* - * void setDefaultButton ( QPushButton * button ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETDEFAULTBUTTON ) -{ - hbqt_par_QMessageBox( 1 )->setDefaultButton( hbqt_par_QPushButton( 2 ) ); -} - -/* - * void setDefaultButton ( StandardButton button ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETDEFAULTBUTTON_1 ) -{ - hbqt_par_QMessageBox( 1 )->setDefaultButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ); -} - -/* - * void setDetailedText ( const QString & text ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETDETAILEDTEXT ) -{ - hbqt_par_QMessageBox( 1 )->setDetailedText( hbqt_par_QString( 2 ) ); -} - -/* - * void setEscapeButton ( QAbstractButton * button ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETESCAPEBUTTON ) -{ - hbqt_par_QMessageBox( 1 )->setEscapeButton( hbqt_par_QAbstractButton( 2 ) ); -} - -/* - * void setEscapeButton ( StandardButton button ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETESCAPEBUTTON_1 ) -{ - hbqt_par_QMessageBox( 1 )->setEscapeButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ); -} - -/* - * void setIcon ( Icon ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETICON ) -{ - hbqt_par_QMessageBox( 1 )->setIcon( ( QMessageBox::Icon ) hb_parni( 2 ) ); -} - -/* - * void setIconPixmap ( const QPixmap & pixmap ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETICONPIXMAP ) -{ - hbqt_par_QMessageBox( 1 )->setIconPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* - * void setInformativeText ( const QString & text ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETINFORMATIVETEXT ) -{ - hbqt_par_QMessageBox( 1 )->setInformativeText( hbqt_par_QString( 2 ) ); -} - -/* - * void setStandardButtons ( StandardButtons buttons ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETSTANDARDBUTTONS ) -{ - hbqt_par_QMessageBox( 1 )->setStandardButtons( ( QMessageBox::StandardButtons ) hb_parni( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETTEXT ) -{ - hbqt_par_QMessageBox( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextFormat ( Qt::TextFormat format ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETTEXTFORMAT ) -{ - hbqt_par_QMessageBox( 1 )->setTextFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* - * void setWindowModality ( Qt::WindowModality windowModality ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETWINDOWMODALITY ) -{ - hbqt_par_QMessageBox( 1 )->setWindowModality( ( Qt::WindowModality ) hb_parni( 2 ) ); -} - -/* - * void setWindowTitle ( const QString & title ) - */ -HB_FUNC( QT_QMESSAGEBOX_SETWINDOWTITLE ) -{ - hbqt_par_QMessageBox( 1 )->setWindowTitle( hbqt_par_QString( 2 ) ); -} - -/* - * StandardButton standardButton ( QAbstractButton * button ) const - */ -HB_FUNC( QT_QMESSAGEBOX_STANDARDBUTTON ) -{ - hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->standardButton( hbqt_par_QAbstractButton( 2 ) ) ); -} - -/* - * StandardButtons standardButtons () const - */ -HB_FUNC( QT_QMESSAGEBOX_STANDARDBUTTONS ) -{ - hb_retni( ( QMessageBox::StandardButtons ) hbqt_par_QMessageBox( 1 )->standardButtons() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QMESSAGEBOX_TEXT ) -{ - hb_retc( hbqt_par_QMessageBox( 1 )->text().toAscii().data() ); -} - -/* - * Qt::TextFormat textFormat () const - */ -HB_FUNC( QT_QMESSAGEBOX_TEXTFORMAT ) -{ - hb_retni( ( Qt::TextFormat ) hbqt_par_QMessageBox( 1 )->textFormat() ); -} - -/* - * void about ( QWidget * parent, const QString & title, const QString & text ) - */ -HB_FUNC( QT_QMESSAGEBOX_ABOUT ) -{ - hbqt_par_QMessageBox( 1 )->about( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ) ); -} - -/* - * void aboutQt ( QWidget * parent, const QString & title = QString() ) - */ -HB_FUNC( QT_QMESSAGEBOX_ABOUTQT ) -{ - hbqt_par_QMessageBox( 1 )->aboutQt( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * StandardButton critical ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - */ -HB_FUNC( QT_QMESSAGEBOX_CRITICAL ) -{ - hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->critical( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); -} - -/* - * StandardButton information ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - */ -HB_FUNC( QT_QMESSAGEBOX_INFORMATION ) -{ - hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->information( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); -} - -/* - * StandardButton question ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - */ -HB_FUNC( QT_QMESSAGEBOX_QUESTION ) -{ - hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->question( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); -} - -/* - * StandardButton warning ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - */ -HB_FUNC( QT_QMESSAGEBOX_WARNING ) -{ - hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->warning( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) ); -} - -/* - * int exec () - */ -HB_FUNC( QT_QMESSAGEBOX_EXEC ) -{ - hb_retni( hbqt_par_QMessageBox( 1 )->exec() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QModelIndex.cpp b/harbour/contrib/hbqt/QModelIndex.cpp deleted file mode 100644 index 6bfc05de49..0000000000 --- a/harbour/contrib/hbqt/QModelIndex.cpp +++ /dev/null @@ -1,182 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QModelIndex () - * QModelIndex ( const QModelIndex & other ) - * ~QModelIndex () - */ - -HB_FUNC( QT_QMODELINDEX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = new QModelIndex() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QModelIndex" ); - hb_retptrGC( p ); -} -/* - * QModelIndex child ( int row, int column ) const - */ -HB_FUNC( QT_QMODELINDEX_CHILD ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QModelIndex( 1 )->child( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * int column () const - */ -HB_FUNC( QT_QMODELINDEX_COLUMN ) -{ - hb_retni( hbqt_par_QModelIndex( 1 )->column() ); -} - -/* - * QVariant data ( int role = Qt::DisplayRole ) const - */ -HB_FUNC( QT_QMODELINDEX_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QModelIndex( 1 )->data( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : Qt::DisplayRole ) ) ) ) ); -} - -/* - * Qt::ItemFlags flags () const - */ -HB_FUNC( QT_QMODELINDEX_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QModelIndex( 1 )->flags() ); -} - -/* - * qint64 internalId () const - */ -HB_FUNC( QT_QMODELINDEX_INTERNALID ) -{ - hb_retnint( hbqt_par_QModelIndex( 1 )->internalId() ); -} - -/* - * void * internalPointer () const - */ -HB_FUNC( QT_QMODELINDEX_INTERNALPOINTER ) -{ - hbqt_par_QModelIndex( 1 )->internalPointer(); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QMODELINDEX_ISVALID ) -{ - hb_retl( hbqt_par_QModelIndex( 1 )->isValid() ); -} - -/* - * const QAbstractItemModel * model () const - */ -HB_FUNC( QT_QMODELINDEX_MODEL ) -{ - hb_retptr( ( QAbstractItemModel* ) hbqt_par_QModelIndex( 1 )->model() ); -} - -/* - * QModelIndex parent () const - */ -HB_FUNC( QT_QMODELINDEX_PARENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QModelIndex( 1 )->parent() ) ) ); -} - -/* - * int row () const - */ -HB_FUNC( QT_QMODELINDEX_ROW ) -{ - hb_retni( hbqt_par_QModelIndex( 1 )->row() ); -} - -/* - * QModelIndex sibling ( int row, int column ) const - */ -HB_FUNC( QT_QMODELINDEX_SIBLING ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QModelIndex( 1 )->sibling( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QMouseEvent.cpp b/harbour/contrib/hbqt/QMouseEvent.cpp deleted file mode 100644 index 23cd71c5e6..0000000000 --- a/harbour/contrib/hbqt/QMouseEvent.cpp +++ /dev/null @@ -1,166 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QMouseEvent ( Type type, const QPoint & position, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - * QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - * ~QMouseEvent () - */ - -HB_FUNC( QT_QMOUSEEVENT ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QMouseEvent( *hbqt_par_QMouseEvent( 1 ) ) ; - } - - hb_retptr( pObj ); -} -/* - * Qt::MouseButton button () const - */ -HB_FUNC( QT_QMOUSEEVENT_BUTTON ) -{ - hb_retni( ( Qt::MouseButton ) hbqt_par_QMouseEvent( 1 )->button() ); -} - -/* - * Qt::MouseButtons buttons () const - */ -HB_FUNC( QT_QMOUSEEVENT_BUTTONS ) -{ - hb_retni( ( Qt::MouseButtons ) hbqt_par_QMouseEvent( 1 )->buttons() ); -} - -/* - * const QPoint & globalPos () const - */ -HB_FUNC( QT_QMOUSEEVENT_GLOBALPOS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QMouseEvent( 1 )->globalPos() ) ) ); -} - -/* - * int globalX () const - */ -HB_FUNC( QT_QMOUSEEVENT_GLOBALX ) -{ - hb_retni( hbqt_par_QMouseEvent( 1 )->globalX() ); -} - -/* - * int globalY () const - */ -HB_FUNC( QT_QMOUSEEVENT_GLOBALY ) -{ - hb_retni( hbqt_par_QMouseEvent( 1 )->globalY() ); -} - -/* - * const QPoint & pos () const - */ -HB_FUNC( QT_QMOUSEEVENT_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QMouseEvent( 1 )->pos() ) ) ); -} - -/* - * QPointF posF () const - */ -HB_FUNC( QT_QMOUSEEVENT_POSF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QMouseEvent( 1 )->posF() ) ) ); -} - -/* - * int x () const - */ -HB_FUNC( QT_QMOUSEEVENT_X ) -{ - hb_retni( hbqt_par_QMouseEvent( 1 )->x() ); -} - -/* - * int y () const - */ -HB_FUNC( QT_QMOUSEEVENT_Y ) -{ - hb_retni( hbqt_par_QMouseEvent( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QMoveEvent.cpp b/harbour/contrib/hbqt/QMoveEvent.cpp deleted file mode 100644 index 5531cbcb7e..0000000000 --- a/harbour/contrib/hbqt/QMoveEvent.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QMoveEvent ( const QPoint & pos, const QPoint & oldPos ) - * ~QMoveEvent () - */ - -HB_FUNC( QT_QMOVEEVENT ) -{ -} -/* - * const QPoint & oldPos () const - */ -HB_FUNC( QT_QMOVEEVENT_OLDPOS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QMoveEvent( 1 )->oldPos() ) ) ); -} - -/* - * const QPoint & pos () const - */ -HB_FUNC( QT_QMOVEEVENT_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QMoveEvent( 1 )->pos() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QObject.cpp b/harbour/contrib/hbqt/QObject.cpp deleted file mode 100644 index 0869a87c91..0000000000 --- a/harbour/contrib/hbqt/QObject.cpp +++ /dev/null @@ -1,350 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 30/35 [ 85.71% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList dynamicPropertyNames () const - * QList findChildren ( const QString & name = QString() ) const - * QList findChildren ( const QRegExp & regExp ) const - * const QMetaObject staticMetaObject - * - * *** Commented out protos which construct fine but do not compile *** - * - * //T findChild ( const QString & name = QString() ) const - */ - -#include - -#include -#include -#include - -/* - * Q_INVOKABLE QObject ( QObject * parent = 0 ) - * virtual ~QObject () - */ - -HB_FUNC( QT_QOBJECT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QObject > pObj = NULL; - - pObj = ( QObject* ) new QObject( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool blockSignals ( bool block ) - */ -HB_FUNC( QT_QOBJECT_BLOCKSIGNALS ) -{ - hb_retl( hbqt_par_QObject( 1 )->blockSignals( hb_parl( 2 ) ) ); -} - -/* - * const QObjectList & children () const - */ -HB_FUNC( QT_QOBJECT_CHILDREN ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QObjectList( hbqt_par_QObject( 1 )->children() ) ) ); -} - -/* - * bool connect ( const QObject * sender, const char * signal, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) const - */ -HB_FUNC( QT_QOBJECT_CONNECT ) -{ - hb_retl( hbqt_par_QObject( 1 )->connect( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ), hbqt_par_char( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ConnectionType ) hb_parni( 5 ) : ( Qt::ConnectionType ) Qt::AutoConnection ) ) ); -} - -/* - * bool disconnect ( const char * signal = 0, const QObject * receiver = 0, const char * method = 0 ) - */ -HB_FUNC( QT_QOBJECT_DISCONNECT ) -{ - hb_retl( hbqt_par_QObject( 1 )->disconnect( hbqt_par_char( 2 ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ) ) ); -} - -/* - * bool disconnect ( const QObject * receiver, const char * method = 0 ) - */ -HB_FUNC( QT_QOBJECT_DISCONNECT_1 ) -{ - hb_retl( hbqt_par_QObject( 1 )->disconnect( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * void dumpObjectInfo () - */ -HB_FUNC( QT_QOBJECT_DUMPOBJECTINFO ) -{ - hbqt_par_QObject( 1 )->dumpObjectInfo(); -} - -/* - * void dumpObjectTree () - */ -HB_FUNC( QT_QOBJECT_DUMPOBJECTTREE ) -{ - hbqt_par_QObject( 1 )->dumpObjectTree(); -} - -/* - * virtual bool event ( QEvent * e ) - */ -HB_FUNC( QT_QOBJECT_EVENT ) -{ - hb_retl( hbqt_par_QObject( 1 )->event( hbqt_par_QEvent( 2 ) ) ); -} - -/* - * virtual bool eventFilter ( QObject * watched, QEvent * event ) - */ -HB_FUNC( QT_QOBJECT_EVENTFILTER ) -{ - hb_retl( hbqt_par_QObject( 1 )->eventFilter( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) ); -} - -/* - * bool inherits ( const char * className ) const - */ -HB_FUNC( QT_QOBJECT_INHERITS ) -{ - hb_retl( hbqt_par_QObject( 1 )->inherits( hbqt_par_char( 2 ) ) ); -} - -/* - * void installEventFilter ( QObject * filterObj ) - */ -HB_FUNC( QT_QOBJECT_INSTALLEVENTFILTER ) -{ - hbqt_par_QObject( 1 )->installEventFilter( hbqt_par_QObject( 2 ) ); -} - -/* - * bool isWidgetType () const - */ -HB_FUNC( QT_QOBJECT_ISWIDGETTYPE ) -{ - hb_retl( hbqt_par_QObject( 1 )->isWidgetType() ); -} - -/* - * void killTimer ( int id ) - */ -HB_FUNC( QT_QOBJECT_KILLTIMER ) -{ - hbqt_par_QObject( 1 )->killTimer( hb_parni( 2 ) ); -} - -/* - * virtual const QMetaObject * metaObject () const - */ -HB_FUNC( QT_QOBJECT_METAOBJECT ) -{ - hb_retptr( ( QMetaObject* ) hbqt_par_QObject( 1 )->metaObject() ); -} - -/* - * void moveToThread ( QThread * targetThread ) - */ -HB_FUNC( QT_QOBJECT_MOVETOTHREAD ) -{ - hbqt_par_QObject( 1 )->moveToThread( hbqt_par_QThread( 2 ) ); -} - -/* - * QString objectName () const - */ -HB_FUNC( QT_QOBJECT_OBJECTNAME ) -{ - hb_retc( hbqt_par_QObject( 1 )->objectName().toAscii().data() ); -} - -/* - * QObject * parent () const - */ -HB_FUNC( QT_QOBJECT_PARENT ) -{ - hb_retptr( ( QObject* ) hbqt_par_QObject( 1 )->parent() ); -} - -/* - * QVariant property ( const char * name ) const - */ -HB_FUNC( QT_QOBJECT_PROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QObject( 1 )->property( hbqt_par_char( 2 ) ) ) ) ); -} - -/* - * void removeEventFilter ( QObject * obj ) - */ -HB_FUNC( QT_QOBJECT_REMOVEEVENTFILTER ) -{ - hbqt_par_QObject( 1 )->removeEventFilter( hbqt_par_QObject( 2 ) ); -} - -/* - * void setObjectName ( const QString & name ) - */ -HB_FUNC( QT_QOBJECT_SETOBJECTNAME ) -{ - hbqt_par_QObject( 1 )->setObjectName( hbqt_par_QString( 2 ) ); -} - -/* - * void setParent ( QObject * parent ) - */ -HB_FUNC( QT_QOBJECT_SETPARENT ) -{ - hbqt_par_QObject( 1 )->setParent( hbqt_par_QObject( 2 ) ); -} - -/* - * bool setProperty ( const char * name, const QVariant & value ) - */ -HB_FUNC( QT_QOBJECT_SETPROPERTY ) -{ - hb_retl( hbqt_par_QObject( 1 )->setProperty( hbqt_par_char( 2 ), *hbqt_par_QVariant( 3 ) ) ); -} - -/* - * bool signalsBlocked () const - */ -HB_FUNC( QT_QOBJECT_SIGNALSBLOCKED ) -{ - hb_retl( hbqt_par_QObject( 1 )->signalsBlocked() ); -} - -/* - * int startTimer ( int interval ) - */ -HB_FUNC( QT_QOBJECT_STARTTIMER ) -{ - hb_retni( hbqt_par_QObject( 1 )->startTimer( hb_parni( 2 ) ) ); -} - -/* - * QThread * thread () const - */ -HB_FUNC( QT_QOBJECT_THREAD ) -{ - hb_retptr( ( QThread* ) hbqt_par_QObject( 1 )->thread() ); -} - -/* - * bool connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) - */ -HB_FUNC( QT_QOBJECT_CONNECT_1 ) -{ - hb_retl( hbqt_par_QObject( 1 )->connect( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ), hbqt_par_QObject( 4 ), hbqt_par_char( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::ConnectionType ) hb_parni( 6 ) : ( Qt::ConnectionType ) Qt::AutoConnection ) ) ); -} - -/* - * bool disconnect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method ) - */ -HB_FUNC( QT_QOBJECT_DISCONNECT_2 ) -{ - hb_retl( hbqt_par_QObject( 1 )->disconnect( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ), hbqt_par_QObject( 4 ), hbqt_par_char( 5 ) ) ); -} - -/* - * QString tr ( const char * sourceText, const char * disambiguation = 0, int n = -1 ) - */ -HB_FUNC( QT_QOBJECT_TR ) -{ - hb_retc( hbqt_par_QObject( 1 )->tr( hbqt_par_char( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ).toAscii().data() ); -} - -/* - * QString trUtf8 ( const char * sourceText, const char * disambiguation = 0, int n = -1 ) - */ -HB_FUNC( QT_QOBJECT_TRUTF8 ) -{ - hb_retc( hbqt_par_QObject( 1 )->trUtf8( hbqt_par_char( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ).toAscii().data() ); -} - -/* - * void deleteLater () - */ -HB_FUNC( QT_QOBJECT_DELETELATER ) -{ - hbqt_par_QObject( 1 )->deleteLater(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPageSetupDialog.cpp b/harbour/contrib/hbqt/QPageSetupDialog.cpp deleted file mode 100644 index 8bcbabbf08..0000000000 --- a/harbour/contrib/hbqt/QPageSetupDialog.cpp +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum PageSetupDialogOption { DontUseSheet } - * flags PageSetupDialogOptions - */ - -#include - -#include - - -/* - * QPageSetupDialog ( QPrinter * printer, QWidget * parent = 0 ) - * QPageSetupDialog ( QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QPAGESETUPDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QPageSetupDialog > pObj = NULL; - - if( hb_pcount() >= 2 ) - pObj = ( QPageSetupDialog* ) new QPageSetupDialog( hbqt_par_QPrinter( 1 ), hbqt_par_QWidget( 1 ) ) ; - else - pObj = ( QPageSetupDialog* ) new QPageSetupDialog( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual int exec () - */ -HB_FUNC( QT_QPAGESETUPDIALOG_EXEC ) -{ - hb_retni( hbqt_par_QPageSetupDialog( 1 )->exec() ); -} - -/* - * void open ( QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QPAGESETUPDIALOG_OPEN ) -{ - hbqt_par_QPageSetupDialog( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * PageSetupDialogOptions options () const - */ -HB_FUNC( QT_QPAGESETUPDIALOG_OPTIONS ) -{ - hb_retni( ( QPageSetupDialog::PageSetupDialogOptions ) hbqt_par_QPageSetupDialog( 1 )->options() ); -} - -/* - * QPrinter * printer () - */ -HB_FUNC( QT_QPAGESETUPDIALOG_PRINTER ) -{ - hb_retptr( ( QPrinter* ) hbqt_par_QPageSetupDialog( 1 )->printer() ); -} - -/* - * void setOption ( PageSetupDialogOption option, bool on = true ) - */ -HB_FUNC( QT_QPAGESETUPDIALOG_SETOPTION ) -{ - hbqt_par_QPageSetupDialog( 1 )->setOption( ( QPageSetupDialog::PageSetupDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( PageSetupDialogOptions options ) - */ -HB_FUNC( QT_QPAGESETUPDIALOG_SETOPTIONS ) -{ - hbqt_par_QPageSetupDialog( 1 )->setOptions( ( QPageSetupDialog::PageSetupDialogOptions ) hb_parni( 2 ) ); -} - -/* - * virtual void setVisible ( bool visible ) - */ -HB_FUNC( QT_QPAGESETUPDIALOG_SETVISIBLE ) -{ - hbqt_par_QPageSetupDialog( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * bool testOption ( PageSetupDialogOption option ) const - */ -HB_FUNC( QT_QPAGESETUPDIALOG_TESTOPTION ) -{ - hb_retl( hbqt_par_QPageSetupDialog( 1 )->testOption( ( QPageSetupDialog::PageSetupDialogOption ) hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPaintDevice.cpp b/harbour/contrib/hbqt/QPaintDevice.cpp deleted file mode 100644 index 4a011b7957..0000000000 --- a/harbour/contrib/hbqt/QPaintDevice.cpp +++ /dev/null @@ -1,183 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } - */ - -#include - -#include - -/* - * virtual ~QPaintDevice () - */ - -HB_FUNC( QT_QPAINTDEVICE ) -{ -} -/* - * int depth () const - */ -HB_FUNC( QT_QPAINTDEVICE_DEPTH ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->depth() ); -} - -/* - * int height () const - */ -HB_FUNC( QT_QPAINTDEVICE_HEIGHT ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->height() ); -} - -/* - * int heightMM () const - */ -HB_FUNC( QT_QPAINTDEVICE_HEIGHTMM ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->heightMM() ); -} - -/* - * int logicalDpiX () const - */ -HB_FUNC( QT_QPAINTDEVICE_LOGICALDPIX ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->logicalDpiX() ); -} - -/* - * int logicalDpiY () const - */ -HB_FUNC( QT_QPAINTDEVICE_LOGICALDPIY ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->logicalDpiY() ); -} - -/* - * int numColors () const - */ -HB_FUNC( QT_QPAINTDEVICE_NUMCOLORS ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->numColors() ); -} - -/* - * virtual QPaintEngine * paintEngine () const = 0 - */ -HB_FUNC( QT_QPAINTDEVICE_PAINTENGINE ) -{ - hb_retptr( ( QPaintEngine* ) hbqt_par_QPaintDevice( 1 )->paintEngine() ); -} - -/* - * bool paintingActive () const - */ -HB_FUNC( QT_QPAINTDEVICE_PAINTINGACTIVE ) -{ - hb_retl( hbqt_par_QPaintDevice( 1 )->paintingActive() ); -} - -/* - * int physicalDpiX () const - */ -HB_FUNC( QT_QPAINTDEVICE_PHYSICALDPIX ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->physicalDpiX() ); -} - -/* - * int physicalDpiY () const - */ -HB_FUNC( QT_QPAINTDEVICE_PHYSICALDPIY ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->physicalDpiY() ); -} - -/* - * int width () const - */ -HB_FUNC( QT_QPAINTDEVICE_WIDTH ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->width() ); -} - -/* - * int widthMM () const - */ -HB_FUNC( QT_QPAINTDEVICE_WIDTHMM ) -{ - hb_retni( hbqt_par_QPaintDevice( 1 )->widthMM() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPaintEvent.cpp b/harbour/contrib/hbqt/QPaintEvent.cpp deleted file mode 100644 index 42fda1ef74..0000000000 --- a/harbour/contrib/hbqt/QPaintEvent.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QPaintEvent ( const QRegion & paintRegion ) - * QPaintEvent ( const QRect & paintRect ) - */ - -HB_FUNC( QT_QPAINTEVENT ) -{ - void * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = ( QString ) hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QRect" ) - { - pObj = new QPaintEvent( *hbqt_par_QRect( 1 ) ) ; - } - else if( objName == ( QString ) "QRegion" ) - { - pObj = new QPaintEvent( *hbqt_par_QRegion( 1 ) ) ; - } - } - - hb_retptr( pObj ); -} -/* - * const QRect & rect () const - */ -HB_FUNC( QT_QPAINTEVENT_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPaintEvent( 1 )->rect() ) ) ); -} - -/* - * const QRegion & region () const - */ -HB_FUNC( QT_QPAINTEVENT_REGION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QPaintEvent( 1 )->region() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPainter.cpp b/harbour/contrib/hbqt/QPainter.cpp deleted file mode 100644 index 4ac8333b72..0000000000 --- a/harbour/contrib/hbqt/QPainter.cpp +++ /dev/null @@ -1,1573 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CompositionMode { CompositionMode_SourceOver, CompositionMode_DestinationOver, CompositionMode_Clear, CompositionMode_Source, ..., RasterOp_SourceAndNotDestination } - * enum RenderHint { Antialiasing, TextAntialiasing, SmoothPixmapTransform, HighQualityAntialiasing, NonCosmeticDefaultPen } - * enum RenderHints - */ - -/* - * Constructed[ 182/188 [ 96.81% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void drawLines ( const QVector & pointPairs ) - * void drawLines ( const QVector & pointPairs ) - * void drawLines ( const QVector & lines ) - * void drawLines ( const QVector & lines ) - * void drawRects ( const QVector & rectangles ) - * void drawRects ( const QVector & rectangles ) - */ - -#include - -#include - -/* - * QPainter () - * QPainter ( QPaintDevice * device ) - * ~QPainter () - */ - -HB_FUNC( QT_QPAINTER ) -{ - void * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPainter( hbqt_par_QPaintDevice( 1 ) ) ; - } - else - { - pObj = new QPainter() ; - } - - hb_retptr( pObj ); -} -/* - * const QBrush & background () const - */ -HB_FUNC( QT_QPAINTER_BACKGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPainter( 1 )->background() ) ) ); -} - -/* - * Qt::BGMode backgroundMode () const - */ -HB_FUNC( QT_QPAINTER_BACKGROUNDMODE ) -{ - hb_retni( ( Qt::BGMode ) hbqt_par_QPainter( 1 )->backgroundMode() ); -} - -/* - * bool begin ( QPaintDevice * device ) - */ -HB_FUNC( QT_QPAINTER_BEGIN ) -{ - hb_retl( hbqt_par_QPainter( 1 )->begin( hbqt_par_QPaintDevice( 2 ) ) ); -} - -/* - * QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) - */ -HB_FUNC( QT_QPAINTER_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QPainter( 1 )->boundingRect( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ) ) ) ); -} - -/* - * QRect boundingRect ( const QRect & rectangle, int flags, const QString & text ) - */ -HB_FUNC( QT_QPAINTER_BOUNDINGRECT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPainter( 1 )->boundingRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ) ) ) ); -} - -/* - * QRect boundingRect ( int x, int y, int w, int h, int flags, const QString & text ) - */ -HB_FUNC( QT_QPAINTER_BOUNDINGRECT_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPainter( 1 )->boundingRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ) ) ) ) ); -} - -/* - * QRectF boundingRect ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) - */ -HB_FUNC( QT_QPAINTER_BOUNDINGRECT_3 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QPainter( 1 )->boundingRect( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ) ) ) ); -} - -/* - * const QBrush & brush () const - */ -HB_FUNC( QT_QPAINTER_BRUSH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPainter( 1 )->brush() ) ) ); -} - -/* - * QPoint brushOrigin () const - */ -HB_FUNC( QT_QPAINTER_BRUSHORIGIN ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QPainter( 1 )->brushOrigin() ) ) ); -} - -/* - * QPainterPath clipPath () const - */ -HB_FUNC( QT_QPAINTER_CLIPPATH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPainterPath( hbqt_par_QPainter( 1 )->clipPath() ) ) ); -} - -/* - * QRegion clipRegion () const - */ -HB_FUNC( QT_QPAINTER_CLIPREGION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QPainter( 1 )->clipRegion() ) ) ); -} - -/* - * QMatrix combinedMatrix () const - */ -HB_FUNC( QT_QPAINTER_COMBINEDMATRIX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QMatrix( hbqt_par_QPainter( 1 )->combinedMatrix() ) ) ); -} - -/* - * QTransform combinedTransform () const - */ -HB_FUNC( QT_QPAINTER_COMBINEDTRANSFORM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTransform( hbqt_par_QPainter( 1 )->combinedTransform() ) ) ); -} - -/* - * CompositionMode compositionMode () const - */ -HB_FUNC( QT_QPAINTER_COMPOSITIONMODE ) -{ - hb_retni( ( QPainter::CompositionMode ) hbqt_par_QPainter( 1 )->compositionMode() ); -} - -/* - * QPaintDevice * device () const - */ -HB_FUNC( QT_QPAINTER_DEVICE ) -{ - hb_retptr( ( QPaintDevice* ) hbqt_par_QPainter( 1 )->device() ); -} - -/* - * const QMatrix & deviceMatrix () const - */ -HB_FUNC( QT_QPAINTER_DEVICEMATRIX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QMatrix( hbqt_par_QPainter( 1 )->deviceMatrix() ) ) ); -} - -/* - * const QTransform & deviceTransform () const - */ -HB_FUNC( QT_QPAINTER_DEVICETRANSFORM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTransform( hbqt_par_QPainter( 1 )->deviceTransform() ) ) ); -} - -/* - * void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWARC ) -{ - hbqt_par_QPainter( 1 )->drawArc( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawArc ( const QRect & rectangle, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWARC_1 ) -{ - hbqt_par_QPainter( 1 )->drawArc( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawArc ( int x, int y, int width, int height, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWARC_2 ) -{ - hbqt_par_QPainter( 1 )->drawArc( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); -} - -/* - * void drawChord ( const QRectF & rectangle, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWCHORD ) -{ - hbqt_par_QPainter( 1 )->drawChord( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawChord ( const QRect & rectangle, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWCHORD_1 ) -{ - hbqt_par_QPainter( 1 )->drawChord( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawChord ( int x, int y, int width, int height, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWCHORD_2 ) -{ - hbqt_par_QPainter( 1 )->drawChord( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); -} - -/* - * void drawConvexPolygon ( const QPointF * points, int pointCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON ) -{ - hbqt_par_QPainter( 1 )->drawConvexPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawConvexPolygon ( const QPoint * points, int pointCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON_1 ) -{ - hbqt_par_QPainter( 1 )->drawConvexPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawConvexPolygon ( const QPolygonF & polygon ) - */ -HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON_2 ) -{ - hbqt_par_QPainter( 1 )->drawConvexPolygon( *hbqt_par_QPolygonF( 2 ) ); -} - -/* - * void drawConvexPolygon ( const QPolygon & polygon ) - */ -HB_FUNC( QT_QPAINTER_DRAWCONVEXPOLYGON_3 ) -{ - hbqt_par_QPainter( 1 )->drawConvexPolygon( *hbqt_par_QPolygon( 2 ) ); -} - -/* - * void drawEllipse ( const QRectF & rectangle ) - */ -HB_FUNC( QT_QPAINTER_DRAWELLIPSE ) -{ - hbqt_par_QPainter( 1 )->drawEllipse( *hbqt_par_QRectF( 2 ) ); -} - -/* - * void drawEllipse ( const QRect & rectangle ) - */ -HB_FUNC( QT_QPAINTER_DRAWELLIPSE_1 ) -{ - hbqt_par_QPainter( 1 )->drawEllipse( *hbqt_par_QRect( 2 ) ); -} - -/* - * void drawEllipse ( int x, int y, int width, int height ) - */ -HB_FUNC( QT_QPAINTER_DRAWELLIPSE_2 ) -{ - hbqt_par_QPainter( 1 )->drawEllipse( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void drawEllipse ( const QPointF & center, qreal rx, qreal ry ) - */ -HB_FUNC( QT_QPAINTER_DRAWELLIPSE_3 ) -{ - hbqt_par_QPainter( 1 )->drawEllipse( *hbqt_par_QPointF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); -} - -/* - * void drawEllipse ( const QPoint & center, int rx, int ry ) - */ -HB_FUNC( QT_QPAINTER_DRAWELLIPSE_4 ) -{ - hbqt_par_QPainter( 1 )->drawEllipse( *hbqt_par_QPoint( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); -} - -/* - * void drawImage ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_1 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); -} - -/* - * void drawImage ( const QPointF & point, const QImage & image ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_2 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ) ); -} - -/* - * void drawImage ( const QPoint & point, const QImage & image ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_3 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ) ); -} - -/* - * void drawImage ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_4 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QPointF( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRectF( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); -} - -/* - * void drawImage ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_5 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QPoint( 2 ), *hbqt_par_QImage( 3 ), *hbqt_par_QRect( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::ImageConversionFlags ) hb_parni( 5 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); -} - -/* - * void drawImage ( const QRectF & rectangle, const QImage & image ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_6 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QRectF( 2 ), *hbqt_par_QImage( 3 ) ); -} - -/* - * void drawImage ( const QRect & rectangle, const QImage & image ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_7 ) -{ - hbqt_par_QPainter( 1 )->drawImage( *hbqt_par_QRect( 2 ), *hbqt_par_QImage( 3 ) ); -} - -/* - * void drawImage ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPAINTER_DRAWIMAGE_8 ) -{ - hbqt_par_QPainter( 1 )->drawImage( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QImage( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( HB_ISNUM( 7 ) ? hb_parni( 7 ) : -1 ), ( HB_ISNUM( 8 ) ? hb_parni( 8 ) : -1 ), ( HB_ISNUM( 9 ) ? ( Qt::ImageConversionFlags ) hb_parni( 9 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ); -} - -/* - * void drawLine ( const QLineF & line ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINE ) -{ - hbqt_par_QPainter( 1 )->drawLine( *hbqt_par_QLineF( 2 ) ); -} - -/* - * void drawLine ( const QLine & line ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINE_1 ) -{ - hbqt_par_QPainter( 1 )->drawLine( *hbqt_par_QLine( 2 ) ); -} - -/* - * void drawLine ( const QPoint & p1, const QPoint & p2 ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINE_2 ) -{ - hbqt_par_QPainter( 1 )->drawLine( *hbqt_par_QPoint( 2 ), *hbqt_par_QPoint( 3 ) ); -} - -/* - * void drawLine ( const QPointF & p1, const QPointF & p2 ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINE_3 ) -{ - hbqt_par_QPainter( 1 )->drawLine( *hbqt_par_QPointF( 2 ), *hbqt_par_QPointF( 3 ) ); -} - -/* - * void drawLine ( int x1, int y1, int x2, int y2 ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINE_4 ) -{ - hbqt_par_QPainter( 1 )->drawLine( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void drawLines ( const QLineF * lines, int lineCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINES ) -{ - hbqt_par_QPainter( 1 )->drawLines( hbqt_par_QLineF( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawLines ( const QLine * lines, int lineCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINES_1 ) -{ - hbqt_par_QPainter( 1 )->drawLines( hbqt_par_QLine( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawLines ( const QPointF * pointPairs, int lineCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINES_2 ) -{ - hbqt_par_QPainter( 1 )->drawLines( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawLines ( const QPoint * pointPairs, int lineCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWLINES_3 ) -{ - hbqt_par_QPainter( 1 )->drawLines( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawPath ( const QPainterPath & path ) - */ -HB_FUNC( QT_QPAINTER_DRAWPATH ) -{ - hbqt_par_QPainter( 1 )->drawPath( *hbqt_par_QPainterPath( 2 ) ); -} - -/* - * void drawPicture ( const QPointF & point, const QPicture & picture ) - */ -HB_FUNC( QT_QPAINTER_DRAWPICTURE ) -{ - hbqt_par_QPainter( 1 )->drawPicture( *hbqt_par_QPointF( 2 ), *hbqt_par_QPicture( 3 ) ); -} - -/* - * void drawPicture ( const QPoint & point, const QPicture & picture ) - */ -HB_FUNC( QT_QPAINTER_DRAWPICTURE_1 ) -{ - hbqt_par_QPainter( 1 )->drawPicture( *hbqt_par_QPoint( 2 ), *hbqt_par_QPicture( 3 ) ); -} - -/* - * void drawPicture ( int x, int y, const QPicture & picture ) - */ -HB_FUNC( QT_QPAINTER_DRAWPICTURE_2 ) -{ - hbqt_par_QPainter( 1 )->drawPicture( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPicture( 4 ) ); -} - -/* - * void drawPie ( const QRectF & rectangle, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIE ) -{ - hbqt_par_QPainter( 1 )->drawPie( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawPie ( const QRect & rectangle, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIE_1 ) -{ - hbqt_par_QPainter( 1 )->drawPie( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void drawPie ( int x, int y, int width, int height, int startAngle, int spanAngle ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIE_2 ) -{ - hbqt_par_QPainter( 1 )->drawPie( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ) ); -} - -/* - * void drawPixmap ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); -} - -/* - * void drawPixmap ( const QRect & target, const QPixmap & pixmap, const QRect & source ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_1 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); -} - -/* - * void drawPixmap ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_2 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRectF( 4 ) ); -} - -/* - * void drawPixmap ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_3 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ), *hbqt_par_QRect( 4 ) ); -} - -/* - * void drawPixmap ( const QPointF & point, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_4 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QPointF( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* - * void drawPixmap ( const QPoint & point, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_5 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QPoint( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* - * void drawPixmap ( int x, int y, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_6 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ); -} - -/* - * void drawPixmap ( const QRect & rectangle, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_7 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* - * void drawPixmap ( int x, int y, int width, int height, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_8 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ) ); -} - -/* - * void drawPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_9 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), hb_parni( 7 ), hb_parni( 8 ), hb_parni( 9 ), hb_parni( 10 ) ); -} - -/* - * void drawPixmap ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - */ -HB_FUNC( QT_QPAINTER_DRAWPIXMAP_10 ) -{ - hbqt_par_QPainter( 1 )->drawPixmap( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ), hb_parni( 5 ), hb_parni( 6 ), hb_parni( 7 ), hb_parni( 8 ) ); -} - -/* - * void drawPoint ( const QPointF & position ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINT ) -{ - hbqt_par_QPainter( 1 )->drawPoint( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void drawPoint ( const QPoint & position ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINT_1 ) -{ - hbqt_par_QPainter( 1 )->drawPoint( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void drawPoint ( int x, int y ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINT_2 ) -{ - hbqt_par_QPainter( 1 )->drawPoint( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawPoints ( const QPointF * points, int pointCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINTS ) -{ - hbqt_par_QPainter( 1 )->drawPoints( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawPoints ( const QPoint * points, int pointCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINTS_1 ) -{ - hbqt_par_QPainter( 1 )->drawPoints( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawPoints ( const QPolygonF & points ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINTS_2 ) -{ - hbqt_par_QPainter( 1 )->drawPoints( *hbqt_par_QPolygonF( 2 ) ); -} - -/* - * void drawPoints ( const QPolygon & points ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOINTS_3 ) -{ - hbqt_par_QPainter( 1 )->drawPoints( *hbqt_par_QPolygon( 2 ) ); -} - -/* - * void drawPolygon ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYGON ) -{ - hbqt_par_QPainter( 1 )->drawPolygon( hbqt_par_QPointF( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::FillRule ) hb_parni( 4 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); -} - -/* - * void drawPolygon ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYGON_1 ) -{ - hbqt_par_QPainter( 1 )->drawPolygon( hbqt_par_QPoint( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::FillRule ) hb_parni( 4 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); -} - -/* - * void drawPolygon ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYGON_2 ) -{ - hbqt_par_QPainter( 1 )->drawPolygon( *hbqt_par_QPolygonF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::FillRule ) hb_parni( 3 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); -} - -/* - * void drawPolygon ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYGON_3 ) -{ - hbqt_par_QPainter( 1 )->drawPolygon( *hbqt_par_QPolygon( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::FillRule ) hb_parni( 3 ) : ( Qt::FillRule ) Qt::OddEvenFill ) ); -} - -/* - * void drawPolyline ( const QPointF * points, int pointCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYLINE ) -{ - hbqt_par_QPainter( 1 )->drawPolyline( hbqt_par_QPointF( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawPolyline ( const QPoint * points, int pointCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYLINE_1 ) -{ - hbqt_par_QPainter( 1 )->drawPolyline( hbqt_par_QPoint( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawPolyline ( const QPolygonF & points ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYLINE_2 ) -{ - hbqt_par_QPainter( 1 )->drawPolyline( *hbqt_par_QPolygonF( 2 ) ); -} - -/* - * void drawPolyline ( const QPolygon & points ) - */ -HB_FUNC( QT_QPAINTER_DRAWPOLYLINE_3 ) -{ - hbqt_par_QPainter( 1 )->drawPolyline( *hbqt_par_QPolygon( 2 ) ); -} - -/* - * void drawRect ( const QRectF & rectangle ) - */ -HB_FUNC( QT_QPAINTER_DRAWRECT ) -{ - hbqt_par_QPainter( 1 )->drawRect( *hbqt_par_QRectF( 2 ) ); -} - -/* - * void drawRect ( const QRect & rectangle ) - */ -HB_FUNC( QT_QPAINTER_DRAWRECT_1 ) -{ - hbqt_par_QPainter( 1 )->drawRect( *hbqt_par_QRect( 2 ) ); -} - -/* - * void drawRect ( int x, int y, int width, int height ) - */ -HB_FUNC( QT_QPAINTER_DRAWRECT_2 ) -{ - hbqt_par_QPainter( 1 )->drawRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void drawRects ( const QRectF * rectangles, int rectCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWRECTS ) -{ - hbqt_par_QPainter( 1 )->drawRects( hbqt_par_QRectF( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawRects ( const QRect * rectangles, int rectCount ) - */ -HB_FUNC( QT_QPAINTER_DRAWRECTS_1 ) -{ - hbqt_par_QPainter( 1 )->drawRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); -} - -/* - * void drawRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - */ -HB_FUNC( QT_QPAINTER_DRAWROUNDEDRECT ) -{ - hbqt_par_QPainter( 1 )->drawRoundedRect( *hbqt_par_QRectF( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::SizeMode ) hb_parni( 5 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); -} - -/* - * void drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - */ -HB_FUNC( QT_QPAINTER_DRAWROUNDEDRECT_1 ) -{ - hbqt_par_QPainter( 1 )->drawRoundedRect( *hbqt_par_QRect( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISNUM( 5 ) ? ( Qt::SizeMode ) hb_parni( 5 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); -} - -/* - * void drawRoundedRect ( int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) - */ -HB_FUNC( QT_QPAINTER_DRAWROUNDEDRECT_2 ) -{ - hbqt_par_QPainter( 1 )->drawRoundedRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parnd( 6 ), hb_parnd( 7 ), ( HB_ISNUM( 8 ) ? ( Qt::SizeMode ) hb_parni( 8 ) : ( Qt::SizeMode ) Qt::AbsoluteSize ) ); -} - -/* - * void drawText ( const QPointF & position, const QString & text ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT ) -{ - hbqt_par_QPainter( 1 )->drawText( *hbqt_par_QPointF( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void drawText ( const QPoint & position, const QString & text ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT_1 ) -{ - hbqt_par_QPainter( 1 )->drawText( *hbqt_par_QPoint( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT_2 ) -{ - hbqt_par_QPainter( 1 )->drawText( *hbqt_par_QRectF( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), hbqt_par_QRectF( 5 ) ); -} - -/* - * void drawText ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT_3 ) -{ - hbqt_par_QPainter( 1 )->drawText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ), hbqt_par_QRect( 5 ) ); -} - -/* - * void drawText ( int x, int y, const QString & text ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT_4 ) -{ - hbqt_par_QPainter( 1 )->drawText( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QString( 4 ) ); -} - -/* - * void drawText ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT_5 ) -{ - hbqt_par_QPainter( 1 )->drawText( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), hbqt_par_QString( 7 ), hbqt_par_QRect( 8 ) ); -} - -/* - * void drawText ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) - */ -HB_FUNC( QT_QPAINTER_DRAWTEXT_6 ) -{ - hbqt_par_QPainter( 1 )->drawText( *hbqt_par_QRectF( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QTextOption( 4 ) : QTextOption() ) ); -} - -/* - * void drawTiledPixmap ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() ) - */ -HB_FUNC( QT_QPAINTER_DRAWTILEDPIXMAP ) -{ - hbqt_par_QPainter( 1 )->drawTiledPixmap( *hbqt_par_QRectF( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPointF( 4 ) : QPointF() ) ); -} - -/* - * void drawTiledPixmap ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() ) - */ -HB_FUNC( QT_QPAINTER_DRAWTILEDPIXMAP_1 ) -{ - hbqt_par_QPainter( 1 )->drawTiledPixmap( *hbqt_par_QRect( 2 ), *hbqt_par_QPixmap( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPoint( 4 ) : QPoint() ) ); -} - -/* - * void drawTiledPixmap ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) - */ -HB_FUNC( QT_QPAINTER_DRAWTILEDPIXMAP_2 ) -{ - hbqt_par_QPainter( 1 )->drawTiledPixmap( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QPixmap( 6 ), hb_parni( 7 ), hb_parni( 8 ) ); -} - -/* - * bool end () - */ -HB_FUNC( QT_QPAINTER_END ) -{ - hb_retl( hbqt_par_QPainter( 1 )->end() ); -} - -/* - * void eraseRect ( const QRectF & rectangle ) - */ -HB_FUNC( QT_QPAINTER_ERASERECT ) -{ - hbqt_par_QPainter( 1 )->eraseRect( *hbqt_par_QRectF( 2 ) ); -} - -/* - * void eraseRect ( const QRect & rectangle ) - */ -HB_FUNC( QT_QPAINTER_ERASERECT_1 ) -{ - hbqt_par_QPainter( 1 )->eraseRect( *hbqt_par_QRect( 2 ) ); -} - -/* - * void eraseRect ( int x, int y, int width, int height ) - */ -HB_FUNC( QT_QPAINTER_ERASERECT_2 ) -{ - hbqt_par_QPainter( 1 )->eraseRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void fillPath ( const QPainterPath & path, const QBrush & brush ) - */ -HB_FUNC( QT_QPAINTER_FILLPATH ) -{ - hbqt_par_QPainter( 1 )->fillPath( *hbqt_par_QPainterPath( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* - * void fillRect ( const QRectF & rectangle, const QBrush & brush ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* - * void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_1 ) -{ - hbqt_par_QPainter( 1 )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::BrushStyle ) hb_parni( 6 ) ); -} - -/* - * void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_2 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::BrushStyle ) hb_parni( 3 ) ); -} - -/* - * void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_3 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::BrushStyle ) hb_parni( 3 ) ); -} - -/* - * void fillRect ( const QRect & rectangle, const QBrush & brush ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_4 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* - * void fillRect ( const QRect & rectangle, const QColor & color ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_5 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRect( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* - * void fillRect ( const QRectF & rectangle, const QColor & color ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_6 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRectF( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* - * void fillRect ( int x, int y, int width, int height, const QBrush & brush ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_7 ) -{ - hbqt_par_QPainter( 1 )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QBrush( 6 ) ); -} - -/* - * void fillRect ( int x, int y, int width, int height, const QColor & color ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_8 ) -{ - hbqt_par_QPainter( 1 )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), *hbqt_par_QColor( 6 ) ); -} - -/* - * void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_9 ) -{ - hbqt_par_QPainter( 1 )->fillRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( Qt::GlobalColor ) hb_parni( 6 ) ); -} - -/* - * void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_10 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRect( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); -} - -/* - * void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) - */ -HB_FUNC( QT_QPAINTER_FILLRECT_11 ) -{ - hbqt_par_QPainter( 1 )->fillRect( *hbqt_par_QRectF( 2 ), ( Qt::GlobalColor ) hb_parni( 3 ) ); -} - -/* - * const QFont & font () const - */ -HB_FUNC( QT_QPAINTER_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QPainter( 1 )->font() ) ) ); -} - -/* - * QFontInfo fontInfo () const - */ -HB_FUNC( QT_QPAINTER_FONTINFO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFontInfo( hbqt_par_QPainter( 1 )->fontInfo() ) ) ); -} - -/* - * QFontMetrics fontMetrics () const - */ -HB_FUNC( QT_QPAINTER_FONTMETRICS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFontMetrics( hbqt_par_QPainter( 1 )->fontMetrics() ) ) ); -} - -/* - * bool hasClipping () const - */ -HB_FUNC( QT_QPAINTER_HASCLIPPING ) -{ - hb_retl( hbqt_par_QPainter( 1 )->hasClipping() ); -} - -/* - * void initFrom ( const QWidget * widget ) - */ -HB_FUNC( QT_QPAINTER_INITFROM ) -{ - hbqt_par_QPainter( 1 )->initFrom( hbqt_par_QWidget( 2 ) ); -} - -/* - * bool isActive () const - */ -HB_FUNC( QT_QPAINTER_ISACTIVE ) -{ - hb_retl( hbqt_par_QPainter( 1 )->isActive() ); -} - -/* - * Qt::LayoutDirection layoutDirection () const - */ -HB_FUNC( QT_QPAINTER_LAYOUTDIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QPainter( 1 )->layoutDirection() ); -} - -/* - * qreal opacity () const - */ -HB_FUNC( QT_QPAINTER_OPACITY ) -{ - hb_retnd( hbqt_par_QPainter( 1 )->opacity() ); -} - -/* - * QPaintEngine * paintEngine () const - */ -HB_FUNC( QT_QPAINTER_PAINTENGINE ) -{ - hb_retptr( ( QPaintEngine* ) hbqt_par_QPainter( 1 )->paintEngine() ); -} - -/* - * const QPen & pen () const - */ -HB_FUNC( QT_QPAINTER_PEN ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPen( hbqt_par_QPainter( 1 )->pen() ) ) ); -} - -/* - * RenderHints renderHints () const - */ -HB_FUNC( QT_QPAINTER_RENDERHINTS ) -{ - hb_retni( ( QPainter::RenderHints ) hbqt_par_QPainter( 1 )->renderHints() ); -} - -/* - * void resetMatrix () - */ -HB_FUNC( QT_QPAINTER_RESETMATRIX ) -{ - hbqt_par_QPainter( 1 )->resetMatrix(); -} - -/* - * void resetTransform () - */ -HB_FUNC( QT_QPAINTER_RESETTRANSFORM ) -{ - hbqt_par_QPainter( 1 )->resetTransform(); -} - -/* - * void restore () - */ -HB_FUNC( QT_QPAINTER_RESTORE ) -{ - hbqt_par_QPainter( 1 )->restore(); -} - -/* - * void rotate ( qreal angle ) - */ -HB_FUNC( QT_QPAINTER_ROTATE ) -{ - hbqt_par_QPainter( 1 )->rotate( hb_parnd( 2 ) ); -} - -/* - * void save () - */ -HB_FUNC( QT_QPAINTER_SAVE ) -{ - hbqt_par_QPainter( 1 )->save(); -} - -/* - * void scale ( qreal sx, qreal sy ) - */ -HB_FUNC( QT_QPAINTER_SCALE ) -{ - hbqt_par_QPainter( 1 )->scale( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setBackground ( const QBrush & brush ) - */ -HB_FUNC( QT_QPAINTER_SETBACKGROUND ) -{ - hbqt_par_QPainter( 1 )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setBackgroundMode ( Qt::BGMode mode ) - */ -HB_FUNC( QT_QPAINTER_SETBACKGROUNDMODE ) -{ - hbqt_par_QPainter( 1 )->setBackgroundMode( ( Qt::BGMode ) hb_parni( 2 ) ); -} - -/* - * void setBrush ( const QBrush & brush ) - */ -HB_FUNC( QT_QPAINTER_SETBRUSH ) -{ - hbqt_par_QPainter( 1 )->setBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setBrush ( Qt::BrushStyle style ) - */ -HB_FUNC( QT_QPAINTER_SETBRUSH_1 ) -{ - hbqt_par_QPainter( 1 )->setBrush( ( Qt::BrushStyle ) hb_parni( 2 ) ); -} - -/* - * void setBrushOrigin ( const QPointF & position ) - */ -HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN ) -{ - hbqt_par_QPainter( 1 )->setBrushOrigin( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setBrushOrigin ( const QPoint & position ) - */ -HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN_1 ) -{ - hbqt_par_QPainter( 1 )->setBrushOrigin( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setBrushOrigin ( int x, int y ) - */ -HB_FUNC( QT_QPAINTER_SETBRUSHORIGIN_2 ) -{ - hbqt_par_QPainter( 1 )->setBrushOrigin( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setClipPath ( const QPainterPath & path, Qt::ClipOperation operation = Qt::ReplaceClip ) - */ -HB_FUNC( QT_QPAINTER_SETCLIPPATH ) -{ - hbqt_par_QPainter( 1 )->setClipPath( *hbqt_par_QPainterPath( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* - * void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) - */ -HB_FUNC( QT_QPAINTER_SETCLIPRECT ) -{ - hbqt_par_QPainter( 1 )->setClipRect( *hbqt_par_QRectF( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* - * void setClipRect ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) - */ -HB_FUNC( QT_QPAINTER_SETCLIPRECT_1 ) -{ - hbqt_par_QPainter( 1 )->setClipRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), ( HB_ISNUM( 6 ) ? ( Qt::ClipOperation ) hb_parni( 6 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* - * void setClipRect ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) - */ -HB_FUNC( QT_QPAINTER_SETCLIPRECT_2 ) -{ - hbqt_par_QPainter( 1 )->setClipRect( *hbqt_par_QRect( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* - * void setClipRegion ( const QRegion & region, Qt::ClipOperation operation = Qt::ReplaceClip ) - */ -HB_FUNC( QT_QPAINTER_SETCLIPREGION ) -{ - hbqt_par_QPainter( 1 )->setClipRegion( *hbqt_par_QRegion( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ClipOperation ) hb_parni( 3 ) : ( Qt::ClipOperation ) Qt::ReplaceClip ) ); -} - -/* - * void setClipping ( bool enable ) - */ -HB_FUNC( QT_QPAINTER_SETCLIPPING ) -{ - hbqt_par_QPainter( 1 )->setClipping( hb_parl( 2 ) ); -} - -/* - * void setCompositionMode ( CompositionMode mode ) - */ -HB_FUNC( QT_QPAINTER_SETCOMPOSITIONMODE ) -{ - hbqt_par_QPainter( 1 )->setCompositionMode( ( QPainter::CompositionMode ) hb_parni( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QPAINTER_SETFONT ) -{ - hbqt_par_QPainter( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setLayoutDirection ( Qt::LayoutDirection direction ) - */ -HB_FUNC( QT_QPAINTER_SETLAYOUTDIRECTION ) -{ - hbqt_par_QPainter( 1 )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* - * void setOpacity ( qreal opacity ) - */ -HB_FUNC( QT_QPAINTER_SETOPACITY ) -{ - hbqt_par_QPainter( 1 )->setOpacity( hb_parnd( 2 ) ); -} - -/* - * void setPen ( const QPen & pen ) - */ -HB_FUNC( QT_QPAINTER_SETPEN ) -{ - hbqt_par_QPainter( 1 )->setPen( *hbqt_par_QPen( 2 ) ); -} - -/* - * void setPen ( const QColor & color ) - */ -HB_FUNC( QT_QPAINTER_SETPEN_1 ) -{ - hbqt_par_QPainter( 1 )->setPen( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setPen ( Qt::PenStyle style ) - */ -HB_FUNC( QT_QPAINTER_SETPEN_2 ) -{ - hbqt_par_QPainter( 1 )->setPen( ( Qt::PenStyle ) hb_parni( 2 ) ); -} - -/* - * void setRenderHint ( RenderHint hint, bool on = true ) - */ -HB_FUNC( QT_QPAINTER_SETRENDERHINT ) -{ - hbqt_par_QPainter( 1 )->setRenderHint( ( QPainter::RenderHint ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setRenderHints ( RenderHints hints, bool on = true ) - */ -HB_FUNC( QT_QPAINTER_SETRENDERHINTS ) -{ - hbqt_par_QPainter( 1 )->setRenderHints( ( QPainter::RenderHints ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setTransform ( const QTransform & transform, bool combine = false ) - */ -HB_FUNC( QT_QPAINTER_SETTRANSFORM ) -{ - hbqt_par_QPainter( 1 )->setTransform( *hbqt_par_QTransform( 2 ), hb_parl( 3 ) ); -} - -/* - * void setViewTransformEnabled ( bool enable ) - */ -HB_FUNC( QT_QPAINTER_SETVIEWTRANSFORMENABLED ) -{ - hbqt_par_QPainter( 1 )->setViewTransformEnabled( hb_parl( 2 ) ); -} - -/* - * void setViewport ( const QRect & rectangle ) - */ -HB_FUNC( QT_QPAINTER_SETVIEWPORT ) -{ - hbqt_par_QPainter( 1 )->setViewport( *hbqt_par_QRect( 2 ) ); -} - -/* - * void setViewport ( int x, int y, int width, int height ) - */ -HB_FUNC( QT_QPAINTER_SETVIEWPORT_1 ) -{ - hbqt_par_QPainter( 1 )->setViewport( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setWindow ( const QRect & rectangle ) - */ -HB_FUNC( QT_QPAINTER_SETWINDOW ) -{ - hbqt_par_QPainter( 1 )->setWindow( *hbqt_par_QRect( 2 ) ); -} - -/* - * void setWindow ( int x, int y, int width, int height ) - */ -HB_FUNC( QT_QPAINTER_SETWINDOW_1 ) -{ - hbqt_par_QPainter( 1 )->setWindow( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setWorldMatrix ( const QMatrix & matrix, bool combine = false ) - */ -HB_FUNC( QT_QPAINTER_SETWORLDMATRIX ) -{ - hbqt_par_QPainter( 1 )->setWorldMatrix( *hbqt_par_QMatrix( 2 ), hb_parl( 3 ) ); -} - -/* - * void setWorldMatrixEnabled ( bool enable ) - */ -HB_FUNC( QT_QPAINTER_SETWORLDMATRIXENABLED ) -{ - hbqt_par_QPainter( 1 )->setWorldMatrixEnabled( hb_parl( 2 ) ); -} - -/* - * void setWorldTransform ( const QTransform & matrix, bool combine = false ) - */ -HB_FUNC( QT_QPAINTER_SETWORLDTRANSFORM ) -{ - hbqt_par_QPainter( 1 )->setWorldTransform( *hbqt_par_QTransform( 2 ), hb_parl( 3 ) ); -} - -/* - * void shear ( qreal sh, qreal sv ) - */ -HB_FUNC( QT_QPAINTER_SHEAR ) -{ - hbqt_par_QPainter( 1 )->shear( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void strokePath ( const QPainterPath & path, const QPen & pen ) - */ -HB_FUNC( QT_QPAINTER_STROKEPATH ) -{ - hbqt_par_QPainter( 1 )->strokePath( *hbqt_par_QPainterPath( 2 ), *hbqt_par_QPen( 3 ) ); -} - -/* - * bool testRenderHint ( RenderHint hint ) const - */ -HB_FUNC( QT_QPAINTER_TESTRENDERHINT ) -{ - hb_retl( hbqt_par_QPainter( 1 )->testRenderHint( ( QPainter::RenderHint ) hb_parni( 2 ) ) ); -} - -/* - * const QTransform & transform () const - */ -HB_FUNC( QT_QPAINTER_TRANSFORM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTransform( hbqt_par_QPainter( 1 )->transform() ) ) ); -} - -/* - * void translate ( const QPointF & offset ) - */ -HB_FUNC( QT_QPAINTER_TRANSLATE ) -{ - hbqt_par_QPainter( 1 )->translate( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void translate ( const QPoint & offset ) - */ -HB_FUNC( QT_QPAINTER_TRANSLATE_1 ) -{ - hbqt_par_QPainter( 1 )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void translate ( qreal dx, qreal dy ) - */ -HB_FUNC( QT_QPAINTER_TRANSLATE_2 ) -{ - hbqt_par_QPainter( 1 )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * bool viewTransformEnabled () const - */ -HB_FUNC( QT_QPAINTER_VIEWTRANSFORMENABLED ) -{ - hb_retl( hbqt_par_QPainter( 1 )->viewTransformEnabled() ); -} - -/* - * QRect viewport () const - */ -HB_FUNC( QT_QPAINTER_VIEWPORT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPainter( 1 )->viewport() ) ) ); -} - -/* - * QRect window () const - */ -HB_FUNC( QT_QPAINTER_WINDOW ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPainter( 1 )->window() ) ) ); -} - -/* - * const QMatrix & worldMatrix () const - */ -HB_FUNC( QT_QPAINTER_WORLDMATRIX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QMatrix( hbqt_par_QPainter( 1 )->worldMatrix() ) ) ); -} - -/* - * bool worldMatrixEnabled () const - */ -HB_FUNC( QT_QPAINTER_WORLDMATRIXENABLED ) -{ - hb_retl( hbqt_par_QPainter( 1 )->worldMatrixEnabled() ); -} - -/* - * const QTransform & worldTransform () const - */ -HB_FUNC( QT_QPAINTER_WORLDTRANSFORM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTransform( hbqt_par_QPainter( 1 )->worldTransform() ) ) ); -} - -/* - * QPaintDevice * redirected ( const QPaintDevice * device, QPoint * offset = 0 ) - */ -HB_FUNC( QT_QPAINTER_REDIRECTED ) -{ - hb_retptr( ( QPaintDevice* ) hbqt_par_QPainter( 1 )->redirected( hbqt_par_QPaintDevice( 2 ), hbqt_par_QPoint( 3 ) ) ); -} - -/* - * void restoreRedirected ( const QPaintDevice * device ) - */ -HB_FUNC( QT_QPAINTER_RESTOREREDIRECTED ) -{ - hbqt_par_QPainter( 1 )->restoreRedirected( hbqt_par_QPaintDevice( 2 ) ); -} - -/* - * void setRedirected ( const QPaintDevice * device, QPaintDevice * replacement, const QPoint & offset = QPoint() ) - */ -HB_FUNC( QT_QPAINTER_SETREDIRECTED ) -{ - hbqt_par_QPainter( 1 )->setRedirected( hbqt_par_QPaintDevice( 2 ), hbqt_par_QPaintDevice( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QPoint( 4 ) : QPoint() ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPalette.cpp b/harbour/contrib/hbqt/QPalette.cpp deleted file mode 100644 index 6299266ff7..0000000000 --- a/harbour/contrib/hbqt/QPalette.cpp +++ /dev/null @@ -1,398 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ColorGroup { Disabled, Active, Inactive, Normal } - * enum ColorRole { Window, Background, WindowText, Foreground, ..., NoRole } - */ - -#include - -#include - - -/* - * QPalette () - * QPalette ( const QColor & button ) - * QPalette ( Qt::GlobalColor button ) - * QPalette ( const QColor & button, const QColor & window ) - * QPalette ( const QBrush & windowText, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & window ) - * QPalette ( const QPalette & p ) - * ~QPalette () - */ - -HB_FUNC( QT_QPALETTE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QPalette* ) new QPalette( ( Qt::GlobalColor ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QPalette* ) new QPalette( *hbqt_par_QPalette( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QPalette* ) new QPalette( *hbqt_par_QColor( 1 ), *hbqt_par_QColor( 2 ) ) ; - } - else - { - pObj = ( QPalette* ) new QPalette() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QPalette" ); - hb_retptrGC( p ); -} -/* - * const QBrush & alternateBase () const - */ -HB_FUNC( QT_QPALETTE_ALTERNATEBASE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->alternateBase() ) ) ); -} - -/* - * const QBrush & base () const - */ -HB_FUNC( QT_QPALETTE_BASE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->base() ) ) ); -} - -/* - * const QBrush & brightText () const - */ -HB_FUNC( QT_QPALETTE_BRIGHTTEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->brightText() ) ) ); -} - -/* - * const QBrush & brush ( ColorGroup group, ColorRole role ) const - */ -HB_FUNC( QT_QPALETTE_BRUSH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->brush( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ) ) ) ) ); -} - -/* - * const QBrush & brush ( ColorRole role ) const - */ -HB_FUNC( QT_QPALETTE_BRUSH_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->brush( ( QPalette::ColorRole ) hb_parni( 2 ) ) ) ) ); -} - -/* - * const QBrush & button () const - */ -HB_FUNC( QT_QPALETTE_BUTTON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->button() ) ) ); -} - -/* - * const QBrush & buttonText () const - */ -HB_FUNC( QT_QPALETTE_BUTTONTEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->buttonText() ) ) ); -} - -/* - * qint64 cacheKey () const - */ -HB_FUNC( QT_QPALETTE_CACHEKEY ) -{ - hb_retnint( hbqt_par_QPalette( 1 )->cacheKey() ); -} - -/* - * const QColor & color ( ColorGroup group, ColorRole role ) const - */ -HB_FUNC( QT_QPALETTE_COLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QPalette( 1 )->color( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ) ) ) ) ); -} - -/* - * const QColor & color ( ColorRole role ) const - */ -HB_FUNC( QT_QPALETTE_COLOR_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QPalette( 1 )->color( ( QPalette::ColorRole ) hb_parni( 2 ) ) ) ) ); -} - -/* - * ColorGroup currentColorGroup () const - */ -HB_FUNC( QT_QPALETTE_CURRENTCOLORGROUP ) -{ - hb_retni( ( QPalette::ColorGroup ) hbqt_par_QPalette( 1 )->currentColorGroup() ); -} - -/* - * const QBrush & dark () const - */ -HB_FUNC( QT_QPALETTE_DARK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->dark() ) ) ); -} - -/* - * const QBrush & highlight () const - */ -HB_FUNC( QT_QPALETTE_HIGHLIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->highlight() ) ) ); -} - -/* - * const QBrush & highlightedText () const - */ -HB_FUNC( QT_QPALETTE_HIGHLIGHTEDTEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->highlightedText() ) ) ); -} - -/* - * bool isBrushSet ( ColorGroup cg, ColorRole cr ) const - */ -HB_FUNC( QT_QPALETTE_ISBRUSHSET ) -{ - hb_retl( hbqt_par_QPalette( 1 )->isBrushSet( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ) ) ); -} - -/* - * bool isCopyOf ( const QPalette & p ) const - */ -HB_FUNC( QT_QPALETTE_ISCOPYOF ) -{ - hb_retl( hbqt_par_QPalette( 1 )->isCopyOf( *hbqt_par_QPalette( 2 ) ) ); -} - -/* - * bool isEqual ( ColorGroup cg1, ColorGroup cg2 ) const - */ -HB_FUNC( QT_QPALETTE_ISEQUAL ) -{ - hb_retl( hbqt_par_QPalette( 1 )->isEqual( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorGroup ) hb_parni( 3 ) ) ); -} - -/* - * const QBrush & light () const - */ -HB_FUNC( QT_QPALETTE_LIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->light() ) ) ); -} - -/* - * const QBrush & link () const - */ -HB_FUNC( QT_QPALETTE_LINK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->link() ) ) ); -} - -/* - * const QBrush & linkVisited () const - */ -HB_FUNC( QT_QPALETTE_LINKVISITED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->linkVisited() ) ) ); -} - -/* - * const QBrush & mid () const - */ -HB_FUNC( QT_QPALETTE_MID ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->mid() ) ) ); -} - -/* - * const QBrush & midlight () const - */ -HB_FUNC( QT_QPALETTE_MIDLIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->midlight() ) ) ); -} - -/* - * QPalette resolve ( const QPalette & other ) const - */ -HB_FUNC( QT_QPALETTE_RESOLVE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QPalette( 1 )->resolve( *hbqt_par_QPalette( 2 ) ) ) ) ); -} - -/* - * void setBrush ( ColorRole role, const QBrush & brush ) - */ -HB_FUNC( QT_QPALETTE_SETBRUSH ) -{ - hbqt_par_QPalette( 1 )->setBrush( ( QPalette::ColorRole ) hb_parni( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* - * void setBrush ( ColorGroup group, ColorRole role, const QBrush & brush ) - */ -HB_FUNC( QT_QPALETTE_SETBRUSH_1 ) -{ - hbqt_par_QPalette( 1 )->setBrush( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ), *hbqt_par_QBrush( 4 ) ); -} - -/* - * void setColor ( ColorRole role, const QColor & color ) - */ -HB_FUNC( QT_QPALETTE_SETCOLOR ) -{ - hbqt_par_QPalette( 1 )->setColor( ( QPalette::ColorRole ) hb_parni( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* - * void setColor ( ColorGroup group, ColorRole role, const QColor & color ) - */ -HB_FUNC( QT_QPALETTE_SETCOLOR_1 ) -{ - hbqt_par_QPalette( 1 )->setColor( ( QPalette::ColorGroup ) hb_parni( 2 ), ( QPalette::ColorRole ) hb_parni( 3 ), *hbqt_par_QColor( 4 ) ); -} - -/* - * void setColorGroup ( ColorGroup cg, const QBrush & windowText, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & window ) - */ -HB_FUNC( QT_QPALETTE_SETCOLORGROUP ) -{ - hbqt_par_QPalette( 1 )->setColorGroup( ( QPalette::ColorGroup ) hb_parni( 2 ), *hbqt_par_QBrush( 3 ), *hbqt_par_QBrush( 4 ), *hbqt_par_QBrush( 5 ), *hbqt_par_QBrush( 6 ), *hbqt_par_QBrush( 7 ), *hbqt_par_QBrush( 8 ), *hbqt_par_QBrush( 9 ), *hbqt_par_QBrush( 10 ), *hbqt_par_QBrush( 11 ) ); -} - -/* - * void setCurrentColorGroup ( ColorGroup cg ) - */ -HB_FUNC( QT_QPALETTE_SETCURRENTCOLORGROUP ) -{ - hbqt_par_QPalette( 1 )->setCurrentColorGroup( ( QPalette::ColorGroup ) hb_parni( 2 ) ); -} - -/* - * const QBrush & shadow () const - */ -HB_FUNC( QT_QPALETTE_SHADOW ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->shadow() ) ) ); -} - -/* - * const QBrush & text () const - */ -HB_FUNC( QT_QPALETTE_TEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->text() ) ) ); -} - -/* - * const QBrush & toolTipBase () const - */ -HB_FUNC( QT_QPALETTE_TOOLTIPBASE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->toolTipBase() ) ) ); -} - -/* - * const QBrush & toolTipText () const - */ -HB_FUNC( QT_QPALETTE_TOOLTIPTEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->toolTipText() ) ) ); -} - -/* - * const QBrush & window () const - */ -HB_FUNC( QT_QPALETTE_WINDOW ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->window() ) ) ); -} - -/* - * const QBrush & windowText () const - */ -HB_FUNC( QT_QPALETTE_WINDOWTEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPalette( 1 )->windowText() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPen.cpp b/harbour/contrib/hbqt/QPen.cpp deleted file mode 100644 index 4dceca8c66..0000000000 --- a/harbour/contrib/hbqt/QPen.cpp +++ /dev/null @@ -1,307 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 21/23 [ 91.30% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QVector dashPattern () const - * void setDashPattern ( const QVector & pattern ) - */ - -#include - -#include - - -/* - * QPen () - * QPen ( Qt::PenStyle style ) - * QPen ( const QColor & color ) - * QPen ( const QBrush & brush, qreal width, Qt::PenStyle style = Qt::SolidLine, Qt::PenCapStyle cap = Qt::SquareCap, Qt::PenJoinStyle join = Qt::BevelJoin ) - * QPen ( const QPen & pen ) - * ~QPen () - */ - -HB_FUNC( QT_QPEN ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QPen* ) new QPen( ( Qt::PenStyle ) hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QPen* ) new QPen( *hbqt_par_QPen( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = ( QString ) hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QColor" ) - { - pObj = ( QPen* ) new QPen( *hbqt_par_QColor( 2 ) ) ; - } - else - { - pObj = ( QPen* ) new QPen() ; - } - } - else if( hb_pcount() >= 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - Qt::PenStyle iStyle = HB_ISNUM( 3 ) ? ( Qt::PenStyle ) hb_parni( 3 ) : Qt::SolidLine; - Qt::PenCapStyle iCap = HB_ISNUM( 4 ) ? ( Qt::PenCapStyle ) hb_parni( 4 ) : Qt::SquareCap; - Qt::PenJoinStyle iJoin = HB_ISNUM( 5 ) ? ( Qt::PenJoinStyle ) hb_parni( 5 ) : Qt::BevelJoin; - - pObj = ( QPen* ) new QPen( *hbqt_par_QBrush( 1 ), hb_parnd( 2 ), iStyle, iCap, iJoin ) ; - } - else - { - pObj = ( QPen* ) new QPen() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QPen" ); - hb_retptrGC( p ); -} -/* - * QBrush brush () const - */ -HB_FUNC( QT_QPEN_BRUSH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QPen( 1 )->brush() ) ) ); -} - -/* - * Qt::PenCapStyle capStyle () const - */ -HB_FUNC( QT_QPEN_CAPSTYLE ) -{ - hb_retni( ( Qt::PenCapStyle ) hbqt_par_QPen( 1 )->capStyle() ); -} - -/* - * QColor color () const - */ -HB_FUNC( QT_QPEN_COLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QPen( 1 )->color() ) ) ); -} - -/* - * qreal dashOffset () const - */ -HB_FUNC( QT_QPEN_DASHOFFSET ) -{ - hb_retnd( hbqt_par_QPen( 1 )->dashOffset() ); -} - -/* - * bool isCosmetic () const - */ -HB_FUNC( QT_QPEN_ISCOSMETIC ) -{ - hb_retl( hbqt_par_QPen( 1 )->isCosmetic() ); -} - -/* - * bool isSolid () const - */ -HB_FUNC( QT_QPEN_ISSOLID ) -{ - hb_retl( hbqt_par_QPen( 1 )->isSolid() ); -} - -/* - * Qt::PenJoinStyle joinStyle () const - */ -HB_FUNC( QT_QPEN_JOINSTYLE ) -{ - hb_retni( ( Qt::PenJoinStyle ) hbqt_par_QPen( 1 )->joinStyle() ); -} - -/* - * qreal miterLimit () const - */ -HB_FUNC( QT_QPEN_MITERLIMIT ) -{ - hb_retnd( hbqt_par_QPen( 1 )->miterLimit() ); -} - -/* - * void setBrush ( const QBrush & brush ) - */ -HB_FUNC( QT_QPEN_SETBRUSH ) -{ - hbqt_par_QPen( 1 )->setBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setCapStyle ( Qt::PenCapStyle style ) - */ -HB_FUNC( QT_QPEN_SETCAPSTYLE ) -{ - hbqt_par_QPen( 1 )->setCapStyle( ( Qt::PenCapStyle ) hb_parni( 2 ) ); -} - -/* - * void setColor ( const QColor & color ) - */ -HB_FUNC( QT_QPEN_SETCOLOR ) -{ - hbqt_par_QPen( 1 )->setColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setCosmetic ( bool cosmetic ) - */ -HB_FUNC( QT_QPEN_SETCOSMETIC ) -{ - hbqt_par_QPen( 1 )->setCosmetic( hb_parl( 2 ) ); -} - -/* - * void setDashOffset ( qreal offset ) - */ -HB_FUNC( QT_QPEN_SETDASHOFFSET ) -{ - hbqt_par_QPen( 1 )->setDashOffset( hb_parnd( 2 ) ); -} - -/* - * void setJoinStyle ( Qt::PenJoinStyle style ) - */ -HB_FUNC( QT_QPEN_SETJOINSTYLE ) -{ - hbqt_par_QPen( 1 )->setJoinStyle( ( Qt::PenJoinStyle ) hb_parni( 2 ) ); -} - -/* - * void setMiterLimit ( qreal limit ) - */ -HB_FUNC( QT_QPEN_SETMITERLIMIT ) -{ - hbqt_par_QPen( 1 )->setMiterLimit( hb_parnd( 2 ) ); -} - -/* - * void setStyle ( Qt::PenStyle style ) - */ -HB_FUNC( QT_QPEN_SETSTYLE ) -{ - hbqt_par_QPen( 1 )->setStyle( ( Qt::PenStyle ) hb_parni( 2 ) ); -} - -/* - * void setWidth ( int width ) - */ -HB_FUNC( QT_QPEN_SETWIDTH ) -{ - hbqt_par_QPen( 1 )->setWidth( hb_parni( 2 ) ); -} - -/* - * void setWidthF ( qreal width ) - */ -HB_FUNC( QT_QPEN_SETWIDTHF ) -{ - hbqt_par_QPen( 1 )->setWidthF( hb_parnd( 2 ) ); -} - -/* - * Qt::PenStyle style () const - */ -HB_FUNC( QT_QPEN_STYLE ) -{ - hb_retni( ( Qt::PenStyle ) hbqt_par_QPen( 1 )->style() ); -} - -/* - * int width () const - */ -HB_FUNC( QT_QPEN_WIDTH ) -{ - hb_retni( hbqt_par_QPen( 1 )->width() ); -} - -/* - * qreal widthF () const - */ -HB_FUNC( QT_QPEN_WIDTHF ) -{ - hb_retnd( hbqt_par_QPen( 1 )->widthF() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPicture.cpp b/harbour/contrib/hbqt/QPicture.cpp deleted file mode 100644 index e19c90a685..0000000000 --- a/harbour/contrib/hbqt/QPicture.cpp +++ /dev/null @@ -1,190 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QPicture ( int formatVersion = -1 ) - * QPicture ( const QPicture & pic ) - * ~QPicture () - */ - -HB_FUNC( QT_QPICTURE ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QPicture( hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPicture( *hbqt_par_QPicture( 1 ) ) ; - } - else - { - pObj = new QPicture() ; - } - - hb_retptr( pObj ); -} -/* - * QRect boundingRect () const - */ -HB_FUNC( QT_QPICTURE_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPicture( 1 )->boundingRect() ) ) ); -} - -/* - * const char * data () const - */ -HB_FUNC( QT_QPICTURE_DATA ) -{ - hb_retc( hbqt_par_QPicture( 1 )->data() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QPICTURE_ISNULL ) -{ - hb_retl( hbqt_par_QPicture( 1 )->isNull() ); -} - -/* - * bool load ( const QString & fileName, const char * format = 0 ) - */ -HB_FUNC( QT_QPICTURE_LOAD ) -{ - hb_retl( hbqt_par_QPicture( 1 )->load( hbqt_par_QString( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * bool load ( QIODevice * dev, const char * format = 0 ) - */ -HB_FUNC( QT_QPICTURE_LOAD_1 ) -{ - hb_retl( hbqt_par_QPicture( 1 )->load( hbqt_par_QIODevice( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * bool play ( QPainter * painter ) - */ -HB_FUNC( QT_QPICTURE_PLAY ) -{ - hb_retl( hbqt_par_QPicture( 1 )->play( hbqt_par_QPainter( 2 ) ) ); -} - -/* - * bool save ( const QString & fileName, const char * format = 0 ) - */ -HB_FUNC( QT_QPICTURE_SAVE ) -{ - hb_retl( hbqt_par_QPicture( 1 )->save( hbqt_par_QString( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * bool save ( QIODevice * dev, const char * format = 0 ) - */ -HB_FUNC( QT_QPICTURE_SAVE_1 ) -{ - hb_retl( hbqt_par_QPicture( 1 )->save( hbqt_par_QIODevice( 2 ), hbqt_par_char( 3 ) ) ); -} - -/* - * void setBoundingRect ( const QRect & r ) - */ -HB_FUNC( QT_QPICTURE_SETBOUNDINGRECT ) -{ - hbqt_par_QPicture( 1 )->setBoundingRect( *hbqt_par_QRect( 2 ) ); -} - -/* - * virtual void setData ( const char * data, uint size ) - */ -HB_FUNC( QT_QPICTURE_SETDATA ) -{ - hbqt_par_QPicture( 1 )->setData( hbqt_par_char( 2 ), hb_parni( 3 ) ); -} - -/* - * uint size () const - */ -HB_FUNC( QT_QPICTURE_SIZE ) -{ - hb_retni( hbqt_par_QPicture( 1 )->size() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPixmap.cpp b/harbour/contrib/hbqt/QPixmap.cpp deleted file mode 100644 index 2eb460c304..0000000000 --- a/harbour/contrib/hbqt/QPixmap.cpp +++ /dev/null @@ -1,438 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum HBitmapFormat { NoAlpha, PremultipliedAlpha, Alpha } - * enum ShareMode { ImplicitlyShared, ExplicitlyShared } - */ - -#include - -#include -#include - -/* - * QPixmap () - * QPixmap ( int width, int height ) - * QPixmap ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - * QPixmap ( const char * const[] xpm ) - * QPixmap ( const QPixmap & pixmap ) - * QPixmap ( const QSize & size ) - * ~QPixmap () - */ - -HB_FUNC( QT_QPIXMAP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - pObj = new QPixmap( hbqt_par_QString( 1 ), ( const char * ) 0, Qt::AutoColor ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QPixmap( *hbqt_par_QPixmap( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QPixmap( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else - { - pObj = new QPixmap() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QPixmap" ); - hb_retptrGC( p ); -} -/* - * QPixmap alphaChannel () const - */ -HB_FUNC( QT_QPIXMAP_ALPHACHANNEL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->alphaChannel() ) ) ); -} - -/* - * qint64 cacheKey () const - */ -HB_FUNC( QT_QPIXMAP_CACHEKEY ) -{ - hb_retnint( hbqt_par_QPixmap( 1 )->cacheKey() ); -} - -/* - * QPixmap copy ( const QRect & rectangle = QRect() ) const - */ -HB_FUNC( QT_QPIXMAP_COPY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->copy( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QRect( 2 ) : QRect() ) ) ) ) ); -} - -/* - * QPixmap copy ( int x, int y, int width, int height ) const - */ -HB_FUNC( QT_QPIXMAP_COPY_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->copy( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ) ) ); -} - -/* - * QBitmap createHeuristicMask ( bool clipTight = true ) const - */ -HB_FUNC( QT_QPIXMAP_CREATEHEURISTICMASK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QPixmap( 1 )->createHeuristicMask( hb_parl( 2 ) ) ) ) ); -} - -/* - * QBitmap createMaskFromColor ( const QColor & maskColor, Qt::MaskMode mode ) const - */ -HB_FUNC( QT_QPIXMAP_CREATEMASKFROMCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QPixmap( 1 )->createMaskFromColor( *hbqt_par_QColor( 2 ), ( Qt::MaskMode ) hb_parni( 3 ) ) ) ) ); -} - -/* - * QBitmap createMaskFromColor ( const QColor & maskColor ) const - */ -HB_FUNC( QT_QPIXMAP_CREATEMASKFROMCOLOR_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QPixmap( 1 )->createMaskFromColor( *hbqt_par_QColor( 2 ) ) ) ) ); -} - -/* - * int depth () const - */ -HB_FUNC( QT_QPIXMAP_DEPTH ) -{ - hb_retni( hbqt_par_QPixmap( 1 )->depth() ); -} - -/* - * void detach () - */ -HB_FUNC( QT_QPIXMAP_DETACH ) -{ - hbqt_par_QPixmap( 1 )->detach(); -} - -/* - * void fill ( const QColor & color = Qt::white ) - */ -HB_FUNC( QT_QPIXMAP_FILL ) -{ - hbqt_par_QPixmap( 1 )->fill( *hbqt_par_QColor( 2 ) ); -} - -/* - * void fill ( const QWidget * widget, const QPoint & offset ) - */ -HB_FUNC( QT_QPIXMAP_FILL_1 ) -{ - hbqt_par_QPixmap( 1 )->fill( hbqt_par_QWidget( 2 ), *hbqt_par_QPoint( 3 ) ); -} - -/* - * void fill ( const QWidget * widget, int x, int y ) - */ -HB_FUNC( QT_QPIXMAP_FILL_2 ) -{ - hbqt_par_QPixmap( 1 )->fill( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * bool hasAlpha () const - */ -HB_FUNC( QT_QPIXMAP_HASALPHA ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->hasAlpha() ); -} - -/* - * bool hasAlphaChannel () const - */ -HB_FUNC( QT_QPIXMAP_HASALPHACHANNEL ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->hasAlphaChannel() ); -} - -/* - * int height () const - */ -HB_FUNC( QT_QPIXMAP_HEIGHT ) -{ - hb_retni( hbqt_par_QPixmap( 1 )->height() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QPIXMAP_ISNULL ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->isNull() ); -} - -/* - * bool isQBitmap () const - */ -HB_FUNC( QT_QPIXMAP_ISQBITMAP ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->isQBitmap() ); -} - -/* - * bool load ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPIXMAP_LOAD ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->load( hbqt_par_QString( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::ImageConversionFlags ) hb_parni( 4 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ); -} - -/* - * bool loadFromData ( const QByteArray & data, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPIXMAP_LOADFROMDATA ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->loadFromData( *hbqt_par_QByteArray( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::ImageConversionFlags ) hb_parni( 4 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ); -} - -/* - * QBitmap mask () const - */ -HB_FUNC( QT_QPIXMAP_MASK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitmap( hbqt_par_QPixmap( 1 )->mask() ) ) ); -} - -/* - * QRect rect () const - */ -HB_FUNC( QT_QPIXMAP_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPixmap( 1 )->rect() ) ) ); -} - -/* - * bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const - */ -HB_FUNC( QT_QPIXMAP_SAVE ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->save( hbqt_par_QString( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ) ); -} - -/* - * bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - */ -HB_FUNC( QT_QPIXMAP_SAVE_1 ) -{ - hb_retl( hbqt_par_QPixmap( 1 )->save( hbqt_par_QIODevice( 2 ), hbqt_par_char( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ) ); -} - -/* - * QPixmap scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QPIXMAP_SCALED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->scaled( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( Qt::AspectRatioMode ) hb_parni( 4 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 5 ) ? ( Qt::TransformationMode ) hb_parni( 5 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QPixmap scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QPIXMAP_SCALED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->scaled( *hbqt_par_QSize( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::AspectRatioMode ) hb_parni( 3 ) : ( Qt::AspectRatioMode ) Qt::IgnoreAspectRatio ), ( HB_ISNUM( 4 ) ? ( Qt::TransformationMode ) hb_parni( 4 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QPixmap scaledToHeight ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QPIXMAP_SCALEDTOHEIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->scaledToHeight( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QPixmap scaledToWidth ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QPIXMAP_SCALEDTOWIDTH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->scaledToWidth( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * void setAlphaChannel ( const QPixmap & alphaChannel ) - */ -HB_FUNC( QT_QPIXMAP_SETALPHACHANNEL ) -{ - hbqt_par_QPixmap( 1 )->setAlphaChannel( *hbqt_par_QPixmap( 2 ) ); -} - -/* - * void setMask ( const QBitmap & mask ) - */ -HB_FUNC( QT_QPIXMAP_SETMASK ) -{ - hbqt_par_QPixmap( 1 )->setMask( *hbqt_par_QBitmap( 2 ) ); -} - -/* - * QSize size () const - */ -HB_FUNC( QT_QPIXMAP_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QPixmap( 1 )->size() ) ) ); -} - -/* - * QImage toImage () const - */ -HB_FUNC( QT_QPIXMAP_TOIMAGE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QImage( hbqt_par_QPixmap( 1 )->toImage() ) ) ); -} - -/* - * QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QPIXMAP_TRANSFORMED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->transformed( *hbqt_par_QTransform( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * QPixmap transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const - */ -HB_FUNC( QT_QPIXMAP_TRANSFORMED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->transformed( *hbqt_par_QMatrix( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::TransformationMode ) hb_parni( 3 ) : ( Qt::TransformationMode ) Qt::FastTransformation ) ) ) ) ); -} - -/* - * int width () const - */ -HB_FUNC( QT_QPIXMAP_WIDTH ) -{ - hb_retni( hbqt_par_QPixmap( 1 )->width() ); -} - -/* - * int defaultDepth () - */ -HB_FUNC( QT_QPIXMAP_DEFAULTDEPTH ) -{ - hb_retni( hbqt_par_QPixmap( 1 )->defaultDepth() ); -} - -/* - * QPixmap fromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - */ -HB_FUNC( QT_QPIXMAP_FROMIMAGE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->fromImage( *hbqt_par_QImage( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ImageConversionFlags ) hb_parni( 3 ) : ( Qt::ImageConversionFlags ) Qt::AutoColor ) ) ) ) ); -} - -/* - * QPixmap grabWidget ( QWidget * widget, const QRect & rectangle ) - */ -HB_FUNC( QT_QPIXMAP_GRABWIDGET ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->grabWidget( hbqt_par_QWidget( 2 ), *hbqt_par_QRect( 3 ) ) ) ) ); -} - -/* - * QPixmap grabWidget ( QWidget * widget, int x = 0, int y = 0, int width = -1, int height = -1 ) - */ -HB_FUNC( QT_QPIXMAP_GRABWIDGET_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QPixmap( 1 )->grabWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : -1 ), ( HB_ISNUM( 6 ) ? hb_parni( 6 ) : -1 ) ) ) ) ); -} - -/* - * QTransform trueMatrix ( const QTransform & matrix, int width, int height ) - */ -HB_FUNC( QT_QPIXMAP_TRUEMATRIX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTransform( hbqt_par_QPixmap( 1 )->trueMatrix( *hbqt_par_QTransform( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ) ) ); -} - -/* - * QMatrix trueMatrix ( const QMatrix & m, int w, int h ) - */ -HB_FUNC( QT_QPIXMAP_TRUEMATRIX_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QMatrix( hbqt_par_QPixmap( 1 )->trueMatrix( *hbqt_par_QMatrix( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPoint.cpp b/harbour/contrib/hbqt/QPoint.cpp deleted file mode 100644 index 2e821eaff6..0000000000 --- a/harbour/contrib/hbqt/QPoint.cpp +++ /dev/null @@ -1,166 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QPoint () - * QPoint ( int x, int y ) - * ~QPoint () - */ - -HB_FUNC( QT_QPOINT ) -{ - void * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QPoint* ) new QPoint( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QPoint* ) new QPoint( *hbqt_par_QPoint( 1 ) ) ; - } - else - { - pObj = ( QPoint* ) new QPoint() ; - } - - hb_retptr( pObj ); -} -/* - * bool isNull () const - */ -HB_FUNC( QT_QPOINT_ISNULL ) -{ - hb_retl( hbqt_par_QPoint( 1 )->isNull() ); -} - -/* - * int manhattanLength () const - */ -HB_FUNC( QT_QPOINT_MANHATTANLENGTH ) -{ - hb_retni( hbqt_par_QPoint( 1 )->manhattanLength() ); -} - -/* - * int & rx () - */ -HB_FUNC( QT_QPOINT_RX ) -{ - hb_retni( hbqt_par_QPoint( 1 )->rx() ); -} - -/* - * int & ry () - */ -HB_FUNC( QT_QPOINT_RY ) -{ - hb_retni( hbqt_par_QPoint( 1 )->ry() ); -} - -/* - * void setX ( int x ) - */ -HB_FUNC( QT_QPOINT_SETX ) -{ - hbqt_par_QPoint( 1 )->setX( hb_parni( 2 ) ); -} - -/* - * void setY ( int y ) - */ -HB_FUNC( QT_QPOINT_SETY ) -{ - hbqt_par_QPoint( 1 )->setY( hb_parni( 2 ) ); -} - -/* - * int x () const - */ -HB_FUNC( QT_QPOINT_X ) -{ - hb_retni( hbqt_par_QPoint( 1 )->x() ); -} - -/* - * int y () const - */ -HB_FUNC( QT_QPOINT_Y ) -{ - hb_retni( hbqt_par_QPoint( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPointF.cpp b/harbour/contrib/hbqt/QPointF.cpp deleted file mode 100644 index 6e15623690..0000000000 --- a/harbour/contrib/hbqt/QPointF.cpp +++ /dev/null @@ -1,169 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QPointF () - * QPointF ( const QPoint & point ) - * QPointF ( qreal x, qreal y ) - */ - -HB_FUNC( QT_QPOINTF ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QPointF* ) new QPointF( ( qreal ) hb_parnd( 1 ), ( qreal ) hb_parnd( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QPointF* ) new QPointF( *hbqt_par_QPoint( 1 ) ) ; - } - else - { - pObj = ( QPointF* ) new QPointF() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QPointF" ); - hb_retptrGC( p ); -} -/* - * bool isNull () const - */ -HB_FUNC( QT_QPOINTF_ISNULL ) -{ - hb_retl( hbqt_par_QPointF( 1 )->isNull() ); -} - -/* - * qreal & rx () - */ -HB_FUNC( QT_QPOINTF_RX ) -{ - hb_retnd( hbqt_par_QPointF( 1 )->rx() ); -} - -/* - * qreal & ry () - */ -HB_FUNC( QT_QPOINTF_RY ) -{ - hb_retnd( hbqt_par_QPointF( 1 )->ry() ); -} - -/* - * void setX ( qreal x ) - */ -HB_FUNC( QT_QPOINTF_SETX ) -{ - hbqt_par_QPointF( 1 )->setX( hb_parnd( 2 ) ); -} - -/* - * void setY ( qreal y ) - */ -HB_FUNC( QT_QPOINTF_SETY ) -{ - hbqt_par_QPointF( 1 )->setY( hb_parnd( 2 ) ); -} - -/* - * QPoint toPoint () const - */ -HB_FUNC( QT_QPOINTF_TOPOINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QPointF( 1 )->toPoint() ) ) ); -} - -/* - * qreal x () const - */ -HB_FUNC( QT_QPOINTF_X ) -{ - hb_retnd( hbqt_par_QPointF( 1 )->x() ); -} - -/* - * qreal y () const - */ -HB_FUNC( QT_QPOINTF_Y ) -{ - hb_retnd( hbqt_par_QPointF( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPrintDialog.cpp b/harbour/contrib/hbqt/QPrintDialog.cpp deleted file mode 100644 index 5f407f307d..0000000000 --- a/harbour/contrib/hbqt/QPrintDialog.cpp +++ /dev/null @@ -1,171 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum PrintDialogOption - * flags PrintDialogOptions - */ - -#include - -#include - - -/* - * QPrintDialog ( QPrinter * printer, QWidget * parent = 0 ) - * QPrintDialog ( QWidget * parent = 0 ) - * ~QPrintDialog () - */ - -HB_FUNC( QT_QPRINTDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QPrintDialog > pObj = NULL; - - pObj = ( QPrintDialog* ) new QPrintDialog ( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual void done ( int result ) - */ -HB_FUNC( QT_QPRINTDIALOG_DONE ) -{ - hbqt_par_QPrintDialog( 1 )->done( hb_parni( 2 ) ); -} - -/* - * void open ( QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QPRINTDIALOG_OPEN ) -{ - hbqt_par_QPrintDialog( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * PrintDialogOptions options () const - */ -HB_FUNC( QT_QPRINTDIALOG_OPTIONS ) -{ - hb_retni( ( QPrintDialog::PrintDialogOptions ) hbqt_par_QPrintDialog( 1 )->options() ); -} - -/* - * QPrinter * printer () const - */ -HB_FUNC( QT_QPRINTDIALOG_PRINTER ) -{ - hb_retptr( ( QPrinter* ) hbqt_par_QPrintDialog( 1 )->printer() ); -} - -/* - * QPrinter * printer () - */ -HB_FUNC( QT_QPRINTDIALOG_PRINTER_1 ) -{ - hb_retptr( ( QPrinter* ) hbqt_par_QPrintDialog( 1 )->printer() ); -} - -/* - * void setOption ( PrintDialogOption option, bool on = true ) - */ -HB_FUNC( QT_QPRINTDIALOG_SETOPTION ) -{ - hbqt_par_QPrintDialog( 1 )->setOption( ( QPrintDialog::PrintDialogOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( PrintDialogOptions options ) - */ -HB_FUNC( QT_QPRINTDIALOG_SETOPTIONS ) -{ - hbqt_par_QPrintDialog( 1 )->setOptions( ( QPrintDialog::PrintDialogOptions ) hb_parni( 2 ) ); -} - -/* - * virtual void setVisible ( bool visible ) - */ -HB_FUNC( QT_QPRINTDIALOG_SETVISIBLE ) -{ - hbqt_par_QPrintDialog( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * bool testOption ( PrintDialogOption option ) const - */ -HB_FUNC( QT_QPRINTDIALOG_TESTOPTION ) -{ - hb_retl( hbqt_par_QPrintDialog( 1 )->testOption( ( QPrintDialog::PrintDialogOption ) hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPrintEngine.cpp b/harbour/contrib/hbqt/QPrintEngine.cpp deleted file mode 100644 index f376f54dc6..0000000000 --- a/harbour/contrib/hbqt/QPrintEngine.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum PrintEnginePropertyKey { PPK_CollateCopies, PPK_ColorMode, PPK_Creator, PPK_Duplex, ..., PPK_CustomBase } - */ - -#include - -#include - - -/* - * virtual ~QPrintEngine () - */ - -HB_FUNC( QT_QPRINTENGINE ) -{ -} -/* - * virtual bool abort () - */ -HB_FUNC( QT_QPRINTENGINE_ABORT ) -{ - hb_retl( hbqt_par_QPrintEngine( 1 )->abort() ); -} - -/* - * virtual int metric ( QPaintDevice::PaintDeviceMetric id ) const - */ -HB_FUNC( QT_QPRINTENGINE_METRIC ) -{ - hb_retni( hbqt_par_QPrintEngine( 1 )->metric( ( QPaintDevice::PaintDeviceMetric ) hb_parni( 2 ) ) ); -} - -/* - * virtual bool newPage () - */ -HB_FUNC( QT_QPRINTENGINE_NEWPAGE ) -{ - hb_retl( hbqt_par_QPrintEngine( 1 )->newPage() ); -} - -/* - * virtual QPrinter::PrinterState printerState () const - */ -HB_FUNC( QT_QPRINTENGINE_PRINTERSTATE ) -{ - hb_retni( ( QPrinter::PrinterState ) hbqt_par_QPrintEngine( 1 )->printerState() ); -} - -/* - * virtual QVariant property ( PrintEnginePropertyKey key ) const - */ -HB_FUNC( QT_QPRINTENGINE_PROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QPrintEngine( 1 )->property( ( QPrintEngine::PrintEnginePropertyKey ) hb_parni( 2 ) ) ) ) ); -} - -/* - * virtual void setProperty ( PrintEnginePropertyKey key, const QVariant & value ) - */ -HB_FUNC( QT_QPRINTENGINE_SETPROPERTY ) -{ - hbqt_par_QPrintEngine( 1 )->setProperty( ( QPrintEngine::PrintEnginePropertyKey ) hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPrintPreviewDialog.cpp b/harbour/contrib/hbqt/QPrintPreviewDialog.cpp deleted file mode 100644 index 147ebc71d6..0000000000 --- a/harbour/contrib/hbqt/QPrintPreviewDialog.cpp +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QPrintPreviewDialog ( QPrinter * printer, QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * QPrintPreviewDialog ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QPrintPreviewDialog () - */ - -HB_FUNC( QT_QPRINTPREVIEWDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QPrintPreviewDialog > pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISPOINTER( 2 ) ) - pObj = new QPrintPreviewDialog( hbqt_par_QPrinter( 1 ), hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ) ; - else - pObj = new QPrintPreviewDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void open ( QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QPRINTPREVIEWDIALOG_OPEN ) -{ - hbqt_par_QPrintPreviewDialog( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * QPrinter * printer () - */ -HB_FUNC( QT_QPRINTPREVIEWDIALOG_PRINTER ) -{ - hb_retptr( ( QPrinter* ) hbqt_par_QPrintPreviewDialog( 1 )->printer() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPrinter.cpp b/harbour/contrib/hbqt/QPrinter.cpp deleted file mode 100644 index 7de44d494c..0000000000 --- a/harbour/contrib/hbqt/QPrinter.cpp +++ /dev/null @@ -1,572 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ColorMode { Color, GrayScale } - * enum DuplexMode { DuplexNone, DuplexAuto, DuplexLongSide, DuplexShortSide } - * enum Orientation { Portrait, Landscape } - * enum OutputFormat { NativeFormat, PdfFormat, PostScriptFormat } - * enum PageOrder { FirstPageFirst, LastPageFirst } - * enum PaperSize { A0, A1, A2, A3, ..., Custom } - * enum PaperSource { Auto, Cassette, Envelope, EnvelopeManual, ..., SmallFormat } - * enum PrintRange { AllPages, Selection, PageRange } - * enum PrinterMode { ScreenResolution, PrinterResolution, HighResolution } - * enum PrinterState { Idle, Active, Aborted, Error } - * enum Unit { Millimeter, Point, Inch, Pica, ..., DevicePixel } - */ - -/* - * Constructed[ 55/61 [ 90.16% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList supportedPaperSources () const - * QList supportedResolutions () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // QString printerSelectionOption () const - * // void setPrinterSelectionOption ( const QString & option ) - * // void setWinPageSize ( int pageSize ) - * // int winPageSize () const - */ - -#include - -#include - - -/* - * QPrinter ( PrinterMode mode = ScreenResolution ) - * QPrinter ( const QPrinterInfo & printer, PrinterMode mode = ScreenResolution ) - * ~QPrinter () - */ - -HB_FUNC( QT_QPRINTER ) -{ - void * pObj = NULL; - - pObj = ( QPrinter* ) new QPrinter() ; - - hb_retptr( pObj ); -} -/* - * bool abort () - */ -HB_FUNC( QT_QPRINTER_ABORT ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->abort() ); -} - -/* - * bool collateCopies () const - */ -HB_FUNC( QT_QPRINTER_COLLATECOPIES ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->collateCopies() ); -} - -/* - * ColorMode colorMode () const - */ -HB_FUNC( QT_QPRINTER_COLORMODE ) -{ - hb_retni( ( QPrinter::ColorMode ) hbqt_par_QPrinter( 1 )->colorMode() ); -} - -/* - * QString creator () const - */ -HB_FUNC( QT_QPRINTER_CREATOR ) -{ - hb_retc( hbqt_par_QPrinter( 1 )->creator().toAscii().data() ); -} - -/* - * QString docName () const - */ -HB_FUNC( QT_QPRINTER_DOCNAME ) -{ - hb_retc( hbqt_par_QPrinter( 1 )->docName().toAscii().data() ); -} - -/* - * bool doubleSidedPrinting () const - */ -HB_FUNC( QT_QPRINTER_DOUBLESIDEDPRINTING ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->doubleSidedPrinting() ); -} - -/* - * DuplexMode duplex () const - */ -HB_FUNC( QT_QPRINTER_DUPLEX ) -{ - hb_retni( ( QPrinter::DuplexMode ) hbqt_par_QPrinter( 1 )->duplex() ); -} - -/* - * bool fontEmbeddingEnabled () const - */ -HB_FUNC( QT_QPRINTER_FONTEMBEDDINGENABLED ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->fontEmbeddingEnabled() ); -} - -/* - * int fromPage () const - */ -HB_FUNC( QT_QPRINTER_FROMPAGE ) -{ - hb_retni( hbqt_par_QPrinter( 1 )->fromPage() ); -} - -/* - * bool fullPage () const - */ -HB_FUNC( QT_QPRINTER_FULLPAGE ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->fullPage() ); -} - -/* - * void getPageMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom, Unit unit ) const - */ -HB_FUNC( QT_QPRINTER_GETPAGEMARGINS ) -{ - qreal qrLeft = 0; - qreal qrTop = 0; - qreal qrRight = 0; - qreal qrBottom = 0; - - hbqt_par_QPrinter( 1 )->getPageMargins( &qrLeft, &qrTop, &qrRight, &qrBottom, ( QPrinter::Unit ) hb_parni( 6 ) ); - - hb_stornd( qrLeft, 2 ); - hb_stornd( qrTop, 3 ); - hb_stornd( qrRight, 4 ); - hb_stornd( qrBottom, 5 ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QPRINTER_ISVALID ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->isValid() ); -} - -/* - * bool newPage () - */ -HB_FUNC( QT_QPRINTER_NEWPAGE ) -{ - hb_retl( hbqt_par_QPrinter( 1 )->newPage() ); -} - -/* - * int numCopies () const - */ -HB_FUNC( QT_QPRINTER_NUMCOPIES ) -{ - hb_retni( hbqt_par_QPrinter( 1 )->numCopies() ); -} - -/* - * Orientation orientation () const - */ -HB_FUNC( QT_QPRINTER_ORIENTATION ) -{ - hb_retni( ( QPrinter::Orientation ) hbqt_par_QPrinter( 1 )->orientation() ); -} - -/* - * QString outputFileName () const - */ -HB_FUNC( QT_QPRINTER_OUTPUTFILENAME ) -{ - hb_retc( hbqt_par_QPrinter( 1 )->outputFileName().toAscii().data() ); -} - -/* - * OutputFormat outputFormat () const - */ -HB_FUNC( QT_QPRINTER_OUTPUTFORMAT ) -{ - hb_retni( ( QPrinter::OutputFormat ) hbqt_par_QPrinter( 1 )->outputFormat() ); -} - -/* - * PageOrder pageOrder () const - */ -HB_FUNC( QT_QPRINTER_PAGEORDER ) -{ - hb_retni( ( QPrinter::PageOrder ) hbqt_par_QPrinter( 1 )->pageOrder() ); -} - -/* - * QRect pageRect () const - */ -HB_FUNC( QT_QPRINTER_PAGERECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPrinter( 1 )->pageRect() ) ) ); -} - -/* - * QRectF pageRect ( Unit unit ) const - */ -HB_FUNC( QT_QPRINTER_PAGERECT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QPrinter( 1 )->pageRect( ( QPrinter::Unit ) hb_parni( 2 ) ) ) ) ); -} - -/* - * virtual QPaintEngine * paintEngine () const - */ -HB_FUNC( QT_QPRINTER_PAINTENGINE ) -{ - hb_retptr( ( QPaintEngine* ) hbqt_par_QPrinter( 1 )->paintEngine() ); -} - -/* - * QRect paperRect () const - */ -HB_FUNC( QT_QPRINTER_PAPERRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QPrinter( 1 )->paperRect() ) ) ); -} - -/* - * QRectF paperRect ( Unit unit ) const - */ -HB_FUNC( QT_QPRINTER_PAPERRECT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QPrinter( 1 )->paperRect( ( QPrinter::Unit ) hb_parni( 2 ) ) ) ) ); -} - -/* - * PaperSize paperSize () const - */ -HB_FUNC( QT_QPRINTER_PAPERSIZE ) -{ - hb_retni( ( QPrinter::PaperSize ) hbqt_par_QPrinter( 1 )->paperSize() ); -} - -/* - * QSizeF paperSize ( Unit unit ) const - */ -HB_FUNC( QT_QPRINTER_PAPERSIZE_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QPrinter( 1 )->paperSize( ( QPrinter::Unit ) hb_parni( 2 ) ) ) ) ); -} - -/* - * PaperSource paperSource () const - */ -HB_FUNC( QT_QPRINTER_PAPERSOURCE ) -{ - hb_retni( ( QPrinter::PaperSource ) hbqt_par_QPrinter( 1 )->paperSource() ); -} - -/* - * QPrintEngine * printEngine () const - */ -HB_FUNC( QT_QPRINTER_PRINTENGINE ) -{ - hb_retptr( ( QPrintEngine* ) hbqt_par_QPrinter( 1 )->printEngine() ); -} - -/* - * QString printProgram () const - */ -HB_FUNC( QT_QPRINTER_PRINTPROGRAM ) -{ - hb_retc( hbqt_par_QPrinter( 1 )->printProgram().toAscii().data() ); -} - -/* - * PrintRange printRange () const - */ -HB_FUNC( QT_QPRINTER_PRINTRANGE ) -{ - hb_retni( ( QPrinter::PrintRange ) hbqt_par_QPrinter( 1 )->printRange() ); -} - -/* - * QString printerName () const - */ -HB_FUNC( QT_QPRINTER_PRINTERNAME ) -{ - hb_retc( hbqt_par_QPrinter( 1 )->printerName().toAscii().data() ); -} - -/* - * PrinterState printerState () const - */ -HB_FUNC( QT_QPRINTER_PRINTERSTATE ) -{ - hb_retni( ( QPrinter::PrinterState ) hbqt_par_QPrinter( 1 )->printerState() ); -} - -/* - * int resolution () const - */ -HB_FUNC( QT_QPRINTER_RESOLUTION ) -{ - hb_retni( hbqt_par_QPrinter( 1 )->resolution() ); -} - -/* - * void setCollateCopies ( bool collate ) - */ -HB_FUNC( QT_QPRINTER_SETCOLLATECOPIES ) -{ - hbqt_par_QPrinter( 1 )->setCollateCopies( hb_parl( 2 ) ); -} - -/* - * void setColorMode ( ColorMode newColorMode ) - */ -HB_FUNC( QT_QPRINTER_SETCOLORMODE ) -{ - hbqt_par_QPrinter( 1 )->setColorMode( ( QPrinter::ColorMode ) hb_parni( 2 ) ); -} - -/* - * void setCreator ( const QString & creator ) - */ -HB_FUNC( QT_QPRINTER_SETCREATOR ) -{ - hbqt_par_QPrinter( 1 )->setCreator( hbqt_par_QString( 2 ) ); -} - -/* - * void setDocName ( const QString & name ) - */ -HB_FUNC( QT_QPRINTER_SETDOCNAME ) -{ - hbqt_par_QPrinter( 1 )->setDocName( hbqt_par_QString( 2 ) ); -} - -/* - * void setDoubleSidedPrinting ( bool doubleSided ) - */ -HB_FUNC( QT_QPRINTER_SETDOUBLESIDEDPRINTING ) -{ - hbqt_par_QPrinter( 1 )->setDoubleSidedPrinting( hb_parl( 2 ) ); -} - -/* - * void setDuplex ( DuplexMode duplex ) - */ -HB_FUNC( QT_QPRINTER_SETDUPLEX ) -{ - hbqt_par_QPrinter( 1 )->setDuplex( ( QPrinter::DuplexMode ) hb_parni( 2 ) ); -} - -/* - * void setFontEmbeddingEnabled ( bool enable ) - */ -HB_FUNC( QT_QPRINTER_SETFONTEMBEDDINGENABLED ) -{ - hbqt_par_QPrinter( 1 )->setFontEmbeddingEnabled( hb_parl( 2 ) ); -} - -/* - * void setFromTo ( int from, int to ) - */ -HB_FUNC( QT_QPRINTER_SETFROMTO ) -{ - hbqt_par_QPrinter( 1 )->setFromTo( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setFullPage ( bool fp ) - */ -HB_FUNC( QT_QPRINTER_SETFULLPAGE ) -{ - hbqt_par_QPrinter( 1 )->setFullPage( hb_parl( 2 ) ); -} - -/* - * void setNumCopies ( int numCopies ) - */ -HB_FUNC( QT_QPRINTER_SETNUMCOPIES ) -{ - hbqt_par_QPrinter( 1 )->setNumCopies( hb_parni( 2 ) ); -} - -/* - * void setOrientation ( Orientation orientation ) - */ -HB_FUNC( QT_QPRINTER_SETORIENTATION ) -{ - hbqt_par_QPrinter( 1 )->setOrientation( ( QPrinter::Orientation ) hb_parni( 2 ) ); -} - -/* - * void setOutputFileName ( const QString & fileName ) - */ -HB_FUNC( QT_QPRINTER_SETOUTPUTFILENAME ) -{ - hbqt_par_QPrinter( 1 )->setOutputFileName( hbqt_par_QString( 2 ) ); -} - -/* - * void setOutputFormat ( OutputFormat format ) - */ -HB_FUNC( QT_QPRINTER_SETOUTPUTFORMAT ) -{ - hbqt_par_QPrinter( 1 )->setOutputFormat( ( QPrinter::OutputFormat ) hb_parni( 2 ) ); -} - -/* - * void setPageMargins ( qreal left, qreal top, qreal right, qreal bottom, Unit unit ) - */ -HB_FUNC( QT_QPRINTER_SETPAGEMARGINS ) -{ - hbqt_par_QPrinter( 1 )->setPageMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), ( QPrinter::Unit ) hb_parni( 6 ) ); -} - -/* - * void setPageOrder ( PageOrder pageOrder ) - */ -HB_FUNC( QT_QPRINTER_SETPAGEORDER ) -{ - hbqt_par_QPrinter( 1 )->setPageOrder( ( QPrinter::PageOrder ) hb_parni( 2 ) ); -} - -/* - * void setPaperSize ( PaperSize newPaperSize ) - */ -HB_FUNC( QT_QPRINTER_SETPAPERSIZE ) -{ - hbqt_par_QPrinter( 1 )->setPaperSize( ( QPrinter::PaperSize ) hb_parni( 2 ) ); -} - -/* - * void setPaperSize ( const QSizeF & paperSize, Unit unit ) - */ -HB_FUNC( QT_QPRINTER_SETPAPERSIZE_1 ) -{ - hbqt_par_QPrinter( 1 )->setPaperSize( *hbqt_par_QSizeF( 2 ), ( QPrinter::Unit ) hb_parni( 3 ) ); -} - -/* - * void setPaperSource ( PaperSource source ) - */ -HB_FUNC( QT_QPRINTER_SETPAPERSOURCE ) -{ - hbqt_par_QPrinter( 1 )->setPaperSource( ( QPrinter::PaperSource ) hb_parni( 2 ) ); -} - -/* - * void setPrintProgram ( const QString & printProg ) - */ -HB_FUNC( QT_QPRINTER_SETPRINTPROGRAM ) -{ - hbqt_par_QPrinter( 1 )->setPrintProgram( hbqt_par_QString( 2 ) ); -} - -/* - * void setPrintRange ( PrintRange range ) - */ -HB_FUNC( QT_QPRINTER_SETPRINTRANGE ) -{ - hbqt_par_QPrinter( 1 )->setPrintRange( ( QPrinter::PrintRange ) hb_parni( 2 ) ); -} - -/* - * void setPrinterName ( const QString & name ) - */ -HB_FUNC( QT_QPRINTER_SETPRINTERNAME ) -{ - hbqt_par_QPrinter( 1 )->setPrinterName( hbqt_par_QString( 2 ) ); -} - -/* - * void setResolution ( int dpi ) - */ -HB_FUNC( QT_QPRINTER_SETRESOLUTION ) -{ - hbqt_par_QPrinter( 1 )->setResolution( hb_parni( 2 ) ); -} - -/* - * int toPage () const - */ -HB_FUNC( QT_QPRINTER_TOPAGE ) -{ - hb_retni( hbqt_par_QPrinter( 1 )->toPage() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QProcess.cpp b/harbour/contrib/hbqt/QProcess.cpp deleted file mode 100644 index ab22b33ef5..0000000000 --- a/harbour/contrib/hbqt/QProcess.cpp +++ /dev/null @@ -1,387 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * # FROM QIODevice - * flags OpenMode - * enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - * enum ExitStatus { NormalExit, CrashExit } - * enum ProcessChannel { StandardOutput, StandardError } - * enum ProcessChannelMode { SeparateChannels, MergedChannels, ForwardedChannels } - * enum ProcessError { FailedToStart, Crashed, Timedout, WriteError, ReadError, UnknownError } - * enum ProcessState { NotRunning, Starting, Running } - */ - -#include - -#include - - -/* - * QProcess ( QObject * parent = 0 ) - * virtual ~QProcess () - */ - -HB_FUNC( QT_QPROCESS ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QProcess > pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QProcess* ) new QProcess( hbqt_par_QObject( 1 ) ) ; - } - else - { - pObj = ( QProcess* ) new QProcess() ; - } - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual void close () - */ -HB_FUNC( QT_QPROCESS_CLOSE ) -{ - hbqt_par_QProcess( 1 )->close(); -} - -/* - * void closeReadChannel ( ProcessChannel channel ) - */ -HB_FUNC( QT_QPROCESS_CLOSEREADCHANNEL ) -{ - hbqt_par_QProcess( 1 )->closeReadChannel( ( QProcess::ProcessChannel ) hb_parni( 2 ) ); -} - -/* - * void closeWriteChannel () - */ -HB_FUNC( QT_QPROCESS_CLOSEWRITECHANNEL ) -{ - hbqt_par_QProcess( 1 )->closeWriteChannel(); -} - -/* - * QStringList environment () const - */ -HB_FUNC( QT_QPROCESS_ENVIRONMENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QProcess( 1 )->environment() ) ) ); -} - -/* - * QProcess::ProcessError error () const - */ -HB_FUNC( QT_QPROCESS_ERROR ) -{ - hb_retni( ( QProcess::ProcessError ) hbqt_par_QProcess( 1 )->error() ); -} - -/* - * int exitCode () const - */ -HB_FUNC( QT_QPROCESS_EXITCODE ) -{ - hb_retni( hbqt_par_QProcess( 1 )->exitCode() ); -} - -/* - * QProcess::ExitStatus exitStatus () const - */ -HB_FUNC( QT_QPROCESS_EXITSTATUS ) -{ - hb_retni( ( QProcess::ExitStatus ) hbqt_par_QProcess( 1 )->exitStatus() ); -} - -/* - * Q_PID pid () const - */ -HB_FUNC( QT_QPROCESS_PID ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new Q_PID( hbqt_par_QProcess( 1 )->pid() ) ) ); -} - -/* - * ProcessChannelMode processChannelMode () const - */ -HB_FUNC( QT_QPROCESS_PROCESSCHANNELMODE ) -{ - hb_retni( ( QProcess::ProcessChannelMode ) hbqt_par_QProcess( 1 )->processChannelMode() ); -} - -/* - * QByteArray readAllStandardError () - */ -HB_FUNC( QT_QPROCESS_READALLSTANDARDERROR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QProcess( 1 )->readAllStandardError() ) ) ); -} - -/* - * QByteArray readAllStandardOutput () - */ -HB_FUNC( QT_QPROCESS_READALLSTANDARDOUTPUT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QProcess( 1 )->readAllStandardOutput() ) ) ); -} - -/* - * ProcessChannel readChannel () const - */ -HB_FUNC( QT_QPROCESS_READCHANNEL ) -{ - hb_retni( ( QProcess::ProcessChannel ) hbqt_par_QProcess( 1 )->readChannel() ); -} - -/* - * void setEnvironment ( const QStringList & environment ) - */ -HB_FUNC( QT_QPROCESS_SETENVIRONMENT ) -{ - hbqt_par_QProcess( 1 )->setEnvironment( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setProcessChannelMode ( ProcessChannelMode mode ) - */ -HB_FUNC( QT_QPROCESS_SETPROCESSCHANNELMODE ) -{ - hbqt_par_QProcess( 1 )->setProcessChannelMode( ( QProcess::ProcessChannelMode ) hb_parni( 2 ) ); -} - -/* - * void setReadChannel ( ProcessChannel channel ) - */ -HB_FUNC( QT_QPROCESS_SETREADCHANNEL ) -{ - hbqt_par_QProcess( 1 )->setReadChannel( ( QProcess::ProcessChannel ) hb_parni( 2 ) ); -} - -/* - * void setStandardErrorFile ( const QString & fileName, OpenMode mode = Truncate ) - */ -HB_FUNC( QT_QPROCESS_SETSTANDARDERRORFILE ) -{ - hbqt_par_QProcess( 1 )->setStandardErrorFile( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( QProcess::OpenMode ) hb_parni( 3 ) : ( QProcess::OpenMode ) QProcess::Truncate ) ); -} - -/* - * void setStandardInputFile ( const QString & fileName ) - */ -HB_FUNC( QT_QPROCESS_SETSTANDARDINPUTFILE ) -{ - hbqt_par_QProcess( 1 )->setStandardInputFile( hbqt_par_QString( 2 ) ); -} - -/* - * void setStandardOutputFile ( const QString & fileName, OpenMode mode = Truncate ) - */ -HB_FUNC( QT_QPROCESS_SETSTANDARDOUTPUTFILE ) -{ - hbqt_par_QProcess( 1 )->setStandardOutputFile( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( QProcess::OpenMode ) hb_parni( 3 ) : ( QProcess::OpenMode ) QProcess::Truncate ) ); -} - -/* - * void setStandardOutputProcess ( QProcess * destination ) - */ -HB_FUNC( QT_QPROCESS_SETSTANDARDOUTPUTPROCESS ) -{ - hbqt_par_QProcess( 1 )->setStandardOutputProcess( hbqt_par_QProcess( 2 ) ); -} - -/* - * void setWorkingDirectory ( const QString & dir ) - */ -HB_FUNC( QT_QPROCESS_SETWORKINGDIRECTORY ) -{ - hbqt_par_QProcess( 1 )->setWorkingDirectory( hbqt_par_QString( 2 ) ); -} - -/* - * void start ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) - */ -HB_FUNC( QT_QPROCESS_START ) -{ - hbqt_par_QProcess( 1 )->start( hbqt_par_QString( 2 ), *hbqt_par_QStringList( 3 ), ( HB_ISNUM( 4 ) ? ( QProcess::OpenMode ) hb_parni( 4 ) : ( QProcess::OpenMode ) QProcess::ReadWrite ) ); -} - -/* - * void start ( const QString & program, OpenMode mode = ReadWrite ) - */ -HB_FUNC( QT_QPROCESS_START_1 ) -{ - hbqt_par_QProcess( 1 )->start( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( QProcess::OpenMode ) hb_parni( 3 ) : ( QProcess::OpenMode ) QProcess::ReadWrite ) ); -} - -/* - * QProcess::ProcessState state () const - */ -HB_FUNC( QT_QPROCESS_STATE ) -{ - hb_retni( ( QProcess::ProcessState ) hbqt_par_QProcess( 1 )->state() ); -} - -/* - * bool waitForFinished ( int msecs = 30000 ) - */ -HB_FUNC( QT_QPROCESS_WAITFORFINISHED ) -{ - hb_retl( hbqt_par_QProcess( 1 )->waitForFinished( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 30000 ) ) ); -} - -/* - * bool waitForStarted ( int msecs = 30000 ) - */ -HB_FUNC( QT_QPROCESS_WAITFORSTARTED ) -{ - hb_retl( hbqt_par_QProcess( 1 )->waitForStarted( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 30000 ) ) ); -} - -/* - * QString workingDirectory () const - */ -HB_FUNC( QT_QPROCESS_WORKINGDIRECTORY ) -{ - hb_retc( hbqt_par_QProcess( 1 )->workingDirectory().toAscii().data() ); -} - -/* - * int execute ( const QString & program, const QStringList & arguments ) - */ -HB_FUNC( QT_QPROCESS_EXECUTE ) -{ - hb_retni( hbqt_par_QProcess( 1 )->execute( hbqt_par_QString( 2 ), *hbqt_par_QStringList( 3 ) ) ); -} - -/* - * int execute ( const QString & program ) - */ -HB_FUNC( QT_QPROCESS_EXECUTE_1 ) -{ - hb_retni( hbqt_par_QProcess( 1 )->execute( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 ) - */ -HB_FUNC( QT_QPROCESS_STARTDETACHED ) -{ - qint64 iPid = 0; - - hb_retl( hbqt_par_QProcess( 1 )->startDetached( hbqt_par_QString( 2 ), *hbqt_par_QStringList( 3 ), hbqt_par_QString( 4 ), &iPid ) ); - - hb_stornint( iPid, 5 ); -} - -/* - * bool startDetached ( const QString & program, const QStringList & arguments ) - */ -HB_FUNC( QT_QPROCESS_STARTDETACHED_1 ) -{ - hb_retl( hbqt_par_QProcess( 1 )->startDetached( hbqt_par_QString( 2 ), *hbqt_par_QStringList( 3 ) ) ); -} - -/* - * bool startDetached ( const QString & program ) - */ -HB_FUNC( QT_QPROCESS_STARTDETACHED_2 ) -{ - hb_retl( hbqt_par_QProcess( 1 )->startDetached( hbqt_par_QString( 2 ) ) ); -} - -/* - * QStringList systemEnvironment () - */ -HB_FUNC( QT_QPROCESS_SYSTEMENVIRONMENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QProcess( 1 )->systemEnvironment() ) ) ); -} - -/* - * void kill () - */ -HB_FUNC( QT_QPROCESS_KILL ) -{ - hbqt_par_QProcess( 1 )->kill(); -} - -/* - * void terminate () - */ -HB_FUNC( QT_QPROCESS_TERMINATE ) -{ - hbqt_par_QProcess( 1 )->terminate(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QProgressBar.cpp b/harbour/contrib/hbqt/QProgressBar.cpp deleted file mode 100644 index 7cf0dec157..0000000000 --- a/harbour/contrib/hbqt/QProgressBar.cpp +++ /dev/null @@ -1,264 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Direction { TopToBottom, BottomToTop } - */ - -#include - -#include - - -/* - * QProgressBar ( QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QPROGRESSBAR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QProgressBar > pObj = NULL; - - pObj = ( QProgressBar* ) new QProgressBar( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QPROGRESSBAR_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QProgressBar( 1 )->alignment() ); -} - -/* - * QString format () const - */ -HB_FUNC( QT_QPROGRESSBAR_FORMAT ) -{ - hb_retc( hbqt_par_QProgressBar( 1 )->format().toAscii().data() ); -} - -/* - * bool invertedAppearance () - */ -HB_FUNC( QT_QPROGRESSBAR_INVERTEDAPPEARANCE ) -{ - hb_retl( hbqt_par_QProgressBar( 1 )->invertedAppearance() ); -} - -/* - * bool isTextVisible () const - */ -HB_FUNC( QT_QPROGRESSBAR_ISTEXTVISIBLE ) -{ - hb_retl( hbqt_par_QProgressBar( 1 )->isTextVisible() ); -} - -/* - * int maximum () const - */ -HB_FUNC( QT_QPROGRESSBAR_MAXIMUM ) -{ - hb_retni( hbqt_par_QProgressBar( 1 )->maximum() ); -} - -/* - * int minimum () const - */ -HB_FUNC( QT_QPROGRESSBAR_MINIMUM ) -{ - hb_retni( hbqt_par_QProgressBar( 1 )->minimum() ); -} - -/* - * Qt::Orientation orientation () const - */ -HB_FUNC( QT_QPROGRESSBAR_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QProgressBar( 1 )->orientation() ); -} - -/* - * void setAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETALIGNMENT ) -{ - hbqt_par_QProgressBar( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setFormat ( const QString & format ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETFORMAT ) -{ - hbqt_par_QProgressBar( 1 )->setFormat( hbqt_par_QString( 2 ) ); -} - -/* - * void setInvertedAppearance ( bool invert ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETINVERTEDAPPEARANCE ) -{ - hbqt_par_QProgressBar( 1 )->setInvertedAppearance( hb_parl( 2 ) ); -} - -/* - * void setTextDirection ( QProgressBar::Direction textDirection ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETTEXTDIRECTION ) -{ - hbqt_par_QProgressBar( 1 )->setTextDirection( ( QProgressBar::Direction ) hb_parni( 2 ) ); -} - -/* - * void setTextVisible ( bool visible ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETTEXTVISIBLE ) -{ - hbqt_par_QProgressBar( 1 )->setTextVisible( hb_parl( 2 ) ); -} - -/* - * virtual QString text () const - */ -HB_FUNC( QT_QPROGRESSBAR_TEXT ) -{ - hb_retc( hbqt_par_QProgressBar( 1 )->text().toAscii().data() ); -} - -/* - * QProgressBar::Direction textDirection () - */ -HB_FUNC( QT_QPROGRESSBAR_TEXTDIRECTION ) -{ - hb_retni( ( QProgressBar::Direction ) hbqt_par_QProgressBar( 1 )->textDirection() ); -} - -/* - * int value () const - */ -HB_FUNC( QT_QPROGRESSBAR_VALUE ) -{ - hb_retni( hbqt_par_QProgressBar( 1 )->value() ); -} - -/* - * void reset () - */ -HB_FUNC( QT_QPROGRESSBAR_RESET ) -{ - hbqt_par_QProgressBar( 1 )->reset(); -} - -/* - * void setMaximum ( int maximum ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETMAXIMUM ) -{ - hbqt_par_QProgressBar( 1 )->setMaximum( hb_parni( 2 ) ); -} - -/* - * void setMinimum ( int minimum ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETMINIMUM ) -{ - hbqt_par_QProgressBar( 1 )->setMinimum( hb_parni( 2 ) ); -} - -/* - * void setOrientation ( Qt::Orientation ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETORIENTATION ) -{ - hbqt_par_QProgressBar( 1 )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* - * void setRange ( int minimum, int maximum ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETRANGE ) -{ - hbqt_par_QProgressBar( 1 )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setValue ( int value ) - */ -HB_FUNC( QT_QPROGRESSBAR_SETVALUE ) -{ - hbqt_par_QProgressBar( 1 )->setValue( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QProgressDialog.cpp b/harbour/contrib/hbqt/QProgressDialog.cpp deleted file mode 100644 index ce4e9aa21a..0000000000 --- a/harbour/contrib/hbqt/QProgressDialog.cpp +++ /dev/null @@ -1,286 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QProgressDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * QProgressDialog ( const QString & labelText, const QString & cancelButtonText, int minimum, int maximum, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QProgressDialog () - */ - -HB_FUNC( QT_QPROGRESSDIALOG ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QProgressDialog > pObj = NULL; - - pObj = new QProgressDialog( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool autoClose () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_AUTOCLOSE ) -{ - hb_retl( hbqt_par_QProgressDialog( 1 )->autoClose() ); -} - -/* - * bool autoReset () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_AUTORESET ) -{ - hb_retl( hbqt_par_QProgressDialog( 1 )->autoReset() ); -} - -/* - * QString labelText () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_LABELTEXT ) -{ - hb_retc( hbqt_par_QProgressDialog( 1 )->labelText().toAscii().data() ); -} - -/* - * int maximum () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_MAXIMUM ) -{ - hb_retni( hbqt_par_QProgressDialog( 1 )->maximum() ); -} - -/* - * int minimum () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_MINIMUM ) -{ - hb_retni( hbqt_par_QProgressDialog( 1 )->minimum() ); -} - -/* - * int minimumDuration () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_MINIMUMDURATION ) -{ - hb_retni( hbqt_par_QProgressDialog( 1 )->minimumDuration() ); -} - -/* - * void open ( QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_OPEN ) -{ - hbqt_par_QProgressDialog( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) ); -} - -/* - * void setAutoClose ( bool close ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETAUTOCLOSE ) -{ - hbqt_par_QProgressDialog( 1 )->setAutoClose( hb_parl( 2 ) ); -} - -/* - * void setAutoReset ( bool reset ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETAUTORESET ) -{ - hbqt_par_QProgressDialog( 1 )->setAutoReset( hb_parl( 2 ) ); -} - -/* - * void setBar ( QProgressBar * bar ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETBAR ) -{ - hbqt_par_QProgressDialog( 1 )->setBar( hbqt_par_QProgressBar( 2 ) ); -} - -/* - * void setCancelButton ( QPushButton * cancelButton ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETCANCELBUTTON ) -{ - hbqt_par_QProgressDialog( 1 )->setCancelButton( hbqt_par_QPushButton( 2 ) ); -} - -/* - * void setLabel ( QLabel * label ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETLABEL ) -{ - hbqt_par_QProgressDialog( 1 )->setLabel( hbqt_par_QLabel( 2 ) ); -} - -/* - * virtual QSize sizeHint () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QProgressDialog( 1 )->sizeHint() ) ) ); -} - -/* - * int value () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_VALUE ) -{ - hb_retni( hbqt_par_QProgressDialog( 1 )->value() ); -} - -/* - * bool wasCanceled () const - */ -HB_FUNC( QT_QPROGRESSDIALOG_WASCANCELED ) -{ - hb_retl( hbqt_par_QProgressDialog( 1 )->wasCanceled() ); -} - -/* - * void cancel () - */ -HB_FUNC( QT_QPROGRESSDIALOG_CANCEL ) -{ - hbqt_par_QProgressDialog( 1 )->cancel(); -} - -/* - * void reset () - */ -HB_FUNC( QT_QPROGRESSDIALOG_RESET ) -{ - hbqt_par_QProgressDialog( 1 )->reset(); -} - -/* - * void setCancelButtonText ( const QString & cancelButtonText ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETCANCELBUTTONTEXT ) -{ - hbqt_par_QProgressDialog( 1 )->setCancelButtonText( hbqt_par_QString( 2 ) ); -} - -/* - * void setLabelText ( const QString & text ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETLABELTEXT ) -{ - hbqt_par_QProgressDialog( 1 )->setLabelText( hbqt_par_QString( 2 ) ); -} - -/* - * void setMaximum ( int maximum ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETMAXIMUM ) -{ - hbqt_par_QProgressDialog( 1 )->setMaximum( hb_parni( 2 ) ); -} - -/* - * void setMinimum ( int minimum ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETMINIMUM ) -{ - hbqt_par_QProgressDialog( 1 )->setMinimum( hb_parni( 2 ) ); -} - -/* - * void setMinimumDuration ( int ms ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETMINIMUMDURATION ) -{ - hbqt_par_QProgressDialog( 1 )->setMinimumDuration( hb_parni( 2 ) ); -} - -/* - * void setRange ( int minimum, int maximum ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETRANGE ) -{ - hbqt_par_QProgressDialog( 1 )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setValue ( int progress ) - */ -HB_FUNC( QT_QPROGRESSDIALOG_SETVALUE ) -{ - hbqt_par_QProgressDialog( 1 )->setValue( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QPushButton.cpp b/harbour/contrib/hbqt/QPushButton.cpp deleted file mode 100644 index c08e0c7228..0000000000 --- a/harbour/contrib/hbqt/QPushButton.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QPushButton ( QWidget * parent = 0 ) - * QPushButton ( const QString & text, QWidget * parent = 0 ) - * QPushButton ( const QIcon & icon, const QString & text, QWidget * parent = 0 ) - * ~QPushButton () - */ - -HB_FUNC( QT_QPUSHBUTTON ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QPushButton > pObj = NULL; - - pObj = ( QPushButton* ) new QPushButton( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool autoDefault () const - */ -HB_FUNC( QT_QPUSHBUTTON_AUTODEFAULT ) -{ - hb_retl( hbqt_par_QPushButton( 1 )->autoDefault() ); -} - -/* - * bool isDefault () const - */ -HB_FUNC( QT_QPUSHBUTTON_ISDEFAULT ) -{ - hb_retl( hbqt_par_QPushButton( 1 )->isDefault() ); -} - -/* - * bool isFlat () const - */ -HB_FUNC( QT_QPUSHBUTTON_ISFLAT ) -{ - hb_retl( hbqt_par_QPushButton( 1 )->isFlat() ); -} - -/* - * QMenu * menu () const - */ -HB_FUNC( QT_QPUSHBUTTON_MENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QPushButton( 1 )->menu() ); -} - -/* - * void setAutoDefault ( bool ) - */ -HB_FUNC( QT_QPUSHBUTTON_SETAUTODEFAULT ) -{ - hbqt_par_QPushButton( 1 )->setAutoDefault( hb_parl( 2 ) ); -} - -/* - * void setDefault ( bool ) - */ -HB_FUNC( QT_QPUSHBUTTON_SETDEFAULT ) -{ - hbqt_par_QPushButton( 1 )->setDefault( hb_parl( 2 ) ); -} - -/* - * void setFlat ( bool ) - */ -HB_FUNC( QT_QPUSHBUTTON_SETFLAT ) -{ - hbqt_par_QPushButton( 1 )->setFlat( hb_parl( 2 ) ); -} - -/* - * void setMenu ( QMenu * menu ) - */ -HB_FUNC( QT_QPUSHBUTTON_SETMENU ) -{ - hbqt_par_QPushButton( 1 )->setMenu( hbqt_par_QMenu( 2 ) ); -} - -/* - * void showMenu () - */ -HB_FUNC( QT_QPUSHBUTTON_SHOWMENU ) -{ - hbqt_par_QPushButton( 1 )->showMenu(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QRadialGradient.cpp b/harbour/contrib/hbqt/QRadialGradient.cpp deleted file mode 100644 index e552aeb623..0000000000 --- a/harbour/contrib/hbqt/QRadialGradient.cpp +++ /dev/null @@ -1,182 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } - * enum Spread { PadSpread, RepeatSpread, ReflectSpread } - * enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - */ - -#include - -#include - - -/* - * QRadialGradient () - * QRadialGradient ( const QPointF & center, qreal radius, const QPointF & focalPoint ) - * QRadialGradient ( qreal cx, qreal cy, qreal radius, qreal fx, qreal fy ) - * QRadialGradient ( const QPointF & center, qreal radius ) - * QRadialGradient ( qreal cx, qreal cy, qreal radius ) - */ - -HB_FUNC( QT_QRADIALGRADIENT ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QRadialGradient* ) new QRadialGradient( *hbqt_par_QRadialGradient( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QRadialGradient* ) new QRadialGradient( *hbqt_par_QPointF( 1 ), hb_parnd( 2 ) ) ; - } - else if( hb_pcount() == 3 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) && HB_ISPOINTER( 3 ) ) - { - pObj = ( QRadialGradient* ) new QRadialGradient( *hbqt_par_QPointF( 1 ), hb_parnd( 2 ), *hbqt_par_QPointF( 3 ) ) ; - } - else if( hb_pcount() == 5 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) && HB_ISNUM( 5 ) ) - { - pObj = ( QRadialGradient* ) new QRadialGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ; - } - else - { - pObj = ( QRadialGradient* ) new QRadialGradient() ; - } - - hb_retptr( pObj ); -} -/* - * QPointF center () const - */ -HB_FUNC( QT_QRADIALGRADIENT_CENTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRadialGradient( 1 )->center() ) ) ); -} - -/* - * QPointF focalPoint () const - */ -HB_FUNC( QT_QRADIALGRADIENT_FOCALPOINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRadialGradient( 1 )->focalPoint() ) ) ); -} - -/* - * qreal radius () const - */ -HB_FUNC( QT_QRADIALGRADIENT_RADIUS ) -{ - hb_retnd( hbqt_par_QRadialGradient( 1 )->radius() ); -} - -/* - * void setCenter ( const QPointF & center ) - */ -HB_FUNC( QT_QRADIALGRADIENT_SETCENTER ) -{ - hbqt_par_QRadialGradient( 1 )->setCenter( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setCenter ( qreal x, qreal y ) - */ -HB_FUNC( QT_QRADIALGRADIENT_SETCENTER_1 ) -{ - hbqt_par_QRadialGradient( 1 )->setCenter( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setFocalPoint ( const QPointF & focalPoint ) - */ -HB_FUNC( QT_QRADIALGRADIENT_SETFOCALPOINT ) -{ - hbqt_par_QRadialGradient( 1 )->setFocalPoint( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setFocalPoint ( qreal x, qreal y ) - */ -HB_FUNC( QT_QRADIALGRADIENT_SETFOCALPOINT_1 ) -{ - hbqt_par_QRadialGradient( 1 )->setFocalPoint( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setRadius ( qreal radius ) - */ -HB_FUNC( QT_QRADIALGRADIENT_SETRADIUS ) -{ - hbqt_par_QRadialGradient( 1 )->setRadius( hb_parnd( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QRadioButton.cpp b/harbour/contrib/hbqt/QRadioButton.cpp deleted file mode 100644 index bd02eb9358..0000000000 --- a/harbour/contrib/hbqt/QRadioButton.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QRadioButton ( QWidget * parent = 0 ) - * QRadioButton ( const QString & text, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QRADIOBUTTON ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QRadioButton > pObj = NULL; - - if( HB_ISCHAR( 1 ) ) - pObj = ( QRadioButton* ) new QRadioButton( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = ( QRadioButton* ) new QRadioButton( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QRect.cpp b/harbour/contrib/hbqt/QRect.cpp deleted file mode 100644 index 04dccbf250..0000000000 --- a/harbour/contrib/hbqt/QRect.cpp +++ /dev/null @@ -1,603 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QRect () - * QRect ( const QPoint & topLeft, const QPoint & bottomRight ) - * QRect ( const QPoint & topLeft, const QSize & size ) - * QRect ( int x, int y, int width, int height ) - * ~QRect () - */ - -HB_FUNC( QT_QRECT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QRect* ) new QRect( *hbqt_par_QRect( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QRect* ) new QRect( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QRect* ) new QRect( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ; - } - else - { - pObj = ( QRect* ) new QRect() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QRect" ); - hb_retptrGC( p ); -} -/* - * void adjust ( int dx1, int dy1, int dx2, int dy2 ) - */ -HB_FUNC( QT_QRECT_ADJUST ) -{ - hbqt_par_QRect( 1 )->adjust( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * QRect adjusted ( int dx1, int dy1, int dx2, int dy2 ) const - */ -HB_FUNC( QT_QRECT_ADJUSTED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRect( 1 )->adjusted( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ) ) ); -} - -/* - * int bottom () const - */ -HB_FUNC( QT_QRECT_BOTTOM ) -{ - hb_retni( hbqt_par_QRect( 1 )->bottom() ); -} - -/* - * QPoint bottomLeft () const - */ -HB_FUNC( QT_QRECT_BOTTOMLEFT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QRect( 1 )->bottomLeft() ) ) ); -} - -/* - * QPoint bottomRight () const - */ -HB_FUNC( QT_QRECT_BOTTOMRIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QRect( 1 )->bottomRight() ) ) ); -} - -/* - * QPoint center () const - */ -HB_FUNC( QT_QRECT_CENTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QRect( 1 )->center() ) ) ); -} - -/* - * bool contains ( const QPoint & point, bool proper = false ) const - */ -HB_FUNC( QT_QRECT_CONTAINS ) -{ - hb_retl( hbqt_par_QRect( 1 )->contains( *hbqt_par_QPoint( 2 ), hb_parl( 3 ) ) ); -} - -/* - * bool contains ( int x, int y, bool proper ) const - */ -HB_FUNC( QT_QRECT_CONTAINS_1 ) -{ - hb_retl( hbqt_par_QRect( 1 )->contains( hb_parni( 2 ), hb_parni( 3 ), hb_parl( 4 ) ) ); -} - -/* - * bool contains ( int x, int y ) const - */ -HB_FUNC( QT_QRECT_CONTAINS_2 ) -{ - hb_retl( hbqt_par_QRect( 1 )->contains( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * bool contains ( const QRect & rectangle, bool proper = false ) const - */ -HB_FUNC( QT_QRECT_CONTAINS_3 ) -{ - hb_retl( hbqt_par_QRect( 1 )->contains( *hbqt_par_QRect( 2 ), hb_parl( 3 ) ) ); -} - -/* - * void getCoords ( int * x1, int * y1, int * x2, int * y2 ) const - */ -HB_FUNC( QT_QRECT_GETCOORDS ) -{ - int iX1 = 0; - int iY1 = 0; - int iX2 = 0; - int iY2 = 0; - - hbqt_par_QRect( 1 )->getCoords( &iX1, &iY1, &iX2, &iY2 ); - - hb_storni( iX1, 2 ); - hb_storni( iY1, 3 ); - hb_storni( iX2, 4 ); - hb_storni( iY2, 5 ); -} - -/* - * void getRect ( int * x, int * y, int * width, int * height ) const - */ -HB_FUNC( QT_QRECT_GETRECT ) -{ - int iX = 0; - int iY = 0; - int iWidth = 0; - int iHeight = 0; - - hbqt_par_QRect( 1 )->getRect( &iX, &iY, &iWidth, &iHeight ); - - hb_storni( iX, 2 ); - hb_storni( iY, 3 ); - hb_storni( iWidth, 4 ); - hb_storni( iHeight, 5 ); -} - -/* - * int height () const - */ -HB_FUNC( QT_QRECT_HEIGHT ) -{ - hb_retni( hbqt_par_QRect( 1 )->height() ); -} - -/* - * QRect intersected ( const QRect & rectangle ) const - */ -HB_FUNC( QT_QRECT_INTERSECTED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRect( 1 )->intersected( *hbqt_par_QRect( 2 ) ) ) ) ); -} - -/* - * bool intersects ( const QRect & rectangle ) const - */ -HB_FUNC( QT_QRECT_INTERSECTS ) -{ - hb_retl( hbqt_par_QRect( 1 )->intersects( *hbqt_par_QRect( 2 ) ) ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QRECT_ISEMPTY ) -{ - hb_retl( hbqt_par_QRect( 1 )->isEmpty() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QRECT_ISNULL ) -{ - hb_retl( hbqt_par_QRect( 1 )->isNull() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QRECT_ISVALID ) -{ - hb_retl( hbqt_par_QRect( 1 )->isValid() ); -} - -/* - * int left () const - */ -HB_FUNC( QT_QRECT_LEFT ) -{ - hb_retni( hbqt_par_QRect( 1 )->left() ); -} - -/* - * void moveBottom ( int y ) - */ -HB_FUNC( QT_QRECT_MOVEBOTTOM ) -{ - hbqt_par_QRect( 1 )->moveBottom( hb_parni( 2 ) ); -} - -/* - * void moveBottomLeft ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_MOVEBOTTOMLEFT ) -{ - hbqt_par_QRect( 1 )->moveBottomLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void moveBottomRight ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_MOVEBOTTOMRIGHT ) -{ - hbqt_par_QRect( 1 )->moveBottomRight( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void moveCenter ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_MOVECENTER ) -{ - hbqt_par_QRect( 1 )->moveCenter( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void moveLeft ( int x ) - */ -HB_FUNC( QT_QRECT_MOVELEFT ) -{ - hbqt_par_QRect( 1 )->moveLeft( hb_parni( 2 ) ); -} - -/* - * void moveRight ( int x ) - */ -HB_FUNC( QT_QRECT_MOVERIGHT ) -{ - hbqt_par_QRect( 1 )->moveRight( hb_parni( 2 ) ); -} - -/* - * void moveTo ( int x, int y ) - */ -HB_FUNC( QT_QRECT_MOVETO ) -{ - hbqt_par_QRect( 1 )->moveTo( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void moveTo ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_MOVETO_1 ) -{ - hbqt_par_QRect( 1 )->moveTo( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void moveTop ( int y ) - */ -HB_FUNC( QT_QRECT_MOVETOP ) -{ - hbqt_par_QRect( 1 )->moveTop( hb_parni( 2 ) ); -} - -/* - * void moveTopLeft ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_MOVETOPLEFT ) -{ - hbqt_par_QRect( 1 )->moveTopLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void moveTopRight ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_MOVETOPRIGHT ) -{ - hbqt_par_QRect( 1 )->moveTopRight( *hbqt_par_QPoint( 2 ) ); -} - -/* - * QRect normalized () const - */ -HB_FUNC( QT_QRECT_NORMALIZED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRect( 1 )->normalized() ) ) ); -} - -/* - * int right () const - */ -HB_FUNC( QT_QRECT_RIGHT ) -{ - hb_retni( hbqt_par_QRect( 1 )->right() ); -} - -/* - * void setBottom ( int y ) - */ -HB_FUNC( QT_QRECT_SETBOTTOM ) -{ - hbqt_par_QRect( 1 )->setBottom( hb_parni( 2 ) ); -} - -/* - * void setBottomLeft ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_SETBOTTOMLEFT ) -{ - hbqt_par_QRect( 1 )->setBottomLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setBottomRight ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_SETBOTTOMRIGHT ) -{ - hbqt_par_QRect( 1 )->setBottomRight( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setCoords ( int x1, int y1, int x2, int y2 ) - */ -HB_FUNC( QT_QRECT_SETCOORDS ) -{ - hbqt_par_QRect( 1 )->setCoords( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setHeight ( int height ) - */ -HB_FUNC( QT_QRECT_SETHEIGHT ) -{ - hbqt_par_QRect( 1 )->setHeight( hb_parni( 2 ) ); -} - -/* - * void setLeft ( int x ) - */ -HB_FUNC( QT_QRECT_SETLEFT ) -{ - hbqt_par_QRect( 1 )->setLeft( hb_parni( 2 ) ); -} - -/* - * void setRect ( int x, int y, int width, int height ) - */ -HB_FUNC( QT_QRECT_SETRECT ) -{ - hbqt_par_QRect( 1 )->setRect( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setRight ( int x ) - */ -HB_FUNC( QT_QRECT_SETRIGHT ) -{ - hbqt_par_QRect( 1 )->setRight( hb_parni( 2 ) ); -} - -/* - * void setSize ( const QSize & size ) - */ -HB_FUNC( QT_QRECT_SETSIZE ) -{ - hbqt_par_QRect( 1 )->setSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setTop ( int y ) - */ -HB_FUNC( QT_QRECT_SETTOP ) -{ - hbqt_par_QRect( 1 )->setTop( hb_parni( 2 ) ); -} - -/* - * void setTopLeft ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_SETTOPLEFT ) -{ - hbqt_par_QRect( 1 )->setTopLeft( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setTopRight ( const QPoint & position ) - */ -HB_FUNC( QT_QRECT_SETTOPRIGHT ) -{ - hbqt_par_QRect( 1 )->setTopRight( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setWidth ( int width ) - */ -HB_FUNC( QT_QRECT_SETWIDTH ) -{ - hbqt_par_QRect( 1 )->setWidth( hb_parni( 2 ) ); -} - -/* - * void setX ( int x ) - */ -HB_FUNC( QT_QRECT_SETX ) -{ - hbqt_par_QRect( 1 )->setX( hb_parni( 2 ) ); -} - -/* - * void setY ( int y ) - */ -HB_FUNC( QT_QRECT_SETY ) -{ - hbqt_par_QRect( 1 )->setY( hb_parni( 2 ) ); -} - -/* - * QSize size () const - */ -HB_FUNC( QT_QRECT_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QRect( 1 )->size() ) ) ); -} - -/* - * int top () const - */ -HB_FUNC( QT_QRECT_TOP ) -{ - hb_retni( hbqt_par_QRect( 1 )->top() ); -} - -/* - * QPoint topLeft () const - */ -HB_FUNC( QT_QRECT_TOPLEFT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QRect( 1 )->topLeft() ) ) ); -} - -/* - * QPoint topRight () const - */ -HB_FUNC( QT_QRECT_TOPRIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QRect( 1 )->topRight() ) ) ); -} - -/* - * void translate ( int dx, int dy ) - */ -HB_FUNC( QT_QRECT_TRANSLATE ) -{ - hbqt_par_QRect( 1 )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void translate ( const QPoint & offset ) - */ -HB_FUNC( QT_QRECT_TRANSLATE_1 ) -{ - hbqt_par_QRect( 1 )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* - * QRect translated ( int dx, int dy ) const - */ -HB_FUNC( QT_QRECT_TRANSLATED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRect( 1 )->translated( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * QRect translated ( const QPoint & offset ) const - */ -HB_FUNC( QT_QRECT_TRANSLATED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRect( 1 )->translated( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QRect united ( const QRect & rectangle ) const - */ -HB_FUNC( QT_QRECT_UNITED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRect( 1 )->united( *hbqt_par_QRect( 2 ) ) ) ) ); -} - -/* - * int width () const - */ -HB_FUNC( QT_QRECT_WIDTH ) -{ - hb_retni( hbqt_par_QRect( 1 )->width() ); -} - -/* - * int x () const - */ -HB_FUNC( QT_QRECT_X ) -{ - hb_retni( hbqt_par_QRect( 1 )->x() ); -} - -/* - * int y () const - */ -HB_FUNC( QT_QRECT_Y ) -{ - hb_retni( hbqt_par_QRect( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QRectF.cpp b/harbour/contrib/hbqt/QRectF.cpp deleted file mode 100644 index b5dbabb45d..0000000000 --- a/harbour/contrib/hbqt/QRectF.cpp +++ /dev/null @@ -1,612 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QRectF () - * QRectF ( const QPointF & topLeft, const QSizeF & size ) - * QRectF ( const QPointF & topLeft, const QPointF & bottomRight ) - * QRectF ( qreal x, qreal y, qreal width, qreal height ) - * QRectF ( const QRect & rectangle ) - * ~QRectF () - */ - -HB_FUNC( QT_QRECTF ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QRectF* ) new QRectF( *hbqt_par_QRectF( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - pObj = ( QRectF* ) new QRectF( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) ; - } - else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QRectF* ) new QRectF( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ; - } - else - { - pObj = ( QRectF* ) new QRectF() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QRectF" ); - hb_retptrGC( p ); -} -/* - * void adjust ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) - */ -HB_FUNC( QT_QRECTF_ADJUST ) -{ - hbqt_par_QRectF( 1 )->adjust( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* - * QRectF adjusted ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) const - */ -HB_FUNC( QT_QRECTF_ADJUSTED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QRectF( 1 )->adjusted( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ) ) ); -} - -/* - * qreal bottom () const - */ -HB_FUNC( QT_QRECTF_BOTTOM ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->bottom() ); -} - -/* - * QPointF bottomLeft () const - */ -HB_FUNC( QT_QRECTF_BOTTOMLEFT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRectF( 1 )->bottomLeft() ) ) ); -} - -/* - * QPointF bottomRight () const - */ -HB_FUNC( QT_QRECTF_BOTTOMRIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRectF( 1 )->bottomRight() ) ) ); -} - -/* - * QPointF center () const - */ -HB_FUNC( QT_QRECTF_CENTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRectF( 1 )->center() ) ) ); -} - -/* - * bool contains ( const QPointF & point ) const - */ -HB_FUNC( QT_QRECTF_CONTAINS ) -{ - hb_retl( hbqt_par_QRectF( 1 )->contains( *hbqt_par_QPointF( 2 ) ) ); -} - -/* - * bool contains ( qreal x, qreal y ) const - */ -HB_FUNC( QT_QRECTF_CONTAINS_1 ) -{ - hb_retl( hbqt_par_QRectF( 1 )->contains( hb_parnd( 2 ), hb_parnd( 3 ) ) ); -} - -/* - * bool contains ( const QRectF & rectangle ) const - */ -HB_FUNC( QT_QRECTF_CONTAINS_2 ) -{ - hb_retl( hbqt_par_QRectF( 1 )->contains( *hbqt_par_QRectF( 2 ) ) ); -} - -/* - * void getCoords ( qreal * x1, qreal * y1, qreal * x2, qreal * y2 ) const - */ -HB_FUNC( QT_QRECTF_GETCOORDS ) -{ - qreal qrX1 = 0; - qreal qrY1 = 0; - qreal qrX2 = 0; - qreal qrY2 = 0; - - hbqt_par_QRectF( 1 )->getCoords( &qrX1, &qrY1, &qrX2, &qrY2 ); - - hb_stornd( qrX1, 2 ); - hb_stornd( qrY1, 3 ); - hb_stornd( qrX2, 4 ); - hb_stornd( qrY2, 5 ); -} - -/* - * void getRect ( qreal * x, qreal * y, qreal * width, qreal * height ) const - */ -HB_FUNC( QT_QRECTF_GETRECT ) -{ - qreal qrX = 0; - qreal qrY = 0; - qreal qrWidth = 0; - qreal qrHeight = 0; - - hbqt_par_QRectF( 1 )->getRect( &qrX, &qrY, &qrWidth, &qrHeight ); - - hb_stornd( qrX, 2 ); - hb_stornd( qrY, 3 ); - hb_stornd( qrWidth, 4 ); - hb_stornd( qrHeight, 5 ); -} - -/* - * qreal height () const - */ -HB_FUNC( QT_QRECTF_HEIGHT ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->height() ); -} - -/* - * QRectF intersected ( const QRectF & rectangle ) const - */ -HB_FUNC( QT_QRECTF_INTERSECTED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QRectF( 1 )->intersected( *hbqt_par_QRectF( 2 ) ) ) ) ); -} - -/* - * bool intersects ( const QRectF & rectangle ) const - */ -HB_FUNC( QT_QRECTF_INTERSECTS ) -{ - hb_retl( hbqt_par_QRectF( 1 )->intersects( *hbqt_par_QRectF( 2 ) ) ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QRECTF_ISEMPTY ) -{ - hb_retl( hbqt_par_QRectF( 1 )->isEmpty() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QRECTF_ISNULL ) -{ - hb_retl( hbqt_par_QRectF( 1 )->isNull() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QRECTF_ISVALID ) -{ - hb_retl( hbqt_par_QRectF( 1 )->isValid() ); -} - -/* - * qreal left () const - */ -HB_FUNC( QT_QRECTF_LEFT ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->left() ); -} - -/* - * void moveBottom ( qreal y ) - */ -HB_FUNC( QT_QRECTF_MOVEBOTTOM ) -{ - hbqt_par_QRectF( 1 )->moveBottom( hb_parnd( 2 ) ); -} - -/* - * void moveBottomLeft ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_MOVEBOTTOMLEFT ) -{ - hbqt_par_QRectF( 1 )->moveBottomLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void moveBottomRight ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_MOVEBOTTOMRIGHT ) -{ - hbqt_par_QRectF( 1 )->moveBottomRight( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void moveCenter ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_MOVECENTER ) -{ - hbqt_par_QRectF( 1 )->moveCenter( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void moveLeft ( qreal x ) - */ -HB_FUNC( QT_QRECTF_MOVELEFT ) -{ - hbqt_par_QRectF( 1 )->moveLeft( hb_parnd( 2 ) ); -} - -/* - * void moveRight ( qreal x ) - */ -HB_FUNC( QT_QRECTF_MOVERIGHT ) -{ - hbqt_par_QRectF( 1 )->moveRight( hb_parnd( 2 ) ); -} - -/* - * void moveTo ( qreal x, qreal y ) - */ -HB_FUNC( QT_QRECTF_MOVETO ) -{ - hbqt_par_QRectF( 1 )->moveTo( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void moveTo ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_MOVETO_1 ) -{ - hbqt_par_QRectF( 1 )->moveTo( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void moveTop ( qreal y ) - */ -HB_FUNC( QT_QRECTF_MOVETOP ) -{ - hbqt_par_QRectF( 1 )->moveTop( hb_parnd( 2 ) ); -} - -/* - * void moveTopLeft ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_MOVETOPLEFT ) -{ - hbqt_par_QRectF( 1 )->moveTopLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void moveTopRight ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_MOVETOPRIGHT ) -{ - hbqt_par_QRectF( 1 )->moveTopRight( *hbqt_par_QPointF( 2 ) ); -} - -/* - * QRectF normalized () const - */ -HB_FUNC( QT_QRECTF_NORMALIZED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QRectF( 1 )->normalized() ) ) ); -} - -/* - * qreal right () const - */ -HB_FUNC( QT_QRECTF_RIGHT ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->right() ); -} - -/* - * void setBottom ( qreal y ) - */ -HB_FUNC( QT_QRECTF_SETBOTTOM ) -{ - hbqt_par_QRectF( 1 )->setBottom( hb_parnd( 2 ) ); -} - -/* - * void setBottomLeft ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_SETBOTTOMLEFT ) -{ - hbqt_par_QRectF( 1 )->setBottomLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setBottomRight ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_SETBOTTOMRIGHT ) -{ - hbqt_par_QRectF( 1 )->setBottomRight( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setCoords ( qreal x1, qreal y1, qreal x2, qreal y2 ) - */ -HB_FUNC( QT_QRECTF_SETCOORDS ) -{ - hbqt_par_QRectF( 1 )->setCoords( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* - * void setHeight ( qreal height ) - */ -HB_FUNC( QT_QRECTF_SETHEIGHT ) -{ - hbqt_par_QRectF( 1 )->setHeight( hb_parnd( 2 ) ); -} - -/* - * void setLeft ( qreal x ) - */ -HB_FUNC( QT_QRECTF_SETLEFT ) -{ - hbqt_par_QRectF( 1 )->setLeft( hb_parnd( 2 ) ); -} - -/* - * void setRect ( qreal x, qreal y, qreal width, qreal height ) - */ -HB_FUNC( QT_QRECTF_SETRECT ) -{ - hbqt_par_QRectF( 1 )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); -} - -/* - * void setRight ( qreal x ) - */ -HB_FUNC( QT_QRECTF_SETRIGHT ) -{ - hbqt_par_QRectF( 1 )->setRight( hb_parnd( 2 ) ); -} - -/* - * void setSize ( const QSizeF & size ) - */ -HB_FUNC( QT_QRECTF_SETSIZE ) -{ - hbqt_par_QRectF( 1 )->setSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* - * void setTop ( qreal y ) - */ -HB_FUNC( QT_QRECTF_SETTOP ) -{ - hbqt_par_QRectF( 1 )->setTop( hb_parnd( 2 ) ); -} - -/* - * void setTopLeft ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_SETTOPLEFT ) -{ - hbqt_par_QRectF( 1 )->setTopLeft( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setTopRight ( const QPointF & position ) - */ -HB_FUNC( QT_QRECTF_SETTOPRIGHT ) -{ - hbqt_par_QRectF( 1 )->setTopRight( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setWidth ( qreal width ) - */ -HB_FUNC( QT_QRECTF_SETWIDTH ) -{ - hbqt_par_QRectF( 1 )->setWidth( hb_parnd( 2 ) ); -} - -/* - * void setX ( qreal x ) - */ -HB_FUNC( QT_QRECTF_SETX ) -{ - hbqt_par_QRectF( 1 )->setX( hb_parnd( 2 ) ); -} - -/* - * void setY ( qreal y ) - */ -HB_FUNC( QT_QRECTF_SETY ) -{ - hbqt_par_QRectF( 1 )->setY( hb_parnd( 2 ) ); -} - -/* - * QSizeF size () const - */ -HB_FUNC( QT_QRECTF_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QRectF( 1 )->size() ) ) ); -} - -/* - * QRect toAlignedRect () const - */ -HB_FUNC( QT_QRECTF_TOALIGNEDRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRectF( 1 )->toAlignedRect() ) ) ); -} - -/* - * QRect toRect () const - */ -HB_FUNC( QT_QRECTF_TORECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRectF( 1 )->toRect() ) ) ); -} - -/* - * qreal top () const - */ -HB_FUNC( QT_QRECTF_TOP ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->top() ); -} - -/* - * QPointF topLeft () const - */ -HB_FUNC( QT_QRECTF_TOPLEFT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRectF( 1 )->topLeft() ) ) ); -} - -/* - * QPointF topRight () const - */ -HB_FUNC( QT_QRECTF_TOPRIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QRectF( 1 )->topRight() ) ) ); -} - -/* - * void translate ( qreal dx, qreal dy ) - */ -HB_FUNC( QT_QRECTF_TRANSLATE ) -{ - hbqt_par_QRectF( 1 )->translate( hb_parnd( 2 ), hb_parnd( 3 ) ); -} - -/* - * void translate ( const QPointF & offset ) - */ -HB_FUNC( QT_QRECTF_TRANSLATE_1 ) -{ - hbqt_par_QRectF( 1 )->translate( *hbqt_par_QPointF( 2 ) ); -} - -/* - * QRectF translated ( qreal dx, qreal dy ) const - */ -HB_FUNC( QT_QRECTF_TRANSLATED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QRectF( 1 )->translated( hb_parnd( 2 ), hb_parnd( 3 ) ) ) ) ); -} - -/* - * QRectF translated ( const QPointF & offset ) const - */ -HB_FUNC( QT_QRECTF_TRANSLATED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QRectF( 1 )->translated( *hbqt_par_QPointF( 2 ) ) ) ) ); -} - -/* - * QRectF united ( const QRectF & rectangle ) const - */ -HB_FUNC( QT_QRECTF_UNITED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QRectF( 1 )->united( *hbqt_par_QRectF( 2 ) ) ) ) ); -} - -/* - * qreal width () const - */ -HB_FUNC( QT_QRECTF_WIDTH ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->width() ); -} - -/* - * qreal x () const - */ -HB_FUNC( QT_QRECTF_X ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->x() ); -} - -/* - * qreal y () const - */ -HB_FUNC( QT_QRECTF_Y ) -{ - hb_retnd( hbqt_par_QRectF( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QRegion.cpp b/harbour/contrib/hbqt/QRegion.cpp deleted file mode 100644 index 3d30eab328..0000000000 --- a/harbour/contrib/hbqt/QRegion.cpp +++ /dev/null @@ -1,293 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum RegionType { Rectangle, Ellipse } - */ - -/* - * Constructed[ 18/20 [ 90.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QVector rects () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // Handle handle () const - */ - -#include - -#include - - -/* - * QRegion () - * QRegion ( int x, int y, int w, int h, RegionType t = Rectangle ) - * QRegion ( const QPolygon & a, Qt::FillRule fillRule = Qt::OddEvenFill ) - * QRegion ( const QRegion & r ) - * QRegion ( const QBitmap & bm ) - * QRegion ( const QRect & r, RegionType t = Rectangle ) - * ~QRegion () - */ - -HB_FUNC( QT_QREGION ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QRegion* ) new QRegion( *hbqt_par_QRegion( 1 ) ) ; - } - else if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - pObj = ( QRegion* ) new QRegion( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), HB_ISNUM( 5 ) ? ( QRegion::RegionType ) hb_parni( 5 ) : QRegion::Rectangle ) ; - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( ( QString ) "QPolygon" == hbqt_par_QString( 1 ) ) - { - pObj = ( QRegion* ) new QRegion( *hbqt_par_QPolygon( 2 ), HB_ISNUM( 3 ) ? ( Qt::FillRule ) hb_parni( 3 ) : Qt::OddEvenFill ) ; - } - else if( ( QString ) "QBitmap" == hbqt_par_QString( 1 ) ) - { - pObj = ( QRegion* ) new QRegion( *hbqt_par_QBitmap( 2 ) ) ; - } - else if( ( QString ) "QRect" == hbqt_par_QString( 1 ) ) - { - pObj = ( QRegion* ) new QRegion( *hbqt_par_QRect( 2 ), HB_ISNUM( 3 ) ? ( QRegion::RegionType ) hb_parni( 3 ) : QRegion::Rectangle ) ; - } - else - { - pObj = ( QRegion* ) new QRegion() ; - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QRegion* ) new QRegion( *hbqt_par_QRect( 1 ), ( QRegion::RegionType ) hb_parni( 2 ) ) ; - } - else - { - pObj = ( QRegion* ) new QRegion() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QRegion" ); - hb_retptrGC( p ); -} -/* - * QRect boundingRect () const - */ -HB_FUNC( QT_QREGION_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QRegion( 1 )->boundingRect() ) ) ); -} - -/* - * bool contains ( const QPoint & p ) const - */ -HB_FUNC( QT_QREGION_CONTAINS ) -{ - hb_retl( hbqt_par_QRegion( 1 )->contains( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * bool contains ( const QRect & r ) const - */ -HB_FUNC( QT_QREGION_CONTAINS_1 ) -{ - hb_retl( hbqt_par_QRegion( 1 )->contains( *hbqt_par_QRect( 2 ) ) ); -} - -/* - * QRegion intersected ( const QRegion & r ) const - */ -HB_FUNC( QT_QREGION_INTERSECTED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->intersected( *hbqt_par_QRegion( 2 ) ) ) ) ); -} - -/* - * QRegion intersected ( const QRect & rect ) const - */ -HB_FUNC( QT_QREGION_INTERSECTED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->intersected( *hbqt_par_QRect( 2 ) ) ) ) ); -} - -/* - * bool intersects ( const QRegion & region ) const - */ -HB_FUNC( QT_QREGION_INTERSECTS ) -{ - hb_retl( hbqt_par_QRegion( 1 )->intersects( *hbqt_par_QRegion( 2 ) ) ); -} - -/* - * bool intersects ( const QRect & rect ) const - */ -HB_FUNC( QT_QREGION_INTERSECTS_1 ) -{ - hb_retl( hbqt_par_QRegion( 1 )->intersects( *hbqt_par_QRect( 2 ) ) ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QREGION_ISEMPTY ) -{ - hb_retl( hbqt_par_QRegion( 1 )->isEmpty() ); -} - -/* - * int numRects () const - */ -HB_FUNC( QT_QREGION_NUMRECTS ) -{ - hb_retni( hbqt_par_QRegion( 1 )->numRects() ); -} - -/* - * void setRects ( const QRect * rects, int number ) - */ -HB_FUNC( QT_QREGION_SETRECTS ) -{ - hbqt_par_QRegion( 1 )->setRects( hbqt_par_QRect( 2 ), hb_parni( 3 ) ); -} - -/* - * QRegion subtracted ( const QRegion & r ) const - */ -HB_FUNC( QT_QREGION_SUBTRACTED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->subtracted( *hbqt_par_QRegion( 2 ) ) ) ) ); -} - -/* - * void translate ( int dx, int dy ) - */ -HB_FUNC( QT_QREGION_TRANSLATE ) -{ - hbqt_par_QRegion( 1 )->translate( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void translate ( const QPoint & point ) - */ -HB_FUNC( QT_QREGION_TRANSLATE_1 ) -{ - hbqt_par_QRegion( 1 )->translate( *hbqt_par_QPoint( 2 ) ); -} - -/* - * QRegion translated ( int dx, int dy ) const - */ -HB_FUNC( QT_QREGION_TRANSLATED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->translated( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * QRegion translated ( const QPoint & p ) const - */ -HB_FUNC( QT_QREGION_TRANSLATED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->translated( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QRegion united ( const QRegion & r ) const - */ -HB_FUNC( QT_QREGION_UNITED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->united( *hbqt_par_QRegion( 2 ) ) ) ) ); -} - -/* - * QRegion united ( const QRect & rect ) const - */ -HB_FUNC( QT_QREGION_UNITED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->united( *hbqt_par_QRect( 2 ) ) ) ) ); -} - -/* - * QRegion xored ( const QRegion & r ) const - */ -HB_FUNC( QT_QREGION_XORED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QRegion( 1 )->xored( *hbqt_par_QRegion( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QResizeEvent.cpp b/harbour/contrib/hbqt/QResizeEvent.cpp deleted file mode 100644 index 802d2a67ca..0000000000 --- a/harbour/contrib/hbqt/QResizeEvent.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QResizeEvent ( const QSize & size, const QSize & oldSize ) - */ - -HB_FUNC( QT_QRESIZEEVENT ) -{ -} -/* - * const QSize & oldSize () const - */ -HB_FUNC( QT_QRESIZEEVENT_OLDSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QResizeEvent( 1 )->oldSize() ) ) ); -} - -/* - * const QSize & size () const - */ -HB_FUNC( QT_QRESIZEEVENT_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QResizeEvent( 1 )->size() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QResource.cpp b/harbour/contrib/hbqt/QResource.cpp deleted file mode 100644 index 3ecee0bef0..0000000000 --- a/harbour/contrib/hbqt/QResource.cpp +++ /dev/null @@ -1,186 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QResource ( const QString & file = QString(), const QLocale & locale = QLocale() ) - * ~QResource () - */ - -HB_FUNC( QT_QRESOURCE ) -{ - void * pObj = NULL; - - pObj = ( QResource* ) new QResource() ; - - hb_retptr( pObj ); -} -/* - * QString absoluteFilePath () const - */ -HB_FUNC( QT_QRESOURCE_ABSOLUTEFILEPATH ) -{ - hb_retc( hbqt_par_QResource( 1 )->absoluteFilePath().toAscii().data() ); -} - -/* - * const uchar * data () const - */ -HB_FUNC( QT_QRESOURCE_DATA ) -{ - hb_retptr( ( uchar* ) hbqt_par_QResource( 1 )->data() ); -} - -/* - * QString fileName () const - */ -HB_FUNC( QT_QRESOURCE_FILENAME ) -{ - hb_retc( hbqt_par_QResource( 1 )->fileName().toAscii().data() ); -} - -/* - * bool isCompressed () const - */ -HB_FUNC( QT_QRESOURCE_ISCOMPRESSED ) -{ - hb_retl( hbqt_par_QResource( 1 )->isCompressed() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QRESOURCE_ISVALID ) -{ - hb_retl( hbqt_par_QResource( 1 )->isValid() ); -} - -/* - * QLocale locale () const - */ -HB_FUNC( QT_QRESOURCE_LOCALE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLocale( hbqt_par_QResource( 1 )->locale() ) ) ); -} - -/* - * void setFileName ( const QString & file ) - */ -HB_FUNC( QT_QRESOURCE_SETFILENAME ) -{ - hbqt_par_QResource( 1 )->setFileName( hbqt_par_QString( 2 ) ); -} - -/* - * void setLocale ( const QLocale & locale ) - */ -HB_FUNC( QT_QRESOURCE_SETLOCALE ) -{ - hbqt_par_QResource( 1 )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - -/* - * qint64 size () const - */ -HB_FUNC( QT_QRESOURCE_SIZE ) -{ - hb_retnint( hbqt_par_QResource( 1 )->size() ); -} - -/* - * bool registerResource ( const QString & rccFileName, const QString & mapRoot = QString() ) - */ -HB_FUNC( QT_QRESOURCE_REGISTERRESOURCE ) -{ - hb_retl( hbqt_par_QResource( 1 )->registerResource( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QStringList searchPaths () - */ -HB_FUNC( QT_QRESOURCE_SEARCHPATHS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QResource( 1 )->searchPaths() ) ) ); -} - -/* - * bool unregisterResource ( const QString & rccFileName, const QString & mapRoot = QString() ) - */ -HB_FUNC( QT_QRESOURCE_UNREGISTERRESOURCE ) -{ - hb_retl( hbqt_par_QResource( 1 )->unregisterResource( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QScrollArea.cpp b/harbour/contrib/hbqt/QScrollArea.cpp deleted file mode 100644 index ce891e8dae..0000000000 --- a/harbour/contrib/hbqt/QScrollArea.cpp +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QScrollArea ( QWidget * parent = 0 ) - * ~QScrollArea () - */ - -HB_FUNC( QT_QSCROLLAREA ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QScrollArea > pObj = NULL; - - pObj = ( QScrollArea* ) new QScrollArea( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QSCROLLAREA_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QScrollArea( 1 )->alignment() ); -} - -/* - * void ensureVisible ( int x, int y, int xmargin = 50, int ymargin = 50 ) - */ -HB_FUNC( QT_QSCROLLAREA_ENSUREVISIBLE ) -{ - hbqt_par_QScrollArea( 1 )->ensureVisible( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : 50 ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 50 ) ); -} - -/* - * void ensureWidgetVisible ( QWidget * childWidget, int xmargin = 50, int ymargin = 50 ) - */ -HB_FUNC( QT_QSCROLLAREA_ENSUREWIDGETVISIBLE ) -{ - hbqt_par_QScrollArea( 1 )->ensureWidgetVisible( hbqt_par_QWidget( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : 50 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : 50 ) ); -} - -/* - * void setAlignment ( Qt::Alignment ) - */ -HB_FUNC( QT_QSCROLLAREA_SETALIGNMENT ) -{ - hbqt_par_QScrollArea( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QSCROLLAREA_SETWIDGET ) -{ - hbqt_par_QScrollArea( 1 )->setWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setWidgetResizable ( bool resizable ) - */ -HB_FUNC( QT_QSCROLLAREA_SETWIDGETRESIZABLE ) -{ - hbqt_par_QScrollArea( 1 )->setWidgetResizable( hb_parl( 2 ) ); -} - -/* - * QWidget * takeWidget () - */ -HB_FUNC( QT_QSCROLLAREA_TAKEWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QScrollArea( 1 )->takeWidget() ); -} - -/* - * QWidget * widget () const - */ -HB_FUNC( QT_QSCROLLAREA_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QScrollArea( 1 )->widget() ); -} - -/* - * bool widgetResizable () const - */ -HB_FUNC( QT_QSCROLLAREA_WIDGETRESIZABLE ) -{ - hb_retl( hbqt_par_QScrollArea( 1 )->widgetResizable() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QScrollBar.cpp b/harbour/contrib/hbqt/QScrollBar.cpp deleted file mode 100644 index 1841fb09c4..0000000000 --- a/harbour/contrib/hbqt/QScrollBar.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QScrollBar ( QWidget * parent = 0 ) - * QScrollBar ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QScrollBar () - */ - -HB_FUNC( QT_QSCROLLBAR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QScrollBar > pObj = NULL; - - pObj = ( QScrollBar* ) new QScrollBar( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSignalMapper.cpp b/harbour/contrib/hbqt/QSignalMapper.cpp deleted file mode 100644 index da9aa82c26..0000000000 --- a/harbour/contrib/hbqt/QSignalMapper.cpp +++ /dev/null @@ -1,181 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSignalMapper ( QObject * parent = 0 ) - * ~QSignalMapper () - */ - -HB_FUNC( QT_QSIGNALMAPPER ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSignalMapper > pObj = NULL; - - pObj = new QSignalMapper( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QObject * mapping ( int id ) const - */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING ) -{ - hb_retptr( ( QObject* ) hbqt_par_QSignalMapper( 1 )->mapping( hb_parni( 2 ) ) ); -} - -/* - * QObject * mapping ( const QString & id ) const - */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING_1 ) -{ - hb_retptr( ( QObject* ) hbqt_par_QSignalMapper( 1 )->mapping( hbqt_par_QString( 2 ) ) ); -} - -/* - * QObject * mapping ( QWidget * widget ) const - */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING_2 ) -{ - hb_retptr( ( QObject* ) hbqt_par_QSignalMapper( 1 )->mapping( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * QObject * mapping ( QObject * object ) const - */ -HB_FUNC( QT_QSIGNALMAPPER_MAPPING_3 ) -{ - hb_retptr( ( QObject* ) hbqt_par_QSignalMapper( 1 )->mapping( hbqt_par_QObject( 2 ) ) ); -} - -/* - * void removeMappings ( QObject * sender ) - */ -HB_FUNC( QT_QSIGNALMAPPER_REMOVEMAPPINGS ) -{ - hbqt_par_QSignalMapper( 1 )->removeMappings( hbqt_par_QObject( 2 ) ); -} - -/* - * void setMapping ( QObject * sender, int id ) - */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING ) -{ - hbqt_par_QSignalMapper( 1 )->setMapping( hbqt_par_QObject( 2 ), hb_parni( 3 ) ); -} - -/* - * void setMapping ( QObject * sender, const QString & text ) - */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING_1 ) -{ - hbqt_par_QSignalMapper( 1 )->setMapping( hbqt_par_QObject( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setMapping ( QObject * sender, QWidget * widget ) - */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING_2 ) -{ - hbqt_par_QSignalMapper( 1 )->setMapping( hbqt_par_QObject( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * void setMapping ( QObject * sender, QObject * object ) - */ -HB_FUNC( QT_QSIGNALMAPPER_SETMAPPING_3 ) -{ - hbqt_par_QSignalMapper( 1 )->setMapping( hbqt_par_QObject( 2 ), hbqt_par_QObject( 3 ) ); -} - -/* - * void map () - */ -HB_FUNC( QT_QSIGNALMAPPER_MAP ) -{ - hbqt_par_QSignalMapper( 1 )->map(); -} - -/* - * void map ( QObject * sender ) - */ -HB_FUNC( QT_QSIGNALMAPPER_MAP_1 ) -{ - hbqt_par_QSignalMapper( 1 )->map( hbqt_par_QObject( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSize.cpp b/harbour/contrib/hbqt/QSize.cpp deleted file mode 100644 index 38c6b9f9ba..0000000000 --- a/harbour/contrib/hbqt/QSize.cpp +++ /dev/null @@ -1,217 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSize () - * QSize ( int width, int height ) - * ~QSize () - */ - -HB_FUNC( QT_QSIZE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QSize* ) new QSize( hb_parni( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QSize* ) new QSize( *hbqt_par_QSize( 1 ) ) ; - } - else - { - pObj = ( QSize* ) new QSize() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QSize" ); - hb_retptrGC( p ); -} -/* - * int height () const - */ -HB_FUNC( QT_QSIZE_HEIGHT ) -{ - hb_retni( hbqt_par_QSize( 1 )->height() ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QSIZE_ISEMPTY ) -{ - hb_retl( hbqt_par_QSize( 1 )->isEmpty() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QSIZE_ISNULL ) -{ - hb_retl( hbqt_par_QSize( 1 )->isNull() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QSIZE_ISVALID ) -{ - hb_retl( hbqt_par_QSize( 1 )->isValid() ); -} - -/* - * int & rheight () - */ -HB_FUNC( QT_QSIZE_RHEIGHT ) -{ - hb_retni( hbqt_par_QSize( 1 )->rheight() ); -} - -/* - * int & rwidth () - */ -HB_FUNC( QT_QSIZE_RWIDTH ) -{ - hb_retni( hbqt_par_QSize( 1 )->rwidth() ); -} - -/* - * void scale ( int width, int height, Qt::AspectRatioMode mode ) - */ -HB_FUNC( QT_QSIZE_SCALE ) -{ - hbqt_par_QSize( 1 )->scale( hb_parni( 2 ), hb_parni( 3 ), ( Qt::AspectRatioMode ) hb_parni( 4 ) ); -} - -/* - * void scale ( const QSize & size, Qt::AspectRatioMode mode ) - */ -HB_FUNC( QT_QSIZE_SCALE_1 ) -{ - hbqt_par_QSize( 1 )->scale( *hbqt_par_QSize( 2 ), ( Qt::AspectRatioMode ) hb_parni( 3 ) ); -} - -/* - * void setHeight ( int height ) - */ -HB_FUNC( QT_QSIZE_SETHEIGHT ) -{ - hbqt_par_QSize( 1 )->setHeight( hb_parni( 2 ) ); -} - -/* - * void setWidth ( int width ) - */ -HB_FUNC( QT_QSIZE_SETWIDTH ) -{ - hbqt_par_QSize( 1 )->setWidth( hb_parni( 2 ) ); -} - -/* - * void transpose () - */ -HB_FUNC( QT_QSIZE_TRANSPOSE ) -{ - hbqt_par_QSize( 1 )->transpose(); -} - -/* - * int width () const - */ -HB_FUNC( QT_QSIZE_WIDTH ) -{ - hb_retni( hbqt_par_QSize( 1 )->width() ); -} - -/* - * QSize boundedTo ( const QSize & otherSize ) const - */ -HB_FUNC( QT_QSIZE_BOUNDEDTO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QSize( 1 )->boundedTo( *hbqt_par_QSize( 2 ) ) ) ) ); -} - -/* - * QSize expandedTo ( const QSize & otherSize ) const - */ -HB_FUNC( QT_QSIZE_EXPANDEDTO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QSize( 1 )->expandedTo( *hbqt_par_QSize( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSizeF.cpp b/harbour/contrib/hbqt/QSizeF.cpp deleted file mode 100644 index 2dc6d3eba5..0000000000 --- a/harbour/contrib/hbqt/QSizeF.cpp +++ /dev/null @@ -1,222 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSizeF () - * QSizeF ( const QSize & size ) - * QSizeF ( qreal width, qreal height ) - * ~QSizeF () - */ - -HB_FUNC( QT_QSIZEF ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = ( QSizeF* ) new QSizeF( hb_parnd( 1 ), hb_parnd( 2 ) ) ; - } - else - { - pObj = ( QSizeF* ) new QSizeF() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QSizeF" ); - hb_retptrGC( p ); -} -/* - * QSizeF boundedTo ( const QSizeF & otherSize ) const - */ -HB_FUNC( QT_QSIZEF_BOUNDEDTO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QSizeF( 1 )->boundedTo( *hbqt_par_QSizeF( 2 ) ) ) ) ); -} - -/* - * QSizeF expandedTo ( const QSizeF & otherSize ) const - */ -HB_FUNC( QT_QSIZEF_EXPANDEDTO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QSizeF( 1 )->expandedTo( *hbqt_par_QSizeF( 2 ) ) ) ) ); -} - -/* - * qreal height () const - */ -HB_FUNC( QT_QSIZEF_HEIGHT ) -{ - hb_retnd( hbqt_par_QSizeF( 1 )->height() ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QSIZEF_ISEMPTY ) -{ - hb_retl( hbqt_par_QSizeF( 1 )->isEmpty() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QSIZEF_ISNULL ) -{ - hb_retl( hbqt_par_QSizeF( 1 )->isNull() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QSIZEF_ISVALID ) -{ - hb_retl( hbqt_par_QSizeF( 1 )->isValid() ); -} - -/* - * qreal & rheight () - */ -HB_FUNC( QT_QSIZEF_RHEIGHT ) -{ - hb_retnd( hbqt_par_QSizeF( 1 )->rheight() ); -} - -/* - * qreal & rwidth () - */ -HB_FUNC( QT_QSIZEF_RWIDTH ) -{ - hb_retnd( hbqt_par_QSizeF( 1 )->rwidth() ); -} - -/* - * void scale ( qreal width, qreal height, Qt::AspectRatioMode mode ) - */ -HB_FUNC( QT_QSIZEF_SCALE ) -{ - hbqt_par_QSizeF( 1 )->scale( hb_parnd( 2 ), hb_parnd( 3 ), ( Qt::AspectRatioMode ) hb_parni( 4 ) ); -} - -/* - * void scale ( const QSizeF & size, Qt::AspectRatioMode mode ) - */ -HB_FUNC( QT_QSIZEF_SCALE_1 ) -{ - hbqt_par_QSizeF( 1 )->scale( *hbqt_par_QSizeF( 2 ), ( Qt::AspectRatioMode ) hb_parni( 3 ) ); -} - -/* - * void setHeight ( qreal height ) - */ -HB_FUNC( QT_QSIZEF_SETHEIGHT ) -{ - hbqt_par_QSizeF( 1 )->setHeight( hb_parnd( 2 ) ); -} - -/* - * void setWidth ( qreal width ) - */ -HB_FUNC( QT_QSIZEF_SETWIDTH ) -{ - hbqt_par_QSizeF( 1 )->setWidth( hb_parnd( 2 ) ); -} - -/* - * QSize toSize () const - */ -HB_FUNC( QT_QSIZEF_TOSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QSizeF( 1 )->toSize() ) ) ); -} - -/* - * void transpose () - */ -HB_FUNC( QT_QSIZEF_TRANSPOSE ) -{ - hbqt_par_QSizeF( 1 )->transpose(); -} - -/* - * qreal width () const - */ -HB_FUNC( QT_QSIZEF_WIDTH ) -{ - hb_retnd( hbqt_par_QSizeF( 1 )->width() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSizeGrip.cpp b/harbour/contrib/hbqt/QSizeGrip.cpp deleted file mode 100644 index 353647b032..0000000000 --- a/harbour/contrib/hbqt/QSizeGrip.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSizeGrip ( QWidget * parent ) - * ~QSizeGrip () - */ - -HB_FUNC( QT_QSIZEGRIP ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSizeGrip > pObj = NULL; - - pObj = ( QSizeGrip* ) new QSizeGrip( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSizePolicy.cpp b/harbour/contrib/hbqt/QSizePolicy.cpp deleted file mode 100644 index 7bc4a46624..0000000000 --- a/harbour/contrib/hbqt/QSizePolicy.cpp +++ /dev/null @@ -1,213 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Policy { Fixed, Minimum, Maximum, Preferred, ..., Ignored } - * enum PolicyFlag { GrowFlag, ExpandFlag, ShrinkFlag, IgnoreFlag } - * enum ControlType { DefaultType, ButtonBox, CheckBox, ComboBox, ..., ToolButton } - * flags ControlTypes - */ - -#include - -#include - - -/* - * QSizePolicy () - * QSizePolicy ( Policy horizontal, Policy vertical ) - * QSizePolicy ( Policy horizontal, Policy vertical, ControlType type ) - */ - -HB_FUNC( QT_QSIZEPOLICY ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QSizePolicy* ) new QSizePolicy() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QSizePolicy" ); - hb_retptrGC( p ); -} -/* - * ControlType controlType () const - */ -HB_FUNC( QT_QSIZEPOLICY_CONTROLTYPE ) -{ - hb_retni( ( QSizePolicy::ControlType ) hbqt_par_QSizePolicy( 1 )->controlType() ); -} - -/* - * Qt::Orientations expandingDirections () const - */ -HB_FUNC( QT_QSIZEPOLICY_EXPANDINGDIRECTIONS ) -{ - hb_retni( ( Qt::Orientations ) hbqt_par_QSizePolicy( 1 )->expandingDirections() ); -} - -/* - * bool hasHeightForWidth () const - */ -HB_FUNC( QT_QSIZEPOLICY_HASHEIGHTFORWIDTH ) -{ - hb_retl( hbqt_par_QSizePolicy( 1 )->hasHeightForWidth() ); -} - -/* - * Policy horizontalPolicy () const - */ -HB_FUNC( QT_QSIZEPOLICY_HORIZONTALPOLICY ) -{ - hb_retni( ( QSizePolicy::Policy ) hbqt_par_QSizePolicy( 1 )->horizontalPolicy() ); -} - -/* - * int horizontalStretch () const - */ -HB_FUNC( QT_QSIZEPOLICY_HORIZONTALSTRETCH ) -{ - hb_retni( hbqt_par_QSizePolicy( 1 )->horizontalStretch() ); -} - -/* - * void setControlType ( ControlType type ) - */ -HB_FUNC( QT_QSIZEPOLICY_SETCONTROLTYPE ) -{ - hbqt_par_QSizePolicy( 1 )->setControlType( ( QSizePolicy::ControlType ) hb_parni( 2 ) ); -} - -/* - * void setHeightForWidth ( bool dependent ) - */ -HB_FUNC( QT_QSIZEPOLICY_SETHEIGHTFORWIDTH ) -{ - hbqt_par_QSizePolicy( 1 )->setHeightForWidth( hb_parl( 2 ) ); -} - -/* - * void setHorizontalPolicy ( Policy policy ) - */ -HB_FUNC( QT_QSIZEPOLICY_SETHORIZONTALPOLICY ) -{ - hbqt_par_QSizePolicy( 1 )->setHorizontalPolicy( ( QSizePolicy::Policy ) hb_parni( 2 ) ); -} - -/* - * void setHorizontalStretch ( uchar stretchFactor ) - */ -HB_FUNC( QT_QSIZEPOLICY_SETHORIZONTALSTRETCH ) -{ - hbqt_par_QSizePolicy( 1 )->setHorizontalStretch( ( char ) hb_parni( 2 ) ); -} - -/* - * void setVerticalPolicy ( Policy policy ) - */ -HB_FUNC( QT_QSIZEPOLICY_SETVERTICALPOLICY ) -{ - hbqt_par_QSizePolicy( 1 )->setVerticalPolicy( ( QSizePolicy::Policy ) hb_parni( 2 ) ); -} - -/* - * void setVerticalStretch ( uchar stretchFactor ) - */ -HB_FUNC( QT_QSIZEPOLICY_SETVERTICALSTRETCH ) -{ - hbqt_par_QSizePolicy( 1 )->setVerticalStretch( ( char ) hb_parni( 2 ) ); -} - -/* - * void transpose () - */ -HB_FUNC( QT_QSIZEPOLICY_TRANSPOSE ) -{ - hbqt_par_QSizePolicy( 1 )->transpose(); -} - -/* - * Policy verticalPolicy () const - */ -HB_FUNC( QT_QSIZEPOLICY_VERTICALPOLICY ) -{ - hb_retni( ( QSizePolicy::Policy ) hbqt_par_QSizePolicy( 1 )->verticalPolicy() ); -} - -/* - * int verticalStretch () const - */ -HB_FUNC( QT_QSIZEPOLICY_VERTICALSTRETCH ) -{ - hb_retni( hbqt_par_QSizePolicy( 1 )->verticalStretch() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSlider.cpp b/harbour/contrib/hbqt/QSlider.cpp deleted file mode 100644 index b881310dc6..0000000000 --- a/harbour/contrib/hbqt/QSlider.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum TickPosition { NoTicks, TicksBothSides, TicksAbove, TicksBelow, TicksLeft, TicksRight } - */ - -#include - -#include - - -/* - * QSlider ( QWidget * parent = 0 ) - * QSlider ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QSlider () - */ - -HB_FUNC( QT_QSLIDER ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSlider > pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - pObj = ( QSlider* ) new QSlider( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = ( QSlider* ) new QSlider( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void setTickInterval ( int ti ) - */ -HB_FUNC( QT_QSLIDER_SETTICKINTERVAL ) -{ - hbqt_par_QSlider( 1 )->setTickInterval( hb_parni( 2 ) ); -} - -/* - * void setTickPosition ( TickPosition position ) - */ -HB_FUNC( QT_QSLIDER_SETTICKPOSITION ) -{ - hbqt_par_QSlider( 1 )->setTickPosition( ( QSlider::TickPosition ) hb_parni( 2 ) ); -} - -/* - * int tickInterval () const - */ -HB_FUNC( QT_QSLIDER_TICKINTERVAL ) -{ - hb_retni( hbqt_par_QSlider( 1 )->tickInterval() ); -} - -/* - * TickPosition tickPosition () const - */ -HB_FUNC( QT_QSLIDER_TICKPOSITION ) -{ - hb_retni( ( QSlider::TickPosition ) hbqt_par_QSlider( 1 )->tickPosition() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSound.cpp b/harbour/contrib/hbqt/QSound.cpp deleted file mode 100644 index 525c48b89d..0000000000 --- a/harbour/contrib/hbqt/QSound.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSound ( const QString & filename, QObject * parent = 0 ) - * ~QSound () - */ - -HB_FUNC( QT_QSOUND ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSound > pObj = NULL; - - pObj = ( QSound* ) new QSound( hbqt_par_QString( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QString fileName () const - */ -HB_FUNC( QT_QSOUND_FILENAME ) -{ - hb_retc( hbqt_par_QSound( 1 )->fileName().toAscii().data() ); -} - -/* - * bool isFinished () const - */ -HB_FUNC( QT_QSOUND_ISFINISHED ) -{ - hb_retl( hbqt_par_QSound( 1 )->isFinished() ); -} - -/* - * int loops () const - */ -HB_FUNC( QT_QSOUND_LOOPS ) -{ - hb_retni( hbqt_par_QSound( 1 )->loops() ); -} - -/* - * int loopsRemaining () const - */ -HB_FUNC( QT_QSOUND_LOOPSREMAINING ) -{ - hb_retni( hbqt_par_QSound( 1 )->loopsRemaining() ); -} - -/* - * void setLoops ( int number ) - */ -HB_FUNC( QT_QSOUND_SETLOOPS ) -{ - hbqt_par_QSound( 1 )->setLoops( hb_parni( 2 ) ); -} - -/* - * bool isAvailable () - */ -HB_FUNC( QT_QSOUND_ISAVAILABLE ) -{ - hb_retl( hbqt_par_QSound( 1 )->isAvailable() ); -} - -/* - * void play ( const QString & filename ) - */ -HB_FUNC( QT_QSOUND_PLAY ) -{ - hbqt_par_QSound( 1 )->play( hbqt_par_QString( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSpinBox.cpp b/harbour/contrib/hbqt/QSpinBox.cpp deleted file mode 100644 index 439c1912e8..0000000000 --- a/harbour/contrib/hbqt/QSpinBox.cpp +++ /dev/null @@ -1,204 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSpinBox ( QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QSPINBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSpinBox > pObj = NULL; - - pObj = ( QSpinBox* ) new QSpinBox( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QString cleanText () const - */ -HB_FUNC( QT_QSPINBOX_CLEANTEXT ) -{ - hb_retc( hbqt_par_QSpinBox( 1 )->cleanText().toAscii().data() ); -} - -/* - * int maximum () const - */ -HB_FUNC( QT_QSPINBOX_MAXIMUM ) -{ - hb_retni( hbqt_par_QSpinBox( 1 )->maximum() ); -} - -/* - * int minimum () const - */ -HB_FUNC( QT_QSPINBOX_MINIMUM ) -{ - hb_retni( hbqt_par_QSpinBox( 1 )->minimum() ); -} - -/* - * QString prefix () const - */ -HB_FUNC( QT_QSPINBOX_PREFIX ) -{ - hb_retc( hbqt_par_QSpinBox( 1 )->prefix().toAscii().data() ); -} - -/* - * void setMaximum ( int max ) - */ -HB_FUNC( QT_QSPINBOX_SETMAXIMUM ) -{ - hbqt_par_QSpinBox( 1 )->setMaximum( hb_parni( 2 ) ); -} - -/* - * void setMinimum ( int min ) - */ -HB_FUNC( QT_QSPINBOX_SETMINIMUM ) -{ - hbqt_par_QSpinBox( 1 )->setMinimum( hb_parni( 2 ) ); -} - -/* - * void setPrefix ( const QString & prefix ) - */ -HB_FUNC( QT_QSPINBOX_SETPREFIX ) -{ - hbqt_par_QSpinBox( 1 )->setPrefix( hbqt_par_QString( 2 ) ); -} - -/* - * void setRange ( int minimum, int maximum ) - */ -HB_FUNC( QT_QSPINBOX_SETRANGE ) -{ - hbqt_par_QSpinBox( 1 )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setSingleStep ( int val ) - */ -HB_FUNC( QT_QSPINBOX_SETSINGLESTEP ) -{ - hbqt_par_QSpinBox( 1 )->setSingleStep( hb_parni( 2 ) ); -} - -/* - * void setSuffix ( const QString & suffix ) - */ -HB_FUNC( QT_QSPINBOX_SETSUFFIX ) -{ - hbqt_par_QSpinBox( 1 )->setSuffix( hbqt_par_QString( 2 ) ); -} - -/* - * int singleStep () const - */ -HB_FUNC( QT_QSPINBOX_SINGLESTEP ) -{ - hb_retni( hbqt_par_QSpinBox( 1 )->singleStep() ); -} - -/* - * QString suffix () const - */ -HB_FUNC( QT_QSPINBOX_SUFFIX ) -{ - hb_retc( hbqt_par_QSpinBox( 1 )->suffix().toAscii().data() ); -} - -/* - * int value () const - */ -HB_FUNC( QT_QSPINBOX_VALUE ) -{ - hb_retni( hbqt_par_QSpinBox( 1 )->value() ); -} - -/* - * void setValue ( int val ) - */ -HB_FUNC( QT_QSPINBOX_SETVALUE ) -{ - hbqt_par_QSpinBox( 1 )->setValue( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSplashScreen.cpp b/harbour/contrib/hbqt/QSplashScreen.cpp deleted file mode 100644 index 4ae33e6d91..0000000000 --- a/harbour/contrib/hbqt/QSplashScreen.cpp +++ /dev/null @@ -1,142 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QSplashScreen ( const QPixmap & pixmap = QPixmap(), Qt::WindowFlags f = 0 ) - * QSplashScreen ( QWidget * parent, const QPixmap & pixmap = QPixmap(), Qt::WindowFlags f = 0 ) - * virtual ~QSplashScreen () - */ - -HB_FUNC( QT_QSPLASHSCREEN ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSplashScreen > pObj = NULL; - - pObj = new QSplashScreen( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void finish ( QWidget * mainWin ) - */ -HB_FUNC( QT_QSPLASHSCREEN_FINISH ) -{ - hbqt_par_QSplashScreen( 1 )->finish( hbqt_par_QWidget( 2 ) ); -} - -/* - * const QPixmap pixmap () const - */ -HB_FUNC( QT_QSPLASHSCREEN_PIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QSplashScreen( 1 )->pixmap() ) ) ); -} - -/* - * void repaint () - */ -HB_FUNC( QT_QSPLASHSCREEN_REPAINT ) -{ - hbqt_par_QSplashScreen( 1 )->repaint(); -} - -/* - * void setPixmap ( const QPixmap & pixmap ) - */ -HB_FUNC( QT_QSPLASHSCREEN_SETPIXMAP ) -{ - hbqt_par_QSplashScreen( 1 )->setPixmap( *hbqt_par_QPixmap( 2 ) ); -} - -/* - * void clearMessage () - */ -HB_FUNC( QT_QSPLASHSCREEN_CLEARMESSAGE ) -{ - hbqt_par_QSplashScreen( 1 )->clearMessage(); -} - -/* - * void showMessage ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black ) - */ -HB_FUNC( QT_QSPLASHSCREEN_SHOWMESSAGE ) -{ - hbqt_par_QSplashScreen( 1 )->showMessage( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::AlignLeft ), *hbqt_par_QColor( 4 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSplitter.cpp b/harbour/contrib/hbqt/QSplitter.cpp deleted file mode 100644 index a42a6f733f..0000000000 --- a/harbour/contrib/hbqt/QSplitter.cpp +++ /dev/null @@ -1,281 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 21/23 [ 91.30% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void setSizes ( const QList & list ) - * QList sizes () const - */ - -#include - -#include - - -/* - * QSplitter ( QWidget * parent = 0 ) - * QSplitter ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QSplitter () - */ - -HB_FUNC( QT_QSPLITTER ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSplitter > pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - pObj = ( QSplitter* ) new QSplitter( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = ( QSplitter* ) new QSplitter( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QSPLITTER_ADDWIDGET ) -{ - hbqt_par_QSplitter( 1 )->addWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * bool childrenCollapsible () const - */ -HB_FUNC( QT_QSPLITTER_CHILDRENCOLLAPSIBLE ) -{ - hb_retl( hbqt_par_QSplitter( 1 )->childrenCollapsible() ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QSPLITTER_COUNT ) -{ - hb_retni( hbqt_par_QSplitter( 1 )->count() ); -} - -/* - * void getRange ( int index, int * min, int * max ) const - */ -HB_FUNC( QT_QSPLITTER_GETRANGE ) -{ - int iMin = 0; - int iMax = 0; - - hbqt_par_QSplitter( 1 )->getRange( hb_parni( 2 ), &iMin, &iMax ); - - hb_storni( iMin, 3 ); - hb_storni( iMax, 4 ); -} - -/* - * QSplitterHandle * handle ( int index ) const - */ -HB_FUNC( QT_QSPLITTER_HANDLE ) -{ - hb_retptr( ( QSplitterHandle* ) hbqt_par_QSplitter( 1 )->handle( hb_parni( 2 ) ) ); -} - -/* - * int handleWidth () const - */ -HB_FUNC( QT_QSPLITTER_HANDLEWIDTH ) -{ - hb_retni( hbqt_par_QSplitter( 1 )->handleWidth() ); -} - -/* - * int indexOf ( QWidget * widget ) const - */ -HB_FUNC( QT_QSPLITTER_INDEXOF ) -{ - hb_retni( hbqt_par_QSplitter( 1 )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * void insertWidget ( int index, QWidget * widget ) - */ -HB_FUNC( QT_QSPLITTER_INSERTWIDGET ) -{ - hbqt_par_QSplitter( 1 )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * bool isCollapsible ( int index ) const - */ -HB_FUNC( QT_QSPLITTER_ISCOLLAPSIBLE ) -{ - hb_retl( hbqt_par_QSplitter( 1 )->isCollapsible( hb_parni( 2 ) ) ); -} - -/* - * bool opaqueResize () const - */ -HB_FUNC( QT_QSPLITTER_OPAQUERESIZE ) -{ - hb_retl( hbqt_par_QSplitter( 1 )->opaqueResize() ); -} - -/* - * Qt::Orientation orientation () const - */ -HB_FUNC( QT_QSPLITTER_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QSplitter( 1 )->orientation() ); -} - -/* - * void refresh () - */ -HB_FUNC( QT_QSPLITTER_REFRESH ) -{ - hbqt_par_QSplitter( 1 )->refresh(); -} - -/* - * bool restoreState ( const QByteArray & state ) - */ -HB_FUNC( QT_QSPLITTER_RESTORESTATE ) -{ - hb_retl( hbqt_par_QSplitter( 1 )->restoreState( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QByteArray saveState () const - */ -HB_FUNC( QT_QSPLITTER_SAVESTATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QSplitter( 1 )->saveState() ) ) ); -} - -/* - * void setChildrenCollapsible ( bool ) - */ -HB_FUNC( QT_QSPLITTER_SETCHILDRENCOLLAPSIBLE ) -{ - hbqt_par_QSplitter( 1 )->setChildrenCollapsible( hb_parl( 2 ) ); -} - -/* - * void setCollapsible ( int index, bool collapse ) - */ -HB_FUNC( QT_QSPLITTER_SETCOLLAPSIBLE ) -{ - hbqt_par_QSplitter( 1 )->setCollapsible( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setHandleWidth ( int ) - */ -HB_FUNC( QT_QSPLITTER_SETHANDLEWIDTH ) -{ - hbqt_par_QSplitter( 1 )->setHandleWidth( hb_parni( 2 ) ); -} - -/* - * void setOpaqueResize ( bool opaque = true ) - */ -HB_FUNC( QT_QSPLITTER_SETOPAQUERESIZE ) -{ - hbqt_par_QSplitter( 1 )->setOpaqueResize( hb_parl( 2 ) ); -} - -/* - * void setOrientation ( Qt::Orientation ) - */ -HB_FUNC( QT_QSPLITTER_SETORIENTATION ) -{ - hbqt_par_QSplitter( 1 )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* - * void setStretchFactor ( int index, int stretch ) - */ -HB_FUNC( QT_QSPLITTER_SETSTRETCHFACTOR ) -{ - hbqt_par_QSplitter( 1 )->setStretchFactor( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * QWidget * widget ( int index ) const - */ -HB_FUNC( QT_QSPLITTER_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QSplitter( 1 )->widget( hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStandardItem.cpp b/harbour/contrib/hbqt/QStandardItem.cpp deleted file mode 100644 index 7e15033dc7..0000000000 --- a/harbour/contrib/hbqt/QStandardItem.cpp +++ /dev/null @@ -1,681 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ItemType { Type, UserType } - */ - -/* - * Constructed[ 71/79 [ 89.87% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void appendColumn ( const QList & items ) - * void appendRow ( const QList & items ) - * void appendRows ( const QList & items ) - * void insertColumn ( int column, const QList & items ) - * void insertRow ( int row, const QList & items ) - * void insertRows ( int row, const QList & items ) - * QList takeColumn ( int column ) - * QList takeRow ( int row ) - */ - -#include - -#include - - -/* - * QStandardItem () - * QStandardItem ( const QString & text ) - * QStandardItem ( const QIcon & icon, const QString & text ) - * QStandardItem ( int rows, int columns = 1 ) - * virtual ~QStandardItem () - */ - -HB_FUNC( QT_QSTANDARDITEM ) -{ - void * pObj = NULL; - - pObj = ( QStandardItem* ) new QStandardItem() ; - - hb_retptr( pObj ); -} -/* - * QString accessibleDescription () const - */ -HB_FUNC( QT_QSTANDARDITEM_ACCESSIBLEDESCRIPTION ) -{ - hb_retc( hbqt_par_QStandardItem( 1 )->accessibleDescription().toAscii().data() ); -} - -/* - * QString accessibleText () const - */ -HB_FUNC( QT_QSTANDARDITEM_ACCESSIBLETEXT ) -{ - hb_retc( hbqt_par_QStandardItem( 1 )->accessibleText().toAscii().data() ); -} - -/* - * void appendRow ( QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEM_APPENDROW ) -{ - hbqt_par_QStandardItem( 1 )->appendRow( hbqt_par_QStandardItem( 2 ) ); -} - -/* - * QBrush background () const - */ -HB_FUNC( QT_QSTANDARDITEM_BACKGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QStandardItem( 1 )->background() ) ) ); -} - -/* - * Qt::CheckState checkState () const - */ -HB_FUNC( QT_QSTANDARDITEM_CHECKSTATE ) -{ - hb_retni( ( Qt::CheckState ) hbqt_par_QStandardItem( 1 )->checkState() ); -} - -/* - * QStandardItem * child ( int row, int column = 0 ) const - */ -HB_FUNC( QT_QSTANDARDITEM_CHILD ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItem( 1 )->child( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * virtual QStandardItem * clone () const - */ -HB_FUNC( QT_QSTANDARDITEM_CLONE ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItem( 1 )->clone() ); -} - -/* - * int column () const - */ -HB_FUNC( QT_QSTANDARDITEM_COLUMN ) -{ - hb_retni( hbqt_par_QStandardItem( 1 )->column() ); -} - -/* - * int columnCount () const - */ -HB_FUNC( QT_QSTANDARDITEM_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QStandardItem( 1 )->columnCount() ); -} - -/* - * virtual QVariant data ( int role = Qt::UserRole + 1 ) const - */ -HB_FUNC( QT_QSTANDARDITEM_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QStandardItem( 1 )->data( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : Qt::UserRole + 1 ) ) ) ) ); -} - -/* - * Qt::ItemFlags flags () const - */ -HB_FUNC( QT_QSTANDARDITEM_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QStandardItem( 1 )->flags() ); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QSTANDARDITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QStandardItem( 1 )->font() ) ) ); -} - -/* - * QBrush foreground () const - */ -HB_FUNC( QT_QSTANDARDITEM_FOREGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QStandardItem( 1 )->foreground() ) ) ); -} - -/* - * bool hasChildren () const - */ -HB_FUNC( QT_QSTANDARDITEM_HASCHILDREN ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->hasChildren() ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QSTANDARDITEM_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStandardItem( 1 )->icon() ) ) ); -} - -/* - * QModelIndex index () const - */ -HB_FUNC( QT_QSTANDARDITEM_INDEX ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QStandardItem( 1 )->index() ) ) ); -} - -/* - * void insertColumns ( int column, int count ) - */ -HB_FUNC( QT_QSTANDARDITEM_INSERTCOLUMNS ) -{ - hbqt_par_QStandardItem( 1 )->insertColumns( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void insertRow ( int row, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEM_INSERTROW ) -{ - hbqt_par_QStandardItem( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* - * void insertRows ( int row, int count ) - */ -HB_FUNC( QT_QSTANDARDITEM_INSERTROWS ) -{ - hbqt_par_QStandardItem( 1 )->insertRows( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * bool isCheckable () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISCHECKABLE ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isCheckable() ); -} - -/* - * bool isDragEnabled () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISDRAGENABLED ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isDragEnabled() ); -} - -/* - * bool isDropEnabled () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISDROPENABLED ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isDropEnabled() ); -} - -/* - * bool isEditable () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISEDITABLE ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isEditable() ); -} - -/* - * bool isEnabled () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISENABLED ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isEnabled() ); -} - -/* - * bool isSelectable () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISSELECTABLE ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isSelectable() ); -} - -/* - * bool isTristate () const - */ -HB_FUNC( QT_QSTANDARDITEM_ISTRISTATE ) -{ - hb_retl( hbqt_par_QStandardItem( 1 )->isTristate() ); -} - -/* - * QStandardItemModel * model () const - */ -HB_FUNC( QT_QSTANDARDITEM_MODEL ) -{ - hb_retptr( ( QStandardItemModel* ) hbqt_par_QStandardItem( 1 )->model() ); -} - -/* - * QStandardItem * parent () const - */ -HB_FUNC( QT_QSTANDARDITEM_PARENT ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItem( 1 )->parent() ); -} - -/* - * virtual void read ( QDataStream & in ) - */ -HB_FUNC( QT_QSTANDARDITEM_READ ) -{ - hbqt_par_QStandardItem( 1 )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* - * void removeColumn ( int column ) - */ -HB_FUNC( QT_QSTANDARDITEM_REMOVECOLUMN ) -{ - hbqt_par_QStandardItem( 1 )->removeColumn( hb_parni( 2 ) ); -} - -/* - * void removeColumns ( int column, int count ) - */ -HB_FUNC( QT_QSTANDARDITEM_REMOVECOLUMNS ) -{ - hbqt_par_QStandardItem( 1 )->removeColumns( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void removeRow ( int row ) - */ -HB_FUNC( QT_QSTANDARDITEM_REMOVEROW ) -{ - hbqt_par_QStandardItem( 1 )->removeRow( hb_parni( 2 ) ); -} - -/* - * void removeRows ( int row, int count ) - */ -HB_FUNC( QT_QSTANDARDITEM_REMOVEROWS ) -{ - hbqt_par_QStandardItem( 1 )->removeRows( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int row () const - */ -HB_FUNC( QT_QSTANDARDITEM_ROW ) -{ - hb_retni( hbqt_par_QStandardItem( 1 )->row() ); -} - -/* - * int rowCount () const - */ -HB_FUNC( QT_QSTANDARDITEM_ROWCOUNT ) -{ - hb_retni( hbqt_par_QStandardItem( 1 )->rowCount() ); -} - -/* - * void setAccessibleDescription ( const QString & accessibleDescription ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETACCESSIBLEDESCRIPTION ) -{ - hbqt_par_QStandardItem( 1 )->setAccessibleDescription( hbqt_par_QString( 2 ) ); -} - -/* - * void setAccessibleText ( const QString & accessibleText ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETACCESSIBLETEXT ) -{ - hbqt_par_QStandardItem( 1 )->setAccessibleText( hbqt_par_QString( 2 ) ); -} - -/* - * void setBackground ( const QBrush & brush ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETBACKGROUND ) -{ - hbqt_par_QStandardItem( 1 )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setCheckState ( Qt::CheckState state ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETCHECKSTATE ) -{ - hbqt_par_QStandardItem( 1 )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* - * void setCheckable ( bool checkable ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETCHECKABLE ) -{ - hbqt_par_QStandardItem( 1 )->setCheckable( hb_parl( 2 ) ); -} - -/* - * void setChild ( int row, int column, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETCHILD ) -{ - hbqt_par_QStandardItem( 1 )->setChild( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QStandardItem( 4 ) ); -} - -/* - * void setChild ( int row, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETCHILD_1 ) -{ - hbqt_par_QStandardItem( 1 )->setChild( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* - * void setColumnCount ( int columns ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETCOLUMNCOUNT ) -{ - hbqt_par_QStandardItem( 1 )->setColumnCount( hb_parni( 2 ) ); -} - -/* - * virtual void setData ( const QVariant & value, int role = Qt::UserRole + 1 ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETDATA ) -{ - hbqt_par_QStandardItem( 1 )->setData( *hbqt_par_QVariant( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : Qt::UserRole + 1 ) ); -} - -/* - * void setDragEnabled ( bool dragEnabled ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETDRAGENABLED ) -{ - hbqt_par_QStandardItem( 1 )->setDragEnabled( hb_parl( 2 ) ); -} - -/* - * void setDropEnabled ( bool dropEnabled ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETDROPENABLED ) -{ - hbqt_par_QStandardItem( 1 )->setDropEnabled( hb_parl( 2 ) ); -} - -/* - * void setEditable ( bool editable ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETEDITABLE ) -{ - hbqt_par_QStandardItem( 1 )->setEditable( hb_parl( 2 ) ); -} - -/* - * void setEnabled ( bool enabled ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETENABLED ) -{ - hbqt_par_QStandardItem( 1 )->setEnabled( hb_parl( 2 ) ); -} - -/* - * void setFlags ( Qt::ItemFlags flags ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETFLAGS ) -{ - hbqt_par_QStandardItem( 1 )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETFONT ) -{ - hbqt_par_QStandardItem( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setForeground ( const QBrush & brush ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETFOREGROUND ) -{ - hbqt_par_QStandardItem( 1 )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETICON ) -{ - hbqt_par_QStandardItem( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setRowCount ( int rows ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETROWCOUNT ) -{ - hbqt_par_QStandardItem( 1 )->setRowCount( hb_parni( 2 ) ); -} - -/* - * void setSelectable ( bool selectable ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETSELECTABLE ) -{ - hbqt_par_QStandardItem( 1 )->setSelectable( hb_parl( 2 ) ); -} - -/* - * void setSizeHint ( const QSize & size ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETSIZEHINT ) -{ - hbqt_par_QStandardItem( 1 )->setSizeHint( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setStatusTip ( const QString & statusTip ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETSTATUSTIP ) -{ - hbqt_par_QStandardItem( 1 )->setStatusTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETTEXT ) -{ - hbqt_par_QStandardItem( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETTEXTALIGNMENT ) -{ - hbqt_par_QStandardItem( 1 )->setTextAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setToolTip ( const QString & toolTip ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETTOOLTIP ) -{ - hbqt_par_QStandardItem( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setTristate ( bool tristate ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETTRISTATE ) -{ - hbqt_par_QStandardItem( 1 )->setTristate( hb_parl( 2 ) ); -} - -/* - * void setWhatsThis ( const QString & whatsThis ) - */ -HB_FUNC( QT_QSTANDARDITEM_SETWHATSTHIS ) -{ - hbqt_par_QStandardItem( 1 )->setWhatsThis( hbqt_par_QString( 2 ) ); -} - -/* - * QSize sizeHint () const - */ -HB_FUNC( QT_QSTANDARDITEM_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStandardItem( 1 )->sizeHint() ) ) ); -} - -/* - * void sortChildren ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - */ -HB_FUNC( QT_QSTANDARDITEM_SORTCHILDREN ) -{ - hbqt_par_QStandardItem( 1 )->sortChildren( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* - * QString statusTip () const - */ -HB_FUNC( QT_QSTANDARDITEM_STATUSTIP ) -{ - hb_retc( hbqt_par_QStandardItem( 1 )->statusTip().toAscii().data() ); -} - -/* - * QStandardItem * takeChild ( int row, int column = 0 ) - */ -HB_FUNC( QT_QSTANDARDITEM_TAKECHILD ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItem( 1 )->takeChild( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QSTANDARDITEM_TEXT ) -{ - hb_retc( hbqt_par_QStandardItem( 1 )->text().toAscii().data() ); -} - -/* - * Qt::Alignment textAlignment () const - */ -HB_FUNC( QT_QSTANDARDITEM_TEXTALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStandardItem( 1 )->textAlignment() ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QSTANDARDITEM_TOOLTIP ) -{ - hb_retc( hbqt_par_QStandardItem( 1 )->toolTip().toAscii().data() ); -} - -/* - * virtual int type () const - */ -HB_FUNC( QT_QSTANDARDITEM_TYPE ) -{ - hb_retni( hbqt_par_QStandardItem( 1 )->type() ); -} - -/* - * QString whatsThis () const - */ -HB_FUNC( QT_QSTANDARDITEM_WHATSTHIS ) -{ - hb_retc( hbqt_par_QStandardItem( 1 )->whatsThis().toAscii().data() ); -} - -/* - * virtual void write ( QDataStream & out ) const - */ -HB_FUNC( QT_QSTANDARDITEM_WRITE ) -{ - hbqt_par_QStandardItem( 1 )->write( *hbqt_par_QDataStream( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStandardItemModel.cpp b/harbour/contrib/hbqt/QStandardItemModel.cpp deleted file mode 100644 index bae740841e..0000000000 --- a/harbour/contrib/hbqt/QStandardItemModel.cpp +++ /dev/null @@ -1,317 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 26/33 [ 78.79% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void appendColumn ( const QList & items ) - * void appendRow ( const QList & items ) - * QList findItems ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0 ) const - * void insertColumn ( int column, const QList & items ) - * void insertRow ( int row, const QList & items ) - * QList takeColumn ( int column ) - * QList takeRow ( int row ) - */ - -#include - -#include - - -/* - * QStandardItemModel ( QObject * parent = 0 ) - * QStandardItemModel ( int rows, int columns, QObject * parent = 0 ) - * ~QStandardItemModel () - */ - -HB_FUNC( QT_QSTANDARDITEMMODEL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QStandardItemModel > pObj = NULL; - - pObj = ( QStandardItemModel* ) new QStandardItemModel( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void appendRow ( QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_APPENDROW ) -{ - hbqt_par_QStandardItemModel( 1 )->appendRow( hbqt_par_QStandardItem( 2 ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_CLEAR ) -{ - hbqt_par_QStandardItemModel( 1 )->clear(); -} - -/* - * QStandardItem * horizontalHeaderItem ( int column ) const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_HORIZONTALHEADERITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->horizontalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * QModelIndex indexFromItem ( const QStandardItem * item ) const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INDEXFROMITEM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QStandardItemModel( 1 )->indexFromItem( hbqt_par_QStandardItem( 2 ) ) ) ) ); -} - -/* - * bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INSERTCOLUMN ) -{ - hb_retl( hbqt_par_QStandardItemModel( 1 )->insertColumn( hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* - * bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INSERTROW ) -{ - hb_retl( hbqt_par_QStandardItemModel( 1 )->insertRow( hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QModelIndex( 3 ) : QModelIndex() ) ) ); -} - -/* - * void insertRow ( int row, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INSERTROW_1 ) -{ - hbqt_par_QStandardItemModel( 1 )->insertRow( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* - * QStandardItem * invisibleRootItem () const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_INVISIBLEROOTITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->invisibleRootItem() ); -} - -/* - * QStandardItem * item ( int row, int column = 0 ) const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_ITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->item( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QStandardItem * itemFromIndex ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_ITEMFROMINDEX ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->itemFromIndex( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * const QStandardItem * itemPrototype () const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_ITEMPROTOTYPE ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->itemPrototype() ); -} - -/* - * void setColumnCount ( int columns ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETCOLUMNCOUNT ) -{ - hbqt_par_QStandardItemModel( 1 )->setColumnCount( hb_parni( 2 ) ); -} - -/* - * void setHorizontalHeaderItem ( int column, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETHORIZONTALHEADERITEM ) -{ - hbqt_par_QStandardItemModel( 1 )->setHorizontalHeaderItem( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* - * void setHorizontalHeaderLabels ( const QStringList & labels ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETHORIZONTALHEADERLABELS ) -{ - hbqt_par_QStandardItemModel( 1 )->setHorizontalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setItem ( int row, int column, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETITEM ) -{ - hbqt_par_QStandardItemModel( 1 )->setItem( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QStandardItem( 4 ) ); -} - -/* - * void setItem ( int row, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETITEM_1 ) -{ - hbqt_par_QStandardItemModel( 1 )->setItem( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* - * void setItemPrototype ( const QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETITEMPROTOTYPE ) -{ - hbqt_par_QStandardItemModel( 1 )->setItemPrototype( hbqt_par_QStandardItem( 2 ) ); -} - -/* - * void setRowCount ( int rows ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETROWCOUNT ) -{ - hbqt_par_QStandardItemModel( 1 )->setRowCount( hb_parni( 2 ) ); -} - -/* - * void setSortRole ( int role ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETSORTROLE ) -{ - hbqt_par_QStandardItemModel( 1 )->setSortRole( hb_parni( 2 ) ); -} - -/* - * void setVerticalHeaderItem ( int row, QStandardItem * item ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETVERTICALHEADERITEM ) -{ - hbqt_par_QStandardItemModel( 1 )->setVerticalHeaderItem( hb_parni( 2 ), hbqt_par_QStandardItem( 3 ) ); -} - -/* - * void setVerticalHeaderLabels ( const QStringList & labels ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SETVERTICALHEADERLABELS ) -{ - hbqt_par_QStandardItemModel( 1 )->setVerticalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* - * int sortRole () const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_SORTROLE ) -{ - hb_retni( hbqt_par_QStandardItemModel( 1 )->sortRole() ); -} - -/* - * QStandardItem * takeHorizontalHeaderItem ( int column ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEHORIZONTALHEADERITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->takeHorizontalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * QStandardItem * takeItem ( int row, int column = 0 ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->takeItem( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QStandardItem * takeVerticalHeaderItem ( int row ) - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_TAKEVERTICALHEADERITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->takeVerticalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * QStandardItem * verticalHeaderItem ( int row ) const - */ -HB_FUNC( QT_QSTANDARDITEMMODEL_VERTICALHEADERITEM ) -{ - hb_retptr( ( QStandardItem* ) hbqt_par_QStandardItemModel( 1 )->verticalHeaderItem( hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStatusBar.cpp b/harbour/contrib/hbqt/QStatusBar.cpp deleted file mode 100644 index 491d60d243..0000000000 --- a/harbour/contrib/hbqt/QStatusBar.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QStatusBar ( QWidget * parent = 0 ) - * virtual ~QStatusBar () - */ - -HB_FUNC( QT_QSTATUSBAR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QStatusBar > pObj = NULL; - - pObj = ( QStatusBar* ) new QStatusBar( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addPermanentWidget ( QWidget * widget, int stretch = 0 ) - */ -HB_FUNC( QT_QSTATUSBAR_ADDPERMANENTWIDGET ) -{ - hbqt_par_QStatusBar( 1 )->addPermanentWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ); -} - -/* - * void addWidget ( QWidget * widget, int stretch = 0 ) - */ -HB_FUNC( QT_QSTATUSBAR_ADDWIDGET ) -{ - hbqt_par_QStatusBar( 1 )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ); -} - -/* - * QString currentMessage () const - */ -HB_FUNC( QT_QSTATUSBAR_CURRENTMESSAGE ) -{ - hb_retc( hbqt_par_QStatusBar( 1 )->currentMessage().toAscii().data() ); -} - -/* - * int insertPermanentWidget ( int index, QWidget * widget, int stretch = 0 ) - */ -HB_FUNC( QT_QSTATUSBAR_INSERTPERMANENTWIDGET ) -{ - hb_retni( hbqt_par_QStatusBar( 1 )->insertPermanentWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ) ) ); -} - -/* - * int insertWidget ( int index, QWidget * widget, int stretch = 0 ) - */ -HB_FUNC( QT_QSTATUSBAR_INSERTWIDGET ) -{ - hb_retni( hbqt_par_QStatusBar( 1 )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ) ) ); -} - -/* - * bool isSizeGripEnabled () const - */ -HB_FUNC( QT_QSTATUSBAR_ISSIZEGRIPENABLED ) -{ - hb_retl( hbqt_par_QStatusBar( 1 )->isSizeGripEnabled() ); -} - -/* - * void removeWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QSTATUSBAR_REMOVEWIDGET ) -{ - hbqt_par_QStatusBar( 1 )->removeWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setSizeGripEnabled ( bool ) - */ -HB_FUNC( QT_QSTATUSBAR_SETSIZEGRIPENABLED ) -{ - hbqt_par_QStatusBar( 1 )->setSizeGripEnabled( hb_parl( 2 ) ); -} - -/* - * void clearMessage () - */ -HB_FUNC( QT_QSTATUSBAR_CLEARMESSAGE ) -{ - hbqt_par_QStatusBar( 1 )->clearMessage(); -} - -/* - * void showMessage ( const QString & message, int timeout = 0 ) - */ -HB_FUNC( QT_QSTATUSBAR_SHOWMESSAGE ) -{ - hbqt_par_QStatusBar( 1 )->showMessage( hbqt_par_QString( 2 ), hb_parni( 3 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStringList.cpp b/harbour/contrib/hbqt/QStringList.cpp deleted file mode 100644 index 4b3b36ddc3..0000000000 --- a/harbour/contrib/hbqt/QStringList.cpp +++ /dev/null @@ -1,393 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 35/42 [ 83.33% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList mid ( int pos, int length = -1 ) const - * QSet toSet () const - * std::list toStdList () const - * QVector toVector () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // bool contains ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - * // QStringList & replaceInStrings ( const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - * // QStringList & replaceInStrings ( const QRegExp & rx, const QString & after ) - */ - -#include - -#include - - -/* - * QStringList () - * QStringList ( const QString & str ) - * QStringList ( const QStringList & other ) - * QStringList ( const QList & other ) - */ - -HB_FUNC( QT_QSTRINGLIST ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QStringList* ) new QStringList() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QStringList" ); - hb_retptrGC( p ); -} -/* - * void append ( const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_APPEND ) -{ - hbqt_par_QStringList( 1 )->append( hbqt_par_QString( 2 ) ); -} - -/* - * QStringList filter ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const - */ -HB_FUNC( QT_QSTRINGLIST_FILTER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QStringList( 1 )->filter( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::CaseSensitivity ) hb_parni( 3 ) : ( Qt::CaseSensitivity ) Qt::CaseSensitive ) ) ) ) ); -} - -/* - * QStringList filter ( const QRegExp & rx ) const - */ -HB_FUNC( QT_QSTRINGLIST_FILTER_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QStringList( 1 )->filter( *hbqt_par_QRegExp( 2 ) ) ) ) ); -} - -/* - * int indexOf ( const QString & value, int from = 0 ) const - */ -HB_FUNC( QT_QSTRINGLIST_INDEXOF ) -{ - hb_retni( hbqt_par_QStringList( 1 )->indexOf( hbqt_par_QString( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int indexOf ( const QRegExp & rx, int from = 0 ) const - */ -HB_FUNC( QT_QSTRINGLIST_INDEXOF_1 ) -{ - hb_retni( hbqt_par_QStringList( 1 )->indexOf( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int indexOf ( QRegExp & rx, int from = 0 ) const - */ -HB_FUNC( QT_QSTRINGLIST_INDEXOF_2 ) -{ - hb_retni( hbqt_par_QStringList( 1 )->indexOf( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QString join ( const QString & separator ) const - */ -HB_FUNC( QT_QSTRINGLIST_JOIN ) -{ - hb_retc( hbqt_par_QStringList( 1 )->join( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * int lastIndexOf ( const QRegExp & rx, int from = -1 ) const - */ -HB_FUNC( QT_QSTRINGLIST_LASTINDEXOF ) -{ - hb_retni( hbqt_par_QStringList( 1 )->lastIndexOf( *hbqt_par_QRegExp( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1 ) ) ); -} - -/* - * int lastIndexOf ( const QString & value, int from = -1 ) const - */ -HB_FUNC( QT_QSTRINGLIST_LASTINDEXOF_1 ) -{ - hb_retni( hbqt_par_QStringList( 1 )->lastIndexOf( hbqt_par_QString( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1 ) ) ); -} - -/* - * int lastIndexOf ( QRegExp & rx, int from = -1 ) const - */ -HB_FUNC( QT_QSTRINGLIST_LASTINDEXOF_2 ) -{ - hb_retni( hbqt_par_QStringList( 1 )->lastIndexOf( *hbqt_par_QRegExp( 2 ), ( HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1 ) ) ); -} - -/* - * int removeDuplicates () - */ -HB_FUNC( QT_QSTRINGLIST_REMOVEDUPLICATES ) -{ - hb_retni( hbqt_par_QStringList( 1 )->removeDuplicates() ); -} - -/* - * void sort () - */ -HB_FUNC( QT_QSTRINGLIST_SORT ) -{ - hbqt_par_QStringList( 1 )->sort(); -} - -/* - * QString & at ( int i ) const - */ -HB_FUNC( QT_QSTRINGLIST_AT ) -{ - hb_retc( hbqt_par_QStringList( 1 )->at( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString & back () - */ -HB_FUNC( QT_QSTRINGLIST_BACK ) -{ - hb_retc( hbqt_par_QStringList( 1 )->back().toAscii().data() ); -} - -/* - * int count ( const QString & value ) const - */ -HB_FUNC( QT_QSTRINGLIST_COUNT ) -{ - hb_retni( hbqt_par_QStringList( 1 )->count( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool endsWith ( const QString & value ) const - */ -HB_FUNC( QT_QSTRINGLIST_ENDSWITH ) -{ - hb_retl( hbqt_par_QStringList( 1 )->endsWith( hbqt_par_QString( 2 ) ) ); -} - -/* - * QString & first () - */ -HB_FUNC( QT_QSTRINGLIST_FIRST ) -{ - hb_retc( hbqt_par_QStringList( 1 )->first().toAscii().data() ); -} - -/* - * const QString & first () const - */ -HB_FUNC( QT_QSTRINGLIST_FIRST_1 ) -{ - hb_retc( hbqt_par_QStringList( 1 )->first().toAscii().data() ); -} - -/* - * QString & front () - */ -HB_FUNC( QT_QSTRINGLIST_FRONT ) -{ - hb_retc( hbqt_par_QStringList( 1 )->front().toAscii().data() ); -} - -/* - * const QString & front () const - */ -HB_FUNC( QT_QSTRINGLIST_FRONT_1 ) -{ - hb_retc( hbqt_par_QStringList( 1 )->front().toAscii().data() ); -} - -/* - * void insert ( int i, const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_INSERT ) -{ - hbqt_par_QStringList( 1 )->insert( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QString & last () - */ -HB_FUNC( QT_QSTRINGLIST_LAST ) -{ - hb_retc( hbqt_par_QStringList( 1 )->last().toAscii().data() ); -} - -/* - * const QString & last () const - */ -HB_FUNC( QT_QSTRINGLIST_LAST_1 ) -{ - hb_retc( hbqt_par_QStringList( 1 )->last().toAscii().data() ); -} - -/* - * void prepend ( const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_PREPEND ) -{ - hbqt_par_QStringList( 1 )->prepend( hbqt_par_QString( 2 ) ); -} - -/* - * void push_back ( const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_PUSH_BACK ) -{ - hbqt_par_QStringList( 1 )->push_back( hbqt_par_QString( 2 ) ); -} - -/* - * void push_front ( const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_PUSH_FRONT ) -{ - hbqt_par_QStringList( 1 )->push_front( hbqt_par_QString( 2 ) ); -} - -/* - * int removeAll ( const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_REMOVEALL ) -{ - hb_retni( hbqt_par_QStringList( 1 )->removeAll( hbqt_par_QString( 2 ) ) ); -} - -/* - * bool removeOne ( const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_REMOVEONE ) -{ - hb_retl( hbqt_par_QStringList( 1 )->removeOne( hbqt_par_QString( 2 ) ) ); -} - -/* - * void replace ( int i, const QString & value ) - */ -HB_FUNC( QT_QSTRINGLIST_REPLACE ) -{ - hbqt_par_QStringList( 1 )->replace( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * bool startsWith ( const QString & value ) const - */ -HB_FUNC( QT_QSTRINGLIST_STARTSWITH ) -{ - hb_retl( hbqt_par_QStringList( 1 )->startsWith( hbqt_par_QString( 2 ) ) ); -} - -/* - * QString takeAt ( int i ) - */ -HB_FUNC( QT_QSTRINGLIST_TAKEAT ) -{ - hb_retc( hbqt_par_QStringList( 1 )->takeAt( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString takeFirst () - */ -HB_FUNC( QT_QSTRINGLIST_TAKEFIRST ) -{ - hb_retc( hbqt_par_QStringList( 1 )->takeFirst().toAscii().data() ); -} - -/* - * QString takeLast () - */ -HB_FUNC( QT_QSTRINGLIST_TAKELAST ) -{ - hb_retc( hbqt_par_QStringList( 1 )->takeLast().toAscii().data() ); -} - -/* - * QString value ( int i ) const - */ -HB_FUNC( QT_QSTRINGLIST_VALUE ) -{ - hb_retc( hbqt_par_QStringList( 1 )->value( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString value ( int i, const QString & defaultValue ) const - */ -HB_FUNC( QT_QSTRINGLIST_VALUE_1 ) -{ - hb_retc( hbqt_par_QStringList( 1 )->value( hb_parni( 2 ), hbqt_par_QString( 3 ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStringListModel.cpp b/harbour/contrib/hbqt/QStringListModel.cpp deleted file mode 100644 index 995be557b6..0000000000 --- a/harbour/contrib/hbqt/QStringListModel.cpp +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QStringListModel ( QObject * parent = 0 ) - * QStringListModel ( const QStringList & strings, QObject * parent = 0 ) - */ - -HB_FUNC( QT_QSTRINGLISTMODEL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QStringListModel > pObj = NULL; - - pObj = ( QStringListModel* ) new QStringListModel() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual QVariant data ( const QModelIndex & index, int role ) const - */ -HB_FUNC( QT_QSTRINGLISTMODEL_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QStringListModel( 1 )->data( *hbqt_par_QModelIndex( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * virtual Qt::ItemFlags flags ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTRINGLISTMODEL_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QStringListModel( 1 )->flags( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * virtual bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QSTRINGLISTMODEL_INSERTROWS ) -{ - hb_retl( hbqt_par_QStringListModel( 1 )->insertRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) - */ -HB_FUNC( QT_QSTRINGLISTMODEL_REMOVEROWS ) -{ - hb_retl( hbqt_par_QStringListModel( 1 )->removeRows( hb_parni( 2 ), hb_parni( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QModelIndex( 4 ) : QModelIndex() ) ) ); -} - -/* - * virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const - */ -HB_FUNC( QT_QSTRINGLISTMODEL_ROWCOUNT ) -{ - hb_retni( hbqt_par_QStringListModel( 1 )->rowCount( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QModelIndex( 2 ) : QModelIndex() ) ) ); -} - -/* - * virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - */ -HB_FUNC( QT_QSTRINGLISTMODEL_SETDATA ) -{ - hb_retl( hbqt_par_QStringListModel( 1 )->setData( *hbqt_par_QModelIndex( 2 ), *hbqt_par_QVariant( 3 ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : Qt::EditRole ) ) ); -} - -/* - * void setStringList ( const QStringList & strings ) - */ -HB_FUNC( QT_QSTRINGLISTMODEL_SETSTRINGLIST ) -{ - hbqt_par_QStringListModel( 1 )->setStringList( *hbqt_par_QStringList( 2 ) ); -} - -/* - * QStringList stringList () const - */ -HB_FUNC( QT_QSTRINGLISTMODEL_STRINGLIST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QStringListModel( 1 )->stringList() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyle.cpp b/harbour/contrib/hbqt/QStyle.cpp deleted file mode 100644 index 3ef552171b..0000000000 --- a/harbour/contrib/hbqt/QStyle.cpp +++ /dev/null @@ -1,332 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags State - * flags SubControls - * enum ComplexControl { CC_SpinBox, CC_ComboBox, CC_ScrollBar, CC_Slider, ..., CC_CustomBase } - * enum ContentsType { CT_CheckBox, CT_ComboBox, CT_Q3DockWindow, CT_HeaderSection, ..., CT_MdiControls } - * enum ControlElement { CE_PushButton, CE_PushButtonBevel, CE_PushButtonLabel, CE_DockWidgetTitle, ..., CE_ShapedFrame } - * enum PixelMetric { PM_ButtonMargin, PM_DockWidgetTitleBarButtonMargin, PM_ButtonDefaultIndicator, PM_MenuButtonIndicator, ..., PM_SubMenuOverlap } - * enum PrimitiveElement { PE_FrameStatusBar, PE_PanelButtonCommand, PE_FrameDefaultButton, PE_PanelButtonBevel, ..., PE_PanelMenu } - * enum StandardPixmap { SP_TitleBarMinButton, SP_TitleBarMenuButton, SP_TitleBarMaxButton, SP_TitleBarCloseButton, ..., SP_CustomBase } - * enum StateFlag { State_None, State_Active, State_AutoRaise, State_Children, ..., State_Small } - * enum StyleHint { SH_EtchDisabledText, SH_DitherDisabledText, SH_GUIStyle, SH_ScrollBar_ContextMenu, ..., SH_DockWidget_ButtonsHaveFrame } - * enum SubControl { SC_None, SC_ScrollBarAddLine, SC_ScrollBarSubLine, SC_ScrollBarAddPage, ..., SC_All } - * enum SubElement { SE_PushButtonContents, SE_PushButtonFocusRect, SE_PushButtonLayoutItem, SE_CheckBoxIndicator, ..., SE_TabBarTabText } - */ - -#include - -#include - - -/* - * QStyle () - * virtual ~QStyle () - */ - -HB_FUNC( QT_QSTYLE ) -{ -} -/* - * int combinedLayoutSpacing ( QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption * option = 0, QWidget * widget = 0 ) const - */ -HB_FUNC( QT_QSTYLE_COMBINEDLAYOUTSPACING ) -{ - hb_retni( hbqt_par_QStyle( 1 )->combinedLayoutSpacing( ( QSizePolicy::ControlTypes ) hb_parni( 2 ), ( QSizePolicy::ControlTypes ) hb_parni( 3 ), ( Qt::Orientation ) hb_parni( 4 ), hbqt_par_QStyleOption( 5 ), hbqt_par_QWidget( 6 ) ) ); -} - -/* - * virtual void drawComplexControl ( ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_DRAWCOMPLEXCONTROL ) -{ - hbqt_par_QStyle( 1 )->drawComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), hbqt_par_QStyleOptionComplex( 3 ), hbqt_par_QPainter( 4 ), hbqt_par_QWidget( 5 ) ); -} - -/* - * virtual void drawControl ( ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_DRAWCONTROL ) -{ - hbqt_par_QStyle( 1 )->drawControl( ( QStyle::ControlElement ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QPainter( 4 ), hbqt_par_QWidget( 5 ) ); -} - -/* - * virtual void drawItemPixmap ( QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap ) const - */ -HB_FUNC( QT_QSTYLE_DRAWITEMPIXMAP ) -{ - hbqt_par_QStyle( 1 )->drawItemPixmap( hbqt_par_QPainter( 2 ), *hbqt_par_QRect( 3 ), hb_parni( 4 ), *hbqt_par_QPixmap( 5 ) ); -} - -/* - * virtual void drawItemText ( QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) const - */ -HB_FUNC( QT_QSTYLE_DRAWITEMTEXT ) -{ - hbqt_par_QStyle( 1 )->drawItemText( hbqt_par_QPainter( 2 ), *hbqt_par_QRect( 3 ), hb_parni( 4 ), *hbqt_par_QPalette( 5 ), hb_parl( 6 ), hbqt_par_QString( 7 ), ( HB_ISNUM( 8 ) ? ( QPalette::ColorRole ) hb_parni( 8 ) : ( QPalette::ColorRole ) QPalette::NoRole ) ); -} - -/* - * virtual void drawPrimitive ( PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_DRAWPRIMITIVE ) -{ - hbqt_par_QStyle( 1 )->drawPrimitive( ( QStyle::PrimitiveElement ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QPainter( 4 ), hbqt_par_QWidget( 5 ) ); -} - -/* - * virtual QPixmap generatedIconPixmap ( QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * option ) const = 0 - */ -HB_FUNC( QT_QSTYLE_GENERATEDICONPIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QStyle( 1 )->generatedIconPixmap( ( QIcon::Mode ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ), hbqt_par_QStyleOption( 4 ) ) ) ) ); -} - -/* - * virtual SubControl hitTestComplexControl ( ComplexControl control, const QStyleOptionComplex * option, const QPoint & position, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_HITTESTCOMPLEXCONTROL ) -{ - hb_retni( ( QStyle::SubControl ) hbqt_par_QStyle( 1 )->hitTestComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), hbqt_par_QStyleOptionComplex( 3 ), *hbqt_par_QPoint( 4 ), hbqt_par_QWidget( 5 ) ) ); -} - -/* - * virtual QRect itemPixmapRect ( const QRect & rectangle, int alignment, const QPixmap & pixmap ) const - */ -HB_FUNC( QT_QSTYLE_ITEMPIXMAPRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyle( 1 )->itemPixmapRect( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ) ) ) ); -} - -/* - * virtual QRect itemTextRect ( const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text ) const - */ -HB_FUNC( QT_QSTYLE_ITEMTEXTRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyle( 1 )->itemTextRect( *hbqt_par_QFontMetrics( 2 ), *hbqt_par_QRect( 3 ), hb_parni( 4 ), hb_parl( 5 ), hbqt_par_QString( 6 ) ) ) ) ); -} - -/* - * int layoutSpacing ( QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option = 0, const QWidget * widget = 0 ) const - */ -HB_FUNC( QT_QSTYLE_LAYOUTSPACING ) -{ - hb_retni( hbqt_par_QStyle( 1 )->layoutSpacing( ( QSizePolicy::ControlType ) hb_parni( 2 ), ( QSizePolicy::ControlType ) hb_parni( 3 ), ( Qt::Orientation ) hb_parni( 4 ), hbqt_par_QStyleOption( 5 ), hbqt_par_QWidget( 6 ) ) ); -} - -/* - * virtual int pixelMetric ( PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_PIXELMETRIC ) -{ - hb_retni( hbqt_par_QStyle( 1 )->pixelMetric( ( QStyle::PixelMetric ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ) ) ); -} - -/* - * virtual void polish ( QWidget * widget ) - */ -HB_FUNC( QT_QSTYLE_POLISH ) -{ - hbqt_par_QStyle( 1 )->polish( hbqt_par_QWidget( 2 ) ); -} - -/* - * virtual void polish ( QApplication * application ) - */ -HB_FUNC( QT_QSTYLE_POLISH_1 ) -{ - hbqt_par_QStyle( 1 )->polish( hbqt_par_QApplication( 2 ) ); -} - -/* - * virtual void polish ( QPalette & palette ) - */ -HB_FUNC( QT_QSTYLE_POLISH_2 ) -{ - hbqt_par_QStyle( 1 )->polish( *hbqt_par_QPalette( 2 ) ); -} - -/* - * virtual QSize sizeFromContents ( ContentsType type, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_SIZEFROMCONTENTS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyle( 1 )->sizeFromContents( ( QStyle::ContentsType ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), *hbqt_par_QSize( 4 ), hbqt_par_QWidget( 5 ) ) ) ) ); -} - -/* - * QIcon standardIcon ( StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const - */ -HB_FUNC( QT_QSTYLE_STANDARDICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyle( 1 )->standardIcon( ( QStyle::StandardPixmap ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ) ) ) ) ); -} - -/* - * virtual QPalette standardPalette () const - */ -HB_FUNC( QT_QSTYLE_STANDARDPALETTE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QStyle( 1 )->standardPalette() ) ) ); -} - -/* - * virtual int styleHint ( StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_STYLEHINT ) -{ - hb_retni( hbqt_par_QStyle( 1 )->styleHint( ( QStyle::StyleHint ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ), hbqt_par_QStyleHintReturn( 5 ) ) ); -} - -/* - * virtual QRect subControlRect ( ComplexControl control, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_SUBCONTROLRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyle( 1 )->subControlRect( ( QStyle::ComplexControl ) hb_parni( 2 ), hbqt_par_QStyleOptionComplex( 3 ), ( QStyle::SubControl ) hb_parni( 4 ), hbqt_par_QWidget( 5 ) ) ) ) ); -} - -/* - * virtual QRect subElementRect ( SubElement element, const QStyleOption * option, const QWidget * widget = 0 ) const = 0 - */ -HB_FUNC( QT_QSTYLE_SUBELEMENTRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyle( 1 )->subElementRect( ( QStyle::SubElement ) hb_parni( 2 ), hbqt_par_QStyleOption( 3 ), hbqt_par_QWidget( 4 ) ) ) ) ); -} - -/* - * virtual void unpolish ( QWidget * widget ) - */ -HB_FUNC( QT_QSTYLE_UNPOLISH ) -{ - hbqt_par_QStyle( 1 )->unpolish( hbqt_par_QWidget( 2 ) ); -} - -/* - * virtual void unpolish ( QApplication * application ) - */ -HB_FUNC( QT_QSTYLE_UNPOLISH_1 ) -{ - hbqt_par_QStyle( 1 )->unpolish( hbqt_par_QApplication( 2 ) ); -} - -/* - * QRect alignedRect ( Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize & size, const QRect & rectangle ) - */ -HB_FUNC( QT_QSTYLE_ALIGNEDRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyle( 1 )->alignedRect( ( Qt::LayoutDirection ) hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ), *hbqt_par_QSize( 4 ), *hbqt_par_QRect( 5 ) ) ) ) ); -} - -/* - * int sliderPositionFromValue ( int min, int max, int logicalValue, int span, bool upsideDown = false ) - */ -HB_FUNC( QT_QSTYLE_SLIDERPOSITIONFROMVALUE ) -{ - hb_retni( hbqt_par_QStyle( 1 )->sliderPositionFromValue( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parl( 6 ) ) ); -} - -/* - * int sliderValueFromPosition ( int min, int max, int position, int span, bool upsideDown = false ) - */ -HB_FUNC( QT_QSTYLE_SLIDERVALUEFROMPOSITION ) -{ - hb_retni( hbqt_par_QStyle( 1 )->sliderValueFromPosition( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parl( 6 ) ) ); -} - -/* - * Qt::Alignment visualAlignment ( Qt::LayoutDirection direction, Qt::Alignment alignment ) - */ -HB_FUNC( QT_QSTYLE_VISUALALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyle( 1 )->visualAlignment( ( Qt::LayoutDirection ) hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ) ); -} - -/* - * QPoint visualPos ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QPoint & logicalPosition ) - */ -HB_FUNC( QT_QSTYLE_VISUALPOS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QStyle( 1 )->visualPos( ( Qt::LayoutDirection ) hb_parni( 2 ), *hbqt_par_QRect( 3 ), *hbqt_par_QPoint( 4 ) ) ) ) ); -} - -/* - * QRect visualRect ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QRect & logicalRectangle ) - */ -HB_FUNC( QT_QSTYLE_VISUALRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyle( 1 )->visualRect( ( Qt::LayoutDirection ) hb_parni( 2 ), *hbqt_par_QRect( 3 ), *hbqt_par_QRect( 4 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleFactory.cpp b/harbour/contrib/hbqt/QStyleFactory.cpp deleted file mode 100644 index d1bf328368..0000000000 --- a/harbour/contrib/hbqt/QStyleFactory.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * - */ - -HB_FUNC( QT_QSTYLEFACTORY ) -{ - void * pObj = NULL; - - pObj = new QStyleFactory() ; - - hb_retptr( pObj ); -} -/* - * QStyle * create ( const QString & key ) - */ -HB_FUNC( QT_QSTYLEFACTORY_CREATE ) -{ - hb_retptr( ( QStyle* ) hbqt_par_QStyleFactory( 1 )->create( hbqt_par_QString( 2 ) ) ); -} - -/* - * QStringList keys () - */ -HB_FUNC( QT_QSTYLEFACTORY_KEYS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QStyleFactory( 1 )->keys() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleHintReturn.cpp b/harbour/contrib/hbqt/QStyleHintReturn.cpp deleted file mode 100644 index 4ad6e995f3..0000000000 --- a/harbour/contrib/hbqt/QStyleHintReturn.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum HintReturnType { SH_Default, SH_Mask, SH_Variant } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleHintReturn ( int version = QStyleOption::Version, int type = SH_Default ) - */ - -HB_FUNC( QT_QSTYLEHINTRETURN ) -{ -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleHintReturnMask.cpp b/harbour/contrib/hbqt/QStyleHintReturnMask.cpp deleted file mode 100644 index 201e23a658..0000000000 --- a/harbour/contrib/hbqt/QStyleHintReturnMask.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * Public Functions - */ - -#include - -#include - - -/* - * QStyleHintReturnMask () - */ - -HB_FUNC( QT_QSTYLEHINTRETURNMASK ) -{ -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleHintReturnVariant.cpp b/harbour/contrib/hbqt/QStyleHintReturnVariant.cpp deleted file mode 100644 index dacf2dded9..0000000000 --- a/harbour/contrib/hbqt/QStyleHintReturnVariant.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * Public Functions - */ - -#include - -#include - - -/* - * QStyleHintReturnVariant () - */ - -HB_FUNC( QT_QSTYLEHINTRETURNVARIANT ) -{ -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOption.cpp b/harbour/contrib/hbqt/QStyleOption.cpp deleted file mode 100644 index 1572d8a36e..0000000000 --- a/harbour/contrib/hbqt/QStyleOption.cpp +++ /dev/null @@ -1,161 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum OptionType { SO_Button, SO_ComboBox, SO_Complex, SO_Default, ..., SO_Q3ListViewItem } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOption ( int version = QStyleOption::Version, int type = SO_Default ) - * QStyleOption ( const QStyleOption & other ) - * ~QStyleOption () - */ - -HB_FUNC( QT_QSTYLEOPTION ) -{ - void * pObj = NULL; - - pObj = ( QStyleOption* ) new QStyleOption() ; - - hb_retptr( pObj ); -} -/* - * void initFrom ( const QWidget * widget ) - */ -HB_FUNC( QT_QSTYLEOPTION_INITFROM ) -{ - hbqt_par_QStyleOption( 1 )->initFrom( hbqt_par_QWidget( 2 ) ); -} - -/* - * Qt::LayoutDirection direction - */ -HB_FUNC( QT_QSTYLEOPTION_DIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QStyleOption( 1 )->direction ); -} - -/* - * QFontMetrics fontMetrics - */ -HB_FUNC( QT_QSTYLEOPTION_FONTMETRICS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFontMetrics( hbqt_par_QStyleOption( 1 )->fontMetrics ) ) ); -} - -/* - * QPalette palette - */ -HB_FUNC( QT_QSTYLEOPTION_PALETTE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QStyleOption( 1 )->palette ) ) ); -} - -/* - * QRect rect - */ -HB_FUNC( QT_QSTYLEOPTION_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyleOption( 1 )->rect ) ) ); -} - -/* - * QStyle::State state - */ -HB_FUNC( QT_QSTYLEOPTION_STATE ) -{ - hb_retni( ( QStyle::State ) hbqt_par_QStyleOption( 1 )->state ); -} - -/* - * int type - */ -HB_FUNC( QT_QSTYLEOPTION_TYPE ) -{ - hb_retni( hbqt_par_QStyleOption( 1 )->type ); -} - -/* - * int version - */ -HB_FUNC( QT_QSTYLEOPTION_VERSION ) -{ - hb_retni( hbqt_par_QStyleOption( 1 )->version ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionButton.cpp b/harbour/contrib/hbqt/QStyleOptionButton.cpp deleted file mode 100644 index 9d2f8c86ab..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionButton.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags ButtonFeatures - * enum ButtonFeature { None, Flat, HasMenu, DefaultButton, AutoDefaultButton, CommandLinkButton } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionButton () - * QStyleOptionButton ( const QStyleOptionButton & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONBUTTON ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionButton* ) new QStyleOptionButton() ; - - hb_retptr( pObj ); -} -/* - * ButtonFeatures features - */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_FEATURES ) -{ - hb_retni( ( QStyleOptionButton::ButtonFeatures ) hbqt_par_QStyleOptionButton( 1 )->features ); -} - -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionButton( 1 )->icon ) ) ); -} - -/* - * QSize iconSize - */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionButton( 1 )->iconSize ) ) ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionButton( 1 )->text.toLatin1().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionComboBox.cpp b/harbour/contrib/hbqt/QStyleOptionComboBox.cpp deleted file mode 100644 index 1c59ba4248..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionComboBox.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionComboBox () - * QStyleOptionComboBox ( const QStyleOptionComboBox & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionComboBox* ) new QStyleOptionComboBox() ; - - hb_retptr( pObj ); -} -/* - * QIcon currentIcon - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_CURRENTICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionComboBox( 1 )->currentIcon ) ) ); -} - -/* - * QString currentText - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_CURRENTTEXT ) -{ - hb_retc( hbqt_par_QStyleOptionComboBox( 1 )->currentText.toLatin1().data() ); -} - -/* - * bool editable - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_EDITABLE ) -{ - hb_retl( hbqt_par_QStyleOptionComboBox( 1 )->editable ); -} - -/* - * bool frame - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_FRAME ) -{ - hb_retl( hbqt_par_QStyleOptionComboBox( 1 )->frame ); -} - -/* - * QSize iconSize - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionComboBox( 1 )->iconSize ) ) ); -} - -/* - * QRect popupRect - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX_POPUPRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyleOptionComboBox( 1 )->popupRect ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionComplex.cpp b/harbour/contrib/hbqt/QStyleOptionComplex.cpp deleted file mode 100644 index 40ca98b796..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionComplex.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionComplex ( int version = QStyleOptionComplex::Version, int type = SO_Complex ) - * QStyleOptionComplex ( const QStyleOptionComplex & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionComplex* ) new QStyleOptionComplex() ; - - hb_retptr( pObj ); -} -/* - * QStyle::SubControls activeSubControls - */ -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX_ACTIVESUBCONTROLS ) -{ - hb_retni( ( QStyle::SubControls ) hbqt_par_QStyleOptionComplex( 1 )->activeSubControls ); -} - -/* - * QStyle::SubControls subControls - */ -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX_SUBCONTROLS ) -{ - hb_retni( ( QStyle::SubControls ) hbqt_par_QStyleOptionComplex( 1 )->subControls ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionDockWidget.cpp b/harbour/contrib/hbqt/QStyleOptionDockWidget.cpp deleted file mode 100644 index 3f8698b5db..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionDockWidget.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionDockWidget () - * QStyleOptionDockWidget ( const QStyleOptionDockWidget & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionDockWidget* ) new QStyleOptionDockWidget() ; - - hb_retptr( pObj ); -} -/* - * bool closable - */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_CLOSABLE ) -{ - hb_retl( hbqt_par_QStyleOptionDockWidget( 1 )->closable ); -} - -/* - * bool floatable - */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_FLOATABLE ) -{ - hb_retl( hbqt_par_QStyleOptionDockWidget( 1 )->floatable ); -} - -/* - * bool movable - */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_MOVABLE ) -{ - hb_retl( hbqt_par_QStyleOptionDockWidget( 1 )->movable ); -} - -/* - * QString title - */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET_TITLE ) -{ - hb_retc( hbqt_par_QStyleOptionDockWidget( 1 )->title.toLatin1().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionFocusRect.cpp b/harbour/contrib/hbqt/QStyleOptionFocusRect.cpp deleted file mode 100644 index aab439316a..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionFocusRect.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionFocusRect () - * QStyleOptionFocusRect ( const QStyleOptionFocusRect & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONFOCUSRECT ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionFocusRect* ) new QStyleOptionFocusRect() ; - - hb_retptr( pObj ); -} -/* - * QColor backgroundColor - */ -HB_FUNC( QT_QSTYLEOPTIONFOCUSRECT_BACKGROUNDCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QStyleOptionFocusRect( 1 )->backgroundColor ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionFrame.cpp b/harbour/contrib/hbqt/QStyleOptionFrame.cpp deleted file mode 100644 index e8bb9f0924..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionFrame.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionFrame () - * QStyleOptionFrame ( const QStyleOptionFrame & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONFRAME ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionFrame* ) new QStyleOptionFrame() ; - - hb_retptr( pObj ); -} -/* - * int lineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONFRAME_LINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionFrame( 1 )->lineWidth ); -} - -/* - * int midLineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONFRAME_MIDLINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionFrame( 1 )->midLineWidth ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionGroupBox.cpp b/harbour/contrib/hbqt/QStyleOptionGroupBox.cpp deleted file mode 100644 index b691b5c706..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionGroupBox.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionGroupBox () - * QStyleOptionGroupBox ( const QStyleOptionGroupBox & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionGroupBox* ) new QStyleOptionGroupBox() ; - - hb_retptr( pObj ); -} -/* - * QStyleOptionFrameV2::FrameFeatures features - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_FEATURES ) -{ - hb_retni( ( QStyleOptionFrameV2::FrameFeatures ) hbqt_par_QStyleOptionGroupBox( 1 )->features ); -} - -/* - * int lineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_LINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionGroupBox( 1 )->lineWidth ); -} - -/* - * int midLineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_MIDLINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionGroupBox( 1 )->midLineWidth ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionGroupBox( 1 )->text.toLatin1().data() ); -} - -/* - * Qt::Alignment textAlignment - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_TEXTALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionGroupBox( 1 )->textAlignment ); -} - -/* - * QColor textColor - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX_TEXTCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QStyleOptionGroupBox( 1 )->textColor ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionHeader.cpp b/harbour/contrib/hbqt/QStyleOptionHeader.cpp deleted file mode 100644 index 16853f5d4f..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionHeader.cpp +++ /dev/null @@ -1,170 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum SectionPosition { Beginning, Middle, End, OnlyOneSection } - * enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected, NextAndPreviousAreSelected } - * enum SortIndicator { None, SortUp, SortDown } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionHeader () - * QStyleOptionHeader ( const QStyleOptionHeader & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONHEADER ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionHeader* ) new QStyleOptionHeader() ; - - hb_retptr( pObj ); -} -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionHeader( 1 )->icon ) ) ); -} - -/* - * Qt::Alignment iconAlignment - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_ICONALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionHeader( 1 )->iconAlignment ); -} - -/* - * Qt::Orientation orientation - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QStyleOptionHeader( 1 )->orientation ); -} - -/* - * SectionPosition position - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_POSITION ) -{ - hb_retni( ( QStyleOptionHeader::SectionPosition ) hbqt_par_QStyleOptionHeader( 1 )->position ); -} - -/* - * int section - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_SECTION ) -{ - hb_retni( hbqt_par_QStyleOptionHeader( 1 )->section ); -} - -/* - * SelectedPosition selectedPosition - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_SELECTEDPOSITION ) -{ - hb_retni( ( QStyleOptionHeader::SelectedPosition ) hbqt_par_QStyleOptionHeader( 1 )->selectedPosition ); -} - -/* - * SortIndicator sortIndicator - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_SORTINDICATOR ) -{ - hb_retni( ( QStyleOptionHeader::SortIndicator ) hbqt_par_QStyleOptionHeader( 1 )->sortIndicator ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionHeader( 1 )->text.toLatin1().data() ); -} - -/* - * Qt::Alignment textAlignment - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER_TEXTALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionHeader( 1 )->textAlignment ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionMenuItem.cpp b/harbour/contrib/hbqt/QStyleOptionMenuItem.cpp deleted file mode 100644 index 1a99da7d78..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionMenuItem.cpp +++ /dev/null @@ -1,177 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CheckType { NotCheckable, Exclusive, NonExclusive } - * enum MenuItemType { Normal, DefaultItem, Separator, SubMenu, ..., EmptyArea } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionMenuItem () - * QStyleOptionMenuItem ( const QStyleOptionMenuItem & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONMENUITEM ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionMenuItem* ) new QStyleOptionMenuItem() ; - - hb_retptr( pObj ); -} -/* - * CheckType checkType - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_CHECKTYPE ) -{ - hb_retni( ( QStyleOptionMenuItem::CheckType ) hbqt_par_QStyleOptionMenuItem( 1 )->checkType ); -} - -/* - * bool checked - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_CHECKED ) -{ - hb_retl( hbqt_par_QStyleOptionMenuItem( 1 )->checked ); -} - -/* - * QFont font - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QStyleOptionMenuItem( 1 )->font ) ) ); -} - -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionMenuItem( 1 )->icon ) ) ); -} - -/* - * int maxIconWidth - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MAXICONWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionMenuItem( 1 )->maxIconWidth ); -} - -/* - * bool menuHasCheckableItems - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MENUHASCHECKABLEITEMS ) -{ - hb_retl( hbqt_par_QStyleOptionMenuItem( 1 )->menuHasCheckableItems ); -} - -/* - * MenuItemType menuItemType - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MENUITEMTYPE ) -{ - hb_retni( ( QStyleOptionMenuItem::MenuItemType ) hbqt_par_QStyleOptionMenuItem( 1 )->menuItemType ); -} - -/* - * QRect menuRect - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_MENURECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyleOptionMenuItem( 1 )->menuRect ) ) ); -} - -/* - * int tabWidth - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_TABWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionMenuItem( 1 )->tabWidth ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionMenuItem( 1 )->text.toLatin1().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionProgressBar.cpp b/harbour/contrib/hbqt/QStyleOptionProgressBar.cpp deleted file mode 100644 index fd78caf729..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionProgressBar.cpp +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * Public Functions - */ - -#include - -#include - - -/* - * QStyleOptionProgressBar () - * QStyleOptionProgressBar ( const QStyleOptionProgressBar & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionProgressBar* ) new QStyleOptionProgressBar() ; - - hb_retptr( pObj ); -} -/* - * int maximum - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_MAXIMUM ) -{ - hb_retni( hbqt_par_QStyleOptionProgressBar( 1 )->maximum ); -} - -/* - * int minimum - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_MINIMUM ) -{ - hb_retni( hbqt_par_QStyleOptionProgressBar( 1 )->minimum ); -} - -/* - * int progress - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_PROGRESS ) -{ - hb_retni( hbqt_par_QStyleOptionProgressBar( 1 )->progress ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionProgressBar( 1 )->text.toLatin1().data() ); -} - -/* - * Qt::Alignment textAlignment - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_TEXTALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionProgressBar( 1 )->textAlignment ); -} - -/* - * bool textVisible - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR_TEXTVISIBLE ) -{ - hb_retl( hbqt_par_QStyleOptionProgressBar( 1 )->textVisible ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp b/harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp deleted file mode 100644 index aa04cc7802..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionSizeGrip () - * QStyleOptionSizeGrip ( const QStyleOptionSizeGrip & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONSIZEGRIP ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionSizeGrip* ) new QStyleOptionSizeGrip() ; - - hb_retptr( pObj ); -} -/* - * Qt::Corner corner - */ -HB_FUNC( QT_QSTYLEOPTIONSIZEGRIP_CORNER ) -{ - hb_retni( ( Qt::Corner ) hbqt_par_QStyleOptionSizeGrip( 1 )->corner ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionSlider.cpp b/harbour/contrib/hbqt/QStyleOptionSlider.cpp deleted file mode 100644 index 67e6386ce4..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionSlider.cpp +++ /dev/null @@ -1,191 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionSlider () - * QStyleOptionSlider ( const QStyleOptionSlider & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONSLIDER ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionSlider* ) new QStyleOptionSlider() ; - - hb_retptr( pObj ); -} -/* - * bool dialWrapping - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_DIALWRAPPING ) -{ - hb_retl( hbqt_par_QStyleOptionSlider( 1 )->dialWrapping ); -} - -/* - * int maximum - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_MAXIMUM ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->maximum ); -} - -/* - * int minimum - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_MINIMUM ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->minimum ); -} - -/* - * qreal notchTarget - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_NOTCHTARGET ) -{ - hb_retnd( hbqt_par_QStyleOptionSlider( 1 )->notchTarget ); -} - -/* - * Qt::Orientation orientation - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QStyleOptionSlider( 1 )->orientation ); -} - -/* - * int pageStep - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_PAGESTEP ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->pageStep ); -} - -/* - * int singleStep - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_SINGLESTEP ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->singleStep ); -} - -/* - * int sliderPosition - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_SLIDERPOSITION ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->sliderPosition ); -} - -/* - * int sliderValue - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_SLIDERVALUE ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->sliderValue ); -} - -/* - * int tickInterval - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_TICKINTERVAL ) -{ - hb_retni( hbqt_par_QStyleOptionSlider( 1 )->tickInterval ); -} - -/* - * QSlider::TickPosition tickPosition - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_TICKPOSITION ) -{ - hb_retni( ( QSlider::TickPosition ) hbqt_par_QStyleOptionSlider( 1 )->tickPosition ); -} - -/* - * bool upsideDown - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER_UPSIDEDOWN ) -{ - hb_retl( hbqt_par_QStyleOptionSlider( 1 )->upsideDown ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionSpinBox.cpp b/harbour/contrib/hbqt/QStyleOptionSpinBox.cpp deleted file mode 100644 index 7497d99f0a..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionSpinBox.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionSpinBox () - * QStyleOptionSpinBox ( const QStyleOptionSpinBox & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONSPINBOX ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionSpinBox* ) new QStyleOptionSpinBox() ; - - hb_retptr( pObj ); -} -/* - * QAbstractSpinBox::ButtonSymbols buttonSymbols - */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX_BUTTONSYMBOLS ) -{ - hb_retni( ( QAbstractSpinBox::ButtonSymbols ) hbqt_par_QStyleOptionSpinBox( 1 )->buttonSymbols ); -} - -/* - * bool frame - */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX_FRAME ) -{ - hb_retl( hbqt_par_QStyleOptionSpinBox( 1 )->frame ); -} - -/* - * QAbstractSpinBox::StepEnabled stepEnabled - */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX_STEPENABLED ) -{ - hb_retni( ( QAbstractSpinBox::StepEnabled ) hbqt_par_QStyleOptionSpinBox( 1 )->stepEnabled ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionTab.cpp b/harbour/contrib/hbqt/QStyleOptionTab.cpp deleted file mode 100644 index 39aff3ae32..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionTab.cpp +++ /dev/null @@ -1,155 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CornerWidget { NoCornerWidgets, LeftCornerWidget, RightCornerWidget } - * flags CornerWidgets - * enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * enum TabPosition { Beginning, Middle, End, OnlyOneTab } - */ - -#include - -#include - - -/* - * QStyleOptionTab () - * QStyleOptionTab ( const QStyleOptionTab & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTAB ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionTab* ) new QStyleOptionTab() ; - - hb_retptr( pObj ); -} -/* - * CornerWidgets cornerWidgets - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_CORNERWIDGETS ) -{ - hb_retni( ( QStyleOptionTab::CornerWidgets ) hbqt_par_QStyleOptionTab( 1 )->cornerWidgets ); -} - -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionTab( 1 )->icon ) ) ); -} - -/* - * TabPosition position - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_POSITION ) -{ - hb_retni( ( QStyleOptionTab::TabPosition ) hbqt_par_QStyleOptionTab( 1 )->position ); -} - -/* - * int row - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_ROW ) -{ - hb_retni( hbqt_par_QStyleOptionTab( 1 )->row ); -} - -/* - * SelectedPosition selectedPosition - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_SELECTEDPOSITION ) -{ - hb_retni( ( QStyleOptionTab::SelectedPosition ) hbqt_par_QStyleOptionTab( 1 )->selectedPosition ); -} - -/* - * QTabBar::Shape shape - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_SHAPE ) -{ - hb_retni( ( QTabBar::Shape ) hbqt_par_QStyleOptionTab( 1 )->shape ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONTAB_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionTab( 1 )->text.toLatin1().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionTabBarBase.cpp b/harbour/contrib/hbqt/QStyleOptionTabBarBase.cpp deleted file mode 100644 index 084fe17882..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionTabBarBase.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionTabBarBase () - * QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionTabBarBase* ) new QStyleOptionTabBarBase() ; - - hb_retptr( pObj ); -} -/* - * QRect selectedTabRect - */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_SELECTEDTABRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyleOptionTabBarBase( 1 )->selectedTabRect ) ) ); -} - -/* - * QTabBar::Shape shape - */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_SHAPE ) -{ - hb_retni( ( QTabBar::Shape ) hbqt_par_QStyleOptionTabBarBase( 1 )->shape ); -} - -/* - * QRect tabBarRect - */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_TABBARRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QStyleOptionTabBarBase( 1 )->tabBarRect ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionTabWidgetFrame.cpp b/harbour/contrib/hbqt/QStyleOptionTabWidgetFrame.cpp deleted file mode 100644 index f13cbdf5ca..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionTabWidgetFrame.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionTabWidgetFrame () - * QStyleOptionTabWidgetFrame ( const QStyleOptionTabWidgetFrame & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionTabWidgetFrame* ) new QStyleOptionTabWidgetFrame() ; - - hb_retptr( pObj ); -} -/* - * QSize leftCornerWidgetSize - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_LEFTCORNERWIDGETSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->leftCornerWidgetSize ) ) ); -} - -/* - * int lineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_LINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->lineWidth ); -} - -/* - * int midLineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_MIDLINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->midLineWidth ); -} - -/* - * QSize rightCornerWidgetSize - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_RIGHTCORNERWIDGETSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->rightCornerWidgetSize ) ) ); -} - -/* - * QTabBar::Shape shape - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_SHAPE ) -{ - hb_retni( ( QTabBar::Shape ) hbqt_par_QStyleOptionTabWidgetFrame( 1 )->shape ); -} - -/* - * QSize tabBarSize - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_TABBARSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->tabBarSize ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionTitleBar.cpp b/harbour/contrib/hbqt/QStyleOptionTitleBar.cpp deleted file mode 100644 index 4859107b9a..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionTitleBar.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionTitleBar () - * QStyleOptionTitleBar ( const QStyleOptionTitleBar & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionTitleBar* ) new QStyleOptionTitleBar() ; - - hb_retptr( pObj ); -} -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionTitleBar( 1 )->icon ) ) ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionTitleBar( 1 )->text.toLatin1().data() ); -} - -/* - * Qt::WindowFlags titleBarFlags - */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TITLEBARFLAGS ) -{ - hb_retni( ( Qt::WindowFlags ) hbqt_par_QStyleOptionTitleBar( 1 )->titleBarFlags ); -} - -/* - * int titleBarState - */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TITLEBARSTATE ) -{ - hb_retni( hbqt_par_QStyleOptionTitleBar( 1 )->titleBarState ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionToolBar.cpp b/harbour/contrib/hbqt/QStyleOptionToolBar.cpp deleted file mode 100644 index bc92266f00..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionToolBar.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * enum ToolBarFeature { None, Movable } - * flags ToolBarFeatures - * enum ToolBarPosition { Beginning, Middle, End, OnlyOne } - */ - -#include - -#include - - -/* - * QStyleOptionToolBar () - * QStyleOptionToolBar ( const QStyleOptionToolBar & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionToolBar* ) new QStyleOptionToolBar() ; - - hb_retptr( pObj ); -} -/* - * ToolBarFeatures features - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_FEATURES ) -{ - hb_retni( ( QStyleOptionToolBar::ToolBarFeatures ) hbqt_par_QStyleOptionToolBar( 1 )->features ); -} - -/* - * int lineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_LINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionToolBar( 1 )->lineWidth ); -} - -/* - * int midLineWidth - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_MIDLINEWIDTH ) -{ - hb_retni( hbqt_par_QStyleOptionToolBar( 1 )->midLineWidth ); -} - -/* - * ToolBarPosition positionOfLine - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_POSITIONOFLINE ) -{ - hb_retni( ( QStyleOptionToolBar::ToolBarPosition ) hbqt_par_QStyleOptionToolBar( 1 )->positionOfLine ); -} - -/* - * ToolBarPosition positionWithinLine - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_POSITIONWITHINLINE ) -{ - hb_retni( ( QStyleOptionToolBar::ToolBarPosition ) hbqt_par_QStyleOptionToolBar( 1 )->positionWithinLine ); -} - -/* - * Qt::ToolBarArea toolBarArea - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_TOOLBARAREA ) -{ - hb_retni( ( Qt::ToolBarArea ) hbqt_par_QStyleOptionToolBar( 1 )->toolBarArea ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionToolBox.cpp b/harbour/contrib/hbqt/QStyleOptionToolBox.cpp deleted file mode 100644 index d77a0d69cb..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionToolBox.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionToolBox () - * QStyleOptionToolBox ( const QStyleOptionToolBox & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionToolBox* ) new QStyleOptionToolBox() ; - - hb_retptr( pObj ); -} -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionToolBox( 1 )->icon ) ) ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionToolBox( 1 )->text.toLatin1().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionToolButton.cpp b/harbour/contrib/hbqt/QStyleOptionToolButton.cpp deleted file mode 100644 index 06517d8a3a..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionToolButton.cpp +++ /dev/null @@ -1,161 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - * enum ToolButtonFeature { None, Arrow, Menu, PopupDelay, HasMenu, MenuButtonPopup } - * flags ToolButtonFeatures - */ - -#include - -#include - - -/* - * QStyleOptionToolButton () - * QStyleOptionToolButton ( const QStyleOptionToolButton & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionToolButton* ) new QStyleOptionToolButton() ; - - hb_retptr( pObj ); -} -/* - * Qt::ArrowType arrowType - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ARROWTYPE ) -{ - hb_retni( ( Qt::ArrowType ) hbqt_par_QStyleOptionToolButton( 1 )->arrowType ); -} - -/* - * ToolButtonFeatures features - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_FEATURES ) -{ - hb_retni( ( QStyleOptionToolButton::ToolButtonFeatures ) hbqt_par_QStyleOptionToolButton( 1 )->features ); -} - -/* - * QFont font - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QStyleOptionToolButton( 1 )->font ) ) ); -} - -/* - * QIcon icon - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QStyleOptionToolButton( 1 )->icon ) ) ); -} - -/* - * QSize iconSize - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionToolButton( 1 )->iconSize ) ) ); -} - -/* - * QPoint pos - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QStyleOptionToolButton( 1 )->pos ) ) ); -} - -/* - * QString text - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_TEXT ) -{ - hb_retc( hbqt_par_QStyleOptionToolButton( 1 )->text.toLatin1().data() ); -} - -/* - * Qt::ToolButtonStyle toolButtonStyle - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_TOOLBUTTONSTYLE ) -{ - hb_retni( ( Qt::ToolButtonStyle ) hbqt_par_QStyleOptionToolButton( 1 )->toolButtonStyle ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyleOptionViewItem.cpp b/harbour/contrib/hbqt/QStyleOptionViewItem.cpp deleted file mode 100644 index 3a50f0f5e7..0000000000 --- a/harbour/contrib/hbqt/QStyleOptionViewItem.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Position { Left, Right, Top, Bottom } - * enum StyleOptionType { Type } - * enum StyleOptionVersion { Version } - */ - -#include - -#include - - -/* - * QStyleOptionViewItem () - * QStyleOptionViewItem ( const QStyleOptionViewItem & other ) - */ - -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM ) -{ - void * pObj = NULL; - - pObj = ( QStyleOptionViewItem* ) new QStyleOptionViewItem() ; - - hb_retptr( pObj ); -} -/* - * Qt::Alignment decorationAlignment - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionViewItem( 1 )->decorationAlignment ); -} - -/* - * Position decorationPosition - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONPOSITION ) -{ - hb_retni( ( QStyleOptionViewItem::Position ) hbqt_par_QStyleOptionViewItem( 1 )->decorationPosition ); -} - -/* - * QSize decorationSize - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyleOptionViewItem( 1 )->decorationSize ) ) ); -} - -/* - * Qt::Alignment displayAlignment - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DISPLAYALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionViewItem( 1 )->displayAlignment ); -} - -/* - * QFont font - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QStyleOptionViewItem( 1 )->font ) ) ); -} - -/* - * bool showDecorationSelected - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_SHOWDECORATIONSELECTED ) -{ - hb_retl( hbqt_par_QStyleOptionViewItem( 1 )->showDecorationSelected ); -} - -/* - * Qt::TextElideMode textElideMode - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_TEXTELIDEMODE ) -{ - hb_retni( ( Qt::TextElideMode ) hbqt_par_QStyleOptionViewItem( 1 )->textElideMode ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStylePainter.cpp b/harbour/contrib/hbqt/QStylePainter.cpp deleted file mode 100644 index 3d4d6d0b76..0000000000 --- a/harbour/contrib/hbqt/QStylePainter.cpp +++ /dev/null @@ -1,155 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QStylePainter () - * QStylePainter ( QWidget * widget ) - * QStylePainter ( QPaintDevice * pd, QWidget * widget ) - */ - -HB_FUNC( QT_QSTYLEPAINTER ) -{ - void * pObj = NULL; - - pObj = ( QStylePainter* ) new QStylePainter() ; - - hb_retptr( pObj ); -} -/* - * bool begin ( QWidget * widget ) - */ -HB_FUNC( QT_QSTYLEPAINTER_BEGIN ) -{ - hb_retl( hbqt_par_QStylePainter( 1 )->begin( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * bool begin ( QPaintDevice * pd, QWidget * widget ) - */ -HB_FUNC( QT_QSTYLEPAINTER_BEGIN_1 ) -{ - hb_retl( hbqt_par_QStylePainter( 1 )->begin( hbqt_par_QPaintDevice( 2 ), hbqt_par_QWidget( 3 ) ) ); -} - -/* - * void drawComplexControl ( QStyle::ComplexControl cc, const QStyleOptionComplex & option ) - */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWCOMPLEXCONTROL ) -{ - hbqt_par_QStylePainter( 1 )->drawComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), *hbqt_par_QStyleOptionComplex( 3 ) ); -} - -/* - * void drawControl ( QStyle::ControlElement ce, const QStyleOption & option ) - */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWCONTROL ) -{ - hbqt_par_QStylePainter( 1 )->drawControl( ( QStyle::ControlElement ) hb_parni( 2 ), *hbqt_par_QStyleOption( 3 ) ); -} - -/* - * void drawItemPixmap ( const QRect & rect, int flags, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWITEMPIXMAP ) -{ - hbqt_par_QStylePainter( 1 )->drawItemPixmap( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) ); -} - -/* - * void drawItemText ( const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) - */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWITEMTEXT ) -{ - hbqt_par_QStylePainter( 1 )->drawItemText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPalette( 4 ), hb_parl( 5 ), hbqt_par_QString( 6 ), ( HB_ISNUM( 7 ) ? ( QPalette::ColorRole ) hb_parni( 7 ) : ( QPalette::ColorRole ) QPalette::NoRole ) ); -} - -/* - * void drawPrimitive ( QStyle::PrimitiveElement pe, const QStyleOption & option ) - */ -HB_FUNC( QT_QSTYLEPAINTER_DRAWPRIMITIVE ) -{ - hbqt_par_QStylePainter( 1 )->drawPrimitive( ( QStyle::PrimitiveElement ) hb_parni( 2 ), *hbqt_par_QStyleOption( 3 ) ); -} - -/* - * QStyle * style () const - */ -HB_FUNC( QT_QSTYLEPAINTER_STYLE ) -{ - hb_retptr( ( QStyle* ) hbqt_par_QStylePainter( 1 )->style() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QStyledItemDelegate.cpp b/harbour/contrib/hbqt/QStyledItemDelegate.cpp deleted file mode 100644 index a6bda7e304..0000000000 --- a/harbour/contrib/hbqt/QStyledItemDelegate.cpp +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QStyledItemDelegate ( QObject * parent = 0 ) - * ~QStyledItemDelegate () - */ - -HB_FUNC( QT_QSTYLEDITEMDELEGATE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QStyledItemDelegate > pObj = NULL; - - pObj = ( QStyledItemDelegate* ) new QStyledItemDelegate( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * virtual QWidget * createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_CREATEEDITOR ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QStyledItemDelegate( 1 )->createEditor( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ) ); -} - -/* - * virtual QString displayText ( const QVariant & value, const QLocale & locale ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_DISPLAYTEXT ) -{ - hb_retc( hbqt_par_QStyledItemDelegate( 1 )->displayText( *hbqt_par_QVariant( 2 ), *hbqt_par_QLocale( 3 ) ).toAscii().data() ); -} - -/* - * QItemEditorFactory * itemEditorFactory () const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_ITEMEDITORFACTORY ) -{ - hb_retptr( ( QItemEditorFactory* ) hbqt_par_QStyledItemDelegate( 1 )->itemEditorFactory() ); -} - -/* - * virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_PAINT ) -{ - hbqt_par_QStyledItemDelegate( 1 )->paint( hbqt_par_QPainter( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* - * virtual void setEditorData ( QWidget * editor, const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SETEDITORDATA ) -{ - hbqt_par_QStyledItemDelegate( 1 )->setEditorData( hbqt_par_QWidget( 2 ), *hbqt_par_QModelIndex( 3 ) ); -} - -/* - * void setItemEditorFactory ( QItemEditorFactory * factory ) - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SETITEMEDITORFACTORY ) -{ - hbqt_par_QStyledItemDelegate( 1 )->setItemEditorFactory( hbqt_par_QItemEditorFactory( 2 ) ); -} - -/* - * virtual void setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SETMODELDATA ) -{ - hbqt_par_QStyledItemDelegate( 1 )->setModelData( hbqt_par_QWidget( 2 ), hbqt_par_QAbstractItemModel( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - -/* - * virtual QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QStyledItemDelegate( 1 )->sizeHint( *hbqt_par_QStyleOptionViewItem( 2 ), *hbqt_par_QModelIndex( 3 ) ) ) ) ); -} - -/* - * virtual void updateEditorGeometry ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) const - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE_UPDATEEDITORGEOMETRY ) -{ - hbqt_par_QStyledItemDelegate( 1 )->updateEditorGeometry( hbqt_par_QWidget( 2 ), *hbqt_par_QStyleOptionViewItem( 3 ), *hbqt_par_QModelIndex( 4 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QSystemTrayIcon.cpp b/harbour/contrib/hbqt/QSystemTrayIcon.cpp deleted file mode 100644 index 7eba4a7e73..0000000000 --- a/harbour/contrib/hbqt/QSystemTrayIcon.cpp +++ /dev/null @@ -1,211 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ActivationReason { Unknown, Context, DoubleClick, Trigger, MiddleClick } - * enum MessageIcon { NoIcon, Information, Warning, Critical } - */ - -#include - -#include - - -/* - * QSystemTrayIcon ( QObject * parent = 0 ) - * QSystemTrayIcon ( const QIcon & icon, QObject * parent = 0 ) - * ~QSystemTrayIcon () - */ - -HB_FUNC( QT_QSYSTEMTRAYICON ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QSystemTrayIcon > pObj = NULL; - - pObj = ( QSystemTrayIcon* ) new QSystemTrayIcon( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QMenu * contextMenu () const - */ -HB_FUNC( QT_QSYSTEMTRAYICON_CONTEXTMENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QSystemTrayIcon( 1 )->contextMenu() ); -} - -/* - * QRect geometry () const - */ -HB_FUNC( QT_QSYSTEMTRAYICON_GEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QSystemTrayIcon( 1 )->geometry() ) ) ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QSYSTEMTRAYICON_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QSystemTrayIcon( 1 )->icon() ) ) ); -} - -/* - * bool isVisible () const - */ -HB_FUNC( QT_QSYSTEMTRAYICON_ISVISIBLE ) -{ - hb_retl( hbqt_par_QSystemTrayIcon( 1 )->isVisible() ); -} - -/* - * void setContextMenu ( QMenu * menu ) - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETCONTEXTMENU ) -{ - hbqt_par_QSystemTrayIcon( 1 )->setContextMenu( hbqt_par_QMenu( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETICON ) -{ - hbqt_par_QSystemTrayIcon( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setToolTip ( const QString & tip ) - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETTOOLTIP ) -{ - hbqt_par_QSystemTrayIcon( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void showMessage ( const QString & title, const QString & message, MessageIcon icon = Information, int millisecondsTimeoutHint = 10000 ) - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SHOWMESSAGE ) -{ - hbqt_par_QSystemTrayIcon( 1 )->showMessage( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ), ( HB_ISNUM( 4 ) ? ( QSystemTrayIcon::MessageIcon ) hb_parni( 4 ) : ( QSystemTrayIcon::MessageIcon ) QSystemTrayIcon::Information ), ( HB_ISNUM( 5 ) ? hb_parni( 5 ) : 10000 ) ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QSYSTEMTRAYICON_TOOLTIP ) -{ - hb_retc( hbqt_par_QSystemTrayIcon( 1 )->toolTip().toAscii().data() ); -} - -/* - * bool isSystemTrayAvailable () - */ -HB_FUNC( QT_QSYSTEMTRAYICON_ISSYSTEMTRAYAVAILABLE ) -{ - hb_retl( hbqt_par_QSystemTrayIcon( 1 )->isSystemTrayAvailable() ); -} - -/* - * bool supportsMessages () - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SUPPORTSMESSAGES ) -{ - hb_retl( hbqt_par_QSystemTrayIcon( 1 )->supportsMessages() ); -} - -/* - * void hide () - */ -HB_FUNC( QT_QSYSTEMTRAYICON_HIDE ) -{ - hbqt_par_QSystemTrayIcon( 1 )->hide(); -} - -/* - * void setVisible ( bool visible ) - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SETVISIBLE ) -{ - hbqt_par_QSystemTrayIcon( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * void show () - */ -HB_FUNC( QT_QSYSTEMTRAYICON_SHOW ) -{ - hbqt_par_QSystemTrayIcon( 1 )->show(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTabBar.cpp b/harbour/contrib/hbqt/QTabBar.cpp deleted file mode 100644 index 8dcaa9a6be..0000000000 --- a/harbour/contrib/hbqt/QTabBar.cpp +++ /dev/null @@ -1,452 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ButtonPosition { LeftSide, RightSide } - * enum SelectionBehavior { SelectLeftTab, SelectRightTab, SelectPreviousTab } - * enum Shape { RoundedNorth, RoundedSouth, RoundedWest, RoundedEast, ..., TriangularEast } - */ - -#include - -#include -#include -#include - -/* - * QTabBar ( QWidget * parent = 0 ) - * ~QTabBar () - */ - -HB_FUNC( QT_QTABBAR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTabBar > pObj = NULL; - - pObj = ( QTabBar* ) new QTabBar( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int addTab ( const QString & text ) - */ -HB_FUNC( QT_QTABBAR_ADDTAB ) -{ - hb_retni( hbqt_par_QTabBar( 1 )->addTab( hbqt_par_QString( 2 ) ) ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QTABBAR_COUNT ) -{ - hb_retni( hbqt_par_QTabBar( 1 )->count() ); -} - -/* - * int currentIndex () const - */ -HB_FUNC( QT_QTABBAR_CURRENTINDEX ) -{ - hb_retni( hbqt_par_QTabBar( 1 )->currentIndex() ); -} - -/* - * bool documentMode () const - */ -HB_FUNC( QT_QTABBAR_DOCUMENTMODE ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->documentMode() ); -} - -/* - * bool drawBase () const - */ -HB_FUNC( QT_QTABBAR_DRAWBASE ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->drawBase() ); -} - -/* - * Qt::TextElideMode elideMode () const - */ -HB_FUNC( QT_QTABBAR_ELIDEMODE ) -{ - hb_retni( ( Qt::TextElideMode ) hbqt_par_QTabBar( 1 )->elideMode() ); -} - -/* - * bool expanding () const - */ -HB_FUNC( QT_QTABBAR_EXPANDING ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->expanding() ); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QTABBAR_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QTabBar( 1 )->iconSize() ) ) ); -} - -/* - * int insertTab ( int index, const QString & text ) - */ -HB_FUNC( QT_QTABBAR_INSERTTAB ) -{ - hb_retni( hbqt_par_QTabBar( 1 )->insertTab( hb_parni( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * bool isMovable () const - */ -HB_FUNC( QT_QTABBAR_ISMOVABLE ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->isMovable() ); -} - -/* - * bool isTabEnabled ( int index ) const - */ -HB_FUNC( QT_QTABBAR_ISTABENABLED ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->isTabEnabled( hb_parni( 2 ) ) ); -} - -/* - * void moveTab ( int from, int to ) - */ -HB_FUNC( QT_QTABBAR_MOVETAB ) -{ - hbqt_par_QTabBar( 1 )->moveTab( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void removeTab ( int index ) - */ -HB_FUNC( QT_QTABBAR_REMOVETAB ) -{ - hbqt_par_QTabBar( 1 )->removeTab( hb_parni( 2 ) ); -} - -/* - * SelectionBehavior selectionBehaviorOnRemove () const - */ -HB_FUNC( QT_QTABBAR_SELECTIONBEHAVIORONREMOVE ) -{ - hb_retni( ( QTabBar::SelectionBehavior ) hbqt_par_QTabBar( 1 )->selectionBehaviorOnRemove() ); -} - -/* - * void setDocumentMode ( bool set ) - */ -HB_FUNC( QT_QTABBAR_SETDOCUMENTMODE ) -{ - hbqt_par_QTabBar( 1 )->setDocumentMode( hb_parl( 2 ) ); -} - -/* - * void setDrawBase ( bool drawTheBase ) - */ -HB_FUNC( QT_QTABBAR_SETDRAWBASE ) -{ - hbqt_par_QTabBar( 1 )->setDrawBase( hb_parl( 2 ) ); -} - -/* - * void setElideMode ( Qt::TextElideMode ) - */ -HB_FUNC( QT_QTABBAR_SETELIDEMODE ) -{ - hbqt_par_QTabBar( 1 )->setElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) ); -} - -/* - * void setExpanding ( bool enabled ) - */ -HB_FUNC( QT_QTABBAR_SETEXPANDING ) -{ - hbqt_par_QTabBar( 1 )->setExpanding( hb_parl( 2 ) ); -} - -/* - * void setIconSize ( const QSize & size ) - */ -HB_FUNC( QT_QTABBAR_SETICONSIZE ) -{ - hbqt_par_QTabBar( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setMovable ( bool movable ) - */ -HB_FUNC( QT_QTABBAR_SETMOVABLE ) -{ - hbqt_par_QTabBar( 1 )->setMovable( hb_parl( 2 ) ); -} - -/* - * void setSelectionBehaviorOnRemove ( SelectionBehavior behavior ) - */ -HB_FUNC( QT_QTABBAR_SETSELECTIONBEHAVIORONREMOVE ) -{ - hbqt_par_QTabBar( 1 )->setSelectionBehaviorOnRemove( ( QTabBar::SelectionBehavior ) hb_parni( 2 ) ); -} - -/* - * void setShape ( Shape shape ) - */ -HB_FUNC( QT_QTABBAR_SETSHAPE ) -{ - hbqt_par_QTabBar( 1 )->setShape( ( QTabBar::Shape ) hb_parni( 2 ) ); -} - -/* - * void setTabButton ( int index, ButtonPosition position, QWidget * widget ) - */ -HB_FUNC( QT_QTABBAR_SETTABBUTTON ) -{ - hbqt_par_QTabBar( 1 )->setTabButton( hb_parni( 2 ), ( QTabBar::ButtonPosition ) hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* - * void setTabData ( int index, const QVariant & data ) - */ -HB_FUNC( QT_QTABBAR_SETTABDATA ) -{ - hbqt_par_QTabBar( 1 )->setTabData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* - * void setTabEnabled ( int index, bool enabled ) - */ -HB_FUNC( QT_QTABBAR_SETTABENABLED ) -{ - hbqt_par_QTabBar( 1 )->setTabEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setTabText ( int index, const QString & text ) - */ -HB_FUNC( QT_QTABBAR_SETTABTEXT ) -{ - hbqt_par_QTabBar( 1 )->setTabText( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTabTextColor ( int index, const QColor & color ) - */ -HB_FUNC( QT_QTABBAR_SETTABTEXTCOLOR ) -{ - hbqt_par_QTabBar( 1 )->setTabTextColor( hb_parni( 2 ), *hbqt_par_QColor( 3 ) ); -} - -/* - * void setTabToolTip ( int index, const QString & tip ) - */ -HB_FUNC( QT_QTABBAR_SETTABTOOLTIP ) -{ - hbqt_par_QTabBar( 1 )->setTabToolTip( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTabWhatsThis ( int index, const QString & text ) - */ -HB_FUNC( QT_QTABBAR_SETTABWHATSTHIS ) -{ - hbqt_par_QTabBar( 1 )->setTabWhatsThis( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTabsClosable ( bool closable ) - */ -HB_FUNC( QT_QTABBAR_SETTABSCLOSABLE ) -{ - hbqt_par_QTabBar( 1 )->setTabsClosable( hb_parl( 2 ) ); -} - -/* - * void setUsesScrollButtons ( bool useButtons ) - */ -HB_FUNC( QT_QTABBAR_SETUSESSCROLLBUTTONS ) -{ - hbqt_par_QTabBar( 1 )->setUsesScrollButtons( hb_parl( 2 ) ); -} - -/* - * Shape shape () const - */ -HB_FUNC( QT_QTABBAR_SHAPE ) -{ - hb_retni( ( QTabBar::Shape ) hbqt_par_QTabBar( 1 )->shape() ); -} - -/* - * int tabAt ( const QPoint & position ) const - */ -HB_FUNC( QT_QTABBAR_TABAT ) -{ - hb_retni( hbqt_par_QTabBar( 1 )->tabAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QWidget * tabButton ( int index, ButtonPosition position ) const - */ -HB_FUNC( QT_QTABBAR_TABBUTTON ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QTabBar( 1 )->tabButton( hb_parni( 2 ), ( QTabBar::ButtonPosition ) hb_parni( 3 ) ) ); -} - -/* - * QVariant tabData ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABDATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTabBar( 1 )->tabData( hb_parni( 2 ) ) ) ) ); -} - -/* - * QIcon tabIcon ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QTabBar( 1 )->tabIcon( hb_parni( 2 ) ) ) ) ); -} - -/* - * QRect tabRect ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QTabBar( 1 )->tabRect( hb_parni( 2 ) ) ) ) ); -} - -/* - * QString tabText ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABTEXT ) -{ - hb_retc( hbqt_par_QTabBar( 1 )->tabText( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QColor tabTextColor ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABTEXTCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QTabBar( 1 )->tabTextColor( hb_parni( 2 ) ) ) ) ); -} - -/* - * QString tabToolTip ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABTOOLTIP ) -{ - hb_retc( hbqt_par_QTabBar( 1 )->tabToolTip( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString tabWhatsThis ( int index ) const - */ -HB_FUNC( QT_QTABBAR_TABWHATSTHIS ) -{ - hb_retc( hbqt_par_QTabBar( 1 )->tabWhatsThis( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * bool tabsClosable () const - */ -HB_FUNC( QT_QTABBAR_TABSCLOSABLE ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->tabsClosable() ); -} - -/* - * bool usesScrollButtons () const - */ -HB_FUNC( QT_QTABBAR_USESSCROLLBUTTONS ) -{ - hb_retl( hbqt_par_QTabBar( 1 )->usesScrollButtons() ); -} - -/* - * void setCurrentIndex ( int index ) - */ -HB_FUNC( QT_QTABBAR_SETCURRENTINDEX ) -{ - hbqt_par_QTabBar( 1 )->setCurrentIndex( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTabWidget.cpp b/harbour/contrib/hbqt/QTabWidget.cpp deleted file mode 100644 index eaaa7143ef..0000000000 --- a/harbour/contrib/hbqt/QTabWidget.cpp +++ /dev/null @@ -1,426 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum TabPosition { North, South, West, East } - * enum TabShape { Rounded, Triangular } - */ - -#include - -#include - - -/* - * QTabWidget ( QWidget * parent = 0 ) - * ~QTabWidget () - */ - -HB_FUNC( QT_QTABWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTabWidget > pObj = NULL; - - pObj = ( QTabWidget* ) new QTabWidget( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int addTab ( QWidget * page, const QString & label ) - */ -HB_FUNC( QT_QTABWIDGET_ADDTAB ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->addTab( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * int addTab ( QWidget * page, const QIcon & icon, const QString & label ) - */ -HB_FUNC( QT_QTABWIDGET_ADDTAB_1 ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->addTab( hbqt_par_QWidget( 2 ), QIcon( hbqt_par_QString( 3 ) ), hbqt_par_QString( 4 ) ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QTABWIDGET_CLEAR ) -{ - hbqt_par_QTabWidget( 1 )->clear(); -} - -/* - * QWidget * cornerWidget ( Qt::Corner corner = Qt::TopRightCorner ) const - */ -HB_FUNC( QT_QTABWIDGET_CORNERWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QTabWidget( 1 )->cornerWidget( ( HB_ISNUM( 2 ) ? ( Qt::Corner ) hb_parni( 2 ) : ( Qt::Corner ) Qt::TopRightCorner ) ) ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QTABWIDGET_COUNT ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->count() ); -} - -/* - * int currentIndex () const - */ -HB_FUNC( QT_QTABWIDGET_CURRENTINDEX ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->currentIndex() ); -} - -/* - * QWidget * currentWidget () const - */ -HB_FUNC( QT_QTABWIDGET_CURRENTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QTabWidget( 1 )->currentWidget() ); -} - -/* - * bool documentMode () const - */ -HB_FUNC( QT_QTABWIDGET_DOCUMENTMODE ) -{ - hb_retl( hbqt_par_QTabWidget( 1 )->documentMode() ); -} - -/* - * Qt::TextElideMode elideMode () const - */ -HB_FUNC( QT_QTABWIDGET_ELIDEMODE ) -{ - hb_retni( ( Qt::TextElideMode ) hbqt_par_QTabWidget( 1 )->elideMode() ); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QTABWIDGET_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QTabWidget( 1 )->iconSize() ) ) ); -} - -/* - * int indexOf ( QWidget * w ) const - */ -HB_FUNC( QT_QTABWIDGET_INDEXOF ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * int insertTab ( int index, QWidget * page, const QString & label ) - */ -HB_FUNC( QT_QTABWIDGET_INSERTTAB ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->insertTab( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QString( 4 ) ) ); -} - -/* - * int insertTab ( int index, QWidget * page, const QIcon & icon, const QString & label ) - */ -HB_FUNC( QT_QTABWIDGET_INSERTTAB_1 ) -{ - hb_retni( hbqt_par_QTabWidget( 1 )->insertTab( hb_parni( 2 ), hbqt_par_QWidget( 3 ), QIcon( hbqt_par_QString( 4 ) ), hbqt_par_QString( 5 ) ) ); -} - -/* - * bool isMovable () const - */ -HB_FUNC( QT_QTABWIDGET_ISMOVABLE ) -{ - hb_retl( hbqt_par_QTabWidget( 1 )->isMovable() ); -} - -/* - * bool isTabEnabled ( int index ) const - */ -HB_FUNC( QT_QTABWIDGET_ISTABENABLED ) -{ - hb_retl( hbqt_par_QTabWidget( 1 )->isTabEnabled( hb_parni( 2 ) ) ); -} - -/* - * void removeTab ( int index ) - */ -HB_FUNC( QT_QTABWIDGET_REMOVETAB ) -{ - hbqt_par_QTabWidget( 1 )->removeTab( hb_parni( 2 ) ); -} - -/* - * void setCornerWidget ( QWidget * widget, Qt::Corner corner = Qt::TopRightCorner ) - */ -HB_FUNC( QT_QTABWIDGET_SETCORNERWIDGET ) -{ - hbqt_par_QTabWidget( 1 )->setCornerWidget( hbqt_par_QWidget( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::Corner ) hb_parni( 3 ) : ( Qt::Corner ) Qt::TopRightCorner ) ); -} - -/* - * void setDocumentMode ( bool set ) - */ -HB_FUNC( QT_QTABWIDGET_SETDOCUMENTMODE ) -{ - hbqt_par_QTabWidget( 1 )->setDocumentMode( hb_parl( 2 ) ); -} - -/* - * void setElideMode ( Qt::TextElideMode ) - */ -HB_FUNC( QT_QTABWIDGET_SETELIDEMODE ) -{ - hbqt_par_QTabWidget( 1 )->setElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) ); -} - -/* - * void setIconSize ( const QSize & size ) - */ -HB_FUNC( QT_QTABWIDGET_SETICONSIZE ) -{ - hbqt_par_QTabWidget( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setMovable ( bool movable ) - */ -HB_FUNC( QT_QTABWIDGET_SETMOVABLE ) -{ - hbqt_par_QTabWidget( 1 )->setMovable( hb_parl( 2 ) ); -} - -/* - * void setTabEnabled ( int index, bool enable ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABENABLED ) -{ - hbqt_par_QTabWidget( 1 )->setTabEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setTabIcon ( int index, const QIcon & icon ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABICON ) -{ - hbqt_par_QTabWidget( 1 )->setTabIcon( hb_parni( 2 ), QIcon( hbqt_par_QString( 3 ) ) ); -} - -/* - * void setTabPosition ( TabPosition ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABPOSITION ) -{ - hbqt_par_QTabWidget( 1 )->setTabPosition( ( QTabWidget::TabPosition ) hb_parni( 2 ) ); -} - -/* - * void setTabShape ( TabShape s ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABSHAPE ) -{ - hbqt_par_QTabWidget( 1 )->setTabShape( ( QTabWidget::TabShape ) hb_parni( 2 ) ); -} - -/* - * void setTabText ( int index, const QString & label ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABTEXT ) -{ - hbqt_par_QTabWidget( 1 )->setTabText( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTabToolTip ( int index, const QString & tip ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABTOOLTIP ) -{ - hbqt_par_QTabWidget( 1 )->setTabToolTip( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTabWhatsThis ( int index, const QString & text ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABWHATSTHIS ) -{ - hbqt_par_QTabWidget( 1 )->setTabWhatsThis( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTabsClosable ( bool closeable ) - */ -HB_FUNC( QT_QTABWIDGET_SETTABSCLOSABLE ) -{ - hbqt_par_QTabWidget( 1 )->setTabsClosable( hb_parl( 2 ) ); -} - -/* - * void setUsesScrollButtons ( bool useButtons ) - */ -HB_FUNC( QT_QTABWIDGET_SETUSESSCROLLBUTTONS ) -{ - hbqt_par_QTabWidget( 1 )->setUsesScrollButtons( hb_parl( 2 ) ); -} - -/* - * QIcon tabIcon ( int index ) const - */ -HB_FUNC( QT_QTABWIDGET_TABICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QTabWidget( 1 )->tabIcon( hb_parni( 2 ) ) ) ) ); -} - -/* - * TabPosition tabPosition () const - */ -HB_FUNC( QT_QTABWIDGET_TABPOSITION ) -{ - hb_retni( ( QTabWidget::TabPosition ) hbqt_par_QTabWidget( 1 )->tabPosition() ); -} - -/* - * TabShape tabShape () const - */ -HB_FUNC( QT_QTABWIDGET_TABSHAPE ) -{ - hb_retni( ( QTabWidget::TabShape ) hbqt_par_QTabWidget( 1 )->tabShape() ); -} - -/* - * QString tabText ( int index ) const - */ -HB_FUNC( QT_QTABWIDGET_TABTEXT ) -{ - hb_retc( hbqt_par_QTabWidget( 1 )->tabText( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString tabToolTip ( int index ) const - */ -HB_FUNC( QT_QTABWIDGET_TABTOOLTIP ) -{ - hb_retc( hbqt_par_QTabWidget( 1 )->tabToolTip( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString tabWhatsThis ( int index ) const - */ -HB_FUNC( QT_QTABWIDGET_TABWHATSTHIS ) -{ - hb_retc( hbqt_par_QTabWidget( 1 )->tabWhatsThis( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * bool tabsClosable () const - */ -HB_FUNC( QT_QTABWIDGET_TABSCLOSABLE ) -{ - hb_retl( hbqt_par_QTabWidget( 1 )->tabsClosable() ); -} - -/* - * bool usesScrollButtons () const - */ -HB_FUNC( QT_QTABWIDGET_USESSCROLLBUTTONS ) -{ - hb_retl( hbqt_par_QTabWidget( 1 )->usesScrollButtons() ); -} - -/* - * QWidget * widget ( int index ) const - */ -HB_FUNC( QT_QTABWIDGET_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QTabWidget( 1 )->widget( hb_parni( 2 ) ) ); -} - -/* - * void setCurrentIndex ( int index ) - */ -HB_FUNC( QT_QTABWIDGET_SETCURRENTINDEX ) -{ - hbqt_par_QTabWidget( 1 )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* - * void setCurrentWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QTABWIDGET_SETCURRENTWIDGET ) -{ - hbqt_par_QTabWidget( 1 )->setCurrentWidget( hbqt_par_QWidget( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTableView.cpp b/harbour/contrib/hbqt/QTableView.cpp deleted file mode 100644 index fe9196675e..0000000000 --- a/harbour/contrib/hbqt/QTableView.cpp +++ /dev/null @@ -1,440 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - -#include "hbqt_slots.h" - -/* - * QTableView ( QWidget * parent = 0 ) - * ~QTableView () - */ - -HB_FUNC( QT_HBTABLEVIEW ) -{ - hb_retptr( new HbTableView( hbqt_par_QWidget( 1 ) ) ); -} - -HB_FUNC( QT_HBTABLEVIEW_NAVIGATE ) -{ - hb_retptr( new QModelIndex( hbqt_par_HbTableView( 1 )->navigate( hb_parni( 2 ) ) ) ); -} - -HB_FUNC( QT_QTABLEVIEW ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTableView > pObj = NULL; - - pObj = ( QTableView* ) new QTableView( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void clearSpans () - */ -HB_FUNC( QT_QTABLEVIEW_CLEARSPANS ) -{ - hbqt_par_QTableView( 1 )->clearSpans(); -} - -/* - * int columnAt ( int x ) const - */ -HB_FUNC( QT_QTABLEVIEW_COLUMNAT ) -{ - hb_retni( hbqt_par_QTableView( 1 )->columnAt( hb_parni( 2 ) ) ); -} - -/* - * int columnSpan ( int row, int column ) const - */ -HB_FUNC( QT_QTABLEVIEW_COLUMNSPAN ) -{ - hb_retni( hbqt_par_QTableView( 1 )->columnSpan( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int columnViewportPosition ( int column ) const - */ -HB_FUNC( QT_QTABLEVIEW_COLUMNVIEWPORTPOSITION ) -{ - hb_retni( hbqt_par_QTableView( 1 )->columnViewportPosition( hb_parni( 2 ) ) ); -} - -/* - * int columnWidth ( int column ) const - */ -HB_FUNC( QT_QTABLEVIEW_COLUMNWIDTH ) -{ - hb_retni( hbqt_par_QTableView( 1 )->columnWidth( hb_parni( 2 ) ) ); -} - -/* - * Qt::PenStyle gridStyle () const - */ -HB_FUNC( QT_QTABLEVIEW_GRIDSTYLE ) -{ - hb_retni( ( Qt::PenStyle ) hbqt_par_QTableView( 1 )->gridStyle() ); -} - -/* - * QHeaderView * horizontalHeader () const - */ -HB_FUNC( QT_QTABLEVIEW_HORIZONTALHEADER ) -{ - hb_retptr( ( QHeaderView* ) hbqt_par_QTableView( 1 )->horizontalHeader() ); -} - -/* - * virtual QModelIndex indexAt ( const QPoint & pos ) const - */ -HB_FUNC( QT_QTABLEVIEW_INDEXAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QTableView( 1 )->indexAt( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * bool isColumnHidden ( int column ) const - */ -HB_FUNC( QT_QTABLEVIEW_ISCOLUMNHIDDEN ) -{ - hb_retl( hbqt_par_QTableView( 1 )->isColumnHidden( hb_parni( 2 ) ) ); -} - -/* - * bool isCornerButtonEnabled () const - */ -HB_FUNC( QT_QTABLEVIEW_ISCORNERBUTTONENABLED ) -{ - hb_retl( hbqt_par_QTableView( 1 )->isCornerButtonEnabled() ); -} - -/* - * bool isRowHidden ( int row ) const - */ -HB_FUNC( QT_QTABLEVIEW_ISROWHIDDEN ) -{ - hb_retl( hbqt_par_QTableView( 1 )->isRowHidden( hb_parni( 2 ) ) ); -} - -/* - * bool isSortingEnabled () const - */ -HB_FUNC( QT_QTABLEVIEW_ISSORTINGENABLED ) -{ - hb_retl( hbqt_par_QTableView( 1 )->isSortingEnabled() ); -} - -/* - * int rowAt ( int y ) const - */ -HB_FUNC( QT_QTABLEVIEW_ROWAT ) -{ - hb_retni( hbqt_par_QTableView( 1 )->rowAt( hb_parni( 2 ) ) ); -} - -/* - * int rowHeight ( int row ) const - */ -HB_FUNC( QT_QTABLEVIEW_ROWHEIGHT ) -{ - hb_retni( hbqt_par_QTableView( 1 )->rowHeight( hb_parni( 2 ) ) ); -} - -/* - * int rowSpan ( int row, int column ) const - */ -HB_FUNC( QT_QTABLEVIEW_ROWSPAN ) -{ - hb_retni( hbqt_par_QTableView( 1 )->rowSpan( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * int rowViewportPosition ( int row ) const - */ -HB_FUNC( QT_QTABLEVIEW_ROWVIEWPORTPOSITION ) -{ - hb_retni( hbqt_par_QTableView( 1 )->rowViewportPosition( hb_parni( 2 ) ) ); -} - -/* - * void setColumnHidden ( int column, bool hide ) - */ -HB_FUNC( QT_QTABLEVIEW_SETCOLUMNHIDDEN ) -{ - hbqt_par_QTableView( 1 )->setColumnHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setColumnWidth ( int column, int width ) - */ -HB_FUNC( QT_QTABLEVIEW_SETCOLUMNWIDTH ) -{ - hbqt_par_QTableView( 1 )->setColumnWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setCornerButtonEnabled ( bool enable ) - */ -HB_FUNC( QT_QTABLEVIEW_SETCORNERBUTTONENABLED ) -{ - hbqt_par_QTableView( 1 )->setCornerButtonEnabled( hb_parl( 2 ) ); -} - -/* - * void setGridStyle ( Qt::PenStyle style ) - */ -HB_FUNC( QT_QTABLEVIEW_SETGRIDSTYLE ) -{ - hbqt_par_QTableView( 1 )->setGridStyle( ( Qt::PenStyle ) hb_parni( 2 ) ); -} - -/* - * void setHorizontalHeader ( QHeaderView * header ) - */ -HB_FUNC( QT_QTABLEVIEW_SETHORIZONTALHEADER ) -{ - hbqt_par_QTableView( 1 )->setHorizontalHeader( hbqt_par_QHeaderView( 2 ) ); -} - -/* - * void setRowHeight ( int row, int height ) - */ -HB_FUNC( QT_QTABLEVIEW_SETROWHEIGHT ) -{ - hbqt_par_QTableView( 1 )->setRowHeight( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setRowHidden ( int row, bool hide ) - */ -HB_FUNC( QT_QTABLEVIEW_SETROWHIDDEN ) -{ - hbqt_par_QTableView( 1 )->setRowHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setSortingEnabled ( bool enable ) - */ -HB_FUNC( QT_QTABLEVIEW_SETSORTINGENABLED ) -{ - hbqt_par_QTableView( 1 )->setSortingEnabled( hb_parl( 2 ) ); -} - -/* - * void setSpan ( int row, int column, int rowSpanCount, int columnSpanCount ) - */ -HB_FUNC( QT_QTABLEVIEW_SETSPAN ) -{ - hbqt_par_QTableView( 1 )->setSpan( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setVerticalHeader ( QHeaderView * header ) - */ -HB_FUNC( QT_QTABLEVIEW_SETVERTICALHEADER ) -{ - hbqt_par_QTableView( 1 )->setVerticalHeader( hbqt_par_QHeaderView( 2 ) ); -} - -/* - * void setWordWrap ( bool on ) - */ -HB_FUNC( QT_QTABLEVIEW_SETWORDWRAP ) -{ - hbqt_par_QTableView( 1 )->setWordWrap( hb_parl( 2 ) ); -} - -/* - * bool showGrid () const - */ -HB_FUNC( QT_QTABLEVIEW_SHOWGRID ) -{ - hb_retl( hbqt_par_QTableView( 1 )->showGrid() ); -} - -/* - * void sortByColumn ( int column, Qt::SortOrder order ) - */ -HB_FUNC( QT_QTABLEVIEW_SORTBYCOLUMN ) -{ - hbqt_par_QTableView( 1 )->sortByColumn( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* - * QHeaderView * verticalHeader () const - */ -HB_FUNC( QT_QTABLEVIEW_VERTICALHEADER ) -{ - hb_retptr( ( QHeaderView* ) hbqt_par_QTableView( 1 )->verticalHeader() ); -} - -/* - * bool wordWrap () const - */ -HB_FUNC( QT_QTABLEVIEW_WORDWRAP ) -{ - hb_retl( hbqt_par_QTableView( 1 )->wordWrap() ); -} - -/* - * void hideColumn ( int column ) - */ -HB_FUNC( QT_QTABLEVIEW_HIDECOLUMN ) -{ - hbqt_par_QTableView( 1 )->hideColumn( hb_parni( 2 ) ); -} - -/* - * void hideRow ( int row ) - */ -HB_FUNC( QT_QTABLEVIEW_HIDEROW ) -{ - hbqt_par_QTableView( 1 )->hideRow( hb_parni( 2 ) ); -} - -/* - * void resizeColumnToContents ( int column ) - */ -HB_FUNC( QT_QTABLEVIEW_RESIZECOLUMNTOCONTENTS ) -{ - hbqt_par_QTableView( 1 )->resizeColumnToContents( hb_parni( 2 ) ); -} - -/* - * void resizeColumnsToContents () - */ -HB_FUNC( QT_QTABLEVIEW_RESIZECOLUMNSTOCONTENTS ) -{ - hbqt_par_QTableView( 1 )->resizeColumnsToContents(); -} - -/* - * void resizeRowToContents ( int row ) - */ -HB_FUNC( QT_QTABLEVIEW_RESIZEROWTOCONTENTS ) -{ - hbqt_par_QTableView( 1 )->resizeRowToContents( hb_parni( 2 ) ); -} - -/* - * void resizeRowsToContents () - */ -HB_FUNC( QT_QTABLEVIEW_RESIZEROWSTOCONTENTS ) -{ - hbqt_par_QTableView( 1 )->resizeRowsToContents(); -} - -/* - * void selectColumn ( int column ) - */ -HB_FUNC( QT_QTABLEVIEW_SELECTCOLUMN ) -{ - hbqt_par_QTableView( 1 )->selectColumn( hb_parni( 2 ) ); -} - -/* - * void selectRow ( int row ) - */ -HB_FUNC( QT_QTABLEVIEW_SELECTROW ) -{ - hbqt_par_QTableView( 1 )->selectRow( hb_parni( 2 ) ); -} - -/* - * void setShowGrid ( bool show ) - */ -HB_FUNC( QT_QTABLEVIEW_SETSHOWGRID ) -{ - hbqt_par_QTableView( 1 )->setShowGrid( hb_parl( 2 ) ); -} - -/* - * void showColumn ( int column ) - */ -HB_FUNC( QT_QTABLEVIEW_SHOWCOLUMN ) -{ - hbqt_par_QTableView( 1 )->showColumn( hb_parni( 2 ) ); -} - -/* - * void showRow ( int row ) - */ -HB_FUNC( QT_QTABLEVIEW_SHOWROW ) -{ - hbqt_par_QTableView( 1 )->showRow( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTableWidget.cpp b/harbour/contrib/hbqt/QTableWidget.cpp deleted file mode 100644 index dd2d5c6f7d..0000000000 --- a/harbour/contrib/hbqt/QTableWidget.cpp +++ /dev/null @@ -1,476 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 46/49 [ 93.88% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList findItems ( const QString & text, Qt::MatchFlags flags ) const - * QList selectedItems () - * QList selectedRanges () const - */ - -#include - -#include - - -/* - * QTableWidget ( QWidget * parent = 0 ) - * QTableWidget ( int rows, int columns, QWidget * parent = 0 ) - * ~QTableWidget () - */ - -HB_FUNC( QT_QTABLEWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTableWidget > pObj = NULL; - - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - pObj = ( QTableWidget* ) new QTableWidget( hb_parni( 1 ), hb_parni( 2 ), hbqt_par_QWidget( 3 ) ) ; - else - pObj = ( QTableWidget* ) new QTableWidget( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QWidget * cellWidget ( int row, int column ) const - */ -HB_FUNC( QT_QTABLEWIDGET_CELLWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QTableWidget( 1 )->cellWidget( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * void closePersistentEditor ( QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_CLOSEPERSISTENTEDITOR ) -{ - hbqt_par_QTableWidget( 1 )->closePersistentEditor( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* - * int column ( const QTableWidgetItem * item ) const - */ -HB_FUNC( QT_QTABLEWIDGET_COLUMN ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->column( hbqt_par_QTableWidgetItem( 2 ) ) ); -} - -/* - * int columnCount () const - */ -HB_FUNC( QT_QTABLEWIDGET_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->columnCount() ); -} - -/* - * int currentColumn () const - */ -HB_FUNC( QT_QTABLEWIDGET_CURRENTCOLUMN ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->currentColumn() ); -} - -/* - * QTableWidgetItem * currentItem () const - */ -HB_FUNC( QT_QTABLEWIDGET_CURRENTITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->currentItem() ); -} - -/* - * int currentRow () const - */ -HB_FUNC( QT_QTABLEWIDGET_CURRENTROW ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->currentRow() ); -} - -/* - * void editItem ( QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_EDITITEM ) -{ - hbqt_par_QTableWidget( 1 )->editItem( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* - * QTableWidgetItem * horizontalHeaderItem ( int column ) const - */ -HB_FUNC( QT_QTABLEWIDGET_HORIZONTALHEADERITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->horizontalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * QTableWidgetItem * item ( int row, int column ) const - */ -HB_FUNC( QT_QTABLEWIDGET_ITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->item( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QTableWidgetItem * itemAt ( const QPoint & point ) const - */ -HB_FUNC( QT_QTABLEWIDGET_ITEMAT ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->itemAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QTableWidgetItem * itemAt ( int ax, int ay ) const - */ -HB_FUNC( QT_QTABLEWIDGET_ITEMAT_1 ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * const QTableWidgetItem * itemPrototype () const - */ -HB_FUNC( QT_QTABLEWIDGET_ITEMPROTOTYPE ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->itemPrototype() ); -} - -/* - * void openPersistentEditor ( QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_OPENPERSISTENTEDITOR ) -{ - hbqt_par_QTableWidget( 1 )->openPersistentEditor( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* - * void removeCellWidget ( int row, int column ) - */ -HB_FUNC( QT_QTABLEWIDGET_REMOVECELLWIDGET ) -{ - hbqt_par_QTableWidget( 1 )->removeCellWidget( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int row ( const QTableWidgetItem * item ) const - */ -HB_FUNC( QT_QTABLEWIDGET_ROW ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->row( hbqt_par_QTableWidgetItem( 2 ) ) ); -} - -/* - * int rowCount () const - */ -HB_FUNC( QT_QTABLEWIDGET_ROWCOUNT ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->rowCount() ); -} - -/* - * void setCellWidget ( int row, int column, QWidget * widget ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETCELLWIDGET ) -{ - hbqt_par_QTableWidget( 1 )->setCellWidget( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* - * void setColumnCount ( int columns ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETCOLUMNCOUNT ) -{ - hbqt_par_QTableWidget( 1 )->setColumnCount( hb_parni( 2 ) ); -} - -/* - * void setCurrentCell ( int row, int column ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTCELL ) -{ - hbqt_par_QTableWidget( 1 )->setCurrentCell( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setCurrentCell ( int row, int column, QItemSelectionModel::SelectionFlags command ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTCELL_1 ) -{ - hbqt_par_QTableWidget( 1 )->setCurrentCell( hb_parni( 2 ), hb_parni( 3 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 4 ) ); -} - -/* - * void setCurrentItem ( QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTITEM ) -{ - hbqt_par_QTableWidget( 1 )->setCurrentItem( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* - * void setCurrentItem ( QTableWidgetItem * item, QItemSelectionModel::SelectionFlags command ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETCURRENTITEM_1 ) -{ - hbqt_par_QTableWidget( 1 )->setCurrentItem( hbqt_par_QTableWidgetItem( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 3 ) ); -} - -/* - * void setHorizontalHeaderItem ( int column, QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETHORIZONTALHEADERITEM ) -{ - hbqt_par_QTableWidget( 1 )->setHorizontalHeaderItem( hb_parni( 2 ), hbqt_par_QTableWidgetItem( 3 ) ); -} - -/* - * void setHorizontalHeaderLabels ( const QStringList & labels ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETHORIZONTALHEADERLABELS ) -{ - hbqt_par_QTableWidget( 1 )->setHorizontalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setItem ( int row, int column, QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETITEM ) -{ - hbqt_par_QTableWidget( 1 )->setItem( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QTableWidgetItem( 4 ) ); -} - -/* - * void setItemPrototype ( const QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETITEMPROTOTYPE ) -{ - hbqt_par_QTableWidget( 1 )->setItemPrototype( hbqt_par_QTableWidgetItem( 2 ) ); -} - -/* - * void setRangeSelected ( const QTableWidgetSelectionRange & range, bool select ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETRANGESELECTED ) -{ - hbqt_par_QTableWidget( 1 )->setRangeSelected( *hbqt_par_QTableWidgetSelectionRange( 2 ), hb_parl( 3 ) ); -} - -/* - * void setRowCount ( int rows ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETROWCOUNT ) -{ - hbqt_par_QTableWidget( 1 )->setRowCount( hb_parni( 2 ) ); -} - -/* - * void setVerticalHeaderItem ( int row, QTableWidgetItem * item ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETVERTICALHEADERITEM ) -{ - hbqt_par_QTableWidget( 1 )->setVerticalHeaderItem( hb_parni( 2 ), hbqt_par_QTableWidgetItem( 3 ) ); -} - -/* - * void setVerticalHeaderLabels ( const QStringList & labels ) - */ -HB_FUNC( QT_QTABLEWIDGET_SETVERTICALHEADERLABELS ) -{ - hbqt_par_QTableWidget( 1 )->setVerticalHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void sortItems ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - */ -HB_FUNC( QT_QTABLEWIDGET_SORTITEMS ) -{ - hbqt_par_QTableWidget( 1 )->sortItems( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::SortOrder ) hb_parni( 3 ) : ( Qt::SortOrder ) Qt::AscendingOrder ) ); -} - -/* - * QTableWidgetItem * takeHorizontalHeaderItem ( int column ) - */ -HB_FUNC( QT_QTABLEWIDGET_TAKEHORIZONTALHEADERITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->takeHorizontalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * QTableWidgetItem * takeItem ( int row, int column ) - */ -HB_FUNC( QT_QTABLEWIDGET_TAKEITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->takeItem( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QTableWidgetItem * takeVerticalHeaderItem ( int row ) - */ -HB_FUNC( QT_QTABLEWIDGET_TAKEVERTICALHEADERITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->takeVerticalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * QTableWidgetItem * verticalHeaderItem ( int row ) const - */ -HB_FUNC( QT_QTABLEWIDGET_VERTICALHEADERITEM ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidget( 1 )->verticalHeaderItem( hb_parni( 2 ) ) ); -} - -/* - * int visualColumn ( int logicalColumn ) const - */ -HB_FUNC( QT_QTABLEWIDGET_VISUALCOLUMN ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->visualColumn( hb_parni( 2 ) ) ); -} - -/* - * QRect visualItemRect ( const QTableWidgetItem * item ) const - */ -HB_FUNC( QT_QTABLEWIDGET_VISUALITEMRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QTableWidget( 1 )->visualItemRect( hbqt_par_QTableWidgetItem( 2 ) ) ) ) ); -} - -/* - * int visualRow ( int logicalRow ) const - */ -HB_FUNC( QT_QTABLEWIDGET_VISUALROW ) -{ - hb_retni( hbqt_par_QTableWidget( 1 )->visualRow( hb_parni( 2 ) ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QTABLEWIDGET_CLEAR ) -{ - hbqt_par_QTableWidget( 1 )->clear(); -} - -/* - * void clearContents () - */ -HB_FUNC( QT_QTABLEWIDGET_CLEARCONTENTS ) -{ - hbqt_par_QTableWidget( 1 )->clearContents(); -} - -/* - * void insertColumn ( int column ) - */ -HB_FUNC( QT_QTABLEWIDGET_INSERTCOLUMN ) -{ - hbqt_par_QTableWidget( 1 )->insertColumn( hb_parni( 2 ) ); -} - -/* - * void insertRow ( int row ) - */ -HB_FUNC( QT_QTABLEWIDGET_INSERTROW ) -{ - hbqt_par_QTableWidget( 1 )->insertRow( hb_parni( 2 ) ); -} - -/* - * void removeColumn ( int column ) - */ -HB_FUNC( QT_QTABLEWIDGET_REMOVECOLUMN ) -{ - hbqt_par_QTableWidget( 1 )->removeColumn( hb_parni( 2 ) ); -} - -/* - * void removeRow ( int row ) - */ -HB_FUNC( QT_QTABLEWIDGET_REMOVEROW ) -{ - hbqt_par_QTableWidget( 1 )->removeRow( hb_parni( 2 ) ); -} - -/* - * void scrollToItem ( const QTableWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - */ -HB_FUNC( QT_QTABLEWIDGET_SCROLLTOITEM ) -{ - hbqt_par_QTableWidget( 1 )->scrollToItem( hbqt_par_QTableWidgetItem( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QTableWidget::EnsureVisible ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTableWidgetItem.cpp b/harbour/contrib/hbqt/QTableWidgetItem.cpp deleted file mode 100644 index 97af0f3683..0000000000 --- a/harbour/contrib/hbqt/QTableWidgetItem.cpp +++ /dev/null @@ -1,392 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ItemType { Type, UserType } - */ - -#include - -#include - - -/* - * QTableWidgetItem ( int type = Type ) - * QTableWidgetItem ( const QString & text, int type = Type ) - * QTableWidgetItem ( const QIcon & icon, const QString & text, int type = Type ) - * QTableWidgetItem ( const QTableWidgetItem & other ) - * virtual ~QTableWidgetItem () - */ - -HB_FUNC( QT_QTABLEWIDGETITEM ) -{ - void * pObj = NULL; - - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - pObj = new QTableWidgetItem( hbqt_par_QString( 1 ), hb_parni( 2 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - pObj = new QTableWidgetItem( hb_parni( 1 ) ) ; - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QTableWidgetItem( *hbqt_par_QTableWidgetItem( 1 ) ) ; - } - else - { - pObj = new QTableWidgetItem( 0 ) ; - } - - hb_retptr( pObj ); -} -/* - * QBrush background () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_BACKGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTableWidgetItem( 1 )->background() ) ) ); -} - -/* - * Qt::CheckState checkState () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_CHECKSTATE ) -{ - hb_retni( ( Qt::CheckState ) hbqt_par_QTableWidgetItem( 1 )->checkState() ); -} - -/* - * virtual QTableWidgetItem * clone () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_CLONE ) -{ - hb_retptr( ( QTableWidgetItem* ) hbqt_par_QTableWidgetItem( 1 )->clone() ); -} - -/* - * int column () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_COLUMN ) -{ - hb_retni( hbqt_par_QTableWidgetItem( 1 )->column() ); -} - -/* - * virtual QVariant data ( int role ) const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTableWidgetItem( 1 )->data( hb_parni( 2 ) ) ) ) ); -} - -/* - * Qt::ItemFlags flags () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QTableWidgetItem( 1 )->flags() ); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTableWidgetItem( 1 )->font() ) ) ); -} - -/* - * QBrush foreground () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_FOREGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTableWidgetItem( 1 )->foreground() ) ) ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QTableWidgetItem( 1 )->icon() ) ) ); -} - -/* - * bool isSelected () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_ISSELECTED ) -{ - hb_retl( hbqt_par_QTableWidgetItem( 1 )->isSelected() ); -} - -/* - * virtual void read ( QDataStream & in ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_READ ) -{ - hbqt_par_QTableWidgetItem( 1 )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* - * int row () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_ROW ) -{ - hb_retni( hbqt_par_QTableWidgetItem( 1 )->row() ); -} - -/* - * void setBackground ( const QBrush & brush ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETBACKGROUND ) -{ - hbqt_par_QTableWidgetItem( 1 )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setCheckState ( Qt::CheckState state ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETCHECKSTATE ) -{ - hbqt_par_QTableWidgetItem( 1 )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) ); -} - -/* - * virtual void setData ( int role, const QVariant & value ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETDATA ) -{ - hbqt_par_QTableWidgetItem( 1 )->setData( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* - * void setFlags ( Qt::ItemFlags flags ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETFLAGS ) -{ - hbqt_par_QTableWidgetItem( 1 )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETFONT ) -{ - hbqt_par_QTableWidgetItem( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setForeground ( const QBrush & brush ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETFOREGROUND ) -{ - hbqt_par_QTableWidgetItem( 1 )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETICON ) -{ - hbqt_par_QTableWidgetItem( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setSelected ( bool select ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETSELECTED ) -{ - hbqt_par_QTableWidgetItem( 1 )->setSelected( hb_parl( 2 ) ); -} - -/* - * void setSizeHint ( const QSize & size ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETSIZEHINT ) -{ - hbqt_par_QTableWidgetItem( 1 )->setSizeHint( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setStatusTip ( const QString & statusTip ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETSTATUSTIP ) -{ - hbqt_par_QTableWidgetItem( 1 )->setStatusTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETTEXT ) -{ - hbqt_par_QTableWidgetItem( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextAlignment ( int alignment ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETTEXTALIGNMENT ) -{ - hbqt_par_QTableWidgetItem( 1 )->setTextAlignment( hb_parni( 2 ) ); -} - -/* - * void setToolTip ( const QString & toolTip ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETTOOLTIP ) -{ - hbqt_par_QTableWidgetItem( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setWhatsThis ( const QString & whatsThis ) - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SETWHATSTHIS ) -{ - hbqt_par_QTableWidgetItem( 1 )->setWhatsThis( hbqt_par_QString( 2 ) ); -} - -/* - * QSize sizeHint () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QTableWidgetItem( 1 )->sizeHint() ) ) ); -} - -/* - * QString statusTip () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_STATUSTIP ) -{ - hb_retc( hbqt_par_QTableWidgetItem( 1 )->statusTip().toAscii().data() ); -} - -/* - * QTableWidget * tableWidget () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_TABLEWIDGET ) -{ - hb_retptr( ( QTableWidget* ) hbqt_par_QTableWidgetItem( 1 )->tableWidget() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_TEXT ) -{ - hb_retc( hbqt_par_QTableWidgetItem( 1 )->text().toAscii().data() ); -} - -/* - * int textAlignment () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_TEXTALIGNMENT ) -{ - hb_retni( hbqt_par_QTableWidgetItem( 1 )->textAlignment() ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_TOOLTIP ) -{ - hb_retc( hbqt_par_QTableWidgetItem( 1 )->toolTip().toAscii().data() ); -} - -/* - * int type () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_TYPE ) -{ - hb_retni( hbqt_par_QTableWidgetItem( 1 )->type() ); -} - -/* - * QString whatsThis () const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_WHATSTHIS ) -{ - hb_retc( hbqt_par_QTableWidgetItem( 1 )->whatsThis().toAscii().data() ); -} - -/* - * virtual void write ( QDataStream & out ) const - */ -HB_FUNC( QT_QTABLEWIDGETITEM_WRITE ) -{ - hbqt_par_QTableWidgetItem( 1 )->write( *hbqt_par_QDataStream( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextBlock.cpp b/harbour/contrib/hbqt/QTextBlock.cpp deleted file mode 100644 index 8fc4952e50..0000000000 --- a/harbour/contrib/hbqt/QTextBlock.cpp +++ /dev/null @@ -1,312 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextBlock ( const QTextBlock & other ) - */ - -HB_FUNC( QT_QTEXTBLOCK ) -{ - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QTextBlock( *hbqt_par_QTextBlock( 1 ) ) ; - } - else - { - pObj = new QTextBlock() ; - } - - hb_retptr( pObj ); -} -/* - * QTextBlockFormat blockFormat () const - */ -HB_FUNC( QT_QTEXTBLOCK_BLOCKFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlockFormat( hbqt_par_QTextBlock( 1 )->blockFormat() ) ) ); -} - -/* - * int blockFormatIndex () const - */ -HB_FUNC( QT_QTEXTBLOCK_BLOCKFORMATINDEX ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->blockFormatIndex() ); -} - -/* - * int blockNumber () const - */ -HB_FUNC( QT_QTEXTBLOCK_BLOCKNUMBER ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->blockNumber() ); -} - -/* - * QTextCharFormat charFormat () const - */ -HB_FUNC( QT_QTEXTBLOCK_CHARFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QTextBlock( 1 )->charFormat() ) ) ); -} - -/* - * int charFormatIndex () const - */ -HB_FUNC( QT_QTEXTBLOCK_CHARFORMATINDEX ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->charFormatIndex() ); -} - -/* - * void clearLayout () - */ -HB_FUNC( QT_QTEXTBLOCK_CLEARLAYOUT ) -{ - hbqt_par_QTextBlock( 1 )->clearLayout(); -} - -/* - * bool contains ( int position ) const - */ -HB_FUNC( QT_QTEXTBLOCK_CONTAINS ) -{ - hb_retl( hbqt_par_QTextBlock( 1 )->contains( hb_parni( 2 ) ) ); -} - -/* - * const QTextDocument * document () const - */ -HB_FUNC( QT_QTEXTBLOCK_DOCUMENT ) -{ - hb_retptr( ( QTextDocument* ) hbqt_par_QTextBlock( 1 )->document() ); -} - -/* - * int firstLineNumber () const - */ -HB_FUNC( QT_QTEXTBLOCK_FIRSTLINENUMBER ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->firstLineNumber() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTBLOCK_ISVALID ) -{ - hb_retl( hbqt_par_QTextBlock( 1 )->isValid() ); -} - -/* - * bool isVisible () const - */ -HB_FUNC( QT_QTEXTBLOCK_ISVISIBLE ) -{ - hb_retl( hbqt_par_QTextBlock( 1 )->isVisible() ); -} - -/* - * QTextLayout * layout () const - */ -HB_FUNC( QT_QTEXTBLOCK_LAYOUT ) -{ - hb_retptr( ( QTextLayout* ) hbqt_par_QTextBlock( 1 )->layout() ); -} - -/* - * int length () const - */ -HB_FUNC( QT_QTEXTBLOCK_LENGTH ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->length() ); -} - -/* - * int lineCount () const - */ -HB_FUNC( QT_QTEXTBLOCK_LINECOUNT ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->lineCount() ); -} - -/* - * QTextBlock next () const - */ -HB_FUNC( QT_QTEXTBLOCK_NEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextBlock( 1 )->next() ) ) ); -} - -/* - * int position () const - */ -HB_FUNC( QT_QTEXTBLOCK_POSITION ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->position() ); -} - -/* - * QTextBlock previous () const - */ -HB_FUNC( QT_QTEXTBLOCK_PREVIOUS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextBlock( 1 )->previous() ) ) ); -} - -/* - * int revision () const - */ -HB_FUNC( QT_QTEXTBLOCK_REVISION ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->revision() ); -} - -/* - * void setLineCount ( int count ) - */ -HB_FUNC( QT_QTEXTBLOCK_SETLINECOUNT ) -{ - hbqt_par_QTextBlock( 1 )->setLineCount( hb_parni( 2 ) ); -} - -/* - * void setRevision ( int rev ) - */ -HB_FUNC( QT_QTEXTBLOCK_SETREVISION ) -{ - hbqt_par_QTextBlock( 1 )->setRevision( hb_parni( 2 ) ); -} - -/* - * void setUserData ( QTextBlockUserData * data ) - */ -HB_FUNC( QT_QTEXTBLOCK_SETUSERDATA ) -{ - hbqt_par_QTextBlock( 1 )->setUserData( hbqt_par_QTextBlockUserData( 2 ) ); -} - -/* - * void setUserState ( int state ) - */ -HB_FUNC( QT_QTEXTBLOCK_SETUSERSTATE ) -{ - hbqt_par_QTextBlock( 1 )->setUserState( hb_parni( 2 ) ); -} - -/* - * void setVisible ( bool visible ) - */ -HB_FUNC( QT_QTEXTBLOCK_SETVISIBLE ) -{ - hbqt_par_QTextBlock( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QTEXTBLOCK_TEXT ) -{ - hb_retc( hbqt_par_QTextBlock( 1 )->text().toAscii().data() ); -} - -/* - * QTextList * textList () const - */ -HB_FUNC( QT_QTEXTBLOCK_TEXTLIST ) -{ - hb_retptr( ( QTextList* ) hbqt_par_QTextBlock( 1 )->textList() ); -} - -/* - * QTextBlockUserData * userData () const - */ -HB_FUNC( QT_QTEXTBLOCK_USERDATA ) -{ - hb_retptr( ( QTextBlockUserData* ) hbqt_par_QTextBlock( 1 )->userData() ); -} - -/* - * int userState () const - */ -HB_FUNC( QT_QTEXTBLOCK_USERSTATE ) -{ - hb_retni( hbqt_par_QTextBlock( 1 )->userState() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextBlockFormat.cpp b/harbour/contrib/hbqt/QTextBlockFormat.cpp deleted file mode 100644 index d8c4acc2ff..0000000000 --- a/harbour/contrib/hbqt/QTextBlockFormat.cpp +++ /dev/null @@ -1,270 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FormatType { InvalidFormat, BlockFormat, CharFormat, ListFormat, ..., UserFormat } - * enum ObjectTypes { NoObject, ImageObject, TableObject, TableCellObject, UserObject } - * enum PageBreakFlag { PageBreak_Auto, PageBreak_AlwaysBefore, PageBreak_AlwaysAfter } - * flags PageBreakFlags - * enum Property { ObjectIndex, CssFloat, LayoutDirection, OutlinePen, ..., UserProperty } - */ - -/* - * Constructed[ 19/21 [ 90.48% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void setTabPositions ( const QList & tabs ) - * QList tabPositions () const - */ - -#include - -#include - - -/* - * QTextBlockFormat () - * - */ - -HB_FUNC( QT_QTEXTBLOCKFORMAT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QTextBlockFormat* ) new QTextBlockFormat( *hbqt_par_QTextBlockFormat( 1 ) ) ; - } - else - { - pObj = ( QTextBlockFormat* ) new QTextBlockFormat() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextBlockFormat" ); - hb_retptrGC( p ); -} -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QTextBlockFormat( 1 )->alignment() ); -} - -/* - * qreal bottomMargin () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_BOTTOMMARGIN ) -{ - hb_retnd( hbqt_par_QTextBlockFormat( 1 )->bottomMargin() ); -} - -/* - * int indent () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_INDENT ) -{ - hb_retni( hbqt_par_QTextBlockFormat( 1 )->indent() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_ISVALID ) -{ - hb_retl( hbqt_par_QTextBlockFormat( 1 )->isValid() ); -} - -/* - * qreal leftMargin () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_LEFTMARGIN ) -{ - hb_retnd( hbqt_par_QTextBlockFormat( 1 )->leftMargin() ); -} - -/* - * bool nonBreakableLines () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_NONBREAKABLELINES ) -{ - hb_retl( hbqt_par_QTextBlockFormat( 1 )->nonBreakableLines() ); -} - -/* - * PageBreakFlags pageBreakPolicy () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_PAGEBREAKPOLICY ) -{ - hb_retni( ( QTextBlockFormat::PageBreakFlags ) hbqt_par_QTextBlockFormat( 1 )->pageBreakPolicy() ); -} - -/* - * qreal rightMargin () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_RIGHTMARGIN ) -{ - hb_retnd( hbqt_par_QTextBlockFormat( 1 )->rightMargin() ); -} - -/* - * void setAlignment ( Qt::Alignment alignment ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETALIGNMENT ) -{ - hbqt_par_QTextBlockFormat( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setBottomMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETBOTTOMMARGIN ) -{ - hbqt_par_QTextBlockFormat( 1 )->setBottomMargin( hb_parnd( 2 ) ); -} - -/* - * void setIndent ( int indentation ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETINDENT ) -{ - hbqt_par_QTextBlockFormat( 1 )->setIndent( hb_parni( 2 ) ); -} - -/* - * void setLeftMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETLEFTMARGIN ) -{ - hbqt_par_QTextBlockFormat( 1 )->setLeftMargin( hb_parnd( 2 ) ); -} - -/* - * void setNonBreakableLines ( bool b ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETNONBREAKABLELINES ) -{ - hbqt_par_QTextBlockFormat( 1 )->setNonBreakableLines( hb_parl( 2 ) ); -} - -/* - * void setPageBreakPolicy ( PageBreakFlags policy ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETPAGEBREAKPOLICY ) -{ - hbqt_par_QTextBlockFormat( 1 )->setPageBreakPolicy( ( QTextBlockFormat::PageBreakFlags ) hb_parni( 2 ) ); -} - -/* - * void setRightMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETRIGHTMARGIN ) -{ - hbqt_par_QTextBlockFormat( 1 )->setRightMargin( hb_parnd( 2 ) ); -} - -/* - * void setTextIndent ( qreal indent ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETTEXTINDENT ) -{ - hbqt_par_QTextBlockFormat( 1 )->setTextIndent( hb_parnd( 2 ) ); -} - -/* - * void setTopMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_SETTOPMARGIN ) -{ - hbqt_par_QTextBlockFormat( 1 )->setTopMargin( hb_parnd( 2 ) ); -} - -/* - * qreal textIndent () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_TEXTINDENT ) -{ - hb_retnd( hbqt_par_QTextBlockFormat( 1 )->textIndent() ); -} - -/* - * qreal topMargin () const - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT_TOPMARGIN ) -{ - hb_retnd( hbqt_par_QTextBlockFormat( 1 )->topMargin() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextBlockGroup.cpp b/harbour/contrib/hbqt/QTextBlockGroup.cpp deleted file mode 100644 index 979a8ad3c4..0000000000 --- a/harbour/contrib/hbqt/QTextBlockGroup.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextBlockGroup ( QTextDocument * document ) - */ - -HB_FUNC( QT_QTEXTBLOCKGROUP ) -{ -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextBoundaryFinder.cpp b/harbour/contrib/hbqt/QTextBoundaryFinder.cpp deleted file mode 100644 index f804037887..0000000000 --- a/harbour/contrib/hbqt/QTextBoundaryFinder.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags BoundaryReasons - * enum BoundaryReason { NotAtBoundary, StartWord, EndWord } - * enum BoundaryType { Grapheme, Word, Line, Sentence } - */ - -#include - -#include - - -/* - * QTextBoundaryFinder () - * QTextBoundaryFinder ( const QTextBoundaryFinder & other ) - * QTextBoundaryFinder ( BoundaryType type, const QString & string ) - * QTextBoundaryFinder ( BoundaryType type, const QChar * chars, int length, unsigned char * buffer = 0, int bufferSize = 0 ) - * ~QTextBoundaryFinder () - */ - -HB_FUNC( QT_QTEXTBOUNDARYFINDER ) -{ - void * pObj = NULL; - - pObj = ( QTextBoundaryFinder* ) new QTextBoundaryFinder() ; - - hb_retptr( pObj ); -} -/* - * BoundaryReasons boundaryReasons () const - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_BOUNDARYREASONS ) -{ - hb_retni( ( QTextBoundaryFinder::BoundaryReasons ) hbqt_par_QTextBoundaryFinder( 1 )->boundaryReasons() ); -} - -/* - * bool isAtBoundary () const - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_ISATBOUNDARY ) -{ - hb_retl( hbqt_par_QTextBoundaryFinder( 1 )->isAtBoundary() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_ISVALID ) -{ - hb_retl( hbqt_par_QTextBoundaryFinder( 1 )->isValid() ); -} - -/* - * int position () const - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_POSITION ) -{ - hb_retni( hbqt_par_QTextBoundaryFinder( 1 )->position() ); -} - -/* - * void setPosition ( int position ) - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_SETPOSITION ) -{ - hbqt_par_QTextBoundaryFinder( 1 )->setPosition( hb_parni( 2 ) ); -} - -/* - * QString string () const - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_STRING ) -{ - hb_retc( hbqt_par_QTextBoundaryFinder( 1 )->string().toAscii().data() ); -} - -/* - * void toEnd () - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TOEND ) -{ - hbqt_par_QTextBoundaryFinder( 1 )->toEnd(); -} - -/* - * int toNextBoundary () - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TONEXTBOUNDARY ) -{ - hb_retni( hbqt_par_QTextBoundaryFinder( 1 )->toNextBoundary() ); -} - -/* - * int toPreviousBoundary () - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TOPREVIOUSBOUNDARY ) -{ - hb_retni( hbqt_par_QTextBoundaryFinder( 1 )->toPreviousBoundary() ); -} - -/* - * void toStart () - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TOSTART ) -{ - hbqt_par_QTextBoundaryFinder( 1 )->toStart(); -} - -/* - * BoundaryType type () const - */ -HB_FUNC( QT_QTEXTBOUNDARYFINDER_TYPE ) -{ - hb_retni( ( QTextBoundaryFinder::BoundaryType ) hbqt_par_QTextBoundaryFinder( 1 )->type() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextBrowser.cpp b/harbour/contrib/hbqt/QTextBrowser.cpp deleted file mode 100644 index 53f7a2774c..0000000000 --- a/harbour/contrib/hbqt/QTextBrowser.cpp +++ /dev/null @@ -1,252 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextBrowser ( QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QTEXTBROWSER ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTextBrowser > pObj = NULL; - - pObj = ( QTextBrowser* ) new QTextBrowser( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int backwardHistoryCount () const - */ -HB_FUNC( QT_QTEXTBROWSER_BACKWARDHISTORYCOUNT ) -{ - hb_retni( hbqt_par_QTextBrowser( 1 )->backwardHistoryCount() ); -} - -/* - * void clearHistory () - */ -HB_FUNC( QT_QTEXTBROWSER_CLEARHISTORY ) -{ - hbqt_par_QTextBrowser( 1 )->clearHistory(); -} - -/* - * int forwardHistoryCount () const - */ -HB_FUNC( QT_QTEXTBROWSER_FORWARDHISTORYCOUNT ) -{ - hb_retni( hbqt_par_QTextBrowser( 1 )->forwardHistoryCount() ); -} - -/* - * QString historyTitle ( int i ) const - */ -HB_FUNC( QT_QTEXTBROWSER_HISTORYTITLE ) -{ - hb_retc( hbqt_par_QTextBrowser( 1 )->historyTitle( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QUrl historyUrl ( int i ) const - */ -HB_FUNC( QT_QTEXTBROWSER_HISTORYURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QTextBrowser( 1 )->historyUrl( hb_parni( 2 ) ) ) ) ); -} - -/* - * bool isBackwardAvailable () const - */ -HB_FUNC( QT_QTEXTBROWSER_ISBACKWARDAVAILABLE ) -{ - hb_retl( hbqt_par_QTextBrowser( 1 )->isBackwardAvailable() ); -} - -/* - * bool isForwardAvailable () const - */ -HB_FUNC( QT_QTEXTBROWSER_ISFORWARDAVAILABLE ) -{ - hb_retl( hbqt_par_QTextBrowser( 1 )->isForwardAvailable() ); -} - -/* - * virtual QVariant loadResource ( int type, const QUrl & name ) - */ -HB_FUNC( QT_QTEXTBROWSER_LOADRESOURCE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTextBrowser( 1 )->loadResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ) ) ); -} - -/* - * bool openExternalLinks () const - */ -HB_FUNC( QT_QTEXTBROWSER_OPENEXTERNALLINKS ) -{ - hb_retl( hbqt_par_QTextBrowser( 1 )->openExternalLinks() ); -} - -/* - * bool openLinks () const - */ -HB_FUNC( QT_QTEXTBROWSER_OPENLINKS ) -{ - hb_retl( hbqt_par_QTextBrowser( 1 )->openLinks() ); -} - -/* - * QStringList searchPaths () const - */ -HB_FUNC( QT_QTEXTBROWSER_SEARCHPATHS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QTextBrowser( 1 )->searchPaths() ) ) ); -} - -/* - * void setOpenExternalLinks ( bool open ) - */ -HB_FUNC( QT_QTEXTBROWSER_SETOPENEXTERNALLINKS ) -{ - hbqt_par_QTextBrowser( 1 )->setOpenExternalLinks( hb_parl( 2 ) ); -} - -/* - * void setOpenLinks ( bool open ) - */ -HB_FUNC( QT_QTEXTBROWSER_SETOPENLINKS ) -{ - hbqt_par_QTextBrowser( 1 )->setOpenLinks( hb_parl( 2 ) ); -} - -/* - * void setSearchPaths ( const QStringList & paths ) - */ -HB_FUNC( QT_QTEXTBROWSER_SETSEARCHPATHS ) -{ - hbqt_par_QTextBrowser( 1 )->setSearchPaths( *hbqt_par_QStringList( 2 ) ); -} - -/* - * QUrl source () const - */ -HB_FUNC( QT_QTEXTBROWSER_SOURCE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QTextBrowser( 1 )->source() ) ) ); -} - -/* - * virtual void backward () - */ -HB_FUNC( QT_QTEXTBROWSER_BACKWARD ) -{ - hbqt_par_QTextBrowser( 1 )->backward(); -} - -/* - * virtual void forward () - */ -HB_FUNC( QT_QTEXTBROWSER_FORWARD ) -{ - hbqt_par_QTextBrowser( 1 )->forward(); -} - -/* - * virtual void home () - */ -HB_FUNC( QT_QTEXTBROWSER_HOME ) -{ - hbqt_par_QTextBrowser( 1 )->home(); -} - -/* - * virtual void reload () - */ -HB_FUNC( QT_QTEXTBROWSER_RELOAD ) -{ - hbqt_par_QTextBrowser( 1 )->reload(); -} - -/* - * virtual void setSource ( const QUrl & name ) - */ -HB_FUNC( QT_QTEXTBROWSER_SETSOURCE ) -{ - hbqt_par_QTextBrowser( 1 )->setSource( *hbqt_par_QUrl( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextCharFormat.cpp b/harbour/contrib/hbqt/QTextCharFormat.cpp deleted file mode 100644 index ecb5d17dbb..0000000000 --- a/harbour/contrib/hbqt/QTextCharFormat.cpp +++ /dev/null @@ -1,474 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum UnderlineStyle { NoUnderline, SingleUnderline, DashUnderline, DotLine, ..., SpellCheckUnderline } - * enum VerticalAlignment { AlignNormal, AlignSuperScript, AlignSubScript, AlignMiddle, AlignBottom, AlignTop } - */ - -#include - -#include - - -/* - * QTextCharFormat () - * - */ - -HB_FUNC( QT_QTEXTCHARFORMAT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextCharFormat* ) new QTextCharFormat() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextCharFormat" ); - hb_retptrGC( p ); -} -/* - * QString anchorHref () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_ANCHORHREF ) -{ - hb_retc( hbqt_par_QTextCharFormat( 1 )->anchorHref().toAscii().data() ); -} - -/* - * QStringList anchorNames () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_ANCHORNAMES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QTextCharFormat( 1 )->anchorNames() ) ) ); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTextCharFormat( 1 )->font() ) ) ); -} - -/* - * QFont::Capitalization fontCapitalization () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTCAPITALIZATION ) -{ - hb_retni( ( QFont::Capitalization ) hbqt_par_QTextCharFormat( 1 )->fontCapitalization() ); -} - -/* - * QString fontFamily () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTFAMILY ) -{ - hb_retc( hbqt_par_QTextCharFormat( 1 )->fontFamily().toAscii().data() ); -} - -/* - * bool fontFixedPitch () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTFIXEDPITCH ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->fontFixedPitch() ); -} - -/* - * bool fontItalic () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTITALIC ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->fontItalic() ); -} - -/* - * bool fontKerning () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTKERNING ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->fontKerning() ); -} - -/* - * qreal fontLetterSpacing () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTLETTERSPACING ) -{ - hb_retnd( hbqt_par_QTextCharFormat( 1 )->fontLetterSpacing() ); -} - -/* - * bool fontOverline () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTOVERLINE ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->fontOverline() ); -} - -/* - * qreal fontPointSize () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTPOINTSIZE ) -{ - hb_retnd( hbqt_par_QTextCharFormat( 1 )->fontPointSize() ); -} - -/* - * bool fontStrikeOut () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTSTRIKEOUT ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->fontStrikeOut() ); -} - -/* - * QFont::StyleHint fontStyleHint () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTSTYLEHINT ) -{ - hb_retni( ( QFont::StyleHint ) hbqt_par_QTextCharFormat( 1 )->fontStyleHint() ); -} - -/* - * QFont::StyleStrategy fontStyleStrategy () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTSTYLESTRATEGY ) -{ - hb_retni( ( QFont::StyleStrategy ) hbqt_par_QTextCharFormat( 1 )->fontStyleStrategy() ); -} - -/* - * bool fontUnderline () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTUNDERLINE ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->fontUnderline() ); -} - -/* - * int fontWeight () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTWEIGHT ) -{ - hb_retni( hbqt_par_QTextCharFormat( 1 )->fontWeight() ); -} - -/* - * qreal fontWordSpacing () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_FONTWORDSPACING ) -{ - hb_retnd( hbqt_par_QTextCharFormat( 1 )->fontWordSpacing() ); -} - -/* - * bool isAnchor () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_ISANCHOR ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->isAnchor() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_ISVALID ) -{ - hb_retl( hbqt_par_QTextCharFormat( 1 )->isValid() ); -} - -/* - * void setAnchor ( bool anchor ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETANCHOR ) -{ - hbqt_par_QTextCharFormat( 1 )->setAnchor( hb_parl( 2 ) ); -} - -/* - * void setAnchorHref ( const QString & value ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETANCHORHREF ) -{ - hbqt_par_QTextCharFormat( 1 )->setAnchorHref( hbqt_par_QString( 2 ) ); -} - -/* - * void setAnchorNames ( const QStringList & names ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETANCHORNAMES ) -{ - hbqt_par_QTextCharFormat( 1 )->setAnchorNames( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONT ) -{ - hbqt_par_QTextCharFormat( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setFontCapitalization ( QFont::Capitalization capitalization ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTCAPITALIZATION ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontCapitalization( ( QFont::Capitalization ) hb_parni( 2 ) ); -} - -/* - * void setFontFamily ( const QString & family ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTFAMILY ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontFamily( hbqt_par_QString( 2 ) ); -} - -/* - * void setFontFixedPitch ( bool fixedPitch ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTFIXEDPITCH ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontFixedPitch( hb_parl( 2 ) ); -} - -/* - * void setFontItalic ( bool italic ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTITALIC ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontItalic( hb_parl( 2 ) ); -} - -/* - * void setFontKerning ( bool enable ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTKERNING ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontKerning( hb_parl( 2 ) ); -} - -/* - * void setFontLetterSpacing ( qreal spacing ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTLETTERSPACING ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontLetterSpacing( hb_parnd( 2 ) ); -} - -/* - * void setFontOverline ( bool overline ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTOVERLINE ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontOverline( hb_parl( 2 ) ); -} - -/* - * void setFontPointSize ( qreal size ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTPOINTSIZE ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontPointSize( hb_parnd( 2 ) ); -} - -/* - * void setFontStrikeOut ( bool strikeOut ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTSTRIKEOUT ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontStrikeOut( hb_parl( 2 ) ); -} - -/* - * void setFontStyleHint ( QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTSTYLEHINT ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontStyleHint( ( QFont::StyleHint ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QFont::StyleStrategy ) hb_parni( 3 ) : ( QFont::StyleStrategy ) QFont::PreferDefault ) ); -} - -/* - * void setFontStyleStrategy ( QFont::StyleStrategy strategy ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTSTYLESTRATEGY ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontStyleStrategy( ( QFont::StyleStrategy ) hb_parni( 2 ) ); -} - -/* - * void setFontUnderline ( bool underline ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTUNDERLINE ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontUnderline( hb_parl( 2 ) ); -} - -/* - * void setFontWeight ( int weight ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTWEIGHT ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontWeight( hb_parni( 2 ) ); -} - -/* - * void setFontWordSpacing ( qreal spacing ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETFONTWORDSPACING ) -{ - hbqt_par_QTextCharFormat( 1 )->setFontWordSpacing( hb_parnd( 2 ) ); -} - -/* - * void setTextOutline ( const QPen & pen ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETTEXTOUTLINE ) -{ - hbqt_par_QTextCharFormat( 1 )->setTextOutline( *hbqt_par_QPen( 2 ) ); -} - -/* - * void setToolTip ( const QString & text ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETTOOLTIP ) -{ - hbqt_par_QTextCharFormat( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setUnderlineColor ( const QColor & color ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETUNDERLINECOLOR ) -{ - hbqt_par_QTextCharFormat( 1 )->setUnderlineColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setUnderlineStyle ( UnderlineStyle style ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETUNDERLINESTYLE ) -{ - hbqt_par_QTextCharFormat( 1 )->setUnderlineStyle( ( QTextCharFormat::UnderlineStyle ) hb_parni( 2 ) ); -} - -/* - * void setVerticalAlignment ( VerticalAlignment alignment ) - */ -HB_FUNC( QT_QTEXTCHARFORMAT_SETVERTICALALIGNMENT ) -{ - hbqt_par_QTextCharFormat( 1 )->setVerticalAlignment( ( QTextCharFormat::VerticalAlignment ) hb_parni( 2 ) ); -} - -/* - * QPen textOutline () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_TEXTOUTLINE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPen( hbqt_par_QTextCharFormat( 1 )->textOutline() ) ) ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_TOOLTIP ) -{ - hb_retc( hbqt_par_QTextCharFormat( 1 )->toolTip().toAscii().data() ); -} - -/* - * QColor underlineColor () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_UNDERLINECOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QTextCharFormat( 1 )->underlineColor() ) ) ); -} - -/* - * UnderlineStyle underlineStyle () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_UNDERLINESTYLE ) -{ - hb_retni( ( QTextCharFormat::UnderlineStyle ) hbqt_par_QTextCharFormat( 1 )->underlineStyle() ); -} - -/* - * VerticalAlignment verticalAlignment () const - */ -HB_FUNC( QT_QTEXTCHARFORMAT_VERTICALALIGNMENT ) -{ - hb_retni( ( QTextCharFormat::VerticalAlignment ) hbqt_par_QTextCharFormat( 1 )->verticalAlignment() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextCodec.cpp b/harbour/contrib/hbqt/QTextCodec.cpp deleted file mode 100644 index 3446c92af2..0000000000 --- a/harbour/contrib/hbqt/QTextCodec.cpp +++ /dev/null @@ -1,264 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ConversionFlag { DefaultConversion, ConvertInvalidToNull, IgnoreHeader } - * flags ConversionFlags - */ - -/* - * Constructed[ 20/23 [ 86.96% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * virtual QList aliases () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // QByteArray fromUnicode ( const QChar * input, int number, ConverterState * state = 0 ) const - * // QString toUnicode ( const char * input, int size, ConverterState * state = 0 ) const - */ - -#include - -#include - - -/* - * - * - */ - -HB_FUNC( QT_QTEXTCODEC ) -{ -} -/* - * bool canEncode ( QChar ch ) const - */ -HB_FUNC( QT_QTEXTCODEC_CANENCODE ) -{ - hb_retl( hbqt_par_QTextCodec( 1 )->canEncode( hb_parni( 2 ) ) ); -} - -/* - * bool canEncode ( const QString & s ) const - */ -HB_FUNC( QT_QTEXTCODEC_CANENCODE_1 ) -{ - hb_retl( hbqt_par_QTextCodec( 1 )->canEncode( hbqt_par_QString( 2 ) ) ); -} - -/* - * QByteArray fromUnicode ( const QString & str ) const - */ -HB_FUNC( QT_QTEXTCODEC_FROMUNICODE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QTextCodec( 1 )->fromUnicode( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QTextDecoder * makeDecoder () const - */ -HB_FUNC( QT_QTEXTCODEC_MAKEDECODER ) -{ - hb_retptr( ( QTextDecoder* ) hbqt_par_QTextCodec( 1 )->makeDecoder() ); -} - -/* - * QTextEncoder * makeEncoder () const - */ -HB_FUNC( QT_QTEXTCODEC_MAKEENCODER ) -{ - hb_retptr( ( QTextEncoder* ) hbqt_par_QTextCodec( 1 )->makeEncoder() ); -} - -/* - * virtual int mibEnum () const = 0 - */ -HB_FUNC( QT_QTEXTCODEC_MIBENUM ) -{ - hb_retni( hbqt_par_QTextCodec( 1 )->mibEnum() ); -} - -/* - * virtual QByteArray name () const = 0 - */ -HB_FUNC( QT_QTEXTCODEC_NAME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QTextCodec( 1 )->name() ) ) ); -} - -/* - * QString toUnicode ( const QByteArray & a ) const - */ -HB_FUNC( QT_QTEXTCODEC_TOUNICODE ) -{ - hb_retc( hbqt_par_QTextCodec( 1 )->toUnicode( *hbqt_par_QByteArray( 2 ) ).toAscii().data() ); -} - -/* - * QString toUnicode ( const char * chars ) const - */ -HB_FUNC( QT_QTEXTCODEC_TOUNICODE_1 ) -{ - hb_retc( hbqt_par_QTextCodec( 1 )->toUnicode( hbqt_par_char( 2 ) ).toAscii().data() ); -} - -/* - * QTextCodec * codecForCStrings () - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORCSTRINGS ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForCStrings() ); -} - -/* - * QTextCodec * codecForHtml ( const QByteArray & ba, QTextCodec * defaultCodec ) - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORHTML ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForHtml( *hbqt_par_QByteArray( 2 ), hbqt_par_QTextCodec( 3 ) ) ); -} - -/* - * QTextCodec * codecForHtml ( const QByteArray & ba ) - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORHTML_1 ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForHtml( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QTextCodec * codecForLocale () - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORLOCALE ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForLocale() ); -} - -/* - * QTextCodec * codecForMib ( int mib ) - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORMIB ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForMib( hb_parni( 2 ) ) ); -} - -/* - * QTextCodec * codecForName ( const QByteArray & name ) - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORNAME ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForName( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QTextCodec * codecForName ( const char * name ) - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORNAME_1 ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForName( hbqt_par_char( 2 ) ) ); -} - -/* - * QTextCodec * codecForTr () - */ -HB_FUNC( QT_QTEXTCODEC_CODECFORTR ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextCodec( 1 )->codecForTr() ); -} - -/* - * void setCodecForCStrings ( QTextCodec * codec ) - */ -HB_FUNC( QT_QTEXTCODEC_SETCODECFORCSTRINGS ) -{ - hbqt_par_QTextCodec( 1 )->setCodecForCStrings( hbqt_par_QTextCodec( 2 ) ); -} - -/* - * void setCodecForLocale ( QTextCodec * c ) - */ -HB_FUNC( QT_QTEXTCODEC_SETCODECFORLOCALE ) -{ - hbqt_par_QTextCodec( 1 )->setCodecForLocale( hbqt_par_QTextCodec( 2 ) ); -} - -/* - * void setCodecForTr ( QTextCodec * c ) - */ -HB_FUNC( QT_QTEXTCODEC_SETCODECFORTR ) -{ - hbqt_par_QTextCodec( 1 )->setCodecForTr( hbqt_par_QTextCodec( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextCursor.cpp b/harbour/contrib/hbqt/QTextCursor.cpp deleted file mode 100644 index 3d6bc96037..0000000000 --- a/harbour/contrib/hbqt/QTextCursor.cpp +++ /dev/null @@ -1,622 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum MoveMode { MoveAnchor, KeepAnchor } - * enum MoveOperation { NoMove, Start, StartOfLine, StartOfBlock, ..., PreviousRow } - * enum SelectionType { Document, BlockUnderCursor, LineUnderCursor, WordUnderCursor } - */ - -#include - -#include -#include - - -/* - * QTextCursor () - * QTextCursor ( QTextDocument * document ) - * QTextCursor ( QTextFrame * frame ) - * QTextCursor ( const QTextBlock & block ) - * QTextCursor ( const QTextCursor & cursor ) - * ~QTextCursor () - */ - -HB_FUNC( QT_QTEXTCURSOR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = ( QTextCursor* ) new QTextCursor( *hbqt_par_QTextCursor( 1 ) ) ; - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString object = hbqt_par_QString( 1 ); - - if( object == ( QString ) "QTextDocument" ) - { - pObj = ( QTextCursor* ) new QTextCursor( hbqt_par_QTextDocument( 2 ) ) ; - } - if( object == ( QString ) "QTextBlock" ) - { - pObj = ( QTextCursor* ) new QTextCursor( *hbqt_par_QTextBlock( 2 ) ) ; - } - if( object == ( QString ) "QTextFrame" ) - { - pObj = ( QTextCursor* ) new QTextCursor( hbqt_par_QTextFrame( 2 ) ) ; - } - else - { - pObj = ( QTextCursor* ) new QTextCursor() ; - } - } - else - { - pObj = ( QTextCursor* ) new QTextCursor() ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextCursor" ); - hb_retptrGC( p ); -} -/* - * int anchor () const - */ -HB_FUNC( QT_QTEXTCURSOR_ANCHOR ) -{ - hb_retni( hbqt_par_QTextCursor( 1 )->anchor() ); -} - -/* - * bool atBlockEnd () const - */ -HB_FUNC( QT_QTEXTCURSOR_ATBLOCKEND ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->atBlockEnd() ); -} - -/* - * bool atBlockStart () const - */ -HB_FUNC( QT_QTEXTCURSOR_ATBLOCKSTART ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->atBlockStart() ); -} - -/* - * bool atEnd () const - */ -HB_FUNC( QT_QTEXTCURSOR_ATEND ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->atEnd() ); -} - -/* - * bool atStart () const - */ -HB_FUNC( QT_QTEXTCURSOR_ATSTART ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->atStart() ); -} - -/* - * void beginEditBlock () - */ -HB_FUNC( QT_QTEXTCURSOR_BEGINEDITBLOCK ) -{ - hbqt_par_QTextCursor( 1 )->beginEditBlock(); -} - -/* - * QTextCharFormat blockCharFormat () const - */ -HB_FUNC( QT_QTEXTCURSOR_BLOCKCHARFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QTextCursor( 1 )->blockCharFormat() ) ) ); -} - -/* - * QTextBlockFormat blockFormat () const - */ -HB_FUNC( QT_QTEXTCURSOR_BLOCKFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlockFormat( hbqt_par_QTextCursor( 1 )->blockFormat() ) ) ); -} - -/* - * int blockNumber () const - */ -HB_FUNC( QT_QTEXTCURSOR_BLOCKNUMBER ) -{ - hb_retni( hbqt_par_QTextCursor( 1 )->blockNumber() ); -} - -/* - * QTextCharFormat charFormat () const - */ -HB_FUNC( QT_QTEXTCURSOR_CHARFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QTextCursor( 1 )->charFormat() ) ) ); -} - -/* - * void clearSelection () - */ -HB_FUNC( QT_QTEXTCURSOR_CLEARSELECTION ) -{ - hbqt_par_QTextCursor( 1 )->clearSelection(); -} - -/* - * int columnNumber () const - */ -HB_FUNC( QT_QTEXTCURSOR_COLUMNNUMBER ) -{ - hb_retni( hbqt_par_QTextCursor( 1 )->columnNumber() ); -} - -/* - * QTextList * createList ( const QTextListFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_CREATELIST ) -{ - hb_retptr( ( QTextList* ) hbqt_par_QTextCursor( 1 )->createList( *hbqt_par_QTextListFormat( 2 ) ) ); -} - -/* - * QTextList * createList ( QTextListFormat::Style style ) - */ -HB_FUNC( QT_QTEXTCURSOR_CREATELIST_1 ) -{ - hb_retptr( ( QTextList* ) hbqt_par_QTextCursor( 1 )->createList( ( QTextListFormat::Style ) hb_parni( 2 ) ) ); -} - -/* - * QTextFrame * currentFrame () const - */ -HB_FUNC( QT_QTEXTCURSOR_CURRENTFRAME ) -{ - hb_retptr( ( QTextFrame* ) hbqt_par_QTextCursor( 1 )->currentFrame() ); -} - -/* - * QTextList * currentList () const - */ -HB_FUNC( QT_QTEXTCURSOR_CURRENTLIST ) -{ - hb_retptr( ( QTextList* ) hbqt_par_QTextCursor( 1 )->currentList() ); -} - -/* - * QTextTable * currentTable () const - */ -HB_FUNC( QT_QTEXTCURSOR_CURRENTTABLE ) -{ - hb_retptr( ( QTextTable* ) hbqt_par_QTextCursor( 1 )->currentTable() ); -} - -/* - * void deleteChar () - */ -HB_FUNC( QT_QTEXTCURSOR_DELETECHAR ) -{ - hbqt_par_QTextCursor( 1 )->deleteChar(); -} - -/* - * void deletePreviousChar () - */ -HB_FUNC( QT_QTEXTCURSOR_DELETEPREVIOUSCHAR ) -{ - hbqt_par_QTextCursor( 1 )->deletePreviousChar(); -} - -/* - * QTextDocument * document () const - */ -HB_FUNC( QT_QTEXTCURSOR_DOCUMENT ) -{ - hb_retptr( ( QTextDocument* ) hbqt_par_QTextCursor( 1 )->document() ); -} - -/* - * void endEditBlock () - */ -HB_FUNC( QT_QTEXTCURSOR_ENDEDITBLOCK ) -{ - hbqt_par_QTextCursor( 1 )->endEditBlock(); -} - -/* - * bool hasComplexSelection () const - */ -HB_FUNC( QT_QTEXTCURSOR_HASCOMPLEXSELECTION ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->hasComplexSelection() ); -} - -/* - * bool hasSelection () const - */ -HB_FUNC( QT_QTEXTCURSOR_HASSELECTION ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->hasSelection() ); -} - -/* - * void insertBlock () - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTBLOCK ) -{ - hbqt_par_QTextCursor( 1 )->insertBlock(); -} - -/* - * void insertBlock ( const QTextBlockFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTBLOCK_1 ) -{ - hbqt_par_QTextCursor( 1 )->insertBlock( *hbqt_par_QTextBlockFormat( 2 ) ); -} - -/* - * void insertBlock ( const QTextBlockFormat & format, const QTextCharFormat & charFormat ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTBLOCK_2 ) -{ - hbqt_par_QTextCursor( 1 )->insertBlock( *hbqt_par_QTextBlockFormat( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* - * void insertFragment ( const QTextDocumentFragment & fragment ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTFRAGMENT ) -{ - hbqt_par_QTextCursor( 1 )->insertFragment( *hbqt_par_QTextDocumentFragment( 2 ) ); -} - -/* - * QTextFrame * insertFrame ( const QTextFrameFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTFRAME ) -{ - hb_retptr( ( QTextFrame* ) hbqt_par_QTextCursor( 1 )->insertFrame( *hbqt_par_QTextFrameFormat( 2 ) ) ); -} - -/* - * void insertHtml ( const QString & html ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTHTML ) -{ - hbqt_par_QTextCursor( 1 )->insertHtml( hbqt_par_QString( 2 ) ); -} - -/* - * void insertImage ( const QString & name ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE ) -{ - hbqt_par_QTextCursor( 1 )->insertImage( hbqt_par_QString( 2 ) ); -} - -/* - * void insertImage ( const QTextImageFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE_1 ) -{ - hbqt_par_QTextCursor( 1 )->insertImage( *hbqt_par_QTextImageFormat( 2 ) ); -} - -/* - * void insertImage ( const QTextImageFormat & format, QTextFrameFormat::Position alignment ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE_2 ) -{ - hbqt_par_QTextCursor( 1 )->insertImage( *hbqt_par_QTextImageFormat( 2 ), ( QTextFrameFormat::Position ) hb_parni( 3 ) ); -} - -/* - * void insertImage ( const QImage & image, const QString & name = QString() ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTIMAGE_3 ) -{ - hbqt_par_QTextCursor( 1 )->insertImage( *hbqt_par_QImage( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QTextList * insertList ( const QTextListFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTLIST ) -{ - hb_retptr( ( QTextList* ) hbqt_par_QTextCursor( 1 )->insertList( *hbqt_par_QTextListFormat( 2 ) ) ); -} - -/* - * QTextList * insertList ( QTextListFormat::Style style ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTLIST_1 ) -{ - hb_retptr( ( QTextList* ) hbqt_par_QTextCursor( 1 )->insertList( ( QTextListFormat::Style ) hb_parni( 2 ) ) ); -} - -/* - * QTextTable * insertTable ( int rows, int columns, const QTextTableFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTTABLE ) -{ - hb_retptr( ( QTextTable* ) hbqt_par_QTextCursor( 1 )->insertTable( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QTextTableFormat( 4 ) ) ); -} - -/* - * QTextTable * insertTable ( int rows, int columns ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTTABLE_1 ) -{ - hb_retptr( ( QTextTable* ) hbqt_par_QTextCursor( 1 )->insertTable( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * void insertText ( const QString & text ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTTEXT ) -{ - hbqt_par_QTextCursor( 1 )->insertText( hbqt_par_QString( 2 ) ); -} - -/* - * void insertText ( const QString & text, const QTextCharFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_INSERTTEXT_1 ) -{ - hbqt_par_QTextCursor( 1 )->insertText( hbqt_par_QString( 2 ), *hbqt_par_QTextCharFormat( 3 ) ); -} - -/* - * bool isCopyOf ( const QTextCursor & other ) const - */ -HB_FUNC( QT_QTEXTCURSOR_ISCOPYOF ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->isCopyOf( *hbqt_par_QTextCursor( 2 ) ) ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QTEXTCURSOR_ISNULL ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->isNull() ); -} - -/* - * void joinPreviousEditBlock () - */ -HB_FUNC( QT_QTEXTCURSOR_JOINPREVIOUSEDITBLOCK ) -{ - hbqt_par_QTextCursor( 1 )->joinPreviousEditBlock(); -} - -/* - * void mergeBlockCharFormat ( const QTextCharFormat & modifier ) - */ -HB_FUNC( QT_QTEXTCURSOR_MERGEBLOCKCHARFORMAT ) -{ - hbqt_par_QTextCursor( 1 )->mergeBlockCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * void mergeBlockFormat ( const QTextBlockFormat & modifier ) - */ -HB_FUNC( QT_QTEXTCURSOR_MERGEBLOCKFORMAT ) -{ - hbqt_par_QTextCursor( 1 )->mergeBlockFormat( *hbqt_par_QTextBlockFormat( 2 ) ); -} - -/* - * void mergeCharFormat ( const QTextCharFormat & modifier ) - */ -HB_FUNC( QT_QTEXTCURSOR_MERGECHARFORMAT ) -{ - hbqt_par_QTextCursor( 1 )->mergeCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * bool movePosition ( MoveOperation operation, MoveMode mode = MoveAnchor, int n = 1 ) - */ -HB_FUNC( QT_QTEXTCURSOR_MOVEPOSITION ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->movePosition( ( QTextCursor::MoveOperation ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ), ( HB_ISNUM( 4 ) ? hb_parni( 4 ) : 1 ) ) ); -} - -/* - * int position () const - */ -HB_FUNC( QT_QTEXTCURSOR_POSITION ) -{ - hb_retni( hbqt_par_QTextCursor( 1 )->position() ); -} - -/* - * void removeSelectedText () - */ -HB_FUNC( QT_QTEXTCURSOR_REMOVESELECTEDTEXT ) -{ - hbqt_par_QTextCursor( 1 )->removeSelectedText(); -} - -/* - * void select ( SelectionType selection ) - */ -HB_FUNC( QT_QTEXTCURSOR_SELECT ) -{ - hbqt_par_QTextCursor( 1 )->select( ( QTextCursor::SelectionType ) hb_parni( 2 ) ); -} - -/* - * void selectedTableCells ( int * firstRow, int * numRows, int * firstColumn, int * numColumns ) const - */ -HB_FUNC( QT_QTEXTCURSOR_SELECTEDTABLECELLS ) -{ - int iFirstRow = 0; - int iNumRows = 0; - int iFirstColumn = 0; - int iNumColumns = 0; - - hbqt_par_QTextCursor( 1 )->selectedTableCells( &iFirstRow, &iNumRows, &iFirstColumn, &iNumColumns ); - - hb_storni( iFirstRow, 2 ); - hb_storni( iNumRows, 3 ); - hb_storni( iFirstColumn, 4 ); - hb_storni( iNumColumns, 5 ); -} - -/* - * QString selectedText () const - */ -HB_FUNC( QT_QTEXTCURSOR_SELECTEDTEXT ) -{ - hb_retc( hbqt_par_QTextCursor( 1 )->selectedText().toAscii().data() ); -} - -/* - * QTextDocumentFragment selection () const - */ -HB_FUNC( QT_QTEXTCURSOR_SELECTION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextDocumentFragment( hbqt_par_QTextCursor( 1 )->selection() ) ) ); -} - -/* - * int selectionEnd () const - */ -HB_FUNC( QT_QTEXTCURSOR_SELECTIONEND ) -{ - hb_retni( hbqt_par_QTextCursor( 1 )->selectionEnd() ); -} - -/* - * int selectionStart () const - */ -HB_FUNC( QT_QTEXTCURSOR_SELECTIONSTART ) -{ - hb_retni( hbqt_par_QTextCursor( 1 )->selectionStart() ); -} - -/* - * void setBlockCharFormat ( const QTextCharFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_SETBLOCKCHARFORMAT ) -{ - hbqt_par_QTextCursor( 1 )->setBlockCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * void setBlockFormat ( const QTextBlockFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_SETBLOCKFORMAT ) -{ - hbqt_par_QTextCursor( 1 )->setBlockFormat( *hbqt_par_QTextBlockFormat( 2 ) ); -} - -/* - * void setCharFormat ( const QTextCharFormat & format ) - */ -HB_FUNC( QT_QTEXTCURSOR_SETCHARFORMAT ) -{ - hbqt_par_QTextCursor( 1 )->setCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * void setPosition ( int pos, MoveMode m = MoveAnchor ) - */ -HB_FUNC( QT_QTEXTCURSOR_SETPOSITION ) -{ - hbqt_par_QTextCursor( 1 )->setPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ) ); -} - -/* - * void setVisualNavigation ( bool b ) - */ -HB_FUNC( QT_QTEXTCURSOR_SETVISUALNAVIGATION ) -{ - hbqt_par_QTextCursor( 1 )->setVisualNavigation( hb_parl( 2 ) ); -} - -/* - * bool visualNavigation () const - */ -HB_FUNC( QT_QTEXTCURSOR_VISUALNAVIGATION ) -{ - hb_retl( hbqt_par_QTextCursor( 1 )->visualNavigation() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextDecoder.cpp b/harbour/contrib/hbqt/QTextDecoder.cpp deleted file mode 100644 index 5cf1e84cc0..0000000000 --- a/harbour/contrib/hbqt/QTextDecoder.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextDecoder ( const QTextCodec * codec ) - * ~QTextDecoder () - */ - -HB_FUNC( QT_QTEXTDECODER ) -{ - void * pObj = NULL; - - pObj = ( QTextDecoder* ) new QTextDecoder( hbqt_par_QTextCodec( 1 ) ) ; - - hb_retptr( pObj ); -} -/* - * QString toUnicode ( const char * chars, int len ) - */ -HB_FUNC( QT_QTEXTDECODER_TOUNICODE ) -{ - hb_retc( hbqt_par_QTextDecoder( 1 )->toUnicode( hbqt_par_char( 2 ), hb_parni( 3 ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextDocument.cpp b/harbour/contrib/hbqt/QTextDocument.cpp deleted file mode 100644 index 2a8833c4ea..0000000000 --- a/harbour/contrib/hbqt/QTextDocument.cpp +++ /dev/null @@ -1,644 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FindFlag { FindBackward, FindCaseSensitively, FindWholeWords } - * flags FindFlags - * enum MetaInformation { DocumentTitle, DocumentUrl } - * enum ResourceType { HtmlResource, ImageResource, StyleSheetResource, UserResource } - */ - -/* - * Constructed[ 66/68 [ 97.06% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QVector allFormats () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // QChar characterAt ( int pos ) const - */ - -#include - -#include -#include -#include - - -/* - * QTextDocument ( QObject * parent = 0 ) - * QTextDocument ( const QString & text, QObject * parent = 0 ) - * ~QTextDocument () - */ - -HB_FUNC( QT_QTEXTDOCUMENT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTextDocument > pObj = NULL; - - pObj = ( QTextDocument* ) new QTextDocument( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addResource ( int type, const QUrl & name, const QVariant & resource ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_ADDRESOURCE ) -{ - hbqt_par_QTextDocument( 1 )->addResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ), *hbqt_par_QVariant( 4 ) ); -} - -/* - * void adjustSize () - */ -HB_FUNC( QT_QTEXTDOCUMENT_ADJUSTSIZE ) -{ - hbqt_par_QTextDocument( 1 )->adjustSize(); -} - -/* - * QTextBlock begin () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_BEGIN ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->begin() ) ) ); -} - -/* - * int blockCount () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_BLOCKCOUNT ) -{ - hb_retni( hbqt_par_QTextDocument( 1 )->blockCount() ); -} - -/* - * int characterCount () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_CHARACTERCOUNT ) -{ - hb_retni( hbqt_par_QTextDocument( 1 )->characterCount() ); -} - -/* - * virtual void clear () - */ -HB_FUNC( QT_QTEXTDOCUMENT_CLEAR ) -{ - hbqt_par_QTextDocument( 1 )->clear(); -} - -/* - * QTextDocument * clone ( QObject * parent = 0 ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_CLONE ) -{ - hb_retptr( ( QTextDocument* ) hbqt_par_QTextDocument( 1 )->clone( hbqt_par_QObject( 2 ) ) ); -} - -/* - * QFont defaultFont () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_DEFAULTFONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTextDocument( 1 )->defaultFont() ) ) ); -} - -/* - * QString defaultStyleSheet () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_DEFAULTSTYLESHEET ) -{ - hb_retc( hbqt_par_QTextDocument( 1 )->defaultStyleSheet().toAscii().data() ); -} - -/* - * QTextOption defaultTextOption () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_DEFAULTTEXTOPTION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextOption( hbqt_par_QTextDocument( 1 )->defaultTextOption() ) ) ); -} - -/* - * QAbstractTextDocumentLayout * documentLayout () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_DOCUMENTLAYOUT ) -{ - hb_retptr( ( QAbstractTextDocumentLayout* ) hbqt_par_QTextDocument( 1 )->documentLayout() ); -} - -/* - * qreal documentMargin () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_DOCUMENTMARGIN ) -{ - hb_retnd( hbqt_par_QTextDocument( 1 )->documentMargin() ); -} - -/* - * void drawContents ( QPainter * p, const QRectF & rect = QRectF() ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_DRAWCONTENTS ) -{ - hbqt_par_QTextDocument( 1 )->drawContents( hbqt_par_QPainter( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QRectF( 3 ) : QRectF() ) ); -} - -/* - * QTextBlock end () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_END ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->end() ) ) ); -} - -/* - * QTextCursor find ( const QString & subString, const QTextCursor & cursor, FindFlags options = 0 ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextDocument( 1 )->find( hbqt_par_QString( 2 ), *hbqt_par_QTextCursor( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ) ) ); -} - -/* - * QTextCursor find ( const QRegExp & expr, const QTextCursor & cursor, FindFlags options = 0 ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextDocument( 1 )->find( *hbqt_par_QRegExp( 2 ), *hbqt_par_QTextCursor( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ) ) ); -} - -/* - * QTextCursor find ( const QString & subString, int position = 0, FindFlags options = 0 ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND_2 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextDocument( 1 )->find( hbqt_par_QString( 2 ), hb_parni( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ) ) ); -} - -/* - * QTextCursor find ( const QRegExp & expr, int position = 0, FindFlags options = 0 ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FIND_3 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextDocument( 1 )->find( *hbqt_par_QRegExp( 2 ), hb_parni( 3 ), ( QTextDocument::FindFlags ) hb_parni( 4 ) ) ) ) ); -} - -/* - * QTextBlock findBlock ( int pos ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FINDBLOCK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->findBlock( hb_parni( 2 ) ) ) ) ); -} - -/* - * QTextBlock findBlockByLineNumber ( int lineNumber ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FINDBLOCKBYLINENUMBER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->findBlockByLineNumber( hb_parni( 2 ) ) ) ) ); -} - -/* - * QTextBlock findBlockByNumber ( int blockNumber ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FINDBLOCKBYNUMBER ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->findBlockByNumber( hb_parni( 2 ) ) ) ) ); -} - -/* - * QTextBlock firstBlock () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_FIRSTBLOCK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->firstBlock() ) ) ); -} - -/* - * qreal idealWidth () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_IDEALWIDTH ) -{ - hb_retnd( hbqt_par_QTextDocument( 1 )->idealWidth() ); -} - -/* - * qreal indentWidth () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_INDENTWIDTH ) -{ - hb_retnd( hbqt_par_QTextDocument( 1 )->indentWidth() ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_ISEMPTY ) -{ - hb_retl( hbqt_par_QTextDocument( 1 )->isEmpty() ); -} - -/* - * bool isModified () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_ISMODIFIED ) -{ - hb_retl( hbqt_par_QTextDocument( 1 )->isModified() ); -} - -/* - * bool isRedoAvailable () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_ISREDOAVAILABLE ) -{ - hb_retl( hbqt_par_QTextDocument( 1 )->isRedoAvailable() ); -} - -/* - * bool isUndoAvailable () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_ISUNDOAVAILABLE ) -{ - hb_retl( hbqt_par_QTextDocument( 1 )->isUndoAvailable() ); -} - -/* - * bool isUndoRedoEnabled () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_ISUNDOREDOENABLED ) -{ - hb_retl( hbqt_par_QTextDocument( 1 )->isUndoRedoEnabled() ); -} - -/* - * QTextBlock lastBlock () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_LASTBLOCK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlock( hbqt_par_QTextDocument( 1 )->lastBlock() ) ) ); -} - -/* - * int lineCount () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_LINECOUNT ) -{ - hb_retni( hbqt_par_QTextDocument( 1 )->lineCount() ); -} - -/* - * void markContentsDirty ( int position, int length ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_MARKCONTENTSDIRTY ) -{ - hbqt_par_QTextDocument( 1 )->markContentsDirty( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int maximumBlockCount () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_MAXIMUMBLOCKCOUNT ) -{ - hb_retni( hbqt_par_QTextDocument( 1 )->maximumBlockCount() ); -} - -/* - * QString metaInformation ( MetaInformation info ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_METAINFORMATION ) -{ - hb_retc( hbqt_par_QTextDocument( 1 )->metaInformation( ( QTextDocument::MetaInformation ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QTextObject * object ( int objectIndex ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_OBJECT ) -{ - hb_retptr( ( QTextObject* ) hbqt_par_QTextDocument( 1 )->object( hb_parni( 2 ) ) ); -} - -/* - * QTextObject * objectForFormat ( const QTextFormat & f ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_OBJECTFORFORMAT ) -{ - hb_retptr( ( QTextObject* ) hbqt_par_QTextDocument( 1 )->objectForFormat( *hbqt_par_QTextFormat( 2 ) ) ); -} - -/* - * int pageCount () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_PAGECOUNT ) -{ - hb_retni( hbqt_par_QTextDocument( 1 )->pageCount() ); -} - -/* - * QSizeF pageSize () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_PAGESIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QTextDocument( 1 )->pageSize() ) ) ); -} - -/* - * void print ( QPrinter * printer ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_PRINT ) -{ - hbqt_par_QTextDocument( 1 )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* - * void redo ( QTextCursor * cursor ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_REDO ) -{ - hbqt_par_QTextDocument( 1 )->redo( hbqt_par_QTextCursor( 2 ) ); -} - -/* - * QVariant resource ( int type, const QUrl & name ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_RESOURCE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTextDocument( 1 )->resource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ) ) ); -} - -/* - * int revision () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_REVISION ) -{ - hb_retni( hbqt_par_QTextDocument( 1 )->revision() ); -} - -/* - * QTextFrame * rootFrame () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_ROOTFRAME ) -{ - hb_retptr( ( QTextFrame* ) hbqt_par_QTextDocument( 1 )->rootFrame() ); -} - -/* - * void setDefaultFont ( const QFont & font ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDEFAULTFONT ) -{ - hbqt_par_QTextDocument( 1 )->setDefaultFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setDefaultStyleSheet ( const QString & sheet ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDEFAULTSTYLESHEET ) -{ - hbqt_par_QTextDocument( 1 )->setDefaultStyleSheet( hbqt_par_QString( 2 ) ); -} - -/* - * void setDefaultTextOption ( const QTextOption & option ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDEFAULTTEXTOPTION ) -{ - hbqt_par_QTextDocument( 1 )->setDefaultTextOption( *hbqt_par_QTextOption( 2 ) ); -} - -/* - * void setDocumentLayout ( QAbstractTextDocumentLayout * layout ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDOCUMENTLAYOUT ) -{ - hbqt_par_QTextDocument( 1 )->setDocumentLayout( hbqt_par_QAbstractTextDocumentLayout( 2 ) ); -} - -/* - * void setDocumentMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETDOCUMENTMARGIN ) -{ - hbqt_par_QTextDocument( 1 )->setDocumentMargin( hb_parnd( 2 ) ); -} - -/* - * void setHtml ( const QString & html ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETHTML ) -{ - hbqt_par_QTextDocument( 1 )->setHtml( hbqt_par_QString( 2 ) ); -} - -/* - * void setIndentWidth ( qreal width ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETINDENTWIDTH ) -{ - hbqt_par_QTextDocument( 1 )->setIndentWidth( hb_parnd( 2 ) ); -} - -/* - * void setMaximumBlockCount ( int maximum ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETMAXIMUMBLOCKCOUNT ) -{ - hbqt_par_QTextDocument( 1 )->setMaximumBlockCount( hb_parni( 2 ) ); -} - -/* - * void setMetaInformation ( MetaInformation info, const QString & string ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETMETAINFORMATION ) -{ - hbqt_par_QTextDocument( 1 )->setMetaInformation( ( QTextDocument::MetaInformation ) hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setPageSize ( const QSizeF & size ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETPAGESIZE ) -{ - hbqt_par_QTextDocument( 1 )->setPageSize( *hbqt_par_QSizeF( 2 ) ); -} - -/* - * void setPlainText ( const QString & text ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETPLAINTEXT ) -{ - hbqt_par_QTextDocument( 1 )->setPlainText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextWidth ( qreal width ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETTEXTWIDTH ) -{ - hbqt_par_QTextDocument( 1 )->setTextWidth( hb_parnd( 2 ) ); -} - -/* - * void setUndoRedoEnabled ( bool enable ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETUNDOREDOENABLED ) -{ - hbqt_par_QTextDocument( 1 )->setUndoRedoEnabled( hb_parl( 2 ) ); -} - -/* - * void setUseDesignMetrics ( bool b ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETUSEDESIGNMETRICS ) -{ - hbqt_par_QTextDocument( 1 )->setUseDesignMetrics( hb_parl( 2 ) ); -} - -/* - * QSizeF size () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QTextDocument( 1 )->size() ) ) ); -} - -/* - * qreal textWidth () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_TEXTWIDTH ) -{ - hb_retnd( hbqt_par_QTextDocument( 1 )->textWidth() ); -} - -/* - * QString toHtml ( const QByteArray & encoding = QByteArray() ) const - */ -HB_FUNC( QT_QTEXTDOCUMENT_TOHTML ) -{ - hb_retc( hbqt_par_QTextDocument( 1 )->toHtml( ( HB_ISPOINTER( 2 ) ? *hbqt_par_QByteArray( 2 ) : QByteArray() ) ).toAscii().data() ); -} - -/* - * QString toPlainText () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_TOPLAINTEXT ) -{ - hb_retc( hbqt_par_QTextDocument( 1 )->toPlainText().toAscii().data() ); -} - -/* - * void undo ( QTextCursor * cursor ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_UNDO ) -{ - hbqt_par_QTextDocument( 1 )->undo( hbqt_par_QTextCursor( 2 ) ); -} - -/* - * bool useDesignMetrics () const - */ -HB_FUNC( QT_QTEXTDOCUMENT_USEDESIGNMETRICS ) -{ - hb_retl( hbqt_par_QTextDocument( 1 )->useDesignMetrics() ); -} - -/* - * void redo () - */ -HB_FUNC( QT_QTEXTDOCUMENT_REDO_1 ) -{ - hbqt_par_QTextDocument( 1 )->redo(); -} - -/* - * void setModified ( bool m = true ) - */ -HB_FUNC( QT_QTEXTDOCUMENT_SETMODIFIED ) -{ - hbqt_par_QTextDocument( 1 )->setModified( hb_parl( 2 ) ); -} - -/* - * void undo () - */ -HB_FUNC( QT_QTEXTDOCUMENT_UNDO_1 ) -{ - hbqt_par_QTextDocument( 1 )->undo(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextDocumentFragment.cpp b/harbour/contrib/hbqt/QTextDocumentFragment.cpp deleted file mode 100644 index d560622fce..0000000000 --- a/harbour/contrib/hbqt/QTextDocumentFragment.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextDocumentFragment () - * QTextDocumentFragment ( const QTextDocument * document ) - * QTextDocumentFragment ( const QTextCursor & cursor ) - * QTextDocumentFragment ( const QTextDocumentFragment & other ) - * ~QTextDocumentFragment () - */ - -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextDocumentFragment* ) new QTextDocumentFragment() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextDocumentFragment" ); - hb_retptrGC( p ); -} -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_ISEMPTY ) -{ - hb_retl( hbqt_par_QTextDocumentFragment( 1 )->isEmpty() ); -} - -/* - * QString toHtml ( const QByteArray & encoding ) const - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_TOHTML ) -{ - hb_retc( hbqt_par_QTextDocumentFragment( 1 )->toHtml( *hbqt_par_QByteArray( 2 ) ).toAscii().data() ); -} - -/* - * QString toHtml () const - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_TOHTML_1 ) -{ - hb_retc( hbqt_par_QTextDocumentFragment( 1 )->toHtml().toAscii().data() ); -} - -/* - * QString toPlainText () const - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_TOPLAINTEXT ) -{ - hb_retc( hbqt_par_QTextDocumentFragment( 1 )->toPlainText().toAscii().data() ); -} - -/* - * QTextDocumentFragment fromHtml ( const QString & text ) - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_FROMHTML ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextDocumentFragment( hbqt_par_QTextDocumentFragment( 1 )->fromHtml( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QTextDocumentFragment fromHtml ( const QString & text, const QTextDocument * resourceProvider ) - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_FROMHTML_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextDocumentFragment( hbqt_par_QTextDocumentFragment( 1 )->fromHtml( hbqt_par_QString( 2 ), hbqt_par_QTextDocument( 3 ) ) ) ) ); -} - -/* - * QTextDocumentFragment fromPlainText ( const QString & plainText ) - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT_FROMPLAINTEXT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextDocumentFragment( hbqt_par_QTextDocumentFragment( 1 )->fromPlainText( hbqt_par_QString( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextDocumentWriter.cpp b/harbour/contrib/hbqt/QTextDocumentWriter.cpp deleted file mode 100644 index c0d9f99c51..0000000000 --- a/harbour/contrib/hbqt/QTextDocumentWriter.cpp +++ /dev/null @@ -1,172 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextDocumentWriter () - * QTextDocumentWriter ( QIODevice * device, const QByteArray & format ) - * QTextDocumentWriter ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QTextDocumentWriter () - */ - -HB_FUNC( QT_QTEXTDOCUMENTWRITER ) -{ - void * pObj = NULL; - - pObj = ( QTextDocumentWriter* ) new QTextDocumentWriter() ; - - hb_retptr( pObj ); -} -/* - * QTextCodec * codec () const - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_CODEC ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextDocumentWriter( 1 )->codec() ); -} - -/* - * QIODevice * device () const - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_DEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QTextDocumentWriter( 1 )->device() ); -} - -/* - * QString fileName () const - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_FILENAME ) -{ - hb_retc( hbqt_par_QTextDocumentWriter( 1 )->fileName().toAscii().data() ); -} - -/* - * QByteArray format () const - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_FORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QTextDocumentWriter( 1 )->format() ) ) ); -} - -/* - * void setCodec ( QTextCodec * codec ) - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETCODEC ) -{ - hbqt_par_QTextDocumentWriter( 1 )->setCodec( hbqt_par_QTextCodec( 2 ) ); -} - -/* - * void setDevice ( QIODevice * device ) - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETDEVICE ) -{ - hbqt_par_QTextDocumentWriter( 1 )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* - * void setFileName ( const QString & fileName ) - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETFILENAME ) -{ - hbqt_par_QTextDocumentWriter( 1 )->setFileName( hbqt_par_QString( 2 ) ); -} - -/* - * void setFormat ( const QByteArray & format ) - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_SETFORMAT ) -{ - hbqt_par_QTextDocumentWriter( 1 )->setFormat( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * bool write ( const QTextDocument * document ) - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_WRITE ) -{ - hb_retl( hbqt_par_QTextDocumentWriter( 1 )->write( hbqt_par_QTextDocument( 2 ) ) ); -} - -/* - * bool write ( const QTextDocumentFragment & fragment ) - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER_WRITE_1 ) -{ - hb_retl( hbqt_par_QTextDocumentWriter( 1 )->write( *hbqt_par_QTextDocumentFragment( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextEdit.cpp b/harbour/contrib/hbqt/QTextEdit.cpp deleted file mode 100644 index cdbecc99f0..0000000000 --- a/harbour/contrib/hbqt/QTextEdit.cpp +++ /dev/null @@ -1,762 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags AutoFormatting - * enum AutoFormattingFlag { AutoNone, AutoBulletList, AutoAll } - * enum LineWrapMode { NoWrap, WidgetWidth, FixedPixelWidth, FixedColumnWidth } - */ - -/* - * Constructed[ 81/86 [ 94.19% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QTextEdit ( QWidget * parent = 0 ) - * QTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~QTextEdit () - * QList extraSelections () const - * void setExtraSelections ( const QList & selections ) - */ - -#include - -#include - - -/* - - */ - -HB_FUNC( QT_QTEXTEDIT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTextEdit > pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - pObj = ( QTextEdit* ) new QTextEdit( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = ( QTextEdit* ) new QTextEdit( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool acceptRichText () const - */ -HB_FUNC( QT_QTEXTEDIT_ACCEPTRICHTEXT ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->acceptRichText() ); -} - -/* - * Qt::Alignment alignment () const - */ -HB_FUNC( QT_QTEXTEDIT_ALIGNMENT ) -{ - hb_retni( ( Qt::Alignment ) hbqt_par_QTextEdit( 1 )->alignment() ); -} - -/* - * QString anchorAt ( const QPoint & pos ) const - */ -HB_FUNC( QT_QTEXTEDIT_ANCHORAT ) -{ - hb_retc( hbqt_par_QTextEdit( 1 )->anchorAt( *hbqt_par_QPoint( 2 ) ).toAscii().data() ); -} - -/* - * AutoFormatting autoFormatting () const - */ -HB_FUNC( QT_QTEXTEDIT_AUTOFORMATTING ) -{ - hb_retni( ( QTextEdit::AutoFormatting ) hbqt_par_QTextEdit( 1 )->autoFormatting() ); -} - -/* - * bool canPaste () const - */ -HB_FUNC( QT_QTEXTEDIT_CANPASTE ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->canPaste() ); -} - -/* - * QMenu * createStandardContextMenu () - */ -HB_FUNC( QT_QTEXTEDIT_CREATESTANDARDCONTEXTMENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QTextEdit( 1 )->createStandardContextMenu() ); -} - -/* - * QMenu * createStandardContextMenu ( const QPoint & position ) - */ -HB_FUNC( QT_QTEXTEDIT_CREATESTANDARDCONTEXTMENU_1 ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QTextEdit( 1 )->createStandardContextMenu( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QTextCharFormat currentCharFormat () const - */ -HB_FUNC( QT_QTEXTEDIT_CURRENTCHARFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QTextEdit( 1 )->currentCharFormat() ) ) ); -} - -/* - * QFont currentFont () const - */ -HB_FUNC( QT_QTEXTEDIT_CURRENTFONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTextEdit( 1 )->currentFont() ) ) ); -} - -/* - * QTextCursor cursorForPosition ( const QPoint & pos ) const - */ -HB_FUNC( QT_QTEXTEDIT_CURSORFORPOSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextEdit( 1 )->cursorForPosition( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QRect cursorRect ( const QTextCursor & cursor ) const - */ -HB_FUNC( QT_QTEXTEDIT_CURSORRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QTextEdit( 1 )->cursorRect( *hbqt_par_QTextCursor( 2 ) ) ) ) ); -} - -/* - * QRect cursorRect () const - */ -HB_FUNC( QT_QTEXTEDIT_CURSORRECT_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QTextEdit( 1 )->cursorRect() ) ) ); -} - -/* - * int cursorWidth () const - */ -HB_FUNC( QT_QTEXTEDIT_CURSORWIDTH ) -{ - hb_retni( hbqt_par_QTextEdit( 1 )->cursorWidth() ); -} - -/* - * QTextDocument * document () const - */ -HB_FUNC( QT_QTEXTEDIT_DOCUMENT ) -{ - hb_retptr( ( QTextDocument* ) hbqt_par_QTextEdit( 1 )->document() ); -} - -/* - * QString documentTitle () const - */ -HB_FUNC( QT_QTEXTEDIT_DOCUMENTTITLE ) -{ - hb_retc( hbqt_par_QTextEdit( 1 )->documentTitle().toAscii().data() ); -} - -/* - * void ensureCursorVisible () - */ -HB_FUNC( QT_QTEXTEDIT_ENSURECURSORVISIBLE ) -{ - hbqt_par_QTextEdit( 1 )->ensureCursorVisible(); -} - -/* - * bool find ( const QString & exp, QTextDocument::FindFlags options = 0 ) - */ -HB_FUNC( QT_QTEXTEDIT_FIND ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->find( hbqt_par_QString( 2 ), ( QTextDocument::FindFlags ) hb_parni( 3 ) ) ); -} - -/* - * QString fontFamily () const - */ -HB_FUNC( QT_QTEXTEDIT_FONTFAMILY ) -{ - hb_retc( hbqt_par_QTextEdit( 1 )->fontFamily().toAscii().data() ); -} - -/* - * bool fontItalic () const - */ -HB_FUNC( QT_QTEXTEDIT_FONTITALIC ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->fontItalic() ); -} - -/* - * qreal fontPointSize () const - */ -HB_FUNC( QT_QTEXTEDIT_FONTPOINTSIZE ) -{ - hb_retnd( hbqt_par_QTextEdit( 1 )->fontPointSize() ); -} - -/* - * bool fontUnderline () const - */ -HB_FUNC( QT_QTEXTEDIT_FONTUNDERLINE ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->fontUnderline() ); -} - -/* - * int fontWeight () const - */ -HB_FUNC( QT_QTEXTEDIT_FONTWEIGHT ) -{ - hb_retni( hbqt_par_QTextEdit( 1 )->fontWeight() ); -} - -/* - * bool isReadOnly () const - */ -HB_FUNC( QT_QTEXTEDIT_ISREADONLY ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->isReadOnly() ); -} - -/* - * bool isUndoRedoEnabled () const - */ -HB_FUNC( QT_QTEXTEDIT_ISUNDOREDOENABLED ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->isUndoRedoEnabled() ); -} - -/* - * int lineWrapColumnOrWidth () const - */ -HB_FUNC( QT_QTEXTEDIT_LINEWRAPCOLUMNORWIDTH ) -{ - hb_retni( hbqt_par_QTextEdit( 1 )->lineWrapColumnOrWidth() ); -} - -/* - * LineWrapMode lineWrapMode () const - */ -HB_FUNC( QT_QTEXTEDIT_LINEWRAPMODE ) -{ - hb_retni( ( QTextEdit::LineWrapMode ) hbqt_par_QTextEdit( 1 )->lineWrapMode() ); -} - -/* - * virtual QVariant loadResource ( int type, const QUrl & name ) - */ -HB_FUNC( QT_QTEXTEDIT_LOADRESOURCE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTextEdit( 1 )->loadResource( hb_parni( 2 ), *hbqt_par_QUrl( 3 ) ) ) ) ); -} - -/* - * void mergeCurrentCharFormat ( const QTextCharFormat & modifier ) - */ -HB_FUNC( QT_QTEXTEDIT_MERGECURRENTCHARFORMAT ) -{ - hbqt_par_QTextEdit( 1 )->mergeCurrentCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * void moveCursor ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) - */ -HB_FUNC( QT_QTEXTEDIT_MOVECURSOR ) -{ - hbqt_par_QTextEdit( 1 )->moveCursor( ( QTextCursor::MoveOperation ) hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextCursor::MoveMode ) hb_parni( 3 ) : ( QTextCursor::MoveMode ) QTextCursor::MoveAnchor ) ); -} - -/* - * bool overwriteMode () const - */ -HB_FUNC( QT_QTEXTEDIT_OVERWRITEMODE ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->overwriteMode() ); -} - -/* - * void print ( QPrinter * printer ) const - */ -HB_FUNC( QT_QTEXTEDIT_PRINT ) -{ - hbqt_par_QTextEdit( 1 )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* - * void setAcceptRichText ( bool accept ) - */ -HB_FUNC( QT_QTEXTEDIT_SETACCEPTRICHTEXT ) -{ - hbqt_par_QTextEdit( 1 )->setAcceptRichText( hb_parl( 2 ) ); -} - -/* - * void setAutoFormatting ( AutoFormatting features ) - */ -HB_FUNC( QT_QTEXTEDIT_SETAUTOFORMATTING ) -{ - hbqt_par_QTextEdit( 1 )->setAutoFormatting( ( QTextEdit::AutoFormatting ) hb_parni( 2 ) ); -} - -/* - * void setCurrentCharFormat ( const QTextCharFormat & format ) - */ -HB_FUNC( QT_QTEXTEDIT_SETCURRENTCHARFORMAT ) -{ - hbqt_par_QTextEdit( 1 )->setCurrentCharFormat( *hbqt_par_QTextCharFormat( 2 ) ); -} - -/* - * void setCursorWidth ( int width ) - */ -HB_FUNC( QT_QTEXTEDIT_SETCURSORWIDTH ) -{ - hbqt_par_QTextEdit( 1 )->setCursorWidth( hb_parni( 2 ) ); -} - -/* - * void setDocument ( QTextDocument * document ) - */ -HB_FUNC( QT_QTEXTEDIT_SETDOCUMENT ) -{ - hbqt_par_QTextEdit( 1 )->setDocument( hbqt_par_QTextDocument( 2 ) ); -} - -/* - * void setDocumentTitle ( const QString & title ) - */ -HB_FUNC( QT_QTEXTEDIT_SETDOCUMENTTITLE ) -{ - hbqt_par_QTextEdit( 1 )->setDocumentTitle( hbqt_par_QString( 2 ) ); -} - -/* - * void setLineWrapColumnOrWidth ( int w ) - */ -HB_FUNC( QT_QTEXTEDIT_SETLINEWRAPCOLUMNORWIDTH ) -{ - hbqt_par_QTextEdit( 1 )->setLineWrapColumnOrWidth( hb_parni( 2 ) ); -} - -/* - * void setLineWrapMode ( LineWrapMode mode ) - */ -HB_FUNC( QT_QTEXTEDIT_SETLINEWRAPMODE ) -{ - hbqt_par_QTextEdit( 1 )->setLineWrapMode( ( QTextEdit::LineWrapMode ) hb_parni( 2 ) ); -} - -/* - * void setOverwriteMode ( bool overwrite ) - */ -HB_FUNC( QT_QTEXTEDIT_SETOVERWRITEMODE ) -{ - hbqt_par_QTextEdit( 1 )->setOverwriteMode( hb_parl( 2 ) ); -} - -/* - * void setReadOnly ( bool ro ) - */ -HB_FUNC( QT_QTEXTEDIT_SETREADONLY ) -{ - hbqt_par_QTextEdit( 1 )->setReadOnly( hb_parl( 2 ) ); -} - -/* - * void setTabChangesFocus ( bool b ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTABCHANGESFOCUS ) -{ - hbqt_par_QTextEdit( 1 )->setTabChangesFocus( hb_parl( 2 ) ); -} - -/* - * void setTabStopWidth ( int width ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTABSTOPWIDTH ) -{ - hbqt_par_QTextEdit( 1 )->setTabStopWidth( hb_parni( 2 ) ); -} - -/* - * void setTextCursor ( const QTextCursor & cursor ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTCURSOR ) -{ - hbqt_par_QTextEdit( 1 )->setTextCursor( *hbqt_par_QTextCursor( 2 ) ); -} - -/* - * void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTINTERACTIONFLAGS ) -{ - hbqt_par_QTextEdit( 1 )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); -} - -/* - * void setUndoRedoEnabled ( bool enable ) - */ -HB_FUNC( QT_QTEXTEDIT_SETUNDOREDOENABLED ) -{ - hbqt_par_QTextEdit( 1 )->setUndoRedoEnabled( hb_parl( 2 ) ); -} - -/* - * void setWordWrapMode ( QTextOption::WrapMode policy ) - */ -HB_FUNC( QT_QTEXTEDIT_SETWORDWRAPMODE ) -{ - hbqt_par_QTextEdit( 1 )->setWordWrapMode( ( QTextOption::WrapMode ) hb_parni( 2 ) ); -} - -/* - * bool tabChangesFocus () const - */ -HB_FUNC( QT_QTEXTEDIT_TABCHANGESFOCUS ) -{ - hb_retl( hbqt_par_QTextEdit( 1 )->tabChangesFocus() ); -} - -/* - * int tabStopWidth () const - */ -HB_FUNC( QT_QTEXTEDIT_TABSTOPWIDTH ) -{ - hb_retni( hbqt_par_QTextEdit( 1 )->tabStopWidth() ); -} - -/* - * QColor textBackgroundColor () const - */ -HB_FUNC( QT_QTEXTEDIT_TEXTBACKGROUNDCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QTextEdit( 1 )->textBackgroundColor() ) ) ); -} - -/* - * QColor textColor () const - */ -HB_FUNC( QT_QTEXTEDIT_TEXTCOLOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QTextEdit( 1 )->textColor() ) ) ); -} - -/* - * QTextCursor textCursor () const - */ -HB_FUNC( QT_QTEXTEDIT_TEXTCURSOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextEdit( 1 )->textCursor() ) ) ); -} - -/* - * Qt::TextInteractionFlags textInteractionFlags () const - */ -HB_FUNC( QT_QTEXTEDIT_TEXTINTERACTIONFLAGS ) -{ - hb_retni( ( Qt::TextInteractionFlags ) hbqt_par_QTextEdit( 1 )->textInteractionFlags() ); -} - -/* - * QString toHtml () const - */ -HB_FUNC( QT_QTEXTEDIT_TOHTML ) -{ - hb_retc( hbqt_par_QTextEdit( 1 )->toHtml().toAscii().data() ); -} - -/* - * QString toPlainText () const - */ -HB_FUNC( QT_QTEXTEDIT_TOPLAINTEXT ) -{ - hb_retc( hbqt_par_QTextEdit( 1 )->toPlainText().toAscii().data() ); -} - -/* - * QTextOption::WrapMode wordWrapMode () const - */ -HB_FUNC( QT_QTEXTEDIT_WORDWRAPMODE ) -{ - hb_retni( ( QTextOption::WrapMode ) hbqt_par_QTextEdit( 1 )->wordWrapMode() ); -} - -/* - * void append ( const QString & text ) - */ -HB_FUNC( QT_QTEXTEDIT_APPEND ) -{ - hbqt_par_QTextEdit( 1 )->append( hbqt_par_QString( 2 ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QTEXTEDIT_CLEAR ) -{ - hbqt_par_QTextEdit( 1 )->clear(); -} - -/* - * void copy () - */ -HB_FUNC( QT_QTEXTEDIT_COPY ) -{ - hbqt_par_QTextEdit( 1 )->copy(); -} - -/* - * void cut () - */ -HB_FUNC( QT_QTEXTEDIT_CUT ) -{ - hbqt_par_QTextEdit( 1 )->cut(); -} - -/* - * void insertHtml ( const QString & text ) - */ -HB_FUNC( QT_QTEXTEDIT_INSERTHTML ) -{ - hbqt_par_QTextEdit( 1 )->insertHtml( hbqt_par_QString( 2 ) ); -} - -/* - * void insertPlainText ( const QString & text ) - */ -HB_FUNC( QT_QTEXTEDIT_INSERTPLAINTEXT ) -{ - hbqt_par_QTextEdit( 1 )->insertPlainText( hbqt_par_QString( 2 ) ); -} - -/* - * void paste () - */ -HB_FUNC( QT_QTEXTEDIT_PASTE ) -{ - hbqt_par_QTextEdit( 1 )->paste(); -} - -/* - * void redo () - */ -HB_FUNC( QT_QTEXTEDIT_REDO ) -{ - hbqt_par_QTextEdit( 1 )->redo(); -} - -/* - * void scrollToAnchor ( const QString & name ) - */ -HB_FUNC( QT_QTEXTEDIT_SCROLLTOANCHOR ) -{ - hbqt_par_QTextEdit( 1 )->scrollToAnchor( hbqt_par_QString( 2 ) ); -} - -/* - * void selectAll () - */ -HB_FUNC( QT_QTEXTEDIT_SELECTALL ) -{ - hbqt_par_QTextEdit( 1 )->selectAll(); -} - -/* - * void setAlignment ( Qt::Alignment a ) - */ -HB_FUNC( QT_QTEXTEDIT_SETALIGNMENT ) -{ - hbqt_par_QTextEdit( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) ); -} - -/* - * void setCurrentFont ( const QFont & f ) - */ -HB_FUNC( QT_QTEXTEDIT_SETCURRENTFONT ) -{ - hbqt_par_QTextEdit( 1 )->setCurrentFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setFontFamily ( const QString & fontFamily ) - */ -HB_FUNC( QT_QTEXTEDIT_SETFONTFAMILY ) -{ - hbqt_par_QTextEdit( 1 )->setFontFamily( hbqt_par_QString( 2 ) ); -} - -/* - * void setFontItalic ( bool italic ) - */ -HB_FUNC( QT_QTEXTEDIT_SETFONTITALIC ) -{ - hbqt_par_QTextEdit( 1 )->setFontItalic( hb_parl( 2 ) ); -} - -/* - * void setFontPointSize ( qreal s ) - */ -HB_FUNC( QT_QTEXTEDIT_SETFONTPOINTSIZE ) -{ - hbqt_par_QTextEdit( 1 )->setFontPointSize( hb_parnd( 2 ) ); -} - -/* - * void setFontUnderline ( bool underline ) - */ -HB_FUNC( QT_QTEXTEDIT_SETFONTUNDERLINE ) -{ - hbqt_par_QTextEdit( 1 )->setFontUnderline( hb_parl( 2 ) ); -} - -/* - * void setFontWeight ( int weight ) - */ -HB_FUNC( QT_QTEXTEDIT_SETFONTWEIGHT ) -{ - hbqt_par_QTextEdit( 1 )->setFontWeight( hb_parni( 2 ) ); -} - -/* - * void setHtml ( const QString & text ) - */ -HB_FUNC( QT_QTEXTEDIT_SETHTML ) -{ - hbqt_par_QTextEdit( 1 )->setHtml( hbqt_par_QString( 2 ) ); -} - -/* - * void setPlainText ( const QString & text ) - */ -HB_FUNC( QT_QTEXTEDIT_SETPLAINTEXT ) -{ - hbqt_par_QTextEdit( 1 )->setPlainText( hbqt_par_QString( 2 ) ); -} - -/* - * void setText ( const QString & text ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTEXT ) -{ - hbqt_par_QTextEdit( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextBackgroundColor ( const QColor & c ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTBACKGROUNDCOLOR ) -{ - hbqt_par_QTextEdit( 1 )->setTextBackgroundColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void setTextColor ( const QColor & c ) - */ -HB_FUNC( QT_QTEXTEDIT_SETTEXTCOLOR ) -{ - hbqt_par_QTextEdit( 1 )->setTextColor( *hbqt_par_QColor( 2 ) ); -} - -/* - * void undo () - */ -HB_FUNC( QT_QTEXTEDIT_UNDO ) -{ - hbqt_par_QTextEdit( 1 )->undo(); -} - -/* - * void zoomIn ( int range = 1 ) - */ -HB_FUNC( QT_QTEXTEDIT_ZOOMIN ) -{ - hbqt_par_QTextEdit( 1 )->zoomIn( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 1 ) ); -} - -/* - * void zoomOut ( int range = 1 ) - */ -HB_FUNC( QT_QTEXTEDIT_ZOOMOUT ) -{ - hbqt_par_QTextEdit( 1 )->zoomOut( ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : 1 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextEncoder.cpp b/harbour/contrib/hbqt/QTextEncoder.cpp deleted file mode 100644 index 99dd94504a..0000000000 --- a/harbour/contrib/hbqt/QTextEncoder.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextEncoder ( const QTextCodec * codec ) - * ~QTextEncoder () - */ - -HB_FUNC( QT_QTEXTENCODER ) -{ - void * pObj = NULL; - - pObj = ( QTextEncoder* ) new QTextEncoder( hbqt_par_QTextCodec( 1 ) ) ; - - hb_retptr( pObj ); -} -/* - * QByteArray fromUnicode ( const QString & str ) - */ -HB_FUNC( QT_QTEXTENCODER_FROMUNICODE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QTextEncoder( 1 )->fromUnicode( hbqt_par_QString( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextFormat.cpp b/harbour/contrib/hbqt/QTextFormat.cpp deleted file mode 100644 index 6e4b066e0c..0000000000 --- a/harbour/contrib/hbqt/QTextFormat.cpp +++ /dev/null @@ -1,450 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FormatType { InvalidFormat, BlockFormat, CharFormat, ListFormat, ..., UserFormat } - * enum ObjectTypes { NoObject, ImageObject, TableObject, TableCellObject, UserObject } - * enum PageBreakFlag { PageBreak_Auto, PageBreak_AlwaysBefore, PageBreak_AlwaysAfter } - * flags PageBreakFlags - * enum Property { ObjectIndex, CssFloat, LayoutDirection, OutlinePen, ..., UserProperty } - */ - -/* - * Constructed[ 42/45 [ 93.33% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QVector lengthVectorProperty ( int propertyId ) const - * QMap properties () const - * void setProperty ( int propertyId, const QVector & value ) - */ - -#include - -#include - - -/* - * QTextFormat () - * QTextFormat ( int type ) - * QTextFormat ( const QTextFormat & other ) - * ~QTextFormat () - */ - -HB_FUNC( QT_QTEXTFORMAT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextFormat* ) new QTextFormat() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextFormat" ); - hb_retptrGC( p ); -} -/* - * QBrush background () const - */ -HB_FUNC( QT_QTEXTFORMAT_BACKGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTextFormat( 1 )->background() ) ) ); -} - -/* - * bool boolProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_BOOLPROPERTY ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->boolProperty( hb_parni( 2 ) ) ); -} - -/* - * QBrush brushProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_BRUSHPROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTextFormat( 1 )->brushProperty( hb_parni( 2 ) ) ) ) ); -} - -/* - * void clearBackground () - */ -HB_FUNC( QT_QTEXTFORMAT_CLEARBACKGROUND ) -{ - hbqt_par_QTextFormat( 1 )->clearBackground(); -} - -/* - * void clearForeground () - */ -HB_FUNC( QT_QTEXTFORMAT_CLEARFOREGROUND ) -{ - hbqt_par_QTextFormat( 1 )->clearForeground(); -} - -/* - * void clearProperty ( int propertyId ) - */ -HB_FUNC( QT_QTEXTFORMAT_CLEARPROPERTY ) -{ - hbqt_par_QTextFormat( 1 )->clearProperty( hb_parni( 2 ) ); -} - -/* - * QColor colorProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_COLORPROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QColor( hbqt_par_QTextFormat( 1 )->colorProperty( hb_parni( 2 ) ) ) ) ); -} - -/* - * qreal doubleProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_DOUBLEPROPERTY ) -{ - hb_retnd( hbqt_par_QTextFormat( 1 )->doubleProperty( hb_parni( 2 ) ) ); -} - -/* - * QBrush foreground () const - */ -HB_FUNC( QT_QTEXTFORMAT_FOREGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTextFormat( 1 )->foreground() ) ) ); -} - -/* - * bool hasProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_HASPROPERTY ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->hasProperty( hb_parni( 2 ) ) ); -} - -/* - * int intProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_INTPROPERTY ) -{ - hb_retni( hbqt_par_QTextFormat( 1 )->intProperty( hb_parni( 2 ) ) ); -} - -/* - * bool isBlockFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISBLOCKFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isBlockFormat() ); -} - -/* - * bool isCharFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISCHARFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isCharFormat() ); -} - -/* - * bool isFrameFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISFRAMEFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isFrameFormat() ); -} - -/* - * bool isImageFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISIMAGEFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isImageFormat() ); -} - -/* - * bool isListFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISLISTFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isListFormat() ); -} - -/* - * bool isTableCellFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISTABLECELLFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isTableCellFormat() ); -} - -/* - * bool isTableFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISTABLEFORMAT ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isTableFormat() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTFORMAT_ISVALID ) -{ - hb_retl( hbqt_par_QTextFormat( 1 )->isValid() ); -} - -/* - * Qt::LayoutDirection layoutDirection () const - */ -HB_FUNC( QT_QTEXTFORMAT_LAYOUTDIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QTextFormat( 1 )->layoutDirection() ); -} - -/* - * QTextLength lengthProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_LENGTHPROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextLength( hbqt_par_QTextFormat( 1 )->lengthProperty( hb_parni( 2 ) ) ) ) ); -} - -/* - * void merge ( const QTextFormat & other ) - */ -HB_FUNC( QT_QTEXTFORMAT_MERGE ) -{ - hbqt_par_QTextFormat( 1 )->merge( *hbqt_par_QTextFormat( 2 ) ); -} - -/* - * int objectIndex () const - */ -HB_FUNC( QT_QTEXTFORMAT_OBJECTINDEX ) -{ - hb_retni( hbqt_par_QTextFormat( 1 )->objectIndex() ); -} - -/* - * int objectType () const - */ -HB_FUNC( QT_QTEXTFORMAT_OBJECTTYPE ) -{ - hb_retni( hbqt_par_QTextFormat( 1 )->objectType() ); -} - -/* - * QPen penProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_PENPROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPen( hbqt_par_QTextFormat( 1 )->penProperty( hb_parni( 2 ) ) ) ) ); -} - -/* - * QVariant property ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_PROPERTY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTextFormat( 1 )->property( hb_parni( 2 ) ) ) ) ); -} - -/* - * int propertyCount () const - */ -HB_FUNC( QT_QTEXTFORMAT_PROPERTYCOUNT ) -{ - hb_retni( hbqt_par_QTextFormat( 1 )->propertyCount() ); -} - -/* - * void setBackground ( const QBrush & brush ) - */ -HB_FUNC( QT_QTEXTFORMAT_SETBACKGROUND ) -{ - hbqt_par_QTextFormat( 1 )->setBackground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setForeground ( const QBrush & brush ) - */ -HB_FUNC( QT_QTEXTFORMAT_SETFOREGROUND ) -{ - hbqt_par_QTextFormat( 1 )->setForeground( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setLayoutDirection ( Qt::LayoutDirection direction ) - */ -HB_FUNC( QT_QTEXTFORMAT_SETLAYOUTDIRECTION ) -{ - hbqt_par_QTextFormat( 1 )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* - * void setObjectIndex ( int index ) - */ -HB_FUNC( QT_QTEXTFORMAT_SETOBJECTINDEX ) -{ - hbqt_par_QTextFormat( 1 )->setObjectIndex( hb_parni( 2 ) ); -} - -/* - * void setObjectType ( int type ) - */ -HB_FUNC( QT_QTEXTFORMAT_SETOBJECTTYPE ) -{ - hbqt_par_QTextFormat( 1 )->setObjectType( hb_parni( 2 ) ); -} - -/* - * void setProperty ( int propertyId, const QVariant & value ) - */ -HB_FUNC( QT_QTEXTFORMAT_SETPROPERTY ) -{ - hbqt_par_QTextFormat( 1 )->setProperty( hb_parni( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* - * QString stringProperty ( int propertyId ) const - */ -HB_FUNC( QT_QTEXTFORMAT_STRINGPROPERTY ) -{ - hb_retc( hbqt_par_QTextFormat( 1 )->stringProperty( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QTextBlockFormat toBlockFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOBLOCKFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextBlockFormat( hbqt_par_QTextFormat( 1 )->toBlockFormat() ) ) ); -} - -/* - * QTextCharFormat toCharFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOCHARFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QTextFormat( 1 )->toCharFormat() ) ) ); -} - -/* - * QTextFrameFormat toFrameFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOFRAMEFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextFrameFormat( hbqt_par_QTextFormat( 1 )->toFrameFormat() ) ) ); -} - -/* - * QTextImageFormat toImageFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOIMAGEFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextImageFormat( hbqt_par_QTextFormat( 1 )->toImageFormat() ) ) ); -} - -/* - * QTextListFormat toListFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOLISTFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextListFormat( hbqt_par_QTextFormat( 1 )->toListFormat() ) ) ); -} - -/* - * QTextTableCellFormat toTableCellFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOTABLECELLFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextTableCellFormat( hbqt_par_QTextFormat( 1 )->toTableCellFormat() ) ) ); -} - -/* - * QTextTableFormat toTableFormat () const - */ -HB_FUNC( QT_QTEXTFORMAT_TOTABLEFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextTableFormat( hbqt_par_QTextFormat( 1 )->toTableFormat() ) ) ); -} - -/* - * int type () const - */ -HB_FUNC( QT_QTEXTFORMAT_TYPE ) -{ - hb_retni( hbqt_par_QTextFormat( 1 )->type() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextFragment.cpp b/harbour/contrib/hbqt/QTextFragment.cpp deleted file mode 100644 index 54146f2f2a..0000000000 --- a/harbour/contrib/hbqt/QTextFragment.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextFragment () - * QTextFragment ( const QTextFragment & other ) - */ - -HB_FUNC( QT_QTEXTFRAGMENT ) -{ - void * pObj = NULL; - - pObj = ( QTextFragment* ) new QTextFragment() ; - - hb_retptr( pObj ); -} -/* - * QTextCharFormat charFormat () const - */ -HB_FUNC( QT_QTEXTFRAGMENT_CHARFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCharFormat( hbqt_par_QTextFragment( 1 )->charFormat() ) ) ); -} - -/* - * int charFormatIndex () const - */ -HB_FUNC( QT_QTEXTFRAGMENT_CHARFORMATINDEX ) -{ - hb_retni( hbqt_par_QTextFragment( 1 )->charFormatIndex() ); -} - -/* - * bool contains ( int position ) const - */ -HB_FUNC( QT_QTEXTFRAGMENT_CONTAINS ) -{ - hb_retl( hbqt_par_QTextFragment( 1 )->contains( hb_parni( 2 ) ) ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTFRAGMENT_ISVALID ) -{ - hb_retl( hbqt_par_QTextFragment( 1 )->isValid() ); -} - -/* - * int length () const - */ -HB_FUNC( QT_QTEXTFRAGMENT_LENGTH ) -{ - hb_retni( hbqt_par_QTextFragment( 1 )->length() ); -} - -/* - * int position () const - */ -HB_FUNC( QT_QTEXTFRAGMENT_POSITION ) -{ - hb_retni( hbqt_par_QTextFragment( 1 )->position() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QTEXTFRAGMENT_TEXT ) -{ - hb_retc( hbqt_par_QTextFragment( 1 )->text().toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextFrame.cpp b/harbour/contrib/hbqt/QTextFrame.cpp deleted file mode 100644 index 25157d476c..0000000000 --- a/harbour/contrib/hbqt/QTextFrame.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 7/10 [ 70.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList childFrames () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * //iterator begin () const - * //iterator end () const - */ - -#include - -#include -#include - - -/* - * QTextFrame ( QTextDocument * document ) - * ~QTextFrame () - */ - -HB_FUNC( QT_QTEXTFRAME ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTextFrame > pObj = NULL; - - pObj = ( QTextFrame* ) new QTextFrame( hbqt_par_QTextDocument( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QTextCursor firstCursorPosition () const - */ -HB_FUNC( QT_QTEXTFRAME_FIRSTCURSORPOSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextFrame( 1 )->firstCursorPosition() ) ) ); -} - -/* - * int firstPosition () const - */ -HB_FUNC( QT_QTEXTFRAME_FIRSTPOSITION ) -{ - hb_retni( hbqt_par_QTextFrame( 1 )->firstPosition() ); -} - -/* - * QTextFrameFormat frameFormat () const - */ -HB_FUNC( QT_QTEXTFRAME_FRAMEFORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextFrameFormat( hbqt_par_QTextFrame( 1 )->frameFormat() ) ) ); -} - -/* - * QTextCursor lastCursorPosition () const - */ -HB_FUNC( QT_QTEXTFRAME_LASTCURSORPOSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextCursor( hbqt_par_QTextFrame( 1 )->lastCursorPosition() ) ) ); -} - -/* - * int lastPosition () const - */ -HB_FUNC( QT_QTEXTFRAME_LASTPOSITION ) -{ - hb_retni( hbqt_par_QTextFrame( 1 )->lastPosition() ); -} - -/* - * QTextFrame * parentFrame () const - */ -HB_FUNC( QT_QTEXTFRAME_PARENTFRAME ) -{ - hb_retptr( ( QTextFrame* ) hbqt_par_QTextFrame( 1 )->parentFrame() ); -} - -/* - * void setFrameFormat ( const QTextFrameFormat & format ) - */ -HB_FUNC( QT_QTEXTFRAME_SETFRAMEFORMAT ) -{ - hbqt_par_QTextFrame( 1 )->setFrameFormat( *hbqt_par_QTextFrameFormat( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextFrameFormat.cpp b/harbour/contrib/hbqt/QTextFrameFormat.cpp deleted file mode 100644 index a0616c96e6..0000000000 --- a/harbour/contrib/hbqt/QTextFrameFormat.cpp +++ /dev/null @@ -1,334 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags PageBreakFlags - * enum FormatType { InvalidFormat, BlockFormat, CharFormat, ListFormat, ..., UserFormat } - * enum ObjectTypes { NoObject, ImageObject, TableObject, TableCellObject, UserObject } - * enum PageBreakFlag { PageBreak_Auto, PageBreak_AlwaysBefore, PageBreak_AlwaysAfter } - * enum Property { ObjectIndex, CssFloat, LayoutDirection, OutlinePen, ..., UserProperty } - * enum BorderStyle { BorderStyle_None, BorderStyle_Dotted, BorderStyle_Dashed, BorderStyle_Solid, ..., BorderStyle_Outset } - * enum Position { InFlow, FloatLeft, FloatRight } - */ - -#include - -#include - - -/* - * QTextFrameFormat () - */ - -HB_FUNC( QT_QTEXTFRAMEFORMAT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextFrameFormat* ) new QTextFrameFormat() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextFrameFormat" ); - hb_retptrGC( p ); -} -/* - * qreal border () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BORDER ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->border() ); -} - -/* - * QBrush borderBrush () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BORDERBRUSH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTextFrameFormat( 1 )->borderBrush() ) ) ); -} - -/* - * BorderStyle borderStyle () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BORDERSTYLE ) -{ - hb_retni( ( QTextFrameFormat::BorderStyle ) hbqt_par_QTextFrameFormat( 1 )->borderStyle() ); -} - -/* - * qreal bottomMargin () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_BOTTOMMARGIN ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->bottomMargin() ); -} - -/* - * QTextLength height () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_HEIGHT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextLength( hbqt_par_QTextFrameFormat( 1 )->height() ) ) ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_ISVALID ) -{ - hb_retl( hbqt_par_QTextFrameFormat( 1 )->isValid() ); -} - -/* - * qreal leftMargin () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_LEFTMARGIN ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->leftMargin() ); -} - -/* - * qreal margin () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_MARGIN ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->margin() ); -} - -/* - * qreal padding () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_PADDING ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->padding() ); -} - -/* - * PageBreakFlags pageBreakPolicy () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_PAGEBREAKPOLICY ) -{ - hb_retni( ( QTextFrameFormat::PageBreakFlags ) hbqt_par_QTextFrameFormat( 1 )->pageBreakPolicy() ); -} - -/* - * Position position () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_POSITION ) -{ - hb_retni( ( QTextFrameFormat::Position ) hbqt_par_QTextFrameFormat( 1 )->position() ); -} - -/* - * qreal rightMargin () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_RIGHTMARGIN ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->rightMargin() ); -} - -/* - * void setBorder ( qreal width ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBORDER ) -{ - hbqt_par_QTextFrameFormat( 1 )->setBorder( hb_parnd( 2 ) ); -} - -/* - * void setBorderBrush ( const QBrush & brush ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBORDERBRUSH ) -{ - hbqt_par_QTextFrameFormat( 1 )->setBorderBrush( *hbqt_par_QBrush( 2 ) ); -} - -/* - * void setBorderStyle ( BorderStyle style ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBORDERSTYLE ) -{ - hbqt_par_QTextFrameFormat( 1 )->setBorderStyle( ( QTextFrameFormat::BorderStyle ) hb_parni( 2 ) ); -} - -/* - * void setBottomMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETBOTTOMMARGIN ) -{ - hbqt_par_QTextFrameFormat( 1 )->setBottomMargin( hb_parnd( 2 ) ); -} - -/* - * void setHeight ( const QTextLength & height ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETHEIGHT ) -{ - hbqt_par_QTextFrameFormat( 1 )->setHeight( *hbqt_par_QTextLength( 2 ) ); -} - -/* - * void setHeight ( qreal height ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETHEIGHT_1 ) -{ - hbqt_par_QTextFrameFormat( 1 )->setHeight( hb_parnd( 2 ) ); -} - -/* - * void setLeftMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETLEFTMARGIN ) -{ - hbqt_par_QTextFrameFormat( 1 )->setLeftMargin( hb_parnd( 2 ) ); -} - -/* - * void setMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETMARGIN ) -{ - hbqt_par_QTextFrameFormat( 1 )->setMargin( hb_parnd( 2 ) ); -} - -/* - * void setPadding ( qreal width ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETPADDING ) -{ - hbqt_par_QTextFrameFormat( 1 )->setPadding( hb_parnd( 2 ) ); -} - -/* - * void setPageBreakPolicy ( PageBreakFlags policy ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETPAGEBREAKPOLICY ) -{ - hbqt_par_QTextFrameFormat( 1 )->setPageBreakPolicy( ( QTextFrameFormat::PageBreakFlags ) hb_parni( 2 ) ); -} - -/* - * void setPosition ( Position policy ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETPOSITION ) -{ - hbqt_par_QTextFrameFormat( 1 )->setPosition( ( QTextFrameFormat::Position ) hb_parni( 2 ) ); -} - -/* - * void setRightMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETRIGHTMARGIN ) -{ - hbqt_par_QTextFrameFormat( 1 )->setRightMargin( hb_parnd( 2 ) ); -} - -/* - * void setTopMargin ( qreal margin ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETTOPMARGIN ) -{ - hbqt_par_QTextFrameFormat( 1 )->setTopMargin( hb_parnd( 2 ) ); -} - -/* - * void setWidth ( const QTextLength & width ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETWIDTH ) -{ - hbqt_par_QTextFrameFormat( 1 )->setWidth( *hbqt_par_QTextLength( 2 ) ); -} - -/* - * void setWidth ( qreal width ) - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_SETWIDTH_1 ) -{ - hbqt_par_QTextFrameFormat( 1 )->setWidth( hb_parnd( 2 ) ); -} - -/* - * qreal topMargin () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_TOPMARGIN ) -{ - hb_retnd( hbqt_par_QTextFrameFormat( 1 )->topMargin() ); -} - -/* - * QTextLength width () const - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT_WIDTH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextLength( hbqt_par_QTextFrameFormat( 1 )->width() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextImageFormat.cpp b/harbour/contrib/hbqt/QTextImageFormat.cpp deleted file mode 100644 index 8cb6750e7e..0000000000 --- a/harbour/contrib/hbqt/QTextImageFormat.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextImageFormat () - * - */ - -HB_FUNC( QT_QTEXTIMAGEFORMAT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextImageFormat* ) new QTextImageFormat() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextImageFormat" ); - hb_retptrGC( p ); -} -/* - * qreal height () const - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_HEIGHT ) -{ - hb_retnd( hbqt_par_QTextImageFormat( 1 )->height() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_ISVALID ) -{ - hb_retl( hbqt_par_QTextImageFormat( 1 )->isValid() ); -} - -/* - * QString name () const - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_NAME ) -{ - hb_retc( hbqt_par_QTextImageFormat( 1 )->name().toAscii().data() ); -} - -/* - * void setHeight ( qreal height ) - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_SETHEIGHT ) -{ - hbqt_par_QTextImageFormat( 1 )->setHeight( hb_parnd( 2 ) ); -} - -/* - * void setName ( const QString & name ) - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_SETNAME ) -{ - hbqt_par_QTextImageFormat( 1 )->setName( hbqt_par_QString( 2 ) ); -} - -/* - * void setWidth ( qreal width ) - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_SETWIDTH ) -{ - hbqt_par_QTextImageFormat( 1 )->setWidth( hb_parnd( 2 ) ); -} - -/* - * qreal width () const - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT_WIDTH ) -{ - hb_retnd( hbqt_par_QTextImageFormat( 1 )->width() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextInlineObject.cpp b/harbour/contrib/hbqt/QTextInlineObject.cpp deleted file mode 100644 index de5f8ffc41..0000000000 --- a/harbour/contrib/hbqt/QTextInlineObject.cpp +++ /dev/null @@ -1,194 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTextInlineObject ( int i, QTextEngine * e ) - * - */ - -HB_FUNC( QT_QTEXTINLINEOBJECT ) -{ - void * pObj = NULL; - - pObj = ( QTextInlineObject* ) new QTextInlineObject( hb_parni( 1 ), hbqt_par_QTextEngine( 2 ) ) ; - - hb_retptr( pObj ); -} -/* - * qreal ascent () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_ASCENT ) -{ - hb_retnd( hbqt_par_QTextInlineObject( 1 )->ascent() ); -} - -/* - * qreal descent () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_DESCENT ) -{ - hb_retnd( hbqt_par_QTextInlineObject( 1 )->descent() ); -} - -/* - * QTextFormat format () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_FORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextFormat( hbqt_par_QTextInlineObject( 1 )->format() ) ) ); -} - -/* - * int formatIndex () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_FORMATINDEX ) -{ - hb_retni( hbqt_par_QTextInlineObject( 1 )->formatIndex() ); -} - -/* - * qreal height () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_HEIGHT ) -{ - hb_retnd( hbqt_par_QTextInlineObject( 1 )->height() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_ISVALID ) -{ - hb_retl( hbqt_par_QTextInlineObject( 1 )->isValid() ); -} - -/* - * QRectF rect () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QTextInlineObject( 1 )->rect() ) ) ); -} - -/* - * void setAscent ( qreal a ) - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_SETASCENT ) -{ - hbqt_par_QTextInlineObject( 1 )->setAscent( hb_parnd( 2 ) ); -} - -/* - * void setDescent ( qreal d ) - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_SETDESCENT ) -{ - hbqt_par_QTextInlineObject( 1 )->setDescent( hb_parnd( 2 ) ); -} - -/* - * void setWidth ( qreal w ) - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_SETWIDTH ) -{ - hbqt_par_QTextInlineObject( 1 )->setWidth( hb_parnd( 2 ) ); -} - -/* - * Qt::LayoutDirection textDirection () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_TEXTDIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QTextInlineObject( 1 )->textDirection() ); -} - -/* - * int textPosition () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_TEXTPOSITION ) -{ - hb_retni( hbqt_par_QTextInlineObject( 1 )->textPosition() ); -} - -/* - * qreal width () const - */ -HB_FUNC( QT_QTEXTINLINEOBJECT_WIDTH ) -{ - hb_retnd( hbqt_par_QTextInlineObject( 1 )->width() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextItem.cpp b/harbour/contrib/hbqt/QTextItem.cpp deleted file mode 100644 index 48c6f431dc..0000000000 --- a/harbour/contrib/hbqt/QTextItem.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum RenderFlag { RightToLeft, Overline, Underline, StrikeOut } - * flags RenderFlags - */ - -#include - -#include - - -/* - * - * - */ - -HB_FUNC( QT_QTEXTITEM ) -{ - void * pObj = NULL; - - pObj = ( QTextItem* ) new QTextItem() ; - - hb_retptr( pObj ); -} -/* - * qreal ascent () const - */ -HB_FUNC( QT_QTEXTITEM_ASCENT ) -{ - hb_retnd( hbqt_par_QTextItem( 1 )->ascent() ); -} - -/* - * qreal descent () const - */ -HB_FUNC( QT_QTEXTITEM_DESCENT ) -{ - hb_retnd( hbqt_par_QTextItem( 1 )->descent() ); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QTEXTITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTextItem( 1 )->font() ) ) ); -} - -/* - * RenderFlags renderFlags () const - */ -HB_FUNC( QT_QTEXTITEM_RENDERFLAGS ) -{ - hb_retni( ( QTextItem::RenderFlags ) hbqt_par_QTextItem( 1 )->renderFlags() ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QTEXTITEM_TEXT ) -{ - hb_retc( hbqt_par_QTextItem( 1 )->text().toAscii().data() ); -} - -/* - * qreal width () const - */ -HB_FUNC( QT_QTEXTITEM_WIDTH ) -{ - hb_retnd( hbqt_par_QTextItem( 1 )->width() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextLayout.cpp b/harbour/contrib/hbqt/QTextLayout.cpp deleted file mode 100644 index 35a538633e..0000000000 --- a/harbour/contrib/hbqt/QTextLayout.cpp +++ /dev/null @@ -1,339 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CursorMode { SkipCharacters, SkipWords } - */ - -/* - * Constructed[ 29/32 [ 90.63% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList additionalFormats () const - * void draw ( QPainter * p, const QPointF & pos, const QVector & selections = QVector (), const QRectF & clip = QRectF() ) const - * void setAdditionalFormats ( const QList & formatList ) - */ - -#include - -#include - - -/* - * QTextLayout () - * QTextLayout ( const QString & text ) - * QTextLayout ( const QString & text, const QFont & font, QPaintDevice * paintdevice = 0 ) - * ~QTextLayout () - */ - -HB_FUNC( QT_QTEXTLAYOUT ) -{ - void * pObj = NULL; - - pObj = ( QTextLayout* ) new QTextLayout() ; - - hb_retptr( pObj ); -} -/* - * void beginLayout () - */ -HB_FUNC( QT_QTEXTLAYOUT_BEGINLAYOUT ) -{ - hbqt_par_QTextLayout( 1 )->beginLayout(); -} - -/* - * QRectF boundingRect () const - */ -HB_FUNC( QT_QTEXTLAYOUT_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QTextLayout( 1 )->boundingRect() ) ) ); -} - -/* - * bool cacheEnabled () const - */ -HB_FUNC( QT_QTEXTLAYOUT_CACHEENABLED ) -{ - hb_retl( hbqt_par_QTextLayout( 1 )->cacheEnabled() ); -} - -/* - * void clearAdditionalFormats () - */ -HB_FUNC( QT_QTEXTLAYOUT_CLEARADDITIONALFORMATS ) -{ - hbqt_par_QTextLayout( 1 )->clearAdditionalFormats(); -} - -/* - * void clearLayout () - */ -HB_FUNC( QT_QTEXTLAYOUT_CLEARLAYOUT ) -{ - hbqt_par_QTextLayout( 1 )->clearLayout(); -} - -/* - * QTextLine createLine () - */ -HB_FUNC( QT_QTEXTLAYOUT_CREATELINE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextLine( hbqt_par_QTextLayout( 1 )->createLine() ) ) ); -} - -/* - * void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition, int width ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_DRAWCURSOR ) -{ - hbqt_par_QTextLayout( 1 )->drawCursor( hbqt_par_QPainter( 2 ), *hbqt_par_QPointF( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_DRAWCURSOR_1 ) -{ - hbqt_par_QTextLayout( 1 )->drawCursor( hbqt_par_QPainter( 2 ), *hbqt_par_QPointF( 3 ), hb_parni( 4 ) ); -} - -/* - * void endLayout () - */ -HB_FUNC( QT_QTEXTLAYOUT_ENDLAYOUT ) -{ - hbqt_par_QTextLayout( 1 )->endLayout(); -} - -/* - * QFont font () const - */ -HB_FUNC( QT_QTEXTLAYOUT_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTextLayout( 1 )->font() ) ) ); -} - -/* - * bool isValidCursorPosition ( int pos ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_ISVALIDCURSORPOSITION ) -{ - hb_retl( hbqt_par_QTextLayout( 1 )->isValidCursorPosition( hb_parni( 2 ) ) ); -} - -/* - * QTextLine lineAt ( int i ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_LINEAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextLine( hbqt_par_QTextLayout( 1 )->lineAt( hb_parni( 2 ) ) ) ) ); -} - -/* - * int lineCount () const - */ -HB_FUNC( QT_QTEXTLAYOUT_LINECOUNT ) -{ - hb_retni( hbqt_par_QTextLayout( 1 )->lineCount() ); -} - -/* - * QTextLine lineForTextPosition ( int pos ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_LINEFORTEXTPOSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextLine( hbqt_par_QTextLayout( 1 )->lineForTextPosition( hb_parni( 2 ) ) ) ) ); -} - -/* - * qreal maximumWidth () const - */ -HB_FUNC( QT_QTEXTLAYOUT_MAXIMUMWIDTH ) -{ - hb_retnd( hbqt_par_QTextLayout( 1 )->maximumWidth() ); -} - -/* - * qreal minimumWidth () const - */ -HB_FUNC( QT_QTEXTLAYOUT_MINIMUMWIDTH ) -{ - hb_retnd( hbqt_par_QTextLayout( 1 )->minimumWidth() ); -} - -/* - * int nextCursorPosition ( int oldPos, CursorMode mode = SkipCharacters ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_NEXTCURSORPOSITION ) -{ - hb_retni( hbqt_par_QTextLayout( 1 )->nextCursorPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLayout::CursorMode ) hb_parni( 3 ) : ( QTextLayout::CursorMode ) QTextLayout::SkipCharacters ) ) ); -} - -/* - * QPointF position () const - */ -HB_FUNC( QT_QTEXTLAYOUT_POSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QTextLayout( 1 )->position() ) ) ); -} - -/* - * int preeditAreaPosition () const - */ -HB_FUNC( QT_QTEXTLAYOUT_PREEDITAREAPOSITION ) -{ - hb_retni( hbqt_par_QTextLayout( 1 )->preeditAreaPosition() ); -} - -/* - * QString preeditAreaText () const - */ -HB_FUNC( QT_QTEXTLAYOUT_PREEDITAREATEXT ) -{ - hb_retc( hbqt_par_QTextLayout( 1 )->preeditAreaText().toAscii().data() ); -} - -/* - * int previousCursorPosition ( int oldPos, CursorMode mode = SkipCharacters ) const - */ -HB_FUNC( QT_QTEXTLAYOUT_PREVIOUSCURSORPOSITION ) -{ - hb_retni( hbqt_par_QTextLayout( 1 )->previousCursorPosition( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLayout::CursorMode ) hb_parni( 3 ) : ( QTextLayout::CursorMode ) QTextLayout::SkipCharacters ) ) ); -} - -/* - * void setCacheEnabled ( bool enable ) - */ -HB_FUNC( QT_QTEXTLAYOUT_SETCACHEENABLED ) -{ - hbqt_par_QTextLayout( 1 )->setCacheEnabled( hb_parl( 2 ) ); -} - -/* - * void setFont ( const QFont & font ) - */ -HB_FUNC( QT_QTEXTLAYOUT_SETFONT ) -{ - hbqt_par_QTextLayout( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setPosition ( const QPointF & p ) - */ -HB_FUNC( QT_QTEXTLAYOUT_SETPOSITION ) -{ - hbqt_par_QTextLayout( 1 )->setPosition( *hbqt_par_QPointF( 2 ) ); -} - -/* - * void setPreeditArea ( int position, const QString & text ) - */ -HB_FUNC( QT_QTEXTLAYOUT_SETPREEDITAREA ) -{ - hbqt_par_QTextLayout( 1 )->setPreeditArea( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setText ( const QString & string ) - */ -HB_FUNC( QT_QTEXTLAYOUT_SETTEXT ) -{ - hbqt_par_QTextLayout( 1 )->setText( hbqt_par_QString( 2 ) ); -} - -/* - * void setTextOption ( const QTextOption & option ) - */ -HB_FUNC( QT_QTEXTLAYOUT_SETTEXTOPTION ) -{ - hbqt_par_QTextLayout( 1 )->setTextOption( *hbqt_par_QTextOption( 2 ) ); -} - -/* - * QString text () const - */ -HB_FUNC( QT_QTEXTLAYOUT_TEXT ) -{ - hb_retc( hbqt_par_QTextLayout( 1 )->text().toAscii().data() ); -} - -/* - * QTextOption textOption () const - */ -HB_FUNC( QT_QTEXTLAYOUT_TEXTOPTION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextOption( hbqt_par_QTextLayout( 1 )->textOption() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextLength.cpp b/harbour/contrib/hbqt/QTextLength.cpp deleted file mode 100644 index c5b7907bf9..0000000000 --- a/harbour/contrib/hbqt/QTextLength.cpp +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Type { VariableLength, FixedLength, PercentageLength } - */ - -#include - -#include - - -/* - * QTextLength () - * QTextLength ( Type type, qreal value ) - */ - -HB_FUNC( QT_QTEXTLENGTH ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextLength* ) new QTextLength() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextLength" ); - hb_retptrGC( p ); -} -/* - * qreal rawValue () const - */ -HB_FUNC( QT_QTEXTLENGTH_RAWVALUE ) -{ - hb_retnd( hbqt_par_QTextLength( 1 )->rawValue() ); -} - -/* - * Type type () const - */ -HB_FUNC( QT_QTEXTLENGTH_TYPE ) -{ - hb_retni( ( QTextLength::Type ) hbqt_par_QTextLength( 1 )->type() ); -} - -/* - * qreal value ( qreal maximumLength ) const - */ -HB_FUNC( QT_QTEXTLENGTH_VALUE ) -{ - hb_retnd( hbqt_par_QTextLength( 1 )->value( hb_parnd( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextLine.cpp b/harbour/contrib/hbqt/QTextLine.cpp deleted file mode 100644 index ff106f2e06..0000000000 --- a/harbour/contrib/hbqt/QTextLine.cpp +++ /dev/null @@ -1,269 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum CursorPosition { CursorBetweenCharacters, CursorOnCharacter } - * enum Edge { Leading, Trailing } - */ - -#include - -#include - - -/* - * QTextLine () - */ - -HB_FUNC( QT_QTEXTLINE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QTextLine* ) new QTextLine() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QTextLine" ); - hb_retptrGC( p ); -} -/* - * qreal ascent () const - */ -HB_FUNC( QT_QTEXTLINE_ASCENT ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->ascent() ); -} - -/* - * qreal cursorToX ( int * cursorPos, Edge edge = Leading ) const - */ -HB_FUNC( QT_QTEXTLINE_CURSORTOX ) -{ - int iCursorPos = 0; - - hb_retnd( hbqt_par_QTextLine( 1 )->cursorToX( &iCursorPos, ( HB_ISNUM( 3 ) ? ( QTextLine::Edge ) hb_parni( 3 ) : ( QTextLine::Edge ) QTextLine::Leading ) ) ); - - hb_storni( iCursorPos, 2 ); -} - -/* - * qreal cursorToX ( int cursorPos, Edge edge = Leading ) const - */ -HB_FUNC( QT_QTEXTLINE_CURSORTOX_1 ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->cursorToX( hb_parni( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLine::Edge ) hb_parni( 3 ) : ( QTextLine::Edge ) QTextLine::Leading ) ) ); -} - -/* - * qreal descent () const - */ -HB_FUNC( QT_QTEXTLINE_DESCENT ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->descent() ); -} - -/* - * qreal height () const - */ -HB_FUNC( QT_QTEXTLINE_HEIGHT ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->height() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QTEXTLINE_ISVALID ) -{ - hb_retl( hbqt_par_QTextLine( 1 )->isValid() ); -} - -/* - * int lineNumber () const - */ -HB_FUNC( QT_QTEXTLINE_LINENUMBER ) -{ - hb_retni( hbqt_par_QTextLine( 1 )->lineNumber() ); -} - -/* - * QRectF naturalTextRect () const - */ -HB_FUNC( QT_QTEXTLINE_NATURALTEXTRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QTextLine( 1 )->naturalTextRect() ) ) ); -} - -/* - * qreal naturalTextWidth () const - */ -HB_FUNC( QT_QTEXTLINE_NATURALTEXTWIDTH ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->naturalTextWidth() ); -} - -/* - * QPointF position () const - */ -HB_FUNC( QT_QTEXTLINE_POSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QTextLine( 1 )->position() ) ) ); -} - -/* - * QRectF rect () const - */ -HB_FUNC( QT_QTEXTLINE_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QTextLine( 1 )->rect() ) ) ); -} - -/* - * void setLineWidth ( qreal width ) - */ -HB_FUNC( QT_QTEXTLINE_SETLINEWIDTH ) -{ - hbqt_par_QTextLine( 1 )->setLineWidth( hb_parnd( 2 ) ); -} - -/* - * void setNumColumns ( int numColumns ) - */ -HB_FUNC( QT_QTEXTLINE_SETNUMCOLUMNS ) -{ - hbqt_par_QTextLine( 1 )->setNumColumns( hb_parni( 2 ) ); -} - -/* - * void setNumColumns ( int numColumns, qreal alignmentWidth ) - */ -HB_FUNC( QT_QTEXTLINE_SETNUMCOLUMNS_1 ) -{ - hbqt_par_QTextLine( 1 )->setNumColumns( hb_parni( 2 ), hb_parnd( 3 ) ); -} - -/* - * void setPosition ( const QPointF & pos ) - */ -HB_FUNC( QT_QTEXTLINE_SETPOSITION ) -{ - hbqt_par_QTextLine( 1 )->setPosition( *hbqt_par_QPointF( 2 ) ); -} - -/* - * int textLength () const - */ -HB_FUNC( QT_QTEXTLINE_TEXTLENGTH ) -{ - hb_retni( hbqt_par_QTextLine( 1 )->textLength() ); -} - -/* - * int textStart () const - */ -HB_FUNC( QT_QTEXTLINE_TEXTSTART ) -{ - hb_retni( hbqt_par_QTextLine( 1 )->textStart() ); -} - -/* - * qreal width () const - */ -HB_FUNC( QT_QTEXTLINE_WIDTH ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->width() ); -} - -/* - * qreal x () const - */ -HB_FUNC( QT_QTEXTLINE_X ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->x() ); -} - -/* - * int xToCursor ( qreal x, CursorPosition cpos = CursorBetweenCharacters ) const - */ -HB_FUNC( QT_QTEXTLINE_XTOCURSOR ) -{ - hb_retni( hbqt_par_QTextLine( 1 )->xToCursor( hb_parnd( 2 ), ( HB_ISNUM( 3 ) ? ( QTextLine::CursorPosition ) hb_parni( 3 ) : ( QTextLine::CursorPosition ) QTextLine::CursorBetweenCharacters ) ) ); -} - -/* - * qreal y () const - */ -HB_FUNC( QT_QTEXTLINE_Y ) -{ - hb_retnd( hbqt_par_QTextLine( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextObject.cpp b/harbour/contrib/hbqt/QTextObject.cpp deleted file mode 100644 index 51bade4e20..0000000000 --- a/harbour/contrib/hbqt/QTextObject.cpp +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * - */ - -HB_FUNC( QT_QTEXTOBJECT ) -{ -} -/* - * QTextDocument * document () const - */ -HB_FUNC( QT_QTEXTOBJECT_DOCUMENT ) -{ - hb_retptr( ( QTextDocument* ) hbqt_par_QTextObject( 1 )->document() ); -} - -/* - * QTextFormat format () const - */ -HB_FUNC( QT_QTEXTOBJECT_FORMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTextFormat( hbqt_par_QTextObject( 1 )->format() ) ) ); -} - -/* - * int formatIndex () const - */ -HB_FUNC( QT_QTEXTOBJECT_FORMATINDEX ) -{ - hb_retni( hbqt_par_QTextObject( 1 )->formatIndex() ); -} - -/* - * int objectIndex () const - */ -HB_FUNC( QT_QTEXTOBJECT_OBJECTINDEX ) -{ - hb_retni( hbqt_par_QTextObject( 1 )->objectIndex() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTextStream.cpp b/harbour/contrib/hbqt/QTextStream.cpp deleted file mode 100644 index ef086ca287..0000000000 --- a/harbour/contrib/hbqt/QTextStream.cpp +++ /dev/null @@ -1,398 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * flags NumberFlags - * enum FieldAlignment { AlignLeft, AlignRight, AlignCenter, AlignAccountingStyle } - * enum NumberFlag { ShowBase, ForcePoint, ForceSign, UppercaseBase, UppercaseDigits } - * enum RealNumberNotation { ScientificNotation, FixedNotation, SmartNotation } - * enum Status { Ok, ReadPastEnd, ReadCorruptData } - */ - -#include - -#include - - -/* - * QTextStream () - * QTextStream ( QIODevice * device ) - * QTextStream ( FILE * fileHandle, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * QTextStream ( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * QTextStream ( QByteArray * array, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - * QTextStream ( const QByteArray & array, QIODevice::OpenMode openMode = QIODevice::ReadOnly ) - * virtual ~QTextStream () - */ -/* - * QChar padChar () const - */ -HB_FUNC( QT_QTEXTSTREAM_PADCHAR ) -{ - -} - -HB_FUNC( QT_QTEXTSTREAM ) -{ - void * pObj = NULL; - - pObj = new QTextStream( hb_parcx( 1 ), ( QIODevice::OpenMode ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : QIODevice::ReadWrite ) ) ; - - hb_retptr( pObj ); -} -/* - * bool atEnd () const - */ -HB_FUNC( QT_QTEXTSTREAM_ATEND ) -{ - hb_retl( hbqt_par_QTextStream( 1 )->atEnd() ); -} - -/* - * bool autoDetectUnicode () const - */ -HB_FUNC( QT_QTEXTSTREAM_AUTODETECTUNICODE ) -{ - hb_retl( hbqt_par_QTextStream( 1 )->autoDetectUnicode() ); -} - -/* - * QTextCodec * codec () const - */ -HB_FUNC( QT_QTEXTSTREAM_CODEC ) -{ - hb_retptr( ( QTextCodec* ) hbqt_par_QTextStream( 1 )->codec() ); -} - -/* - * QIODevice * device () const - */ -HB_FUNC( QT_QTEXTSTREAM_DEVICE ) -{ - hb_retptr( ( QIODevice* ) hbqt_par_QTextStream( 1 )->device() ); -} - -/* - * FieldAlignment fieldAlignment () const - */ -HB_FUNC( QT_QTEXTSTREAM_FIELDALIGNMENT ) -{ - hb_retni( ( QTextStream::FieldAlignment ) hbqt_par_QTextStream( 1 )->fieldAlignment() ); -} - -/* - * int fieldWidth () const - */ -HB_FUNC( QT_QTEXTSTREAM_FIELDWIDTH ) -{ - hb_retni( hbqt_par_QTextStream( 1 )->fieldWidth() ); -} - -/* - * void flush () - */ -HB_FUNC( QT_QTEXTSTREAM_FLUSH ) -{ - hbqt_par_QTextStream( 1 )->flush(); -} - -/* - * bool generateByteOrderMark () const - */ -HB_FUNC( QT_QTEXTSTREAM_GENERATEBYTEORDERMARK ) -{ - hb_retl( hbqt_par_QTextStream( 1 )->generateByteOrderMark() ); -} - -/* - * int integerBase () const - */ -HB_FUNC( QT_QTEXTSTREAM_INTEGERBASE ) -{ - hb_retni( hbqt_par_QTextStream( 1 )->integerBase() ); -} - -/* - * QLocale locale () const - */ -HB_FUNC( QT_QTEXTSTREAM_LOCALE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLocale( hbqt_par_QTextStream( 1 )->locale() ) ) ); -} - -/* - * NumberFlags numberFlags () const - */ -HB_FUNC( QT_QTEXTSTREAM_NUMBERFLAGS ) -{ - hb_retni( ( QTextStream::NumberFlags ) hbqt_par_QTextStream( 1 )->numberFlags() ); -} - -/* - * qint64 pos () const - */ -HB_FUNC( QT_QTEXTSTREAM_POS ) -{ - hb_retnint( hbqt_par_QTextStream( 1 )->pos() ); -} - -/* - * QString read ( qint64 maxlen ) - */ -HB_FUNC( QT_QTEXTSTREAM_READ ) -{ - hb_retc( hbqt_par_QTextStream( 1 )->read( hb_parnint( 2 ) ).toAscii().data() ); -} - -/* - * QString readAll () - */ -HB_FUNC( QT_QTEXTSTREAM_READALL ) -{ - hb_retc( hbqt_par_QTextStream( 1 )->readAll().toAscii().data() ); -} - -/* - * QString readLine ( qint64 maxlen = 0 ) - */ -HB_FUNC( QT_QTEXTSTREAM_READLINE ) -{ - hb_retc( hbqt_par_QTextStream( 1 )->readLine( hb_parnint( 2 ) ).toAscii().data() ); -} - -/* - * RealNumberNotation realNumberNotation () const - */ -HB_FUNC( QT_QTEXTSTREAM_REALNUMBERNOTATION ) -{ - hb_retni( ( QTextStream::RealNumberNotation ) hbqt_par_QTextStream( 1 )->realNumberNotation() ); -} - -/* - * int realNumberPrecision () const - */ -HB_FUNC( QT_QTEXTSTREAM_REALNUMBERPRECISION ) -{ - hb_retni( hbqt_par_QTextStream( 1 )->realNumberPrecision() ); -} - -/* - * void reset () - */ -HB_FUNC( QT_QTEXTSTREAM_RESET ) -{ - hbqt_par_QTextStream( 1 )->reset(); -} - -/* - * void resetStatus () - */ -HB_FUNC( QT_QTEXTSTREAM_RESETSTATUS ) -{ - hbqt_par_QTextStream( 1 )->resetStatus(); -} - -/* - * bool seek ( qint64 pos ) - */ -HB_FUNC( QT_QTEXTSTREAM_SEEK ) -{ - hb_retl( hbqt_par_QTextStream( 1 )->seek( hb_parnint( 2 ) ) ); -} - -/* - * void setAutoDetectUnicode ( bool enabled ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETAUTODETECTUNICODE ) -{ - hbqt_par_QTextStream( 1 )->setAutoDetectUnicode( hb_parl( 2 ) ); -} - -/* - * void setCodec ( QTextCodec * codec ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETCODEC ) -{ - hbqt_par_QTextStream( 1 )->setCodec( hbqt_par_QTextCodec( 2 ) ); -} - -/* - * void setCodec ( const char * codecName ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETCODEC_1 ) -{ - hbqt_par_QTextStream( 1 )->setCodec( hbqt_par_char( 2 ) ); -} - -/* - * void setDevice ( QIODevice * device ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETDEVICE ) -{ - hbqt_par_QTextStream( 1 )->setDevice( hbqt_par_QIODevice( 2 ) ); -} - -/* - * void setFieldAlignment ( FieldAlignment mode ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETFIELDALIGNMENT ) -{ - hbqt_par_QTextStream( 1 )->setFieldAlignment( ( QTextStream::FieldAlignment ) hb_parni( 2 ) ); -} - -/* - * void setFieldWidth ( int width ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETFIELDWIDTH ) -{ - hbqt_par_QTextStream( 1 )->setFieldWidth( hb_parni( 2 ) ); -} - -/* - * void setGenerateByteOrderMark ( bool generate ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETGENERATEBYTEORDERMARK ) -{ - hbqt_par_QTextStream( 1 )->setGenerateByteOrderMark( hb_parl( 2 ) ); -} - -/* - * void setIntegerBase ( int base ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETINTEGERBASE ) -{ - hbqt_par_QTextStream( 1 )->setIntegerBase( hb_parni( 2 ) ); -} - -/* - * void setLocale ( const QLocale & locale ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETLOCALE ) -{ - hbqt_par_QTextStream( 1 )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - -/* - * void setNumberFlags ( NumberFlags flags ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETNUMBERFLAGS ) -{ - hbqt_par_QTextStream( 1 )->setNumberFlags( ( QTextStream::NumberFlags ) hb_parni( 2 ) ); -} - -/* - * void setPadChar ( QChar ch ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETPADCHAR ) -{ - hbqt_par_QTextStream( 1 )->setPadChar( hb_parni( 2 ) ); -} - -/* - * void setRealNumberNotation ( RealNumberNotation notation ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETREALNUMBERNOTATION ) -{ - hbqt_par_QTextStream( 1 )->setRealNumberNotation( ( QTextStream::RealNumberNotation ) hb_parni( 2 ) ); -} - -/* - * void setRealNumberPrecision ( int precision ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETREALNUMBERPRECISION ) -{ - hbqt_par_QTextStream( 1 )->setRealNumberPrecision( hb_parni( 2 ) ); -} - -/* - * void setStatus ( Status status ) - */ -HB_FUNC( QT_QTEXTSTREAM_SETSTATUS ) -{ - hbqt_par_QTextStream( 1 )->setStatus( ( QTextStream::Status ) hb_parni( 2 ) ); -} - -/* - * void skipWhiteSpace () - */ -HB_FUNC( QT_QTEXTSTREAM_SKIPWHITESPACE ) -{ - hbqt_par_QTextStream( 1 )->skipWhiteSpace(); -} - -/* - * Status status () const - */ -HB_FUNC( QT_QTEXTSTREAM_STATUS ) -{ - hb_retni( ( QTextStream::Status ) hbqt_par_QTextStream( 1 )->status() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTimeEdit.cpp b/harbour/contrib/hbqt/QTimeEdit.cpp deleted file mode 100644 index a0aa196b0c..0000000000 --- a/harbour/contrib/hbqt/QTimeEdit.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTimeEdit ( QWidget * parent = 0 ) - * QTimeEdit ( const QTime & time, QWidget * parent = 0 ) - */ - -HB_FUNC( QT_QTIMEEDIT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTimeEdit > pObj = NULL; - - pObj = ( QTimeEdit* ) new QTimeEdit( hbqt_par_QWidget( 1 ) ) ; - #if 0 - pObj = (QTimeEdit *) new QTimeEdit( QTime( hbqt_par_QString( 1 ) ), hbqt_par_QWidget( 2 ) ) ; - #endif - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTimer.cpp b/harbour/contrib/hbqt/QTimer.cpp deleted file mode 100644 index 25b133db15..0000000000 --- a/harbour/contrib/hbqt/QTimer.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QTimer ( QObject * parent = 0 ) - * ~QTimer () - */ - -HB_FUNC( QT_QTIMER ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTimer > pObj = NULL; - - pObj = new QTimer( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int interval () const - */ -HB_FUNC( QT_QTIMER_INTERVAL ) -{ - hb_retni( hbqt_par_QTimer( 1 )->interval() ); -} - -/* - * bool isActive () const - */ -HB_FUNC( QT_QTIMER_ISACTIVE ) -{ - hb_retl( hbqt_par_QTimer( 1 )->isActive() ); -} - -/* - * bool isSingleShot () const - */ -HB_FUNC( QT_QTIMER_ISSINGLESHOT ) -{ - hb_retl( hbqt_par_QTimer( 1 )->isSingleShot() ); -} - -/* - * void setInterval ( int msec ) - */ -HB_FUNC( QT_QTIMER_SETINTERVAL ) -{ - hbqt_par_QTimer( 1 )->setInterval( hb_parni( 2 ) ); -} - -/* - * void setSingleShot ( bool singleShot ) - */ -HB_FUNC( QT_QTIMER_SETSINGLESHOT ) -{ - hbqt_par_QTimer( 1 )->setSingleShot( hb_parl( 2 ) ); -} - -/* - * int timerId () const - */ -HB_FUNC( QT_QTIMER_TIMERID ) -{ - hb_retni( hbqt_par_QTimer( 1 )->timerId() ); -} - -/* - * void singleShot ( int msec, QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QTIMER_SINGLESHOT ) -{ - hbqt_par_QTimer( 1 )->singleShot( hb_parni( 2 ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ) ); -} - -/* - * void start () - */ -HB_FUNC( QT_QTIMER_START ) -{ - hbqt_par_QTimer( 1 )->start(); -} - -/* - * void stop () - */ -HB_FUNC( QT_QTIMER_STOP ) -{ - hbqt_par_QTimer( 1 )->stop(); -} - -/* - * void start ( int msec ) - */ -HB_FUNC( QT_QTIMER_START_1 ) -{ - hbqt_par_QTimer( 1 )->start( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QToolBar.cpp b/harbour/contrib/hbqt/QToolBar.cpp deleted file mode 100644 index 0b32f7d1b4..0000000000 --- a/harbour/contrib/hbqt/QToolBar.cpp +++ /dev/null @@ -1,321 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include -#include - - -/* QToolBar ( const QString & title, QWidget * parent = 0 ) - * QToolBar ( QWidget * parent = 0 ) - * ~QToolBar () - */ - -HB_FUNC( QT_QTOOLBAR ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QToolBar > pObj = NULL; - - if( hb_param( 1, HB_IT_STRING ) ) - pObj = ( QToolBar* ) new QToolBar( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ; - else - pObj = ( QToolBar* ) new QToolBar( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QAction * actionAt ( const QPoint & p ) const - */ -HB_FUNC( QT_QTOOLBAR_ACTIONAT ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->actionAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QAction * actionAt ( int x, int y ) const - */ -HB_FUNC( QT_QTOOLBAR_ACTIONAT_1 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->actionAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * void addAction ( QAction * action ) - */ -HB_FUNC( QT_QTOOLBAR_ADDACTION ) -{ - hbqt_par_QToolBar( 1 )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* - * QAction * addAction ( const QString & text ) - */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_1 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->addAction( hbqt_par_QString( 2 ) ) ); -} - -/* - * QAction * addAction ( const QIcon & icon, const QString & text ) - */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_2 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->addAction( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ) ) ); -} - -/* - * QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_3 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->addAction( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ), hbqt_par_char( 4 ) ) ); -} - -/* - * QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member ) - */ -HB_FUNC( QT_QTOOLBAR_ADDACTION_4 ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->addAction( QIcon( hbqt_par_QString( 2 ) ), hbqt_par_QString( 3 ), hbqt_par_QObject( 4 ), hbqt_par_char( 5 ) ) ); -} - -/* - * QAction * addSeparator () - */ -HB_FUNC( QT_QTOOLBAR_ADDSEPARATOR ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->addSeparator() ); -} - -/* - * QAction * addWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QTOOLBAR_ADDWIDGET ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->addWidget( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * Qt::ToolBarAreas allowedAreas () const - */ -HB_FUNC( QT_QTOOLBAR_ALLOWEDAREAS ) -{ - hb_retni( ( Qt::ToolBarAreas ) hbqt_par_QToolBar( 1 )->allowedAreas() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QTOOLBAR_CLEAR ) -{ - hbqt_par_QToolBar( 1 )->clear(); -} - -/* - * QSize iconSize () const - */ -HB_FUNC( QT_QTOOLBAR_ICONSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QToolBar( 1 )->iconSize() ) ) ); -} - -/* - * QAction * insertSeparator ( QAction * before ) - */ -HB_FUNC( QT_QTOOLBAR_INSERTSEPARATOR ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->insertSeparator( hbqt_par_QAction( 2 ) ) ); -} - -/* - * QAction * insertWidget ( QAction * before, QWidget * widget ) - */ -HB_FUNC( QT_QTOOLBAR_INSERTWIDGET ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->insertWidget( hbqt_par_QAction( 2 ), hbqt_par_QWidget( 3 ) ) ); -} - -/* - * bool isAreaAllowed ( Qt::ToolBarArea area ) const - */ -HB_FUNC( QT_QTOOLBAR_ISAREAALLOWED ) -{ - hb_retl( hbqt_par_QToolBar( 1 )->isAreaAllowed( ( Qt::ToolBarArea ) hb_parni( 2 ) ) ); -} - -/* - * bool isFloatable () const - */ -HB_FUNC( QT_QTOOLBAR_ISFLOATABLE ) -{ - hb_retl( hbqt_par_QToolBar( 1 )->isFloatable() ); -} - -/* - * bool isFloating () const - */ -HB_FUNC( QT_QTOOLBAR_ISFLOATING ) -{ - hb_retl( hbqt_par_QToolBar( 1 )->isFloating() ); -} - -/* - * bool isMovable () const - */ -HB_FUNC( QT_QTOOLBAR_ISMOVABLE ) -{ - hb_retl( hbqt_par_QToolBar( 1 )->isMovable() ); -} - -/* - * Qt::Orientation orientation () const - */ -HB_FUNC( QT_QTOOLBAR_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QToolBar( 1 )->orientation() ); -} - -/* - * void setAllowedAreas ( Qt::ToolBarAreas areas ) - */ -HB_FUNC( QT_QTOOLBAR_SETALLOWEDAREAS ) -{ - hbqt_par_QToolBar( 1 )->setAllowedAreas( ( Qt::ToolBarAreas ) hb_parni( 2 ) ); -} - -/* - * void setFloatable ( bool floatable ) - */ -HB_FUNC( QT_QTOOLBAR_SETFLOATABLE ) -{ - hbqt_par_QToolBar( 1 )->setFloatable( hb_parl( 2 ) ); -} - -/* - * void setMovable ( bool movable ) - */ -HB_FUNC( QT_QTOOLBAR_SETMOVABLE ) -{ - hbqt_par_QToolBar( 1 )->setMovable( hb_parl( 2 ) ); -} - -/* - * void setOrientation ( Qt::Orientation orientation ) - */ -HB_FUNC( QT_QTOOLBAR_SETORIENTATION ) -{ - hbqt_par_QToolBar( 1 )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); -} - -/* - * QAction * toggleViewAction () const - */ -HB_FUNC( QT_QTOOLBAR_TOGGLEVIEWACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolBar( 1 )->toggleViewAction() ); -} - -/* - * Qt::ToolButtonStyle toolButtonStyle () const - */ -HB_FUNC( QT_QTOOLBAR_TOOLBUTTONSTYLE ) -{ - hb_retni( ( Qt::ToolButtonStyle ) hbqt_par_QToolBar( 1 )->toolButtonStyle() ); -} - -/* - * QWidget * widgetForAction ( QAction * action ) const - */ -HB_FUNC( QT_QTOOLBAR_WIDGETFORACTION ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QToolBar( 1 )->widgetForAction( hbqt_par_QAction( 2 ) ) ); -} - -/* - * void setIconSize ( const QSize & iconSize ) - */ -HB_FUNC( QT_QTOOLBAR_SETICONSIZE ) -{ - hbqt_par_QToolBar( 1 )->setIconSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle ) - */ -HB_FUNC( QT_QTOOLBAR_SETTOOLBUTTONSTYLE ) -{ - hbqt_par_QToolBar( 1 )->setToolButtonStyle( ( Qt::ToolButtonStyle ) hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QToolBox.cpp b/harbour/contrib/hbqt/QToolBox.cpp deleted file mode 100644 index c374ba2ee1..0000000000 --- a/harbour/contrib/hbqt/QToolBox.cpp +++ /dev/null @@ -1,253 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QToolBox ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QToolBox () - */ - -HB_FUNC( QT_QTOOLBOX ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QToolBox > pObj = NULL; - - pObj = ( QToolBox* ) new QToolBox( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int addItem ( QWidget * widget, const QIcon & iconSet, const QString & text ) - */ -HB_FUNC( QT_QTOOLBOX_ADDITEM ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->addItem( hbqt_par_QWidget( 2 ), QIcon( hbqt_par_QString( 3 ) ), hbqt_par_QString( 4 ) ) ); -} - -/* - * int addItem ( QWidget * w, const QString & text ) - */ -HB_FUNC( QT_QTOOLBOX_ADDITEM_1 ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->addItem( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ) ) ); -} - -/* - * int count () const - */ -HB_FUNC( QT_QTOOLBOX_COUNT ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->count() ); -} - -/* - * int currentIndex () const - */ -HB_FUNC( QT_QTOOLBOX_CURRENTINDEX ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->currentIndex() ); -} - -/* - * QWidget * currentWidget () const - */ -HB_FUNC( QT_QTOOLBOX_CURRENTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QToolBox( 1 )->currentWidget() ); -} - -/* - * int indexOf ( QWidget * widget ) const - */ -HB_FUNC( QT_QTOOLBOX_INDEXOF ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->indexOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * int insertItem ( int index, QWidget * widget, const QIcon & icon, const QString & text ) - */ -HB_FUNC( QT_QTOOLBOX_INSERTITEM ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->insertItem( hb_parni( 2 ), hbqt_par_QWidget( 3 ), QIcon( hbqt_par_QString( 4 ) ), hbqt_par_QString( 5 ) ) ); -} - -/* - * int insertItem ( int index, QWidget * widget, const QString & text ) - */ -HB_FUNC( QT_QTOOLBOX_INSERTITEM_1 ) -{ - hb_retni( hbqt_par_QToolBox( 1 )->insertItem( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hbqt_par_QString( 4 ) ) ); -} - -/* - * bool isItemEnabled ( int index ) const - */ -HB_FUNC( QT_QTOOLBOX_ISITEMENABLED ) -{ - hb_retl( hbqt_par_QToolBox( 1 )->isItemEnabled( hb_parni( 2 ) ) ); -} - -/* - * QIcon itemIcon ( int index ) const - */ -HB_FUNC( QT_QTOOLBOX_ITEMICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QToolBox( 1 )->itemIcon( hb_parni( 2 ) ) ) ) ); -} - -/* - * QString itemText ( int index ) const - */ -HB_FUNC( QT_QTOOLBOX_ITEMTEXT ) -{ - hb_retc( hbqt_par_QToolBox( 1 )->itemText( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QString itemToolTip ( int index ) const - */ -HB_FUNC( QT_QTOOLBOX_ITEMTOOLTIP ) -{ - hb_retc( hbqt_par_QToolBox( 1 )->itemToolTip( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * void removeItem ( int index ) - */ -HB_FUNC( QT_QTOOLBOX_REMOVEITEM ) -{ - hbqt_par_QToolBox( 1 )->removeItem( hb_parni( 2 ) ); -} - -/* - * void setItemEnabled ( int index, bool enabled ) - */ -HB_FUNC( QT_QTOOLBOX_SETITEMENABLED ) -{ - hbqt_par_QToolBox( 1 )->setItemEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setItemIcon ( int index, const QIcon & icon ) - */ -HB_FUNC( QT_QTOOLBOX_SETITEMICON ) -{ - hbqt_par_QToolBox( 1 )->setItemIcon( hb_parni( 2 ), QIcon( hbqt_par_QString( 3 ) ) ); -} - -/* - * void setItemText ( int index, const QString & text ) - */ -HB_FUNC( QT_QTOOLBOX_SETITEMTEXT ) -{ - hbqt_par_QToolBox( 1 )->setItemText( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setItemToolTip ( int index, const QString & toolTip ) - */ -HB_FUNC( QT_QTOOLBOX_SETITEMTOOLTIP ) -{ - hbqt_par_QToolBox( 1 )->setItemToolTip( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QWidget * widget ( int index ) const - */ -HB_FUNC( QT_QTOOLBOX_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QToolBox( 1 )->widget( hb_parni( 2 ) ) ); -} - -/* - * void setCurrentIndex ( int index ) - */ -HB_FUNC( QT_QTOOLBOX_SETCURRENTINDEX ) -{ - hbqt_par_QToolBox( 1 )->setCurrentIndex( hb_parni( 2 ) ); -} - -/* - * void setCurrentWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QTOOLBOX_SETCURRENTWIDGET ) -{ - hbqt_par_QToolBox( 1 )->setCurrentWidget( hbqt_par_QWidget( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QToolButton.cpp b/harbour/contrib/hbqt/QToolButton.cpp deleted file mode 100644 index c0e6e55cf2..0000000000 --- a/harbour/contrib/hbqt/QToolButton.cpp +++ /dev/null @@ -1,201 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ToolButtonPopupMode { DelayedPopup, MenuButtonPopup, InstantPopup } - */ - -#include - -#include - - -/* - * QToolButton ( QWidget * parent = 0 ) - * ~QToolButton () - */ - -HB_FUNC( QT_QTOOLBUTTON ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QToolButton > pObj = NULL; - - pObj = ( QToolButton* ) new QToolButton( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * Qt::ArrowType arrowType () const - */ -HB_FUNC( QT_QTOOLBUTTON_ARROWTYPE ) -{ - hb_retni( ( Qt::ArrowType ) hbqt_par_QToolButton( 1 )->arrowType() ); -} - -/* - * bool autoRaise () const - */ -HB_FUNC( QT_QTOOLBUTTON_AUTORAISE ) -{ - hb_retl( hbqt_par_QToolButton( 1 )->autoRaise() ); -} - -/* - * QAction * defaultAction () const - */ -HB_FUNC( QT_QTOOLBUTTON_DEFAULTACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QToolButton( 1 )->defaultAction() ); -} - -/* - * QMenu * menu () const - */ -HB_FUNC( QT_QTOOLBUTTON_MENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QToolButton( 1 )->menu() ); -} - -/* - * ToolButtonPopupMode popupMode () const - */ -HB_FUNC( QT_QTOOLBUTTON_POPUPMODE ) -{ - hb_retni( ( QToolButton::ToolButtonPopupMode ) hbqt_par_QToolButton( 1 )->popupMode() ); -} - -/* - * void setArrowType ( Qt::ArrowType type ) - */ -HB_FUNC( QT_QTOOLBUTTON_SETARROWTYPE ) -{ - hbqt_par_QToolButton( 1 )->setArrowType( ( Qt::ArrowType ) hb_parni( 2 ) ); -} - -/* - * void setAutoRaise ( bool enable ) - */ -HB_FUNC( QT_QTOOLBUTTON_SETAUTORAISE ) -{ - hbqt_par_QToolButton( 1 )->setAutoRaise( hb_parl( 2 ) ); -} - -/* - * void setMenu ( QMenu * menu ) - */ -HB_FUNC( QT_QTOOLBUTTON_SETMENU ) -{ - hbqt_par_QToolButton( 1 )->setMenu( hbqt_par_QMenu( 2 ) ); -} - -/* - * void setPopupMode ( ToolButtonPopupMode mode ) - */ -HB_FUNC( QT_QTOOLBUTTON_SETPOPUPMODE ) -{ - hbqt_par_QToolButton( 1 )->setPopupMode( ( QToolButton::ToolButtonPopupMode ) hb_parni( 2 ) ); -} - -/* - * Qt::ToolButtonStyle toolButtonStyle () const - */ -HB_FUNC( QT_QTOOLBUTTON_TOOLBUTTONSTYLE ) -{ - hb_retni( ( Qt::ToolButtonStyle ) hbqt_par_QToolButton( 1 )->toolButtonStyle() ); -} - -/* - * void setDefaultAction ( QAction * action ) - */ -HB_FUNC( QT_QTOOLBUTTON_SETDEFAULTACTION ) -{ - hbqt_par_QToolButton( 1 )->setDefaultAction( hbqt_par_QAction( 2 ) ); -} - -/* - * void setToolButtonStyle ( Qt::ToolButtonStyle style ) - */ -HB_FUNC( QT_QTOOLBUTTON_SETTOOLBUTTONSTYLE ) -{ - hbqt_par_QToolButton( 1 )->setToolButtonStyle( ( Qt::ToolButtonStyle ) hb_parni( 2 ) ); -} - -/* - * void showMenu () - */ -HB_FUNC( QT_QTOOLBUTTON_SHOWMENU ) -{ - hbqt_par_QToolButton( 1 )->showMenu(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTreeView.cpp b/harbour/contrib/hbqt/QTreeView.cpp deleted file mode 100644 index 4894315cee..0000000000 --- a/harbour/contrib/hbqt/QTreeView.cpp +++ /dev/null @@ -1,497 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * # These enums are defined in QAbstractItemView class - * # - * enum DragDropMode { NoDragDrop, DragOnly, DropOnly, DragDrop, InternalMove } - * enum EditTrigger { NoEditTriggers, CurrentChanged, DoubleClicked, SelectedClicked, ..., AllEditTriggers } - * enum ScrollHint { EnsureVisible, PositionAtTop, PositionAtBottom, PositionAtCenter } - * enum ScrollMode { ScrollPerItem, ScrollPerPixel } - * enum SelectionBehavior { SelectItems, SelectRows, SelectColumns } - * enum SelectionMode { SingleSelection, ContiguousSelection, ExtendedSelection, MultiSelection, NoSelection } - * flags EditTriggers - */ - -#include - -#include - - -/* - * QTreeView ( QWidget * parent = 0 ) - * ~QTreeView () - */ - -HB_FUNC( QT_QTREEVIEW ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTreeView > pObj = NULL; - - pObj = ( QTreeView* ) new QTreeView( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool allColumnsShowFocus () const - */ -HB_FUNC( QT_QTREEVIEW_ALLCOLUMNSSHOWFOCUS ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->allColumnsShowFocus() ); -} - -/* - * int autoExpandDelay () const - */ -HB_FUNC( QT_QTREEVIEW_AUTOEXPANDDELAY ) -{ - hb_retni( hbqt_par_QTreeView( 1 )->autoExpandDelay() ); -} - -/* - * int columnAt ( int x ) const - */ -HB_FUNC( QT_QTREEVIEW_COLUMNAT ) -{ - hb_retni( hbqt_par_QTreeView( 1 )->columnAt( hb_parni( 2 ) ) ); -} - -/* - * int columnViewportPosition ( int column ) const - */ -HB_FUNC( QT_QTREEVIEW_COLUMNVIEWPORTPOSITION ) -{ - hb_retni( hbqt_par_QTreeView( 1 )->columnViewportPosition( hb_parni( 2 ) ) ); -} - -/* - * int columnWidth ( int column ) const - */ -HB_FUNC( QT_QTREEVIEW_COLUMNWIDTH ) -{ - hb_retni( hbqt_par_QTreeView( 1 )->columnWidth( hb_parni( 2 ) ) ); -} - -/* - * bool expandsOnDoubleClick () const - */ -HB_FUNC( QT_QTREEVIEW_EXPANDSONDOUBLECLICK ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->expandsOnDoubleClick() ); -} - -/* - * QHeaderView * header () const - */ -HB_FUNC( QT_QTREEVIEW_HEADER ) -{ - hb_retptr( ( QHeaderView* ) hbqt_par_QTreeView( 1 )->header() ); -} - -/* - * int indentation () const - */ -HB_FUNC( QT_QTREEVIEW_INDENTATION ) -{ - hb_retni( hbqt_par_QTreeView( 1 )->indentation() ); -} - -/* - * QModelIndex indexAbove ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QTREEVIEW_INDEXABOVE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QTreeView( 1 )->indexAbove( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * QModelIndex indexBelow ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QTREEVIEW_INDEXBELOW ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QModelIndex( hbqt_par_QTreeView( 1 )->indexBelow( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * bool isAnimated () const - */ -HB_FUNC( QT_QTREEVIEW_ISANIMATED ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isAnimated() ); -} - -/* - * bool isColumnHidden ( int column ) const - */ -HB_FUNC( QT_QTREEVIEW_ISCOLUMNHIDDEN ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isColumnHidden( hb_parni( 2 ) ) ); -} - -/* - * bool isExpanded ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QTREEVIEW_ISEXPANDED ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isExpanded( *hbqt_par_QModelIndex( 2 ) ) ); -} - -/* - * bool isFirstColumnSpanned ( int row, const QModelIndex & parent ) const - */ -HB_FUNC( QT_QTREEVIEW_ISFIRSTCOLUMNSPANNED ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isFirstColumnSpanned( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* - * bool isHeaderHidden () const - */ -HB_FUNC( QT_QTREEVIEW_ISHEADERHIDDEN ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isHeaderHidden() ); -} - -/* - * bool isRowHidden ( int row, const QModelIndex & parent ) const - */ -HB_FUNC( QT_QTREEVIEW_ISROWHIDDEN ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isRowHidden( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ) ) ); -} - -/* - * bool isSortingEnabled () const - */ -HB_FUNC( QT_QTREEVIEW_ISSORTINGENABLED ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->isSortingEnabled() ); -} - -/* - * bool itemsExpandable () const - */ -HB_FUNC( QT_QTREEVIEW_ITEMSEXPANDABLE ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->itemsExpandable() ); -} - -/* - * bool rootIsDecorated () const - */ -HB_FUNC( QT_QTREEVIEW_ROOTISDECORATED ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->rootIsDecorated() ); -} - -/* - * virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) - */ -HB_FUNC( QT_QTREEVIEW_SCROLLTO ) -{ - hbqt_par_QTreeView( 1 )->scrollTo( *hbqt_par_QModelIndex( 2 ), ( HB_ISNUM( 3 ) ? ( QTreeView::ScrollHint ) hb_parni( 3 ) : ( QTreeView::ScrollHint ) QTreeView::EnsureVisible ) ); -} - -/* - * void setAllColumnsShowFocus ( bool enable ) - */ -HB_FUNC( QT_QTREEVIEW_SETALLCOLUMNSSHOWFOCUS ) -{ - hbqt_par_QTreeView( 1 )->setAllColumnsShowFocus( hb_parl( 2 ) ); -} - -/* - * void setAnimated ( bool enable ) - */ -HB_FUNC( QT_QTREEVIEW_SETANIMATED ) -{ - hbqt_par_QTreeView( 1 )->setAnimated( hb_parl( 2 ) ); -} - -/* - * void setAutoExpandDelay ( int delay ) - */ -HB_FUNC( QT_QTREEVIEW_SETAUTOEXPANDDELAY ) -{ - hbqt_par_QTreeView( 1 )->setAutoExpandDelay( hb_parni( 2 ) ); -} - -/* - * void setColumnHidden ( int column, bool hide ) - */ -HB_FUNC( QT_QTREEVIEW_SETCOLUMNHIDDEN ) -{ - hbqt_par_QTreeView( 1 )->setColumnHidden( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setColumnWidth ( int column, int width ) - */ -HB_FUNC( QT_QTREEVIEW_SETCOLUMNWIDTH ) -{ - hbqt_par_QTreeView( 1 )->setColumnWidth( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setExpanded ( const QModelIndex & index, bool expanded ) - */ -HB_FUNC( QT_QTREEVIEW_SETEXPANDED ) -{ - hbqt_par_QTreeView( 1 )->setExpanded( *hbqt_par_QModelIndex( 2 ), hb_parl( 3 ) ); -} - -/* - * void setExpandsOnDoubleClick ( bool enable ) - */ -HB_FUNC( QT_QTREEVIEW_SETEXPANDSONDOUBLECLICK ) -{ - hbqt_par_QTreeView( 1 )->setExpandsOnDoubleClick( hb_parl( 2 ) ); -} - -/* - * void setFirstColumnSpanned ( int row, const QModelIndex & parent, bool span ) - */ -HB_FUNC( QT_QTREEVIEW_SETFIRSTCOLUMNSPANNED ) -{ - hbqt_par_QTreeView( 1 )->setFirstColumnSpanned( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ), hb_parl( 4 ) ); -} - -/* - * void setHeader ( QHeaderView * header ) - */ -HB_FUNC( QT_QTREEVIEW_SETHEADER ) -{ - hbqt_par_QTreeView( 1 )->setHeader( hbqt_par_QHeaderView( 2 ) ); -} - -/* - * void setHeaderHidden ( bool hide ) - */ -HB_FUNC( QT_QTREEVIEW_SETHEADERHIDDEN ) -{ - hbqt_par_QTreeView( 1 )->setHeaderHidden( hb_parl( 2 ) ); -} - -/* - * void setIndentation ( int i ) - */ -HB_FUNC( QT_QTREEVIEW_SETINDENTATION ) -{ - hbqt_par_QTreeView( 1 )->setIndentation( hb_parni( 2 ) ); -} - -/* - * void setItemsExpandable ( bool enable ) - */ -HB_FUNC( QT_QTREEVIEW_SETITEMSEXPANDABLE ) -{ - hbqt_par_QTreeView( 1 )->setItemsExpandable( hb_parl( 2 ) ); -} - -/* - * void setRootIsDecorated ( bool show ) - */ -HB_FUNC( QT_QTREEVIEW_SETROOTISDECORATED ) -{ - hbqt_par_QTreeView( 1 )->setRootIsDecorated( hb_parl( 2 ) ); -} - -/* - * void setRowHidden ( int row, const QModelIndex & parent, bool hide ) - */ -HB_FUNC( QT_QTREEVIEW_SETROWHIDDEN ) -{ - hbqt_par_QTreeView( 1 )->setRowHidden( hb_parni( 2 ), *hbqt_par_QModelIndex( 3 ), hb_parl( 4 ) ); -} - -/* - * void setSortingEnabled ( bool enable ) - */ -HB_FUNC( QT_QTREEVIEW_SETSORTINGENABLED ) -{ - hbqt_par_QTreeView( 1 )->setSortingEnabled( hb_parl( 2 ) ); -} - -/* - * void setUniformRowHeights ( bool uniform ) - */ -HB_FUNC( QT_QTREEVIEW_SETUNIFORMROWHEIGHTS ) -{ - hbqt_par_QTreeView( 1 )->setUniformRowHeights( hb_parl( 2 ) ); -} - -/* - * void setWordWrap ( bool on ) - */ -HB_FUNC( QT_QTREEVIEW_SETWORDWRAP ) -{ - hbqt_par_QTreeView( 1 )->setWordWrap( hb_parl( 2 ) ); -} - -/* - * void sortByColumn ( int column, Qt::SortOrder order ) - */ -HB_FUNC( QT_QTREEVIEW_SORTBYCOLUMN ) -{ - hbqt_par_QTreeView( 1 )->sortByColumn( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* - * bool uniformRowHeights () const - */ -HB_FUNC( QT_QTREEVIEW_UNIFORMROWHEIGHTS ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->uniformRowHeights() ); -} - -/* - * virtual QRect visualRect ( const QModelIndex & index ) const - */ -HB_FUNC( QT_QTREEVIEW_VISUALRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QTreeView( 1 )->visualRect( *hbqt_par_QModelIndex( 2 ) ) ) ) ); -} - -/* - * bool wordWrap () const - */ -HB_FUNC( QT_QTREEVIEW_WORDWRAP ) -{ - hb_retl( hbqt_par_QTreeView( 1 )->wordWrap() ); -} - -/* - * void collapse ( const QModelIndex & index ) - */ -HB_FUNC( QT_QTREEVIEW_COLLAPSE ) -{ - hbqt_par_QTreeView( 1 )->collapse( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * void collapseAll () - */ -HB_FUNC( QT_QTREEVIEW_COLLAPSEALL ) -{ - hbqt_par_QTreeView( 1 )->collapseAll(); -} - -/* - * void expand ( const QModelIndex & index ) - */ -HB_FUNC( QT_QTREEVIEW_EXPAND ) -{ - hbqt_par_QTreeView( 1 )->expand( *hbqt_par_QModelIndex( 2 ) ); -} - -/* - * void expandAll () - */ -HB_FUNC( QT_QTREEVIEW_EXPANDALL ) -{ - hbqt_par_QTreeView( 1 )->expandAll(); -} - -/* - * void expandToDepth ( int depth ) - */ -HB_FUNC( QT_QTREEVIEW_EXPANDTODEPTH ) -{ - hbqt_par_QTreeView( 1 )->expandToDepth( hb_parni( 2 ) ); -} - -/* - * void hideColumn ( int column ) - */ -HB_FUNC( QT_QTREEVIEW_HIDECOLUMN ) -{ - hbqt_par_QTreeView( 1 )->hideColumn( hb_parni( 2 ) ); -} - -/* - * void resizeColumnToContents ( int column ) - */ -HB_FUNC( QT_QTREEVIEW_RESIZECOLUMNTOCONTENTS ) -{ - hbqt_par_QTreeView( 1 )->resizeColumnToContents( hb_parni( 2 ) ); -} - -/* - * void showColumn ( int column ) - */ -HB_FUNC( QT_QTREEVIEW_SHOWCOLUMN ) -{ - hbqt_par_QTreeView( 1 )->showColumn( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTreeWidget.cpp b/harbour/contrib/hbqt/QTreeWidget.cpp deleted file mode 100644 index 90cc22b2da..0000000000 --- a/harbour/contrib/hbqt/QTreeWidget.cpp +++ /dev/null @@ -1,401 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 37/41 [ 90.24% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void addTopLevelItems ( const QList & items ) - * QList findItems ( const QString & text, Qt::MatchFlags flags, int column = 0 ) const - * void insertTopLevelItems ( int index, const QList & items ) - * QList selectedItems () const - */ - -#include - -#include - - -/* - * QTreeWidget ( QWidget * parent = 0 ) - * ~QTreeWidget () - */ - -HB_FUNC( QT_QTREEWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QTreeWidget > pObj = NULL; - - pObj = ( QTreeWidget* ) new QTreeWidget( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * void addTopLevelItem ( QTreeWidgetItem * item ) - */ -HB_FUNC( QT_QTREEWIDGET_ADDTOPLEVELITEM ) -{ - hbqt_par_QTreeWidget( 1 )->addTopLevelItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * void closePersistentEditor ( QTreeWidgetItem * item, int column = 0 ) - */ -HB_FUNC( QT_QTREEWIDGET_CLOSEPERSISTENTEDITOR ) -{ - hbqt_par_QTreeWidget( 1 )->closePersistentEditor( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* - * int columnCount () const - */ -HB_FUNC( QT_QTREEWIDGET_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QTreeWidget( 1 )->columnCount() ); -} - -/* - * int currentColumn () const - */ -HB_FUNC( QT_QTREEWIDGET_CURRENTCOLUMN ) -{ - hb_retni( hbqt_par_QTreeWidget( 1 )->currentColumn() ); -} - -/* - * QTreeWidgetItem * currentItem () const - */ -HB_FUNC( QT_QTREEWIDGET_CURRENTITEM ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->currentItem() ); -} - -/* - * void editItem ( QTreeWidgetItem * item, int column = 0 ) - */ -HB_FUNC( QT_QTREEWIDGET_EDITITEM ) -{ - hbqt_par_QTreeWidget( 1 )->editItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* - * QTreeWidgetItem * headerItem () const - */ -HB_FUNC( QT_QTREEWIDGET_HEADERITEM ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->headerItem() ); -} - -/* - * int indexOfTopLevelItem ( QTreeWidgetItem * item ) const - */ -HB_FUNC( QT_QTREEWIDGET_INDEXOFTOPLEVELITEM ) -{ - hb_retni( hbqt_par_QTreeWidget( 1 )->indexOfTopLevelItem( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* - * void insertTopLevelItem ( int index, QTreeWidgetItem * item ) - */ -HB_FUNC( QT_QTREEWIDGET_INSERTTOPLEVELITEM ) -{ - hbqt_par_QTreeWidget( 1 )->insertTopLevelItem( hb_parni( 2 ), hbqt_par_QTreeWidgetItem( 3 ) ); -} - -/* - * QTreeWidgetItem * invisibleRootItem () const - */ -HB_FUNC( QT_QTREEWIDGET_INVISIBLEROOTITEM ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->invisibleRootItem() ); -} - -/* - * bool isFirstItemColumnSpanned ( const QTreeWidgetItem * item ) const - */ -HB_FUNC( QT_QTREEWIDGET_ISFIRSTITEMCOLUMNSPANNED ) -{ - hb_retl( hbqt_par_QTreeWidget( 1 )->isFirstItemColumnSpanned( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* - * QTreeWidgetItem * itemAbove ( const QTreeWidgetItem * item ) const - */ -HB_FUNC( QT_QTREEWIDGET_ITEMABOVE ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->itemAbove( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* - * QTreeWidgetItem * itemAt ( const QPoint & p ) const - */ -HB_FUNC( QT_QTREEWIDGET_ITEMAT ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->itemAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QTreeWidgetItem * itemAt ( int x, int y ) const - */ -HB_FUNC( QT_QTREEWIDGET_ITEMAT_1 ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QTreeWidgetItem * itemBelow ( const QTreeWidgetItem * item ) const - */ -HB_FUNC( QT_QTREEWIDGET_ITEMBELOW ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->itemBelow( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* - * QWidget * itemWidget ( QTreeWidgetItem * item, int column ) const - */ -HB_FUNC( QT_QTREEWIDGET_ITEMWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QTreeWidget( 1 )->itemWidget( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ) ); -} - -/* - * void openPersistentEditor ( QTreeWidgetItem * item, int column = 0 ) - */ -HB_FUNC( QT_QTREEWIDGET_OPENPERSISTENTEDITOR ) -{ - hbqt_par_QTreeWidget( 1 )->openPersistentEditor( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* - * void removeItemWidget ( QTreeWidgetItem * item, int column ) - */ -HB_FUNC( QT_QTREEWIDGET_REMOVEITEMWIDGET ) -{ - hbqt_par_QTreeWidget( 1 )->removeItemWidget( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* - * void setColumnCount ( int columns ) - */ -HB_FUNC( QT_QTREEWIDGET_SETCOLUMNCOUNT ) -{ - hbqt_par_QTreeWidget( 1 )->setColumnCount( hb_parni( 2 ) ); -} - -/* - * void setCurrentItem ( QTreeWidgetItem * item ) - */ -HB_FUNC( QT_QTREEWIDGET_SETCURRENTITEM ) -{ - hbqt_par_QTreeWidget( 1 )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * void setCurrentItem ( QTreeWidgetItem * item, int column ) - */ -HB_FUNC( QT_QTREEWIDGET_SETCURRENTITEM_1 ) -{ - hbqt_par_QTreeWidget( 1 )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); -} - -/* - * void setCurrentItem ( QTreeWidgetItem * item, int column, QItemSelectionModel::SelectionFlags command ) - */ -HB_FUNC( QT_QTREEWIDGET_SETCURRENTITEM_2 ) -{ - hbqt_par_QTreeWidget( 1 )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 4 ) ); -} - -/* - * void setFirstItemColumnSpanned ( const QTreeWidgetItem * item, bool span ) - */ -HB_FUNC( QT_QTREEWIDGET_SETFIRSTITEMCOLUMNSPANNED ) -{ - hbqt_par_QTreeWidget( 1 )->setFirstItemColumnSpanned( hbqt_par_QTreeWidgetItem( 2 ), hb_parl( 3 ) ); -} - -/* - * void setHeaderItem ( QTreeWidgetItem * item ) - */ -HB_FUNC( QT_QTREEWIDGET_SETHEADERITEM ) -{ - hbqt_par_QTreeWidget( 1 )->setHeaderItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * void setHeaderLabel ( const QString & label ) - */ -HB_FUNC( QT_QTREEWIDGET_SETHEADERLABEL ) -{ - hbqt_par_QTreeWidget( 1 )->setHeaderLabel( hbqt_par_QString( 2 ) ); -} - -/* - * void setHeaderLabels ( const QStringList & labels ) - */ -HB_FUNC( QT_QTREEWIDGET_SETHEADERLABELS ) -{ - hbqt_par_QTreeWidget( 1 )->setHeaderLabels( *hbqt_par_QStringList( 2 ) ); -} - -/* - * void setItemWidget ( QTreeWidgetItem * item, int column, QWidget * widget ) - */ -HB_FUNC( QT_QTREEWIDGET_SETITEMWIDGET ) -{ - hbqt_par_QTreeWidget( 1 )->setItemWidget( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ), hbqt_par_QWidget( 4 ) ); -} - -/* - * int sortColumn () const - */ -HB_FUNC( QT_QTREEWIDGET_SORTCOLUMN ) -{ - hb_retni( hbqt_par_QTreeWidget( 1 )->sortColumn() ); -} - -/* - * void sortItems ( int column, Qt::SortOrder order ) - */ -HB_FUNC( QT_QTREEWIDGET_SORTITEMS ) -{ - hbqt_par_QTreeWidget( 1 )->sortItems( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* - * QTreeWidgetItem * takeTopLevelItem ( int index ) - */ -HB_FUNC( QT_QTREEWIDGET_TAKETOPLEVELITEM ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->takeTopLevelItem( hb_parni( 2 ) ) ); -} - -/* - * QTreeWidgetItem * topLevelItem ( int index ) const - */ -HB_FUNC( QT_QTREEWIDGET_TOPLEVELITEM ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidget( 1 )->topLevelItem( hb_parni( 2 ) ) ); -} - -/* - * int topLevelItemCount () const - */ -HB_FUNC( QT_QTREEWIDGET_TOPLEVELITEMCOUNT ) -{ - hb_retni( hbqt_par_QTreeWidget( 1 )->topLevelItemCount() ); -} - -/* - * QRect visualItemRect ( const QTreeWidgetItem * item ) const - */ -HB_FUNC( QT_QTREEWIDGET_VISUALITEMRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QTreeWidget( 1 )->visualItemRect( hbqt_par_QTreeWidgetItem( 2 ) ) ) ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QTREEWIDGET_CLEAR ) -{ - hbqt_par_QTreeWidget( 1 )->clear(); -} - -/* - * void collapseItem ( const QTreeWidgetItem * item ) - */ -HB_FUNC( QT_QTREEWIDGET_COLLAPSEITEM ) -{ - hbqt_par_QTreeWidget( 1 )->collapseItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * void expandItem ( const QTreeWidgetItem * item ) - */ -HB_FUNC( QT_QTREEWIDGET_EXPANDITEM ) -{ - hbqt_par_QTreeWidget( 1 )->expandItem( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * void scrollToItem ( const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - */ -HB_FUNC( QT_QTREEWIDGET_SCROLLTOITEM ) -{ - hbqt_par_QTreeWidget( 1 )->scrollToItem( hbqt_par_QTreeWidgetItem( 2 ), ( HB_ISNUM( 3 ) ? ( QAbstractItemView::ScrollHint ) hb_parni( 3 ) : ( QAbstractItemView::ScrollHint ) QTreeWidget::EnsureVisible ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QTreeWidgetItem.cpp b/harbour/contrib/hbqt/QTreeWidgetItem.cpp deleted file mode 100644 index a8d07eea3d..0000000000 --- a/harbour/contrib/hbqt/QTreeWidgetItem.cpp +++ /dev/null @@ -1,537 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum ChildIndicatorPolicy { ShowIndicator, DontShowIndicator, DontShowIndicatorWhenChildless } - * enum ItemType { Type, UserType } - */ - -/* - * Constructed[ 52/55 [ 94.55% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * void addChildren ( const QList & children ) - * void insertChildren ( int index, const QList & children ) - * QList takeChildren () - */ - -#include - -#include - - -/* - * QTreeWidgetItem ( int type = Type ) - * QTreeWidgetItem ( const QStringList & strings, int type = Type ) - * QTreeWidgetItem ( QTreeWidget * parent, int type = Type ) - * QTreeWidgetItem ( QTreeWidget * parent, const QStringList & strings, int type = Type ) - * QTreeWidgetItem ( QTreeWidget * parent, QTreeWidgetItem * preceding, int type = Type ) - * QTreeWidgetItem ( QTreeWidgetItem * parent, int type = Type ) - * QTreeWidgetItem ( QTreeWidgetItem * parent, const QStringList & strings, int type = Type ) - * QTreeWidgetItem ( QTreeWidgetItem * parent, QTreeWidgetItem * preceding, int type = Type ) - * QTreeWidgetItem ( const QTreeWidgetItem & other ) - * virtual ~QTreeWidgetItem () - */ - -HB_FUNC( QT_QTREEWIDGETITEM ) -{ - void * pObj = NULL; - - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - { - pObj = ( QTreeWidgetItem* ) new QTreeWidgetItem( hb_parni( 1 ) ) ; - } - else - { - pObj = ( QTreeWidgetItem* ) new QTreeWidgetItem( hbqt_par_QTreeWidget( 1 ), hb_parni( 2 ) ) ; - } - - hb_retptr( pObj ); -} -/* - * void addChild ( QTreeWidgetItem * child ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_ADDCHILD ) -{ - hbqt_par_QTreeWidgetItem( 1 )->addChild( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * QBrush background ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_BACKGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTreeWidgetItem( 1 )->background( hb_parni( 2 ) ) ) ) ); -} - -/* - * Qt::CheckState checkState ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_CHECKSTATE ) -{ - hb_retni( ( Qt::CheckState ) hbqt_par_QTreeWidgetItem( 1 )->checkState( hb_parni( 2 ) ) ); -} - -/* - * QTreeWidgetItem * child ( int index ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_CHILD ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidgetItem( 1 )->child( hb_parni( 2 ) ) ); -} - -/* - * int childCount () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_CHILDCOUNT ) -{ - hb_retni( hbqt_par_QTreeWidgetItem( 1 )->childCount() ); -} - -/* - * QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_CHILDINDICATORPOLICY ) -{ - hb_retni( ( QTreeWidgetItem::ChildIndicatorPolicy ) hbqt_par_QTreeWidgetItem( 1 )->childIndicatorPolicy() ); -} - -/* - * virtual QTreeWidgetItem * clone () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_CLONE ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidgetItem( 1 )->clone() ); -} - -/* - * int columnCount () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_COLUMNCOUNT ) -{ - hb_retni( hbqt_par_QTreeWidgetItem( 1 )->columnCount() ); -} - -/* - * virtual QVariant data ( int column, int role ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_DATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QTreeWidgetItem( 1 )->data( hb_parni( 2 ), hb_parni( 3 ) ) ) ) ); -} - -/* - * Qt::ItemFlags flags () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_FLAGS ) -{ - hb_retni( ( Qt::ItemFlags ) hbqt_par_QTreeWidgetItem( 1 )->flags() ); -} - -/* - * QFont font ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QTreeWidgetItem( 1 )->font( hb_parni( 2 ) ) ) ) ); -} - -/* - * QBrush foreground ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_FOREGROUND ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBrush( hbqt_par_QTreeWidgetItem( 1 )->foreground( hb_parni( 2 ) ) ) ) ); -} - -/* - * QIcon icon ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QTreeWidgetItem( 1 )->icon( hb_parni( 2 ) ) ) ) ); -} - -/* - * int indexOfChild ( QTreeWidgetItem * child ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_INDEXOFCHILD ) -{ - hb_retni( hbqt_par_QTreeWidgetItem( 1 )->indexOfChild( hbqt_par_QTreeWidgetItem( 2 ) ) ); -} - -/* - * void insertChild ( int index, QTreeWidgetItem * child ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_INSERTCHILD ) -{ - hbqt_par_QTreeWidgetItem( 1 )->insertChild( hb_parni( 2 ), hbqt_par_QTreeWidgetItem( 3 ) ); -} - -/* - * bool isDisabled () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_ISDISABLED ) -{ - hb_retl( hbqt_par_QTreeWidgetItem( 1 )->isDisabled() ); -} - -/* - * bool isExpanded () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_ISEXPANDED ) -{ - hb_retl( hbqt_par_QTreeWidgetItem( 1 )->isExpanded() ); -} - -/* - * bool isFirstColumnSpanned () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_ISFIRSTCOLUMNSPANNED ) -{ - hb_retl( hbqt_par_QTreeWidgetItem( 1 )->isFirstColumnSpanned() ); -} - -/* - * bool isHidden () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_ISHIDDEN ) -{ - hb_retl( hbqt_par_QTreeWidgetItem( 1 )->isHidden() ); -} - -/* - * bool isSelected () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_ISSELECTED ) -{ - hb_retl( hbqt_par_QTreeWidgetItem( 1 )->isSelected() ); -} - -/* - * QTreeWidgetItem * parent () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_PARENT ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidgetItem( 1 )->parent() ); -} - -/* - * virtual void read ( QDataStream & in ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_READ ) -{ - hbqt_par_QTreeWidgetItem( 1 )->read( *hbqt_par_QDataStream( 2 ) ); -} - -/* - * void removeChild ( QTreeWidgetItem * child ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_REMOVECHILD ) -{ - hbqt_par_QTreeWidgetItem( 1 )->removeChild( hbqt_par_QTreeWidgetItem( 2 ) ); -} - -/* - * void setBackground ( int column, const QBrush & brush ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETBACKGROUND ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setBackground( hb_parni( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* - * void setCheckState ( int column, Qt::CheckState state ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETCHECKSTATE ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setCheckState( hb_parni( 2 ), ( Qt::CheckState ) hb_parni( 3 ) ); -} - -/* - * void setChildIndicatorPolicy ( QTreeWidgetItem::ChildIndicatorPolicy policy ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETCHILDINDICATORPOLICY ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setChildIndicatorPolicy( ( QTreeWidgetItem::ChildIndicatorPolicy ) hb_parni( 2 ) ); -} - -/* - * virtual void setData ( int column, int role, const QVariant & value ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETDATA ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setData( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QVariant( 4 ) ); -} - -/* - * void setDisabled ( bool disabled ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETDISABLED ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setDisabled( hb_parl( 2 ) ); -} - -/* - * void setExpanded ( bool expand ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETEXPANDED ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setExpanded( hb_parl( 2 ) ); -} - -/* - * void setFirstColumnSpanned ( bool span ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFIRSTCOLUMNSPANNED ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setFirstColumnSpanned( hb_parl( 2 ) ); -} - -/* - * void setFlags ( Qt::ItemFlags flags ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFLAGS ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setFlags( ( Qt::ItemFlags ) hb_parni( 2 ) ); -} - -/* - * void setFont ( int column, const QFont & font ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFONT ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setFont( hb_parni( 2 ), *hbqt_par_QFont( 3 ) ); -} - -/* - * void setForeground ( int column, const QBrush & brush ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETFOREGROUND ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setForeground( hb_parni( 2 ), *hbqt_par_QBrush( 3 ) ); -} - -/* - * void setHidden ( bool hide ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETHIDDEN ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setHidden( hb_parl( 2 ) ); -} - -/* - * void setIcon ( int column, const QIcon & icon ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETICON ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setIcon( hb_parni( 2 ), QIcon( hbqt_par_QString( 3 ) ) ); -} - -/* - * void setSelected ( bool select ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETSELECTED ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setSelected( hb_parl( 2 ) ); -} - -/* - * void setSizeHint ( int column, const QSize & size ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETSIZEHINT ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setSizeHint( hb_parni( 2 ), *hbqt_par_QSize( 3 ) ); -} - -/* - * void setStatusTip ( int column, const QString & statusTip ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETSTATUSTIP ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setStatusTip( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setText ( int column, const QString & text ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETTEXT ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setText( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setTextAlignment ( int column, int alignment ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETTEXTALIGNMENT ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setTextAlignment( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setToolTip ( int column, const QString & toolTip ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETTOOLTIP ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setToolTip( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setWhatsThis ( int column, const QString & whatsThis ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SETWHATSTHIS ) -{ - hbqt_par_QTreeWidgetItem( 1 )->setWhatsThis( hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QSize sizeHint ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QTreeWidgetItem( 1 )->sizeHint( hb_parni( 2 ) ) ) ) ); -} - -/* - * void sortChildren ( int column, Qt::SortOrder order ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_SORTCHILDREN ) -{ - hbqt_par_QTreeWidgetItem( 1 )->sortChildren( hb_parni( 2 ), ( Qt::SortOrder ) hb_parni( 3 ) ); -} - -/* - * QString statusTip ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_STATUSTIP ) -{ - hb_retc( hbqt_par_QTreeWidgetItem( 1 )->statusTip( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QTreeWidgetItem * takeChild ( int index ) - */ -HB_FUNC( QT_QTREEWIDGETITEM_TAKECHILD ) -{ - hb_retptr( ( QTreeWidgetItem* ) hbqt_par_QTreeWidgetItem( 1 )->takeChild( hb_parni( 2 ) ) ); -} - -/* - * QString text ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_TEXT ) -{ - hb_retc( hbqt_par_QTreeWidgetItem( 1 )->text( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * int textAlignment ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_TEXTALIGNMENT ) -{ - hb_retni( hbqt_par_QTreeWidgetItem( 1 )->textAlignment( hb_parni( 2 ) ) ); -} - -/* - * QString toolTip ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_TOOLTIP ) -{ - hb_retc( hbqt_par_QTreeWidgetItem( 1 )->toolTip( hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * QTreeWidget * treeWidget () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_TREEWIDGET ) -{ - hb_retptr( ( QTreeWidget* ) hbqt_par_QTreeWidgetItem( 1 )->treeWidget() ); -} - -/* - * int type () const - */ -HB_FUNC( QT_QTREEWIDGETITEM_TYPE ) -{ - hb_retni( hbqt_par_QTreeWidgetItem( 1 )->type() ); -} - -/* - * QString whatsThis ( int column ) const - */ -HB_FUNC( QT_QTREEWIDGETITEM_WHATSTHIS ) -{ - hb_retc( hbqt_par_QTreeWidgetItem( 1 )->whatsThis( hb_parni( 2 ) ).toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QUrl.cpp b/harbour/contrib/hbqt/QUrl.cpp deleted file mode 100644 index 5b50eea2ec..0000000000 --- a/harbour/contrib/hbqt/QUrl.cpp +++ /dev/null @@ -1,679 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FormattingOption { None, RemoveScheme, RemovePassword, RemoveUserInfo, ..., StripTrailingSlash } - * flags FormattingOptions - * enum ParsingMode { TolerantMode, StrictMode } - */ - -/* - * Constructed[ 69/75 [ 92.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList allEncodedQueryItemValues ( const QByteArray & key ) const - * QList > encodedQueryItems () const - * QList > queryItems () const - * void setEncodedQueryItems ( const QList > & query ) - * void setQueryItems ( const QList > & query ) - * - * *** Commented out protos which construct fine but do not compile *** - * - * //void setQueryDelimiters ( char valueDelimiter, char pairDelimiter ) - */ - -#include - -#include -#include - - -/* - * QUrl () - * QUrl ( const QString & url ) - * QUrl ( const QUrl & other ) - * QUrl ( const QString & url, ParsingMode parsingMode ) - * ~QUrl () - */ -/* - * void setQueryDelimiters ( char valueDelimiter, char pairDelimiter ) - */ -HB_FUNC( QT_QURL_SETQUERYDELIMITERS ) -{ - hbqt_par_QUrl( 1 )->setQueryDelimiters( ( char ) hb_parni( 2 ), ( char ) hb_parni( 3 ) ); -} - -HB_FUNC( QT_QURL ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = new QUrl( hbqt_par_QString( 1 ) ) ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QUrl" ); - hb_retptrGC( p ); -} -/* - * void addEncodedQueryItem ( const QByteArray & key, const QByteArray & value ) - */ -HB_FUNC( QT_QURL_ADDENCODEDQUERYITEM ) -{ - hbqt_par_QUrl( 1 )->addEncodedQueryItem( *hbqt_par_QByteArray( 2 ), *hbqt_par_QByteArray( 3 ) ); -} - -/* - * void addQueryItem ( const QString & key, const QString & value ) - */ -HB_FUNC( QT_QURL_ADDQUERYITEM ) -{ - hbqt_par_QUrl( 1 )->addQueryItem( hbqt_par_QString( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * QStringList allQueryItemValues ( const QString & key ) const - */ -HB_FUNC( QT_QURL_ALLQUERYITEMVALUES ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QUrl( 1 )->allQueryItemValues( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QString authority () const - */ -HB_FUNC( QT_QURL_AUTHORITY ) -{ - hb_retc( hbqt_par_QUrl( 1 )->authority().toAscii().data() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QURL_CLEAR ) -{ - hbqt_par_QUrl( 1 )->clear(); -} - -/* - * QByteArray encodedFragment () const - */ -HB_FUNC( QT_QURL_ENCODEDFRAGMENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedFragment() ) ) ); -} - -/* - * QByteArray encodedHost () const - */ -HB_FUNC( QT_QURL_ENCODEDHOST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedHost() ) ) ); -} - -/* - * QByteArray encodedPassword () const - */ -HB_FUNC( QT_QURL_ENCODEDPASSWORD ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedPassword() ) ) ); -} - -/* - * QByteArray encodedPath () const - */ -HB_FUNC( QT_QURL_ENCODEDPATH ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedPath() ) ) ); -} - -/* - * QByteArray encodedQuery () const - */ -HB_FUNC( QT_QURL_ENCODEDQUERY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedQuery() ) ) ); -} - -/* - * QByteArray encodedQueryItemValue ( const QByteArray & key ) const - */ -HB_FUNC( QT_QURL_ENCODEDQUERYITEMVALUE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedQueryItemValue( *hbqt_par_QByteArray( 2 ) ) ) ) ); -} - -/* - * QByteArray encodedUserName () const - */ -HB_FUNC( QT_QURL_ENCODEDUSERNAME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->encodedUserName() ) ) ); -} - -/* - * QString errorString () const - */ -HB_FUNC( QT_QURL_ERRORSTRING ) -{ - hb_retc( hbqt_par_QUrl( 1 )->errorString().toAscii().data() ); -} - -/* - * QString fragment () const - */ -HB_FUNC( QT_QURL_FRAGMENT ) -{ - hb_retc( hbqt_par_QUrl( 1 )->fragment().toAscii().data() ); -} - -/* - * bool hasEncodedQueryItem ( const QByteArray & key ) const - */ -HB_FUNC( QT_QURL_HASENCODEDQUERYITEM ) -{ - hb_retl( hbqt_par_QUrl( 1 )->hasEncodedQueryItem( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * bool hasFragment () const - */ -HB_FUNC( QT_QURL_HASFRAGMENT ) -{ - hb_retl( hbqt_par_QUrl( 1 )->hasFragment() ); -} - -/* - * bool hasQuery () const - */ -HB_FUNC( QT_QURL_HASQUERY ) -{ - hb_retl( hbqt_par_QUrl( 1 )->hasQuery() ); -} - -/* - * bool hasQueryItem ( const QString & key ) const - */ -HB_FUNC( QT_QURL_HASQUERYITEM ) -{ - hb_retl( hbqt_par_QUrl( 1 )->hasQueryItem( hbqt_par_QString( 2 ) ) ); -} - -/* - * QString host () const - */ -HB_FUNC( QT_QURL_HOST ) -{ - hb_retc( hbqt_par_QUrl( 1 )->host().toAscii().data() ); -} - -/* - * bool isEmpty () const - */ -HB_FUNC( QT_QURL_ISEMPTY ) -{ - hb_retl( hbqt_par_QUrl( 1 )->isEmpty() ); -} - -/* - * bool isParentOf ( const QUrl & childUrl ) const - */ -HB_FUNC( QT_QURL_ISPARENTOF ) -{ - hb_retl( hbqt_par_QUrl( 1 )->isParentOf( *hbqt_par_QUrl( 2 ) ) ); -} - -/* - * bool isRelative () const - */ -HB_FUNC( QT_QURL_ISRELATIVE ) -{ - hb_retl( hbqt_par_QUrl( 1 )->isRelative() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QURL_ISVALID ) -{ - hb_retl( hbqt_par_QUrl( 1 )->isValid() ); -} - -/* - * QString password () const - */ -HB_FUNC( QT_QURL_PASSWORD ) -{ - hb_retc( hbqt_par_QUrl( 1 )->password().toAscii().data() ); -} - -/* - * QString path () const - */ -HB_FUNC( QT_QURL_PATH ) -{ - hb_retc( hbqt_par_QUrl( 1 )->path().toAscii().data() ); -} - -/* - * int port () const - */ -HB_FUNC( QT_QURL_PORT ) -{ - hb_retni( hbqt_par_QUrl( 1 )->port() ); -} - -/* - * int port ( int defaultPort ) const - */ -HB_FUNC( QT_QURL_PORT_1 ) -{ - hb_retni( hbqt_par_QUrl( 1 )->port( hb_parni( 2 ) ) ); -} - -/* - * QString queryItemValue ( const QString & key ) const - */ -HB_FUNC( QT_QURL_QUERYITEMVALUE ) -{ - hb_retc( hbqt_par_QUrl( 1 )->queryItemValue( hbqt_par_QString( 2 ) ).toAscii().data() ); -} - -/* - * char queryPairDelimiter () const - */ -HB_FUNC( QT_QURL_QUERYPAIRDELIMITER ) -{ - hb_retni( hbqt_par_QUrl( 1 )->queryPairDelimiter() ); -} - -/* - * char queryValueDelimiter () const - */ -HB_FUNC( QT_QURL_QUERYVALUEDELIMITER ) -{ - hb_retni( hbqt_par_QUrl( 1 )->queryValueDelimiter() ); -} - -/* - * void removeAllEncodedQueryItems ( const QByteArray & key ) - */ -HB_FUNC( QT_QURL_REMOVEALLENCODEDQUERYITEMS ) -{ - hbqt_par_QUrl( 1 )->removeAllEncodedQueryItems( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void removeAllQueryItems ( const QString & key ) - */ -HB_FUNC( QT_QURL_REMOVEALLQUERYITEMS ) -{ - hbqt_par_QUrl( 1 )->removeAllQueryItems( hbqt_par_QString( 2 ) ); -} - -/* - * void removeEncodedQueryItem ( const QByteArray & key ) - */ -HB_FUNC( QT_QURL_REMOVEENCODEDQUERYITEM ) -{ - hbqt_par_QUrl( 1 )->removeEncodedQueryItem( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void removeQueryItem ( const QString & key ) - */ -HB_FUNC( QT_QURL_REMOVEQUERYITEM ) -{ - hbqt_par_QUrl( 1 )->removeQueryItem( hbqt_par_QString( 2 ) ); -} - -/* - * QUrl resolved ( const QUrl & relative ) const - */ -HB_FUNC( QT_QURL_RESOLVED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QUrl( 1 )->resolved( *hbqt_par_QUrl( 2 ) ) ) ) ); -} - -/* - * QString scheme () const - */ -HB_FUNC( QT_QURL_SCHEME ) -{ - hb_retc( hbqt_par_QUrl( 1 )->scheme().toAscii().data() ); -} - -/* - * void setAuthority ( const QString & authority ) - */ -HB_FUNC( QT_QURL_SETAUTHORITY ) -{ - hbqt_par_QUrl( 1 )->setAuthority( hbqt_par_QString( 2 ) ); -} - -/* - * void setEncodedFragment ( const QByteArray & fragment ) - */ -HB_FUNC( QT_QURL_SETENCODEDFRAGMENT ) -{ - hbqt_par_QUrl( 1 )->setEncodedFragment( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setEncodedHost ( const QByteArray & host ) - */ -HB_FUNC( QT_QURL_SETENCODEDHOST ) -{ - hbqt_par_QUrl( 1 )->setEncodedHost( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setEncodedPassword ( const QByteArray & password ) - */ -HB_FUNC( QT_QURL_SETENCODEDPASSWORD ) -{ - hbqt_par_QUrl( 1 )->setEncodedPassword( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setEncodedPath ( const QByteArray & path ) - */ -HB_FUNC( QT_QURL_SETENCODEDPATH ) -{ - hbqt_par_QUrl( 1 )->setEncodedPath( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setEncodedQuery ( const QByteArray & query ) - */ -HB_FUNC( QT_QURL_SETENCODEDQUERY ) -{ - hbqt_par_QUrl( 1 )->setEncodedQuery( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setEncodedUrl ( const QByteArray & encodedUrl ) - */ -HB_FUNC( QT_QURL_SETENCODEDURL ) -{ - hbqt_par_QUrl( 1 )->setEncodedUrl( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setEncodedUrl ( const QByteArray & encodedUrl, ParsingMode parsingMode ) - */ -HB_FUNC( QT_QURL_SETENCODEDURL_1 ) -{ - hbqt_par_QUrl( 1 )->setEncodedUrl( *hbqt_par_QByteArray( 2 ), ( QUrl::ParsingMode ) hb_parni( 3 ) ); -} - -/* - * void setEncodedUserName ( const QByteArray & userName ) - */ -HB_FUNC( QT_QURL_SETENCODEDUSERNAME ) -{ - hbqt_par_QUrl( 1 )->setEncodedUserName( *hbqt_par_QByteArray( 2 ) ); -} - -/* - * void setFragment ( const QString & fragment ) - */ -HB_FUNC( QT_QURL_SETFRAGMENT ) -{ - hbqt_par_QUrl( 1 )->setFragment( hbqt_par_QString( 2 ) ); -} - -/* - * void setHost ( const QString & host ) - */ -HB_FUNC( QT_QURL_SETHOST ) -{ - hbqt_par_QUrl( 1 )->setHost( hbqt_par_QString( 2 ) ); -} - -/* - * void setPassword ( const QString & password ) - */ -HB_FUNC( QT_QURL_SETPASSWORD ) -{ - hbqt_par_QUrl( 1 )->setPassword( hbqt_par_QString( 2 ) ); -} - -/* - * void setPath ( const QString & path ) - */ -HB_FUNC( QT_QURL_SETPATH ) -{ - hbqt_par_QUrl( 1 )->setPath( hbqt_par_QString( 2 ) ); -} - -/* - * void setPort ( int port ) - */ -HB_FUNC( QT_QURL_SETPORT ) -{ - hbqt_par_QUrl( 1 )->setPort( hb_parni( 2 ) ); -} - -/* - * void setScheme ( const QString & scheme ) - */ -HB_FUNC( QT_QURL_SETSCHEME ) -{ - hbqt_par_QUrl( 1 )->setScheme( hbqt_par_QString( 2 ) ); -} - -/* - * void setUrl ( const QString & url ) - */ -HB_FUNC( QT_QURL_SETURL ) -{ - hbqt_par_QUrl( 1 )->setUrl( hbqt_par_QString( 2 ) ); -} - -/* - * void setUrl ( const QString & url, ParsingMode parsingMode ) - */ -HB_FUNC( QT_QURL_SETURL_1 ) -{ - hbqt_par_QUrl( 1 )->setUrl( hbqt_par_QString( 2 ), ( QUrl::ParsingMode ) hb_parni( 3 ) ); -} - -/* - * void setUserInfo ( const QString & userInfo ) - */ -HB_FUNC( QT_QURL_SETUSERINFO ) -{ - hbqt_par_QUrl( 1 )->setUserInfo( hbqt_par_QString( 2 ) ); -} - -/* - * void setUserName ( const QString & userName ) - */ -HB_FUNC( QT_QURL_SETUSERNAME ) -{ - hbqt_par_QUrl( 1 )->setUserName( hbqt_par_QString( 2 ) ); -} - -/* - * QByteArray toEncoded ( FormattingOptions options = None ) const - */ -HB_FUNC( QT_QURL_TOENCODED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->toEncoded( ( HB_ISNUM( 2 ) ? ( QUrl::FormattingOptions ) hb_parni( 2 ) : ( QUrl::FormattingOptions ) QUrl::None ) ) ) ) ); -} - -/* - * QString toLocalFile () const - */ -HB_FUNC( QT_QURL_TOLOCALFILE ) -{ - hb_retc( hbqt_par_QUrl( 1 )->toLocalFile().toAscii().data() ); -} - -/* - * QString toString ( FormattingOptions options = None ) const - */ -HB_FUNC( QT_QURL_TOSTRING ) -{ - hb_retc( hbqt_par_QUrl( 1 )->toString( ( HB_ISNUM( 2 ) ? ( QUrl::FormattingOptions ) hb_parni( 2 ) : ( QUrl::FormattingOptions ) QUrl::None ) ).toAscii().data() ); -} - -/* - * QString userInfo () const - */ -HB_FUNC( QT_QURL_USERINFO ) -{ - hb_retc( hbqt_par_QUrl( 1 )->userInfo().toAscii().data() ); -} - -/* - * QString userName () const - */ -HB_FUNC( QT_QURL_USERNAME ) -{ - hb_retc( hbqt_par_QUrl( 1 )->userName().toAscii().data() ); -} - -/* - * QString fromAce ( const QByteArray & domain ) - */ -HB_FUNC( QT_QURL_FROMACE ) -{ - hb_retc( hbqt_par_QUrl( 1 )->fromAce( *hbqt_par_QByteArray( 2 ) ).toAscii().data() ); -} - -/* - * QUrl fromEncoded ( const QByteArray & input ) - */ -HB_FUNC( QT_QURL_FROMENCODED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QUrl( 1 )->fromEncoded( *hbqt_par_QByteArray( 2 ) ) ) ) ); -} - -/* - * QUrl fromEncoded ( const QByteArray & input, ParsingMode parsingMode ) - */ -HB_FUNC( QT_QURL_FROMENCODED_1 ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QUrl( 1 )->fromEncoded( *hbqt_par_QByteArray( 2 ), ( QUrl::ParsingMode ) hb_parni( 3 ) ) ) ) ); -} - -/* - * QUrl fromLocalFile ( const QString & localFile ) - */ -HB_FUNC( QT_QURL_FROMLOCALFILE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QUrl( 1 )->fromLocalFile( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QString fromPercentEncoding ( const QByteArray & input ) - */ -HB_FUNC( QT_QURL_FROMPERCENTENCODING ) -{ - hb_retc( hbqt_par_QUrl( 1 )->fromPercentEncoding( *hbqt_par_QByteArray( 2 ) ).toAscii().data() ); -} - -/* - * QStringList idnWhitelist () - */ -HB_FUNC( QT_QURL_IDNWHITELIST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QUrl( 1 )->idnWhitelist() ) ) ); -} - -/* - * void setIdnWhitelist ( const QStringList & list ) - */ -HB_FUNC( QT_QURL_SETIDNWHITELIST ) -{ - hbqt_par_QUrl( 1 )->setIdnWhitelist( *hbqt_par_QStringList( 2 ) ); -} - -/* - * QByteArray toAce ( const QString & domain ) - */ -HB_FUNC( QT_QURL_TOACE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->toAce( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * QByteArray toPercentEncoding ( const QString & input, const QByteArray & exclude = QByteArray(), const QByteArray & include = QByteArray() ) - */ -HB_FUNC( QT_QURL_TOPERCENTENCODING ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QUrl( 1 )->toPercentEncoding( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QByteArray( 3 ) : QByteArray() ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QByteArray( 4 ) : QByteArray() ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QVBoxLayout.cpp b/harbour/contrib/hbqt/QVBoxLayout.cpp deleted file mode 100644 index c4f2b506af..0000000000 --- a/harbour/contrib/hbqt/QVBoxLayout.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QVBoxLayout () - * QVBoxLayout ( QWidget * parent ) - * ~QVBoxLayout () - */ - -HB_FUNC( QT_QVBOXLAYOUT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QVBoxLayout > pObj = NULL; - - pObj = ( QVBoxLayout* ) new QVBoxLayout( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QVariant.cpp b/harbour/contrib/hbqt/QVariant.cpp deleted file mode 100644 index 89c9918dc7..0000000000 --- a/harbour/contrib/hbqt/QVariant.cpp +++ /dev/null @@ -1,464 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Type { Invalid, BitArray, Bitmap, Bool, ..., UserType } - */ - -/* - * Constructed[ 36/42 [ 85.71% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QHash toHash () const - * QList toList () const - * QMap toMap () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * //QChar toChar () const - * //const char * typeName () const - * //T value () const - */ - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - - -/* -QVariant () -QVariant ( Qt::GlobalColor color ) -QVariant ( Type type ) -QVariant ( int typeOrUserType, const void * copy ) -QVariant ( const QVariant & p ) -QVariant ( QDataStream & s ) -QVariant ( int val ) -QVariant ( uint val ) -QVariant ( qlonglong val ) -QVariant ( qulonglong val ) -QVariant ( bool val ) -QVariant ( double val ) -QVariant ( const char * val ) -QVariant ( const QByteArray & val ) -QVariant ( const QBitArray & val ) -QVariant ( const QString & val ) -QVariant ( const QLatin1String & val ) -QVariant ( const QStringList & val ) -QVariant ( const QChar & c ) -QVariant ( const QDate & val ) -QVariant ( const QTime & val ) -QVariant ( const QDateTime & val ) -QVariant ( const QList & val ) -QVariant ( const QMap & val ) -QVariant ( const QHash & val ) -QVariant ( const QSize & val ) -QVariant ( const QSizeF & val ) -QVariant ( const QPoint & val ) -QVariant ( const QPointF & val ) -QVariant ( const QLine & val ) -QVariant ( const QLineF & val ) -QVariant ( const QRect & val ) -QVariant ( const QRectF & val ) -QVariant ( const QUrl & val ) -QVariant ( const QLocale & l ) -QVariant ( const QRegExp & regExp ) -~QVariant () - */ - -HB_FUNC( QT_QVARIANT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QVariant* ) new QVariant() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QVariant" ); - hb_retptrGC( p ); -} -/* - * bool canConvert ( Type t ) const - */ -HB_FUNC( QT_QVARIANT_CANCONVERT ) -{ - hb_retl( hbqt_par_QVariant( 1 )->canConvert( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - -/* - * bool canConvert ( Type t ) const - */ -HB_FUNC( QT_QVARIANT_CANCONVERT_1 ) -{ - hb_retl( hbqt_par_QVariant( 1 )->canConvert( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QVARIANT_CLEAR ) -{ - hbqt_par_QVariant( 1 )->clear(); -} - -/* - * bool convert ( Type t ) - */ -HB_FUNC( QT_QVARIANT_CONVERT ) -{ - hb_retl( hbqt_par_QVariant( 1 )->convert( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QVARIANT_ISNULL ) -{ - hb_retl( hbqt_par_QVariant( 1 )->isNull() ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QVARIANT_ISVALID ) -{ - hb_retl( hbqt_par_QVariant( 1 )->isValid() ); -} - -/* - * void setValue ( const T & value ) - */ -HB_FUNC( QT_QVARIANT_SETVALUE ) -{ - hbqt_par_QVariant( 1 )->setValue( hb_param( 2, HB_IT_ANY ) ); -} - -/* - * QBitArray toBitArray () const - */ -HB_FUNC( QT_QVARIANT_TOBITARRAY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QBitArray( hbqt_par_QVariant( 1 )->toBitArray() ) ) ); -} - -/* - * bool toBool () const - */ -HB_FUNC( QT_QVARIANT_TOBOOL ) -{ - hb_retl( hbqt_par_QVariant( 1 )->toBool() ); -} - -/* - * QByteArray toByteArray () const - */ -HB_FUNC( QT_QVARIANT_TOBYTEARRAY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QVariant( 1 )->toByteArray() ) ) ); -} - -/* - * QDate toDate () const - */ -HB_FUNC( QT_QVARIANT_TODATE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDate( hbqt_par_QVariant( 1 )->toDate() ) ) ); -} - -/* - * QDateTime toDateTime () const - */ -HB_FUNC( QT_QVARIANT_TODATETIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QVariant( 1 )->toDateTime() ) ) ); -} - -/* - * double toDouble ( bool * ok = 0 ) const - */ -HB_FUNC( QT_QVARIANT_TODOUBLE ) -{ - bool iOk = 0; - - hb_retnd( hbqt_par_QVariant( 1 )->toDouble( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * int toInt ( bool * ok = 0 ) const - */ -HB_FUNC( QT_QVARIANT_TOINT ) -{ - bool iOk = 0; - - hb_retni( hbqt_par_QVariant( 1 )->toInt( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QLine toLine () const - */ -HB_FUNC( QT_QVARIANT_TOLINE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLine( hbqt_par_QVariant( 1 )->toLine() ) ) ); -} - -/* - * QLineF toLineF () const - */ -HB_FUNC( QT_QVARIANT_TOLINEF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLineF( hbqt_par_QVariant( 1 )->toLineF() ) ) ); -} - -/* - * QLocale toLocale () const - */ -HB_FUNC( QT_QVARIANT_TOLOCALE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLocale( hbqt_par_QVariant( 1 )->toLocale() ) ) ); -} - -/* - * qlonglong toLongLong ( bool * ok = 0 ) const - */ -HB_FUNC( QT_QVARIANT_TOLONGLONG ) -{ - bool iOk = 0; - - hb_retnint( hbqt_par_QVariant( 1 )->toLongLong( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QPoint toPoint () const - */ -HB_FUNC( QT_QVARIANT_TOPOINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QVariant( 1 )->toPoint() ) ) ); -} - -/* - * QPointF toPointF () const - */ -HB_FUNC( QT_QVARIANT_TOPOINTF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPointF( hbqt_par_QVariant( 1 )->toPointF() ) ) ); -} - -/* - * QRect toRect () const - */ -HB_FUNC( QT_QVARIANT_TORECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QVariant( 1 )->toRect() ) ) ); -} - -/* - * QRectF toRectF () const - */ -HB_FUNC( QT_QVARIANT_TORECTF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRectF( hbqt_par_QVariant( 1 )->toRectF() ) ) ); -} - -/* - * QRegExp toRegExp () const - */ -HB_FUNC( QT_QVARIANT_TOREGEXP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegExp( hbqt_par_QVariant( 1 )->toRegExp() ) ) ); -} - -/* - * QSize toSize () const - */ -HB_FUNC( QT_QVARIANT_TOSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QVariant( 1 )->toSize() ) ) ); -} - -/* - * QSizeF toSizeF () const - */ -HB_FUNC( QT_QVARIANT_TOSIZEF ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizeF( hbqt_par_QVariant( 1 )->toSizeF() ) ) ); -} - -/* - * QString toString () const - */ -HB_FUNC( QT_QVARIANT_TOSTRING ) -{ - hb_retc( hbqt_par_QVariant( 1 )->toString().toAscii().data() ); -} - -/* - * QStringList toStringList () const - */ -HB_FUNC( QT_QVARIANT_TOSTRINGLIST ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QStringList( hbqt_par_QVariant( 1 )->toStringList() ) ) ); -} - -/* - * QTime toTime () const - */ -HB_FUNC( QT_QVARIANT_TOTIME ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QTime( hbqt_par_QVariant( 1 )->toTime() ) ) ); -} - -/* - * uint toUInt ( bool * ok = 0 ) const - */ -HB_FUNC( QT_QVARIANT_TOUINT ) -{ - bool iOk = 0; - - hb_retni( hbqt_par_QVariant( 1 )->toUInt( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * qulonglong toULongLong ( bool * ok = 0 ) const - */ -HB_FUNC( QT_QVARIANT_TOULONGLONG ) -{ - bool iOk = 0; - - hb_retnint( hbqt_par_QVariant( 1 )->toULongLong( &iOk ) ); - - hb_stornl( iOk, 2 ); -} - -/* - * QUrl toUrl () const - */ -HB_FUNC( QT_QVARIANT_TOURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QVariant( 1 )->toUrl() ) ) ); -} - -/* - * Type type () const - */ -HB_FUNC( QT_QVARIANT_TYPE ) -{ - hb_retni( ( QVariant::Type ) hbqt_par_QVariant( 1 )->type() ); -} - -/* - * int userType () const - */ -HB_FUNC( QT_QVARIANT_USERTYPE ) -{ - hb_retni( hbqt_par_QVariant( 1 )->userType() ); -} - -/* - * QVariant fromValue ( const T & value ) - */ -HB_FUNC( QT_QVARIANT_FROMVALUE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QVariant( 1 )->fromValue( hb_param( 2, HB_IT_ANY ) ) ) ) ); -} - -/* - * Type nameToType ( const char * name ) - */ -HB_FUNC( QT_QVARIANT_NAMETOTYPE ) -{ - hb_retni( ( QVariant::Type ) hbqt_par_QVariant( 1 )->nameToType( hbqt_par_char( 2 ) ) ); -} - -/* - * const char * typeToName ( Type typ ) - */ -HB_FUNC( QT_QVARIANT_TYPETONAME ) -{ - hb_retc( hbqt_par_QVariant( 1 )->typeToName( ( QVariant::Type ) hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebFrame.cpp b/harbour/contrib/hbqt/QWebFrame.cpp deleted file mode 100644 index 9dd60c25e2..0000000000 --- a/harbour/contrib/hbqt/QWebFrame.cpp +++ /dev/null @@ -1,394 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 37/40 [ 92.50% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList childFrames () const - * QMultiMap metaData () const - * - * *** Commented out protos which construct fine but do not compile *** - * - * // void load ( const QWebNetworkRequest & req ) - */ - -#include - -#include -#include - -/* - * - */ - -HB_FUNC( QT_QWEBFRAME ) -{ -} -/* - * void addToJavaScriptWindowObject ( const QString & name, QObject * object ) - */ -HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT ) -{ - hbqt_par_QWebFrame( 1 )->addToJavaScriptWindowObject( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ) ); -} - -/* - * void addToJavaScriptWindowObject ( const QString & name, QObject * object, QScriptEngine::ValueOwnership own ) - */ -HB_FUNC( QT_QWEBFRAME_ADDTOJAVASCRIPTWINDOWOBJECT_1 ) -{ - hbqt_par_QWebFrame( 1 )->addToJavaScriptWindowObject( hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ), ( QScriptEngine::ValueOwnership ) hb_parni( 4 ) ); -} - -/* - * QSize contentsSize () const - */ -HB_FUNC( QT_QWEBFRAME_CONTENTSSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWebFrame( 1 )->contentsSize() ) ) ); -} - -/* - * QString frameName () const - */ -HB_FUNC( QT_QWEBFRAME_FRAMENAME ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->frameName().toAscii().data() ); -} - -/* - * QRect geometry () const - */ -HB_FUNC( QT_QWEBFRAME_GEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWebFrame( 1 )->geometry() ) ) ); -} - -/* - * QWebHitTestResult hitTestContent ( const QPoint & pos ) const - */ -HB_FUNC( QT_QWEBFRAME_HITTESTCONTENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWebHitTestResult( hbqt_par_QWebFrame( 1 )->hitTestContent( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QWEBFRAME_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QWebFrame( 1 )->icon() ) ) ); -} - -/* - * void load ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBFRAME_LOAD ) -{ - hbqt_par_QWebFrame( 1 )->load( *hbqt_par_QUrl( 2 ) ); -} - -/* - * QWebPage * page () const - */ -HB_FUNC( QT_QWEBFRAME_PAGE ) -{ - hb_retptr( ( QWebPage* ) hbqt_par_QWebFrame( 1 )->page() ); -} - -/* - * QWebFrame * parentFrame () const - */ -HB_FUNC( QT_QWEBFRAME_PARENTFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebFrame( 1 )->parentFrame() ); -} - -/* - * QPoint pos () const - */ -HB_FUNC( QT_QWEBFRAME_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWebFrame( 1 )->pos() ) ) ); -} - -/* - * void render ( QPainter * painter, const QRegion & clip ) - */ -HB_FUNC( QT_QWEBFRAME_RENDER ) -{ - hbqt_par_QWebFrame( 1 )->render( hbqt_par_QPainter( 2 ), *hbqt_par_QRegion( 3 ) ); -} - -/* - * void render ( QPainter * painter ) - */ -HB_FUNC( QT_QWEBFRAME_RENDER_1 ) -{ - hbqt_par_QWebFrame( 1 )->render( hbqt_par_QPainter( 2 ) ); -} - -/* - * QString renderTreeDump () const - */ -HB_FUNC( QT_QWEBFRAME_RENDERTREEDUMP ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->renderTreeDump().toAscii().data() ); -} - -/* - * void scroll ( int dx, int dy ) - */ -HB_FUNC( QT_QWEBFRAME_SCROLL ) -{ - hbqt_par_QWebFrame( 1 )->scroll( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * int scrollBarMaximum ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARMAXIMUM ) -{ - hb_retni( hbqt_par_QWebFrame( 1 )->scrollBarMaximum( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * int scrollBarMinimum ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARMINIMUM ) -{ - hb_retni( hbqt_par_QWebFrame( 1 )->scrollBarMinimum( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * Qt::ScrollBarPolicy scrollBarPolicy ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARPOLICY ) -{ - hb_retni( ( Qt::ScrollBarPolicy ) hbqt_par_QWebFrame( 1 )->scrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * int scrollBarValue ( Qt::Orientation orientation ) const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLBARVALUE ) -{ - hb_retni( hbqt_par_QWebFrame( 1 )->scrollBarValue( ( Qt::Orientation ) hb_parni( 2 ) ) ); -} - -/* - * QPoint scrollPosition () const - */ -HB_FUNC( QT_QWEBFRAME_SCROLLPOSITION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWebFrame( 1 )->scrollPosition() ) ) ); -} - -/* - * QWebSecurityOrigin securityOrigin () const - */ -HB_FUNC( QT_QWEBFRAME_SECURITYORIGIN ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWebSecurityOrigin( hbqt_par_QWebFrame( 1 )->securityOrigin() ) ) ); -} - -/* - * void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBFRAME_SETCONTENT ) -{ - hbqt_par_QWebFrame( 1 )->setContent( *hbqt_par_QByteArray( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); -} - -/* - * void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBFRAME_SETHTML ) -{ - hbqt_par_QWebFrame( 1 )->setHtml( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); -} - -/* - * void setScrollBarPolicy ( Qt::Orientation orientation, Qt::ScrollBarPolicy policy ) - */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLBARPOLICY ) -{ - hbqt_par_QWebFrame( 1 )->setScrollBarPolicy( ( Qt::Orientation ) hb_parni( 2 ), ( Qt::ScrollBarPolicy ) hb_parni( 3 ) ); -} - -/* - * void setScrollBarValue ( Qt::Orientation orientation, int value ) - */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLBARVALUE ) -{ - hbqt_par_QWebFrame( 1 )->setScrollBarValue( ( Qt::Orientation ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setScrollPosition ( const QPoint & pos ) - */ -HB_FUNC( QT_QWEBFRAME_SETSCROLLPOSITION ) -{ - hbqt_par_QWebFrame( 1 )->setScrollPosition( *hbqt_par_QPoint( 2 ) ); -} - -/* - * void setTextSizeMultiplier ( qreal factor ) - */ -HB_FUNC( QT_QWEBFRAME_SETTEXTSIZEMULTIPLIER ) -{ - hbqt_par_QWebFrame( 1 )->setTextSizeMultiplier( hb_parnd( 2 ) ); -} - -/* - * void setUrl ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBFRAME_SETURL ) -{ - hbqt_par_QWebFrame( 1 )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* - * void setZoomFactor ( qreal factor ) - */ -HB_FUNC( QT_QWEBFRAME_SETZOOMFACTOR ) -{ - hbqt_par_QWebFrame( 1 )->setZoomFactor( hb_parnd( 2 ) ); -} - -/* - * qreal textSizeMultiplier () const - */ -HB_FUNC( QT_QWEBFRAME_TEXTSIZEMULTIPLIER ) -{ - hb_retnd( hbqt_par_QWebFrame( 1 )->textSizeMultiplier() ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBFRAME_TITLE ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->title().toAscii().data() ); -} - -/* - * QString toHtml () const - */ -HB_FUNC( QT_QWEBFRAME_TOHTML ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->toHtml().toAscii().data() ); -} - -/* - * QString toPlainText () const - */ -HB_FUNC( QT_QWEBFRAME_TOPLAINTEXT ) -{ - hb_retc( hbqt_par_QWebFrame( 1 )->toPlainText().toAscii().data() ); -} - -/* - * QUrl url () const - */ -HB_FUNC( QT_QWEBFRAME_URL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebFrame( 1 )->url() ) ) ); -} - -/* - * qreal zoomFactor () const - */ -HB_FUNC( QT_QWEBFRAME_ZOOMFACTOR ) -{ - hb_retnd( hbqt_par_QWebFrame( 1 )->zoomFactor() ); -} - -/* - * QVariant evaluateJavaScript ( const QString & scriptSource ) - */ -HB_FUNC( QT_QWEBFRAME_EVALUATEJAVASCRIPT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QWebFrame( 1 )->evaluateJavaScript( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * void print ( QPrinter * printer ) const - */ -HB_FUNC( QT_QWEBFRAME_PRINT ) -{ - hbqt_par_QWebFrame( 1 )->print( hbqt_par_QPrinter( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebHistory.cpp b/harbour/contrib/hbqt/QWebHistory.cpp deleted file mode 100644 index 50661285db..0000000000 --- a/harbour/contrib/hbqt/QWebHistory.cpp +++ /dev/null @@ -1,207 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 14/17 [ 82.35% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList backItems ( int maxItems ) const - * QList forwardItems ( int maxItems ) const - * QList items () const - */ - -#include - -#include - - -/* - * - */ - -HB_FUNC( QT_QWEBHISTORY ) -{ -} -/* - * void back () - */ -HB_FUNC( QT_QWEBHISTORY_BACK ) -{ - hbqt_par_QWebHistory( 1 )->back(); -} - -/* - * QWebHistoryItem backItem () const - */ -HB_FUNC( QT_QWEBHISTORY_BACKITEM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->backItem() ) ) ); -} - -/* - * bool canGoBack () const - */ -HB_FUNC( QT_QWEBHISTORY_CANGOBACK ) -{ - hb_retl( hbqt_par_QWebHistory( 1 )->canGoBack() ); -} - -/* - * bool canGoForward () const - */ -HB_FUNC( QT_QWEBHISTORY_CANGOFORWARD ) -{ - hb_retl( hbqt_par_QWebHistory( 1 )->canGoForward() ); -} - -/* - * void clear () - */ -HB_FUNC( QT_QWEBHISTORY_CLEAR ) -{ - hbqt_par_QWebHistory( 1 )->clear(); -} - -/* - * int count () const - */ -HB_FUNC( QT_QWEBHISTORY_COUNT ) -{ - hb_retni( hbqt_par_QWebHistory( 1 )->count() ); -} - -/* - * QWebHistoryItem currentItem () const - */ -HB_FUNC( QT_QWEBHISTORY_CURRENTITEM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->currentItem() ) ) ); -} - -/* - * int currentItemIndex () const - */ -HB_FUNC( QT_QWEBHISTORY_CURRENTITEMINDEX ) -{ - hb_retni( hbqt_par_QWebHistory( 1 )->currentItemIndex() ); -} - -/* - * void forward () - */ -HB_FUNC( QT_QWEBHISTORY_FORWARD ) -{ - hbqt_par_QWebHistory( 1 )->forward(); -} - -/* - * QWebHistoryItem forwardItem () const - */ -HB_FUNC( QT_QWEBHISTORY_FORWARDITEM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->forwardItem() ) ) ); -} - -/* - * void goToItem ( const QWebHistoryItem & item ) - */ -HB_FUNC( QT_QWEBHISTORY_GOTOITEM ) -{ - hbqt_par_QWebHistory( 1 )->goToItem( *hbqt_par_QWebHistoryItem( 2 ) ); -} - -/* - * QWebHistoryItem itemAt ( int i ) const - */ -HB_FUNC( QT_QWEBHISTORY_ITEMAT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QWebHistoryItem( hbqt_par_QWebHistory( 1 )->itemAt( hb_parni( 2 ) ) ) ) ); -} - -/* - * int maximumItemCount () const - */ -HB_FUNC( QT_QWEBHISTORY_MAXIMUMITEMCOUNT ) -{ - hb_retni( hbqt_par_QWebHistory( 1 )->maximumItemCount() ); -} - -/* - * void setMaximumItemCount ( int count ) - */ -HB_FUNC( QT_QWEBHISTORY_SETMAXIMUMITEMCOUNT ) -{ - hbqt_par_QWebHistory( 1 )->setMaximumItemCount( hb_parni( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebHistoryInterface.cpp b/harbour/contrib/hbqt/QWebHistoryInterface.cpp deleted file mode 100644 index 5a74bebba4..0000000000 --- a/harbour/contrib/hbqt/QWebHistoryInterface.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWebHistoryInterface ( QObject * parent = 0 ) - * ~QWebHistoryInterface () - */ - -HB_FUNC( QT_QWEBHISTORYINTERFACE ) -{ -} -/* - * virtual void addHistoryEntry ( const QString & url ) = 0 - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_ADDHISTORYENTRY ) -{ - hbqt_par_QWebHistoryInterface( 1 )->addHistoryEntry( hbqt_par_QString( 2 ) ); -} - -/* - * virtual bool historyContains ( const QString & url ) const = 0 - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_HISTORYCONTAINS ) -{ - hb_retl( hbqt_par_QWebHistoryInterface( 1 )->historyContains( hbqt_par_QString( 2 ) ) ); -} - -/* - * QWebHistoryInterface * defaultInterface () - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_DEFAULTINTERFACE ) -{ - hb_retptr( ( QWebHistoryInterface* ) hbqt_par_QWebHistoryInterface( 1 )->defaultInterface() ); -} - -/* - * void setDefaultInterface ( QWebHistoryInterface * defaultInterface ) - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE_SETDEFAULTINTERFACE ) -{ - hbqt_par_QWebHistoryInterface( 1 )->setDefaultInterface( hbqt_par_QWebHistoryInterface( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebHistoryItem.cpp b/harbour/contrib/hbqt/QWebHistoryItem.cpp deleted file mode 100644 index 525f352eb9..0000000000 --- a/harbour/contrib/hbqt/QWebHistoryItem.cpp +++ /dev/null @@ -1,162 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - -#include - - -/* - * QWebHistoryItem ( const QWebHistoryItem & other ) - * ~QWebHistoryItem () - */ - -HB_FUNC( QT_QWEBHISTORYITEM ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWebHistoryItem( *hbqt_par_QWebHistoryItem( 1 ) ) ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QWebHistoryItem" ); - hb_retptrGC( p ); -} -/* - * QIcon icon () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QWebHistoryItem( 1 )->icon() ) ) ); -} - -/* - * bool isValid () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_ISVALID ) -{ - hb_retl( hbqt_par_QWebHistoryItem( 1 )->isValid() ); -} - -/* - * QDateTime lastVisited () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_LASTVISITED ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QDateTime( hbqt_par_QWebHistoryItem( 1 )->lastVisited() ) ) ); -} - -/* - * QUrl originalUrl () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_ORIGINALURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebHistoryItem( 1 )->originalUrl() ) ) ); -} - -/* - * void setUserData ( const QVariant & userData ) - */ -HB_FUNC( QT_QWEBHISTORYITEM_SETUSERDATA ) -{ - hbqt_par_QWebHistoryItem( 1 )->setUserData( *hbqt_par_QVariant( 2 ) ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_TITLE ) -{ - hb_retc( hbqt_par_QWebHistoryItem( 1 )->title().toAscii().data() ); -} - -/* - * QUrl url () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_URL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebHistoryItem( 1 )->url() ) ) ); -} - -/* - * QVariant userData () const - */ -HB_FUNC( QT_QWEBHISTORYITEM_USERDATA ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QWebHistoryItem( 1 )->userData() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebHitTestResult.cpp b/harbour/contrib/hbqt/QWebHitTestResult.cpp deleted file mode 100644 index d889876606..0000000000 --- a/harbour/contrib/hbqt/QWebHitTestResult.cpp +++ /dev/null @@ -1,206 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWebHitTestResult () - * QWebHitTestResult ( const QWebHitTestResult & other ) - * ~QWebHitTestResult () - */ - -HB_FUNC( QT_QWEBHITTESTRESULT ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - pObj = ( QWebHitTestResult* ) new QWebHitTestResult() ; - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QWebHitTestResult" ); - hb_retptrGC( p ); -} -/* - * QString alternateText () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ALTERNATETEXT ) -{ - hb_retc( hbqt_par_QWebHitTestResult( 1 )->alternateText().toAscii().data() ); -} - -/* - * QRect boundingRect () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_BOUNDINGRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWebHitTestResult( 1 )->boundingRect() ) ) ); -} - -/* - * QWebFrame * frame () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_FRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebHitTestResult( 1 )->frame() ); -} - -/* - * QUrl imageUrl () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_IMAGEURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebHitTestResult( 1 )->imageUrl() ) ) ); -} - -/* - * bool isContentEditable () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTEDITABLE ) -{ - hb_retl( hbqt_par_QWebHitTestResult( 1 )->isContentEditable() ); -} - -/* - * bool isContentSelected () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISCONTENTSELECTED ) -{ - hb_retl( hbqt_par_QWebHitTestResult( 1 )->isContentSelected() ); -} - -/* - * bool isNull () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_ISNULL ) -{ - hb_retl( hbqt_par_QWebHitTestResult( 1 )->isNull() ); -} - -/* - * QWebFrame * linkTargetFrame () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTARGETFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebHitTestResult( 1 )->linkTargetFrame() ); -} - -/* - * QString linkText () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTEXT ) -{ - hb_retc( hbqt_par_QWebHitTestResult( 1 )->linkText().toAscii().data() ); -} - -/* - * QUrl linkTitle () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKTITLE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebHitTestResult( 1 )->linkTitle() ) ) ); -} - -/* - * QUrl linkUrl () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_LINKURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebHitTestResult( 1 )->linkUrl() ) ) ); -} - -/* - * QPixmap pixmap () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_PIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QWebHitTestResult( 1 )->pixmap() ) ) ); -} - -/* - * QPoint pos () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWebHitTestResult( 1 )->pos() ) ) ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBHITTESTRESULT_TITLE ) -{ - hb_retc( hbqt_par_QWebHitTestResult( 1 )->title().toAscii().data() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebPage.cpp b/harbour/contrib/hbqt/QWebPage.cpp deleted file mode 100644 index 0802ba661a..0000000000 --- a/harbour/contrib/hbqt/QWebPage.cpp +++ /dev/null @@ -1,376 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum Extension { ChooseMultipleFilesExtension } - * enum FindFlag { FindBackward, FindCaseSensitively, FindWrapsAroundDocument } - * enum LinkDelegationPolicy { DontDelegateLinks, DelegateExternalLinks, DelegateAllLinks } - * enum NavigationType { NavigationTypeLinkClicked, NavigationTypeFormSubmitted, NavigationTypeBackOrForward, NavigationTypeReload, NavigationTypeFormResubmitted, NavigationTypeOther } - * enum WebAction { NoWebAction, OpenLink, OpenLinkInNewWindow, OpenFrameInNewWindow, ..., SelectAll } - * enum WebWindowType { WebBrowserWindow, WebModalDialog } - * flags FindFlags - */ - -#include - -#include -#include - - -/* - * QWebPage ( QObject * parent = 0 ) - * ~QWebPage () - */ - -HB_FUNC( QT_QWEBPAGE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWebPage > pObj = NULL; - - pObj = new QWebPage( hbqt_par_QWidget( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QAction * action ( WebAction action ) const - */ -HB_FUNC( QT_QWEBPAGE_ACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QWebPage( 1 )->action( ( QWebPage::WebAction ) hb_parni( 2 ) ) ); -} - -/* - * quint64 bytesReceived () const - */ -HB_FUNC( QT_QWEBPAGE_BYTESRECEIVED ) -{ - hb_retnint( hbqt_par_QWebPage( 1 )->bytesReceived() ); -} - -/* - * QMenu * createStandardContextMenu () - */ -HB_FUNC( QT_QWEBPAGE_CREATESTANDARDCONTEXTMENU ) -{ - hb_retptr( ( QMenu* ) hbqt_par_QWebPage( 1 )->createStandardContextMenu() ); -} - -/* - * QWebFrame * currentFrame () const - */ -HB_FUNC( QT_QWEBPAGE_CURRENTFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebPage( 1 )->currentFrame() ); -} - -/* - * bool findText ( const QString & subString, FindFlags options = 0 ) - */ -HB_FUNC( QT_QWEBPAGE_FINDTEXT ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->findText( hbqt_par_QString( 2 ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); -} - -/* - * bool focusNextPrevChild ( bool next ) - */ -HB_FUNC( QT_QWEBPAGE_FOCUSNEXTPREVCHILD ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->focusNextPrevChild( hb_parl( 2 ) ) ); -} - -/* - * bool forwardUnsupportedContent () const - */ -HB_FUNC( QT_QWEBPAGE_FORWARDUNSUPPORTEDCONTENT ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->forwardUnsupportedContent() ); -} - -/* - * QWebHistory * history () const - */ -HB_FUNC( QT_QWEBPAGE_HISTORY ) -{ - hb_retptr( ( QWebHistory* ) hbqt_par_QWebPage( 1 )->history() ); -} - -/* - * QVariant inputMethodQuery ( Qt::InputMethodQuery property ) const - */ -HB_FUNC( QT_QWEBPAGE_INPUTMETHODQUERY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QWebPage( 1 )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ) ) ); -} - -/* - * bool isContentEditable () const - */ -HB_FUNC( QT_QWEBPAGE_ISCONTENTEDITABLE ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->isContentEditable() ); -} - -/* - * bool isModified () const - */ -HB_FUNC( QT_QWEBPAGE_ISMODIFIED ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->isModified() ); -} - -/* - * LinkDelegationPolicy linkDelegationPolicy () const - */ -HB_FUNC( QT_QWEBPAGE_LINKDELEGATIONPOLICY ) -{ - hb_retni( ( QWebPage::LinkDelegationPolicy ) hbqt_par_QWebPage( 1 )->linkDelegationPolicy() ); -} - -/* - * QWebFrame * mainFrame () const - */ -HB_FUNC( QT_QWEBPAGE_MAINFRAME ) -{ - hb_retptr( ( QWebFrame* ) hbqt_par_QWebPage( 1 )->mainFrame() ); -} - -/* - * QNetworkAccessManager * networkAccessManager () const - */ -HB_FUNC( QT_QWEBPAGE_NETWORKACCESSMANAGER ) -{ - hb_retptr( ( QNetworkAccessManager* ) hbqt_par_QWebPage( 1 )->networkAccessManager() ); -} - -/* - * QPalette palette () const - */ -HB_FUNC( QT_QWEBPAGE_PALETTE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QWebPage( 1 )->palette() ) ) ); -} - -/* - * QWebPluginFactory * pluginFactory () const - */ -HB_FUNC( QT_QWEBPAGE_PLUGINFACTORY ) -{ - hb_retptr( ( QWebPluginFactory* ) hbqt_par_QWebPage( 1 )->pluginFactory() ); -} - -/* - * QString selectedText () const - */ -HB_FUNC( QT_QWEBPAGE_SELECTEDTEXT ) -{ - hb_retc( hbqt_par_QWebPage( 1 )->selectedText().toAscii().data() ); -} - -/* - * void setContentEditable ( bool editable ) - */ -HB_FUNC( QT_QWEBPAGE_SETCONTENTEDITABLE ) -{ - hbqt_par_QWebPage( 1 )->setContentEditable( hb_parl( 2 ) ); -} - -/* - * void setForwardUnsupportedContent ( bool forward ) - */ -HB_FUNC( QT_QWEBPAGE_SETFORWARDUNSUPPORTEDCONTENT ) -{ - hbqt_par_QWebPage( 1 )->setForwardUnsupportedContent( hb_parl( 2 ) ); -} - -/* - * void setLinkDelegationPolicy ( LinkDelegationPolicy policy ) - */ -HB_FUNC( QT_QWEBPAGE_SETLINKDELEGATIONPOLICY ) -{ - hbqt_par_QWebPage( 1 )->setLinkDelegationPolicy( ( QWebPage::LinkDelegationPolicy ) hb_parni( 2 ) ); -} - -/* - * void setNetworkAccessManager ( QNetworkAccessManager * manager ) - */ -HB_FUNC( QT_QWEBPAGE_SETNETWORKACCESSMANAGER ) -{ - hbqt_par_QWebPage( 1 )->setNetworkAccessManager( hbqt_par_QNetworkAccessManager( 2 ) ); -} - -/* - * void setPalette ( const QPalette & palette ) - */ -HB_FUNC( QT_QWEBPAGE_SETPALETTE ) -{ - hbqt_par_QWebPage( 1 )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* - * void setPluginFactory ( QWebPluginFactory * factory ) - */ -HB_FUNC( QT_QWEBPAGE_SETPLUGINFACTORY ) -{ - hbqt_par_QWebPage( 1 )->setPluginFactory( hbqt_par_QWebPluginFactory( 2 ) ); -} - -/* - * void setView ( QWidget * view ) - */ -HB_FUNC( QT_QWEBPAGE_SETVIEW ) -{ - hbqt_par_QWebPage( 1 )->setView( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setViewportSize ( const QSize & size ) const - */ -HB_FUNC( QT_QWEBPAGE_SETVIEWPORTSIZE ) -{ - hbqt_par_QWebPage( 1 )->setViewportSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * QWebSettings * settings () const - */ -HB_FUNC( QT_QWEBPAGE_SETTINGS ) -{ - hb_retptr( ( QWebSettings* ) hbqt_par_QWebPage( 1 )->settings() ); -} - -/* - * virtual bool supportsExtension ( Extension extension ) const - */ -HB_FUNC( QT_QWEBPAGE_SUPPORTSEXTENSION ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->supportsExtension( ( QWebPage::Extension ) hb_parni( 2 ) ) ); -} - -/* - * bool swallowContextMenuEvent ( QContextMenuEvent * event ) - */ -HB_FUNC( QT_QWEBPAGE_SWALLOWCONTEXTMENUEVENT ) -{ - hb_retl( hbqt_par_QWebPage( 1 )->swallowContextMenuEvent( hbqt_par_QContextMenuEvent( 2 ) ) ); -} - -/* - * quint64 totalBytes () const - */ -HB_FUNC( QT_QWEBPAGE_TOTALBYTES ) -{ - hb_retnint( hbqt_par_QWebPage( 1 )->totalBytes() ); -} - -/* - * virtual void triggerAction ( WebAction action, bool checked = false ) - */ -HB_FUNC( QT_QWEBPAGE_TRIGGERACTION ) -{ - hbqt_par_QWebPage( 1 )->triggerAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * QUndoStack * undoStack () const - */ -HB_FUNC( QT_QWEBPAGE_UNDOSTACK ) -{ - hb_retptr( ( QUndoStack* ) hbqt_par_QWebPage( 1 )->undoStack() ); -} - -/* - * void updatePositionDependentActions ( const QPoint & pos ) - */ -HB_FUNC( QT_QWEBPAGE_UPDATEPOSITIONDEPENDENTACTIONS ) -{ - hbqt_par_QWebPage( 1 )->updatePositionDependentActions( *hbqt_par_QPoint( 2 ) ); -} - -/* - * QWidget * view () const - */ -HB_FUNC( QT_QWEBPAGE_VIEW ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWebPage( 1 )->view() ); -} - -/* - * QSize viewportSize () const - */ -HB_FUNC( QT_QWEBPAGE_VIEWPORTSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWebPage( 1 )->viewportSize() ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebPluginFactory.cpp b/harbour/contrib/hbqt/QWebPluginFactory.cpp deleted file mode 100644 index f6f938ba99..0000000000 --- a/harbour/contrib/hbqt/QWebPluginFactory.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * class ExtensionOption - * enum Extension { } - */ - -/* - * Constructed[ 3/5 [ 60.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * virtual QList plugins () const = 0 - * - * *** Commented out protos which construct fine but do not compile *** - * - * // virtual bool extension ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 ) - */ - -#include - -#include - - -/* - * QWebPluginFactory ( QObject * parent = 0 ) - * virtual ~QWebPluginFactory () - */ - -HB_FUNC( QT_QWEBPLUGINFACTORY ) -{ -} -/* - * virtual QObject * create ( const QString & mimeType, const QUrl & url, const QStringList & argumentNames, const QStringList & argumentValues ) const = 0 - */ -HB_FUNC( QT_QWEBPLUGINFACTORY_CREATE ) -{ - hb_retptr( ( QObject* ) hbqt_par_QWebPluginFactory( 1 )->create( hbqt_par_QString( 2 ), *hbqt_par_QUrl( 3 ), *hbqt_par_QStringList( 4 ), *hbqt_par_QStringList( 5 ) ) ); -} - -/* - * virtual void refreshPlugins () - */ -HB_FUNC( QT_QWEBPLUGINFACTORY_REFRESHPLUGINS ) -{ - hbqt_par_QWebPluginFactory( 1 )->refreshPlugins(); -} - -/* - * virtual bool supportsExtension ( Extension extension ) const - */ -HB_FUNC( QT_QWEBPLUGINFACTORY_SUPPORTSEXTENSION ) -{ - hb_retl( hbqt_par_QWebPluginFactory( 1 )->supportsExtension( ( QWebPluginFactory::Extension ) hb_parni( 2 ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebSecurityOrigin.cpp b/harbour/contrib/hbqt/QWebSecurityOrigin.cpp deleted file mode 100644 index 902aee1a44..0000000000 --- a/harbour/contrib/hbqt/QWebSecurityOrigin.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * Constructed[ 6/8 [ 75.00% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList databases () const - * QList allOrigins () - */ - -#include - -#include - - -/* - * QWebSecurityOrigin ( const QWebSecurityOrigin & other ) - * ~QWebSecurityOrigin () - */ - -HB_FUNC( QT_QWEBSECURITYORIGIN ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - void * pObj = NULL; - - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - pObj = new QWebSecurityOrigin( *hbqt_par_QWebSecurityOrigin( 1 ) ) ; - } - - p->ph = pObj; - p->type = hbqt_getIdByName( ( QString ) "QWebSecurityOrigin" ); - hb_retptrGC( p ); -} -/* - * qint64 databaseQuota () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEQUOTA ) -{ - hb_retnint( hbqt_par_QWebSecurityOrigin( 1 )->databaseQuota() ); -} - -/* - * qint64 databaseUsage () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_DATABASEUSAGE ) -{ - hb_retnint( hbqt_par_QWebSecurityOrigin( 1 )->databaseUsage() ); -} - -/* - * QString host () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_HOST ) -{ - hb_retc( hbqt_par_QWebSecurityOrigin( 1 )->host().toAscii().data() ); -} - -/* - * int port () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_PORT ) -{ - hb_retni( hbqt_par_QWebSecurityOrigin( 1 )->port() ); -} - -/* - * QString scheme () const - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_SCHEME ) -{ - hb_retc( hbqt_par_QWebSecurityOrigin( 1 )->scheme().toAscii().data() ); -} - -/* - * void setDatabaseQuota ( qint64 quota ) - */ -HB_FUNC( QT_QWEBSECURITYORIGIN_SETDATABASEQUOTA ) -{ - hbqt_par_QWebSecurityOrigin( 1 )->setDatabaseQuota( hb_parnint( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebSettings.cpp b/harbour/contrib/hbqt/QWebSettings.cpp deleted file mode 100644 index 1f9e28feea..0000000000 --- a/harbour/contrib/hbqt/QWebSettings.cpp +++ /dev/null @@ -1,292 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum FontFamily { StandardFont, FixedFont, SerifFont, SansSerifFont, CursiveFont, FantasyFont } - * enum FontSize { MinimumFontSize, MinimumLogicalFontSize, DefaultFontSize, DefaultFixedFontSize } - * enum WebAttribute { AutoLoadImages, JavascriptEnabled, JavaEnabled, PluginsEnabled, ..., LocalStorageDatabaseEnabled } - * enum WebGraphic { MissingImageGraphic, MissingPluginGraphic, DefaultFrameIconGraphic, TextAreaSizeGripCornerGraphic } - */ - -#include - -#include -#include - - -/* - * - */ - -HB_FUNC( QT_QWEBSETTINGS ) -{ -} -/* - * QString fontFamily ( FontFamily which ) const - */ -HB_FUNC( QT_QWEBSETTINGS_FONTFAMILY ) -{ - hb_retc( hbqt_par_QWebSettings( 1 )->fontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * int fontSize ( FontSize type ) const - */ -HB_FUNC( QT_QWEBSETTINGS_FONTSIZE ) -{ - hb_retni( hbqt_par_QWebSettings( 1 )->fontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ) ); -} - -/* - * void resetAttribute ( WebAttribute attribute ) - */ -HB_FUNC( QT_QWEBSETTINGS_RESETATTRIBUTE ) -{ - hbqt_par_QWebSettings( 1 )->resetAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ); -} - -/* - * void resetFontFamily ( FontFamily which ) - */ -HB_FUNC( QT_QWEBSETTINGS_RESETFONTFAMILY ) -{ - hbqt_par_QWebSettings( 1 )->resetFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ) ); -} - -/* - * void resetFontSize ( FontSize type ) - */ -HB_FUNC( QT_QWEBSETTINGS_RESETFONTSIZE ) -{ - hbqt_par_QWebSettings( 1 )->resetFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ) ); -} - -/* - * void setAttribute ( WebAttribute attribute, bool on ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETATTRIBUTE ) -{ - hbqt_par_QWebSettings( 1 )->setAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setFontFamily ( FontFamily which, const QString & family ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETFONTFAMILY ) -{ - hbqt_par_QWebSettings( 1 )->setFontFamily( ( QWebSettings::FontFamily ) hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setFontSize ( FontSize type, int size ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETFONTSIZE ) -{ - hbqt_par_QWebSettings( 1 )->setFontSize( ( QWebSettings::FontSize ) hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setUserStyleSheetUrl ( const QUrl & location ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETUSERSTYLESHEETURL ) -{ - hbqt_par_QWebSettings( 1 )->setUserStyleSheetUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* - * bool testAttribute ( WebAttribute attribute ) const - */ -HB_FUNC( QT_QWEBSETTINGS_TESTATTRIBUTE ) -{ - hb_retl( hbqt_par_QWebSettings( 1 )->testAttribute( ( QWebSettings::WebAttribute ) hb_parni( 2 ) ) ); -} - -/* - * QUrl userStyleSheetUrl () const - */ -HB_FUNC( QT_QWEBSETTINGS_USERSTYLESHEETURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebSettings( 1 )->userStyleSheetUrl() ) ) ); -} - -/* - * void clearIconDatabase () - */ -HB_FUNC( QT_QWEBSETTINGS_CLEARICONDATABASE ) -{ - hbqt_par_QWebSettings( 1 )->clearIconDatabase(); -} - -/* - * QWebSettings * globalSettings () - */ -HB_FUNC( QT_QWEBSETTINGS_GLOBALSETTINGS ) -{ - hb_retptr( ( QWebSettings* ) hbqt_par_QWebSettings( 1 )->globalSettings() ); -} - -/* - * QString iconDatabasePath () - */ -HB_FUNC( QT_QWEBSETTINGS_ICONDATABASEPATH ) -{ - hb_retc( hbqt_par_QWebSettings( 1 )->iconDatabasePath().toAscii().data() ); -} - -/* - * QIcon iconForUrl ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBSETTINGS_ICONFORURL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QWebSettings( 1 )->iconForUrl( *hbqt_par_QUrl( 2 ) ) ) ) ); -} - -/* - * int maximumPagesInCache () - */ -HB_FUNC( QT_QWEBSETTINGS_MAXIMUMPAGESINCACHE ) -{ - hb_retni( hbqt_par_QWebSettings( 1 )->maximumPagesInCache() ); -} - -/* - * qint64 offlineStorageDefaultQuota () - */ -HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEDEFAULTQUOTA ) -{ - hb_retnint( hbqt_par_QWebSettings( 1 )->offlineStorageDefaultQuota() ); -} - -/* - * QString offlineStoragePath () - */ -HB_FUNC( QT_QWEBSETTINGS_OFFLINESTORAGEPATH ) -{ - hb_retc( hbqt_par_QWebSettings( 1 )->offlineStoragePath().toAscii().data() ); -} - -/* - * void setIconDatabasePath ( const QString & path ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETICONDATABASEPATH ) -{ - hbqt_par_QWebSettings( 1 )->setIconDatabasePath( hbqt_par_QString( 2 ) ); -} - -/* - * void setMaximumPagesInCache ( int pages ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETMAXIMUMPAGESINCACHE ) -{ - hbqt_par_QWebSettings( 1 )->setMaximumPagesInCache( hb_parni( 2 ) ); -} - -/* - * void setObjectCacheCapacities ( int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETOBJECTCACHECAPACITIES ) -{ - hbqt_par_QWebSettings( 1 )->setObjectCacheCapacities( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ); -} - -/* - * void setOfflineStorageDefaultQuota ( qint64 maximumSize ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEDEFAULTQUOTA ) -{ - hbqt_par_QWebSettings( 1 )->setOfflineStorageDefaultQuota( hb_parnint( 2 ) ); -} - -/* - * void setOfflineStoragePath ( const QString & path ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETOFFLINESTORAGEPATH ) -{ - hbqt_par_QWebSettings( 1 )->setOfflineStoragePath( hbqt_par_QString( 2 ) ); -} - -/* - * void setWebGraphic ( WebGraphic type, const QPixmap & graphic ) - */ -HB_FUNC( QT_QWEBSETTINGS_SETWEBGRAPHIC ) -{ - hbqt_par_QWebSettings( 1 )->setWebGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* - * QPixmap webGraphic ( WebGraphic type ) - */ -HB_FUNC( QT_QWEBSETTINGS_WEBGRAPHIC ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QWebSettings( 1 )->webGraphic( ( QWebSettings::WebGraphic ) hb_parni( 2 ) ) ) ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWebView.cpp b/harbour/contrib/hbqt/QWebView.cpp deleted file mode 100644 index 96036bc7fd..0000000000 --- a/harbour/contrib/hbqt/QWebView.cpp +++ /dev/null @@ -1,302 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - - -/* - * QWebView ( QWidget * parent = 0 ) - * virtual ~QWebView () - */ - -HB_FUNC( QT_QWEBVIEW ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWebView > pObj = NULL; - - pObj = new QWebView( hbqt_par_QWidget( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool findText ( const QString & subString, QWebPage::FindFlags options = 0 ) - */ -HB_FUNC( QT_QWEBVIEW_FINDTEXT ) -{ - hb_retl( hbqt_par_QWebView( 1 )->findText( hbqt_par_QString( 2 ), ( QWebPage::FindFlags ) hb_parni( 3 ) ) ); -} - -/* - * QWebHistory * history () const - */ -HB_FUNC( QT_QWEBVIEW_HISTORY ) -{ - hb_retptr( ( QWebHistory* ) hbqt_par_QWebView( 1 )->history() ); -} - -/* - * QIcon icon () const - */ -HB_FUNC( QT_QWEBVIEW_ICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QWebView( 1 )->icon() ) ) ); -} - -/* - * bool isModified () const - */ -HB_FUNC( QT_QWEBVIEW_ISMODIFIED ) -{ - hb_retl( hbqt_par_QWebView( 1 )->isModified() ); -} - -/* - * void load ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBVIEW_LOAD ) -{ - hbqt_par_QWebView( 1 )->load( *hbqt_par_QUrl( 2 ) ); -} - -/* - * void load ( const QNetworkRequest & request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray & body = QByteArray() ) - */ -HB_FUNC( QT_QWEBVIEW_LOAD_1 ) -{ - hbqt_par_QWebView( 1 )->load( *hbqt_par_QNetworkRequest( 2 ), ( HB_ISNUM( 3 ) ? ( QNetworkAccessManager::Operation ) hb_parni( 3 ) : ( QNetworkAccessManager::Operation ) QNetworkAccessManager::GetOperation ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QByteArray( 4 ) : QByteArray() ) ); -} - -/* - * QWebPage * page () const - */ -HB_FUNC( QT_QWEBVIEW_PAGE ) -{ - hb_retptr( ( QWebPage* ) hbqt_par_QWebView( 1 )->page() ); -} - -/* - * QAction * pageAction ( QWebPage::WebAction action ) const - */ -HB_FUNC( QT_QWEBVIEW_PAGEACTION ) -{ - hb_retptr( ( QAction* ) hbqt_par_QWebView( 1 )->pageAction( ( QWebPage::WebAction ) hb_parni( 2 ) ) ); -} - -/* - * QString selectedText () const - */ -HB_FUNC( QT_QWEBVIEW_SELECTEDTEXT ) -{ - hb_retc( hbqt_par_QWebView( 1 )->selectedText().toAscii().data() ); -} - -/* - * void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBVIEW_SETCONTENT ) -{ - hbqt_par_QWebView( 1 )->setContent( *hbqt_par_QByteArray( 2 ), hbqt_par_QString( 3 ), ( HB_ISPOINTER( 4 ) ? *hbqt_par_QUrl( 4 ) : QUrl() ) ); -} - -/* - * void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) - */ -HB_FUNC( QT_QWEBVIEW_SETHTML ) -{ - hbqt_par_QWebView( 1 )->setHtml( hbqt_par_QString( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QUrl( 3 ) : QUrl() ) ); -} - -/* - * void setPage ( QWebPage * page ) - */ -HB_FUNC( QT_QWEBVIEW_SETPAGE ) -{ - hbqt_par_QWebView( 1 )->setPage( hbqt_par_QWebPage( 2 ) ); -} - -/* - * void setTextSizeMultiplier ( qreal factor ) - */ -HB_FUNC( QT_QWEBVIEW_SETTEXTSIZEMULTIPLIER ) -{ - hbqt_par_QWebView( 1 )->setTextSizeMultiplier( hb_parnd( 2 ) ); -} - -/* - * void setUrl ( const QUrl & url ) - */ -HB_FUNC( QT_QWEBVIEW_SETURL ) -{ - hbqt_par_QWebView( 1 )->setUrl( *hbqt_par_QUrl( 2 ) ); -} - -/* - * void setZoomFactor ( qreal factor ) - */ -HB_FUNC( QT_QWEBVIEW_SETZOOMFACTOR ) -{ - hbqt_par_QWebView( 1 )->setZoomFactor( hb_parnd( 2 ) ); -} - -/* - * QWebSettings * settings () const - */ -HB_FUNC( QT_QWEBVIEW_SETTINGS ) -{ - hb_retptr( ( QWebSettings* ) hbqt_par_QWebView( 1 )->settings() ); -} - -/* - * qreal textSizeMultiplier () const - */ -HB_FUNC( QT_QWEBVIEW_TEXTSIZEMULTIPLIER ) -{ - hb_retnd( hbqt_par_QWebView( 1 )->textSizeMultiplier() ); -} - -/* - * QString title () const - */ -HB_FUNC( QT_QWEBVIEW_TITLE ) -{ - hb_retc( hbqt_par_QWebView( 1 )->title().toAscii().data() ); -} - -/* - * void triggerPageAction ( QWebPage::WebAction action, bool checked = false ) - */ -HB_FUNC( QT_QWEBVIEW_TRIGGERPAGEACTION ) -{ - hbqt_par_QWebView( 1 )->triggerPageAction( ( QWebPage::WebAction ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * QUrl url () const - */ -HB_FUNC( QT_QWEBVIEW_URL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QUrl( hbqt_par_QWebView( 1 )->url() ) ) ); -} - -/* - * qreal zoomFactor () const - */ -HB_FUNC( QT_QWEBVIEW_ZOOMFACTOR ) -{ - hb_retnd( hbqt_par_QWebView( 1 )->zoomFactor() ); -} - -/* - * void back () - */ -HB_FUNC( QT_QWEBVIEW_BACK ) -{ - hbqt_par_QWebView( 1 )->back(); -} - -/* - * void forward () - */ -HB_FUNC( QT_QWEBVIEW_FORWARD ) -{ - hbqt_par_QWebView( 1 )->forward(); -} - -/* - * void print ( QPrinter * printer ) const - */ -HB_FUNC( QT_QWEBVIEW_PRINT ) -{ - hbqt_par_QWebView( 1 )->print( hbqt_par_QPrinter( 2 ) ); -} - -/* - * void reload () - */ -HB_FUNC( QT_QWEBVIEW_RELOAD ) -{ - hbqt_par_QWebView( 1 )->reload(); -} - -/* - * void stop () - */ -HB_FUNC( QT_QWEBVIEW_STOP ) -{ - hbqt_par_QWebView( 1 )->stop(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWheelEvent.cpp b/harbour/contrib/hbqt/QWheelEvent.cpp deleted file mode 100644 index 6d0aff6ecf..0000000000 --- a/harbour/contrib/hbqt/QWheelEvent.cpp +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWheelEvent ( const QPoint & pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical ) - * QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical ) - */ - -HB_FUNC( QT_QWHEELEVENT ) -{ -} -/* - * Qt::MouseButtons buttons () const - */ -HB_FUNC( QT_QWHEELEVENT_BUTTONS ) -{ - hb_retni( ( Qt::MouseButtons ) hbqt_par_QWheelEvent( 1 )->buttons() ); -} - -/* - * int delta () const - */ -HB_FUNC( QT_QWHEELEVENT_DELTA ) -{ - hb_retni( hbqt_par_QWheelEvent( 1 )->delta() ); -} - -/* - * const QPoint & globalPos () const - */ -HB_FUNC( QT_QWHEELEVENT_GLOBALPOS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWheelEvent( 1 )->globalPos() ) ) ); -} - -/* - * int globalX () const - */ -HB_FUNC( QT_QWHEELEVENT_GLOBALX ) -{ - hb_retni( hbqt_par_QWheelEvent( 1 )->globalX() ); -} - -/* - * int globalY () const - */ -HB_FUNC( QT_QWHEELEVENT_GLOBALY ) -{ - hb_retni( hbqt_par_QWheelEvent( 1 )->globalY() ); -} - -/* - * Qt::Orientation orientation () const - */ -HB_FUNC( QT_QWHEELEVENT_ORIENTATION ) -{ - hb_retni( ( Qt::Orientation ) hbqt_par_QWheelEvent( 1 )->orientation() ); -} - -/* - * const QPoint & pos () const - */ -HB_FUNC( QT_QWHEELEVENT_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWheelEvent( 1 )->pos() ) ) ); -} - -/* - * int x () const - */ -HB_FUNC( QT_QWHEELEVENT_X ) -{ - hb_retni( hbqt_par_QWheelEvent( 1 )->x() ); -} - -/* - * int y () const - */ -HB_FUNC( QT_QWHEELEVENT_Y ) -{ - hb_retni( hbqt_par_QWheelEvent( 1 )->y() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWidget.cpp b/harbour/contrib/hbqt/QWidget.cpp deleted file mode 100644 index e9aa91150d..0000000000 --- a/harbour/contrib/hbqt/QWidget.cpp +++ /dev/null @@ -1,1843 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum RenderFlag { DrawWindowBackground, DrawChildren, IgnoreMask } - * # From QPaintDevice : Parent Class - * enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } - */ - -/* - * Constructed[ 213/229 [ 93.01% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList actions () const - * void addActions ( QList actions ) - * void insertActions ( QAction * before, QList actions ) - * - * *** Commented out protos which construct fine but do not compile *** - * - * // WId effectiveWinId () const - * // virtual HDC getDC () const - * // bool hasEditFocus () const - * // Qt::HANDLE macCGHandle () const - * // Qt::HANDLE macQDHandle () const - * // virtual void releaseDC ( HDC hdc ) const - * //void render ( QPaintDevice * target, const QPoint & targetOffset = QPoint(), const QRegion & sourceRegion = QRegion(), RenderFlags renderFlags = RenderFlags( DrawWindowBackground | DrawChildren ) ) - * //void render ( QPainter * painter, const QPoint & targetOffset = QPoint(), const QRegion & sourceRegion = QRegion(), RenderFlags renderFlags = RenderFlags( DrawWindowBackground | DrawChildren ) ) - * // void setEditFocus ( bool enable ) - * //void setSizePolicy ( QSizePolicy ) - * //WId winId () const - * //Qt::HANDLE x11PictureHandle () const - * //QWidget * find ( WId id ) - */ - -#include - -#include -#include -#include -#include - - -/* - * QWidget( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QWidget () - */ - -HB_FUNC( QT_QWIDGET ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWidget > pObj = NULL; - - pObj = new QWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * bool acceptDrops () const - */ -HB_FUNC( QT_QWIDGET_ACCEPTDROPS ) -{ - hb_retl( hbqt_par_QWidget( 1 )->acceptDrops() ); -} - -/* - * QString accessibleDescription () const - */ -HB_FUNC( QT_QWIDGET_ACCESSIBLEDESCRIPTION ) -{ - hb_retc( hbqt_par_QWidget( 1 )->accessibleDescription().toAscii().data() ); -} - -/* - * QString accessibleName () const - */ -HB_FUNC( QT_QWIDGET_ACCESSIBLENAME ) -{ - hb_retc( hbqt_par_QWidget( 1 )->accessibleName().toAscii().data() ); -} - -/* - * void activateWindow () - */ -HB_FUNC( QT_QWIDGET_ACTIVATEWINDOW ) -{ - hbqt_par_QWidget( 1 )->activateWindow(); -} - -/* - * void addAction ( QAction * action ) - */ -HB_FUNC( QT_QWIDGET_ADDACTION ) -{ - hbqt_par_QWidget( 1 )->addAction( hbqt_par_QAction( 2 ) ); -} - -/* - * void adjustSize () - */ -HB_FUNC( QT_QWIDGET_ADJUSTSIZE ) -{ - hbqt_par_QWidget( 1 )->adjustSize(); -} - -/* - * bool autoFillBackground () const - */ -HB_FUNC( QT_QWIDGET_AUTOFILLBACKGROUND ) -{ - hb_retl( hbqt_par_QWidget( 1 )->autoFillBackground() ); -} - -/* - * QPalette::ColorRole backgroundRole () const - */ -HB_FUNC( QT_QWIDGET_BACKGROUNDROLE ) -{ - hb_retni( ( QPalette::ColorRole ) hbqt_par_QWidget( 1 )->backgroundRole() ); -} - -/* - * QSize baseSize () const - */ -HB_FUNC( QT_QWIDGET_BASESIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->baseSize() ) ) ); -} - -/* - * QWidget * childAt ( int x, int y ) const - */ -HB_FUNC( QT_QWIDGET_CHILDAT ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->childAt( hb_parni( 2 ), hb_parni( 3 ) ) ); -} - -/* - * QWidget * childAt ( const QPoint & p ) const - */ -HB_FUNC( QT_QWIDGET_CHILDAT_1 ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->childAt( *hbqt_par_QPoint( 2 ) ) ); -} - -/* - * QRect childrenRect () const - */ -HB_FUNC( QT_QWIDGET_CHILDRENRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWidget( 1 )->childrenRect() ) ) ); -} - -/* - * QRegion childrenRegion () const - */ -HB_FUNC( QT_QWIDGET_CHILDRENREGION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QWidget( 1 )->childrenRegion() ) ) ); -} - -/* - * void clearFocus () - */ -HB_FUNC( QT_QWIDGET_CLEARFOCUS ) -{ - hbqt_par_QWidget( 1 )->clearFocus(); -} - -/* - * void clearMask () - */ -HB_FUNC( QT_QWIDGET_CLEARMASK ) -{ - hbqt_par_QWidget( 1 )->clearMask(); -} - -/* - * QRect contentsRect () const - */ -HB_FUNC( QT_QWIDGET_CONTENTSRECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWidget( 1 )->contentsRect() ) ) ); -} - -/* - * Qt::ContextMenuPolicy contextMenuPolicy () const - */ -HB_FUNC( QT_QWIDGET_CONTEXTMENUPOLICY ) -{ - hb_retni( ( Qt::ContextMenuPolicy ) hbqt_par_QWidget( 1 )->contextMenuPolicy() ); -} - -/* - * QCursor cursor () const - */ -HB_FUNC( QT_QWIDGET_CURSOR ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QCursor( hbqt_par_QWidget( 1 )->cursor() ) ) ); -} - -/* - * void ensurePolished () const - */ -HB_FUNC( QT_QWIDGET_ENSUREPOLISHED ) -{ - hbqt_par_QWidget( 1 )->ensurePolished(); -} - -/* - * Qt::FocusPolicy focusPolicy () const - */ -HB_FUNC( QT_QWIDGET_FOCUSPOLICY ) -{ - hb_retni( ( Qt::FocusPolicy ) hbqt_par_QWidget( 1 )->focusPolicy() ); -} - -/* - * QWidget * focusProxy () const - */ -HB_FUNC( QT_QWIDGET_FOCUSPROXY ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->focusProxy() ); -} - -/* - * QWidget * focusWidget () const - */ -HB_FUNC( QT_QWIDGET_FOCUSWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->focusWidget() ); -} - -/* - * const QFont & font () const - */ -HB_FUNC( QT_QWIDGET_FONT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFont( hbqt_par_QWidget( 1 )->font() ) ) ); -} - -/* - * QFontInfo fontInfo () const - */ -HB_FUNC( QT_QWIDGET_FONTINFO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFontInfo( hbqt_par_QWidget( 1 )->fontInfo() ) ) ); -} - -/* - * QFontMetrics fontMetrics () const - */ -HB_FUNC( QT_QWIDGET_FONTMETRICS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QFontMetrics( hbqt_par_QWidget( 1 )->fontMetrics() ) ) ); -} - -/* - * QPalette::ColorRole foregroundRole () const - */ -HB_FUNC( QT_QWIDGET_FOREGROUNDROLE ) -{ - hb_retni( ( QPalette::ColorRole ) hbqt_par_QWidget( 1 )->foregroundRole() ); -} - -/* - * QRect frameGeometry () const - */ -HB_FUNC( QT_QWIDGET_FRAMEGEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWidget( 1 )->frameGeometry() ) ) ); -} - -/* - * QSize frameSize () const - */ -HB_FUNC( QT_QWIDGET_FRAMESIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->frameSize() ) ) ); -} - -/* - * const QRect & geometry () const - */ -HB_FUNC( QT_QWIDGET_GEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWidget( 1 )->geometry() ) ) ); -} - -/* - * void getContentsMargins ( int * left, int * top, int * right, int * bottom ) const - */ -HB_FUNC( QT_QWIDGET_GETCONTENTSMARGINS ) -{ - int iLeft = 0; - int iTop = 0; - int iRight = 0; - int iBottom = 0; - - hbqt_par_QWidget( 1 )->getContentsMargins( &iLeft, &iTop, &iRight, &iBottom ); - - hb_storni( iLeft, 2 ); - hb_storni( iTop, 3 ); - hb_storni( iRight, 4 ); - hb_storni( iBottom, 5 ); -} - -/* - * void grabKeyboard () - */ -HB_FUNC( QT_QWIDGET_GRABKEYBOARD ) -{ - hbqt_par_QWidget( 1 )->grabKeyboard(); -} - -/* - * void grabMouse () - */ -HB_FUNC( QT_QWIDGET_GRABMOUSE ) -{ - hbqt_par_QWidget( 1 )->grabMouse(); -} - -/* - * void grabMouse ( const QCursor & cursor ) - */ -HB_FUNC( QT_QWIDGET_GRABMOUSE_1 ) -{ - hbqt_par_QWidget( 1 )->grabMouse( *hbqt_par_QCursor( 2 ) ); -} - -/* - * int grabShortcut ( const QKeySequence & key, Qt::ShortcutContext context = Qt::WindowShortcut ) - */ -HB_FUNC( QT_QWIDGET_GRABSHORTCUT ) -{ - hb_retni( hbqt_par_QWidget( 1 )->grabShortcut( *hbqt_par_QKeySequence( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ShortcutContext ) hb_parni( 3 ) : ( Qt::ShortcutContext ) Qt::WindowShortcut ) ) ); -} - -/* - * QGraphicsProxyWidget * graphicsProxyWidget () const - */ -HB_FUNC( QT_QWIDGET_GRAPHICSPROXYWIDGET ) -{ - hb_retptr( ( QGraphicsProxyWidget* ) hbqt_par_QWidget( 1 )->graphicsProxyWidget() ); -} - -/* - * bool hasFocus () const - */ -HB_FUNC( QT_QWIDGET_HASFOCUS ) -{ - hb_retl( hbqt_par_QWidget( 1 )->hasFocus() ); -} - -/* - * bool hasMouseTracking () const - */ -HB_FUNC( QT_QWIDGET_HASMOUSETRACKING ) -{ - hb_retl( hbqt_par_QWidget( 1 )->hasMouseTracking() ); -} - -/* - * int height () const - */ -HB_FUNC( QT_QWIDGET_HEIGHT ) -{ - hb_retni( hbqt_par_QWidget( 1 )->height() ); -} - -/* - * virtual int heightForWidth ( int w ) const - */ -HB_FUNC( QT_QWIDGET_HEIGHTFORWIDTH ) -{ - hb_retni( hbqt_par_QWidget( 1 )->heightForWidth( hb_parni( 2 ) ) ); -} - -/* - * QInputContext * inputContext () - */ -HB_FUNC( QT_QWIDGET_INPUTCONTEXT ) -{ - hb_retptr( ( QInputContext* ) hbqt_par_QWidget( 1 )->inputContext() ); -} - -/* - * virtual QVariant inputMethodQuery ( Qt::InputMethodQuery query ) const - */ -HB_FUNC( QT_QWIDGET_INPUTMETHODQUERY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QWidget( 1 )->inputMethodQuery( ( Qt::InputMethodQuery ) hb_parni( 2 ) ) ) ) ); -} - -/* - * void insertAction ( QAction * before, QAction * action ) - */ -HB_FUNC( QT_QWIDGET_INSERTACTION ) -{ - hbqt_par_QWidget( 1 )->insertAction( hbqt_par_QAction( 2 ), hbqt_par_QAction( 3 ) ); -} - -/* - * bool isActiveWindow () const - */ -HB_FUNC( QT_QWIDGET_ISACTIVEWINDOW ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isActiveWindow() ); -} - -/* - * bool isAncestorOf ( const QWidget * child ) const - */ -HB_FUNC( QT_QWIDGET_ISANCESTOROF ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isAncestorOf( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * bool isEnabled () const - */ -HB_FUNC( QT_QWIDGET_ISENABLED ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isEnabled() ); -} - -/* - * bool isEnabledTo ( QWidget * ancestor ) const - */ -HB_FUNC( QT_QWIDGET_ISENABLEDTO ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isEnabledTo( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * bool isFullScreen () const - */ -HB_FUNC( QT_QWIDGET_ISFULLSCREEN ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isFullScreen() ); -} - -/* - * bool isHidden () const - */ -HB_FUNC( QT_QWIDGET_ISHIDDEN ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isHidden() ); -} - -/* - * bool isMaximized () const - */ -HB_FUNC( QT_QWIDGET_ISMAXIMIZED ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isMaximized() ); -} - -/* - * bool isMinimized () const - */ -HB_FUNC( QT_QWIDGET_ISMINIMIZED ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isMinimized() ); -} - -/* - * bool isModal () const - */ -HB_FUNC( QT_QWIDGET_ISMODAL ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isModal() ); -} - -/* - * bool isVisible () const - */ -HB_FUNC( QT_QWIDGET_ISVISIBLE ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isVisible() ); -} - -/* - * bool isVisibleTo ( QWidget * ancestor ) const - */ -HB_FUNC( QT_QWIDGET_ISVISIBLETO ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isVisibleTo( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * bool isWindow () const - */ -HB_FUNC( QT_QWIDGET_ISWINDOW ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isWindow() ); -} - -/* - * bool isWindowModified () const - */ -HB_FUNC( QT_QWIDGET_ISWINDOWMODIFIED ) -{ - hb_retl( hbqt_par_QWidget( 1 )->isWindowModified() ); -} - -/* - * QLayout * layout () const - */ -HB_FUNC( QT_QWIDGET_LAYOUT ) -{ - hb_retptr( ( QLayout* ) hbqt_par_QWidget( 1 )->layout() ); -} - -/* - * Qt::LayoutDirection layoutDirection () const - */ -HB_FUNC( QT_QWIDGET_LAYOUTDIRECTION ) -{ - hb_retni( ( Qt::LayoutDirection ) hbqt_par_QWidget( 1 )->layoutDirection() ); -} - -/* - * QLocale locale () const - */ -HB_FUNC( QT_QWIDGET_LOCALE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QLocale( hbqt_par_QWidget( 1 )->locale() ) ) ); -} - -/* - * QPoint mapFrom ( QWidget * parent, const QPoint & pos ) const - */ -HB_FUNC( QT_QWIDGET_MAPFROM ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->mapFrom( hbqt_par_QWidget( 2 ), *hbqt_par_QPoint( 3 ) ) ) ) ); -} - -/* - * QPoint mapFromGlobal ( const QPoint & pos ) const - */ -HB_FUNC( QT_QWIDGET_MAPFROMGLOBAL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->mapFromGlobal( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QPoint mapFromParent ( const QPoint & pos ) const - */ -HB_FUNC( QT_QWIDGET_MAPFROMPARENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->mapFromParent( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QPoint mapTo ( QWidget * parent, const QPoint & pos ) const - */ -HB_FUNC( QT_QWIDGET_MAPTO ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->mapTo( hbqt_par_QWidget( 2 ), *hbqt_par_QPoint( 3 ) ) ) ) ); -} - -/* - * QPoint mapToGlobal ( const QPoint & pos ) const - */ -HB_FUNC( QT_QWIDGET_MAPTOGLOBAL ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->mapToGlobal( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QPoint mapToParent ( const QPoint & pos ) const - */ -HB_FUNC( QT_QWIDGET_MAPTOPARENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->mapToParent( *hbqt_par_QPoint( 2 ) ) ) ) ); -} - -/* - * QRegion mask () const - */ -HB_FUNC( QT_QWIDGET_MASK ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QWidget( 1 )->mask() ) ) ); -} - -/* - * int maximumHeight () const - */ -HB_FUNC( QT_QWIDGET_MAXIMUMHEIGHT ) -{ - hb_retni( hbqt_par_QWidget( 1 )->maximumHeight() ); -} - -/* - * QSize maximumSize () const - */ -HB_FUNC( QT_QWIDGET_MAXIMUMSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->maximumSize() ) ) ); -} - -/* - * int maximumWidth () const - */ -HB_FUNC( QT_QWIDGET_MAXIMUMWIDTH ) -{ - hb_retni( hbqt_par_QWidget( 1 )->maximumWidth() ); -} - -/* - * int minimumHeight () const - */ -HB_FUNC( QT_QWIDGET_MINIMUMHEIGHT ) -{ - hb_retni( hbqt_par_QWidget( 1 )->minimumHeight() ); -} - -/* - * QSize minimumSize () const - */ -HB_FUNC( QT_QWIDGET_MINIMUMSIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->minimumSize() ) ) ); -} - -/* - * virtual QSize minimumSizeHint () const - */ -HB_FUNC( QT_QWIDGET_MINIMUMSIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->minimumSizeHint() ) ) ); -} - -/* - * int minimumWidth () const - */ -HB_FUNC( QT_QWIDGET_MINIMUMWIDTH ) -{ - hb_retni( hbqt_par_QWidget( 1 )->minimumWidth() ); -} - -/* - * void move ( int x, int y ) - */ -HB_FUNC( QT_QWIDGET_MOVE ) -{ - hbqt_par_QWidget( 1 )->move( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void move ( const QPoint & ) - */ -HB_FUNC( QT_QWIDGET_MOVE_1 ) -{ - hbqt_par_QWidget( 1 )->move( *hbqt_par_QPoint( 2 ) ); -} - -/* - * QWidget * nativeParentWidget () const - */ -HB_FUNC( QT_QWIDGET_NATIVEPARENTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->nativeParentWidget() ); -} - -/* - * QWidget * nextInFocusChain () const - */ -HB_FUNC( QT_QWIDGET_NEXTINFOCUSCHAIN ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->nextInFocusChain() ); -} - -/* - * QRect normalGeometry () const - */ -HB_FUNC( QT_QWIDGET_NORMALGEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWidget( 1 )->normalGeometry() ) ) ); -} - -/* - * void overrideWindowFlags ( Qt::WindowFlags flags ) - */ -HB_FUNC( QT_QWIDGET_OVERRIDEWINDOWFLAGS ) -{ - hbqt_par_QWidget( 1 )->overrideWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) ); -} - -/* - * virtual QPaintEngine * paintEngine () const - */ -HB_FUNC( QT_QWIDGET_PAINTENGINE ) -{ - hb_retptr( ( QPaintEngine* ) hbqt_par_QWidget( 1 )->paintEngine() ); -} - -/* - * const QPalette & palette () const - */ -HB_FUNC( QT_QWIDGET_PALETTE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPalette( hbqt_par_QWidget( 1 )->palette() ) ) ); -} - -/* - * QWidget * parentWidget () const - */ -HB_FUNC( QT_QWIDGET_PARENTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->parentWidget() ); -} - -/* - * QPoint pos () const - */ -HB_FUNC( QT_QWIDGET_POS ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPoint( hbqt_par_QWidget( 1 )->pos() ) ) ); -} - -/* - * QRect rect () const - */ -HB_FUNC( QT_QWIDGET_RECT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRect( hbqt_par_QWidget( 1 )->rect() ) ) ); -} - -/* - * void releaseKeyboard () - */ -HB_FUNC( QT_QWIDGET_RELEASEKEYBOARD ) -{ - hbqt_par_QWidget( 1 )->releaseKeyboard(); -} - -/* - * void releaseMouse () - */ -HB_FUNC( QT_QWIDGET_RELEASEMOUSE ) -{ - hbqt_par_QWidget( 1 )->releaseMouse(); -} - -/* - * void releaseShortcut ( int id ) - */ -HB_FUNC( QT_QWIDGET_RELEASESHORTCUT ) -{ - hbqt_par_QWidget( 1 )->releaseShortcut( hb_parni( 2 ) ); -} - -/* - * void removeAction ( QAction * action ) - */ -HB_FUNC( QT_QWIDGET_REMOVEACTION ) -{ - hbqt_par_QWidget( 1 )->removeAction( hbqt_par_QAction( 2 ) ); -} - -/* - * void repaint ( int x, int y, int w, int h ) - */ -HB_FUNC( QT_QWIDGET_REPAINT ) -{ - hbqt_par_QWidget( 1 )->repaint( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void repaint ( const QRect & rect ) - */ -HB_FUNC( QT_QWIDGET_REPAINT_1 ) -{ - hbqt_par_QWidget( 1 )->repaint( *hbqt_par_QRect( 2 ) ); -} - -/* - * void repaint ( const QRegion & rgn ) - */ -HB_FUNC( QT_QWIDGET_REPAINT_2 ) -{ - hbqt_par_QWidget( 1 )->repaint( *hbqt_par_QRegion( 2 ) ); -} - -/* - * void resize ( int w, int h ) - */ -HB_FUNC( QT_QWIDGET_RESIZE ) -{ - hbqt_par_QWidget( 1 )->resize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void resize ( const QSize & ) - */ -HB_FUNC( QT_QWIDGET_RESIZE_1 ) -{ - hbqt_par_QWidget( 1 )->resize( *hbqt_par_QSize( 2 ) ); -} - -/* - * bool restoreGeometry ( const QByteArray & geometry ) - */ -HB_FUNC( QT_QWIDGET_RESTOREGEOMETRY ) -{ - hb_retl( hbqt_par_QWidget( 1 )->restoreGeometry( *hbqt_par_QByteArray( 2 ) ) ); -} - -/* - * QByteArray saveGeometry () const - */ -HB_FUNC( QT_QWIDGET_SAVEGEOMETRY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QByteArray( hbqt_par_QWidget( 1 )->saveGeometry() ) ) ); -} - -/* - * void scroll ( int dx, int dy ) - */ -HB_FUNC( QT_QWIDGET_SCROLL ) -{ - hbqt_par_QWidget( 1 )->scroll( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void scroll ( int dx, int dy, const QRect & r ) - */ -HB_FUNC( QT_QWIDGET_SCROLL_1 ) -{ - hbqt_par_QWidget( 1 )->scroll( hb_parni( 2 ), hb_parni( 3 ), *hbqt_par_QRect( 4 ) ); -} - -/* - * void setAcceptDrops ( bool on ) - */ -HB_FUNC( QT_QWIDGET_SETACCEPTDROPS ) -{ - hbqt_par_QWidget( 1 )->setAcceptDrops( hb_parl( 2 ) ); -} - -/* - * void setAccessibleDescription ( const QString & description ) - */ -HB_FUNC( QT_QWIDGET_SETACCESSIBLEDESCRIPTION ) -{ - hbqt_par_QWidget( 1 )->setAccessibleDescription( hbqt_par_QString( 2 ) ); -} - -/* - * void setAccessibleName ( const QString & name ) - */ -HB_FUNC( QT_QWIDGET_SETACCESSIBLENAME ) -{ - hbqt_par_QWidget( 1 )->setAccessibleName( hbqt_par_QString( 2 ) ); -} - -/* - * void setAttribute ( Qt::WidgetAttribute attribute, bool on = true ) - */ -HB_FUNC( QT_QWIDGET_SETATTRIBUTE ) -{ - hbqt_par_QWidget( 1 )->setAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setAutoFillBackground ( bool enabled ) - */ -HB_FUNC( QT_QWIDGET_SETAUTOFILLBACKGROUND ) -{ - hbqt_par_QWidget( 1 )->setAutoFillBackground( hb_parl( 2 ) ); -} - -/* - * void setBackgroundRole ( QPalette::ColorRole role ) - */ -HB_FUNC( QT_QWIDGET_SETBACKGROUNDROLE ) -{ - hbqt_par_QWidget( 1 )->setBackgroundRole( ( QPalette::ColorRole ) hb_parni( 2 ) ); -} - -/* - * void setBaseSize ( const QSize & ) - */ -HB_FUNC( QT_QWIDGET_SETBASESIZE ) -{ - hbqt_par_QWidget( 1 )->setBaseSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setBaseSize ( int basew, int baseh ) - */ -HB_FUNC( QT_QWIDGET_SETBASESIZE_1 ) -{ - hbqt_par_QWidget( 1 )->setBaseSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setContentsMargins ( int left, int top, int right, int bottom ) - */ -HB_FUNC( QT_QWIDGET_SETCONTENTSMARGINS ) -{ - hbqt_par_QWidget( 1 )->setContentsMargins( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setContextMenuPolicy ( Qt::ContextMenuPolicy policy ) - */ -HB_FUNC( QT_QWIDGET_SETCONTEXTMENUPOLICY ) -{ - hbqt_par_QWidget( 1 )->setContextMenuPolicy( ( Qt::ContextMenuPolicy ) hb_parni( 2 ) ); -} - -/* - * void setCursor ( const QCursor & ) - */ -HB_FUNC( QT_QWIDGET_SETCURSOR ) -{ - hbqt_par_QWidget( 1 )->setCursor( *hbqt_par_QCursor( 2 ) ); -} - -/* - * void setFixedHeight ( int h ) - */ -HB_FUNC( QT_QWIDGET_SETFIXEDHEIGHT ) -{ - hbqt_par_QWidget( 1 )->setFixedHeight( hb_parni( 2 ) ); -} - -/* - * void setFixedSize ( const QSize & s ) - */ -HB_FUNC( QT_QWIDGET_SETFIXEDSIZE ) -{ - hbqt_par_QWidget( 1 )->setFixedSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setFixedSize ( int w, int h ) - */ -HB_FUNC( QT_QWIDGET_SETFIXEDSIZE_1 ) -{ - hbqt_par_QWidget( 1 )->setFixedSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setFixedWidth ( int w ) - */ -HB_FUNC( QT_QWIDGET_SETFIXEDWIDTH ) -{ - hbqt_par_QWidget( 1 )->setFixedWidth( hb_parni( 2 ) ); -} - -/* - * void setFocus ( Qt::FocusReason reason ) - */ -HB_FUNC( QT_QWIDGET_SETFOCUS ) -{ - hbqt_par_QWidget( 1 )->setFocus( ( Qt::FocusReason ) hb_parni( 2 ) ); -} - -/* - * void setFocusPolicy ( Qt::FocusPolicy policy ) - */ -HB_FUNC( QT_QWIDGET_SETFOCUSPOLICY ) -{ - hbqt_par_QWidget( 1 )->setFocusPolicy( ( Qt::FocusPolicy ) hb_parni( 2 ) ); -} - -/* - * void setFocusProxy ( QWidget * w ) - */ -HB_FUNC( QT_QWIDGET_SETFOCUSPROXY ) -{ - hbqt_par_QWidget( 1 )->setFocusProxy( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setFont ( const QFont & ) - */ -HB_FUNC( QT_QWIDGET_SETFONT ) -{ - hbqt_par_QWidget( 1 )->setFont( *hbqt_par_QFont( 2 ) ); -} - -/* - * void setForegroundRole ( QPalette::ColorRole role ) - */ -HB_FUNC( QT_QWIDGET_SETFOREGROUNDROLE ) -{ - hbqt_par_QWidget( 1 )->setForegroundRole( ( QPalette::ColorRole ) hb_parni( 2 ) ); -} - -/* - * void setGeometry ( const QRect & ) - */ -HB_FUNC( QT_QWIDGET_SETGEOMETRY ) -{ - hbqt_par_QWidget( 1 )->setGeometry( *hbqt_par_QRect( 2 ) ); -} - -/* - * void setGeometry ( int x, int y, int w, int h ) - */ -HB_FUNC( QT_QWIDGET_SETGEOMETRY_1 ) -{ - hbqt_par_QWidget( 1 )->setGeometry( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void setInputContext ( QInputContext * context ) - */ -HB_FUNC( QT_QWIDGET_SETINPUTCONTEXT ) -{ - hbqt_par_QWidget( 1 )->setInputContext( hbqt_par_QInputContext( 2 ) ); -} - -/* - * void setLayout ( QLayout * layout ) - */ -HB_FUNC( QT_QWIDGET_SETLAYOUT ) -{ - hbqt_par_QWidget( 1 )->setLayout( hbqt_par_QLayout( 2 ) ); -} - -/* - * void setLayoutDirection ( Qt::LayoutDirection direction ) - */ -HB_FUNC( QT_QWIDGET_SETLAYOUTDIRECTION ) -{ - hbqt_par_QWidget( 1 )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); -} - -/* - * void setLocale ( const QLocale & locale ) - */ -HB_FUNC( QT_QWIDGET_SETLOCALE ) -{ - hbqt_par_QWidget( 1 )->setLocale( *hbqt_par_QLocale( 2 ) ); -} - -/* - * void setMask ( const QBitmap & bitmap ) - */ -HB_FUNC( QT_QWIDGET_SETMASK ) -{ - hbqt_par_QWidget( 1 )->setMask( *hbqt_par_QBitmap( 2 ) ); -} - -/* - * void setMask ( const QRegion & region ) - */ -HB_FUNC( QT_QWIDGET_SETMASK_1 ) -{ - hbqt_par_QWidget( 1 )->setMask( *hbqt_par_QRegion( 2 ) ); -} - -/* - * void setMaximumHeight ( int maxh ) - */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMHEIGHT ) -{ - hbqt_par_QWidget( 1 )->setMaximumHeight( hb_parni( 2 ) ); -} - -/* - * void setMaximumSize ( const QSize & ) - */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMSIZE ) -{ - hbqt_par_QWidget( 1 )->setMaximumSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setMaximumSize ( int maxw, int maxh ) - */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMSIZE_1 ) -{ - hbqt_par_QWidget( 1 )->setMaximumSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setMaximumWidth ( int maxw ) - */ -HB_FUNC( QT_QWIDGET_SETMAXIMUMWIDTH ) -{ - hbqt_par_QWidget( 1 )->setMaximumWidth( hb_parni( 2 ) ); -} - -/* - * void setMinimumHeight ( int minh ) - */ -HB_FUNC( QT_QWIDGET_SETMINIMUMHEIGHT ) -{ - hbqt_par_QWidget( 1 )->setMinimumHeight( hb_parni( 2 ) ); -} - -/* - * void setMinimumSize ( const QSize & ) - */ -HB_FUNC( QT_QWIDGET_SETMINIMUMSIZE ) -{ - hbqt_par_QWidget( 1 )->setMinimumSize( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setMinimumSize ( int minw, int minh ) - */ -HB_FUNC( QT_QWIDGET_SETMINIMUMSIZE_1 ) -{ - hbqt_par_QWidget( 1 )->setMinimumSize( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setMinimumWidth ( int minw ) - */ -HB_FUNC( QT_QWIDGET_SETMINIMUMWIDTH ) -{ - hbqt_par_QWidget( 1 )->setMinimumWidth( hb_parni( 2 ) ); -} - -/* - * void setMouseTracking ( bool enable ) - */ -HB_FUNC( QT_QWIDGET_SETMOUSETRACKING ) -{ - hbqt_par_QWidget( 1 )->setMouseTracking( hb_parl( 2 ) ); -} - -/* - * void setPalette ( const QPalette & ) - */ -HB_FUNC( QT_QWIDGET_SETPALETTE ) -{ - hbqt_par_QWidget( 1 )->setPalette( *hbqt_par_QPalette( 2 ) ); -} - -/* - * void setParent ( QWidget * parent ) - */ -HB_FUNC( QT_QWIDGET_SETPARENT ) -{ - hbqt_par_QWidget( 1 )->setParent( hbqt_par_QWidget( 2 ) ); -} - -/* - * void setParent ( QWidget * parent, Qt::WindowFlags f ) - */ -HB_FUNC( QT_QWIDGET_SETPARENT_1 ) -{ - hbqt_par_QWidget( 1 )->setParent( hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ); -} - -/* - * void setShortcutAutoRepeat ( int id, bool enable = true ) - */ -HB_FUNC( QT_QWIDGET_SETSHORTCUTAUTOREPEAT ) -{ - hbqt_par_QWidget( 1 )->setShortcutAutoRepeat( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setShortcutEnabled ( int id, bool enable = true ) - */ -HB_FUNC( QT_QWIDGET_SETSHORTCUTENABLED ) -{ - hbqt_par_QWidget( 1 )->setShortcutEnabled( hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setSizeIncrement ( const QSize & ) - */ -HB_FUNC( QT_QWIDGET_SETSIZEINCREMENT ) -{ - hbqt_par_QWidget( 1 )->setSizeIncrement( *hbqt_par_QSize( 2 ) ); -} - -/* - * void setSizeIncrement ( int w, int h ) - */ -HB_FUNC( QT_QWIDGET_SETSIZEINCREMENT_1 ) -{ - hbqt_par_QWidget( 1 )->setSizeIncrement( hb_parni( 2 ), hb_parni( 3 ) ); -} - -/* - * void setSizePolicy ( QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical ) - */ -HB_FUNC( QT_QWIDGET_SETSIZEPOLICY ) -{ - hbqt_par_QWidget( 1 )->setSizePolicy( ( QSizePolicy::Policy ) hb_parni( 2 ), ( QSizePolicy::Policy ) hb_parni( 3 ) ); -} - -/* - * void setStatusTip ( const QString & ) - */ -HB_FUNC( QT_QWIDGET_SETSTATUSTIP ) -{ - hbqt_par_QWidget( 1 )->setStatusTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setStyle ( QStyle * style ) - */ -HB_FUNC( QT_QWIDGET_SETSTYLE ) -{ - hbqt_par_QWidget( 1 )->setStyle( hbqt_par_QStyle( 2 ) ); -} - -/* - * void setToolTip ( const QString & ) - */ -HB_FUNC( QT_QWIDGET_SETTOOLTIP ) -{ - hbqt_par_QWidget( 1 )->setToolTip( hbqt_par_QString( 2 ) ); -} - -/* - * void setUpdatesEnabled ( bool enable ) - */ -HB_FUNC( QT_QWIDGET_SETUPDATESENABLED ) -{ - hbqt_par_QWidget( 1 )->setUpdatesEnabled( hb_parl( 2 ) ); -} - -/* - * void setWhatsThis ( const QString & ) - */ -HB_FUNC( QT_QWIDGET_SETWHATSTHIS ) -{ - hbqt_par_QWidget( 1 )->setWhatsThis( hbqt_par_QString( 2 ) ); -} - -/* - * void setWindowFilePath ( const QString & filePath ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWFILEPATH ) -{ - hbqt_par_QWidget( 1 )->setWindowFilePath( hbqt_par_QString( 2 ) ); -} - -/* - * void setWindowFlags ( Qt::WindowFlags type ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWFLAGS ) -{ - hbqt_par_QWidget( 1 )->setWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) ); -} - -/* - * void setWindowIcon ( const QIcon & icon ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWICON ) -{ - hbqt_par_QWidget( 1 )->setWindowIcon( QIcon( hbqt_par_QString( 2 ) ) ); -} - -/* - * void setWindowIconText ( const QString & ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWICONTEXT ) -{ - hbqt_par_QWidget( 1 )->setWindowIconText( hbqt_par_QString( 2 ) ); -} - -/* - * void setWindowModality ( Qt::WindowModality windowModality ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWMODALITY ) -{ - hbqt_par_QWidget( 1 )->setWindowModality( ( Qt::WindowModality ) hb_parni( 2 ) ); -} - -/* - * void setWindowOpacity ( qreal level ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWOPACITY ) -{ - hbqt_par_QWidget( 1 )->setWindowOpacity( hb_parnd( 2 ) ); -} - -/* - * void setWindowRole ( const QString & role ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWROLE ) -{ - hbqt_par_QWidget( 1 )->setWindowRole( hbqt_par_QString( 2 ) ); -} - -/* - * void setWindowState ( Qt::WindowStates windowState ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWSTATE ) -{ - hbqt_par_QWidget( 1 )->setWindowState( ( Qt::WindowStates ) hb_parni( 2 ) ); -} - -/* - * void setWindowSurface ( QWindowSurface * surface ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWSURFACE ) -{ - hbqt_par_QWidget( 1 )->setWindowSurface( hbqt_par_QWindowSurface( 2 ) ); -} - -/* - * QSize size () const - */ -HB_FUNC( QT_QWIDGET_SIZE ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->size() ) ) ); -} - -/* - * virtual QSize sizeHint () const - */ -HB_FUNC( QT_QWIDGET_SIZEHINT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->sizeHint() ) ) ); -} - -/* - * QSize sizeIncrement () const - */ -HB_FUNC( QT_QWIDGET_SIZEINCREMENT ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSize( hbqt_par_QWidget( 1 )->sizeIncrement() ) ) ); -} - -/* - * QSizePolicy sizePolicy () const - */ -HB_FUNC( QT_QWIDGET_SIZEPOLICY ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QSizePolicy( hbqt_par_QWidget( 1 )->sizePolicy() ) ) ); -} - -/* - * void stackUnder ( QWidget * w ) - */ -HB_FUNC( QT_QWIDGET_STACKUNDER ) -{ - hbqt_par_QWidget( 1 )->stackUnder( hbqt_par_QWidget( 2 ) ); -} - -/* - * QString statusTip () const - */ -HB_FUNC( QT_QWIDGET_STATUSTIP ) -{ - hb_retc( hbqt_par_QWidget( 1 )->statusTip().toAscii().data() ); -} - -/* - * QStyle * style () const - */ -HB_FUNC( QT_QWIDGET_STYLE ) -{ - hb_retptr( ( QStyle* ) hbqt_par_QWidget( 1 )->style() ); -} - -/* - * QString styleSheet () const - */ -HB_FUNC( QT_QWIDGET_STYLESHEET ) -{ - hb_retc( hbqt_par_QWidget( 1 )->styleSheet().toAscii().data() ); -} - -/* - * bool testAttribute ( Qt::WidgetAttribute attribute ) const - */ -HB_FUNC( QT_QWIDGET_TESTATTRIBUTE ) -{ - hb_retl( hbqt_par_QWidget( 1 )->testAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ) ) ); -} - -/* - * QString toolTip () const - */ -HB_FUNC( QT_QWIDGET_TOOLTIP ) -{ - hb_retc( hbqt_par_QWidget( 1 )->toolTip().toAscii().data() ); -} - -/* - * bool underMouse () const - */ -HB_FUNC( QT_QWIDGET_UNDERMOUSE ) -{ - hb_retl( hbqt_par_QWidget( 1 )->underMouse() ); -} - -/* - * void unsetCursor () - */ -HB_FUNC( QT_QWIDGET_UNSETCURSOR ) -{ - hbqt_par_QWidget( 1 )->unsetCursor(); -} - -/* - * void unsetLayoutDirection () - */ -HB_FUNC( QT_QWIDGET_UNSETLAYOUTDIRECTION ) -{ - hbqt_par_QWidget( 1 )->unsetLayoutDirection(); -} - -/* - * void unsetLocale () - */ -HB_FUNC( QT_QWIDGET_UNSETLOCALE ) -{ - hbqt_par_QWidget( 1 )->unsetLocale(); -} - -/* - * void update ( int x, int y, int w, int h ) - */ -HB_FUNC( QT_QWIDGET_UPDATE ) -{ - hbqt_par_QWidget( 1 )->update( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ); -} - -/* - * void update ( const QRect & rect ) - */ -HB_FUNC( QT_QWIDGET_UPDATE_1 ) -{ - hbqt_par_QWidget( 1 )->update( *hbqt_par_QRect( 2 ) ); -} - -/* - * void update ( const QRegion & rgn ) - */ -HB_FUNC( QT_QWIDGET_UPDATE_2 ) -{ - hbqt_par_QWidget( 1 )->update( *hbqt_par_QRegion( 2 ) ); -} - -/* - * void updateGeometry () - */ -HB_FUNC( QT_QWIDGET_UPDATEGEOMETRY ) -{ - hbqt_par_QWidget( 1 )->updateGeometry(); -} - -/* - * bool updatesEnabled () const - */ -HB_FUNC( QT_QWIDGET_UPDATESENABLED ) -{ - hb_retl( hbqt_par_QWidget( 1 )->updatesEnabled() ); -} - -/* - * QRegion visibleRegion () const - */ -HB_FUNC( QT_QWIDGET_VISIBLEREGION ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QRegion( hbqt_par_QWidget( 1 )->visibleRegion() ) ) ); -} - -/* - * QString whatsThis () const - */ -HB_FUNC( QT_QWIDGET_WHATSTHIS ) -{ - hb_retc( hbqt_par_QWidget( 1 )->whatsThis().toAscii().data() ); -} - -/* - * int width () const - */ -HB_FUNC( QT_QWIDGET_WIDTH ) -{ - hb_retni( hbqt_par_QWidget( 1 )->width() ); -} - -/* - * QWidget * window () const - */ -HB_FUNC( QT_QWIDGET_WINDOW ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->window() ); -} - -/* - * QString windowFilePath () const - */ -HB_FUNC( QT_QWIDGET_WINDOWFILEPATH ) -{ - hb_retc( hbqt_par_QWidget( 1 )->windowFilePath().toAscii().data() ); -} - -/* - * Qt::WindowFlags windowFlags () const - */ -HB_FUNC( QT_QWIDGET_WINDOWFLAGS ) -{ - hb_retni( ( Qt::WindowFlags ) hbqt_par_QWidget( 1 )->windowFlags() ); -} - -/* - * QIcon windowIcon () const - */ -HB_FUNC( QT_QWIDGET_WINDOWICON ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QIcon( hbqt_par_QWidget( 1 )->windowIcon() ) ) ); -} - -/* - * QString windowIconText () const - */ -HB_FUNC( QT_QWIDGET_WINDOWICONTEXT ) -{ - hb_retc( hbqt_par_QWidget( 1 )->windowIconText().toAscii().data() ); -} - -/* - * Qt::WindowModality windowModality () const - */ -HB_FUNC( QT_QWIDGET_WINDOWMODALITY ) -{ - hb_retni( ( Qt::WindowModality ) hbqt_par_QWidget( 1 )->windowModality() ); -} - -/* - * qreal windowOpacity () const - */ -HB_FUNC( QT_QWIDGET_WINDOWOPACITY ) -{ - hb_retnd( hbqt_par_QWidget( 1 )->windowOpacity() ); -} - -/* - * QString windowRole () const - */ -HB_FUNC( QT_QWIDGET_WINDOWROLE ) -{ - hb_retc( hbqt_par_QWidget( 1 )->windowRole().toAscii().data() ); -} - -/* - * Qt::WindowStates windowState () const - */ -HB_FUNC( QT_QWIDGET_WINDOWSTATE ) -{ - hb_retni( ( Qt::WindowStates ) hbqt_par_QWidget( 1 )->windowState() ); -} - -/* - * QWindowSurface * windowSurface () const (preliminary) - */ -HB_FUNC( QT_QWIDGET_WINDOWSURFACE ) -{ - hb_retptr( ( QWindowSurface* ) hbqt_par_QWidget( 1 )->windowSurface() ); -} - -/* - * QString windowTitle () const - */ -HB_FUNC( QT_QWIDGET_WINDOWTITLE ) -{ - hb_retc( hbqt_par_QWidget( 1 )->windowTitle().toAscii().data() ); -} - -/* - * Qt::WindowType windowType () const - */ -HB_FUNC( QT_QWIDGET_WINDOWTYPE ) -{ - hb_retni( ( Qt::WindowType ) hbqt_par_QWidget( 1 )->windowType() ); -} - -/* - * int x () const - */ -HB_FUNC( QT_QWIDGET_X ) -{ - hb_retni( hbqt_par_QWidget( 1 )->x() ); -} - -/* - * int y () const - */ -HB_FUNC( QT_QWIDGET_Y ) -{ - hb_retni( hbqt_par_QWidget( 1 )->y() ); -} - -/* - * QWidget * keyboardGrabber () - */ -HB_FUNC( QT_QWIDGET_KEYBOARDGRABBER ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->keyboardGrabber() ); -} - -/* - * QWidget * mouseGrabber () - */ -HB_FUNC( QT_QWIDGET_MOUSEGRABBER ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidget( 1 )->mouseGrabber() ); -} - -/* - * void setTabOrder ( QWidget * first, QWidget * second ) - */ -HB_FUNC( QT_QWIDGET_SETTABORDER ) -{ - hbqt_par_QWidget( 1 )->setTabOrder( hbqt_par_QWidget( 2 ), hbqt_par_QWidget( 3 ) ); -} - -/* - * bool close () - */ -HB_FUNC( QT_QWIDGET_CLOSE ) -{ - hb_retl( hbqt_par_QWidget( 1 )->close() ); -} - -/* - * void hide () - */ -HB_FUNC( QT_QWIDGET_HIDE ) -{ - hbqt_par_QWidget( 1 )->hide(); -} - -/* - * void lower () - */ -HB_FUNC( QT_QWIDGET_LOWER ) -{ - hbqt_par_QWidget( 1 )->lower(); -} - -/* - * void raise () - */ -HB_FUNC( QT_QWIDGET_RAISE ) -{ - hbqt_par_QWidget( 1 )->raise(); -} - -/* - * void repaint () - */ -HB_FUNC( QT_QWIDGET_REPAINT_3 ) -{ - hbqt_par_QWidget( 1 )->repaint(); -} - -/* - * void setDisabled ( bool disable ) - */ -HB_FUNC( QT_QWIDGET_SETDISABLED ) -{ - hbqt_par_QWidget( 1 )->setDisabled( hb_parl( 2 ) ); -} - -/* - * void setEnabled ( bool enable ) - */ -HB_FUNC( QT_QWIDGET_SETENABLED ) -{ - hbqt_par_QWidget( 1 )->setEnabled( hb_parl( 2 ) ); -} - -/* - * void setFocus () - */ -HB_FUNC( QT_QWIDGET_SETFOCUS_1 ) -{ - hbqt_par_QWidget( 1 )->setFocus(); -} - -/* - * void setHidden ( bool hidden ) - */ -HB_FUNC( QT_QWIDGET_SETHIDDEN ) -{ - hbqt_par_QWidget( 1 )->setHidden( hb_parl( 2 ) ); -} - -/* - * void setStyleSheet ( const QString & styleSheet ) - */ -HB_FUNC( QT_QWIDGET_SETSTYLESHEET ) -{ - hbqt_par_QWidget( 1 )->setStyleSheet( hbqt_par_QString( 2 ) ); -} - -/* - * virtual void setVisible ( bool visible ) - */ -HB_FUNC( QT_QWIDGET_SETVISIBLE ) -{ - hbqt_par_QWidget( 1 )->setVisible( hb_parl( 2 ) ); -} - -/* - * void setWindowModified ( bool modified ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWMODIFIED ) -{ - hbqt_par_QWidget( 1 )->setWindowModified( hb_parl( 2 ) ); -} - -/* - * void setWindowTitle ( const QString & title ) - */ -HB_FUNC( QT_QWIDGET_SETWINDOWTITLE ) -{ - hbqt_par_QWidget( 1 )->setWindowTitle( hbqt_par_QString( 2 ) ); -} - -/* - * void show () - */ -HB_FUNC( QT_QWIDGET_SHOW ) -{ - hbqt_par_QWidget( 1 )->show(); -} - -/* - * void showFullScreen () - */ -HB_FUNC( QT_QWIDGET_SHOWFULLSCREEN ) -{ - hbqt_par_QWidget( 1 )->showFullScreen(); -} - -/* - * void showMaximized () - */ -HB_FUNC( QT_QWIDGET_SHOWMAXIMIZED ) -{ - hbqt_par_QWidget( 1 )->showMaximized(); -} - -/* - * void showMinimized () - */ -HB_FUNC( QT_QWIDGET_SHOWMINIMIZED ) -{ - hbqt_par_QWidget( 1 )->showMinimized(); -} - -/* - * void showNormal () - */ -HB_FUNC( QT_QWIDGET_SHOWNORMAL ) -{ - hbqt_par_QWidget( 1 )->showNormal(); -} - -/* - * void update () - */ -HB_FUNC( QT_QWIDGET_UPDATE_3 ) -{ - hbqt_par_QWidget( 1 )->update(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWidgetAction.cpp b/harbour/contrib/hbqt/QWidgetAction.cpp deleted file mode 100644 index 7f6927dd9d..0000000000 --- a/harbour/contrib/hbqt/QWidgetAction.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWidgetAction ( QObject * parent ) - * virtual ~QWidgetAction () - */ - -HB_FUNC( QT_QWIDGETACTION ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWidgetAction > pObj = NULL; - - pObj = ( QWidgetAction* ) new QWidgetAction( hbqt_par_QObject( 1 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * QWidget * defaultWidget () const - */ -HB_FUNC( QT_QWIDGETACTION_DEFAULTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidgetAction( 1 )->defaultWidget() ); -} - -/* - * void releaseWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QWIDGETACTION_RELEASEWIDGET ) -{ - hbqt_par_QWidgetAction( 1 )->releaseWidget( hbqt_par_QWidget( 2 ) ); -} - -/* - * QWidget * requestWidget ( QWidget * parent ) - */ -HB_FUNC( QT_QWIDGETACTION_REQUESTWIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidgetAction( 1 )->requestWidget( hbqt_par_QWidget( 2 ) ) ); -} - -/* - * void setDefaultWidget ( QWidget * widget ) - */ -HB_FUNC( QT_QWIDGETACTION_SETDEFAULTWIDGET ) -{ - hbqt_par_QWidgetAction( 1 )->setDefaultWidget( hbqt_par_QWidget( 2 ) ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWidgetItem.cpp b/harbour/contrib/hbqt/QWidgetItem.cpp deleted file mode 100644 index dedb48ce87..0000000000 --- a/harbour/contrib/hbqt/QWidgetItem.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWidgetItem ( QWidget * widget ) - */ - -HB_FUNC( QT_QWIDGETITEM ) -{ - void * pObj = NULL; - - pObj = ( QWidgetItem* ) new QWidgetItem( hbqt_par_QWidget( 1 ) ) ; - - hb_retptr( pObj ); -} -/* - * virtual bool isEmpty () const - */ -HB_FUNC( QT_QWIDGETITEM_ISEMPTY ) -{ - hb_retl( hbqt_par_QWidgetItem( 1 )->isEmpty() ); -} - -/* - * virtual QWidget * widget () - */ -HB_FUNC( QT_QWIDGETITEM_WIDGET ) -{ - hb_retptr( ( QWidget* ) hbqt_par_QWidgetItem( 1 )->widget() ); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWindowsStyle.cpp b/harbour/contrib/hbqt/QWindowsStyle.cpp deleted file mode 100644 index aa1689f2b7..0000000000 --- a/harbour/contrib/hbqt/QWindowsStyle.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWindowsStyle () - * ~QWindowsStyle () - * - */ - -HB_FUNC( QT_QWINDOWSSTYLE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWindowsStyle > pObj = NULL; - - pObj = ( QWindowsStyle* ) new QWindowsStyle() ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWindowsXPStyle.cpp b/harbour/contrib/hbqt/QWindowsXPStyle.cpp deleted file mode 100644 index 0da2721b94..0000000000 --- a/harbour/contrib/hbqt/QWindowsXPStyle.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -#include - -#include - - -/* - * QWindowsXPStyle () - * ~QWindowsXPStyle () - * - */ - -HB_FUNC( QT_QWINDOWSXPSTYLE ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWindowsXPStyle > pObj = NULL; - -#if defined( HB_OS_WIN ) - pObj = ( QWindowsXPStyle* ) new QWindowsXPStyle() ; -#else - pObj = NULL ; -#endif - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/QWizard.cpp b/harbour/contrib/hbqt/QWizard.cpp deleted file mode 100644 index 85e47b7215..0000000000 --- a/harbour/contrib/hbqt/QWizard.cpp +++ /dev/null @@ -1,377 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - -#include "hbapi.h" -#include "hbqt.h" - -/*----------------------------------------------------------------------*/ -#if QT_VERSION >= 0x040500 -/*----------------------------------------------------------------------*/ - -/* - * enum WizardButton { BackButton, NextButton, CommitButton, FinishButton, ..., Stretch } - * enum WizardOption { IndependentPages, IgnoreSubTitles, ExtendedWatermarkPixmap, NoDefaultButton, ..., HaveCustomButton3 } - * enum WizardPixmap { WatermarkPixmap, LogoPixmap, BannerPixmap, BackgroundPixmap } - * enum WizardStyle { ClassicStyle, ModernStyle, MacStyle, AeroStyle } - * flags WizardOptions - */ - -/* - * Constructed[ 33/36 [ 91.67% ] ] - * - * *** Unconvered Prototypes *** - * ----------------------------- - * - * QList pageIds () const - * void setButtonLayout ( const QList & layout ) - * QList visitedPages () const - */ - -#include - -#include -#include - - -/* - * QWizard ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QWizard () - */ - -HB_FUNC( QT_QWIZARD ) -{ - QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); - QPointer< QWizard > pObj = NULL; - - pObj = new QWizard( hbqt_par_QWidget( 2 ) ) ; - - p->ph = pObj; - p->type = 1001; - hb_retptrGC( p ); -} -/* - * int addPage ( QWizardPage * page ) - */ -HB_FUNC( QT_QWIZARD_ADDPAGE ) -{ - hb_retni( hbqt_par_QWizard( 1 )->addPage( hbqt_par_QWizardPage( 2 ) ) ); -} - -/* - * QAbstractButton * button ( WizardButton which ) const - */ -HB_FUNC( QT_QWIZARD_BUTTON ) -{ - hb_retptr( ( QAbstractButton* ) hbqt_par_QWizard( 1 )->button( ( QWizard::WizardButton ) hb_parni( 2 ) ) ); -} - -/* - * QString buttonText ( WizardButton which ) const - */ -HB_FUNC( QT_QWIZARD_BUTTONTEXT ) -{ - hb_retc( hbqt_par_QWizard( 1 )->buttonText( ( QWizard::WizardButton ) hb_parni( 2 ) ).toAscii().data() ); -} - -/* - * int currentId () const - */ -HB_FUNC( QT_QWIZARD_CURRENTID ) -{ - hb_retni( hbqt_par_QWizard( 1 )->currentId() ); -} - -/* - * QWizardPage * currentPage () const - */ -HB_FUNC( QT_QWIZARD_CURRENTPAGE ) -{ - hb_retptr( ( QWizardPage* ) hbqt_par_QWizard( 1 )->currentPage() ); -} - -/* - * QVariant field ( const QString & name ) const - */ -HB_FUNC( QT_QWIZARD_FIELD ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QVariant( hbqt_par_QWizard( 1 )->field( hbqt_par_QString( 2 ) ) ) ) ); -} - -/* - * bool hasVisitedPage ( int id ) const - */ -HB_FUNC( QT_QWIZARD_HASVISITEDPAGE ) -{ - hb_retl( hbqt_par_QWizard( 1 )->hasVisitedPage( hb_parni( 2 ) ) ); -} - -/* - * virtual int nextId () const - */ -HB_FUNC( QT_QWIZARD_NEXTID ) -{ - hb_retni( hbqt_par_QWizard( 1 )->nextId() ); -} - -/* - * WizardOptions options () const - */ -HB_FUNC( QT_QWIZARD_OPTIONS ) -{ - hb_retni( ( QWizard::WizardOptions ) hbqt_par_QWizard( 1 )->options() ); -} - -/* - * QWizardPage * page ( int id ) const - */ -HB_FUNC( QT_QWIZARD_PAGE ) -{ - hb_retptr( ( QWizardPage* ) hbqt_par_QWizard( 1 )->page( hb_parni( 2 ) ) ); -} - -/* - * QPixmap pixmap ( WizardPixmap which ) const - */ -HB_FUNC( QT_QWIZARD_PIXMAP ) -{ - hb_retptrGC( hbqt_ptrTOgcpointer( new QPixmap( hbqt_par_QWizard( 1 )->pixmap( ( QWizard::WizardPixmap ) hb_parni( 2 ) ) ) ) ); -} - -/* - * void removePage ( int id ) - */ -HB_FUNC( QT_QWIZARD_REMOVEPAGE ) -{ - hbqt_par_QWizard( 1 )->removePage( hb_parni( 2 ) ); -} - -/* - * void setButton ( WizardButton which, QAbstractButton * button ) - */ -HB_FUNC( QT_QWIZARD_SETBUTTON ) -{ - hbqt_par_QWizard( 1 )->setButton( ( QWizard::WizardButton ) hb_parni( 2 ), hbqt_par_QAbstractButton( 3 ) ); -} - -/* - * void setButtonText ( WizardButton which, const QString & text ) - */ -HB_FUNC( QT_QWIZARD_SETBUTTONTEXT ) -{ - hbqt_par_QWizard( 1 )->setButtonText( ( QWizard::WizardButton ) hb_parni( 2 ), hbqt_par_QString( 3 ) ); -} - -/* - * void setDefaultProperty ( const char * className, const char * property, const char * changedSignal ) - */ -HB_FUNC( QT_QWIZARD_SETDEFAULTPROPERTY ) -{ - hbqt_par_QWizard( 1 )->setDefaultProperty( hbqt_par_char( 2 ), hbqt_par_char( 3 ), hbqt_par_char( 4 ) ); -} - -/* - * void setField ( const QString & name, const QVariant & value ) - */ -HB_FUNC( QT_QWIZARD_SETFIELD ) -{ - hbqt_par_QWizard( 1 )->setField( hbqt_par_QString( 2 ), *hbqt_par_QVariant( 3 ) ); -} - -/* - * void setOption ( WizardOption option, bool on = true ) - */ -HB_FUNC( QT_QWIZARD_SETOPTION ) -{ - hbqt_par_QWizard( 1 )->setOption( ( QWizard::WizardOption ) hb_parni( 2 ), hb_parl( 3 ) ); -} - -/* - * void setOptions ( WizardOptions options ) - */ -HB_FUNC( QT_QWIZARD_SETOPTIONS ) -{ - hbqt_par_QWizard( 1 )->setOptions( ( QWizard::WizardOptions ) hb_parni( 2 ) ); -} - -/* - * void setPage ( int id, QWizardPage * page ) - */ -HB_FUNC( QT_QWIZARD_SETPAGE ) -{ - hbqt_par_QWizard( 1 )->setPage( hb_parni( 2 ), hbqt_par_QWizardPage( 3 ) ); -} - -/* - * void setPixmap ( WizardPixmap which, const QPixmap & pixmap ) - */ -HB_FUNC( QT_QWIZARD_SETPIXMAP ) -{ - hbqt_par_QWizard( 1 )->setPixmap( ( QWizard::WizardPixmap ) hb_parni( 2 ), *hbqt_par_QPixmap( 3 ) ); -} - -/* - * void setStartId ( int id ) - */ -HB_FUNC( QT_QWIZARD_SETSTARTID ) -{ - hbqt_par_QWizard( 1 )->setStartId( hb_parni( 2 ) ); -} - -/* - * void setSubTitleFormat ( Qt::TextFormat format ) - */ -HB_FUNC( QT_QWIZARD_SETSUBTITLEFORMAT ) -{ - hbqt_par_QWizard( 1 )->setSubTitleFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* - * void setTitleFormat ( Qt::TextFormat format ) - */ -HB_FUNC( QT_QWIZARD_SETTITLEFORMAT ) -{ - hbqt_par_QWizard( 1 )->setTitleFormat( ( Qt::TextFormat ) hb_parni( 2 ) ); -} - -/* - * void setWizardStyle ( WizardStyle style ) - */ -HB_FUNC( QT_QWIZARD_SETWIZARDSTYLE ) -{ - hbqt_par_QWizard( 1 )->setWizardStyle( ( QWizard::WizardStyle ) hb_parni( 2 ) ); -} - -/* - * int startId () const - */ -HB_FUNC( QT_QWIZARD_STARTID ) -{ - hb_retni( hbqt_par_QWizard( 1 )->startId() ); -} - -/* - * Qt::TextFormat subTitleFormat () const - */ -HB_FUNC( QT_QWIZARD_SUBTITLEFORMAT ) -{ - hb_retni( ( Qt::TextFormat ) hbqt_par_QWizard( 1 )->subTitleFormat() ); -} - -/* - * bool testOption ( WizardOption option ) const - */ -HB_FUNC( QT_QWIZARD_TESTOPTION ) -{ - hb_retl( hbqt_par_QWizard( 1 )->testOption( ( QWizard::WizardOption ) hb_parni( 2 ) ) ); -} - -/* - * Qt::TextFormat titleFormat () const - */ -HB_FUNC( QT_QWIZARD_TITLEFORMAT ) -{ - hb_retni( ( Qt::TextFormat ) hbqt_par_QWizard( 1 )->titleFormat() ); -} - -/* - * virtual bool validateCurrentPage () - */ -HB_FUNC( QT_QWIZARD_VALIDATECURRENTPAGE ) -{ - hb_retl( hbqt_par_QWizard( 1 )->validateCurrentPage() ); -} - -/* - * WizardStyle wizardStyle () const - */ -HB_FUNC( QT_QWIZARD_WIZARDSTYLE ) -{ - hb_retni( ( QWizard::WizardStyle ) hbqt_par_QWizard( 1 )->wizardStyle() ); -} - -/* - * void back () - */ -HB_FUNC( QT_QWIZARD_BACK ) -{ - hbqt_par_QWizard( 1 )->back(); -} - -/* - * void next () - */ -HB_FUNC( QT_QWIZARD_NEXT ) -{ - hbqt_par_QWizard( 1 )->next(); -} - -/* - * void restart () - */ -HB_FUNC( QT_QWIZARD_RESTART ) -{ - hbqt_par_QWizard( 1 )->restart(); -} - - -/*----------------------------------------------------------------------*/ -#endif /* #if QT_VERSION >= 0x040500 */ -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractButton.prg b/harbour/contrib/hbqt/TQAbstractButton.prg deleted file mode 100644 index 6674ee2396..0000000000 --- a/harbour/contrib/hbqt/TQAbstractButton.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractButton INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD autoExclusive() INLINE Qt_QAbstractButton_autoExclusive( ::pPtr ) - METHOD autoRepeat() INLINE Qt_QAbstractButton_autoRepeat( ::pPtr ) - METHOD autoRepeatDelay() INLINE Qt_QAbstractButton_autoRepeatDelay( ::pPtr ) - METHOD autoRepeatInterval() INLINE Qt_QAbstractButton_autoRepeatInterval( ::pPtr ) - METHOD group() INLINE Qt_QAbstractButton_group( ::pPtr ) - METHOD icon() INLINE Qt_QAbstractButton_icon( ::pPtr ) - METHOD iconSize() INLINE Qt_QAbstractButton_iconSize( ::pPtr ) - METHOD isCheckable() INLINE Qt_QAbstractButton_isCheckable( ::pPtr ) - METHOD isChecked() INLINE Qt_QAbstractButton_isChecked( ::pPtr ) - METHOD isDown() INLINE Qt_QAbstractButton_isDown( ::pPtr ) - METHOD setAutoExclusive( lBool ) INLINE Qt_QAbstractButton_setAutoExclusive( ::pPtr, lBool ) - METHOD setAutoRepeat( lBool ) INLINE Qt_QAbstractButton_setAutoRepeat( ::pPtr, lBool ) - METHOD setAutoRepeatDelay( nInt ) INLINE Qt_QAbstractButton_setAutoRepeatDelay( ::pPtr, nInt ) - METHOD setAutoRepeatInterval( nInt ) INLINE Qt_QAbstractButton_setAutoRepeatInterval( ::pPtr, nInt ) - METHOD setCheckable( lBool ) INLINE Qt_QAbstractButton_setCheckable( ::pPtr, lBool ) - METHOD setDown( lBool ) INLINE Qt_QAbstractButton_setDown( ::pPtr, lBool ) - METHOD setIcon( cIcon ) INLINE Qt_QAbstractButton_setIcon( ::pPtr, cIcon ) - METHOD setShortcut( pKey ) INLINE Qt_QAbstractButton_setShortcut( ::pPtr, pKey ) - METHOD setText( cText ) INLINE Qt_QAbstractButton_setText( ::pPtr, cText ) - METHOD shortcut() INLINE Qt_QAbstractButton_shortcut( ::pPtr ) - METHOD text() INLINE Qt_QAbstractButton_text( ::pPtr ) - METHOD animateClick( nMsec ) INLINE Qt_QAbstractButton_animateClick( ::pPtr, nMsec ) - METHOD click() INLINE Qt_QAbstractButton_click( ::pPtr ) - METHOD setChecked( lBool ) INLINE Qt_QAbstractButton_setChecked( ::pPtr, lBool ) - METHOD setIconSize( pSize ) INLINE Qt_QAbstractButton_setIconSize( ::pPtr, pSize ) - METHOD toggle() INLINE Qt_QAbstractButton_toggle( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractButton - - ::pParent := pParent - - ::pPtr := Qt_QAbstractButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractItemModel.prg b/harbour/contrib/hbqt/TQAbstractItemModel.prg deleted file mode 100644 index b8764a0398..0000000000 --- a/harbour/contrib/hbqt/TQAbstractItemModel.prg +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractItemModel INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD buddy( pIndex ) INLINE Qt_QAbstractItemModel_buddy( ::pPtr, pIndex ) - METHOD canFetchMore( pParent ) INLINE Qt_QAbstractItemModel_canFetchMore( ::pPtr, pParent ) - METHOD columnCount( pParent ) INLINE Qt_QAbstractItemModel_columnCount( ::pPtr, pParent ) - METHOD data( pIndex, nRole ) INLINE Qt_QAbstractItemModel_data( ::pPtr, pIndex, nRole ) - METHOD dropMimeData( pData, nAction, nRow, nColumn, pParent ) INLINE Qt_QAbstractItemModel_dropMimeData( ::pPtr, pData, nAction, nRow, nColumn, pParent ) - METHOD fetchMore( pParent ) INLINE Qt_QAbstractItemModel_fetchMore( ::pPtr, pParent ) - METHOD flags( pIndex ) INLINE Qt_QAbstractItemModel_flags( ::pPtr, pIndex ) - METHOD hasChildren( pParent ) INLINE Qt_QAbstractItemModel_hasChildren( ::pPtr, pParent ) - METHOD hasIndex( nRow, nColumn, pParent ) INLINE Qt_QAbstractItemModel_hasIndex( ::pPtr, nRow, nColumn, pParent ) - METHOD headerData( nSection, nOrientation, nRole ) INLINE Qt_QAbstractItemModel_headerData( ::pPtr, nSection, nOrientation, nRole ) - METHOD index( nRow, nColumn, pParent ) INLINE Qt_QAbstractItemModel_index( ::pPtr, nRow, nColumn, pParent ) - METHOD insertColumn( nColumn, pParent ) INLINE Qt_QAbstractItemModel_insertColumn( ::pPtr, nColumn, pParent ) - METHOD insertColumns( nColumn, nCount, pParent ) INLINE Qt_QAbstractItemModel_insertColumns( ::pPtr, nColumn, nCount, pParent ) - METHOD insertRow( nRow, pParent ) INLINE Qt_QAbstractItemModel_insertRow( ::pPtr, nRow, pParent ) - METHOD insertRows( nRow, nCount, pParent ) INLINE Qt_QAbstractItemModel_insertRows( ::pPtr, nRow, nCount, pParent ) - METHOD mimeData( pIndexes ) INLINE Qt_QAbstractItemModel_mimeData( ::pPtr, pIndexes ) - METHOD mimeTypes() INLINE Qt_QAbstractItemModel_mimeTypes( ::pPtr ) - METHOD parent( pIndex ) INLINE Qt_QAbstractItemModel_parent( ::pPtr, pIndex ) - METHOD removeColumn( nColumn, pParent ) INLINE Qt_QAbstractItemModel_removeColumn( ::pPtr, nColumn, pParent ) - METHOD removeColumns( nColumn, nCount, pParent ) INLINE Qt_QAbstractItemModel_removeColumns( ::pPtr, nColumn, nCount, pParent ) - METHOD removeRow( nRow, pParent ) INLINE Qt_QAbstractItemModel_removeRow( ::pPtr, nRow, pParent ) - METHOD removeRows( nRow, nCount, pParent ) INLINE Qt_QAbstractItemModel_removeRows( ::pPtr, nRow, nCount, pParent ) - METHOD rowCount( pParent ) INLINE Qt_QAbstractItemModel_rowCount( ::pPtr, pParent ) - METHOD setData( pIndex, pValue, nRole ) INLINE Qt_QAbstractItemModel_setData( ::pPtr, pIndex, pValue, nRole ) - METHOD setHeaderData( nSection, nOrientation, pValue, nRole ) INLINE Qt_QAbstractItemModel_setHeaderData( ::pPtr, nSection, nOrientation, pValue, nRole ) - METHOD setSupportedDragActions( nActions ) INLINE Qt_QAbstractItemModel_setSupportedDragActions( ::pPtr, nActions ) - METHOD sibling( nRow, nColumn, pIndex ) INLINE Qt_QAbstractItemModel_sibling( ::pPtr, nRow, nColumn, pIndex ) - METHOD sort( nColumn, nOrder ) INLINE Qt_QAbstractItemModel_sort( ::pPtr, nColumn, nOrder ) - METHOD span( pIndex ) INLINE Qt_QAbstractItemModel_span( ::pPtr, pIndex ) - METHOD supportedDragActions() INLINE Qt_QAbstractItemModel_supportedDragActions( ::pPtr ) - METHOD supportedDropActions() INLINE Qt_QAbstractItemModel_supportedDropActions( ::pPtr ) - METHOD revert() INLINE Qt_QAbstractItemModel_revert( ::pPtr ) - METHOD submit() INLINE Qt_QAbstractItemModel_submit( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractItemModel - - ::pParent := pParent - - ::pPtr := Qt_QAbstractItemModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractItemModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ - - -CREATE CLASS HbDbfModel INHERIT QAbstractItemModel - - METHOD New( bBlock ) INLINE ::pPtr := Qt_HbDbfModel( bBlock ), Self - METHOD Reset() INLINE Qt_HbDbfModel_reset( ::pPtr ) - METHOD Index( nRow, nCol ) INLINE Qt_HbDbfModel_index( ::pPtr, nRow, nCol, 0 ) - METHOD hbSetRowColumns( nRows, nCols ) INLINE Qt_HbDbfModel_hbSetRowColumns( ::pPtr, nRows, nCols ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractItemView.prg b/harbour/contrib/hbqt/TQAbstractItemView.prg deleted file mode 100644 index baeb5fce0c..0000000000 --- a/harbour/contrib/hbqt/TQAbstractItemView.prg +++ /dev/null @@ -1,162 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractItemView INHERIT QAbstractScrollArea - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alternatingRowColors() INLINE Qt_QAbstractItemView_alternatingRowColors( ::pPtr ) - METHOD autoScrollMargin() INLINE Qt_QAbstractItemView_autoScrollMargin( ::pPtr ) - METHOD closePersistentEditor( pIndex ) INLINE Qt_QAbstractItemView_closePersistentEditor( ::pPtr, pIndex ) - METHOD currentIndex() INLINE Qt_QAbstractItemView_currentIndex( ::pPtr ) - METHOD dragDropMode() INLINE Qt_QAbstractItemView_dragDropMode( ::pPtr ) - METHOD dragDropOverwriteMode() INLINE Qt_QAbstractItemView_dragDropOverwriteMode( ::pPtr ) - METHOD dragEnabled() INLINE Qt_QAbstractItemView_dragEnabled( ::pPtr ) - METHOD editTriggers() INLINE Qt_QAbstractItemView_editTriggers( ::pPtr ) - METHOD hasAutoScroll() INLINE Qt_QAbstractItemView_hasAutoScroll( ::pPtr ) - METHOD horizontalScrollMode() INLINE Qt_QAbstractItemView_horizontalScrollMode( ::pPtr ) - METHOD iconSize() INLINE Qt_QAbstractItemView_iconSize( ::pPtr ) - METHOD indexAt( pPoint ) INLINE Qt_QAbstractItemView_indexAt( ::pPtr, pPoint ) - METHOD indexWidget( pIndex ) INLINE Qt_QAbstractItemView_indexWidget( ::pPtr, pIndex ) - METHOD itemDelegate() INLINE Qt_QAbstractItemView_itemDelegate( ::pPtr ) - METHOD itemDelegate_1( pIndex ) INLINE Qt_QAbstractItemView_itemDelegate_1( ::pPtr, pIndex ) - METHOD itemDelegateForColumn( nColumn ) INLINE Qt_QAbstractItemView_itemDelegateForColumn( ::pPtr, nColumn ) - METHOD itemDelegateForRow( nRow ) INLINE Qt_QAbstractItemView_itemDelegateForRow( ::pPtr, nRow ) - METHOD keyboardSearch( cSearch ) INLINE Qt_QAbstractItemView_keyboardSearch( ::pPtr, cSearch ) - METHOD model() INLINE Qt_QAbstractItemView_model( ::pPtr ) - METHOD openPersistentEditor( pIndex ) INLINE Qt_QAbstractItemView_openPersistentEditor( ::pPtr, pIndex ) - METHOD rootIndex() INLINE Qt_QAbstractItemView_rootIndex( ::pPtr ) - METHOD scrollTo( pIndex, nHint ) INLINE Qt_QAbstractItemView_scrollTo( ::pPtr, pIndex, nHint ) - METHOD selectionBehavior() INLINE Qt_QAbstractItemView_selectionBehavior( ::pPtr ) - METHOD selectionMode() INLINE Qt_QAbstractItemView_selectionMode( ::pPtr ) - METHOD selectionModel() INLINE Qt_QAbstractItemView_selectionModel( ::pPtr ) - METHOD setAlternatingRowColors( lEnable ) INLINE Qt_QAbstractItemView_setAlternatingRowColors( ::pPtr, lEnable ) - METHOD setAutoScroll( lEnable ) INLINE Qt_QAbstractItemView_setAutoScroll( ::pPtr, lEnable ) - METHOD setAutoScrollMargin( nMargin ) INLINE Qt_QAbstractItemView_setAutoScrollMargin( ::pPtr, nMargin ) - METHOD setDragDropMode( nBehavior ) INLINE Qt_QAbstractItemView_setDragDropMode( ::pPtr, nBehavior ) - METHOD setDragDropOverwriteMode( lOverwrite ) INLINE Qt_QAbstractItemView_setDragDropOverwriteMode( ::pPtr, lOverwrite ) - METHOD setDragEnabled( lEnable ) INLINE Qt_QAbstractItemView_setDragEnabled( ::pPtr, lEnable ) - METHOD setDropIndicatorShown( lEnable ) INLINE Qt_QAbstractItemView_setDropIndicatorShown( ::pPtr, lEnable ) - METHOD setEditTriggers( nTriggers ) INLINE Qt_QAbstractItemView_setEditTriggers( ::pPtr, nTriggers ) - METHOD setHorizontalScrollMode( nMode ) INLINE Qt_QAbstractItemView_setHorizontalScrollMode( ::pPtr, nMode ) - METHOD setIconSize( pSize ) INLINE Qt_QAbstractItemView_setIconSize( ::pPtr, pSize ) - METHOD setIndexWidget( pIndex, pWidget ) INLINE Qt_QAbstractItemView_setIndexWidget( ::pPtr, pIndex, pWidget ) - METHOD setItemDelegate( pDelegate ) INLINE Qt_QAbstractItemView_setItemDelegate( ::pPtr, pDelegate ) - METHOD setItemDelegateForColumn( nColumn, pDelegate ) INLINE Qt_QAbstractItemView_setItemDelegateForColumn( ::pPtr, nColumn, pDelegate ) - METHOD setItemDelegateForRow( nRow, pDelegate ) INLINE Qt_QAbstractItemView_setItemDelegateForRow( ::pPtr, nRow, pDelegate ) - METHOD setModel( pModel ) INLINE Qt_QAbstractItemView_setModel( ::pPtr, pModel ) - METHOD setSelectionBehavior( nBehavior ) INLINE Qt_QAbstractItemView_setSelectionBehavior( ::pPtr, nBehavior ) - METHOD setSelectionMode( nMode ) INLINE Qt_QAbstractItemView_setSelectionMode( ::pPtr, nMode ) - METHOD setSelectionModel( pSelectionModel ) INLINE Qt_QAbstractItemView_setSelectionModel( ::pPtr, pSelectionModel ) - METHOD setTabKeyNavigation( lEnable ) INLINE Qt_QAbstractItemView_setTabKeyNavigation( ::pPtr, lEnable ) - METHOD setTextElideMode( nMode ) INLINE Qt_QAbstractItemView_setTextElideMode( ::pPtr, nMode ) - METHOD setVerticalScrollMode( nMode ) INLINE Qt_QAbstractItemView_setVerticalScrollMode( ::pPtr, nMode ) - METHOD showDropIndicator() INLINE Qt_QAbstractItemView_showDropIndicator( ::pPtr ) - METHOD sizeHintForColumn( nColumn ) INLINE Qt_QAbstractItemView_sizeHintForColumn( ::pPtr, nColumn ) - METHOD sizeHintForIndex( pIndex ) INLINE Qt_QAbstractItemView_sizeHintForIndex( ::pPtr, pIndex ) - METHOD sizeHintForRow( nRow ) INLINE Qt_QAbstractItemView_sizeHintForRow( ::pPtr, nRow ) - METHOD tabKeyNavigation() INLINE Qt_QAbstractItemView_tabKeyNavigation( ::pPtr ) - METHOD textElideMode() INLINE Qt_QAbstractItemView_textElideMode( ::pPtr ) - METHOD verticalScrollMode() INLINE Qt_QAbstractItemView_verticalScrollMode( ::pPtr ) - METHOD visualRect( pIndex ) INLINE Qt_QAbstractItemView_visualRect( ::pPtr, pIndex ) - METHOD clearSelection() INLINE Qt_QAbstractItemView_clearSelection( ::pPtr ) - METHOD edit( pIndex ) INLINE Qt_QAbstractItemView_edit( ::pPtr, pIndex ) - METHOD reset() INLINE Qt_QAbstractItemView_reset( ::pPtr ) - METHOD scrollToBottom() INLINE Qt_QAbstractItemView_scrollToBottom( ::pPtr ) - METHOD scrollToTop() INLINE Qt_QAbstractItemView_scrollToTop( ::pPtr ) - METHOD selectAll() INLINE Qt_QAbstractItemView_selectAll( ::pPtr ) - METHOD setCurrentIndex( pIndex ) INLINE Qt_QAbstractItemView_setCurrentIndex( ::pPtr, pIndex ) - METHOD setRootIndex( pIndex ) INLINE Qt_QAbstractItemView_setRootIndex( ::pPtr, pIndex ) - METHOD update( pIndex ) INLINE Qt_QAbstractItemView_update( ::pPtr, pIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractItemView - - ::pParent := pParent - - ::pPtr := Qt_QAbstractItemView( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractItemView - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractListModel.prg b/harbour/contrib/hbqt/TQAbstractListModel.prg deleted file mode 100644 index cf06c14b0a..0000000000 --- a/harbour/contrib/hbqt/TQAbstractListModel.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractListModel INHERIT QAbstractItemModel - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD index( nRow, nColumn, pParent ) INLINE Qt_QAbstractListModel_index( ::pPtr, nRow, nColumn, pParent ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractListModel - - ::pParent := pParent - - ::pPtr := Qt_QAbstractListModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractListModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractPrintDialog.prg b/harbour/contrib/hbqt/TQAbstractPrintDialog.prg deleted file mode 100644 index 14b45abc44..0000000000 --- a/harbour/contrib/hbqt/TQAbstractPrintDialog.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractPrintDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD exec() INLINE Qt_QAbstractPrintDialog_exec( ::pPtr ) - METHOD fromPage() INLINE Qt_QAbstractPrintDialog_fromPage( ::pPtr ) - METHOD maxPage() INLINE Qt_QAbstractPrintDialog_maxPage( ::pPtr ) - METHOD minPage() INLINE Qt_QAbstractPrintDialog_minPage( ::pPtr ) - METHOD printRange() INLINE Qt_QAbstractPrintDialog_printRange( ::pPtr ) - METHOD printer() INLINE Qt_QAbstractPrintDialog_printer( ::pPtr ) - METHOD setFromTo( nFrom, nTo ) INLINE Qt_QAbstractPrintDialog_setFromTo( ::pPtr, nFrom, nTo ) - METHOD setMinMax( nMin, nMax ) INLINE Qt_QAbstractPrintDialog_setMinMax( ::pPtr, nMin, nMax ) - METHOD setPrintRange( nRange ) INLINE Qt_QAbstractPrintDialog_setPrintRange( ::pPtr, nRange ) - METHOD toPage() INLINE Qt_QAbstractPrintDialog_toPage( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractPrintDialog - - ::pParent := pParent - - ::pPtr := Qt_QAbstractPrintDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractPrintDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractScrollArea.prg b/harbour/contrib/hbqt/TQAbstractScrollArea.prg deleted file mode 100644 index ed207b045a..0000000000 --- a/harbour/contrib/hbqt/TQAbstractScrollArea.prg +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractScrollArea INHERIT QFrame - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addScrollBarWidget( pWidget, nAlignment ) INLINE Qt_QAbstractScrollArea_addScrollBarWidget( ::pPtr, pWidget, nAlignment ) - METHOD cornerWidget() INLINE Qt_QAbstractScrollArea_cornerWidget( ::pPtr ) - METHOD horizontalScrollBar() INLINE Qt_QAbstractScrollArea_horizontalScrollBar( ::pPtr ) - METHOD horizontalScrollBarPolicy() INLINE Qt_QAbstractScrollArea_horizontalScrollBarPolicy( ::pPtr ) - METHOD maximumViewportSize() INLINE Qt_QAbstractScrollArea_maximumViewportSize( ::pPtr ) - METHOD scrollBarWidgets( nAlignment ) INLINE Qt_QAbstractScrollArea_scrollBarWidgets( ::pPtr, nAlignment ) - METHOD setCornerWidget( pWidget ) INLINE Qt_QAbstractScrollArea_setCornerWidget( ::pPtr, pWidget ) - METHOD setHorizontalScrollBar( pScrollBar ) INLINE Qt_QAbstractScrollArea_setHorizontalScrollBar( ::pPtr, pScrollBar ) - METHOD setHorizontalScrollBarPolicy( nQt_ScrollBarPolicy ) INLINE Qt_QAbstractScrollArea_setHorizontalScrollBarPolicy( ::pPtr, nQt_ScrollBarPolicy ) - METHOD setVerticalScrollBar( pScrollBar ) INLINE Qt_QAbstractScrollArea_setVerticalScrollBar( ::pPtr, pScrollBar ) - METHOD setVerticalScrollBarPolicy( nQt_ScrollBarPolicy ) INLINE Qt_QAbstractScrollArea_setVerticalScrollBarPolicy( ::pPtr, nQt_ScrollBarPolicy ) - METHOD setViewport( pWidget ) INLINE Qt_QAbstractScrollArea_setViewport( ::pPtr, pWidget ) - METHOD verticalScrollBar() INLINE Qt_QAbstractScrollArea_verticalScrollBar( ::pPtr ) - METHOD verticalScrollBarPolicy() INLINE Qt_QAbstractScrollArea_verticalScrollBarPolicy( ::pPtr ) - METHOD viewport() INLINE Qt_QAbstractScrollArea_viewport( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractScrollArea - - ::pParent := pParent - - ::pPtr := Qt_QAbstractScrollArea( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractScrollArea - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractSlider.prg b/harbour/contrib/hbqt/TQAbstractSlider.prg deleted file mode 100644 index 55bb23358f..0000000000 --- a/harbour/contrib/hbqt/TQAbstractSlider.prg +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractSlider INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD hasTracking() INLINE Qt_QAbstractSlider_hasTracking( ::pPtr ) - METHOD invertedAppearance() INLINE Qt_QAbstractSlider_invertedAppearance( ::pPtr ) - METHOD invertedControls() INLINE Qt_QAbstractSlider_invertedControls( ::pPtr ) - METHOD isSliderDown() INLINE Qt_QAbstractSlider_isSliderDown( ::pPtr ) - METHOD maximum() INLINE Qt_QAbstractSlider_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QAbstractSlider_minimum( ::pPtr ) - METHOD orientation() INLINE Qt_QAbstractSlider_orientation( ::pPtr ) - METHOD pageStep() INLINE Qt_QAbstractSlider_pageStep( ::pPtr ) - METHOD setInvertedAppearance( lBool ) INLINE Qt_QAbstractSlider_setInvertedAppearance( ::pPtr, lBool ) - METHOD setInvertedControls( lBool ) INLINE Qt_QAbstractSlider_setInvertedControls( ::pPtr, lBool ) - METHOD setMaximum( nInt ) INLINE Qt_QAbstractSlider_setMaximum( ::pPtr, nInt ) - METHOD setMinimum( nInt ) INLINE Qt_QAbstractSlider_setMinimum( ::pPtr, nInt ) - METHOD setPageStep( nInt ) INLINE Qt_QAbstractSlider_setPageStep( ::pPtr, nInt ) - METHOD setRange( nMin, nMax ) INLINE Qt_QAbstractSlider_setRange( ::pPtr, nMin, nMax ) - METHOD setSingleStep( nInt ) INLINE Qt_QAbstractSlider_setSingleStep( ::pPtr, nInt ) - METHOD setSliderDown( lBool ) INLINE Qt_QAbstractSlider_setSliderDown( ::pPtr, lBool ) - METHOD setSliderPosition( nInt ) INLINE Qt_QAbstractSlider_setSliderPosition( ::pPtr, nInt ) - METHOD setTracking( lEnable ) INLINE Qt_QAbstractSlider_setTracking( ::pPtr, lEnable ) - METHOD singleStep() INLINE Qt_QAbstractSlider_singleStep( ::pPtr ) - METHOD sliderPosition() INLINE Qt_QAbstractSlider_sliderPosition( ::pPtr ) - METHOD triggerAction( nAction ) INLINE Qt_QAbstractSlider_triggerAction( ::pPtr, nAction ) - METHOD value() INLINE Qt_QAbstractSlider_value( ::pPtr ) - METHOD setOrientation( nQt_Orientation ) INLINE Qt_QAbstractSlider_setOrientation( ::pPtr, nQt_Orientation ) - METHOD setValue( nInt ) INLINE Qt_QAbstractSlider_setValue( ::pPtr, nInt ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractSlider - - ::pParent := pParent - - ::pPtr := Qt_QAbstractSlider( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractSlider - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractSpinBox.prg b/harbour/contrib/hbqt/TQAbstractSpinBox.prg deleted file mode 100644 index 4a4f96023f..0000000000 --- a/harbour/contrib/hbqt/TQAbstractSpinBox.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractSpinBox INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QAbstractSpinBox_alignment( ::pPtr ) - METHOD buttonSymbols() INLINE Qt_QAbstractSpinBox_buttonSymbols( ::pPtr ) - METHOD correctionMode() INLINE Qt_QAbstractSpinBox_correctionMode( ::pPtr ) - METHOD hasAcceptableInput() INLINE Qt_QAbstractSpinBox_hasAcceptableInput( ::pPtr ) - METHOD hasFrame() INLINE Qt_QAbstractSpinBox_hasFrame( ::pPtr ) - METHOD interpretText() INLINE Qt_QAbstractSpinBox_interpretText( ::pPtr ) - METHOD isAccelerated() INLINE Qt_QAbstractSpinBox_isAccelerated( ::pPtr ) - METHOD isReadOnly() INLINE Qt_QAbstractSpinBox_isReadOnly( ::pPtr ) - METHOD keyboardTracking() INLINE Qt_QAbstractSpinBox_keyboardTracking( ::pPtr ) - METHOD setAccelerated( lOn ) INLINE Qt_QAbstractSpinBox_setAccelerated( ::pPtr, lOn ) - METHOD setAlignment( nFlag ) INLINE Qt_QAbstractSpinBox_setAlignment( ::pPtr, nFlag ) - METHOD setButtonSymbols( nBs ) INLINE Qt_QAbstractSpinBox_setButtonSymbols( ::pPtr, nBs ) - METHOD setCorrectionMode( nCm ) INLINE Qt_QAbstractSpinBox_setCorrectionMode( ::pPtr, nCm ) - METHOD setFrame( lBool ) INLINE Qt_QAbstractSpinBox_setFrame( ::pPtr, lBool ) - METHOD setKeyboardTracking( lKt ) INLINE Qt_QAbstractSpinBox_setKeyboardTracking( ::pPtr, lKt ) - METHOD setReadOnly( lR ) INLINE Qt_QAbstractSpinBox_setReadOnly( ::pPtr, lR ) - METHOD setSpecialValueText( cTxt ) INLINE Qt_QAbstractSpinBox_setSpecialValueText( ::pPtr, cTxt ) - METHOD setWrapping( lW ) INLINE Qt_QAbstractSpinBox_setWrapping( ::pPtr, lW ) - METHOD specialValueText() INLINE Qt_QAbstractSpinBox_specialValueText( ::pPtr ) - METHOD stepBy( nSteps ) INLINE Qt_QAbstractSpinBox_stepBy( ::pPtr, nSteps ) - METHOD text() INLINE Qt_QAbstractSpinBox_text( ::pPtr ) - METHOD wrapping() INLINE Qt_QAbstractSpinBox_wrapping( ::pPtr ) - METHOD clear() INLINE Qt_QAbstractSpinBox_clear( ::pPtr ) - METHOD selectAll() INLINE Qt_QAbstractSpinBox_selectAll( ::pPtr ) - METHOD stepDown() INLINE Qt_QAbstractSpinBox_stepDown( ::pPtr ) - METHOD stepUp() INLINE Qt_QAbstractSpinBox_stepUp( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractSpinBox - - ::pParent := pParent - - ::pPtr := Qt_QAbstractSpinBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractSpinBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAbstractTableModel.prg b/harbour/contrib/hbqt/TQAbstractTableModel.prg deleted file mode 100644 index fbca1f2c99..0000000000 --- a/harbour/contrib/hbqt/TQAbstractTableModel.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAbstractTableModel INHERIT QAbstractItemModel - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD index( nRow, nColumn, pParent ) INLINE Qt_QAbstractTableModel_index( ::pPtr, nRow, nColumn, pParent ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAbstractTableModel - - ::pParent := pParent - - ::pPtr := Qt_QAbstractTableModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAbstractTableModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQAction.prg b/harbour/contrib/hbqt/TQAction.prg deleted file mode 100644 index 32a06b25f3..0000000000 --- a/harbour/contrib/hbqt/TQAction.prg +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QAction INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD actionGroup() INLINE Qt_QAction_actionGroup( ::pPtr ) - METHOD activate( nEvent ) INLINE Qt_QAction_activate( ::pPtr, nEvent ) - METHOD autoRepeat() INLINE Qt_QAction_autoRepeat( ::pPtr ) - METHOD data() INLINE Qt_QAction_data( ::pPtr ) - METHOD font() INLINE Qt_QAction_font( ::pPtr ) - METHOD icon() INLINE Qt_QAction_icon( ::pPtr ) - METHOD iconText() INLINE Qt_QAction_iconText( ::pPtr ) - METHOD isCheckable() INLINE Qt_QAction_isCheckable( ::pPtr ) - METHOD isChecked() INLINE Qt_QAction_isChecked( ::pPtr ) - METHOD isEnabled() INLINE Qt_QAction_isEnabled( ::pPtr ) - METHOD isIconVisibleInMenu() INLINE Qt_QAction_isIconVisibleInMenu( ::pPtr ) - METHOD isSeparator() INLINE Qt_QAction_isSeparator( ::pPtr ) - METHOD isVisible() INLINE Qt_QAction_isVisible( ::pPtr ) - METHOD menu() INLINE Qt_QAction_menu( ::pPtr ) - METHOD menuRole() INLINE Qt_QAction_menuRole( ::pPtr ) - METHOD parentWidget() INLINE Qt_QAction_parentWidget( ::pPtr ) - METHOD setActionGroup( pGroup ) INLINE Qt_QAction_setActionGroup( ::pPtr, pGroup ) - METHOD setAutoRepeat( lBool ) INLINE Qt_QAction_setAutoRepeat( ::pPtr, lBool ) - METHOD setCheckable( lBool ) INLINE Qt_QAction_setCheckable( ::pPtr, lBool ) - METHOD setData( pUserData ) INLINE Qt_QAction_setData( ::pPtr, pUserData ) - METHOD setFont( pFont ) INLINE Qt_QAction_setFont( ::pPtr, pFont ) - METHOD setIcon( cIcon ) INLINE Qt_QAction_setIcon( ::pPtr, cIcon ) - METHOD setIconText( cText ) INLINE Qt_QAction_setIconText( ::pPtr, cText ) - METHOD setIconVisibleInMenu( lVisible ) INLINE Qt_QAction_setIconVisibleInMenu( ::pPtr, lVisible ) - METHOD setMenu( pMenu ) INLINE Qt_QAction_setMenu( ::pPtr, pMenu ) - METHOD setMenuRole( nMenuRole ) INLINE Qt_QAction_setMenuRole( ::pPtr, nMenuRole ) - METHOD setSeparator( lB ) INLINE Qt_QAction_setSeparator( ::pPtr, lB ) - METHOD setShortcut( pShortcut ) INLINE Qt_QAction_setShortcut( ::pPtr, pShortcut ) - METHOD setShortcutContext( nContext ) INLINE Qt_QAction_setShortcutContext( ::pPtr, nContext ) - METHOD setShortcuts( nKey ) INLINE Qt_QAction_setShortcuts( ::pPtr, nKey ) - METHOD setStatusTip( cStatusTip ) INLINE Qt_QAction_setStatusTip( ::pPtr, cStatusTip ) - METHOD setText( cText ) INLINE Qt_QAction_setText( ::pPtr, cText ) - METHOD setToolTip( cTip ) INLINE Qt_QAction_setToolTip( ::pPtr, cTip ) - METHOD setWhatsThis( cWhat ) INLINE Qt_QAction_setWhatsThis( ::pPtr, cWhat ) - METHOD shortcut() INLINE Qt_QAction_shortcut( ::pPtr ) - METHOD shortcutContext() INLINE Qt_QAction_shortcutContext( ::pPtr ) - METHOD showStatusText( pWidget ) INLINE Qt_QAction_showStatusText( ::pPtr, pWidget ) - METHOD statusTip() INLINE Qt_QAction_statusTip( ::pPtr ) - METHOD text() INLINE Qt_QAction_text( ::pPtr ) - METHOD toolTip() INLINE Qt_QAction_toolTip( ::pPtr ) - METHOD whatsThis() INLINE Qt_QAction_whatsThis( ::pPtr ) - METHOD hover() INLINE Qt_QAction_hover( ::pPtr ) - METHOD setChecked( lBool ) INLINE Qt_QAction_setChecked( ::pPtr, lBool ) - METHOD setDisabled( lB ) INLINE Qt_QAction_setDisabled( ::pPtr, lB ) - METHOD setEnabled( lBool ) INLINE Qt_QAction_setEnabled( ::pPtr, lBool ) - METHOD setVisible( lBool ) INLINE Qt_QAction_setVisible( ::pPtr, lBool ) - METHOD toggle() INLINE Qt_QAction_toggle( ::pPtr ) - METHOD trigger() INLINE Qt_QAction_trigger( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QAction - - ::pParent := pParent - - ::pPtr := Qt_QAction( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QAction - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQApplication.prg b/harbour/contrib/hbqt/TQApplication.prg deleted file mode 100644 index c4ad22c310..0000000000 --- a/harbour/contrib/hbqt/TQApplication.prg +++ /dev/null @@ -1,177 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QApplication INHERIT QCoreApplication - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD commitData( pManager ) INLINE Qt_QApplication_commitData( ::pPtr, pManager ) - METHOD inputContext() INLINE Qt_QApplication_inputContext( ::pPtr ) - METHOD isSessionRestored() INLINE Qt_QApplication_isSessionRestored( ::pPtr ) - METHOD saveState( pManager ) INLINE Qt_QApplication_saveState( ::pPtr, pManager ) - METHOD sessionId() INLINE Qt_QApplication_sessionId( ::pPtr ) - METHOD sessionKey() INLINE Qt_QApplication_sessionKey( ::pPtr ) - METHOD setInputContext( pInputContext ) INLINE Qt_QApplication_setInputContext( ::pPtr, pInputContext ) - METHOD styleSheet() INLINE Qt_QApplication_styleSheet( ::pPtr ) - METHOD activeModalWidget() INLINE Qt_QApplication_activeModalWidget( ::pPtr ) - METHOD activePopupWidget() INLINE Qt_QApplication_activePopupWidget( ::pPtr ) - METHOD activeWindow() INLINE Qt_QApplication_activeWindow( ::pPtr ) - METHOD alert( pWidget, nMsec ) INLINE Qt_QApplication_alert( ::pPtr, pWidget, nMsec ) - METHOD allWidgets() INLINE Qt_QApplication_allWidgets( ::pPtr ) - METHOD beep() INLINE Qt_QApplication_beep( ::pPtr ) - METHOD changeOverrideCursor( pCursor ) INLINE Qt_QApplication_changeOverrideCursor( ::pPtr, pCursor ) - METHOD clipboard() INLINE Qt_QApplication_clipboard( ::pPtr ) - METHOD colorSpec() INLINE Qt_QApplication_colorSpec( ::pPtr ) - METHOD cursorFlashTime() INLINE Qt_QApplication_cursorFlashTime( ::pPtr ) - METHOD desktop() INLINE Qt_QApplication_desktop( ::pPtr ) - METHOD desktopSettingsAware() INLINE Qt_QApplication_desktopSettingsAware( ::pPtr ) - METHOD doubleClickInterval() INLINE Qt_QApplication_doubleClickInterval( ::pPtr ) - METHOD exec() INLINE Qt_QApplication_exec( ::pPtr ) - METHOD focusWidget() INLINE Qt_QApplication_focusWidget( ::pPtr ) - METHOD font() INLINE Qt_QApplication_font( ::pPtr ) - METHOD font_1( pWidget ) INLINE Qt_QApplication_font_1( ::pPtr, pWidget ) - METHOD font_2( pClassName ) INLINE Qt_QApplication_font_2( ::pPtr, pClassName ) - METHOD fontMetrics() INLINE Qt_QApplication_fontMetrics( ::pPtr ) - METHOD globalStrut() INLINE Qt_QApplication_globalStrut( ::pPtr ) - METHOD isEffectEnabled( nEffect ) INLINE Qt_QApplication_isEffectEnabled( ::pPtr, nEffect ) - METHOD isLeftToRight() INLINE Qt_QApplication_isLeftToRight( ::pPtr ) - METHOD isRightToLeft() INLINE Qt_QApplication_isRightToLeft( ::pPtr ) - METHOD keyboardInputDirection() INLINE Qt_QApplication_keyboardInputDirection( ::pPtr ) - METHOD keyboardInputInterval() INLINE Qt_QApplication_keyboardInputInterval( ::pPtr ) - METHOD keyboardInputLocale() INLINE Qt_QApplication_keyboardInputLocale( ::pPtr ) - METHOD keyboardModifiers() INLINE Qt_QApplication_keyboardModifiers( ::pPtr ) - METHOD layoutDirection() INLINE Qt_QApplication_layoutDirection( ::pPtr ) - METHOD mouseButtons() INLINE Qt_QApplication_mouseButtons( ::pPtr ) - METHOD overrideCursor() INLINE Qt_QApplication_overrideCursor( ::pPtr ) - METHOD palette() INLINE Qt_QApplication_palette( ::pPtr ) - METHOD palette_1( pWidget ) INLINE Qt_QApplication_palette_1( ::pPtr, pWidget ) - METHOD palette_2( pClassName ) INLINE Qt_QApplication_palette_2( ::pPtr, pClassName ) - METHOD quitOnLastWindowClosed() INLINE Qt_QApplication_quitOnLastWindowClosed( ::pPtr ) - METHOD restoreOverrideCursor() INLINE Qt_QApplication_restoreOverrideCursor( ::pPtr ) - METHOD setActiveWindow( pActive ) INLINE Qt_QApplication_setActiveWindow( ::pPtr, pActive ) - METHOD setColorSpec( nSpec ) INLINE Qt_QApplication_setColorSpec( ::pPtr, nSpec ) - METHOD setCursorFlashTime( nInt ) INLINE Qt_QApplication_setCursorFlashTime( ::pPtr, nInt ) - METHOD setDesktopSettingsAware( lOn ) INLINE Qt_QApplication_setDesktopSettingsAware( ::pPtr, lOn ) - METHOD setDoubleClickInterval( nInt ) INLINE Qt_QApplication_setDoubleClickInterval( ::pPtr, nInt ) - METHOD setEffectEnabled( nEffect, lEnable ) INLINE Qt_QApplication_setEffectEnabled( ::pPtr, nEffect, lEnable ) - METHOD setFont( pFont, pClassName ) INLINE Qt_QApplication_setFont( ::pPtr, pFont, pClassName ) - METHOD setGlobalStrut( pQSize ) INLINE Qt_QApplication_setGlobalStrut( ::pPtr, pQSize ) - METHOD setGraphicsSystem( cSystem ) INLINE Qt_QApplication_setGraphicsSystem( ::pPtr, cSystem ) - METHOD setKeyboardInputInterval( nInt ) INLINE Qt_QApplication_setKeyboardInputInterval( ::pPtr, nInt ) - METHOD setLayoutDirection( nDirection ) INLINE Qt_QApplication_setLayoutDirection( ::pPtr, nDirection ) - METHOD setOverrideCursor( pCursor ) INLINE Qt_QApplication_setOverrideCursor( ::pPtr, pCursor ) - METHOD setPalette( pPalette, pClassName ) INLINE Qt_QApplication_setPalette( ::pPtr, pPalette, pClassName ) - METHOD setQuitOnLastWindowClosed( lQuit ) INLINE Qt_QApplication_setQuitOnLastWindowClosed( ::pPtr, lQuit ) - METHOD setStartDragDistance( nL ) INLINE Qt_QApplication_setStartDragDistance( ::pPtr, nL ) - METHOD setStartDragTime( nMs ) INLINE Qt_QApplication_setStartDragTime( ::pPtr, nMs ) - METHOD setStyle( pStyle ) INLINE Qt_QApplication_setStyle( ::pPtr, pStyle ) - METHOD setStyle_1( cStyle ) INLINE Qt_QApplication_setStyle_1( ::pPtr, cStyle ) - METHOD setWheelScrollLines( nInt ) INLINE Qt_QApplication_setWheelScrollLines( ::pPtr, nInt ) - METHOD setWindowIcon( cIcon ) INLINE Qt_QApplication_setWindowIcon( ::pPtr, cIcon ) - METHOD startDragDistance() INLINE Qt_QApplication_startDragDistance( ::pPtr ) - METHOD startDragTime() INLINE Qt_QApplication_startDragTime( ::pPtr ) - METHOD style() INLINE Qt_QApplication_style( ::pPtr ) - METHOD syncX() INLINE Qt_QApplication_syncX( ::pPtr ) - METHOD topLevelAt( pPoint ) INLINE Qt_QApplication_topLevelAt( ::pPtr, pPoint ) - METHOD topLevelAt_1( nX, nY ) INLINE Qt_QApplication_topLevelAt_1( ::pPtr, nX, nY ) - METHOD topLevelWidgets() INLINE Qt_QApplication_topLevelWidgets( ::pPtr ) - METHOD type() INLINE Qt_QApplication_type( ::pPtr ) - METHOD wheelScrollLines() INLINE Qt_QApplication_wheelScrollLines( ::pPtr ) - METHOD widgetAt( pPoint ) INLINE Qt_QApplication_widgetAt( ::pPtr, pPoint ) - METHOD widgetAt_1( nX, nY ) INLINE Qt_QApplication_widgetAt_1( ::pPtr, nX, nY ) - METHOD windowIcon() INLINE Qt_QApplication_windowIcon( ::pPtr ) - METHOD aboutQt() INLINE Qt_QApplication_aboutQt( ::pPtr ) - METHOD closeAllWindows() INLINE Qt_QApplication_closeAllWindows( ::pPtr ) - METHOD setStyleSheet( cSheet ) INLINE Qt_QApplication_setStyleSheet( ::pPtr, cSheet ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QApplication - - ::pParent := pParent - - ::pPtr := Qt_QApplication( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QApplication - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQBitmap.prg b/harbour/contrib/hbqt/TQBitmap.prg deleted file mode 100644 index 388b031bfe..0000000000 --- a/harbour/contrib/hbqt/TQBitmap.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QBitmap INHERIT QPixmap - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD clear() INLINE Qt_QBitmap_clear( ::pPtr ) - METHOD transformed( pMatrix ) INLINE Qt_QBitmap_transformed( ::pPtr, pMatrix ) - METHOD transformed_1( pMatrix ) INLINE Qt_QBitmap_transformed_1( ::pPtr, pMatrix ) - METHOD fromImage( pImage, nFlags ) INLINE Qt_QBitmap_fromImage( ::pPtr, pImage, nFlags ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QBitmap - - ::pPtr := Qt_QBitmap( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QBitmap - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQBoxLayout.prg b/harbour/contrib/hbqt/TQBoxLayout.prg deleted file mode 100644 index dc1956c2ce..0000000000 --- a/harbour/contrib/hbqt/TQBoxLayout.prg +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QBoxLayout INHERIT QLayout - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addLayout( pLayout, nStretch ) INLINE Qt_QBoxLayout_addLayout( ::pPtr, pLayout, nStretch ) - METHOD addSpacerItem( pSpacerItem ) INLINE Qt_QBoxLayout_addSpacerItem( ::pPtr, pSpacerItem ) - METHOD addSpacing( nSize ) INLINE Qt_QBoxLayout_addSpacing( ::pPtr, nSize ) - METHOD addStretch( nStretch ) INLINE Qt_QBoxLayout_addStretch( ::pPtr, nStretch ) - METHOD addStrut( nSize ) INLINE Qt_QBoxLayout_addStrut( ::pPtr, nSize ) - METHOD addWidget( pWidget, nStretch, nAlignment ) INLINE Qt_QBoxLayout_addWidget( ::pPtr, pWidget, nStretch, nAlignment ) - METHOD direction() INLINE Qt_QBoxLayout_direction( ::pPtr ) - METHOD insertLayout( nIndex, pLayout, nStretch ) INLINE Qt_QBoxLayout_insertLayout( ::pPtr, nIndex, pLayout, nStretch ) - METHOD insertSpacerItem( nIndex, pSpacerItem ) INLINE Qt_QBoxLayout_insertSpacerItem( ::pPtr, nIndex, pSpacerItem ) - METHOD insertSpacing( nIndex, nSize ) INLINE Qt_QBoxLayout_insertSpacing( ::pPtr, nIndex, nSize ) - METHOD insertStretch( nIndex, nStretch ) INLINE Qt_QBoxLayout_insertStretch( ::pPtr, nIndex, nStretch ) - METHOD insertWidget( nIndex, pWidget, nStretch, nAlignment ) INLINE Qt_QBoxLayout_insertWidget( ::pPtr, nIndex, pWidget, nStretch, nAlignment ) - METHOD invalidate() INLINE Qt_QBoxLayout_invalidate( ::pPtr ) - METHOD setDirection( nDirection ) INLINE Qt_QBoxLayout_setDirection( ::pPtr, nDirection ) - METHOD setSpacing( nSpacing ) INLINE Qt_QBoxLayout_setSpacing( ::pPtr, nSpacing ) - METHOD setStretch( nIndex, nStretch ) INLINE Qt_QBoxLayout_setStretch( ::pPtr, nIndex, nStretch ) - METHOD setStretchFactor( pWidget, nStretch ) INLINE Qt_QBoxLayout_setStretchFactor( ::pPtr, pWidget, nStretch ) - METHOD setStretchFactor_1( pLayout, nStretch ) INLINE Qt_QBoxLayout_setStretchFactor_1( ::pPtr, pLayout, nStretch ) - METHOD spacing() INLINE Qt_QBoxLayout_spacing( ::pPtr ) - METHOD stretch( nIndex ) INLINE Qt_QBoxLayout_stretch( ::pPtr, nIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QBoxLayout - - ::pParent := pParent - - ::pPtr := Qt_QBoxLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QBoxLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQBrush.prg b/harbour/contrib/hbqt/TQBrush.prg deleted file mode 100644 index adae594576..0000000000 --- a/harbour/contrib/hbqt/TQBrush.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QBrush - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD color() INLINE Qt_QBrush_color( ::pPtr ) - METHOD isOpaque() INLINE Qt_QBrush_isOpaque( ::pPtr ) - METHOD matrix() INLINE Qt_QBrush_matrix( ::pPtr ) - METHOD setColor( pColor ) INLINE Qt_QBrush_setColor( ::pPtr, pColor ) - METHOD setColor_1( nColor ) INLINE Qt_QBrush_setColor_1( ::pPtr, nColor ) - METHOD setMatrix( pMatrix ) INLINE Qt_QBrush_setMatrix( ::pPtr, pMatrix ) - METHOD setStyle( nStyle ) INLINE Qt_QBrush_setStyle( ::pPtr, nStyle ) - METHOD setTexture( pPixmap ) INLINE Qt_QBrush_setTexture( ::pPtr, pPixmap ) - METHOD setTextureImage( pImage ) INLINE Qt_QBrush_setTextureImage( ::pPtr, pImage ) - METHOD setTransform( pMatrix ) INLINE Qt_QBrush_setTransform( ::pPtr, pMatrix ) - METHOD style() INLINE Qt_QBrush_style( ::pPtr ) - METHOD texture() INLINE Qt_QBrush_texture( ::pPtr ) - METHOD textureImage() INLINE Qt_QBrush_textureImage( ::pPtr ) - METHOD transform() INLINE Qt_QBrush_transform( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QBrush - - ::pPtr := Qt_QBrush( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QBrush - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQButtonGroup.prg b/harbour/contrib/hbqt/TQButtonGroup.prg deleted file mode 100644 index 063cee8072..0000000000 --- a/harbour/contrib/hbqt/TQButtonGroup.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QButtonGroup INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addButton( pButton ) INLINE Qt_QButtonGroup_addButton( ::pPtr, pButton ) - METHOD addButton_1( pButton, nId ) INLINE Qt_QButtonGroup_addButton_1( ::pPtr, pButton, nId ) - METHOD button( nId ) INLINE Qt_QButtonGroup_button( ::pPtr, nId ) - METHOD checkedButton() INLINE Qt_QButtonGroup_checkedButton( ::pPtr ) - METHOD checkedId() INLINE Qt_QButtonGroup_checkedId( ::pPtr ) - METHOD exclusive() INLINE Qt_QButtonGroup_exclusive( ::pPtr ) - METHOD id( pButton ) INLINE Qt_QButtonGroup_id( ::pPtr, pButton ) - METHOD removeButton( pButton ) INLINE Qt_QButtonGroup_removeButton( ::pPtr, pButton ) - METHOD setExclusive( lBool ) INLINE Qt_QButtonGroup_setExclusive( ::pPtr, lBool ) - METHOD setId( pButton, nId ) INLINE Qt_QButtonGroup_setId( ::pPtr, pButton, nId ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QButtonGroup - - ::pParent := pParent - - ::pPtr := Qt_QButtonGroup( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QButtonGroup - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQCalendarWidget.prg b/harbour/contrib/hbqt/TQCalendarWidget.prg deleted file mode 100644 index a834df2938..0000000000 --- a/harbour/contrib/hbqt/TQCalendarWidget.prg +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QCalendarWidget INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD dateEditAcceptDelay() INLINE Qt_QCalendarWidget_dateEditAcceptDelay( ::pPtr ) - METHOD dateTextFormat( pDate ) INLINE Qt_QCalendarWidget_dateTextFormat( ::pPtr, pDate ) - METHOD firstDayOfWeek() INLINE Qt_QCalendarWidget_firstDayOfWeek( ::pPtr ) - METHOD headerTextFormat() INLINE Qt_QCalendarWidget_headerTextFormat( ::pPtr ) - METHOD horizontalHeaderFormat() INLINE Qt_QCalendarWidget_horizontalHeaderFormat( ::pPtr ) - METHOD isDateEditEnabled() INLINE Qt_QCalendarWidget_isDateEditEnabled( ::pPtr ) - METHOD isGridVisible() INLINE Qt_QCalendarWidget_isGridVisible( ::pPtr ) - METHOD isNavigationBarVisible() INLINE Qt_QCalendarWidget_isNavigationBarVisible( ::pPtr ) - METHOD maximumDate() INLINE Qt_QCalendarWidget_maximumDate( ::pPtr ) - METHOD minimumDate() INLINE Qt_QCalendarWidget_minimumDate( ::pPtr ) - METHOD monthShown() INLINE Qt_QCalendarWidget_monthShown( ::pPtr ) - METHOD selectedDate() INLINE Qt_QCalendarWidget_selectedDate( ::pPtr ) - METHOD selectionMode() INLINE Qt_QCalendarWidget_selectionMode( ::pPtr ) - METHOD setDateEditAcceptDelay( nDelay ) INLINE Qt_QCalendarWidget_setDateEditAcceptDelay( ::pPtr, nDelay ) - METHOD setDateEditEnabled( lEnable ) INLINE Qt_QCalendarWidget_setDateEditEnabled( ::pPtr, lEnable ) - METHOD setDateTextFormat( pDate, pFormat ) INLINE Qt_QCalendarWidget_setDateTextFormat( ::pPtr, pDate, pFormat ) - METHOD setFirstDayOfWeek( nDayOfWeek ) INLINE Qt_QCalendarWidget_setFirstDayOfWeek( ::pPtr, nDayOfWeek ) - METHOD setHeaderTextFormat( pFormat ) INLINE Qt_QCalendarWidget_setHeaderTextFormat( ::pPtr, pFormat ) - METHOD setHorizontalHeaderFormat( nFormat ) INLINE Qt_QCalendarWidget_setHorizontalHeaderFormat( ::pPtr, nFormat ) - METHOD setMaximumDate( pDate ) INLINE Qt_QCalendarWidget_setMaximumDate( ::pPtr, pDate ) - METHOD setMinimumDate( pDate ) INLINE Qt_QCalendarWidget_setMinimumDate( ::pPtr, pDate ) - METHOD setSelectionMode( nMode ) INLINE Qt_QCalendarWidget_setSelectionMode( ::pPtr, nMode ) - METHOD setVerticalHeaderFormat( nFormat ) INLINE Qt_QCalendarWidget_setVerticalHeaderFormat( ::pPtr, nFormat ) - METHOD setWeekdayTextFormat( nDayOfWeek, pFormat ) INLINE Qt_QCalendarWidget_setWeekdayTextFormat( ::pPtr, nDayOfWeek, pFormat ) - METHOD verticalHeaderFormat() INLINE Qt_QCalendarWidget_verticalHeaderFormat( ::pPtr ) - METHOD weekdayTextFormat( nDayOfWeek ) INLINE Qt_QCalendarWidget_weekdayTextFormat( ::pPtr, nDayOfWeek ) - METHOD yearShown() INLINE Qt_QCalendarWidget_yearShown( ::pPtr ) - METHOD setCurrentPage( nYear, nMonth ) INLINE Qt_QCalendarWidget_setCurrentPage( ::pPtr, nYear, nMonth ) - METHOD setDateRange( pMin, pMax ) INLINE Qt_QCalendarWidget_setDateRange( ::pPtr, pMin, pMax ) - METHOD setGridVisible( lShow ) INLINE Qt_QCalendarWidget_setGridVisible( ::pPtr, lShow ) - METHOD setNavigationBarVisible( lVisible ) INLINE Qt_QCalendarWidget_setNavigationBarVisible( ::pPtr, lVisible ) - METHOD setSelectedDate( pDate ) INLINE Qt_QCalendarWidget_setSelectedDate( ::pPtr, pDate ) - METHOD showNextMonth() INLINE Qt_QCalendarWidget_showNextMonth( ::pPtr ) - METHOD showNextYear() INLINE Qt_QCalendarWidget_showNextYear( ::pPtr ) - METHOD showPreviousMonth() INLINE Qt_QCalendarWidget_showPreviousMonth( ::pPtr ) - METHOD showPreviousYear() INLINE Qt_QCalendarWidget_showPreviousYear( ::pPtr ) - METHOD showSelectedDate() INLINE Qt_QCalendarWidget_showSelectedDate( ::pPtr ) - METHOD showToday() INLINE Qt_QCalendarWidget_showToday( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QCalendarWidget - - ::pParent := pParent - - ::pPtr := Qt_QCalendarWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QCalendarWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQCheckBox.prg b/harbour/contrib/hbqt/TQCheckBox.prg deleted file mode 100644 index 4c1550f38d..0000000000 --- a/harbour/contrib/hbqt/TQCheckBox.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QCheckBox INHERIT QAbstractButton - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD checkState() INLINE Qt_QCheckBox_checkState( ::pPtr ) - METHOD isTristate() INLINE Qt_QCheckBox_isTristate( ::pPtr ) - METHOD setCheckState( nState ) INLINE Qt_QCheckBox_setCheckState( ::pPtr, nState ) - METHOD setTristate( lY ) INLINE Qt_QCheckBox_setTristate( ::pPtr, lY ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QCheckBox - - ::pParent := pParent - - ::pPtr := Qt_QCheckBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QCheckBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQClipboard.prg b/harbour/contrib/hbqt/TQClipboard.prg deleted file mode 100644 index 74a7fe52e5..0000000000 --- a/harbour/contrib/hbqt/TQClipboard.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QClipboard INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD clear( nMode ) INLINE Qt_QClipboard_clear( ::pPtr, nMode ) - METHOD image( nMode ) INLINE Qt_QClipboard_image( ::pPtr, nMode ) - METHOD mimeData( nMode ) INLINE Qt_QClipboard_mimeData( ::pPtr, nMode ) - METHOD ownsClipboard() INLINE Qt_QClipboard_ownsClipboard( ::pPtr ) - METHOD ownsFindBuffer() INLINE Qt_QClipboard_ownsFindBuffer( ::pPtr ) - METHOD ownsSelection() INLINE Qt_QClipboard_ownsSelection( ::pPtr ) - METHOD pixmap( nMode ) INLINE Qt_QClipboard_pixmap( ::pPtr, nMode ) - METHOD setImage( pImage, nMode ) INLINE Qt_QClipboard_setImage( ::pPtr, pImage, nMode ) - METHOD setMimeData( pSrc, nMode ) INLINE Qt_QClipboard_setMimeData( ::pPtr, pSrc, nMode ) - METHOD setPixmap( pPixmap, nMode ) INLINE Qt_QClipboard_setPixmap( ::pPtr, pPixmap, nMode ) - METHOD setText( cText, nMode ) INLINE Qt_QClipboard_setText( ::pPtr, cText, nMode ) - METHOD supportsFindBuffer() INLINE Qt_QClipboard_supportsFindBuffer( ::pPtr ) - METHOD supportsSelection() INLINE Qt_QClipboard_supportsSelection( ::pPtr ) - METHOD text( nMode ) INLINE Qt_QClipboard_text( ::pPtr, nMode ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QClipboard - - ::pParent := pParent - - ::pPtr := Qt_QClipboard( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QClipboard - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQColor.prg b/harbour/contrib/hbqt/TQColor.prg deleted file mode 100644 index 4bdc325715..0000000000 --- a/harbour/contrib/hbqt/TQColor.prg +++ /dev/null @@ -1,162 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QColor - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alpha() INLINE Qt_QColor_alpha( ::pPtr ) - METHOD alphaF() INLINE Qt_QColor_alphaF( ::pPtr ) - METHOD black() INLINE Qt_QColor_black( ::pPtr ) - METHOD blackF() INLINE Qt_QColor_blackF( ::pPtr ) - METHOD blue() INLINE Qt_QColor_blue( ::pPtr ) - METHOD blueF() INLINE Qt_QColor_blueF( ::pPtr ) - METHOD convertTo( nColorSpec ) INLINE Qt_QColor_convertTo( ::pPtr, nColorSpec ) - METHOD cyan() INLINE Qt_QColor_cyan( ::pPtr ) - METHOD cyanF() INLINE Qt_QColor_cyanF( ::pPtr ) - METHOD darker( nFactor ) INLINE Qt_QColor_darker( ::pPtr, nFactor ) - METHOD getCmyk( nC, nM, nY, nK, nA ) INLINE Qt_QColor_getCmyk( ::pPtr, nC, nM, nY, nK, nA ) - METHOD getCmykF( nC, nM, nY, nK, nA ) INLINE Qt_QColor_getCmykF( ::pPtr, nC, nM, nY, nK, nA ) - METHOD getHsv( nH, nS, nV, nA ) INLINE Qt_QColor_getHsv( ::pPtr, nH, nS, nV, nA ) - METHOD getHsvF( nH, nS, nV, nA ) INLINE Qt_QColor_getHsvF( ::pPtr, nH, nS, nV, nA ) - METHOD getRgb( nR, nG, nB, nA ) INLINE Qt_QColor_getRgb( ::pPtr, nR, nG, nB, nA ) - METHOD getRgbF( nR, nG, nB, nA ) INLINE Qt_QColor_getRgbF( ::pPtr, nR, nG, nB, nA ) - METHOD green() INLINE Qt_QColor_green( ::pPtr ) - METHOD greenF() INLINE Qt_QColor_greenF( ::pPtr ) - METHOD hue() INLINE Qt_QColor_hue( ::pPtr ) - METHOD hueF() INLINE Qt_QColor_hueF( ::pPtr ) - METHOD isValid() INLINE Qt_QColor_isValid( ::pPtr ) - METHOD lighter( nFactor ) INLINE Qt_QColor_lighter( ::pPtr, nFactor ) - METHOD magenta() INLINE Qt_QColor_magenta( ::pPtr ) - METHOD magentaF() INLINE Qt_QColor_magentaF( ::pPtr ) - METHOD name() INLINE Qt_QColor_name( ::pPtr ) - METHOD red() INLINE Qt_QColor_red( ::pPtr ) - METHOD redF() INLINE Qt_QColor_redF( ::pPtr ) - METHOD rgb() INLINE Qt_QColor_rgb( ::pPtr ) - METHOD rgba() INLINE Qt_QColor_rgba( ::pPtr ) - METHOD saturation() INLINE Qt_QColor_saturation( ::pPtr ) - METHOD saturationF() INLINE Qt_QColor_saturationF( ::pPtr ) - METHOD setAlpha( nAlpha ) INLINE Qt_QColor_setAlpha( ::pPtr, nAlpha ) - METHOD setAlphaF( nAlpha ) INLINE Qt_QColor_setAlphaF( ::pPtr, nAlpha ) - METHOD setBlue( nBlue ) INLINE Qt_QColor_setBlue( ::pPtr, nBlue ) - METHOD setBlueF( nBlue ) INLINE Qt_QColor_setBlueF( ::pPtr, nBlue ) - METHOD setCmyk( nC, nM, nY, nK, nA ) INLINE Qt_QColor_setCmyk( ::pPtr, nC, nM, nY, nK, nA ) - METHOD setCmykF( nC, nM, nY, nK, nA ) INLINE Qt_QColor_setCmykF( ::pPtr, nC, nM, nY, nK, nA ) - METHOD setGreen( nGreen ) INLINE Qt_QColor_setGreen( ::pPtr, nGreen ) - METHOD setGreenF( nGreen ) INLINE Qt_QColor_setGreenF( ::pPtr, nGreen ) - METHOD setHsv( nH, nS, nV, nA ) INLINE Qt_QColor_setHsv( ::pPtr, nH, nS, nV, nA ) - METHOD setHsvF( nH, nS, nV, nA ) INLINE Qt_QColor_setHsvF( ::pPtr, nH, nS, nV, nA ) - METHOD setNamedColor( cName ) INLINE Qt_QColor_setNamedColor( ::pPtr, cName ) - METHOD setRed( nRed ) INLINE Qt_QColor_setRed( ::pPtr, nRed ) - METHOD setRedF( nRed ) INLINE Qt_QColor_setRedF( ::pPtr, nRed ) - METHOD setRgb( nRgb ) INLINE Qt_QColor_setRgb( ::pPtr, nRgb ) - METHOD setRgb_1( nR, nG, nB, nA ) INLINE Qt_QColor_setRgb_1( ::pPtr, nR, nG, nB, nA ) - METHOD setRgba( nRgba ) INLINE Qt_QColor_setRgba( ::pPtr, nRgba ) - METHOD setRgbF( nR, nG, nB, nA ) INLINE Qt_QColor_setRgbF( ::pPtr, nR, nG, nB, nA ) - METHOD spec() INLINE Qt_QColor_spec( ::pPtr ) - METHOD toCmyk() INLINE Qt_QColor_toCmyk( ::pPtr ) - METHOD toHsv() INLINE Qt_QColor_toHsv( ::pPtr ) - METHOD toRgb() INLINE Qt_QColor_toRgb( ::pPtr ) - METHOD value() INLINE Qt_QColor_value( ::pPtr ) - METHOD valueF() INLINE Qt_QColor_valueF( ::pPtr ) - METHOD yellow() INLINE Qt_QColor_yellow( ::pPtr ) - METHOD yellowF() INLINE Qt_QColor_yellowF( ::pPtr ) - METHOD colorNames() INLINE Qt_QColor_colorNames( ::pPtr ) - METHOD fromCmyk( nC, nM, nY, nK, nA ) INLINE Qt_QColor_fromCmyk( ::pPtr, nC, nM, nY, nK, nA ) - METHOD fromCmykF( nC, nM, nY, nK, nA ) INLINE Qt_QColor_fromCmykF( ::pPtr, nC, nM, nY, nK, nA ) - METHOD fromHsv( nH, nS, nV, nA ) INLINE Qt_QColor_fromHsv( ::pPtr, nH, nS, nV, nA ) - METHOD fromHsvF( nH, nS, nV, nA ) INLINE Qt_QColor_fromHsvF( ::pPtr, nH, nS, nV, nA ) - METHOD fromRgb( nRgb ) INLINE Qt_QColor_fromRgb( ::pPtr, nRgb ) - METHOD fromRgb_1( nR, nG, nB, nA ) INLINE Qt_QColor_fromRgb_1( ::pPtr, nR, nG, nB, nA ) - METHOD fromRgbF( nR, nG, nB, nA ) INLINE Qt_QColor_fromRgbF( ::pPtr, nR, nG, nB, nA ) - METHOD fromRgba( nRgba ) INLINE Qt_QColor_fromRgba( ::pPtr, nRgba ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QColor - - ::pPtr := Qt_QColor( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QColor - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQColorDialog.prg b/harbour/contrib/hbqt/TQColorDialog.prg deleted file mode 100644 index 20b5fa603d..0000000000 --- a/harbour/contrib/hbqt/TQColorDialog.prg +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QColorDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD currentColor() INLINE Qt_QColorDialog_currentColor( ::pPtr ) - METHOD open() INLINE Qt_QColorDialog_open( ::pPtr ) - METHOD options() INLINE Qt_QColorDialog_options( ::pPtr ) - METHOD selectedColor() INLINE Qt_QColorDialog_selectedColor( ::pPtr ) - METHOD setCurrentColor( pColor ) INLINE Qt_QColorDialog_setCurrentColor( ::pPtr, pColor ) - METHOD setOption( nOption, lOn ) INLINE Qt_QColorDialog_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QColorDialog_setOptions( ::pPtr, nOptions ) - METHOD setVisible( lVisible ) INLINE Qt_QColorDialog_setVisible( ::pPtr, lVisible ) - METHOD testOption( nOption ) INLINE Qt_QColorDialog_testOption( ::pPtr, nOption ) - METHOD customColor( nIndex ) INLINE Qt_QColorDialog_customColor( ::pPtr, nIndex ) - METHOD customCount() INLINE Qt_QColorDialog_customCount( ::pPtr ) - METHOD getColor( pInitial, pParent, cTitle, nOptions ) INLINE Qt_QColorDialog_getColor( ::pPtr, pInitial, pParent, cTitle, nOptions ) - METHOD getColor_1( pInitial, pParent ) INLINE Qt_QColorDialog_getColor_1( ::pPtr, pInitial, pParent ) - METHOD setCustomColor( nIndex, nColor ) INLINE Qt_QColorDialog_setCustomColor( ::pPtr, nIndex, nColor ) - METHOD setStandardColor( nIndex, nColor ) INLINE Qt_QColorDialog_setStandardColor( ::pPtr, nIndex, nColor ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QColorDialog - - ::pParent := pParent - - ::pPtr := Qt_QColorDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QColorDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQComboBox.prg b/harbour/contrib/hbqt/TQComboBox.prg deleted file mode 100644 index 62cb76b9a0..0000000000 --- a/harbour/contrib/hbqt/TQComboBox.prg +++ /dev/null @@ -1,158 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QComboBox INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addItem( cText, pUserData ) INLINE Qt_QComboBox_addItem( ::pPtr, cText, pUserData ) - METHOD addItem_1( cIcon, cText, pUserData ) INLINE Qt_QComboBox_addItem_1( ::pPtr, cIcon, cText, pUserData ) - METHOD addItems( pTexts ) INLINE Qt_QComboBox_addItems( ::pPtr, pTexts ) - METHOD completer() INLINE Qt_QComboBox_completer( ::pPtr ) - METHOD count() INLINE Qt_QComboBox_count( ::pPtr ) - METHOD currentIndex() INLINE Qt_QComboBox_currentIndex( ::pPtr ) - METHOD currentText() INLINE Qt_QComboBox_currentText( ::pPtr ) - METHOD duplicatesEnabled() INLINE Qt_QComboBox_duplicatesEnabled( ::pPtr ) - METHOD findData( pData, nRole, nFlags ) INLINE Qt_QComboBox_findData( ::pPtr, pData, nRole, nFlags ) - METHOD findText( cText, nFlags ) INLINE Qt_QComboBox_findText( ::pPtr, cText, nFlags ) - METHOD hasFrame() INLINE Qt_QComboBox_hasFrame( ::pPtr ) - METHOD hidePopup() INLINE Qt_QComboBox_hidePopup( ::pPtr ) - METHOD iconSize() INLINE Qt_QComboBox_iconSize( ::pPtr ) - METHOD insertItem( nIndex, cText, pUserData ) INLINE Qt_QComboBox_insertItem( ::pPtr, nIndex, cText, pUserData ) - METHOD insertItem_1( nIndex, cIcon, cText, pUserData ) INLINE Qt_QComboBox_insertItem_1( ::pPtr, nIndex, cIcon, cText, pUserData ) - METHOD insertItems( nIndex, pList ) INLINE Qt_QComboBox_insertItems( ::pPtr, nIndex, pList ) - METHOD insertPolicy() INLINE Qt_QComboBox_insertPolicy( ::pPtr ) - METHOD insertSeparator( nIndex ) INLINE Qt_QComboBox_insertSeparator( ::pPtr, nIndex ) - METHOD isEditable() INLINE Qt_QComboBox_isEditable( ::pPtr ) - METHOD itemData( nIndex, nRole ) INLINE Qt_QComboBox_itemData( ::pPtr, nIndex, nRole ) - METHOD itemDelegate() INLINE Qt_QComboBox_itemDelegate( ::pPtr ) - METHOD itemIcon( nIndex ) INLINE Qt_QComboBox_itemIcon( ::pPtr, nIndex ) - METHOD itemText( nIndex ) INLINE Qt_QComboBox_itemText( ::pPtr, nIndex ) - METHOD lineEdit() INLINE Qt_QComboBox_lineEdit( ::pPtr ) - METHOD maxCount() INLINE Qt_QComboBox_maxCount( ::pPtr ) - METHOD maxVisibleItems() INLINE Qt_QComboBox_maxVisibleItems( ::pPtr ) - METHOD minimumContentsLength() INLINE Qt_QComboBox_minimumContentsLength( ::pPtr ) - METHOD model() INLINE Qt_QComboBox_model( ::pPtr ) - METHOD modelColumn() INLINE Qt_QComboBox_modelColumn( ::pPtr ) - METHOD removeItem( nIndex ) INLINE Qt_QComboBox_removeItem( ::pPtr, nIndex ) - METHOD rootModelIndex() INLINE Qt_QComboBox_rootModelIndex( ::pPtr ) - METHOD setCompleter( pCompleter ) INLINE Qt_QComboBox_setCompleter( ::pPtr, pCompleter ) - METHOD setDuplicatesEnabled( lEnable ) INLINE Qt_QComboBox_setDuplicatesEnabled( ::pPtr, lEnable ) - METHOD setEditable( lEditable ) INLINE Qt_QComboBox_setEditable( ::pPtr, lEditable ) - METHOD setFrame( lBool ) INLINE Qt_QComboBox_setFrame( ::pPtr, lBool ) - METHOD setIconSize( pSize ) INLINE Qt_QComboBox_setIconSize( ::pPtr, pSize ) - METHOD setInsertPolicy( nPolicy ) INLINE Qt_QComboBox_setInsertPolicy( ::pPtr, nPolicy ) - METHOD setItemData( nIndex, pValue, nRole ) INLINE Qt_QComboBox_setItemData( ::pPtr, nIndex, pValue, nRole ) - METHOD setItemDelegate( pDelegate ) INLINE Qt_QComboBox_setItemDelegate( ::pPtr, pDelegate ) - METHOD setItemIcon( nIndex, cIcon ) INLINE Qt_QComboBox_setItemIcon( ::pPtr, nIndex, cIcon ) - METHOD setItemText( nIndex, cText ) INLINE Qt_QComboBox_setItemText( ::pPtr, nIndex, cText ) - METHOD setLineEdit( pEdit ) INLINE Qt_QComboBox_setLineEdit( ::pPtr, pEdit ) - METHOD setMaxCount( nMax ) INLINE Qt_QComboBox_setMaxCount( ::pPtr, nMax ) - METHOD setMaxVisibleItems( nMaxItems ) INLINE Qt_QComboBox_setMaxVisibleItems( ::pPtr, nMaxItems ) - METHOD setMinimumContentsLength( nCharacters ) INLINE Qt_QComboBox_setMinimumContentsLength( ::pPtr, nCharacters ) - METHOD setModel( pModel ) INLINE Qt_QComboBox_setModel( ::pPtr, pModel ) - METHOD setModelColumn( nVisibleColumn ) INLINE Qt_QComboBox_setModelColumn( ::pPtr, nVisibleColumn ) - METHOD setRootModelIndex( pIndex ) INLINE Qt_QComboBox_setRootModelIndex( ::pPtr, pIndex ) - METHOD setSizeAdjustPolicy( nPolicy ) INLINE Qt_QComboBox_setSizeAdjustPolicy( ::pPtr, nPolicy ) - METHOD setValidator( pValidator ) INLINE Qt_QComboBox_setValidator( ::pPtr, pValidator ) - METHOD setView( pItemView ) INLINE Qt_QComboBox_setView( ::pPtr, pItemView ) - METHOD showPopup() INLINE Qt_QComboBox_showPopup( ::pPtr ) - METHOD sizeAdjustPolicy() INLINE Qt_QComboBox_sizeAdjustPolicy( ::pPtr ) - METHOD validator() INLINE Qt_QComboBox_validator( ::pPtr ) - METHOD view() INLINE Qt_QComboBox_view( ::pPtr ) - METHOD clear() INLINE Qt_QComboBox_clear( ::pPtr ) - METHOD clearEditText() INLINE Qt_QComboBox_clearEditText( ::pPtr ) - METHOD setCurrentIndex( nIndex ) INLINE Qt_QComboBox_setCurrentIndex( ::pPtr, nIndex ) - METHOD setEditText( cText ) INLINE Qt_QComboBox_setEditText( ::pPtr, cText ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QComboBox - - ::pParent := pParent - - ::pPtr := Qt_QComboBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QComboBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQCommandLinkButton.prg b/harbour/contrib/hbqt/TQCommandLinkButton.prg deleted file mode 100644 index dba050016b..0000000000 --- a/harbour/contrib/hbqt/TQCommandLinkButton.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QCommandLinkButton INHERIT QPushButton - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD description() INLINE Qt_QCommandLinkButton_description( ::pPtr ) - METHOD setDescription( cDescription ) INLINE Qt_QCommandLinkButton_setDescription( ::pPtr, cDescription ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QCommandLinkButton - - ::pParent := pParent - - ::pPtr := Qt_QCommandLinkButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QCommandLinkButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQCommonStyle.prg b/harbour/contrib/hbqt/TQCommonStyle.prg deleted file mode 100644 index 98667b859e..0000000000 --- a/harbour/contrib/hbqt/TQCommonStyle.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QCommonStyle INHERIT QStyle - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QCommonStyle - - ::pParent := pParent - - ::pPtr := Qt_QCommonStyle( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QCommonStyle - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQConicalGradient.prg b/harbour/contrib/hbqt/TQConicalGradient.prg deleted file mode 100644 index c59d7a633a..0000000000 --- a/harbour/contrib/hbqt/TQConicalGradient.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QConicalGradient INHERIT QGradient - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD angle() INLINE Qt_QConicalGradient_angle( ::pPtr ) - METHOD center() INLINE Qt_QConicalGradient_center( ::pPtr ) - METHOD setAngle( nAngle ) INLINE Qt_QConicalGradient_setAngle( ::pPtr, nAngle ) - METHOD setCenter( pCenter ) INLINE Qt_QConicalGradient_setCenter( ::pPtr, pCenter ) - METHOD setCenter_1( nX, nY ) INLINE Qt_QConicalGradient_setCenter_1( ::pPtr, nX, nY ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QConicalGradient - - ::pParent := pParent - - ::pPtr := Qt_QConicalGradient( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QConicalGradient - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQCoreApplication.prg b/harbour/contrib/hbqt/TQCoreApplication.prg deleted file mode 100644 index 128e6b209e..0000000000 --- a/harbour/contrib/hbqt/TQCoreApplication.prg +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QCoreApplication INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD notify( pReceiver, pEvent ) INLINE Qt_QCoreApplication_notify( ::pPtr, pReceiver, pEvent ) - METHOD addLibraryPath( cPath ) INLINE Qt_QCoreApplication_addLibraryPath( ::pPtr, cPath ) - METHOD applicationDirPath() INLINE Qt_QCoreApplication_applicationDirPath( ::pPtr ) - METHOD applicationFilePath() INLINE Qt_QCoreApplication_applicationFilePath( ::pPtr ) - METHOD applicationName() INLINE Qt_QCoreApplication_applicationName( ::pPtr ) - METHOD applicationPid() INLINE Qt_QCoreApplication_applicationPid( ::pPtr ) - METHOD applicationVersion() INLINE Qt_QCoreApplication_applicationVersion( ::pPtr ) - METHOD arguments() INLINE Qt_QCoreApplication_arguments( ::pPtr ) - METHOD closingDown() INLINE Qt_QCoreApplication_closingDown( ::pPtr ) - METHOD exec() INLINE Qt_QCoreApplication_exec( ::pPtr ) - METHOD exit( nReturnCode ) INLINE Qt_QCoreApplication_exit( ::pPtr, nReturnCode ) - METHOD flush() INLINE Qt_QCoreApplication_flush( ::pPtr ) - METHOD hasPendingEvents() INLINE Qt_QCoreApplication_hasPendingEvents( ::pPtr ) - METHOD installTranslator( pTranslationFile ) INLINE Qt_QCoreApplication_installTranslator( ::pPtr, pTranslationFile ) - METHOD instance() INLINE Qt_QCoreApplication_instance( ::pPtr ) - METHOD libraryPaths() INLINE Qt_QCoreApplication_libraryPaths( ::pPtr ) - METHOD organizationDomain() INLINE Qt_QCoreApplication_organizationDomain( ::pPtr ) - METHOD organizationName() INLINE Qt_QCoreApplication_organizationName( ::pPtr ) - METHOD postEvent( pReceiver, pEvent ) INLINE Qt_QCoreApplication_postEvent( ::pPtr, pReceiver, pEvent ) - METHOD postEvent_1( pReceiver, pEvent, nPriority ) INLINE Qt_QCoreApplication_postEvent_1( ::pPtr, pReceiver, pEvent, nPriority ) - METHOD processEvents( nFlags ) INLINE Qt_QCoreApplication_processEvents( ::pPtr, nFlags ) - METHOD processEvents_1( nFlags, nMaxtime ) INLINE Qt_QCoreApplication_processEvents_1( ::pPtr, nFlags, nMaxtime ) - METHOD removeLibraryPath( cPath ) INLINE Qt_QCoreApplication_removeLibraryPath( ::pPtr, cPath ) - METHOD removePostedEvents( pReceiver ) INLINE Qt_QCoreApplication_removePostedEvents( ::pPtr, pReceiver ) - METHOD removePostedEvents_1( pReceiver, nEventType ) INLINE Qt_QCoreApplication_removePostedEvents_1( ::pPtr, pReceiver, nEventType ) - METHOD removeTranslator( pTranslationFile ) INLINE Qt_QCoreApplication_removeTranslator( ::pPtr, pTranslationFile ) - METHOD sendEvent( pReceiver, pEvent ) INLINE Qt_QCoreApplication_sendEvent( ::pPtr, pReceiver, pEvent ) - METHOD sendPostedEvents( pReceiver, nEvent_type ) INLINE Qt_QCoreApplication_sendPostedEvents( ::pPtr, pReceiver, nEvent_type ) - METHOD sendPostedEvents_1() INLINE Qt_QCoreApplication_sendPostedEvents_1( ::pPtr ) - METHOD setApplicationName( cApplication ) INLINE Qt_QCoreApplication_setApplicationName( ::pPtr, cApplication ) - METHOD setApplicationVersion( cVersion ) INLINE Qt_QCoreApplication_setApplicationVersion( ::pPtr, cVersion ) - METHOD setAttribute( nAttribute, lOn ) INLINE Qt_QCoreApplication_setAttribute( ::pPtr, nAttribute, lOn ) - METHOD setLibraryPaths( pPaths ) INLINE Qt_QCoreApplication_setLibraryPaths( ::pPtr, pPaths ) - METHOD setOrganizationDomain( cOrgDomain ) INLINE Qt_QCoreApplication_setOrganizationDomain( ::pPtr, cOrgDomain ) - METHOD setOrganizationName( cOrgName ) INLINE Qt_QCoreApplication_setOrganizationName( ::pPtr, cOrgName ) - METHOD startingUp() INLINE Qt_QCoreApplication_startingUp( ::pPtr ) - METHOD testAttribute( nAttribute ) INLINE Qt_QCoreApplication_testAttribute( ::pPtr, nAttribute ) - METHOD translate( pContext, pSourceText, pDisambiguation, nEncoding, nN ) INLINE Qt_QCoreApplication_translate( ::pPtr, pContext, pSourceText, pDisambiguation, nEncoding, nN ) - METHOD translate_1( pContext, pSourceText, pDisambiguation, nEncoding ) INLINE Qt_QCoreApplication_translate_1( ::pPtr, pContext, pSourceText, pDisambiguation, nEncoding ) - METHOD quit() INLINE Qt_QCoreApplication_quit( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QCoreApplication - - ::pParent := pParent - - ::pPtr := Qt_QCoreApplication( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QCoreApplication - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQCursor.prg b/harbour/contrib/hbqt/TQCursor.prg deleted file mode 100644 index 06f270f5aa..0000000000 --- a/harbour/contrib/hbqt/TQCursor.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QCursor - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD bitmap() INLINE Qt_QCursor_bitmap( ::pPtr ) - METHOD hotSpot() INLINE Qt_QCursor_hotSpot( ::pPtr ) - METHOD mask() INLINE Qt_QCursor_mask( ::pPtr ) - METHOD pixmap() INLINE Qt_QCursor_pixmap( ::pPtr ) - METHOD setShape( nShape ) INLINE Qt_QCursor_setShape( ::pPtr, nShape ) - METHOD shape() INLINE Qt_QCursor_shape( ::pPtr ) - METHOD pos() INLINE Qt_QCursor_pos( ::pPtr ) - METHOD setPos( nX, nY ) INLINE Qt_QCursor_setPos( ::pPtr, nX, nY ) - METHOD setPos_1( pP ) INLINE Qt_QCursor_setPos_1( ::pPtr, pP ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QCursor - - ::pPtr := Qt_QCursor( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QCursor - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDateEdit.prg b/harbour/contrib/hbqt/TQDateEdit.prg deleted file mode 100644 index 043926354b..0000000000 --- a/harbour/contrib/hbqt/TQDateEdit.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDateEdit INHERIT QDateTimeEdit - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDateEdit - - ::pParent := pParent - - ::pPtr := Qt_QDateEdit( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDateEdit - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDateTime.prg b/harbour/contrib/hbqt/TQDateTime.prg deleted file mode 100644 index fa62abcc42..0000000000 --- a/harbour/contrib/hbqt/TQDateTime.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDateTime - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addDays( nNdays ) INLINE Qt_QDateTime_addDays( ::pPtr, nNdays ) - METHOD addMSecs( nMsecs ) INLINE Qt_QDateTime_addMSecs( ::pPtr, nMsecs ) - METHOD addMonths( nNmonths ) INLINE Qt_QDateTime_addMonths( ::pPtr, nNmonths ) - METHOD addSecs( nS ) INLINE Qt_QDateTime_addSecs( ::pPtr, nS ) - METHOD addYears( nNyears ) INLINE Qt_QDateTime_addYears( ::pPtr, nNyears ) - METHOD date() INLINE Qt_QDateTime_date( ::pPtr ) - METHOD daysTo( pOther ) INLINE Qt_QDateTime_daysTo( ::pPtr, pOther ) - METHOD isNull() INLINE Qt_QDateTime_isNull( ::pPtr ) - METHOD isValid() INLINE Qt_QDateTime_isValid( ::pPtr ) - METHOD secsTo( pOther ) INLINE Qt_QDateTime_secsTo( ::pPtr, pOther ) - METHOD setDate( pDate ) INLINE Qt_QDateTime_setDate( ::pPtr, pDate ) - METHOD setTime( pTime ) INLINE Qt_QDateTime_setTime( ::pPtr, pTime ) - METHOD setTimeSpec( nSpec ) INLINE Qt_QDateTime_setTimeSpec( ::pPtr, nSpec ) - METHOD setTime_t( nSeconds ) INLINE Qt_QDateTime_setTime_t( ::pPtr, nSeconds ) - METHOD time() INLINE Qt_QDateTime_time( ::pPtr ) - METHOD timeSpec() INLINE Qt_QDateTime_timeSpec( ::pPtr ) - METHOD toLocalTime() INLINE Qt_QDateTime_toLocalTime( ::pPtr ) - METHOD toString( cFormat ) INLINE Qt_QDateTime_toString( ::pPtr, cFormat ) - METHOD toString_1( nFormat ) INLINE Qt_QDateTime_toString_1( ::pPtr, nFormat ) - METHOD toTimeSpec( nSpecification ) INLINE Qt_QDateTime_toTimeSpec( ::pPtr, nSpecification ) - METHOD toTime_t() INLINE Qt_QDateTime_toTime_t( ::pPtr ) - METHOD toUTC() INLINE Qt_QDateTime_toUTC( ::pPtr ) - METHOD currentDateTime() INLINE Qt_QDateTime_currentDateTime( ::pPtr ) - METHOD fromString( cString, nFormat ) INLINE Qt_QDateTime_fromString( ::pPtr, cString, nFormat ) - METHOD fromString_1( cString, cFormat ) INLINE Qt_QDateTime_fromString_1( ::pPtr, cString, cFormat ) - METHOD fromTime_t( nSeconds ) INLINE Qt_QDateTime_fromTime_t( ::pPtr, nSeconds ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDateTime - - ::pParent := pParent - - ::pPtr := Qt_QDateTime( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDateTime - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDateTimeEdit.prg b/harbour/contrib/hbqt/TQDateTimeEdit.prg deleted file mode 100644 index b5acf82e73..0000000000 --- a/harbour/contrib/hbqt/TQDateTimeEdit.prg +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDateTimeEdit INHERIT QAbstractSpinBox - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD calendarPopup() INLINE Qt_QDateTimeEdit_calendarPopup( ::pPtr ) - METHOD calendarWidget() INLINE Qt_QDateTimeEdit_calendarWidget( ::pPtr ) - METHOD clearMaximumDate() INLINE Qt_QDateTimeEdit_clearMaximumDate( ::pPtr ) - METHOD clearMaximumDateTime() INLINE Qt_QDateTimeEdit_clearMaximumDateTime( ::pPtr ) - METHOD clearMaximumTime() INLINE Qt_QDateTimeEdit_clearMaximumTime( ::pPtr ) - METHOD clearMinimumDate() INLINE Qt_QDateTimeEdit_clearMinimumDate( ::pPtr ) - METHOD clearMinimumDateTime() INLINE Qt_QDateTimeEdit_clearMinimumDateTime( ::pPtr ) - METHOD clearMinimumTime() INLINE Qt_QDateTimeEdit_clearMinimumTime( ::pPtr ) - METHOD currentSection() INLINE Qt_QDateTimeEdit_currentSection( ::pPtr ) - METHOD currentSectionIndex() INLINE Qt_QDateTimeEdit_currentSectionIndex( ::pPtr ) - METHOD date() INLINE Qt_QDateTimeEdit_date( ::pPtr ) - METHOD dateTime() INLINE Qt_QDateTimeEdit_dateTime( ::pPtr ) - METHOD displayFormat() INLINE Qt_QDateTimeEdit_displayFormat( ::pPtr ) - METHOD displayedSections() INLINE Qt_QDateTimeEdit_displayedSections( ::pPtr ) - METHOD maximumDate() INLINE Qt_QDateTimeEdit_maximumDate( ::pPtr ) - METHOD maximumDateTime() INLINE Qt_QDateTimeEdit_maximumDateTime( ::pPtr ) - METHOD maximumTime() INLINE Qt_QDateTimeEdit_maximumTime( ::pPtr ) - METHOD minimumDate() INLINE Qt_QDateTimeEdit_minimumDate( ::pPtr ) - METHOD minimumDateTime() INLINE Qt_QDateTimeEdit_minimumDateTime( ::pPtr ) - METHOD minimumTime() INLINE Qt_QDateTimeEdit_minimumTime( ::pPtr ) - METHOD sectionAt( nIndex ) INLINE Qt_QDateTimeEdit_sectionAt( ::pPtr, nIndex ) - METHOD sectionCount() INLINE Qt_QDateTimeEdit_sectionCount( ::pPtr ) - METHOD sectionText( nSection ) INLINE Qt_QDateTimeEdit_sectionText( ::pPtr, nSection ) - METHOD setCalendarPopup( lEnable ) INLINE Qt_QDateTimeEdit_setCalendarPopup( ::pPtr, lEnable ) - METHOD setCalendarWidget( pCalendarWidget ) INLINE Qt_QDateTimeEdit_setCalendarWidget( ::pPtr, pCalendarWidget ) - METHOD setCurrentSection( nSection ) INLINE Qt_QDateTimeEdit_setCurrentSection( ::pPtr, nSection ) - METHOD setCurrentSectionIndex( nIndex ) INLINE Qt_QDateTimeEdit_setCurrentSectionIndex( ::pPtr, nIndex ) - METHOD setDateRange( pMin, pMax ) INLINE Qt_QDateTimeEdit_setDateRange( ::pPtr, pMin, pMax ) - METHOD setDateTimeRange( pMin, pMax ) INLINE Qt_QDateTimeEdit_setDateTimeRange( ::pPtr, pMin, pMax ) - METHOD setDisplayFormat( cFormat ) INLINE Qt_QDateTimeEdit_setDisplayFormat( ::pPtr, cFormat ) - METHOD setMaximumDate( pMax ) INLINE Qt_QDateTimeEdit_setMaximumDate( ::pPtr, pMax ) - METHOD setMaximumDateTime( pDt ) INLINE Qt_QDateTimeEdit_setMaximumDateTime( ::pPtr, pDt ) - METHOD setMaximumTime( pMax ) INLINE Qt_QDateTimeEdit_setMaximumTime( ::pPtr, pMax ) - METHOD setMinimumDate( pMin ) INLINE Qt_QDateTimeEdit_setMinimumDate( ::pPtr, pMin ) - METHOD setMinimumDateTime( pDt ) INLINE Qt_QDateTimeEdit_setMinimumDateTime( ::pPtr, pDt ) - METHOD setMinimumTime( pMin ) INLINE Qt_QDateTimeEdit_setMinimumTime( ::pPtr, pMin ) - METHOD setSelectedSection( nSection ) INLINE Qt_QDateTimeEdit_setSelectedSection( ::pPtr, nSection ) - METHOD setTimeRange( pMin, pMax ) INLINE Qt_QDateTimeEdit_setTimeRange( ::pPtr, pMin, pMax ) - METHOD setTimeSpec( nSpec ) INLINE Qt_QDateTimeEdit_setTimeSpec( ::pPtr, nSpec ) - METHOD time() INLINE Qt_QDateTimeEdit_time( ::pPtr ) - METHOD timeSpec() INLINE Qt_QDateTimeEdit_timeSpec( ::pPtr ) - METHOD setDate( pDate ) INLINE Qt_QDateTimeEdit_setDate( ::pPtr, pDate ) - METHOD setDateTime( pDateTime ) INLINE Qt_QDateTimeEdit_setDateTime( ::pPtr, pDateTime ) - METHOD setTime( pTime ) INLINE Qt_QDateTimeEdit_setTime( ::pPtr, pTime ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDateTimeEdit - - ::pParent := pParent - - ::pPtr := Qt_QDateTimeEdit( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDateTimeEdit - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDesktopWidget.prg b/harbour/contrib/hbqt/TQDesktopWidget.prg deleted file mode 100644 index d4179bead2..0000000000 --- a/harbour/contrib/hbqt/TQDesktopWidget.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDesktopWidget INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD availableGeometry( nScreen ) INLINE Qt_QDesktopWidget_availableGeometry( ::pPtr, nScreen ) - METHOD availableGeometry_1( pWidget ) INLINE Qt_QDesktopWidget_availableGeometry_1( ::pPtr, pWidget ) - METHOD availableGeometry_2( pP ) INLINE Qt_QDesktopWidget_availableGeometry_2( ::pPtr, pP ) - METHOD isVirtualDesktop() INLINE Qt_QDesktopWidget_isVirtualDesktop( ::pPtr ) - METHOD numScreens() INLINE Qt_QDesktopWidget_numScreens( ::pPtr ) - METHOD primaryScreen() INLINE Qt_QDesktopWidget_primaryScreen( ::pPtr ) - METHOD screen( nScreen ) INLINE Qt_QDesktopWidget_screen( ::pPtr, nScreen ) - METHOD screenGeometry( nScreen ) INLINE Qt_QDesktopWidget_screenGeometry( ::pPtr, nScreen ) - METHOD screenGeometry_1( pWidget ) INLINE Qt_QDesktopWidget_screenGeometry_1( ::pPtr, pWidget ) - METHOD screenGeometry_2( pP ) INLINE Qt_QDesktopWidget_screenGeometry_2( ::pPtr, pP ) - METHOD screenNumber( pWidget ) INLINE Qt_QDesktopWidget_screenNumber( ::pPtr, pWidget ) - METHOD screenNumber_1( pPoint ) INLINE Qt_QDesktopWidget_screenNumber_1( ::pPtr, pPoint ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDesktopWidget - - ::pParent := pParent - - ::pPtr := Qt_QDesktopWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDesktopWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDial.prg b/harbour/contrib/hbqt/TQDial.prg deleted file mode 100644 index a5e6a5cf76..0000000000 --- a/harbour/contrib/hbqt/TQDial.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDial INHERIT QAbstractSlider - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD notchSize() INLINE Qt_QDial_notchSize( ::pPtr ) - METHOD notchTarget() INLINE Qt_QDial_notchTarget( ::pPtr ) - METHOD notchesVisible() INLINE Qt_QDial_notchesVisible( ::pPtr ) - METHOD setNotchTarget( nTarget ) INLINE Qt_QDial_setNotchTarget( ::pPtr, nTarget ) - METHOD wrapping() INLINE Qt_QDial_wrapping( ::pPtr ) - METHOD setNotchesVisible( lVisible ) INLINE Qt_QDial_setNotchesVisible( ::pPtr, lVisible ) - METHOD setWrapping( lOn ) INLINE Qt_QDial_setWrapping( ::pPtr, lOn ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDial - - ::pParent := pParent - - ::pPtr := Qt_QDial( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDial - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDialog.prg b/harbour/contrib/hbqt/TQDialog.prg deleted file mode 100644 index c3c14cbf3f..0000000000 --- a/harbour/contrib/hbqt/TQDialog.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDialog INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD isSizeGripEnabled() INLINE Qt_QDialog_isSizeGripEnabled( ::pPtr ) - METHOD result() INLINE Qt_QDialog_result( ::pPtr ) - METHOD setModal( lModal ) INLINE Qt_QDialog_setModal( ::pPtr, lModal ) - METHOD setResult( nI ) INLINE Qt_QDialog_setResult( ::pPtr, nI ) - METHOD setSizeGripEnabled( lBool ) INLINE Qt_QDialog_setSizeGripEnabled( ::pPtr, lBool ) - METHOD accept() INLINE Qt_QDialog_accept( ::pPtr ) - METHOD done( nR ) INLINE Qt_QDialog_done( ::pPtr, nR ) - METHOD exec() INLINE Qt_QDialog_exec( ::pPtr ) - METHOD open() INLINE Qt_QDialog_open( ::pPtr ) - METHOD reject() INLINE Qt_QDialog_reject( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDialog - - ::pParent := pParent - - ::pPtr := Qt_QDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDir.prg b/harbour/contrib/hbqt/TQDir.prg deleted file mode 100644 index bd5eb8bdf7..0000000000 --- a/harbour/contrib/hbqt/TQDir.prg +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDir - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD absoluteFilePath( cFileName ) INLINE Qt_QDir_absoluteFilePath( ::pPtr, cFileName ) - METHOD absolutePath() INLINE Qt_QDir_absolutePath( ::pPtr ) - METHOD canonicalPath() INLINE Qt_QDir_canonicalPath( ::pPtr ) - METHOD cd( cDirName ) INLINE Qt_QDir_cd( ::pPtr, cDirName ) - METHOD cdUp() INLINE Qt_QDir_cdUp( ::pPtr ) - METHOD count() INLINE Qt_QDir_count( ::pPtr ) - METHOD dirName() INLINE Qt_QDir_dirName( ::pPtr ) - METHOD entryInfoList( pNameFilters, nFilters, nSort ) INLINE Qt_QDir_entryInfoList( ::pPtr, pNameFilters, nFilters, nSort ) - METHOD entryInfoList_1( nFilters, nSort ) INLINE Qt_QDir_entryInfoList_1( ::pPtr, nFilters, nSort ) - METHOD entryList( pNameFilters, nFilters, nSort ) INLINE Qt_QDir_entryList( ::pPtr, pNameFilters, nFilters, nSort ) - METHOD entryList_1( nFilters, nSort ) INLINE Qt_QDir_entryList_1( ::pPtr, nFilters, nSort ) - METHOD exists( cName ) INLINE Qt_QDir_exists( ::pPtr, cName ) - METHOD exists_1() INLINE Qt_QDir_exists_1( ::pPtr ) - METHOD filePath( cFileName ) INLINE Qt_QDir_filePath( ::pPtr, cFileName ) - METHOD filter() INLINE Qt_QDir_filter( ::pPtr ) - METHOD isAbsolute() INLINE Qt_QDir_isAbsolute( ::pPtr ) - METHOD isReadable() INLINE Qt_QDir_isReadable( ::pPtr ) - METHOD isRelative() INLINE Qt_QDir_isRelative( ::pPtr ) - METHOD isRoot() INLINE Qt_QDir_isRoot( ::pPtr ) - METHOD makeAbsolute() INLINE Qt_QDir_makeAbsolute( ::pPtr ) - METHOD mkdir( cDirName ) INLINE Qt_QDir_mkdir( ::pPtr, cDirName ) - METHOD mkpath( cDirPath ) INLINE Qt_QDir_mkpath( ::pPtr, cDirPath ) - METHOD nameFilters() INLINE Qt_QDir_nameFilters( ::pPtr ) - METHOD path() INLINE Qt_QDir_path( ::pPtr ) - METHOD refresh() INLINE Qt_QDir_refresh( ::pPtr ) - METHOD relativeFilePath( cFileName ) INLINE Qt_QDir_relativeFilePath( ::pPtr, cFileName ) - METHOD remove( cFileName ) INLINE Qt_QDir_remove( ::pPtr, cFileName ) - METHOD rename( cOldName, cNewName ) INLINE Qt_QDir_rename( ::pPtr, cOldName, cNewName ) - METHOD rmdir( cDirName ) INLINE Qt_QDir_rmdir( ::pPtr, cDirName ) - METHOD rmpath( cDirPath ) INLINE Qt_QDir_rmpath( ::pPtr, cDirPath ) - METHOD setFilter( nFilters ) INLINE Qt_QDir_setFilter( ::pPtr, nFilters ) - METHOD setNameFilters( pNameFilters ) INLINE Qt_QDir_setNameFilters( ::pPtr, pNameFilters ) - METHOD setPath( cPath ) INLINE Qt_QDir_setPath( ::pPtr, cPath ) - METHOD setSorting( nSort ) INLINE Qt_QDir_setSorting( ::pPtr, nSort ) - METHOD sorting() INLINE Qt_QDir_sorting( ::pPtr ) - METHOD addSearchPath( cPrefix, cPath ) INLINE Qt_QDir_addSearchPath( ::pPtr, cPrefix, cPath ) - METHOD cleanPath( cPath ) INLINE Qt_QDir_cleanPath( ::pPtr, cPath ) - METHOD current() INLINE Qt_QDir_current( ::pPtr ) - METHOD currentPath() INLINE Qt_QDir_currentPath( ::pPtr ) - METHOD drives() INLINE Qt_QDir_drives( ::pPtr ) - METHOD fromNativeSeparators( cPathName ) INLINE Qt_QDir_fromNativeSeparators( ::pPtr, cPathName ) - METHOD home() INLINE Qt_QDir_home( ::pPtr ) - METHOD homePath() INLINE Qt_QDir_homePath( ::pPtr ) - METHOD isAbsolutePath( cPath ) INLINE Qt_QDir_isAbsolutePath( ::pPtr, cPath ) - METHOD isRelativePath( cPath ) INLINE Qt_QDir_isRelativePath( ::pPtr, cPath ) - METHOD match( cFilter, cFileName ) INLINE Qt_QDir_match( ::pPtr, cFilter, cFileName ) - METHOD match_1( pFilters, cFileName ) INLINE Qt_QDir_match_1( ::pPtr, pFilters, cFileName ) - METHOD root() INLINE Qt_QDir_root( ::pPtr ) - METHOD rootPath() INLINE Qt_QDir_rootPath( ::pPtr ) - METHOD searchPaths( cPrefix ) INLINE Qt_QDir_searchPaths( ::pPtr, cPrefix ) - METHOD setCurrent( cPath ) INLINE Qt_QDir_setCurrent( ::pPtr, cPath ) - METHOD setSearchPaths( cPrefix, pSearchPaths ) INLINE Qt_QDir_setSearchPaths( ::pPtr, cPrefix, pSearchPaths ) - METHOD temp() INLINE Qt_QDir_temp( ::pPtr ) - METHOD tempPath() INLINE Qt_QDir_tempPath( ::pPtr ) - METHOD toNativeSeparators( cPathName ) INLINE Qt_QDir_toNativeSeparators( ::pPtr, cPathName ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDir - - ::pParent := pParent - - ::pPtr := Qt_QDir( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDir - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDirModel.prg b/harbour/contrib/hbqt/TQDirModel.prg deleted file mode 100644 index 22ccb3238e..0000000000 --- a/harbour/contrib/hbqt/TQDirModel.prg +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDirModel INHERIT QAbstractItemModel - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD columnCount( pParent ) INLINE Qt_QDirModel_columnCount( ::pPtr, pParent ) - METHOD data( pIndex, nRole ) INLINE Qt_QDirModel_data( ::pPtr, pIndex, nRole ) - METHOD dropMimeData( pData, nAction, nRow, nColumn, pParent ) INLINE Qt_QDirModel_dropMimeData( ::pPtr, pData, nAction, nRow, nColumn, pParent ) - METHOD fileIcon( pIndex ) INLINE Qt_QDirModel_fileIcon( ::pPtr, pIndex ) - METHOD fileInfo( pIndex ) INLINE Qt_QDirModel_fileInfo( ::pPtr, pIndex ) - METHOD fileName( pIndex ) INLINE Qt_QDirModel_fileName( ::pPtr, pIndex ) - METHOD filePath( pIndex ) INLINE Qt_QDirModel_filePath( ::pPtr, pIndex ) - METHOD filter() INLINE Qt_QDirModel_filter( ::pPtr ) - METHOD flags( pIndex ) INLINE Qt_QDirModel_flags( ::pPtr, pIndex ) - METHOD hasChildren( pParent ) INLINE Qt_QDirModel_hasChildren( ::pPtr, pParent ) - METHOD headerData( nSection, nOrientation, nRole ) INLINE Qt_QDirModel_headerData( ::pPtr, nSection, nOrientation, nRole ) - METHOD iconProvider() INLINE Qt_QDirModel_iconProvider( ::pPtr ) - METHOD index( nRow, nColumn, pParent ) INLINE Qt_QDirModel_index( ::pPtr, nRow, nColumn, pParent ) - METHOD index_1( cPath, nColumn ) INLINE Qt_QDirModel_index_1( ::pPtr, cPath, nColumn ) - METHOD isDir( pIndex ) INLINE Qt_QDirModel_isDir( ::pPtr, pIndex ) - METHOD isReadOnly() INLINE Qt_QDirModel_isReadOnly( ::pPtr ) - METHOD lazyChildCount() INLINE Qt_QDirModel_lazyChildCount( ::pPtr ) - METHOD mimeData( pIndexes ) INLINE Qt_QDirModel_mimeData( ::pPtr, pIndexes ) - METHOD mimeTypes() INLINE Qt_QDirModel_mimeTypes( ::pPtr ) - METHOD mkdir( pParent, cName ) INLINE Qt_QDirModel_mkdir( ::pPtr, pParent, cName ) - METHOD nameFilters() INLINE Qt_QDirModel_nameFilters( ::pPtr ) - METHOD parent( pChild ) INLINE Qt_QDirModel_parent( ::pPtr, pChild ) - METHOD remove( pIndex ) INLINE Qt_QDirModel_remove( ::pPtr, pIndex ) - METHOD resolveSymlinks() INLINE Qt_QDirModel_resolveSymlinks( ::pPtr ) - METHOD rmdir( pIndex ) INLINE Qt_QDirModel_rmdir( ::pPtr, pIndex ) - METHOD rowCount( pParent ) INLINE Qt_QDirModel_rowCount( ::pPtr, pParent ) - METHOD setData( pIndex, pValue, nRole ) INLINE Qt_QDirModel_setData( ::pPtr, pIndex, pValue, nRole ) - METHOD setFilter( nFilters ) INLINE Qt_QDirModel_setFilter( ::pPtr, nFilters ) - METHOD setIconProvider( pProvider ) INLINE Qt_QDirModel_setIconProvider( ::pPtr, pProvider ) - METHOD setLazyChildCount( lEnable ) INLINE Qt_QDirModel_setLazyChildCount( ::pPtr, lEnable ) - METHOD setNameFilters( pFilters ) INLINE Qt_QDirModel_setNameFilters( ::pPtr, pFilters ) - METHOD setReadOnly( lEnable ) INLINE Qt_QDirModel_setReadOnly( ::pPtr, lEnable ) - METHOD setResolveSymlinks( lEnable ) INLINE Qt_QDirModel_setResolveSymlinks( ::pPtr, lEnable ) - METHOD setSorting( nSort ) INLINE Qt_QDirModel_setSorting( ::pPtr, nSort ) - METHOD sort( nColumn, nOrder ) INLINE Qt_QDirModel_sort( ::pPtr, nColumn, nOrder ) - METHOD sorting() INLINE Qt_QDirModel_sorting( ::pPtr ) - METHOD supportedDropActions() INLINE Qt_QDirModel_supportedDropActions( ::pPtr ) - METHOD refresh( pParent ) INLINE Qt_QDirModel_refresh( ::pPtr, pParent ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDirModel - - ::pParent := pParent - - ::pPtr := Qt_QDirModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDirModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDockWidget.prg b/harbour/contrib/hbqt/TQDockWidget.prg deleted file mode 100644 index 13f096ac3f..0000000000 --- a/harbour/contrib/hbqt/TQDockWidget.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDockWidget INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD allowedAreas() INLINE Qt_QDockWidget_allowedAreas( ::pPtr ) - METHOD features() INLINE Qt_QDockWidget_features( ::pPtr ) - METHOD isAreaAllowed( nArea ) INLINE Qt_QDockWidget_isAreaAllowed( ::pPtr, nArea ) - METHOD isFloating() INLINE Qt_QDockWidget_isFloating( ::pPtr ) - METHOD setAllowedAreas( nAreas ) INLINE Qt_QDockWidget_setAllowedAreas( ::pPtr, nAreas ) - METHOD setFeatures( nFeatures ) INLINE Qt_QDockWidget_setFeatures( ::pPtr, nFeatures ) - METHOD setFloating( lFloating ) INLINE Qt_QDockWidget_setFloating( ::pPtr, lFloating ) - METHOD setTitleBarWidget( pWidget ) INLINE Qt_QDockWidget_setTitleBarWidget( ::pPtr, pWidget ) - METHOD setWidget( pWidget ) INLINE Qt_QDockWidget_setWidget( ::pPtr, pWidget ) - METHOD titleBarWidget() INLINE Qt_QDockWidget_titleBarWidget( ::pPtr ) - METHOD toggleViewAction() INLINE Qt_QDockWidget_toggleViewAction( ::pPtr ) - METHOD widget() INLINE Qt_QDockWidget_widget( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDockWidget - - ::pParent := pParent - - ::pPtr := Qt_QDockWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDockWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDoubleSpinBox.prg b/harbour/contrib/hbqt/TQDoubleSpinBox.prg deleted file mode 100644 index cc4713903c..0000000000 --- a/harbour/contrib/hbqt/TQDoubleSpinBox.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDoubleSpinBox INHERIT QAbstractSpinBox - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD cleanText() INLINE Qt_QDoubleSpinBox_cleanText( ::pPtr ) - METHOD decimals() INLINE Qt_QDoubleSpinBox_decimals( ::pPtr ) - METHOD maximum() INLINE Qt_QDoubleSpinBox_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QDoubleSpinBox_minimum( ::pPtr ) - METHOD prefix() INLINE Qt_QDoubleSpinBox_prefix( ::pPtr ) - METHOD setDecimals( nPrec ) INLINE Qt_QDoubleSpinBox_setDecimals( ::pPtr, nPrec ) - METHOD setMaximum( nMax ) INLINE Qt_QDoubleSpinBox_setMaximum( ::pPtr, nMax ) - METHOD setMinimum( nMin ) INLINE Qt_QDoubleSpinBox_setMinimum( ::pPtr, nMin ) - METHOD setPrefix( cPrefix ) INLINE Qt_QDoubleSpinBox_setPrefix( ::pPtr, cPrefix ) - METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QDoubleSpinBox_setRange( ::pPtr, nMinimum, nMaximum ) - METHOD setSingleStep( nVal ) INLINE Qt_QDoubleSpinBox_setSingleStep( ::pPtr, nVal ) - METHOD setSuffix( cSuffix ) INLINE Qt_QDoubleSpinBox_setSuffix( ::pPtr, cSuffix ) - METHOD singleStep() INLINE Qt_QDoubleSpinBox_singleStep( ::pPtr ) - METHOD suffix() INLINE Qt_QDoubleSpinBox_suffix( ::pPtr ) - METHOD textFromValue( nValue ) INLINE Qt_QDoubleSpinBox_textFromValue( ::pPtr, nValue ) - METHOD value() INLINE Qt_QDoubleSpinBox_value( ::pPtr ) - METHOD valueFromText( cText ) INLINE Qt_QDoubleSpinBox_valueFromText( ::pPtr, cText ) - METHOD setValue( nVal ) INLINE Qt_QDoubleSpinBox_setValue( ::pPtr, nVal ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDoubleSpinBox - - ::pParent := pParent - - ::pPtr := Qt_QDoubleSpinBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDoubleSpinBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDragEnterEvent.prg b/harbour/contrib/hbqt/TQDragEnterEvent.prg deleted file mode 100644 index 97fc10210d..0000000000 --- a/harbour/contrib/hbqt/TQDragEnterEvent.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDragEnterEvent INHERIT QDragMoveEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDragEnterEvent - - ::pParent := pParent - - ::pPtr := Qt_QDragEnterEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDragEnterEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDragLeaveEvent.prg b/harbour/contrib/hbqt/TQDragLeaveEvent.prg deleted file mode 100644 index d732e1ca64..0000000000 --- a/harbour/contrib/hbqt/TQDragLeaveEvent.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDragLeaveEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDragLeaveEvent - - ::pParent := pParent - - ::pPtr := Qt_QDragLeaveEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDragLeaveEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDragMoveEvent.prg b/harbour/contrib/hbqt/TQDragMoveEvent.prg deleted file mode 100644 index 2165827c31..0000000000 --- a/harbour/contrib/hbqt/TQDragMoveEvent.prg +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDragMoveEvent INHERIT QDropEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD accept( pRectangle ) INLINE Qt_QDragMoveEvent_accept( ::pPtr, pRectangle ) - METHOD accept_1() INLINE Qt_QDragMoveEvent_accept_1( ::pPtr ) - METHOD answerRect() INLINE Qt_QDragMoveEvent_answerRect( ::pPtr ) - METHOD ignore( pRectangle ) INLINE Qt_QDragMoveEvent_ignore( ::pPtr, pRectangle ) - METHOD ignore_1() INLINE Qt_QDragMoveEvent_ignore_1( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDragMoveEvent - - ::pParent := pParent - - ::pPtr := Qt_QDragMoveEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDragMoveEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQDropEvent.prg b/harbour/contrib/hbqt/TQDropEvent.prg deleted file mode 100644 index 83f83bef61..0000000000 --- a/harbour/contrib/hbqt/TQDropEvent.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QDropEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD acceptProposedAction() INLINE Qt_QDropEvent_acceptProposedAction( ::pPtr ) - METHOD dropAction() INLINE Qt_QDropEvent_dropAction( ::pPtr ) - METHOD keyboardModifiers() INLINE Qt_QDropEvent_keyboardModifiers( ::pPtr ) - METHOD mimeData() INLINE Qt_QDropEvent_mimeData( ::pPtr ) - METHOD mouseButtons() INLINE Qt_QDropEvent_mouseButtons( ::pPtr ) - METHOD pos() INLINE Qt_QDropEvent_pos( ::pPtr ) - METHOD possibleActions() INLINE Qt_QDropEvent_possibleActions( ::pPtr ) - METHOD proposedAction() INLINE Qt_QDropEvent_proposedAction( ::pPtr ) - METHOD setDropAction( nAction ) INLINE Qt_QDropEvent_setDropAction( ::pPtr, nAction ) - METHOD source() INLINE Qt_QDropEvent_source( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QDropEvent - - ::pParent := pParent - - ::pPtr := Qt_QDropEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QDropEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQErrorMessage.prg b/harbour/contrib/hbqt/TQErrorMessage.prg deleted file mode 100644 index c334289dff..0000000000 --- a/harbour/contrib/hbqt/TQErrorMessage.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QErrorMessage INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD showMessage( cMessage, cType ) INLINE Qt_QErrorMessage_showMessage( ::pPtr, cMessage, cType ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QErrorMessage - - ::pParent := pParent - - ::pPtr := Qt_QErrorMessage( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QErrorMessage - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQEvent.prg b/harbour/contrib/hbqt/TQEvent.prg deleted file mode 100644 index a8563a9176..0000000000 --- a/harbour/contrib/hbqt/TQEvent.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD accept() INLINE Qt_QEvent_accept( ::pPtr ) - METHOD ignore() INLINE Qt_QEvent_ignore( ::pPtr ) - METHOD isAccepted() INLINE Qt_QEvent_isAccepted( ::pPtr ) - METHOD setAccepted( lAccepted ) INLINE Qt_QEvent_setAccepted( ::pPtr, lAccepted ) - METHOD spontaneous() INLINE Qt_QEvent_spontaneous( ::pPtr ) - METHOD type() INLINE Qt_QEvent_type( ::pPtr ) - METHOD registerEventType( nHint ) INLINE Qt_QEvent_registerEventType( ::pPtr, nHint ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QEvent - - ::pParent := pParent - - ::pPtr := Qt_QEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQEventLoop.prg b/harbour/contrib/hbqt/TQEventLoop.prg deleted file mode 100644 index 5fd648a689..0000000000 --- a/harbour/contrib/hbqt/TQEventLoop.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QEventLoop INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD exec( nFlags ) INLINE Qt_QEventLoop_exec( ::pPtr, nFlags ) - METHOD exit( nReturnCode ) INLINE Qt_QEventLoop_exit( ::pPtr, nReturnCode ) - METHOD isRunning() INLINE Qt_QEventLoop_isRunning( ::pPtr ) - METHOD processEvents( nFlags ) INLINE Qt_QEventLoop_processEvents( ::pPtr, nFlags ) - METHOD processEvents_1( nFlags, nMaxTime ) INLINE Qt_QEventLoop_processEvents_1( ::pPtr, nFlags, nMaxTime ) - METHOD wakeUp() INLINE Qt_QEventLoop_wakeUp( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QEventLoop - - ::pParent := pParent - - ::pPtr := Qt_QEventLoop( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QEventLoop - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFileDialog.prg b/harbour/contrib/hbqt/TQFileDialog.prg deleted file mode 100644 index e5c8835da1..0000000000 --- a/harbour/contrib/hbqt/TQFileDialog.prg +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFileDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD acceptMode() INLINE Qt_QFileDialog_acceptMode( ::pPtr ) - METHOD confirmOverwrite() INLINE Qt_QFileDialog_confirmOverwrite( ::pPtr ) - METHOD defaultSuffix() INLINE Qt_QFileDialog_defaultSuffix( ::pPtr ) - METHOD directory() INLINE Qt_QFileDialog_directory( ::pPtr ) - METHOD fileMode() INLINE Qt_QFileDialog_fileMode( ::pPtr ) - METHOD filter() INLINE Qt_QFileDialog_filter( ::pPtr ) - METHOD history() INLINE Qt_QFileDialog_history( ::pPtr ) - METHOD iconProvider() INLINE Qt_QFileDialog_iconProvider( ::pPtr ) - METHOD isNameFilterDetailsVisible() INLINE Qt_QFileDialog_isNameFilterDetailsVisible( ::pPtr ) - METHOD isReadOnly() INLINE Qt_QFileDialog_isReadOnly( ::pPtr ) - METHOD itemDelegate() INLINE Qt_QFileDialog_itemDelegate( ::pPtr ) - METHOD labelText( nLabel ) INLINE Qt_QFileDialog_labelText( ::pPtr, nLabel ) - METHOD nameFilters() INLINE Qt_QFileDialog_nameFilters( ::pPtr ) - METHOD options() INLINE Qt_QFileDialog_options( ::pPtr ) - METHOD proxyModel() INLINE Qt_QFileDialog_proxyModel( ::pPtr ) - METHOD resolveSymlinks() INLINE Qt_QFileDialog_resolveSymlinks( ::pPtr ) - METHOD restoreState( pState ) INLINE Qt_QFileDialog_restoreState( ::pPtr, pState ) - METHOD saveState() INLINE Qt_QFileDialog_saveState( ::pPtr ) - METHOD selectFile( cFilename ) INLINE Qt_QFileDialog_selectFile( ::pPtr, cFilename ) - METHOD selectNameFilter( cFilter ) INLINE Qt_QFileDialog_selectNameFilter( ::pPtr, cFilter ) - METHOD selectedFiles() INLINE Qt_QFileDialog_selectedFiles( ::pPtr ) - METHOD selectedNameFilter() INLINE Qt_QFileDialog_selectedNameFilter( ::pPtr ) - METHOD setAcceptMode( nMode ) INLINE Qt_QFileDialog_setAcceptMode( ::pPtr, nMode ) - METHOD setConfirmOverwrite( lEnabled ) INLINE Qt_QFileDialog_setConfirmOverwrite( ::pPtr, lEnabled ) - METHOD setDefaultSuffix( cSuffix ) INLINE Qt_QFileDialog_setDefaultSuffix( ::pPtr, cSuffix ) - METHOD setDirectory( cDirectory ) INLINE Qt_QFileDialog_setDirectory( ::pPtr, cDirectory ) - METHOD setDirectory_1( pDirectory ) INLINE Qt_QFileDialog_setDirectory_1( ::pPtr, pDirectory ) - METHOD setFileMode( nMode ) INLINE Qt_QFileDialog_setFileMode( ::pPtr, nMode ) - METHOD setFilter( nFilters ) INLINE Qt_QFileDialog_setFilter( ::pPtr, nFilters ) - METHOD setHistory( pPaths ) INLINE Qt_QFileDialog_setHistory( ::pPtr, pPaths ) - METHOD setIconProvider( pProvider ) INLINE Qt_QFileDialog_setIconProvider( ::pPtr, pProvider ) - METHOD setItemDelegate( pDelegate ) INLINE Qt_QFileDialog_setItemDelegate( ::pPtr, pDelegate ) - METHOD setLabelText( nLabel, cText ) INLINE Qt_QFileDialog_setLabelText( ::pPtr, nLabel, cText ) - METHOD setNameFilter( cFilter ) INLINE Qt_QFileDialog_setNameFilter( ::pPtr, cFilter ) - METHOD setNameFilterDetailsVisible( lEnabled ) INLINE Qt_QFileDialog_setNameFilterDetailsVisible( ::pPtr, lEnabled ) - METHOD setNameFilters( pFilters ) INLINE Qt_QFileDialog_setNameFilters( ::pPtr, pFilters ) - METHOD setOption( nOption, lOn ) INLINE Qt_QFileDialog_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QFileDialog_setOptions( ::pPtr, nOptions ) - METHOD setProxyModel( pProxyModel ) INLINE Qt_QFileDialog_setProxyModel( ::pPtr, pProxyModel ) - METHOD setReadOnly( lEnabled ) INLINE Qt_QFileDialog_setReadOnly( ::pPtr, lEnabled ) - METHOD setResolveSymlinks( lEnabled ) INLINE Qt_QFileDialog_setResolveSymlinks( ::pPtr, lEnabled ) - METHOD setViewMode( nMode ) INLINE Qt_QFileDialog_setViewMode( ::pPtr, nMode ) - METHOD testOption( nOption ) INLINE Qt_QFileDialog_testOption( ::pPtr, nOption ) - METHOD viewMode() INLINE Qt_QFileDialog_viewMode( ::pPtr ) - METHOD getExistingDirectory( pParent, cCaption, cDir, nOptions ) INLINE Qt_QFileDialog_getExistingDirectory( ::pPtr, pParent, cCaption, cDir, nOptions ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFileDialog - - ::pParent := pParent - - ::pPtr := Qt_QFileDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFileDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFileSystemModel.prg b/harbour/contrib/hbqt/TQFileSystemModel.prg deleted file mode 100644 index 1a7c652eec..0000000000 --- a/harbour/contrib/hbqt/TQFileSystemModel.prg +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFileSystemModel INHERIT QAbstractItemModel - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD dropMimeData( pData, nAction, nRow, nColumn, pParent ) INLINE Qt_QFileSystemModel_dropMimeData( ::pPtr, pData, nAction, nRow, nColumn, pParent ) - METHOD fileIcon( pIndex ) INLINE Qt_QFileSystemModel_fileIcon( ::pPtr, pIndex ) - METHOD fileInfo( pIndex ) INLINE Qt_QFileSystemModel_fileInfo( ::pPtr, pIndex ) - METHOD fileName( pIndex ) INLINE Qt_QFileSystemModel_fileName( ::pPtr, pIndex ) - METHOD filePath( pIndex ) INLINE Qt_QFileSystemModel_filePath( ::pPtr, pIndex ) - METHOD filter() INLINE Qt_QFileSystemModel_filter( ::pPtr ) - METHOD iconProvider() INLINE Qt_QFileSystemModel_iconProvider( ::pPtr ) - METHOD index( cPath, nColumn ) INLINE Qt_QFileSystemModel_index( ::pPtr, cPath, nColumn ) - METHOD isDir( pIndex ) INLINE Qt_QFileSystemModel_isDir( ::pPtr, pIndex ) - METHOD isReadOnly() INLINE Qt_QFileSystemModel_isReadOnly( ::pPtr ) - METHOD lastModified( pIndex ) INLINE Qt_QFileSystemModel_lastModified( ::pPtr, pIndex ) - METHOD mimeData( pIndexes ) INLINE Qt_QFileSystemModel_mimeData( ::pPtr, pIndexes ) - METHOD mimeTypes() INLINE Qt_QFileSystemModel_mimeTypes( ::pPtr ) - METHOD mkdir( pParent, cName ) INLINE Qt_QFileSystemModel_mkdir( ::pPtr, pParent, cName ) - METHOD myComputer( nRole ) INLINE Qt_QFileSystemModel_myComputer( ::pPtr, nRole ) - METHOD nameFilterDisables() INLINE Qt_QFileSystemModel_nameFilterDisables( ::pPtr ) - METHOD nameFilters() INLINE Qt_QFileSystemModel_nameFilters( ::pPtr ) - METHOD permissions( pIndex ) INLINE Qt_QFileSystemModel_permissions( ::pPtr, pIndex ) - METHOD remove( pIndex ) INLINE Qt_QFileSystemModel_remove( ::pPtr, pIndex ) - METHOD resolveSymlinks() INLINE Qt_QFileSystemModel_resolveSymlinks( ::pPtr ) - METHOD rmdir( pIndex ) INLINE Qt_QFileSystemModel_rmdir( ::pPtr, pIndex ) - METHOD rootDirectory() INLINE Qt_QFileSystemModel_rootDirectory( ::pPtr ) - METHOD rootPath() INLINE Qt_QFileSystemModel_rootPath( ::pPtr ) - METHOD setFilter( nFilters ) INLINE Qt_QFileSystemModel_setFilter( ::pPtr, nFilters ) - METHOD setIconProvider( pProvider ) INLINE Qt_QFileSystemModel_setIconProvider( ::pPtr, pProvider ) - METHOD setNameFilterDisables( lEnable ) INLINE Qt_QFileSystemModel_setNameFilterDisables( ::pPtr, lEnable ) - METHOD setNameFilters( pFilters ) INLINE Qt_QFileSystemModel_setNameFilters( ::pPtr, pFilters ) - METHOD setReadOnly( lEnable ) INLINE Qt_QFileSystemModel_setReadOnly( ::pPtr, lEnable ) - METHOD setResolveSymlinks( lEnable ) INLINE Qt_QFileSystemModel_setResolveSymlinks( ::pPtr, lEnable ) - METHOD setRootPath( cNewPath ) INLINE Qt_QFileSystemModel_setRootPath( ::pPtr, cNewPath ) - METHOD size( pIndex ) INLINE Qt_QFileSystemModel_size( ::pPtr, pIndex ) - METHOD type( pIndex ) INLINE Qt_QFileSystemModel_type( ::pPtr, pIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFileSystemModel - - ::pParent := pParent - - ::pPtr := Qt_QFileSystemModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFileSystemModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFocusEvent.prg b/harbour/contrib/hbqt/TQFocusEvent.prg deleted file mode 100644 index aad3a52560..0000000000 --- a/harbour/contrib/hbqt/TQFocusEvent.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFocusEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD gotFocus() INLINE Qt_QFocusEvent_gotFocus( ::pPtr ) - METHOD lostFocus() INLINE Qt_QFocusEvent_lostFocus( ::pPtr ) - METHOD reason() INLINE Qt_QFocusEvent_reason( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFocusEvent - - ::pParent := pParent - - ::pPtr := Qt_QFocusEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFocusEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFocusFrame.prg b/harbour/contrib/hbqt/TQFocusFrame.prg deleted file mode 100644 index 080814de3e..0000000000 --- a/harbour/contrib/hbqt/TQFocusFrame.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFocusFrame INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD setWidget( pWidget ) INLINE Qt_QFocusFrame_setWidget( ::pPtr, pWidget ) - METHOD widget() INLINE Qt_QFocusFrame_widget( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFocusFrame - - ::pParent := pParent - - ::pPtr := Qt_QFocusFrame( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFocusFrame - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFont.prg b/harbour/contrib/hbqt/TQFont.prg deleted file mode 100644 index 3d092761a5..0000000000 --- a/harbour/contrib/hbqt/TQFont.prg +++ /dev/null @@ -1,155 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFont - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD bold() INLINE Qt_QFont_bold( ::pPtr ) - METHOD capitalization() INLINE Qt_QFont_capitalization( ::pPtr ) - METHOD defaultFamily() INLINE Qt_QFont_defaultFamily( ::pPtr ) - METHOD exactMatch() INLINE Qt_QFont_exactMatch( ::pPtr ) - METHOD family() INLINE Qt_QFont_family( ::pPtr ) - METHOD fixedPitch() INLINE Qt_QFont_fixedPitch( ::pPtr ) - METHOD fromString( cDescrip ) INLINE Qt_QFont_fromString( ::pPtr, cDescrip ) - METHOD italic() INLINE Qt_QFont_italic( ::pPtr ) - METHOD kerning() INLINE Qt_QFont_kerning( ::pPtr ) - METHOD key() INLINE Qt_QFont_key( ::pPtr ) - METHOD lastResortFamily() INLINE Qt_QFont_lastResortFamily( ::pPtr ) - METHOD lastResortFont() INLINE Qt_QFont_lastResortFont( ::pPtr ) - METHOD letterSpacing() INLINE Qt_QFont_letterSpacing( ::pPtr ) - METHOD letterSpacingType() INLINE Qt_QFont_letterSpacingType( ::pPtr ) - METHOD overline() INLINE Qt_QFont_overline( ::pPtr ) - METHOD pixelSize() INLINE Qt_QFont_pixelSize( ::pPtr ) - METHOD pointSize() INLINE Qt_QFont_pointSize( ::pPtr ) - METHOD pointSizeF() INLINE Qt_QFont_pointSizeF( ::pPtr ) - METHOD rawMode() INLINE Qt_QFont_rawMode( ::pPtr ) - METHOD rawName() INLINE Qt_QFont_rawName( ::pPtr ) - METHOD setBold( lEnable ) INLINE Qt_QFont_setBold( ::pPtr, lEnable ) - METHOD setCapitalization( nCaps ) INLINE Qt_QFont_setCapitalization( ::pPtr, nCaps ) - METHOD setFamily( cFamily ) INLINE Qt_QFont_setFamily( ::pPtr, cFamily ) - METHOD setFixedPitch( lEnable ) INLINE Qt_QFont_setFixedPitch( ::pPtr, lEnable ) - METHOD setItalic( lEnable ) INLINE Qt_QFont_setItalic( ::pPtr, lEnable ) - METHOD setKerning( lEnable ) INLINE Qt_QFont_setKerning( ::pPtr, lEnable ) - METHOD setLetterSpacing( nType, nSpacing ) INLINE Qt_QFont_setLetterSpacing( ::pPtr, nType, nSpacing ) - METHOD setOverline( lEnable ) INLINE Qt_QFont_setOverline( ::pPtr, lEnable ) - METHOD setPixelSize( nPixelSize ) INLINE Qt_QFont_setPixelSize( ::pPtr, nPixelSize ) - METHOD setPointSize( nPointSize ) INLINE Qt_QFont_setPointSize( ::pPtr, nPointSize ) - METHOD setPointSizeF( nPointSize ) INLINE Qt_QFont_setPointSizeF( ::pPtr, nPointSize ) - METHOD setRawMode( lEnable ) INLINE Qt_QFont_setRawMode( ::pPtr, lEnable ) - METHOD setRawName( cName ) INLINE Qt_QFont_setRawName( ::pPtr, cName ) - METHOD setStretch( nFactor ) INLINE Qt_QFont_setStretch( ::pPtr, nFactor ) - METHOD setStrikeOut( lEnable ) INLINE Qt_QFont_setStrikeOut( ::pPtr, lEnable ) - METHOD setStyle( nStyle ) INLINE Qt_QFont_setStyle( ::pPtr, nStyle ) - METHOD setStyleHint( nHint, nStrategy ) INLINE Qt_QFont_setStyleHint( ::pPtr, nHint, nStrategy ) - METHOD setStyleStrategy( nS ) INLINE Qt_QFont_setStyleStrategy( ::pPtr, nS ) - METHOD setUnderline( lEnable ) INLINE Qt_QFont_setUnderline( ::pPtr, lEnable ) - METHOD setWeight( nWeight ) INLINE Qt_QFont_setWeight( ::pPtr, nWeight ) - METHOD setWordSpacing( nSpacing ) INLINE Qt_QFont_setWordSpacing( ::pPtr, nSpacing ) - METHOD stretch() INLINE Qt_QFont_stretch( ::pPtr ) - METHOD strikeOut() INLINE Qt_QFont_strikeOut( ::pPtr ) - METHOD style() INLINE Qt_QFont_style( ::pPtr ) - METHOD styleHint() INLINE Qt_QFont_styleHint( ::pPtr ) - METHOD styleStrategy() INLINE Qt_QFont_styleStrategy( ::pPtr ) - METHOD toString() INLINE Qt_QFont_toString( ::pPtr ) - METHOD underline() INLINE Qt_QFont_underline( ::pPtr ) - METHOD weight() INLINE Qt_QFont_weight( ::pPtr ) - METHOD wordSpacing() INLINE Qt_QFont_wordSpacing( ::pPtr ) - METHOD cleanup() INLINE Qt_QFont_cleanup( ::pPtr ) - METHOD initialize() INLINE Qt_QFont_initialize( ::pPtr ) - METHOD insertSubstitution( cFamilyName, cSubstituteName ) INLINE Qt_QFont_insertSubstitution( ::pPtr, cFamilyName, cSubstituteName ) - METHOD insertSubstitutions( cFamilyName, pSubstituteNames ) INLINE Qt_QFont_insertSubstitutions( ::pPtr, cFamilyName, pSubstituteNames ) - METHOD removeSubstitution( cFamilyName ) INLINE Qt_QFont_removeSubstitution( ::pPtr, cFamilyName ) - METHOD substitute( cFamilyName ) INLINE Qt_QFont_substitute( ::pPtr, cFamilyName ) - METHOD substitutes( cFamilyName ) INLINE Qt_QFont_substitutes( ::pPtr, cFamilyName ) - METHOD substitutions() INLINE Qt_QFont_substitutions( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QFont - - ::pPtr := Qt_QFont( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFont - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFontComboBox.prg b/harbour/contrib/hbqt/TQFontComboBox.prg deleted file mode 100644 index b4a69cc201..0000000000 --- a/harbour/contrib/hbqt/TQFontComboBox.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFontComboBox INHERIT QComboBox - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD currentFont() INLINE Qt_QFontComboBox_currentFont( ::pPtr ) - METHOD fontFilters() INLINE Qt_QFontComboBox_fontFilters( ::pPtr ) - METHOD setFontFilters( nFilters ) INLINE Qt_QFontComboBox_setFontFilters( ::pPtr, nFilters ) - METHOD setWritingSystem( nScript ) INLINE Qt_QFontComboBox_setWritingSystem( ::pPtr, nScript ) - METHOD writingSystem() INLINE Qt_QFontComboBox_writingSystem( ::pPtr ) - METHOD setCurrentFont( pFont ) INLINE Qt_QFontComboBox_setCurrentFont( ::pPtr, pFont ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFontComboBox - - ::pParent := pParent - - ::pPtr := Qt_QFontComboBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFontComboBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFontDatabase.prg b/harbour/contrib/hbqt/TQFontDatabase.prg deleted file mode 100644 index b9b8606503..0000000000 --- a/harbour/contrib/hbqt/TQFontDatabase.prg +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFontDatabase - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD bold( cFamily, cStyle ) INLINE Qt_QFontDatabase_bold( ::pPtr, cFamily, cStyle ) - METHOD families( nWritingSystem ) INLINE Qt_QFontDatabase_families( ::pPtr, nWritingSystem ) - METHOD font( cFamily, cStyle, nPointSize ) INLINE Qt_QFontDatabase_font( ::pPtr, cFamily, cStyle, nPointSize ) - METHOD isBitmapScalable( cFamily, cStyle ) INLINE Qt_QFontDatabase_isBitmapScalable( ::pPtr, cFamily, cStyle ) - METHOD isFixedPitch( cFamily, cStyle ) INLINE Qt_QFontDatabase_isFixedPitch( ::pPtr, cFamily, cStyle ) - METHOD isScalable( cFamily, cStyle ) INLINE Qt_QFontDatabase_isScalable( ::pPtr, cFamily, cStyle ) - METHOD isSmoothlyScalable( cFamily, cStyle ) INLINE Qt_QFontDatabase_isSmoothlyScalable( ::pPtr, cFamily, cStyle ) - METHOD italic( cFamily, cStyle ) INLINE Qt_QFontDatabase_italic( ::pPtr, cFamily, cStyle ) - METHOD styleString( pFont ) INLINE Qt_QFontDatabase_styleString( ::pPtr, pFont ) - METHOD styleString_1( pFontInfo ) INLINE Qt_QFontDatabase_styleString_1( ::pPtr, pFontInfo ) - METHOD styles( cFamily ) INLINE Qt_QFontDatabase_styles( ::pPtr, cFamily ) - METHOD weight( cFamily, cStyle ) INLINE Qt_QFontDatabase_weight( ::pPtr, cFamily, cStyle ) - METHOD addApplicationFont( cFileName ) INLINE Qt_QFontDatabase_addApplicationFont( ::pPtr, cFileName ) - METHOD addApplicationFontFromData( pFontData ) INLINE Qt_QFontDatabase_addApplicationFontFromData( ::pPtr, pFontData ) - METHOD applicationFontFamilies( nId ) INLINE Qt_QFontDatabase_applicationFontFamilies( ::pPtr, nId ) - METHOD removeAllApplicationFonts() INLINE Qt_QFontDatabase_removeAllApplicationFonts( ::pPtr ) - METHOD removeApplicationFont( nId ) INLINE Qt_QFontDatabase_removeApplicationFont( ::pPtr, nId ) - METHOD supportsThreadedFontRendering() INLINE Qt_QFontDatabase_supportsThreadedFontRendering( ::pPtr ) - METHOD writingSystemName( nWritingSystem ) INLINE Qt_QFontDatabase_writingSystemName( ::pPtr, nWritingSystem ) - METHOD writingSystemSample( nWritingSystem ) INLINE Qt_QFontDatabase_writingSystemSample( ::pPtr, nWritingSystem ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFontDatabase - - ::pParent := pParent - - ::pPtr := Qt_QFontDatabase( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFontDatabase - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFontDialog.prg b/harbour/contrib/hbqt/TQFontDialog.prg deleted file mode 100644 index 3c1b3b2c7b..0000000000 --- a/harbour/contrib/hbqt/TQFontDialog.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFontDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD currentFont() INLINE Qt_QFontDialog_currentFont( ::pPtr ) - METHOD options() INLINE Qt_QFontDialog_options( ::pPtr ) - METHOD selectedFont() INLINE Qt_QFontDialog_selectedFont( ::pPtr ) - METHOD setCurrentFont( pFont ) INLINE Qt_QFontDialog_setCurrentFont( ::pPtr, pFont ) - METHOD setOption( nOption, lOn ) INLINE Qt_QFontDialog_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QFontDialog_setOptions( ::pPtr, nOptions ) - METHOD testOption( nOption ) INLINE Qt_QFontDialog_testOption( ::pPtr, nOption ) - METHOD getFont( lOk, pInitial, pParent, cTitle, nOptions ) INLINE Qt_QFontDialog_getFont( ::pPtr, lOk, pInitial, pParent, cTitle, nOptions ) - METHOD getFont_1( lOk, pInitial, pParent, pName ) INLINE Qt_QFontDialog_getFont_1( ::pPtr, lOk, pInitial, pParent, pName ) - METHOD getFont_2( lOk, pInitial, pParent, cTitle ) INLINE Qt_QFontDialog_getFont_2( ::pPtr, lOk, pInitial, pParent, cTitle ) - METHOD getFont_3( lOk, pInitial, pParent ) INLINE Qt_QFontDialog_getFont_3( ::pPtr, lOk, pInitial, pParent ) - METHOD getFont_4( lOk, pParent ) INLINE Qt_QFontDialog_getFont_4( ::pPtr, lOk, pParent ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFontDialog - - ::pParent := pParent - - ::pPtr := Qt_QFontDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFontDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFontInfo.prg b/harbour/contrib/hbqt/TQFontInfo.prg deleted file mode 100644 index 56f583be31..0000000000 --- a/harbour/contrib/hbqt/TQFontInfo.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFontInfo - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD bold() INLINE Qt_QFontInfo_bold( ::pPtr ) - METHOD exactMatch() INLINE Qt_QFontInfo_exactMatch( ::pPtr ) - METHOD family() INLINE Qt_QFontInfo_family( ::pPtr ) - METHOD fixedPitch() INLINE Qt_QFontInfo_fixedPitch( ::pPtr ) - METHOD italic() INLINE Qt_QFontInfo_italic( ::pPtr ) - METHOD pixelSize() INLINE Qt_QFontInfo_pixelSize( ::pPtr ) - METHOD pointSize() INLINE Qt_QFontInfo_pointSize( ::pPtr ) - METHOD pointSizeF() INLINE Qt_QFontInfo_pointSizeF( ::pPtr ) - METHOD rawMode() INLINE Qt_QFontInfo_rawMode( ::pPtr ) - METHOD style() INLINE Qt_QFontInfo_style( ::pPtr ) - METHOD styleHint() INLINE Qt_QFontInfo_styleHint( ::pPtr ) - METHOD weight() INLINE Qt_QFontInfo_weight( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFontInfo - - ::pParent := pParent - - ::pPtr := Qt_QFontInfo( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFontInfo - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFontMetrics.prg b/harbour/contrib/hbqt/TQFontMetrics.prg deleted file mode 100644 index cc20c53d9d..0000000000 --- a/harbour/contrib/hbqt/TQFontMetrics.prg +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFontMetrics - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD ascent() INLINE Qt_QFontMetrics_ascent( ::pPtr ) - METHOD averageCharWidth() INLINE Qt_QFontMetrics_averageCharWidth( ::pPtr ) - METHOD boundingRect( nCh ) INLINE Qt_QFontMetrics_boundingRect( ::pPtr, nCh ) - METHOD boundingRect_1( cText ) INLINE Qt_QFontMetrics_boundingRect_1( ::pPtr, cText ) - METHOD boundingRect_2( nX, nY, nWidth, nHeight, nFlags, cText, nTabStops, nTabArray ) INLINE Qt_QFontMetrics_boundingRect_2( ::pPtr, nX, nY, nWidth, nHeight, nFlags, cText, nTabStops, nTabArray ) - METHOD boundingRect_3( pRect, nFlags, cText, nTabStops, nTabArray ) INLINE Qt_QFontMetrics_boundingRect_3( ::pPtr, pRect, nFlags, cText, nTabStops, nTabArray ) - METHOD descent() INLINE Qt_QFontMetrics_descent( ::pPtr ) - METHOD elidedText( cText, nMode, nWidth, nFlags ) INLINE Qt_QFontMetrics_elidedText( ::pPtr, cText, nMode, nWidth, nFlags ) - METHOD height() INLINE Qt_QFontMetrics_height( ::pPtr ) - METHOD inFont( nCh ) INLINE Qt_QFontMetrics_inFont( ::pPtr, nCh ) - METHOD leading() INLINE Qt_QFontMetrics_leading( ::pPtr ) - METHOD leftBearing( nCh ) INLINE Qt_QFontMetrics_leftBearing( ::pPtr, nCh ) - METHOD lineSpacing() INLINE Qt_QFontMetrics_lineSpacing( ::pPtr ) - METHOD lineWidth() INLINE Qt_QFontMetrics_lineWidth( ::pPtr ) - METHOD maxWidth() INLINE Qt_QFontMetrics_maxWidth( ::pPtr ) - METHOD minLeftBearing() INLINE Qt_QFontMetrics_minLeftBearing( ::pPtr ) - METHOD minRightBearing() INLINE Qt_QFontMetrics_minRightBearing( ::pPtr ) - METHOD overlinePos() INLINE Qt_QFontMetrics_overlinePos( ::pPtr ) - METHOD rightBearing( nCh ) INLINE Qt_QFontMetrics_rightBearing( ::pPtr, nCh ) - METHOD size( nFlags, cText, nTabStops, nTabArray ) INLINE Qt_QFontMetrics_size( ::pPtr, nFlags, cText, nTabStops, nTabArray ) - METHOD strikeOutPos() INLINE Qt_QFontMetrics_strikeOutPos( ::pPtr ) - METHOD tightBoundingRect( cText ) INLINE Qt_QFontMetrics_tightBoundingRect( ::pPtr, cText ) - METHOD underlinePos() INLINE Qt_QFontMetrics_underlinePos( ::pPtr ) - METHOD width( cText, nLen ) INLINE Qt_QFontMetrics_width( ::pPtr, cText, nLen ) - METHOD width_1( nCh ) INLINE Qt_QFontMetrics_width_1( ::pPtr, nCh ) - METHOD xHeight() INLINE Qt_QFontMetrics_xHeight( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QFontMetrics - - ::pPtr := Qt_QFontMetrics( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFontMetrics - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFontMetricsF.prg b/harbour/contrib/hbqt/TQFontMetricsF.prg deleted file mode 100644 index 295a3dca34..0000000000 --- a/harbour/contrib/hbqt/TQFontMetricsF.prg +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFontMetricsF - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD ascent() INLINE Qt_QFontMetricsF_ascent( ::pPtr ) - METHOD averageCharWidth() INLINE Qt_QFontMetricsF_averageCharWidth( ::pPtr ) - METHOD boundingRect( cText ) INLINE Qt_QFontMetricsF_boundingRect( ::pPtr, cText ) - METHOD boundingRect_1( nCh ) INLINE Qt_QFontMetricsF_boundingRect_1( ::pPtr, nCh ) - METHOD boundingRect_2( pRect, nFlags, cText, nTabStops, nTabArray ) INLINE Qt_QFontMetricsF_boundingRect_2( ::pPtr, pRect, nFlags, cText, nTabStops, nTabArray ) - METHOD descent() INLINE Qt_QFontMetricsF_descent( ::pPtr ) - METHOD elidedText( cText, nMode, nWidth, nFlags ) INLINE Qt_QFontMetricsF_elidedText( ::pPtr, cText, nMode, nWidth, nFlags ) - METHOD height() INLINE Qt_QFontMetricsF_height( ::pPtr ) - METHOD inFont( nCh ) INLINE Qt_QFontMetricsF_inFont( ::pPtr, nCh ) - METHOD leading() INLINE Qt_QFontMetricsF_leading( ::pPtr ) - METHOD leftBearing( nCh ) INLINE Qt_QFontMetricsF_leftBearing( ::pPtr, nCh ) - METHOD lineSpacing() INLINE Qt_QFontMetricsF_lineSpacing( ::pPtr ) - METHOD lineWidth() INLINE Qt_QFontMetricsF_lineWidth( ::pPtr ) - METHOD maxWidth() INLINE Qt_QFontMetricsF_maxWidth( ::pPtr ) - METHOD minLeftBearing() INLINE Qt_QFontMetricsF_minLeftBearing( ::pPtr ) - METHOD minRightBearing() INLINE Qt_QFontMetricsF_minRightBearing( ::pPtr ) - METHOD overlinePos() INLINE Qt_QFontMetricsF_overlinePos( ::pPtr ) - METHOD rightBearing( nCh ) INLINE Qt_QFontMetricsF_rightBearing( ::pPtr, nCh ) - METHOD size( nFlags, cText, nTabStops, nTabArray ) INLINE Qt_QFontMetricsF_size( ::pPtr, nFlags, cText, nTabStops, nTabArray ) - METHOD strikeOutPos() INLINE Qt_QFontMetricsF_strikeOutPos( ::pPtr ) - METHOD tightBoundingRect( cText ) INLINE Qt_QFontMetricsF_tightBoundingRect( ::pPtr, cText ) - METHOD underlinePos() INLINE Qt_QFontMetricsF_underlinePos( ::pPtr ) - METHOD width( cText ) INLINE Qt_QFontMetricsF_width( ::pPtr, cText ) - METHOD width_1( nCh ) INLINE Qt_QFontMetricsF_width_1( ::pPtr, nCh ) - METHOD xHeight() INLINE Qt_QFontMetricsF_xHeight( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QFontMetricsF - - ::pPtr := Qt_QFontMetricsF( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFontMetricsF - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFormLayout.prg b/harbour/contrib/hbqt/TQFormLayout.prg deleted file mode 100644 index 60fd384f3c..0000000000 --- a/harbour/contrib/hbqt/TQFormLayout.prg +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFormLayout INHERIT QLayout - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addRow( pLabel, pField ) INLINE Qt_QFormLayout_addRow( ::pPtr, pLabel, pField ) - METHOD addRow_1( pLabel, pField ) INLINE Qt_QFormLayout_addRow_1( ::pPtr, pLabel, pField ) - METHOD addRow_2( pWidget ) INLINE Qt_QFormLayout_addRow_2( ::pPtr, pWidget ) - METHOD addRow_3( cLabelText, pField ) INLINE Qt_QFormLayout_addRow_3( ::pPtr, cLabelText, pField ) - METHOD addRow_4( cLabelText, pField ) INLINE Qt_QFormLayout_addRow_4( ::pPtr, cLabelText, pField ) - METHOD addRow_5( pLayout ) INLINE Qt_QFormLayout_addRow_5( ::pPtr, pLayout ) - METHOD fieldGrowthPolicy() INLINE Qt_QFormLayout_fieldGrowthPolicy( ::pPtr ) - METHOD formAlignment() INLINE Qt_QFormLayout_formAlignment( ::pPtr ) - METHOD getItemPosition( nIndex, nRowPtr, nRolePtr ) INLINE Qt_QFormLayout_getItemPosition( ::pPtr, nIndex, nRowPtr, nRolePtr ) - METHOD getLayoutPosition( pLayout, nRowPtr, nRolePtr ) INLINE Qt_QFormLayout_getLayoutPosition( ::pPtr, pLayout, nRowPtr, nRolePtr ) - METHOD getWidgetPosition( pWidget, nRowPtr, nRolePtr ) INLINE Qt_QFormLayout_getWidgetPosition( ::pPtr, pWidget, nRowPtr, nRolePtr ) - METHOD horizontalSpacing() INLINE Qt_QFormLayout_horizontalSpacing( ::pPtr ) - METHOD insertRow( nRow, pLabel, pField ) INLINE Qt_QFormLayout_insertRow( ::pPtr, nRow, pLabel, pField ) - METHOD insertRow_1( nRow, pLabel, pField ) INLINE Qt_QFormLayout_insertRow_1( ::pPtr, nRow, pLabel, pField ) - METHOD insertRow_2( nRow, pWidget ) INLINE Qt_QFormLayout_insertRow_2( ::pPtr, nRow, pWidget ) - METHOD insertRow_3( nRow, cLabelText, pField ) INLINE Qt_QFormLayout_insertRow_3( ::pPtr, nRow, cLabelText, pField ) - METHOD insertRow_4( nRow, cLabelText, pField ) INLINE Qt_QFormLayout_insertRow_4( ::pPtr, nRow, cLabelText, pField ) - METHOD insertRow_5( nRow, pLayout ) INLINE Qt_QFormLayout_insertRow_5( ::pPtr, nRow, pLayout ) - METHOD itemAt( nRow, nRole ) INLINE Qt_QFormLayout_itemAt( ::pPtr, nRow, nRole ) - METHOD labelAlignment() INLINE Qt_QFormLayout_labelAlignment( ::pPtr ) - METHOD labelForField( pField ) INLINE Qt_QFormLayout_labelForField( ::pPtr, pField ) - METHOD labelForField_1( pField ) INLINE Qt_QFormLayout_labelForField_1( ::pPtr, pField ) - METHOD rowCount() INLINE Qt_QFormLayout_rowCount( ::pPtr ) - METHOD rowWrapPolicy() INLINE Qt_QFormLayout_rowWrapPolicy( ::pPtr ) - METHOD setFieldGrowthPolicy( nPolicy ) INLINE Qt_QFormLayout_setFieldGrowthPolicy( ::pPtr, nPolicy ) - METHOD setFormAlignment( nAlignment ) INLINE Qt_QFormLayout_setFormAlignment( ::pPtr, nAlignment ) - METHOD setHorizontalSpacing( nSpacing ) INLINE Qt_QFormLayout_setHorizontalSpacing( ::pPtr, nSpacing ) - METHOD setItem( nRow, nRole, pItem ) INLINE Qt_QFormLayout_setItem( ::pPtr, nRow, nRole, pItem ) - METHOD setLabelAlignment( nAlignment ) INLINE Qt_QFormLayout_setLabelAlignment( ::pPtr, nAlignment ) - METHOD setLayout( nRow, nRole, pLayout ) INLINE Qt_QFormLayout_setLayout( ::pPtr, nRow, nRole, pLayout ) - METHOD setRowWrapPolicy( nPolicy ) INLINE Qt_QFormLayout_setRowWrapPolicy( ::pPtr, nPolicy ) - METHOD setSpacing( nSpacing ) INLINE Qt_QFormLayout_setSpacing( ::pPtr, nSpacing ) - METHOD setVerticalSpacing( nSpacing ) INLINE Qt_QFormLayout_setVerticalSpacing( ::pPtr, nSpacing ) - METHOD setWidget( nRow, nRole, pWidget ) INLINE Qt_QFormLayout_setWidget( ::pPtr, nRow, nRole, pWidget ) - METHOD spacing() INLINE Qt_QFormLayout_spacing( ::pPtr ) - METHOD verticalSpacing() INLINE Qt_QFormLayout_verticalSpacing( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFormLayout - - ::pParent := pParent - - ::pPtr := Qt_QFormLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFormLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFrame.prg b/harbour/contrib/hbqt/TQFrame.prg deleted file mode 100644 index 5842caf710..0000000000 --- a/harbour/contrib/hbqt/TQFrame.prg +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFrame INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD frameRect() INLINE Qt_QFrame_frameRect( ::pPtr ) - METHOD frameShadow() INLINE Qt_QFrame_frameShadow( ::pPtr ) - METHOD frameShape() INLINE Qt_QFrame_frameShape( ::pPtr ) - METHOD frameStyle() INLINE Qt_QFrame_frameStyle( ::pPtr ) - METHOD frameWidth() INLINE Qt_QFrame_frameWidth( ::pPtr ) - METHOD lineWidth() INLINE Qt_QFrame_lineWidth( ::pPtr ) - METHOD midLineWidth() INLINE Qt_QFrame_midLineWidth( ::pPtr ) - METHOD setFrameRect( pQRect ) INLINE Qt_QFrame_setFrameRect( ::pPtr, pQRect ) - METHOD setFrameShadow( nShadow ) INLINE Qt_QFrame_setFrameShadow( ::pPtr, nShadow ) - METHOD setFrameShape( nShape ) INLINE Qt_QFrame_setFrameShape( ::pPtr, nShape ) - METHOD setFrameStyle( nStyle ) INLINE Qt_QFrame_setFrameStyle( ::pPtr, nStyle ) - METHOD setLineWidth( nInt ) INLINE Qt_QFrame_setLineWidth( ::pPtr, nInt ) - METHOD setMidLineWidth( nInt ) INLINE Qt_QFrame_setMidLineWidth( ::pPtr, nInt ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFrame - - ::pParent := pParent - - ::pPtr := Qt_QFrame( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFrame - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQFtp.prg b/harbour/contrib/hbqt/TQFtp.prg deleted file mode 100644 index cd4a2f5bdb..0000000000 --- a/harbour/contrib/hbqt/TQFtp.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QFtp INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD bytesAvailable() INLINE Qt_QFtp_bytesAvailable( ::pPtr ) - METHOD cd( cDir ) INLINE Qt_QFtp_cd( ::pPtr, cDir ) - METHOD clearPendingCommands() INLINE Qt_QFtp_clearPendingCommands( ::pPtr ) - METHOD close() INLINE Qt_QFtp_close( ::pPtr ) - METHOD connectToHost( cHost, nPort ) INLINE Qt_QFtp_connectToHost( ::pPtr, cHost, nPort ) - METHOD currentCommand() INLINE Qt_QFtp_currentCommand( ::pPtr ) - METHOD currentDevice() INLINE Qt_QFtp_currentDevice( ::pPtr ) - METHOD currentId() INLINE Qt_QFtp_currentId( ::pPtr ) - METHOD error() INLINE Qt_QFtp_error( ::pPtr ) - METHOD errorString() INLINE Qt_QFtp_errorString( ::pPtr ) - METHOD get( cFile, pDev, nType ) INLINE Qt_QFtp_get( ::pPtr, cFile, pDev, nType ) - METHOD hasPendingCommands() INLINE Qt_QFtp_hasPendingCommands( ::pPtr ) - METHOD list( cDir ) INLINE Qt_QFtp_list( ::pPtr, cDir ) - METHOD login( cUser, cPassword ) INLINE Qt_QFtp_login( ::pPtr, cUser, cPassword ) - METHOD mkdir( cDir ) INLINE Qt_QFtp_mkdir( ::pPtr, cDir ) - METHOD put( pDev, cFile, nType ) INLINE Qt_QFtp_put( ::pPtr, pDev, cFile, nType ) - METHOD put_1( pData, cFile, nType ) INLINE Qt_QFtp_put_1( ::pPtr, pData, cFile, nType ) - METHOD rawCommand( cCommand ) INLINE Qt_QFtp_rawCommand( ::pPtr, cCommand ) - METHOD readAll() INLINE Qt_QFtp_readAll( ::pPtr ) - METHOD remove( cFile ) INLINE Qt_QFtp_remove( ::pPtr, cFile ) - METHOD rename( cOldname, cNewname ) INLINE Qt_QFtp_rename( ::pPtr, cOldname, cNewname ) - METHOD rmdir( cDir ) INLINE Qt_QFtp_rmdir( ::pPtr, cDir ) - METHOD setProxy( cHost, nPort ) INLINE Qt_QFtp_setProxy( ::pPtr, cHost, nPort ) - METHOD setTransferMode( nMode ) INLINE Qt_QFtp_setTransferMode( ::pPtr, nMode ) - METHOD state() INLINE Qt_QFtp_state( ::pPtr ) - METHOD abort() INLINE Qt_QFtp_abort( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QFtp - - ::pParent := pParent - - ::pPtr := Qt_QFtp( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QFtp - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQGradient.prg b/harbour/contrib/hbqt/TQGradient.prg deleted file mode 100644 index 8e97718ec7..0000000000 --- a/harbour/contrib/hbqt/TQGradient.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QGradient - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD coordinateMode() INLINE Qt_QGradient_coordinateMode( ::pPtr ) - METHOD setColorAt( nPosition, pColor ) INLINE Qt_QGradient_setColorAt( ::pPtr, nPosition, pColor ) - METHOD setCoordinateMode( nMode ) INLINE Qt_QGradient_setCoordinateMode( ::pPtr, nMode ) - METHOD setSpread( nMethod ) INLINE Qt_QGradient_setSpread( ::pPtr, nMethod ) - METHOD setStops( pStopPoints ) INLINE Qt_QGradient_setStops( ::pPtr, pStopPoints ) - METHOD spread() INLINE Qt_QGradient_spread( ::pPtr ) - METHOD stops() INLINE Qt_QGradient_stops( ::pPtr ) - METHOD type() INLINE Qt_QGradient_type( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QGradient - - ::pParent := pParent - - ::pPtr := Qt_QGradient( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QGradient - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQGridLayout.prg b/harbour/contrib/hbqt/TQGridLayout.prg deleted file mode 100644 index e75cac7e52..0000000000 --- a/harbour/contrib/hbqt/TQGridLayout.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QGridLayout INHERIT QLayout - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addItem( pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) INLINE Qt_QGridLayout_addItem( ::pPtr, pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) - METHOD addLayout( pLayout, nRow, nColumn, nAlignment ) INLINE Qt_QGridLayout_addLayout( ::pPtr, pLayout, nRow, nColumn, nAlignment ) - METHOD addLayout_1( pLayout, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) INLINE Qt_QGridLayout_addLayout_1( ::pPtr, pLayout, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) - METHOD addWidget( pWidget, nRow, nColumn, nAlignment ) INLINE Qt_QGridLayout_addWidget( ::pPtr, pWidget, nRow, nColumn, nAlignment ) - METHOD addWidget_1( pWidget, nFromRow, nFromColumn, nRowSpan, nColumnSpan, nAlignment ) INLINE Qt_QGridLayout_addWidget_1( ::pPtr, pWidget, nFromRow, nFromColumn, nRowSpan, nColumnSpan, nAlignment ) - METHOD cellRect( nRow, nColumn ) INLINE Qt_QGridLayout_cellRect( ::pPtr, nRow, nColumn ) - METHOD columnCount() INLINE Qt_QGridLayout_columnCount( ::pPtr ) - METHOD columnMinimumWidth( nColumn ) INLINE Qt_QGridLayout_columnMinimumWidth( ::pPtr, nColumn ) - METHOD columnStretch( nColumn ) INLINE Qt_QGridLayout_columnStretch( ::pPtr, nColumn ) - METHOD getItemPosition( nIndex, nRow, nColumn, nRowSpan, nColumnSpan ) INLINE Qt_QGridLayout_getItemPosition( ::pPtr, nIndex, nRow, nColumn, nRowSpan, nColumnSpan ) - METHOD horizontalSpacing() INLINE Qt_QGridLayout_horizontalSpacing( ::pPtr ) - METHOD itemAtPosition( nRow, nColumn ) INLINE Qt_QGridLayout_itemAtPosition( ::pPtr, nRow, nColumn ) - METHOD originCorner() INLINE Qt_QGridLayout_originCorner( ::pPtr ) - METHOD rowCount() INLINE Qt_QGridLayout_rowCount( ::pPtr ) - METHOD rowMinimumHeight( nRow ) INLINE Qt_QGridLayout_rowMinimumHeight( ::pPtr, nRow ) - METHOD rowStretch( nRow ) INLINE Qt_QGridLayout_rowStretch( ::pPtr, nRow ) - METHOD setColumnMinimumWidth( nColumn, nMinSize ) INLINE Qt_QGridLayout_setColumnMinimumWidth( ::pPtr, nColumn, nMinSize ) - METHOD setColumnStretch( nColumn, nStretch ) INLINE Qt_QGridLayout_setColumnStretch( ::pPtr, nColumn, nStretch ) - METHOD setHorizontalSpacing( nSpacing ) INLINE Qt_QGridLayout_setHorizontalSpacing( ::pPtr, nSpacing ) - METHOD setOriginCorner( nCorner ) INLINE Qt_QGridLayout_setOriginCorner( ::pPtr, nCorner ) - METHOD setRowMinimumHeight( nRow, nMinSize ) INLINE Qt_QGridLayout_setRowMinimumHeight( ::pPtr, nRow, nMinSize ) - METHOD setRowStretch( nRow, nStretch ) INLINE Qt_QGridLayout_setRowStretch( ::pPtr, nRow, nStretch ) - METHOD setSpacing( nSpacing ) INLINE Qt_QGridLayout_setSpacing( ::pPtr, nSpacing ) - METHOD setVerticalSpacing( nSpacing ) INLINE Qt_QGridLayout_setVerticalSpacing( ::pPtr, nSpacing ) - METHOD spacing() INLINE Qt_QGridLayout_spacing( ::pPtr ) - METHOD verticalSpacing() INLINE Qt_QGridLayout_verticalSpacing( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QGridLayout - - ::pParent := pParent - - ::pPtr := Qt_QGridLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QGridLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQGroupBox.prg b/harbour/contrib/hbqt/TQGroupBox.prg deleted file mode 100644 index 33bb49a6d1..0000000000 --- a/harbour/contrib/hbqt/TQGroupBox.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QGroupBox INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QGroupBox_alignment( ::pPtr ) - METHOD isCheckable() INLINE Qt_QGroupBox_isCheckable( ::pPtr ) - METHOD isChecked() INLINE Qt_QGroupBox_isChecked( ::pPtr ) - METHOD isFlat() INLINE Qt_QGroupBox_isFlat( ::pPtr ) - METHOD setAlignment( nAlignment ) INLINE Qt_QGroupBox_setAlignment( ::pPtr, nAlignment ) - METHOD setCheckable( lCheckable ) INLINE Qt_QGroupBox_setCheckable( ::pPtr, lCheckable ) - METHOD setFlat( lFlat ) INLINE Qt_QGroupBox_setFlat( ::pPtr, lFlat ) - METHOD setTitle( cTitle ) INLINE Qt_QGroupBox_setTitle( ::pPtr, cTitle ) - METHOD title() INLINE Qt_QGroupBox_title( ::pPtr ) - METHOD setChecked( lChecked ) INLINE Qt_QGroupBox_setChecked( ::pPtr, lChecked ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QGroupBox - - ::pParent := pParent - - ::pPtr := Qt_QGroupBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QGroupBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQHBoxLayout.prg b/harbour/contrib/hbqt/TQHBoxLayout.prg deleted file mode 100644 index 2f08296b0a..0000000000 --- a/harbour/contrib/hbqt/TQHBoxLayout.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QHBoxLayout INHERIT QBoxLayout - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QHBoxLayout - - ::pParent := pParent - - ::pPtr := Qt_QHBoxLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QHBoxLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQHeaderView.prg b/harbour/contrib/hbqt/TQHeaderView.prg deleted file mode 100644 index 8e5c4c298c..0000000000 --- a/harbour/contrib/hbqt/TQHeaderView.prg +++ /dev/null @@ -1,156 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QHeaderView INHERIT QAbstractItemView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD cascadingSectionResizes() INLINE Qt_QHeaderView_cascadingSectionResizes( ::pPtr ) - METHOD count() INLINE Qt_QHeaderView_count( ::pPtr ) - METHOD defaultAlignment() INLINE Qt_QHeaderView_defaultAlignment( ::pPtr ) - METHOD defaultSectionSize() INLINE Qt_QHeaderView_defaultSectionSize( ::pPtr ) - METHOD hiddenSectionCount() INLINE Qt_QHeaderView_hiddenSectionCount( ::pPtr ) - METHOD hideSection( nLogicalIndex ) INLINE Qt_QHeaderView_hideSection( ::pPtr, nLogicalIndex ) - METHOD highlightSections() INLINE Qt_QHeaderView_highlightSections( ::pPtr ) - METHOD isClickable() INLINE Qt_QHeaderView_isClickable( ::pPtr ) - METHOD isMovable() INLINE Qt_QHeaderView_isMovable( ::pPtr ) - METHOD isSectionHidden( nLogicalIndex ) INLINE Qt_QHeaderView_isSectionHidden( ::pPtr, nLogicalIndex ) - METHOD isSortIndicatorShown() INLINE Qt_QHeaderView_isSortIndicatorShown( ::pPtr ) - METHOD length() INLINE Qt_QHeaderView_length( ::pPtr ) - METHOD logicalIndex( nVisualIndex ) INLINE Qt_QHeaderView_logicalIndex( ::pPtr, nVisualIndex ) - METHOD logicalIndexAt( nPosition ) INLINE Qt_QHeaderView_logicalIndexAt( ::pPtr, nPosition ) - METHOD logicalIndexAt_1( nX, nY ) INLINE Qt_QHeaderView_logicalIndexAt_1( ::pPtr, nX, nY ) - METHOD logicalIndexAt_2( pPos ) INLINE Qt_QHeaderView_logicalIndexAt_2( ::pPtr, pPos ) - METHOD minimumSectionSize() INLINE Qt_QHeaderView_minimumSectionSize( ::pPtr ) - METHOD moveSection( nFrom, nTo ) INLINE Qt_QHeaderView_moveSection( ::pPtr, nFrom, nTo ) - METHOD offset() INLINE Qt_QHeaderView_offset( ::pPtr ) - METHOD orientation() INLINE Qt_QHeaderView_orientation( ::pPtr ) - METHOD resizeMode( nLogicalIndex ) INLINE Qt_QHeaderView_resizeMode( ::pPtr, nLogicalIndex ) - METHOD resizeSection( nLogicalIndex, nSize ) INLINE Qt_QHeaderView_resizeSection( ::pPtr, nLogicalIndex, nSize ) - METHOD resizeSections( nMode ) INLINE Qt_QHeaderView_resizeSections( ::pPtr, nMode ) - METHOD restoreState( pState ) INLINE Qt_QHeaderView_restoreState( ::pPtr, pState ) - METHOD saveState() INLINE Qt_QHeaderView_saveState( ::pPtr ) - METHOD sectionPosition( nLogicalIndex ) INLINE Qt_QHeaderView_sectionPosition( ::pPtr, nLogicalIndex ) - METHOD sectionSize( nLogicalIndex ) INLINE Qt_QHeaderView_sectionSize( ::pPtr, nLogicalIndex ) - METHOD sectionSizeHint( nLogicalIndex ) INLINE Qt_QHeaderView_sectionSizeHint( ::pPtr, nLogicalIndex ) - METHOD sectionViewportPosition( nLogicalIndex ) INLINE Qt_QHeaderView_sectionViewportPosition( ::pPtr, nLogicalIndex ) - METHOD sectionsHidden() INLINE Qt_QHeaderView_sectionsHidden( ::pPtr ) - METHOD sectionsMoved() INLINE Qt_QHeaderView_sectionsMoved( ::pPtr ) - METHOD setCascadingSectionResizes( lEnable ) INLINE Qt_QHeaderView_setCascadingSectionResizes( ::pPtr, lEnable ) - METHOD setClickable( lClickable ) INLINE Qt_QHeaderView_setClickable( ::pPtr, lClickable ) - METHOD setDefaultAlignment( nAlignment ) INLINE Qt_QHeaderView_setDefaultAlignment( ::pPtr, nAlignment ) - METHOD setDefaultSectionSize( nSize ) INLINE Qt_QHeaderView_setDefaultSectionSize( ::pPtr, nSize ) - METHOD setHighlightSections( lHighlight ) INLINE Qt_QHeaderView_setHighlightSections( ::pPtr, lHighlight ) - METHOD setMinimumSectionSize( nSize ) INLINE Qt_QHeaderView_setMinimumSectionSize( ::pPtr, nSize ) - METHOD setMovable( lMovable ) INLINE Qt_QHeaderView_setMovable( ::pPtr, lMovable ) - METHOD setResizeMode( nMode ) INLINE Qt_QHeaderView_setResizeMode( ::pPtr, nMode ) - METHOD setResizeMode_1( nLogicalIndex, nMode ) INLINE Qt_QHeaderView_setResizeMode_1( ::pPtr, nLogicalIndex, nMode ) - METHOD setSectionHidden( nLogicalIndex, lHide ) INLINE Qt_QHeaderView_setSectionHidden( ::pPtr, nLogicalIndex, lHide ) - METHOD setSortIndicator( nLogicalIndex, nOrder ) INLINE Qt_QHeaderView_setSortIndicator( ::pPtr, nLogicalIndex, nOrder ) - METHOD setSortIndicatorShown( lShow ) INLINE Qt_QHeaderView_setSortIndicatorShown( ::pPtr, lShow ) - METHOD setStretchLastSection( lStretch ) INLINE Qt_QHeaderView_setStretchLastSection( ::pPtr, lStretch ) - METHOD showSection( nLogicalIndex ) INLINE Qt_QHeaderView_showSection( ::pPtr, nLogicalIndex ) - METHOD sizeHint() INLINE Qt_QHeaderView_sizeHint( ::pPtr ) - METHOD sortIndicatorOrder() INLINE Qt_QHeaderView_sortIndicatorOrder( ::pPtr ) - METHOD sortIndicatorSection() INLINE Qt_QHeaderView_sortIndicatorSection( ::pPtr ) - METHOD stretchLastSection() INLINE Qt_QHeaderView_stretchLastSection( ::pPtr ) - METHOD stretchSectionCount() INLINE Qt_QHeaderView_stretchSectionCount( ::pPtr ) - METHOD swapSections( nFirst, nSecond ) INLINE Qt_QHeaderView_swapSections( ::pPtr, nFirst, nSecond ) - METHOD visualIndex( nLogicalIndex ) INLINE Qt_QHeaderView_visualIndex( ::pPtr, nLogicalIndex ) - METHOD visualIndexAt( nPosition ) INLINE Qt_QHeaderView_visualIndexAt( ::pPtr, nPosition ) - METHOD headerDataChanged( nOrientation, nLogicalFirst, nLogicalLast ) INLINE Qt_QHeaderView_headerDataChanged( ::pPtr, nOrientation, nLogicalFirst, nLogicalLast ) - METHOD setOffset( nOffset ) INLINE Qt_QHeaderView_setOffset( ::pPtr, nOffset ) - METHOD setOffsetToLastSection() INLINE Qt_QHeaderView_setOffsetToLastSection( ::pPtr ) - METHOD setOffsetToSectionPosition( nVisualIndex ) INLINE Qt_QHeaderView_setOffsetToSectionPosition( ::pPtr, nVisualIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QHeaderView - - ::pParent := pParent - - ::pPtr := Qt_QHeaderView( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QHeaderView - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQHttp.prg b/harbour/contrib/hbqt/TQHttp.prg deleted file mode 100644 index 959b0c338d..0000000000 --- a/harbour/contrib/hbqt/TQHttp.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QHttp INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD bytesAvailable() INLINE Qt_QHttp_bytesAvailable( ::pPtr ) - METHOD clearPendingRequests() INLINE Qt_QHttp_clearPendingRequests( ::pPtr ) - METHOD close() INLINE Qt_QHttp_close( ::pPtr ) - METHOD currentDestinationDevice() INLINE Qt_QHttp_currentDestinationDevice( ::pPtr ) - METHOD currentId() INLINE Qt_QHttp_currentId( ::pPtr ) - METHOD currentRequest() INLINE Qt_QHttp_currentRequest( ::pPtr ) - METHOD currentSourceDevice() INLINE Qt_QHttp_currentSourceDevice( ::pPtr ) - METHOD error() INLINE Qt_QHttp_error( ::pPtr ) - METHOD errorString() INLINE Qt_QHttp_errorString( ::pPtr ) - METHOD get( cPath, pTo ) INLINE Qt_QHttp_get( ::pPtr, cPath, pTo ) - METHOD hasPendingRequests() INLINE Qt_QHttp_hasPendingRequests( ::pPtr ) - METHOD head( cPath ) INLINE Qt_QHttp_head( ::pPtr, cPath ) - METHOD lastResponse() INLINE Qt_QHttp_lastResponse( ::pPtr ) - METHOD post( cPath, pData, pTo ) INLINE Qt_QHttp_post( ::pPtr, cPath, pData, pTo ) - METHOD post_1( cPath, pData, pTo ) INLINE Qt_QHttp_post_1( ::pPtr, cPath, pData, pTo ) - METHOD readAll() INLINE Qt_QHttp_readAll( ::pPtr ) - METHOD request( pHeader, pData, pTo ) INLINE Qt_QHttp_request( ::pPtr, pHeader, pData, pTo ) - METHOD request_1( pHeader, pData, pTo ) INLINE Qt_QHttp_request_1( ::pPtr, pHeader, pData, pTo ) - METHOD setHost( cHostName, nPort ) INLINE Qt_QHttp_setHost( ::pPtr, cHostName, nPort ) - METHOD setHost_1( cHostName, nMode, nPort ) INLINE Qt_QHttp_setHost_1( ::pPtr, cHostName, nMode, nPort ) - METHOD setProxy( cHost, nPort, cUsername, cPassword ) INLINE Qt_QHttp_setProxy( ::pPtr, cHost, nPort, cUsername, cPassword ) - METHOD setProxy_1( pProxy ) INLINE Qt_QHttp_setProxy_1( ::pPtr, pProxy ) - METHOD setSocket( pSocket ) INLINE Qt_QHttp_setSocket( ::pPtr, pSocket ) - METHOD setUser( cUserName, cPassword ) INLINE Qt_QHttp_setUser( ::pPtr, cUserName, cPassword ) - METHOD state() INLINE Qt_QHttp_state( ::pPtr ) - METHOD abort() INLINE Qt_QHttp_abort( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QHttp - - ::pParent := pParent - - ::pPtr := Qt_QHttp( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QHttp - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQIODevice.prg b/harbour/contrib/hbqt/TQIODevice.prg deleted file mode 100644 index c4859ed331..0000000000 --- a/harbour/contrib/hbqt/TQIODevice.prg +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QIODevice INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD atEnd() INLINE Qt_QIODevice_atEnd( ::pPtr ) - METHOD bytesAvailable() INLINE Qt_QIODevice_bytesAvailable( ::pPtr ) - METHOD bytesToWrite() INLINE Qt_QIODevice_bytesToWrite( ::pPtr ) - METHOD canReadLine() INLINE Qt_QIODevice_canReadLine( ::pPtr ) - METHOD close() INLINE Qt_QIODevice_close( ::pPtr ) - METHOD errorString() INLINE Qt_QIODevice_errorString( ::pPtr ) - METHOD getChar( cC ) INLINE Qt_QIODevice_getChar( ::pPtr, cC ) - METHOD isOpen() INLINE Qt_QIODevice_isOpen( ::pPtr ) - METHOD isReadable() INLINE Qt_QIODevice_isReadable( ::pPtr ) - METHOD isSequential() INLINE Qt_QIODevice_isSequential( ::pPtr ) - METHOD isTextModeEnabled() INLINE Qt_QIODevice_isTextModeEnabled( ::pPtr ) - METHOD isWritable() INLINE Qt_QIODevice_isWritable( ::pPtr ) - METHOD open( nMode ) INLINE Qt_QIODevice_open( ::pPtr, nMode ) - METHOD openMode() INLINE Qt_QIODevice_openMode( ::pPtr ) - METHOD peek( cData, nMaxSize ) INLINE Qt_QIODevice_peek( ::pPtr, cData, nMaxSize ) - METHOD peek_1( nMaxSize ) INLINE Qt_QIODevice_peek_1( ::pPtr, nMaxSize ) - METHOD pos() INLINE Qt_QIODevice_pos( ::pPtr ) - METHOD putChar( cC ) INLINE Qt_QIODevice_putChar( ::pPtr, cC ) - METHOD read( cData, nMaxSize ) INLINE Qt_QIODevice_read( ::pPtr, cData, nMaxSize ) - METHOD read_1( nMaxSize ) INLINE Qt_QIODevice_read_1( ::pPtr, nMaxSize ) - METHOD readAll() INLINE Qt_QIODevice_readAll( ::pPtr ) - METHOD readLine( cData, nMaxSize ) INLINE Qt_QIODevice_readLine( ::pPtr, cData, nMaxSize ) - METHOD readLine_1( nMaxSize ) INLINE Qt_QIODevice_readLine_1( ::pPtr, nMaxSize ) - METHOD reset() INLINE Qt_QIODevice_reset( ::pPtr ) - METHOD seek( nPos ) INLINE Qt_QIODevice_seek( ::pPtr, nPos ) - METHOD setTextModeEnabled( lEnabled ) INLINE Qt_QIODevice_setTextModeEnabled( ::pPtr, lEnabled ) - METHOD size() INLINE Qt_QIODevice_size( ::pPtr ) - METHOD ungetChar( cC ) INLINE Qt_QIODevice_ungetChar( ::pPtr, cC ) - METHOD waitForBytesWritten( nMsecs ) INLINE Qt_QIODevice_waitForBytesWritten( ::pPtr, nMsecs ) - METHOD waitForReadyRead( nMsecs ) INLINE Qt_QIODevice_waitForReadyRead( ::pPtr, nMsecs ) - METHOD write( pData, nMaxSize ) INLINE Qt_QIODevice_write( ::pPtr, pData, nMaxSize ) - METHOD write_1( pData ) INLINE Qt_QIODevice_write_1( ::pPtr, pData ) - METHOD write_2( pByteArray ) INLINE Qt_QIODevice_write_2( ::pPtr, pByteArray ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QIODevice - - ::pParent := pParent - - ::pPtr := Qt_QIODevice( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QIODevice - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQIcon.prg b/harbour/contrib/hbqt/TQIcon.prg deleted file mode 100644 index 7943c69c47..0000000000 --- a/harbour/contrib/hbqt/TQIcon.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QIcon - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD actualSize( pSize, nMode, nState ) INLINE Qt_QIcon_actualSize( ::pPtr, pSize, nMode, nState ) - METHOD addFile( cFileName, pSize, nMode, nState ) INLINE Qt_QIcon_addFile( ::pPtr, cFileName, pSize, nMode, nState ) - METHOD addPixmap( pPixmap, nMode, nState ) INLINE Qt_QIcon_addPixmap( ::pPtr, pPixmap, nMode, nState ) - METHOD cacheKey() INLINE Qt_QIcon_cacheKey( ::pPtr ) - METHOD isNull() INLINE Qt_QIcon_isNull( ::pPtr ) - METHOD paint( pPainter, pRect, nAlignment, nMode, nState ) INLINE Qt_QIcon_paint( ::pPtr, pPainter, pRect, nAlignment, nMode, nState ) - METHOD paint_1( pPainter, nX, nY, nW, nH, nAlignment, nMode, nState ) INLINE Qt_QIcon_paint_1( ::pPtr, pPainter, nX, nY, nW, nH, nAlignment, nMode, nState ) - METHOD pixmap( pSize, nMode, nState ) INLINE Qt_QIcon_pixmap( ::pPtr, pSize, nMode, nState ) - METHOD pixmap_1( nW, nH, nMode, nState ) INLINE Qt_QIcon_pixmap_1( ::pPtr, nW, nH, nMode, nState ) - METHOD pixmap_2( nExtent, nMode, nState ) INLINE Qt_QIcon_pixmap_2( ::pPtr, nExtent, nMode, nState ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QIcon - - ::pPtr := Qt_QIcon( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QIcon - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQImage.prg b/harbour/contrib/hbqt/TQImage.prg deleted file mode 100644 index bbf75a7211..0000000000 --- a/harbour/contrib/hbqt/TQImage.prg +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QImage - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD allGray() INLINE Qt_QImage_allGray( ::pPtr ) - METHOD alphaChannel() INLINE Qt_QImage_alphaChannel( ::pPtr ) - METHOD bits() INLINE Qt_QImage_bits( ::pPtr ) - METHOD bits_1() INLINE Qt_QImage_bits_1( ::pPtr ) - METHOD bytesPerLine() INLINE Qt_QImage_bytesPerLine( ::pPtr ) - METHOD cacheKey() INLINE Qt_QImage_cacheKey( ::pPtr ) - METHOD color( nI ) INLINE Qt_QImage_color( ::pPtr, nI ) - METHOD convertToFormat( nFormat, nFlags ) INLINE Qt_QImage_convertToFormat( ::pPtr, nFormat, nFlags ) - METHOD copy( pRectangle ) INLINE Qt_QImage_copy( ::pPtr, pRectangle ) - METHOD copy_1( nX, nY, nWidth, nHeight ) INLINE Qt_QImage_copy_1( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD createAlphaMask( nFlags ) INLINE Qt_QImage_createAlphaMask( ::pPtr, nFlags ) - METHOD createHeuristicMask( lClipTight ) INLINE Qt_QImage_createHeuristicMask( ::pPtr, lClipTight ) - METHOD createMaskFromColor( nColor, nMode ) INLINE Qt_QImage_createMaskFromColor( ::pPtr, nColor, nMode ) - METHOD depth() INLINE Qt_QImage_depth( ::pPtr ) - METHOD dotsPerMeterX() INLINE Qt_QImage_dotsPerMeterX( ::pPtr ) - METHOD dotsPerMeterY() INLINE Qt_QImage_dotsPerMeterY( ::pPtr ) - METHOD fill( nPixelValue ) INLINE Qt_QImage_fill( ::pPtr, nPixelValue ) - METHOD format() INLINE Qt_QImage_format( ::pPtr ) - METHOD hasAlphaChannel() INLINE Qt_QImage_hasAlphaChannel( ::pPtr ) - METHOD height() INLINE Qt_QImage_height( ::pPtr ) - METHOD invertPixels( nMode ) INLINE Qt_QImage_invertPixels( ::pPtr, nMode ) - METHOD isGrayscale() INLINE Qt_QImage_isGrayscale( ::pPtr ) - METHOD isNull() INLINE Qt_QImage_isNull( ::pPtr ) - METHOD load( cFileName, pFormat ) INLINE Qt_QImage_load( ::pPtr, cFileName, pFormat ) - METHOD load_1( pDevice, pFormat ) INLINE Qt_QImage_load_1( ::pPtr, pDevice, pFormat ) - METHOD loadFromData( pData, pFormat ) INLINE Qt_QImage_loadFromData( ::pPtr, pData, pFormat ) - METHOD mirrored( lHorizontal, lVertical ) INLINE Qt_QImage_mirrored( ::pPtr, lHorizontal, lVertical ) - METHOD numBytes() INLINE Qt_QImage_numBytes( ::pPtr ) - METHOD numColors() INLINE Qt_QImage_numColors( ::pPtr ) - METHOD offset() INLINE Qt_QImage_offset( ::pPtr ) - METHOD pixel( pPosition ) INLINE Qt_QImage_pixel( ::pPtr, pPosition ) - METHOD pixel_1( nX, nY ) INLINE Qt_QImage_pixel_1( ::pPtr, nX, nY ) - METHOD pixelIndex( pPosition ) INLINE Qt_QImage_pixelIndex( ::pPtr, pPosition ) - METHOD pixelIndex_1( nX, nY ) INLINE Qt_QImage_pixelIndex_1( ::pPtr, nX, nY ) - METHOD rect() INLINE Qt_QImage_rect( ::pPtr ) - METHOD rgbSwapped() INLINE Qt_QImage_rgbSwapped( ::pPtr ) - METHOD save( cFileName, pFormat, nQuality ) INLINE Qt_QImage_save( ::pPtr, cFileName, pFormat, nQuality ) - METHOD save_1( pDevice, pFormat, nQuality ) INLINE Qt_QImage_save_1( ::pPtr, pDevice, pFormat, nQuality ) - METHOD scaled( pSize, nAspectRatioMode, nTransformMode ) INLINE Qt_QImage_scaled( ::pPtr, pSize, nAspectRatioMode, nTransformMode ) - METHOD scaled_1( nWidth, nHeight, nAspectRatioMode, nTransformMode ) INLINE Qt_QImage_scaled_1( ::pPtr, nWidth, nHeight, nAspectRatioMode, nTransformMode ) - METHOD scaledToHeight( nHeight, nMode ) INLINE Qt_QImage_scaledToHeight( ::pPtr, nHeight, nMode ) - METHOD scaledToWidth( nWidth, nMode ) INLINE Qt_QImage_scaledToWidth( ::pPtr, nWidth, nMode ) - METHOD scanLine( nI ) INLINE Qt_QImage_scanLine( ::pPtr, nI ) - METHOD scanLine_1( nI ) INLINE Qt_QImage_scanLine_1( ::pPtr, nI ) - METHOD setColor( nIndex, nColorValue ) INLINE Qt_QImage_setColor( ::pPtr, nIndex, nColorValue ) - METHOD setDotsPerMeterX( nX ) INLINE Qt_QImage_setDotsPerMeterX( ::pPtr, nX ) - METHOD setDotsPerMeterY( nY ) INLINE Qt_QImage_setDotsPerMeterY( ::pPtr, nY ) - METHOD setNumColors( nNumColors ) INLINE Qt_QImage_setNumColors( ::pPtr, nNumColors ) - METHOD setOffset( pOffset ) INLINE Qt_QImage_setOffset( ::pPtr, pOffset ) - METHOD setPixel( pPosition, nIndex_or_rgb ) INLINE Qt_QImage_setPixel( ::pPtr, pPosition, nIndex_or_rgb ) - METHOD setPixel_1( nX, nY, nIndex_or_rgb ) INLINE Qt_QImage_setPixel_1( ::pPtr, nX, nY, nIndex_or_rgb ) - METHOD setText( cKey, cText ) INLINE Qt_QImage_setText( ::pPtr, cKey, cText ) - METHOD size() INLINE Qt_QImage_size( ::pPtr ) - METHOD text( cKey ) INLINE Qt_QImage_text( ::pPtr, cKey ) - METHOD textKeys() INLINE Qt_QImage_textKeys( ::pPtr ) - METHOD transformed( pMatrix, nMode ) INLINE Qt_QImage_transformed( ::pPtr, pMatrix, nMode ) - METHOD transformed_1( pMatrix, nMode ) INLINE Qt_QImage_transformed_1( ::pPtr, pMatrix, nMode ) - METHOD valid( pPos ) INLINE Qt_QImage_valid( ::pPtr, pPos ) - METHOD valid_1( nX, nY ) INLINE Qt_QImage_valid_1( ::pPtr, nX, nY ) - METHOD width() INLINE Qt_QImage_width( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QImage - - ::pPtr := Qt_QImage( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QImage - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQImageReader.prg b/harbour/contrib/hbqt/TQImageReader.prg deleted file mode 100644 index 5bf3503ca4..0000000000 --- a/harbour/contrib/hbqt/TQImageReader.prg +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QImageReader - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD autoDetectImageFormat() INLINE Qt_QImageReader_autoDetectImageFormat( ::pPtr ) - METHOD backgroundColor() INLINE Qt_QImageReader_backgroundColor( ::pPtr ) - METHOD canRead() INLINE Qt_QImageReader_canRead( ::pPtr ) - METHOD clipRect() INLINE Qt_QImageReader_clipRect( ::pPtr ) - METHOD currentImageNumber() INLINE Qt_QImageReader_currentImageNumber( ::pPtr ) - METHOD currentImageRect() INLINE Qt_QImageReader_currentImageRect( ::pPtr ) - METHOD device() INLINE Qt_QImageReader_device( ::pPtr ) - METHOD error() INLINE Qt_QImageReader_error( ::pPtr ) - METHOD errorString() INLINE Qt_QImageReader_errorString( ::pPtr ) - METHOD fileName() INLINE Qt_QImageReader_fileName( ::pPtr ) - METHOD format() INLINE Qt_QImageReader_format( ::pPtr ) - METHOD imageCount() INLINE Qt_QImageReader_imageCount( ::pPtr ) - METHOD imageFormat() INLINE Qt_QImageReader_imageFormat( ::pPtr ) - METHOD jumpToImage( nImageNumber ) INLINE Qt_QImageReader_jumpToImage( ::pPtr, nImageNumber ) - METHOD jumpToNextImage() INLINE Qt_QImageReader_jumpToNextImage( ::pPtr ) - METHOD loopCount() INLINE Qt_QImageReader_loopCount( ::pPtr ) - METHOD nextImageDelay() INLINE Qt_QImageReader_nextImageDelay( ::pPtr ) - METHOD quality() INLINE Qt_QImageReader_quality( ::pPtr ) - METHOD read() INLINE Qt_QImageReader_read( ::pPtr ) - METHOD read_1( pImage ) INLINE Qt_QImageReader_read_1( ::pPtr, pImage ) - METHOD scaledClipRect() INLINE Qt_QImageReader_scaledClipRect( ::pPtr ) - METHOD scaledSize() INLINE Qt_QImageReader_scaledSize( ::pPtr ) - METHOD setAutoDetectImageFormat( lEnabled ) INLINE Qt_QImageReader_setAutoDetectImageFormat( ::pPtr, lEnabled ) - METHOD setBackgroundColor( pColor ) INLINE Qt_QImageReader_setBackgroundColor( ::pPtr, pColor ) - METHOD setClipRect( pRect ) INLINE Qt_QImageReader_setClipRect( ::pPtr, pRect ) - METHOD setDevice( pDevice ) INLINE Qt_QImageReader_setDevice( ::pPtr, pDevice ) - METHOD setFileName( cFileName ) INLINE Qt_QImageReader_setFileName( ::pPtr, cFileName ) - METHOD setFormat( pFormat ) INLINE Qt_QImageReader_setFormat( ::pPtr, pFormat ) - METHOD setQuality( nQuality ) INLINE Qt_QImageReader_setQuality( ::pPtr, nQuality ) - METHOD setScaledClipRect( pRect ) INLINE Qt_QImageReader_setScaledClipRect( ::pPtr, pRect ) - METHOD setScaledSize( pSize ) INLINE Qt_QImageReader_setScaledSize( ::pPtr, pSize ) - METHOD size() INLINE Qt_QImageReader_size( ::pPtr ) - METHOD supportsAnimation() INLINE Qt_QImageReader_supportsAnimation( ::pPtr ) - METHOD supportsOption( nOption ) INLINE Qt_QImageReader_supportsOption( ::pPtr, nOption ) - METHOD text( cKey ) INLINE Qt_QImageReader_text( ::pPtr, cKey ) - METHOD textKeys() INLINE Qt_QImageReader_textKeys( ::pPtr ) - METHOD imageFormat_1( cFileName ) INLINE Qt_QImageReader_imageFormat_1( ::pPtr, cFileName ) - METHOD imageFormat_2( pDevice ) INLINE Qt_QImageReader_imageFormat_2( ::pPtr, pDevice ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QImageReader - - ::pParent := pParent - - ::pPtr := Qt_QImageReader( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QImageReader - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQImageWriter.prg b/harbour/contrib/hbqt/TQImageWriter.prg deleted file mode 100644 index 19f1458900..0000000000 --- a/harbour/contrib/hbqt/TQImageWriter.prg +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QImageWriter - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD canWrite() INLINE Qt_QImageWriter_canWrite( ::pPtr ) - METHOD compression() INLINE Qt_QImageWriter_compression( ::pPtr ) - METHOD device() INLINE Qt_QImageWriter_device( ::pPtr ) - METHOD error() INLINE Qt_QImageWriter_error( ::pPtr ) - METHOD errorString() INLINE Qt_QImageWriter_errorString( ::pPtr ) - METHOD fileName() INLINE Qt_QImageWriter_fileName( ::pPtr ) - METHOD format() INLINE Qt_QImageWriter_format( ::pPtr ) - METHOD gamma() INLINE Qt_QImageWriter_gamma( ::pPtr ) - METHOD quality() INLINE Qt_QImageWriter_quality( ::pPtr ) - METHOD setCompression( nCompression ) INLINE Qt_QImageWriter_setCompression( ::pPtr, nCompression ) - METHOD setDevice( pDevice ) INLINE Qt_QImageWriter_setDevice( ::pPtr, pDevice ) - METHOD setFileName( cFileName ) INLINE Qt_QImageWriter_setFileName( ::pPtr, cFileName ) - METHOD setFormat( pFormat ) INLINE Qt_QImageWriter_setFormat( ::pPtr, pFormat ) - METHOD setGamma( nGamma ) INLINE Qt_QImageWriter_setGamma( ::pPtr, nGamma ) - METHOD setQuality( nQuality ) INLINE Qt_QImageWriter_setQuality( ::pPtr, nQuality ) - METHOD setText( cKey, cText ) INLINE Qt_QImageWriter_setText( ::pPtr, cKey, cText ) - METHOD supportsOption( nOption ) INLINE Qt_QImageWriter_supportsOption( ::pPtr, nOption ) - METHOD write( pImage ) INLINE Qt_QImageWriter_write( ::pPtr, pImage ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QImageWriter - - ::pParent := pParent - - ::pPtr := Qt_QImageWriter( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QImageWriter - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQInputDialog.prg b/harbour/contrib/hbqt/TQInputDialog.prg deleted file mode 100644 index 0f36628929..0000000000 --- a/harbour/contrib/hbqt/TQInputDialog.prg +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QInputDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD cancelButtonText() INLINE Qt_QInputDialog_cancelButtonText( ::pPtr ) - METHOD comboBoxItems() INLINE Qt_QInputDialog_comboBoxItems( ::pPtr ) - METHOD done( nResult ) INLINE Qt_QInputDialog_done( ::pPtr, nResult ) - METHOD doubleDecimals() INLINE Qt_QInputDialog_doubleDecimals( ::pPtr ) - METHOD doubleMaximum() INLINE Qt_QInputDialog_doubleMaximum( ::pPtr ) - METHOD doubleMinimum() INLINE Qt_QInputDialog_doubleMinimum( ::pPtr ) - METHOD doubleValue() INLINE Qt_QInputDialog_doubleValue( ::pPtr ) - METHOD inputMode() INLINE Qt_QInputDialog_inputMode( ::pPtr ) - METHOD intMaximum() INLINE Qt_QInputDialog_intMaximum( ::pPtr ) - METHOD intMinimum() INLINE Qt_QInputDialog_intMinimum( ::pPtr ) - METHOD intStep() INLINE Qt_QInputDialog_intStep( ::pPtr ) - METHOD intValue() INLINE Qt_QInputDialog_intValue( ::pPtr ) - METHOD isComboBoxEditable() INLINE Qt_QInputDialog_isComboBoxEditable( ::pPtr ) - METHOD labelText() INLINE Qt_QInputDialog_labelText( ::pPtr ) - METHOD okButtonText() INLINE Qt_QInputDialog_okButtonText( ::pPtr ) - METHOD open( pReceiver, pMember ) INLINE Qt_QInputDialog_open( ::pPtr, pReceiver, pMember ) - METHOD options() INLINE Qt_QInputDialog_options( ::pPtr ) - METHOD setCancelButtonText( cText ) INLINE Qt_QInputDialog_setCancelButtonText( ::pPtr, cText ) - METHOD setComboBoxEditable( lEditable ) INLINE Qt_QInputDialog_setComboBoxEditable( ::pPtr, lEditable ) - METHOD setComboBoxItems( pItems ) INLINE Qt_QInputDialog_setComboBoxItems( ::pPtr, pItems ) - METHOD setDoubleDecimals( nDecimals ) INLINE Qt_QInputDialog_setDoubleDecimals( ::pPtr, nDecimals ) - METHOD setDoubleMaximum( nMax ) INLINE Qt_QInputDialog_setDoubleMaximum( ::pPtr, nMax ) - METHOD setDoubleMinimum( nMin ) INLINE Qt_QInputDialog_setDoubleMinimum( ::pPtr, nMin ) - METHOD setDoubleRange( nMin, nMax ) INLINE Qt_QInputDialog_setDoubleRange( ::pPtr, nMin, nMax ) - METHOD setDoubleValue( nValue ) INLINE Qt_QInputDialog_setDoubleValue( ::pPtr, nValue ) - METHOD setInputMode( nMode ) INLINE Qt_QInputDialog_setInputMode( ::pPtr, nMode ) - METHOD setIntMaximum( nMax ) INLINE Qt_QInputDialog_setIntMaximum( ::pPtr, nMax ) - METHOD setIntMinimum( nMin ) INLINE Qt_QInputDialog_setIntMinimum( ::pPtr, nMin ) - METHOD setIntRange( nMin, nMax ) INLINE Qt_QInputDialog_setIntRange( ::pPtr, nMin, nMax ) - METHOD setIntStep( nStep ) INLINE Qt_QInputDialog_setIntStep( ::pPtr, nStep ) - METHOD setIntValue( nValue ) INLINE Qt_QInputDialog_setIntValue( ::pPtr, nValue ) - METHOD setLabelText( cText ) INLINE Qt_QInputDialog_setLabelText( ::pPtr, cText ) - METHOD setOkButtonText( cText ) INLINE Qt_QInputDialog_setOkButtonText( ::pPtr, cText ) - METHOD setOption( nOption, lOn ) INLINE Qt_QInputDialog_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QInputDialog_setOptions( ::pPtr, nOptions ) - METHOD setTextEchoMode( nMode ) INLINE Qt_QInputDialog_setTextEchoMode( ::pPtr, nMode ) - METHOD setTextValue( cText ) INLINE Qt_QInputDialog_setTextValue( ::pPtr, cText ) - METHOD testOption( nOption ) INLINE Qt_QInputDialog_testOption( ::pPtr, nOption ) - METHOD textEchoMode() INLINE Qt_QInputDialog_textEchoMode( ::pPtr ) - METHOD textValue() INLINE Qt_QInputDialog_textValue( ::pPtr ) - METHOD getDouble( pParent, cTitle, cLabel, nValue, nMin, nMax, nDecimals, lOk, nFlags ) INLINE Qt_QInputDialog_getDouble( ::pPtr, pParent, cTitle, cLabel, nValue, nMin, nMax, nDecimals, lOk, nFlags ) - METHOD getInt( pParent, cTitle, cLabel, nValue, nMin, nMax, nStep, lOk, nFlags ) INLINE Qt_QInputDialog_getInt( ::pPtr, pParent, cTitle, cLabel, nValue, nMin, nMax, nStep, lOk, nFlags ) - METHOD getItem( pParent, cTitle, cLabel, pItems, nCurrent, lEditable, lOk, nFlags ) INLINE Qt_QInputDialog_getItem( ::pPtr, pParent, cTitle, cLabel, pItems, nCurrent, lEditable, lOk, nFlags ) - METHOD getText( pParent, cTitle, cLabel, nMode, cText, lOk, nFlags ) INLINE Qt_QInputDialog_getText( ::pPtr, pParent, cTitle, cLabel, nMode, cText, lOk, nFlags ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QInputDialog - - ::pParent := pParent - - ::pPtr := Qt_QInputDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QInputDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQInputEvent.prg b/harbour/contrib/hbqt/TQInputEvent.prg deleted file mode 100644 index e976cd6d98..0000000000 --- a/harbour/contrib/hbqt/TQInputEvent.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QInputEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD modifiers() INLINE Qt_QInputEvent_modifiers( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QInputEvent - - ::pParent := pParent - - ::pPtr := Qt_QInputEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QInputEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQKeyEvent.prg b/harbour/contrib/hbqt/TQKeyEvent.prg deleted file mode 100644 index 51c87a1564..0000000000 --- a/harbour/contrib/hbqt/TQKeyEvent.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QKeyEvent INHERIT QInputEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD count() INLINE Qt_QKeyEvent_count( ::pPtr ) - METHOD isAutoRepeat() INLINE Qt_QKeyEvent_isAutoRepeat( ::pPtr ) - METHOD key() INLINE Qt_QKeyEvent_key( ::pPtr ) - METHOD matches( nKey ) INLINE Qt_QKeyEvent_matches( ::pPtr, nKey ) - METHOD modifiers() INLINE Qt_QKeyEvent_modifiers( ::pPtr ) - METHOD nativeModifiers() INLINE Qt_QKeyEvent_nativeModifiers( ::pPtr ) - METHOD nativeScanCode() INLINE Qt_QKeyEvent_nativeScanCode( ::pPtr ) - METHOD nativeVirtualKey() INLINE Qt_QKeyEvent_nativeVirtualKey( ::pPtr ) - METHOD text() INLINE Qt_QKeyEvent_text( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QKeyEvent - - ::pParent := pParent - - ::pPtr := Qt_QKeyEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QKeyEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQKeySequence.prg b/harbour/contrib/hbqt/TQKeySequence.prg deleted file mode 100644 index c838c5b9c0..0000000000 --- a/harbour/contrib/hbqt/TQKeySequence.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QKeySequence - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD count() INLINE Qt_QKeySequence_count( ::pPtr ) - METHOD isEmpty() INLINE Qt_QKeySequence_isEmpty( ::pPtr ) - METHOD matches( pSeq ) INLINE Qt_QKeySequence_matches( ::pPtr, pSeq ) - METHOD toString( nFormat ) INLINE Qt_QKeySequence_toString( ::pPtr, nFormat ) - METHOD fromString( cStr, nFormat ) INLINE Qt_QKeySequence_fromString( ::pPtr, cStr, nFormat ) - METHOD mnemonic( cText ) INLINE Qt_QKeySequence_mnemonic( ::pPtr, cText ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QKeySequence - - ::pParent := pParent - - ::pPtr := Qt_QKeySequence( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QKeySequence - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLCDNumber.prg b/harbour/contrib/hbqt/TQLCDNumber.prg deleted file mode 100644 index e427a83c85..0000000000 --- a/harbour/contrib/hbqt/TQLCDNumber.prg +++ /dev/null @@ -1,118 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLCDNumber INHERIT QFrame - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD checkOverflow( nNum ) INLINE Qt_QLCDNumber_checkOverflow( ::pPtr, nNum ) - METHOD checkOverflow_1( nNum ) INLINE Qt_QLCDNumber_checkOverflow_1( ::pPtr, nNum ) - METHOD intValue() INLINE Qt_QLCDNumber_intValue( ::pPtr ) - METHOD mode() INLINE Qt_QLCDNumber_mode( ::pPtr ) - METHOD numDigits() INLINE Qt_QLCDNumber_numDigits( ::pPtr ) - METHOD segmentStyle() INLINE Qt_QLCDNumber_segmentStyle( ::pPtr ) - METHOD setMode( nMode ) INLINE Qt_QLCDNumber_setMode( ::pPtr, nMode ) - METHOD setNumDigits( nNDigits ) INLINE Qt_QLCDNumber_setNumDigits( ::pPtr, nNDigits ) - METHOD setSegmentStyle( nSegmentStyle ) INLINE Qt_QLCDNumber_setSegmentStyle( ::pPtr, nSegmentStyle ) - METHOD smallDecimalPoint() INLINE Qt_QLCDNumber_smallDecimalPoint( ::pPtr ) - METHOD value() INLINE Qt_QLCDNumber_value( ::pPtr ) - METHOD display( cS ) INLINE Qt_QLCDNumber_display( ::pPtr, cS ) - METHOD display_1( nNum ) INLINE Qt_QLCDNumber_display_1( ::pPtr, nNum ) - METHOD display_2( nNum ) INLINE Qt_QLCDNumber_display_2( ::pPtr, nNum ) - METHOD setBinMode() INLINE Qt_QLCDNumber_setBinMode( ::pPtr ) - METHOD setDecMode() INLINE Qt_QLCDNumber_setDecMode( ::pPtr ) - METHOD setHexMode() INLINE Qt_QLCDNumber_setHexMode( ::pPtr ) - METHOD setOctMode() INLINE Qt_QLCDNumber_setOctMode( ::pPtr ) - METHOD setSmallDecimalPoint( lBool ) INLINE Qt_QLCDNumber_setSmallDecimalPoint( ::pPtr, lBool ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLCDNumber - - ::pParent := pParent - - ::pPtr := Qt_QLCDNumber( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLCDNumber - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLabel.prg b/harbour/contrib/hbqt/TQLabel.prg deleted file mode 100644 index 4cc2aceb01..0000000000 --- a/harbour/contrib/hbqt/TQLabel.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLabel INHERIT QFrame - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QLabel_alignment( ::pPtr ) - METHOD buddy() INLINE Qt_QLabel_buddy( ::pPtr ) - METHOD hasScaledContents() INLINE Qt_QLabel_hasScaledContents( ::pPtr ) - METHOD indent() INLINE Qt_QLabel_indent( ::pPtr ) - METHOD margin() INLINE Qt_QLabel_margin( ::pPtr ) - METHOD movie() INLINE Qt_QLabel_movie( ::pPtr ) - METHOD openExternalLinks() INLINE Qt_QLabel_openExternalLinks( ::pPtr ) - METHOD picture() INLINE Qt_QLabel_picture( ::pPtr ) - METHOD pixmap() INLINE Qt_QLabel_pixmap( ::pPtr ) - METHOD setAlignment( nQt_Alignment ) INLINE Qt_QLabel_setAlignment( ::pPtr, nQt_Alignment ) - METHOD setBuddy( pBuddy ) INLINE Qt_QLabel_setBuddy( ::pPtr, pBuddy ) - METHOD setIndent( nInt ) INLINE Qt_QLabel_setIndent( ::pPtr, nInt ) - METHOD setMargin( nInt ) INLINE Qt_QLabel_setMargin( ::pPtr, nInt ) - METHOD setOpenExternalLinks( lOpen ) INLINE Qt_QLabel_setOpenExternalLinks( ::pPtr, lOpen ) - METHOD setScaledContents( lBool ) INLINE Qt_QLabel_setScaledContents( ::pPtr, lBool ) - METHOD setTextFormat( nQt_TextFormat ) INLINE Qt_QLabel_setTextFormat( ::pPtr, nQt_TextFormat ) - METHOD setTextInteractionFlags( nFlags ) INLINE Qt_QLabel_setTextInteractionFlags( ::pPtr, nFlags ) - METHOD setWordWrap( lOn ) INLINE Qt_QLabel_setWordWrap( ::pPtr, lOn ) - METHOD text() INLINE Qt_QLabel_text( ::pPtr ) - METHOD textFormat() INLINE Qt_QLabel_textFormat( ::pPtr ) - METHOD textInteractionFlags() INLINE Qt_QLabel_textInteractionFlags( ::pPtr ) - METHOD wordWrap() INLINE Qt_QLabel_wordWrap( ::pPtr ) - METHOD clear() INLINE Qt_QLabel_clear( ::pPtr ) - METHOD setMovie( pMovie ) INLINE Qt_QLabel_setMovie( ::pPtr, pMovie ) - METHOD setNum( nNum ) INLINE Qt_QLabel_setNum( ::pPtr, nNum ) - METHOD setNum_1( nNum ) INLINE Qt_QLabel_setNum_1( ::pPtr, nNum ) - METHOD setPicture( pPicture ) INLINE Qt_QLabel_setPicture( ::pPtr, pPicture ) - METHOD setPixmap( pQPixmap ) INLINE Qt_QLabel_setPixmap( ::pPtr, pQPixmap ) - METHOD setText( cQString ) INLINE Qt_QLabel_setText( ::pPtr, cQString ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLabel - - ::pParent := pParent - - ::pPtr := Qt_QLabel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLabel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLatin1Char.prg b/harbour/contrib/hbqt/TQLatin1Char.prg deleted file mode 100644 index 5a1750f04c..0000000000 --- a/harbour/contrib/hbqt/TQLatin1Char.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLatin1Char - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD toLatin1() INLINE Qt_QLatin1Char_toLatin1( ::pPtr ) - METHOD unicode() INLINE Qt_QLatin1Char_unicode( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLatin1Char - - ::pParent := pParent - - ::pPtr := Qt_QLatin1Char( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLatin1Char - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLatin1String.prg b/harbour/contrib/hbqt/TQLatin1String.prg deleted file mode 100644 index dc2f6f9062..0000000000 --- a/harbour/contrib/hbqt/TQLatin1String.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLatin1String - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD latin1() INLINE Qt_QLatin1String_latin1( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLatin1String - - ::pParent := pParent - - ::pPtr := Qt_QLatin1String( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLatin1String - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLayout.prg b/harbour/contrib/hbqt/TQLayout.prg deleted file mode 100644 index d505d9f254..0000000000 --- a/harbour/contrib/hbqt/TQLayout.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLayout INHERIT QObject, QLayoutItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD activate() INLINE Qt_QLayout_activate( ::pPtr ) - METHOD addItem( pItem ) INLINE Qt_QLayout_addItem( ::pPtr, pItem ) - METHOD addWidget( pW ) INLINE Qt_QLayout_addWidget( ::pPtr, pW ) - METHOD contentsRect() INLINE Qt_QLayout_contentsRect( ::pPtr ) - METHOD count() INLINE Qt_QLayout_count( ::pPtr ) - METHOD expandingDirections() INLINE Qt_QLayout_expandingDirections( ::pPtr ) - METHOD getContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLayout_getContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom ) - METHOD indexOf( pWidget ) INLINE Qt_QLayout_indexOf( ::pPtr, pWidget ) - METHOD isEnabled() INLINE Qt_QLayout_isEnabled( ::pPtr ) - METHOD itemAt( nIndex ) INLINE Qt_QLayout_itemAt( ::pPtr, nIndex ) - METHOD maximumSize() INLINE Qt_QLayout_maximumSize( ::pPtr ) - METHOD menuBar() INLINE Qt_QLayout_menuBar( ::pPtr ) - METHOD minimumSize() INLINE Qt_QLayout_minimumSize( ::pPtr ) - METHOD parentWidget() INLINE Qt_QLayout_parentWidget( ::pPtr ) - METHOD removeItem( pItem ) INLINE Qt_QLayout_removeItem( ::pPtr, pItem ) - METHOD removeWidget( pWidget ) INLINE Qt_QLayout_removeWidget( ::pPtr, pWidget ) - METHOD setAlignment( pW, nAlignment ) INLINE Qt_QLayout_setAlignment( ::pPtr, pW, nAlignment ) - METHOD setAlignment_1( nAlignment ) INLINE Qt_QLayout_setAlignment_1( ::pPtr, nAlignment ) - METHOD setAlignment_2( pL, nAlignment ) INLINE Qt_QLayout_setAlignment_2( ::pPtr, pL, nAlignment ) - METHOD setContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLayout_setContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom ) - METHOD setEnabled( lEnable ) INLINE Qt_QLayout_setEnabled( ::pPtr, lEnable ) - METHOD setMenuBar( pWidget ) INLINE Qt_QLayout_setMenuBar( ::pPtr, pWidget ) - METHOD setSizeConstraint( nSizeConstraint ) INLINE Qt_QLayout_setSizeConstraint( ::pPtr, nSizeConstraint ) - METHOD setSpacing( nInt ) INLINE Qt_QLayout_setSpacing( ::pPtr, nInt ) - METHOD sizeConstraint() INLINE Qt_QLayout_sizeConstraint( ::pPtr ) - METHOD spacing() INLINE Qt_QLayout_spacing( ::pPtr ) - METHOD takeAt( nIndex ) INLINE Qt_QLayout_takeAt( ::pPtr, nIndex ) - METHOD update() INLINE Qt_QLayout_update( ::pPtr ) - METHOD closestAcceptableSize( pWidget, pSize ) INLINE Qt_QLayout_closestAcceptableSize( ::pPtr, pWidget, pSize ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLayout - - ::pParent := pParent - - ::pPtr := Qt_QLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLayoutItem.prg b/harbour/contrib/hbqt/TQLayoutItem.prg deleted file mode 100644 index 800d6106cd..0000000000 --- a/harbour/contrib/hbqt/TQLayoutItem.prg +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLayoutItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QLayoutItem_alignment( ::pPtr ) - METHOD controlTypes() INLINE Qt_QLayoutItem_controlTypes( ::pPtr ) - METHOD expandingDirections() INLINE Qt_QLayoutItem_expandingDirections( ::pPtr ) - METHOD geometry() INLINE Qt_QLayoutItem_geometry( ::pPtr ) - METHOD hasHeightForWidth() INLINE Qt_QLayoutItem_hasHeightForWidth( ::pPtr ) - METHOD heightForWidth( nW ) INLINE Qt_QLayoutItem_heightForWidth( ::pPtr, nW ) - METHOD invalidate() INLINE Qt_QLayoutItem_invalidate( ::pPtr ) - METHOD isEmpty() INLINE Qt_QLayoutItem_isEmpty( ::pPtr ) - METHOD layout() INLINE Qt_QLayoutItem_layout( ::pPtr ) - METHOD maximumSize() INLINE Qt_QLayoutItem_maximumSize( ::pPtr ) - METHOD minimumHeightForWidth( nW ) INLINE Qt_QLayoutItem_minimumHeightForWidth( ::pPtr, nW ) - METHOD minimumSize() INLINE Qt_QLayoutItem_minimumSize( ::pPtr ) - METHOD setAlignment( nAlignment ) INLINE Qt_QLayoutItem_setAlignment( ::pPtr, nAlignment ) - METHOD setGeometry( pR ) INLINE Qt_QLayoutItem_setGeometry( ::pPtr, pR ) - METHOD sizeHint() INLINE Qt_QLayoutItem_sizeHint( ::pPtr ) - METHOD spacerItem() INLINE Qt_QLayoutItem_spacerItem( ::pPtr ) - METHOD widget() INLINE Qt_QLayoutItem_widget( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLayoutItem - - ::pParent := pParent - - ::pPtr := Qt_QLayoutItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLayoutItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLine.prg b/harbour/contrib/hbqt/TQLine.prg deleted file mode 100644 index 8ba63857cd..0000000000 --- a/harbour/contrib/hbqt/TQLine.prg +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLine - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD p1() INLINE Qt_QLine_p1( ::pPtr ) - METHOD p2() INLINE Qt_QLine_p2( ::pPtr ) - METHOD x1() INLINE Qt_QLine_x1( ::pPtr ) - METHOD x2() INLINE Qt_QLine_x2( ::pPtr ) - METHOD y1() INLINE Qt_QLine_y1( ::pPtr ) - METHOD y2() INLINE Qt_QLine_y2( ::pPtr ) - METHOD dx() INLINE Qt_QLine_dx( ::pPtr ) - METHOD dy() INLINE Qt_QLine_dy( ::pPtr ) - METHOD isNull() INLINE Qt_QLine_isNull( ::pPtr ) - METHOD setP1( pP1 ) INLINE Qt_QLine_setP1( ::pPtr, pP1 ) - METHOD setP2( pP2 ) INLINE Qt_QLine_setP2( ::pPtr, pP2 ) - METHOD setLine( nX1, nY1, nX2, nY2 ) INLINE Qt_QLine_setLine( ::pPtr, nX1, nY1, nX2, nY2 ) - METHOD setPoints( pP1, pP2 ) INLINE Qt_QLine_setPoints( ::pPtr, pP1, pP2 ) - METHOD translate( pOffset ) INLINE Qt_QLine_translate( ::pPtr, pOffset ) - METHOD translate_1( nDx, nDy ) INLINE Qt_QLine_translate_1( ::pPtr, nDx, nDy ) - METHOD translated( pOffset ) INLINE Qt_QLine_translated( ::pPtr, pOffset ) - METHOD translated_1( nDx, nDy ) INLINE Qt_QLine_translated_1( ::pPtr, nDx, nDy ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QLine - - ::pPtr := Qt_QLine( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLine - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLineEdit.prg b/harbour/contrib/hbqt/TQLineEdit.prg deleted file mode 100644 index 4cc0033548..0000000000 --- a/harbour/contrib/hbqt/TQLineEdit.prg +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLineEdit INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QLineEdit_alignment( ::pPtr ) - METHOD backspace() INLINE Qt_QLineEdit_backspace( ::pPtr ) - METHOD completer() INLINE Qt_QLineEdit_completer( ::pPtr ) - METHOD createStandardContextMenu() INLINE Qt_QLineEdit_createStandardContextMenu( ::pPtr ) - METHOD cursorBackward( lMark, nSteps ) INLINE Qt_QLineEdit_cursorBackward( ::pPtr, lMark, nSteps ) - METHOD cursorForward( lMark, nSteps ) INLINE Qt_QLineEdit_cursorForward( ::pPtr, lMark, nSteps ) - METHOD cursorPosition() INLINE Qt_QLineEdit_cursorPosition( ::pPtr ) - METHOD cursorPositionAt( pPos ) INLINE Qt_QLineEdit_cursorPositionAt( ::pPtr, pPos ) - METHOD cursorWordBackward( lMark ) INLINE Qt_QLineEdit_cursorWordBackward( ::pPtr, lMark ) - METHOD cursorWordForward( lMark ) INLINE Qt_QLineEdit_cursorWordForward( ::pPtr, lMark ) - METHOD del() INLINE Qt_QLineEdit_del( ::pPtr ) - METHOD deselect() INLINE Qt_QLineEdit_deselect( ::pPtr ) - METHOD displayText() INLINE Qt_QLineEdit_displayText( ::pPtr ) - METHOD dragEnabled() INLINE Qt_QLineEdit_dragEnabled( ::pPtr ) - METHOD echoMode() INLINE Qt_QLineEdit_echoMode( ::pPtr ) - METHOD end( lMark ) INLINE Qt_QLineEdit_end( ::pPtr, lMark ) - METHOD getTextMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLineEdit_getTextMargins( ::pPtr, nLeft, nTop, nRight, nBottom ) - METHOD hasAcceptableInput() INLINE Qt_QLineEdit_hasAcceptableInput( ::pPtr ) - METHOD hasFrame() INLINE Qt_QLineEdit_hasFrame( ::pPtr ) - METHOD hasSelectedText() INLINE Qt_QLineEdit_hasSelectedText( ::pPtr ) - METHOD home( lMark ) INLINE Qt_QLineEdit_home( ::pPtr, lMark ) - METHOD inputMask() INLINE Qt_QLineEdit_inputMask( ::pPtr ) - METHOD insert( cNewText ) INLINE Qt_QLineEdit_insert( ::pPtr, cNewText ) - METHOD isModified() INLINE Qt_QLineEdit_isModified( ::pPtr ) - METHOD isReadOnly() INLINE Qt_QLineEdit_isReadOnly( ::pPtr ) - METHOD isRedoAvailable() INLINE Qt_QLineEdit_isRedoAvailable( ::pPtr ) - METHOD isUndoAvailable() INLINE Qt_QLineEdit_isUndoAvailable( ::pPtr ) - METHOD maxLength() INLINE Qt_QLineEdit_maxLength( ::pPtr ) - METHOD minimumSizeHint() INLINE Qt_QLineEdit_minimumSizeHint( ::pPtr ) - METHOD selectedText() INLINE Qt_QLineEdit_selectedText( ::pPtr ) - METHOD selectionStart() INLINE Qt_QLineEdit_selectionStart( ::pPtr ) - METHOD setAlignment( nFlag ) INLINE Qt_QLineEdit_setAlignment( ::pPtr, nFlag ) - METHOD setCompleter( pC ) INLINE Qt_QLineEdit_setCompleter( ::pPtr, pC ) - METHOD setCursorPosition( nInt ) INLINE Qt_QLineEdit_setCursorPosition( ::pPtr, nInt ) - METHOD setDragEnabled( lB ) INLINE Qt_QLineEdit_setDragEnabled( ::pPtr, lB ) - METHOD setEchoMode( nEchoMode ) INLINE Qt_QLineEdit_setEchoMode( ::pPtr, nEchoMode ) - METHOD setFrame( lBool ) INLINE Qt_QLineEdit_setFrame( ::pPtr, lBool ) - METHOD setInputMask( cInputMask ) INLINE Qt_QLineEdit_setInputMask( ::pPtr, cInputMask ) - METHOD setMaxLength( nInt ) INLINE Qt_QLineEdit_setMaxLength( ::pPtr, nInt ) - METHOD setModified( lBool ) INLINE Qt_QLineEdit_setModified( ::pPtr, lBool ) - METHOD setReadOnly( lBool ) INLINE Qt_QLineEdit_setReadOnly( ::pPtr, lBool ) - METHOD setSelection( nStart, nLength ) INLINE Qt_QLineEdit_setSelection( ::pPtr, nStart, nLength ) - METHOD setTextMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLineEdit_setTextMargins( ::pPtr, nLeft, nTop, nRight, nBottom ) - METHOD setValidator( pV ) INLINE Qt_QLineEdit_setValidator( ::pPtr, pV ) - METHOD sizeHint() INLINE Qt_QLineEdit_sizeHint( ::pPtr ) - METHOD text() INLINE Qt_QLineEdit_text( ::pPtr ) - METHOD validator() INLINE Qt_QLineEdit_validator( ::pPtr ) - METHOD clear() INLINE Qt_QLineEdit_clear( ::pPtr ) - METHOD copy() INLINE Qt_QLineEdit_copy( ::pPtr ) - METHOD cut() INLINE Qt_QLineEdit_cut( ::pPtr ) - METHOD paste() INLINE Qt_QLineEdit_paste( ::pPtr ) - METHOD redo() INLINE Qt_QLineEdit_redo( ::pPtr ) - METHOD selectAll() INLINE Qt_QLineEdit_selectAll( ::pPtr ) - METHOD setText( cQString ) INLINE Qt_QLineEdit_setText( ::pPtr, cQString ) - METHOD undo() INLINE Qt_QLineEdit_undo( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QLineEdit - - ::pParent := pParent - - ::pPtr := Qt_QLineEdit( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLineEdit - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQLinearGradient.prg b/harbour/contrib/hbqt/TQLinearGradient.prg deleted file mode 100644 index d989aad4e1..0000000000 --- a/harbour/contrib/hbqt/TQLinearGradient.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QLinearGradient INHERIT QGradient - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD finalStop() INLINE Qt_QLinearGradient_finalStop( ::pPtr ) - METHOD setFinalStop( pStop ) INLINE Qt_QLinearGradient_setFinalStop( ::pPtr, pStop ) - METHOD setFinalStop_1( nX, nY ) INLINE Qt_QLinearGradient_setFinalStop_1( ::pPtr, nX, nY ) - METHOD setStart( pStart ) INLINE Qt_QLinearGradient_setStart( ::pPtr, pStart ) - METHOD setStart_1( nX, nY ) INLINE Qt_QLinearGradient_setStart_1( ::pPtr, nX, nY ) - METHOD start() INLINE Qt_QLinearGradient_start( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QLinearGradient - - ::pPtr := Qt_QLinearGradient( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QLinearGradient - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQList.prg b/harbour/contrib/hbqt/TQList.prg deleted file mode 100644 index a763591d2d..0000000000 --- a/harbour/contrib/hbqt/TQList.prg +++ /dev/null @@ -1,139 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QList - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD append( xValue ) INLINE Qt_QList_append( ::pPtr, xValue ) - METHOD at( nI ) INLINE Qt_QList_at( ::pPtr, nI ) - METHOD back() INLINE Qt_QList_back( ::pPtr ) - METHOD back_1() INLINE Qt_QList_back_1( ::pPtr ) - METHOD clear() INLINE Qt_QList_clear( ::pPtr ) - METHOD count( xValue ) INLINE Qt_QList_count( ::pPtr, xValue ) - METHOD count_1() INLINE Qt_QList_count_1( ::pPtr ) - METHOD empty() INLINE Qt_QList_empty( ::pPtr ) - METHOD endsWith( xValue ) INLINE Qt_QList_endsWith( ::pPtr, xValue ) - METHOD first() INLINE Qt_QList_first( ::pPtr ) - METHOD first_1() INLINE Qt_QList_first_1( ::pPtr ) - METHOD front() INLINE Qt_QList_front( ::pPtr ) - METHOD front_1() INLINE Qt_QList_front_1( ::pPtr ) - METHOD indexOf( xValue, nFrom ) INLINE Qt_QList_indexOf( ::pPtr, xValue, nFrom ) - METHOD insert( nI, xValue ) INLINE Qt_QList_insert( ::pPtr, nI, xValue ) - METHOD isEmpty() INLINE Qt_QList_isEmpty( ::pPtr ) - METHOD last() INLINE Qt_QList_last( ::pPtr ) - METHOD last_1() INLINE Qt_QList_last_1( ::pPtr ) - METHOD lastIndexOf( xValue, nFrom ) INLINE Qt_QList_lastIndexOf( ::pPtr, xValue, nFrom ) - METHOD length() INLINE Qt_QList_length( ::pPtr ) - METHOD move( nFrom, nTo ) INLINE Qt_QList_move( ::pPtr, nFrom, nTo ) - METHOD pop_back() INLINE Qt_QList_pop_back( ::pPtr ) - METHOD pop_front() INLINE Qt_QList_pop_front( ::pPtr ) - METHOD prepend( xValue ) INLINE Qt_QList_prepend( ::pPtr, xValue ) - METHOD push_back( xValue ) INLINE Qt_QList_push_back( ::pPtr, xValue ) - METHOD push_front( xValue ) INLINE Qt_QList_push_front( ::pPtr, xValue ) - METHOD removeAll( xValue ) INLINE Qt_QList_removeAll( ::pPtr, xValue ) - METHOD removeAt( nI ) INLINE Qt_QList_removeAt( ::pPtr, nI ) - METHOD removeFirst() INLINE Qt_QList_removeFirst( ::pPtr ) - METHOD removeLast() INLINE Qt_QList_removeLast( ::pPtr ) - METHOD removeOne( xValue ) INLINE Qt_QList_removeOne( ::pPtr, xValue ) - METHOD replace( nI, xValue ) INLINE Qt_QList_replace( ::pPtr, nI, xValue ) - METHOD size() INLINE Qt_QList_size( ::pPtr ) - METHOD startsWith( xValue ) INLINE Qt_QList_startsWith( ::pPtr, xValue ) - METHOD swap( nI, nJ ) INLINE Qt_QList_swap( ::pPtr, nI, nJ ) - METHOD takeAt( nI ) INLINE Qt_QList_takeAt( ::pPtr, nI ) - METHOD takeFirst() INLINE Qt_QList_takeFirst( ::pPtr ) - METHOD takeLast() INLINE Qt_QList_takeLast( ::pPtr ) - METHOD value( nI ) INLINE Qt_QList_value( ::pPtr, nI ) - METHOD value_1( nI, xDefaultValue ) INLINE Qt_QList_value_1( ::pPtr, nI, xDefaultValue ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QList - - ::pParent := pParent - - ::pPtr := Qt_QList( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QList - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQListView.prg b/harbour/contrib/hbqt/TQListView.prg deleted file mode 100644 index 2bc910a00c..0000000000 --- a/harbour/contrib/hbqt/TQListView.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QListView INHERIT QAbstractItemView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD batchSize() INLINE Qt_QListView_batchSize( ::pPtr ) - METHOD clearPropertyFlags() INLINE Qt_QListView_clearPropertyFlags( ::pPtr ) - METHOD flow() INLINE Qt_QListView_flow( ::pPtr ) - METHOD gridSize() INLINE Qt_QListView_gridSize( ::pPtr ) - METHOD isRowHidden( nRow ) INLINE Qt_QListView_isRowHidden( ::pPtr, nRow ) - METHOD isSelectionRectVisible() INLINE Qt_QListView_isSelectionRectVisible( ::pPtr ) - METHOD isWrapping() INLINE Qt_QListView_isWrapping( ::pPtr ) - METHOD layoutMode() INLINE Qt_QListView_layoutMode( ::pPtr ) - METHOD modelColumn() INLINE Qt_QListView_modelColumn( ::pPtr ) - METHOD movement() INLINE Qt_QListView_movement( ::pPtr ) - METHOD resizeMode() INLINE Qt_QListView_resizeMode( ::pPtr ) - METHOD setBatchSize( nBatchSize ) INLINE Qt_QListView_setBatchSize( ::pPtr, nBatchSize ) - METHOD setFlow( nFlow ) INLINE Qt_QListView_setFlow( ::pPtr, nFlow ) - METHOD setGridSize( pSize ) INLINE Qt_QListView_setGridSize( ::pPtr, pSize ) - METHOD setLayoutMode( nMode ) INLINE Qt_QListView_setLayoutMode( ::pPtr, nMode ) - METHOD setModelColumn( nColumn ) INLINE Qt_QListView_setModelColumn( ::pPtr, nColumn ) - METHOD setMovement( nMovement ) INLINE Qt_QListView_setMovement( ::pPtr, nMovement ) - METHOD setResizeMode( nMode ) INLINE Qt_QListView_setResizeMode( ::pPtr, nMode ) - METHOD setRowHidden( nRow, lHide ) INLINE Qt_QListView_setRowHidden( ::pPtr, nRow, lHide ) - METHOD setSelectionRectVisible( lShow ) INLINE Qt_QListView_setSelectionRectVisible( ::pPtr, lShow ) - METHOD setSpacing( nSpace ) INLINE Qt_QListView_setSpacing( ::pPtr, nSpace ) - METHOD setUniformItemSizes( lEnable ) INLINE Qt_QListView_setUniformItemSizes( ::pPtr, lEnable ) - METHOD setViewMode( nMode ) INLINE Qt_QListView_setViewMode( ::pPtr, nMode ) - METHOD setWordWrap( lOn ) INLINE Qt_QListView_setWordWrap( ::pPtr, lOn ) - METHOD setWrapping( lEnable ) INLINE Qt_QListView_setWrapping( ::pPtr, lEnable ) - METHOD spacing() INLINE Qt_QListView_spacing( ::pPtr ) - METHOD uniformItemSizes() INLINE Qt_QListView_uniformItemSizes( ::pPtr ) - METHOD viewMode() INLINE Qt_QListView_viewMode( ::pPtr ) - METHOD wordWrap() INLINE Qt_QListView_wordWrap( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QListView - - ::pParent := pParent - - ::pPtr := Qt_QListView( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QListView - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQListWidget.prg b/harbour/contrib/hbqt/TQListWidget.prg deleted file mode 100644 index a8a8d3d836..0000000000 --- a/harbour/contrib/hbqt/TQListWidget.prg +++ /dev/null @@ -1,129 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QListWidget INHERIT QListView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addItem( cLabel ) INLINE Qt_QListWidget_addItem( ::pPtr, cLabel ) - METHOD addItem_1( pItem ) INLINE Qt_QListWidget_addItem_1( ::pPtr, pItem ) - METHOD addItems( pLabels ) INLINE Qt_QListWidget_addItems( ::pPtr, pLabels ) - METHOD closePersistentEditor( pItem ) INLINE Qt_QListWidget_closePersistentEditor( ::pPtr, pItem ) - METHOD count() INLINE Qt_QListWidget_count( ::pPtr ) - METHOD currentItem() INLINE Qt_QListWidget_currentItem( ::pPtr ) - METHOD currentRow() INLINE Qt_QListWidget_currentRow( ::pPtr ) - METHOD editItem( pItem ) INLINE Qt_QListWidget_editItem( ::pPtr, pItem ) - METHOD insertItem( nRow, pItem ) INLINE Qt_QListWidget_insertItem( ::pPtr, nRow, pItem ) - METHOD insertItem_1( nRow, cLabel ) INLINE Qt_QListWidget_insertItem_1( ::pPtr, nRow, cLabel ) - METHOD insertItems( nRow, pLabels ) INLINE Qt_QListWidget_insertItems( ::pPtr, nRow, pLabels ) - METHOD isSortingEnabled() INLINE Qt_QListWidget_isSortingEnabled( ::pPtr ) - METHOD item( nRow ) INLINE Qt_QListWidget_item( ::pPtr, nRow ) - METHOD itemAt( pP ) INLINE Qt_QListWidget_itemAt( ::pPtr, pP ) - METHOD itemAt_1( nX, nY ) INLINE Qt_QListWidget_itemAt_1( ::pPtr, nX, nY ) - METHOD itemWidget( pItem ) INLINE Qt_QListWidget_itemWidget( ::pPtr, pItem ) - METHOD openPersistentEditor( pItem ) INLINE Qt_QListWidget_openPersistentEditor( ::pPtr, pItem ) - METHOD removeItemWidget( pItem ) INLINE Qt_QListWidget_removeItemWidget( ::pPtr, pItem ) - METHOD row( pItem ) INLINE Qt_QListWidget_row( ::pPtr, pItem ) - METHOD setCurrentItem( pItem ) INLINE Qt_QListWidget_setCurrentItem( ::pPtr, pItem ) - METHOD setCurrentItem_1( pItem, nCommand ) INLINE Qt_QListWidget_setCurrentItem_1( ::pPtr, pItem, nCommand ) - METHOD setCurrentRow( nRow ) INLINE Qt_QListWidget_setCurrentRow( ::pPtr, nRow ) - METHOD setCurrentRow_1( nRow, nCommand ) INLINE Qt_QListWidget_setCurrentRow_1( ::pPtr, nRow, nCommand ) - METHOD setItemWidget( pItem, pWidget ) INLINE Qt_QListWidget_setItemWidget( ::pPtr, pItem, pWidget ) - METHOD setSortingEnabled( lEnable ) INLINE Qt_QListWidget_setSortingEnabled( ::pPtr, lEnable ) - METHOD sortItems( nOrder ) INLINE Qt_QListWidget_sortItems( ::pPtr, nOrder ) - METHOD takeItem( nRow ) INLINE Qt_QListWidget_takeItem( ::pPtr, nRow ) - METHOD visualItemRect( pItem ) INLINE Qt_QListWidget_visualItemRect( ::pPtr, pItem ) - METHOD clear() INLINE Qt_QListWidget_clear( ::pPtr ) - METHOD scrollToItem( pItem, nHint ) INLINE Qt_QListWidget_scrollToItem( ::pPtr, pItem, nHint ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QListWidget - - ::pParent := pParent - - ::pPtr := Qt_QListWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QListWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQListWidgetItem.prg b/harbour/contrib/hbqt/TQListWidgetItem.prg deleted file mode 100644 index 7a424ec7c4..0000000000 --- a/harbour/contrib/hbqt/TQListWidgetItem.prg +++ /dev/null @@ -1,134 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QListWidgetItem INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD background() INLINE Qt_QListWidgetItem_background( ::pPtr ) - METHOD checkState() INLINE Qt_QListWidgetItem_checkState( ::pPtr ) - METHOD clone() INLINE Qt_QListWidgetItem_clone( ::pPtr ) - METHOD data( nRole ) INLINE Qt_QListWidgetItem_data( ::pPtr, nRole ) - METHOD flags() INLINE Qt_QListWidgetItem_flags( ::pPtr ) - METHOD font() INLINE Qt_QListWidgetItem_font( ::pPtr ) - METHOD foreground() INLINE Qt_QListWidgetItem_foreground( ::pPtr ) - METHOD icon() INLINE Qt_QListWidgetItem_icon( ::pPtr ) - METHOD isHidden() INLINE Qt_QListWidgetItem_isHidden( ::pPtr ) - METHOD isSelected() INLINE Qt_QListWidgetItem_isSelected( ::pPtr ) - METHOD listWidget() INLINE Qt_QListWidgetItem_listWidget( ::pPtr ) - METHOD read( pIn ) INLINE Qt_QListWidgetItem_read( ::pPtr, pIn ) - METHOD setBackground( pBrush ) INLINE Qt_QListWidgetItem_setBackground( ::pPtr, pBrush ) - METHOD setCheckState( nState ) INLINE Qt_QListWidgetItem_setCheckState( ::pPtr, nState ) - METHOD setData( nRole, pValue ) INLINE Qt_QListWidgetItem_setData( ::pPtr, nRole, pValue ) - METHOD setFlags( nFlags ) INLINE Qt_QListWidgetItem_setFlags( ::pPtr, nFlags ) - METHOD setFont( pFont ) INLINE Qt_QListWidgetItem_setFont( ::pPtr, pFont ) - METHOD setForeground( pBrush ) INLINE Qt_QListWidgetItem_setForeground( ::pPtr, pBrush ) - METHOD setHidden( lHide ) INLINE Qt_QListWidgetItem_setHidden( ::pPtr, lHide ) - METHOD setIcon( cIcon ) INLINE Qt_QListWidgetItem_setIcon( ::pPtr, cIcon ) - METHOD setSelected( lSelect ) INLINE Qt_QListWidgetItem_setSelected( ::pPtr, lSelect ) - METHOD setSizeHint( pSize ) INLINE Qt_QListWidgetItem_setSizeHint( ::pPtr, pSize ) - METHOD setStatusTip( cStatusTip ) INLINE Qt_QListWidgetItem_setStatusTip( ::pPtr, cStatusTip ) - METHOD setText( cText ) INLINE Qt_QListWidgetItem_setText( ::pPtr, cText ) - METHOD setTextAlignment( nAlignment ) INLINE Qt_QListWidgetItem_setTextAlignment( ::pPtr, nAlignment ) - METHOD setToolTip( cToolTip ) INLINE Qt_QListWidgetItem_setToolTip( ::pPtr, cToolTip ) - METHOD setWhatsThis( cWhatsThis ) INLINE Qt_QListWidgetItem_setWhatsThis( ::pPtr, cWhatsThis ) - METHOD sizeHint() INLINE Qt_QListWidgetItem_sizeHint( ::pPtr ) - METHOD statusTip() INLINE Qt_QListWidgetItem_statusTip( ::pPtr ) - METHOD text() INLINE Qt_QListWidgetItem_text( ::pPtr ) - METHOD textAlignment() INLINE Qt_QListWidgetItem_textAlignment( ::pPtr ) - METHOD toolTip() INLINE Qt_QListWidgetItem_toolTip( ::pPtr ) - METHOD type() INLINE Qt_QListWidgetItem_type( ::pPtr ) - METHOD whatsThis() INLINE Qt_QListWidgetItem_whatsThis( ::pPtr ) - METHOD write( pOut ) INLINE Qt_QListWidgetItem_write( ::pPtr, pOut ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QListWidgetItem - - ::pParent := pParent - - ::pPtr := Qt_QListWidgetItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QListWidgetItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQMainWindow.prg b/harbour/contrib/hbqt/TQMainWindow.prg deleted file mode 100644 index 6c31093777..0000000000 --- a/harbour/contrib/hbqt/TQMainWindow.prg +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QMainWindow INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addDockWidget( nArea, pDockwidget ) INLINE Qt_QMainWindow_addDockWidget( ::pPtr, nArea, pDockwidget ) - METHOD addDockWidget_1( nArea, pDockwidget, nOrientation ) INLINE Qt_QMainWindow_addDockWidget_1( ::pPtr, nArea, pDockwidget, nOrientation ) - METHOD addToolBar( nArea, pToolbar ) INLINE Qt_QMainWindow_addToolBar( ::pPtr, nArea, pToolbar ) - METHOD addToolBar_1( pToolbar ) INLINE Qt_QMainWindow_addToolBar_1( ::pPtr, pToolbar ) - METHOD addToolBar_2( cTitle ) INLINE Qt_QMainWindow_addToolBar_2( ::pPtr, cTitle ) - METHOD addToolBarBreak( nArea ) INLINE Qt_QMainWindow_addToolBarBreak( ::pPtr, nArea ) - METHOD centralWidget() INLINE Qt_QMainWindow_centralWidget( ::pPtr ) - METHOD corner( nCorner ) INLINE Qt_QMainWindow_corner( ::pPtr, nCorner ) - METHOD createPopupMenu() INLINE Qt_QMainWindow_createPopupMenu( ::pPtr ) - METHOD dockOptions() INLINE Qt_QMainWindow_dockOptions( ::pPtr ) - METHOD dockWidgetArea( pDockwidget ) INLINE Qt_QMainWindow_dockWidgetArea( ::pPtr, pDockwidget ) - METHOD documentMode() INLINE Qt_QMainWindow_documentMode( ::pPtr ) - METHOD iconSize() INLINE Qt_QMainWindow_iconSize( ::pPtr ) - METHOD insertToolBar( pBefore, pToolbar ) INLINE Qt_QMainWindow_insertToolBar( ::pPtr, pBefore, pToolbar ) - METHOD insertToolBarBreak( pBefore ) INLINE Qt_QMainWindow_insertToolBarBreak( ::pPtr, pBefore ) - METHOD isAnimated() INLINE Qt_QMainWindow_isAnimated( ::pPtr ) - METHOD isDockNestingEnabled() INLINE Qt_QMainWindow_isDockNestingEnabled( ::pPtr ) - METHOD menuBar() INLINE Qt_QMainWindow_menuBar( ::pPtr ) - METHOD menuWidget() INLINE Qt_QMainWindow_menuWidget( ::pPtr ) - METHOD removeDockWidget( pDockwidget ) INLINE Qt_QMainWindow_removeDockWidget( ::pPtr, pDockwidget ) - METHOD removeToolBar( pToolbar ) INLINE Qt_QMainWindow_removeToolBar( ::pPtr, pToolbar ) - METHOD removeToolBarBreak( pBefore ) INLINE Qt_QMainWindow_removeToolBarBreak( ::pPtr, pBefore ) - METHOD restoreDockWidget( pDockwidget ) INLINE Qt_QMainWindow_restoreDockWidget( ::pPtr, pDockwidget ) - METHOD restoreState( pState, nVersion ) INLINE Qt_QMainWindow_restoreState( ::pPtr, pState, nVersion ) - METHOD saveState( nVersion ) INLINE Qt_QMainWindow_saveState( ::pPtr, nVersion ) - METHOD setCentralWidget( pWidget ) INLINE Qt_QMainWindow_setCentralWidget( ::pPtr, pWidget ) - METHOD setCorner( nCorner, nArea ) INLINE Qt_QMainWindow_setCorner( ::pPtr, nCorner, nArea ) - METHOD setDockOptions( nOptions ) INLINE Qt_QMainWindow_setDockOptions( ::pPtr, nOptions ) - METHOD setDocumentMode( lEnabled ) INLINE Qt_QMainWindow_setDocumentMode( ::pPtr, lEnabled ) - METHOD setIconSize( pIconSize ) INLINE Qt_QMainWindow_setIconSize( ::pPtr, pIconSize ) - METHOD setMenuBar( pMenuBar ) INLINE Qt_QMainWindow_setMenuBar( ::pPtr, pMenuBar ) - METHOD setMenuWidget( pMenuBar ) INLINE Qt_QMainWindow_setMenuWidget( ::pPtr, pMenuBar ) - METHOD setStatusBar( pStatusbar ) INLINE Qt_QMainWindow_setStatusBar( ::pPtr, pStatusbar ) - METHOD setTabPosition( nAreas, nTabPosition ) INLINE Qt_QMainWindow_setTabPosition( ::pPtr, nAreas, nTabPosition ) - METHOD setTabShape( nTabShape ) INLINE Qt_QMainWindow_setTabShape( ::pPtr, nTabShape ) - METHOD setToolButtonStyle( nToolButtonStyle ) INLINE Qt_QMainWindow_setToolButtonStyle( ::pPtr, nToolButtonStyle ) - METHOD setUnifiedTitleAndToolBarOnMac( lSet ) INLINE Qt_QMainWindow_setUnifiedTitleAndToolBarOnMac( ::pPtr, lSet ) - METHOD splitDockWidget( pFirst, pSecond, nOrientation ) INLINE Qt_QMainWindow_splitDockWidget( ::pPtr, pFirst, pSecond, nOrientation ) - METHOD statusBar() INLINE Qt_QMainWindow_statusBar( ::pPtr ) - METHOD tabPosition( nArea ) INLINE Qt_QMainWindow_tabPosition( ::pPtr, nArea ) - METHOD tabShape() INLINE Qt_QMainWindow_tabShape( ::pPtr ) - METHOD tabifyDockWidget( pFirst, pSecond ) INLINE Qt_QMainWindow_tabifyDockWidget( ::pPtr, pFirst, pSecond ) - METHOD toolBarArea( pToolbar ) INLINE Qt_QMainWindow_toolBarArea( ::pPtr, pToolbar ) - METHOD toolBarBreak( pToolbar ) INLINE Qt_QMainWindow_toolBarBreak( ::pPtr, pToolbar ) - METHOD toolButtonStyle() INLINE Qt_QMainWindow_toolButtonStyle( ::pPtr ) - METHOD unifiedTitleAndToolBarOnMac() INLINE Qt_QMainWindow_unifiedTitleAndToolBarOnMac( ::pPtr ) - METHOD setAnimated( lEnabled ) INLINE Qt_QMainWindow_setAnimated( ::pPtr, lEnabled ) - METHOD setDockNestingEnabled( lEnabled ) INLINE Qt_QMainWindow_setDockNestingEnabled( ::pPtr, lEnabled ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QMainWindow - - ::pParent := pParent - - ::pPtr := Qt_QMainWindow( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QMainWindow - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQMenu.prg b/harbour/contrib/hbqt/TQMenu.prg deleted file mode 100644 index 6753c9c906..0000000000 --- a/harbour/contrib/hbqt/TQMenu.prg +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QMenu INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD actionAt( pPt ) INLINE Qt_QMenu_actionAt( ::pPtr, pPt ) - METHOD actionGeometry( pAct ) INLINE Qt_QMenu_actionGeometry( ::pPtr, pAct ) - METHOD activeAction() INLINE Qt_QMenu_activeAction( ::pPtr ) - METHOD addAction( cText ) INLINE Qt_QMenu_addAction( ::pPtr, cText ) - METHOD addAction_1( cIcon, cText ) INLINE Qt_QMenu_addAction_1( ::pPtr, cIcon, cText ) - METHOD addAction_2( cText, pReceiver, pMember, pShortcut ) INLINE Qt_QMenu_addAction_2( ::pPtr, cText, pReceiver, pMember, pShortcut ) - METHOD addAction_3( cIcon, cText, pReceiver, pMember, pShortcut ) INLINE Qt_QMenu_addAction_3( ::pPtr, cIcon, cText, pReceiver, pMember, pShortcut ) - METHOD addAction_4( pAction ) INLINE Qt_QMenu_addAction_4( ::pPtr, pAction ) - METHOD addMenu( pMenu ) INLINE Qt_QMenu_addMenu( ::pPtr, pMenu ) - METHOD addMenu_1( cTitle ) INLINE Qt_QMenu_addMenu_1( ::pPtr, cTitle ) - METHOD addMenu_2( cIcon, cTitle ) INLINE Qt_QMenu_addMenu_2( ::pPtr, cIcon, cTitle ) - METHOD addSeparator() INLINE Qt_QMenu_addSeparator( ::pPtr ) - METHOD clear() INLINE Qt_QMenu_clear( ::pPtr ) - METHOD defaultAction() INLINE Qt_QMenu_defaultAction( ::pPtr ) - METHOD exec() INLINE Qt_QMenu_exec( ::pPtr ) - METHOD exec_1( pP, pAction ) INLINE Qt_QMenu_exec_1( ::pPtr, pP, pAction ) - METHOD hideTearOffMenu() INLINE Qt_QMenu_hideTearOffMenu( ::pPtr ) - METHOD icon() INLINE Qt_QMenu_icon( ::pPtr ) - METHOD insertMenu( pBefore, pMenu ) INLINE Qt_QMenu_insertMenu( ::pPtr, pBefore, pMenu ) - METHOD insertSeparator( pBefore ) INLINE Qt_QMenu_insertSeparator( ::pPtr, pBefore ) - METHOD isEmpty() INLINE Qt_QMenu_isEmpty( ::pPtr ) - METHOD isTearOffEnabled() INLINE Qt_QMenu_isTearOffEnabled( ::pPtr ) - METHOD isTearOffMenuVisible() INLINE Qt_QMenu_isTearOffMenuVisible( ::pPtr ) - METHOD menuAction() INLINE Qt_QMenu_menuAction( ::pPtr ) - METHOD popup( pP, pAtAction ) INLINE Qt_QMenu_popup( ::pPtr, pP, pAtAction ) - METHOD separatorsCollapsible() INLINE Qt_QMenu_separatorsCollapsible( ::pPtr ) - METHOD setActiveAction( pAct ) INLINE Qt_QMenu_setActiveAction( ::pPtr, pAct ) - METHOD setDefaultAction( pAct ) INLINE Qt_QMenu_setDefaultAction( ::pPtr, pAct ) - METHOD setIcon( cIcon ) INLINE Qt_QMenu_setIcon( ::pPtr, cIcon ) - METHOD setSeparatorsCollapsible( lCollapse ) INLINE Qt_QMenu_setSeparatorsCollapsible( ::pPtr, lCollapse ) - METHOD setTearOffEnabled( lBool ) INLINE Qt_QMenu_setTearOffEnabled( ::pPtr, lBool ) - METHOD setTitle( cTitle ) INLINE Qt_QMenu_setTitle( ::pPtr, cTitle ) - METHOD title() INLINE Qt_QMenu_title( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QMenu - - ::pParent := pParent - - ::pPtr := Qt_QMenu( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QMenu - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQMenuBar.prg b/harbour/contrib/hbqt/TQMenuBar.prg deleted file mode 100644 index 93f0f229c2..0000000000 --- a/harbour/contrib/hbqt/TQMenuBar.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QMenuBar INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD activeAction() INLINE Qt_QMenuBar_activeAction( ::pPtr ) - METHOD addAction( cText ) INLINE Qt_QMenuBar_addAction( ::pPtr, cText ) - METHOD addAction_1( cText, pReceiver, pMember ) INLINE Qt_QMenuBar_addAction_1( ::pPtr, cText, pReceiver, pMember ) - METHOD addAction_2( pAction ) INLINE Qt_QMenuBar_addAction_2( ::pPtr, pAction ) - METHOD addMenu( pMenu ) INLINE Qt_QMenuBar_addMenu( ::pPtr, pMenu ) - METHOD addMenu_1( cTitle ) INLINE Qt_QMenuBar_addMenu_1( ::pPtr, cTitle ) - METHOD addMenu_2( cIcon, cTitle ) INLINE Qt_QMenuBar_addMenu_2( ::pPtr, cIcon, cTitle ) - METHOD addSeparator() INLINE Qt_QMenuBar_addSeparator( ::pPtr ) - METHOD clear() INLINE Qt_QMenuBar_clear( ::pPtr ) - METHOD insertMenu( pBefore, pMenu ) INLINE Qt_QMenuBar_insertMenu( ::pPtr, pBefore, pMenu ) - METHOD insertSeparator( pBefore ) INLINE Qt_QMenuBar_insertSeparator( ::pPtr, pBefore ) - METHOD isDefaultUp() INLINE Qt_QMenuBar_isDefaultUp( ::pPtr ) - METHOD setActiveAction( pAct ) INLINE Qt_QMenuBar_setActiveAction( ::pPtr, pAct ) - METHOD setDefaultUp( lBool ) INLINE Qt_QMenuBar_setDefaultUp( ::pPtr, lBool ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QMenuBar - - ::pParent := pParent - - ::pPtr := Qt_QMenuBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QMenuBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQMessageBox.prg b/harbour/contrib/hbqt/TQMessageBox.prg deleted file mode 100644 index 3b53d42712..0000000000 --- a/harbour/contrib/hbqt/TQMessageBox.prg +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QMessageBox INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addButton( pButton, nRole ) INLINE Qt_QMessageBox_addButton( ::pPtr, pButton, nRole ) - METHOD addButton_1( cText, nRole ) INLINE Qt_QMessageBox_addButton_1( ::pPtr, cText, nRole ) - METHOD addButton_2( nButton ) INLINE Qt_QMessageBox_addButton_2( ::pPtr, nButton ) - METHOD button( nWhich ) INLINE Qt_QMessageBox_button( ::pPtr, nWhich ) - METHOD buttonRole( pButton ) INLINE Qt_QMessageBox_buttonRole( ::pPtr, pButton ) - METHOD clickedButton() INLINE Qt_QMessageBox_clickedButton( ::pPtr ) - METHOD defaultButton() INLINE Qt_QMessageBox_defaultButton( ::pPtr ) - METHOD detailedText() INLINE Qt_QMessageBox_detailedText( ::pPtr ) - METHOD escapeButton() INLINE Qt_QMessageBox_escapeButton( ::pPtr ) - METHOD icon() INLINE Qt_QMessageBox_icon( ::pPtr ) - METHOD iconPixmap() INLINE Qt_QMessageBox_iconPixmap( ::pPtr ) - METHOD informativeText() INLINE Qt_QMessageBox_informativeText( ::pPtr ) - METHOD open( pReceiver, pMember ) INLINE Qt_QMessageBox_open( ::pPtr, pReceiver, pMember ) - METHOD removeButton( pButton ) INLINE Qt_QMessageBox_removeButton( ::pPtr, pButton ) - METHOD setDefaultButton( pButton ) INLINE Qt_QMessageBox_setDefaultButton( ::pPtr, pButton ) - METHOD setDefaultButton_1( nButton ) INLINE Qt_QMessageBox_setDefaultButton_1( ::pPtr, nButton ) - METHOD setDetailedText( cText ) INLINE Qt_QMessageBox_setDetailedText( ::pPtr, cText ) - METHOD setEscapeButton( pButton ) INLINE Qt_QMessageBox_setEscapeButton( ::pPtr, pButton ) - METHOD setEscapeButton_1( nButton ) INLINE Qt_QMessageBox_setEscapeButton_1( ::pPtr, nButton ) - METHOD setIcon( nIcon ) INLINE Qt_QMessageBox_setIcon( ::pPtr, nIcon ) - METHOD setIconPixmap( pPixmap ) INLINE Qt_QMessageBox_setIconPixmap( ::pPtr, pPixmap ) - METHOD setInformativeText( cText ) INLINE Qt_QMessageBox_setInformativeText( ::pPtr, cText ) - METHOD setStandardButtons( nButtons ) INLINE Qt_QMessageBox_setStandardButtons( ::pPtr, nButtons ) - METHOD setText( cText ) INLINE Qt_QMessageBox_setText( ::pPtr, cText ) - METHOD setTextFormat( nFormat ) INLINE Qt_QMessageBox_setTextFormat( ::pPtr, nFormat ) - METHOD setWindowModality( nWindowModality ) INLINE Qt_QMessageBox_setWindowModality( ::pPtr, nWindowModality ) - METHOD setWindowTitle( cTitle ) INLINE Qt_QMessageBox_setWindowTitle( ::pPtr, cTitle ) - METHOD standardButton( pButton ) INLINE Qt_QMessageBox_standardButton( ::pPtr, pButton ) - METHOD standardButtons() INLINE Qt_QMessageBox_standardButtons( ::pPtr ) - METHOD text() INLINE Qt_QMessageBox_text( ::pPtr ) - METHOD textFormat() INLINE Qt_QMessageBox_textFormat( ::pPtr ) - METHOD about( pParent, cTitle, cText ) INLINE Qt_QMessageBox_about( ::pPtr, pParent, cTitle, cText ) - METHOD aboutQt( pParent, cTitle ) INLINE Qt_QMessageBox_aboutQt( ::pPtr, pParent, cTitle ) - METHOD critical( pParent, cTitle, cText, nButtons, nDefaultButton ) INLINE Qt_QMessageBox_critical( ::pPtr, pParent, cTitle, cText, nButtons, nDefaultButton ) - METHOD information( pParent, cTitle, cText, nButtons, nDefaultButton ) INLINE Qt_QMessageBox_information( ::pPtr, pParent, cTitle, cText, nButtons, nDefaultButton ) - METHOD question( pParent, cTitle, cText, nButtons, nDefaultButton ) INLINE Qt_QMessageBox_question( ::pPtr, pParent, cTitle, cText, nButtons, nDefaultButton ) - METHOD warning( pParent, cTitle, cText, nButtons, nDefaultButton ) INLINE Qt_QMessageBox_warning( ::pPtr, pParent, cTitle, cText, nButtons, nDefaultButton ) - METHOD exec() INLINE Qt_QMessageBox_exec( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QMessageBox - - ::pParent := pParent - - ::pPtr := Qt_QMessageBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QMessageBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQModelIndex.prg b/harbour/contrib/hbqt/TQModelIndex.prg deleted file mode 100644 index 11fdaef8a4..0000000000 --- a/harbour/contrib/hbqt/TQModelIndex.prg +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QModelIndex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD child( nRow, nColumn ) INLINE Qt_QModelIndex_child( ::pPtr, nRow, nColumn ) - METHOD column() INLINE Qt_QModelIndex_column( ::pPtr ) - METHOD data( nRole ) INLINE Qt_QModelIndex_data( ::pPtr, nRole ) - METHOD flags() INLINE Qt_QModelIndex_flags( ::pPtr ) - METHOD internalId() INLINE Qt_QModelIndex_internalId( ::pPtr ) - METHOD internalPointer() INLINE Qt_QModelIndex_internalPointer( ::pPtr ) - METHOD isValid() INLINE Qt_QModelIndex_isValid( ::pPtr ) - METHOD model() INLINE Qt_QModelIndex_model( ::pPtr ) - METHOD parent() INLINE Qt_QModelIndex_parent( ::pPtr ) - METHOD row() INLINE Qt_QModelIndex_row( ::pPtr ) - METHOD sibling( nRow, nColumn ) INLINE Qt_QModelIndex_sibling( ::pPtr, nRow, nColumn ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QModelIndex - - ::pParent := pParent - - ::pPtr := Qt_QModelIndex( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QModelIndex - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQMouseEvent.prg b/harbour/contrib/hbqt/TQMouseEvent.prg deleted file mode 100644 index 114e676416..0000000000 --- a/harbour/contrib/hbqt/TQMouseEvent.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QMouseEvent INHERIT QInputEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD button() INLINE Qt_QMouseEvent_button( ::pPtr ) - METHOD buttons() INLINE Qt_QMouseEvent_buttons( ::pPtr ) - METHOD globalPos() INLINE Qt_QMouseEvent_globalPos( ::pPtr ) - METHOD globalX() INLINE Qt_QMouseEvent_globalX( ::pPtr ) - METHOD globalY() INLINE Qt_QMouseEvent_globalY( ::pPtr ) - METHOD pos() INLINE Qt_QMouseEvent_pos( ::pPtr ) - METHOD posF() INLINE Qt_QMouseEvent_posF( ::pPtr ) - METHOD x() INLINE Qt_QMouseEvent_x( ::pPtr ) - METHOD y() INLINE Qt_QMouseEvent_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QMouseEvent - - ::pParent := pParent - - ::pPtr := Qt_QMouseEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QMouseEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQMoveEvent.prg b/harbour/contrib/hbqt/TQMoveEvent.prg deleted file mode 100644 index 6ed33320bd..0000000000 --- a/harbour/contrib/hbqt/TQMoveEvent.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QMoveEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD oldPos() INLINE Qt_QMoveEvent_oldPos( ::pPtr ) - METHOD pos() INLINE Qt_QMoveEvent_pos( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QMoveEvent - - ::pParent := pParent - - ::pPtr := Qt_QMoveEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QMoveEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQObject.prg b/harbour/contrib/hbqt/TQObject.prg deleted file mode 100644 index 377f6fa6fd..0000000000 --- a/harbour/contrib/hbqt/TQObject.prg +++ /dev/null @@ -1,129 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD blockSignals( lBlock ) INLINE Qt_QObject_blockSignals( ::pPtr, lBlock ) - METHOD children() INLINE Qt_QObject_children( ::pPtr ) - METHOD connect( pSender, pSignal, pMethod, nType ) INLINE Qt_QObject_connect( ::pPtr, pSender, pSignal, pMethod, nType ) - METHOD disconnect( pSignal, pReceiver, pMethod ) INLINE Qt_QObject_disconnect( ::pPtr, pSignal, pReceiver, pMethod ) - METHOD disconnect_1( pReceiver, pMethod ) INLINE Qt_QObject_disconnect_1( ::pPtr, pReceiver, pMethod ) - METHOD dumpObjectInfo() INLINE Qt_QObject_dumpObjectInfo( ::pPtr ) - METHOD dumpObjectTree() INLINE Qt_QObject_dumpObjectTree( ::pPtr ) - METHOD event( pE ) INLINE Qt_QObject_event( ::pPtr, pE ) - METHOD eventFilter( pWatched, pEvent ) INLINE Qt_QObject_eventFilter( ::pPtr, pWatched, pEvent ) - METHOD inherits( pClassName ) INLINE Qt_QObject_inherits( ::pPtr, pClassName ) - METHOD installEventFilter( pFilterObj ) INLINE Qt_QObject_installEventFilter( ::pPtr, pFilterObj ) - METHOD isWidgetType() INLINE Qt_QObject_isWidgetType( ::pPtr ) - METHOD killTimer( nId ) INLINE Qt_QObject_killTimer( ::pPtr, nId ) - METHOD metaObject() INLINE Qt_QObject_metaObject( ::pPtr ) - METHOD moveToThread( pTargetThread ) INLINE Qt_QObject_moveToThread( ::pPtr, pTargetThread ) - METHOD objectName() INLINE Qt_QObject_objectName( ::pPtr ) - METHOD parent() INLINE Qt_QObject_parent( ::pPtr ) - METHOD property( pName ) INLINE Qt_QObject_property( ::pPtr, pName ) - METHOD removeEventFilter( pObj ) INLINE Qt_QObject_removeEventFilter( ::pPtr, pObj ) - METHOD setObjectName( cName ) INLINE Qt_QObject_setObjectName( ::pPtr, cName ) - METHOD setParent( pParent ) INLINE Qt_QObject_setParent( ::pPtr, pParent ) - METHOD setProperty( pName, pValue ) INLINE Qt_QObject_setProperty( ::pPtr, pName, pValue ) - METHOD signalsBlocked() INLINE Qt_QObject_signalsBlocked( ::pPtr ) - METHOD startTimer( nInterval ) INLINE Qt_QObject_startTimer( ::pPtr, nInterval ) - METHOD thread() INLINE Qt_QObject_thread( ::pPtr ) - METHOD connect_1( pSender, pSignal, pReceiver, pMethod, nType ) INLINE Qt_QObject_connect_1( ::pPtr, pSender, pSignal, pReceiver, pMethod, nType ) - METHOD disconnect_2( pSender, pSignal, pReceiver, pMethod ) INLINE Qt_QObject_disconnect_2( ::pPtr, pSender, pSignal, pReceiver, pMethod ) - METHOD tr( pSourceText, pDisambiguation, nN ) INLINE Qt_QObject_tr( ::pPtr, pSourceText, pDisambiguation, nN ) - METHOD trUtf8( pSourceText, pDisambiguation, nN ) INLINE Qt_QObject_trUtf8( ::pPtr, pSourceText, pDisambiguation, nN ) - METHOD deleteLater() INLINE Qt_QObject_deleteLater( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QObject - - ::pParent := pParent - - ::pPtr := Qt_QObject( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QObject - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPageSetupDialog.prg b/harbour/contrib/hbqt/TQPageSetupDialog.prg deleted file mode 100644 index 5b08a9269c..0000000000 --- a/harbour/contrib/hbqt/TQPageSetupDialog.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPageSetupDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD exec() INLINE Qt_QPageSetupDialog_exec( ::pPtr ) - METHOD open( pReceiver, pMember ) INLINE Qt_QPageSetupDialog_open( ::pPtr, pReceiver, pMember ) - METHOD options() INLINE Qt_QPageSetupDialog_options( ::pPtr ) - METHOD printer() INLINE Qt_QPageSetupDialog_printer( ::pPtr ) - METHOD setOption( nOption, lOn ) INLINE Qt_QPageSetupDialog_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QPageSetupDialog_setOptions( ::pPtr, nOptions ) - METHOD setVisible( lVisible ) INLINE Qt_QPageSetupDialog_setVisible( ::pPtr, lVisible ) - METHOD testOption( nOption ) INLINE Qt_QPageSetupDialog_testOption( ::pPtr, nOption ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPageSetupDialog - - ::pParent := pParent - - ::pPtr := Qt_QPageSetupDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPageSetupDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPaintDevice.prg b/harbour/contrib/hbqt/TQPaintDevice.prg deleted file mode 100644 index 13103dd9ce..0000000000 --- a/harbour/contrib/hbqt/TQPaintDevice.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPaintDevice - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD depth() INLINE Qt_QPaintDevice_depth( ::pPtr ) - METHOD height() INLINE Qt_QPaintDevice_height( ::pPtr ) - METHOD heightMM() INLINE Qt_QPaintDevice_heightMM( ::pPtr ) - METHOD logicalDpiX() INLINE Qt_QPaintDevice_logicalDpiX( ::pPtr ) - METHOD logicalDpiY() INLINE Qt_QPaintDevice_logicalDpiY( ::pPtr ) - METHOD numColors() INLINE Qt_QPaintDevice_numColors( ::pPtr ) - METHOD paintEngine() INLINE Qt_QPaintDevice_paintEngine( ::pPtr ) - METHOD paintingActive() INLINE Qt_QPaintDevice_paintingActive( ::pPtr ) - METHOD physicalDpiX() INLINE Qt_QPaintDevice_physicalDpiX( ::pPtr ) - METHOD physicalDpiY() INLINE Qt_QPaintDevice_physicalDpiY( ::pPtr ) - METHOD width() INLINE Qt_QPaintDevice_width( ::pPtr ) - METHOD widthMM() INLINE Qt_QPaintDevice_widthMM( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPaintDevice - - ::pParent := pParent - - ::pPtr := Qt_QPaintDevice( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPaintDevice - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPaintEvent.prg b/harbour/contrib/hbqt/TQPaintEvent.prg deleted file mode 100644 index c071e05fb4..0000000000 --- a/harbour/contrib/hbqt/TQPaintEvent.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPaintEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD rect() INLINE Qt_QPaintEvent_rect( ::pPtr ) - METHOD region() INLINE Qt_QPaintEvent_region( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPaintEvent - - ::pParent := pParent - - ::pPtr := Qt_QPaintEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPaintEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPainter.prg b/harbour/contrib/hbqt/TQPainter.prg deleted file mode 100644 index a86b88d280..0000000000 --- a/harbour/contrib/hbqt/TQPainter.prg +++ /dev/null @@ -1,281 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPainter - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD background() INLINE Qt_QPainter_background( ::pPtr ) - METHOD backgroundMode() INLINE Qt_QPainter_backgroundMode( ::pPtr ) - METHOD begin( pDevice ) INLINE Qt_QPainter_begin( ::pPtr, pDevice ) - METHOD boundingRect( pRectangle, nFlags, cText ) INLINE Qt_QPainter_boundingRect( ::pPtr, pRectangle, nFlags, cText ) - METHOD boundingRect_1( pRectangle, nFlags, cText ) INLINE Qt_QPainter_boundingRect_1( ::pPtr, pRectangle, nFlags, cText ) - METHOD boundingRect_2( nX, nY, nW, nH, nFlags, cText ) INLINE Qt_QPainter_boundingRect_2( ::pPtr, nX, nY, nW, nH, nFlags, cText ) - METHOD boundingRect_3( pRectangle, cText, pOption ) INLINE Qt_QPainter_boundingRect_3( ::pPtr, pRectangle, cText, pOption ) - METHOD brush() INLINE Qt_QPainter_brush( ::pPtr ) - METHOD brushOrigin() INLINE Qt_QPainter_brushOrigin( ::pPtr ) - METHOD clipPath() INLINE Qt_QPainter_clipPath( ::pPtr ) - METHOD clipRegion() INLINE Qt_QPainter_clipRegion( ::pPtr ) - METHOD combinedMatrix() INLINE Qt_QPainter_combinedMatrix( ::pPtr ) - METHOD combinedTransform() INLINE Qt_QPainter_combinedTransform( ::pPtr ) - METHOD compositionMode() INLINE Qt_QPainter_compositionMode( ::pPtr ) - METHOD device() INLINE Qt_QPainter_device( ::pPtr ) - METHOD deviceMatrix() INLINE Qt_QPainter_deviceMatrix( ::pPtr ) - METHOD deviceTransform() INLINE Qt_QPainter_deviceTransform( ::pPtr ) - METHOD drawArc( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc( ::pPtr, pRectangle, nStartAngle, nSpanAngle ) - METHOD drawArc_1( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc_1( ::pPtr, pRectangle, nStartAngle, nSpanAngle ) - METHOD drawArc_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc_2( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) - METHOD drawChord( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord( ::pPtr, pRectangle, nStartAngle, nSpanAngle ) - METHOD drawChord_1( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord_1( ::pPtr, pRectangle, nStartAngle, nSpanAngle ) - METHOD drawChord_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord_2( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) - METHOD drawConvexPolygon( pPoints, nPointCount ) INLINE Qt_QPainter_drawConvexPolygon( ::pPtr, pPoints, nPointCount ) - METHOD drawConvexPolygon_1( pPoints, nPointCount ) INLINE Qt_QPainter_drawConvexPolygon_1( ::pPtr, pPoints, nPointCount ) - METHOD drawConvexPolygon_2( pPolygon ) INLINE Qt_QPainter_drawConvexPolygon_2( ::pPtr, pPolygon ) - METHOD drawConvexPolygon_3( pPolygon ) INLINE Qt_QPainter_drawConvexPolygon_3( ::pPtr, pPolygon ) - METHOD drawEllipse( pRectangle ) INLINE Qt_QPainter_drawEllipse( ::pPtr, pRectangle ) - METHOD drawEllipse_1( pRectangle ) INLINE Qt_QPainter_drawEllipse_1( ::pPtr, pRectangle ) - METHOD drawEllipse_2( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_drawEllipse_2( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD drawEllipse_3( pCenter, nRx, nRy ) INLINE Qt_QPainter_drawEllipse_3( ::pPtr, pCenter, nRx, nRy ) - METHOD drawEllipse_4( pCenter, nRx, nRy ) INLINE Qt_QPainter_drawEllipse_4( ::pPtr, pCenter, nRx, nRy ) - METHOD drawImage( pTarget, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage( ::pPtr, pTarget, pImage, pSource, nFlags ) - METHOD drawImage_1( pTarget, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage_1( ::pPtr, pTarget, pImage, pSource, nFlags ) - METHOD drawImage_2( pPoint, pImage ) INLINE Qt_QPainter_drawImage_2( ::pPtr, pPoint, pImage ) - METHOD drawImage_3( pPoint, pImage ) INLINE Qt_QPainter_drawImage_3( ::pPtr, pPoint, pImage ) - METHOD drawImage_4( pPoint, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage_4( ::pPtr, pPoint, pImage, pSource, nFlags ) - METHOD drawImage_5( pPoint, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage_5( ::pPtr, pPoint, pImage, pSource, nFlags ) - METHOD drawImage_6( pRectangle, pImage ) INLINE Qt_QPainter_drawImage_6( ::pPtr, pRectangle, pImage ) - METHOD drawImage_7( pRectangle, pImage ) INLINE Qt_QPainter_drawImage_7( ::pPtr, pRectangle, pImage ) - METHOD drawImage_8( nX, nY, pImage, nSx, nSy, nSw, nSh, nFlags ) INLINE Qt_QPainter_drawImage_8( ::pPtr, nX, nY, pImage, nSx, nSy, nSw, nSh, nFlags ) - METHOD drawLine( pLine ) INLINE Qt_QPainter_drawLine( ::pPtr, pLine ) - METHOD drawLine_1( pLine ) INLINE Qt_QPainter_drawLine_1( ::pPtr, pLine ) - METHOD drawLine_2( pP1, pP2 ) INLINE Qt_QPainter_drawLine_2( ::pPtr, pP1, pP2 ) - METHOD drawLine_3( pP1, pP2 ) INLINE Qt_QPainter_drawLine_3( ::pPtr, pP1, pP2 ) - METHOD drawLine_4( nX1, nY1, nX2, nY2 ) INLINE Qt_QPainter_drawLine_4( ::pPtr, nX1, nY1, nX2, nY2 ) - METHOD drawLines( pLines, nLineCount ) INLINE Qt_QPainter_drawLines( ::pPtr, pLines, nLineCount ) - METHOD drawLines_1( pLines, nLineCount ) INLINE Qt_QPainter_drawLines_1( ::pPtr, pLines, nLineCount ) - METHOD drawLines_2( pPointPairs, nLineCount ) INLINE Qt_QPainter_drawLines_2( ::pPtr, pPointPairs, nLineCount ) - METHOD drawLines_3( pPointPairs, nLineCount ) INLINE Qt_QPainter_drawLines_3( ::pPtr, pPointPairs, nLineCount ) - METHOD drawPath( pPath ) INLINE Qt_QPainter_drawPath( ::pPtr, pPath ) - METHOD drawPicture( pPoint, pPicture ) INLINE Qt_QPainter_drawPicture( ::pPtr, pPoint, pPicture ) - METHOD drawPicture_1( pPoint, pPicture ) INLINE Qt_QPainter_drawPicture_1( ::pPtr, pPoint, pPicture ) - METHOD drawPicture_2( nX, nY, pPicture ) INLINE Qt_QPainter_drawPicture_2( ::pPtr, nX, nY, pPicture ) - METHOD drawPie( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie( ::pPtr, pRectangle, nStartAngle, nSpanAngle ) - METHOD drawPie_1( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie_1( ::pPtr, pRectangle, nStartAngle, nSpanAngle ) - METHOD drawPie_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie_2( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) - METHOD drawPixmap( pTarget, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap( ::pPtr, pTarget, pPixmap, pSource ) - METHOD drawPixmap_1( pTarget, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap_1( ::pPtr, pTarget, pPixmap, pSource ) - METHOD drawPixmap_2( pPoint, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap_2( ::pPtr, pPoint, pPixmap, pSource ) - METHOD drawPixmap_3( pPoint, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap_3( ::pPtr, pPoint, pPixmap, pSource ) - METHOD drawPixmap_4( pPoint, pPixmap ) INLINE Qt_QPainter_drawPixmap_4( ::pPtr, pPoint, pPixmap ) - METHOD drawPixmap_5( pPoint, pPixmap ) INLINE Qt_QPainter_drawPixmap_5( ::pPtr, pPoint, pPixmap ) - METHOD drawPixmap_6( nX, nY, pPixmap ) INLINE Qt_QPainter_drawPixmap_6( ::pPtr, nX, nY, pPixmap ) - METHOD drawPixmap_7( pRectangle, pPixmap ) INLINE Qt_QPainter_drawPixmap_7( ::pPtr, pRectangle, pPixmap ) - METHOD drawPixmap_8( nX, nY, nWidth, nHeight, pPixmap ) INLINE Qt_QPainter_drawPixmap_8( ::pPtr, nX, nY, nWidth, nHeight, pPixmap ) - METHOD drawPixmap_9( nX, nY, nW, nH, pPixmap, nSx, nSy, nSw, nSh ) INLINE Qt_QPainter_drawPixmap_9( ::pPtr, nX, nY, nW, nH, pPixmap, nSx, nSy, nSw, nSh ) - METHOD drawPixmap_10( nX, nY, pPixmap, nSx, nSy, nSw, nSh ) INLINE Qt_QPainter_drawPixmap_10( ::pPtr, nX, nY, pPixmap, nSx, nSy, nSw, nSh ) - METHOD drawPoint( pPosition ) INLINE Qt_QPainter_drawPoint( ::pPtr, pPosition ) - METHOD drawPoint_1( pPosition ) INLINE Qt_QPainter_drawPoint_1( ::pPtr, pPosition ) - METHOD drawPoint_2( nX, nY ) INLINE Qt_QPainter_drawPoint_2( ::pPtr, nX, nY ) - METHOD drawPoints( pPoints, nPointCount ) INLINE Qt_QPainter_drawPoints( ::pPtr, pPoints, nPointCount ) - METHOD drawPoints_1( pPoints, nPointCount ) INLINE Qt_QPainter_drawPoints_1( ::pPtr, pPoints, nPointCount ) - METHOD drawPoints_2( pPoints ) INLINE Qt_QPainter_drawPoints_2( ::pPtr, pPoints ) - METHOD drawPoints_3( pPoints ) INLINE Qt_QPainter_drawPoints_3( ::pPtr, pPoints ) - METHOD drawPolygon( pPoints, nPointCount, nFillRule ) INLINE Qt_QPainter_drawPolygon( ::pPtr, pPoints, nPointCount, nFillRule ) - METHOD drawPolygon_1( pPoints, nPointCount, nFillRule ) INLINE Qt_QPainter_drawPolygon_1( ::pPtr, pPoints, nPointCount, nFillRule ) - METHOD drawPolygon_2( pPoints, nFillRule ) INLINE Qt_QPainter_drawPolygon_2( ::pPtr, pPoints, nFillRule ) - METHOD drawPolygon_3( pPoints, nFillRule ) INLINE Qt_QPainter_drawPolygon_3( ::pPtr, pPoints, nFillRule ) - METHOD drawPolyline( pPoints, nPointCount ) INLINE Qt_QPainter_drawPolyline( ::pPtr, pPoints, nPointCount ) - METHOD drawPolyline_1( pPoints, nPointCount ) INLINE Qt_QPainter_drawPolyline_1( ::pPtr, pPoints, nPointCount ) - METHOD drawPolyline_2( pPoints ) INLINE Qt_QPainter_drawPolyline_2( ::pPtr, pPoints ) - METHOD drawPolyline_3( pPoints ) INLINE Qt_QPainter_drawPolyline_3( ::pPtr, pPoints ) - METHOD drawRect( pRectangle ) INLINE Qt_QPainter_drawRect( ::pPtr, pRectangle ) - METHOD drawRect_1( pRectangle ) INLINE Qt_QPainter_drawRect_1( ::pPtr, pRectangle ) - METHOD drawRect_2( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_drawRect_2( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD drawRects( pRectangles, nRectCount ) INLINE Qt_QPainter_drawRects( ::pPtr, pRectangles, nRectCount ) - METHOD drawRects_1( pRectangles, nRectCount ) INLINE Qt_QPainter_drawRects_1( ::pPtr, pRectangles, nRectCount ) - METHOD drawRoundedRect( pRect, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect( ::pPtr, pRect, nXRadius, nYRadius, nMode ) - METHOD drawRoundedRect_1( pRect, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect_1( ::pPtr, pRect, nXRadius, nYRadius, nMode ) - METHOD drawRoundedRect_2( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect_2( ::pPtr, nX, nY, nW, nH, nXRadius, nYRadius, nMode ) - METHOD drawText( pPosition, cText ) INLINE Qt_QPainter_drawText( ::pPtr, pPosition, cText ) - METHOD drawText_1( pPosition, cText ) INLINE Qt_QPainter_drawText_1( ::pPtr, pPosition, cText ) - METHOD drawText_2( pRectangle, nFlags, cText, pBoundingRect ) INLINE Qt_QPainter_drawText_2( ::pPtr, pRectangle, nFlags, cText, pBoundingRect ) - METHOD drawText_3( pRectangle, nFlags, cText, pBoundingRect ) INLINE Qt_QPainter_drawText_3( ::pPtr, pRectangle, nFlags, cText, pBoundingRect ) - METHOD drawText_4( nX, nY, cText ) INLINE Qt_QPainter_drawText_4( ::pPtr, nX, nY, cText ) - METHOD drawText_5( nX, nY, nWidth, nHeight, nFlags, cText, pBoundingRect ) INLINE Qt_QPainter_drawText_5( ::pPtr, nX, nY, nWidth, nHeight, nFlags, cText, pBoundingRect ) - METHOD drawText_6( pRectangle, cText, pOption ) INLINE Qt_QPainter_drawText_6( ::pPtr, pRectangle, cText, pOption ) - METHOD drawTiledPixmap( pRectangle, pPixmap, pPosition ) INLINE Qt_QPainter_drawTiledPixmap( ::pPtr, pRectangle, pPixmap, pPosition ) - METHOD drawTiledPixmap_1( pRectangle, pPixmap, pPosition ) INLINE Qt_QPainter_drawTiledPixmap_1( ::pPtr, pRectangle, pPixmap, pPosition ) - METHOD drawTiledPixmap_2( nX, nY, nWidth, nHeight, pPixmap, nSx, nSy ) INLINE Qt_QPainter_drawTiledPixmap_2( ::pPtr, nX, nY, nWidth, nHeight, pPixmap, nSx, nSy ) - METHOD end() INLINE Qt_QPainter_end( ::pPtr ) - METHOD eraseRect( pRectangle ) INLINE Qt_QPainter_eraseRect( ::pPtr, pRectangle ) - METHOD eraseRect_1( pRectangle ) INLINE Qt_QPainter_eraseRect_1( ::pPtr, pRectangle ) - METHOD eraseRect_2( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_eraseRect_2( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD fillPath( pPath, pBrush ) INLINE Qt_QPainter_fillPath( ::pPtr, pPath, pBrush ) - METHOD fillRect( pRectangle, pBrush ) INLINE Qt_QPainter_fillRect( ::pPtr, pRectangle, pBrush ) - METHOD fillRect_1( nX, nY, nWidth, nHeight, nStyle ) INLINE Qt_QPainter_fillRect_1( ::pPtr, nX, nY, nWidth, nHeight, nStyle ) - METHOD fillRect_2( pRectangle, nStyle ) INLINE Qt_QPainter_fillRect_2( ::pPtr, pRectangle, nStyle ) - METHOD fillRect_3( pRectangle, nStyle ) INLINE Qt_QPainter_fillRect_3( ::pPtr, pRectangle, nStyle ) - METHOD fillRect_4( pRectangle, pBrush ) INLINE Qt_QPainter_fillRect_4( ::pPtr, pRectangle, pBrush ) - METHOD fillRect_5( pRectangle, pColor ) INLINE Qt_QPainter_fillRect_5( ::pPtr, pRectangle, pColor ) - METHOD fillRect_6( pRectangle, pColor ) INLINE Qt_QPainter_fillRect_6( ::pPtr, pRectangle, pColor ) - METHOD fillRect_7( nX, nY, nWidth, nHeight, pBrush ) INLINE Qt_QPainter_fillRect_7( ::pPtr, nX, nY, nWidth, nHeight, pBrush ) - METHOD fillRect_8( nX, nY, nWidth, nHeight, pColor ) INLINE Qt_QPainter_fillRect_8( ::pPtr, nX, nY, nWidth, nHeight, pColor ) - METHOD fillRect_9( nX, nY, nWidth, nHeight, nColor ) INLINE Qt_QPainter_fillRect_9( ::pPtr, nX, nY, nWidth, nHeight, nColor ) - METHOD fillRect_10( pRectangle, nColor ) INLINE Qt_QPainter_fillRect_10( ::pPtr, pRectangle, nColor ) - METHOD fillRect_11( pRectangle, nColor ) INLINE Qt_QPainter_fillRect_11( ::pPtr, pRectangle, nColor ) - METHOD font() INLINE Qt_QPainter_font( ::pPtr ) - METHOD fontInfo() INLINE Qt_QPainter_fontInfo( ::pPtr ) - METHOD fontMetrics() INLINE Qt_QPainter_fontMetrics( ::pPtr ) - METHOD hasClipping() INLINE Qt_QPainter_hasClipping( ::pPtr ) - METHOD initFrom( pWidget ) INLINE Qt_QPainter_initFrom( ::pPtr, pWidget ) - METHOD isActive() INLINE Qt_QPainter_isActive( ::pPtr ) - METHOD layoutDirection() INLINE Qt_QPainter_layoutDirection( ::pPtr ) - METHOD opacity() INLINE Qt_QPainter_opacity( ::pPtr ) - METHOD paintEngine() INLINE Qt_QPainter_paintEngine( ::pPtr ) - METHOD pen() INLINE Qt_QPainter_pen( ::pPtr ) - METHOD renderHints() INLINE Qt_QPainter_renderHints( ::pPtr ) - METHOD resetMatrix() INLINE Qt_QPainter_resetMatrix( ::pPtr ) - METHOD resetTransform() INLINE Qt_QPainter_resetTransform( ::pPtr ) - METHOD restore() INLINE Qt_QPainter_restore( ::pPtr ) - METHOD rotate( nAngle ) INLINE Qt_QPainter_rotate( ::pPtr, nAngle ) - METHOD save() INLINE Qt_QPainter_save( ::pPtr ) - METHOD scale( nSx, nSy ) INLINE Qt_QPainter_scale( ::pPtr, nSx, nSy ) - METHOD setBackground( pBrush ) INLINE Qt_QPainter_setBackground( ::pPtr, pBrush ) - METHOD setBackgroundMode( nMode ) INLINE Qt_QPainter_setBackgroundMode( ::pPtr, nMode ) - METHOD setBrush( pBrush ) INLINE Qt_QPainter_setBrush( ::pPtr, pBrush ) - METHOD setBrush_1( nStyle ) INLINE Qt_QPainter_setBrush_1( ::pPtr, nStyle ) - METHOD setBrushOrigin( pPosition ) INLINE Qt_QPainter_setBrushOrigin( ::pPtr, pPosition ) - METHOD setBrushOrigin_1( pPosition ) INLINE Qt_QPainter_setBrushOrigin_1( ::pPtr, pPosition ) - METHOD setBrushOrigin_2( nX, nY ) INLINE Qt_QPainter_setBrushOrigin_2( ::pPtr, nX, nY ) - METHOD setClipPath( pPath, nOperation ) INLINE Qt_QPainter_setClipPath( ::pPtr, pPath, nOperation ) - METHOD setClipRect( pRectangle, nOperation ) INLINE Qt_QPainter_setClipRect( ::pPtr, pRectangle, nOperation ) - METHOD setClipRect_1( nX, nY, nWidth, nHeight, nOperation ) INLINE Qt_QPainter_setClipRect_1( ::pPtr, nX, nY, nWidth, nHeight, nOperation ) - METHOD setClipRect_2( pRectangle, nOperation ) INLINE Qt_QPainter_setClipRect_2( ::pPtr, pRectangle, nOperation ) - METHOD setClipRegion( pRegion, nOperation ) INLINE Qt_QPainter_setClipRegion( ::pPtr, pRegion, nOperation ) - METHOD setClipping( lEnable ) INLINE Qt_QPainter_setClipping( ::pPtr, lEnable ) - METHOD setCompositionMode( nMode ) INLINE Qt_QPainter_setCompositionMode( ::pPtr, nMode ) - METHOD setFont( pFont ) INLINE Qt_QPainter_setFont( ::pPtr, pFont ) - METHOD setLayoutDirection( nDirection ) INLINE Qt_QPainter_setLayoutDirection( ::pPtr, nDirection ) - METHOD setOpacity( nOpacity ) INLINE Qt_QPainter_setOpacity( ::pPtr, nOpacity ) - METHOD setPen( pPen ) INLINE Qt_QPainter_setPen( ::pPtr, pPen ) - METHOD setPen_1( pColor ) INLINE Qt_QPainter_setPen_1( ::pPtr, pColor ) - METHOD setPen_2( nStyle ) INLINE Qt_QPainter_setPen_2( ::pPtr, nStyle ) - METHOD setRenderHint( nHint, lOn ) INLINE Qt_QPainter_setRenderHint( ::pPtr, nHint, lOn ) - METHOD setRenderHints( nHints, lOn ) INLINE Qt_QPainter_setRenderHints( ::pPtr, nHints, lOn ) - METHOD setTransform( pTransform, lCombine ) INLINE Qt_QPainter_setTransform( ::pPtr, pTransform, lCombine ) - METHOD setViewTransformEnabled( lEnable ) INLINE Qt_QPainter_setViewTransformEnabled( ::pPtr, lEnable ) - METHOD setViewport( pRectangle ) INLINE Qt_QPainter_setViewport( ::pPtr, pRectangle ) - METHOD setViewport_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_setViewport_1( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD setWindow( pRectangle ) INLINE Qt_QPainter_setWindow( ::pPtr, pRectangle ) - METHOD setWindow_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_setWindow_1( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD setWorldMatrix( pMatrix, lCombine ) INLINE Qt_QPainter_setWorldMatrix( ::pPtr, pMatrix, lCombine ) - METHOD setWorldMatrixEnabled( lEnable ) INLINE Qt_QPainter_setWorldMatrixEnabled( ::pPtr, lEnable ) - METHOD setWorldTransform( pMatrix, lCombine ) INLINE Qt_QPainter_setWorldTransform( ::pPtr, pMatrix, lCombine ) - METHOD shear( nSh, nSv ) INLINE Qt_QPainter_shear( ::pPtr, nSh, nSv ) - METHOD strokePath( pPath, pPen ) INLINE Qt_QPainter_strokePath( ::pPtr, pPath, pPen ) - METHOD testRenderHint( nHint ) INLINE Qt_QPainter_testRenderHint( ::pPtr, nHint ) - METHOD transform() INLINE Qt_QPainter_transform( ::pPtr ) - METHOD translate( pOffset ) INLINE Qt_QPainter_translate( ::pPtr, pOffset ) - METHOD translate_1( pOffset ) INLINE Qt_QPainter_translate_1( ::pPtr, pOffset ) - METHOD translate_2( nDx, nDy ) INLINE Qt_QPainter_translate_2( ::pPtr, nDx, nDy ) - METHOD viewTransformEnabled() INLINE Qt_QPainter_viewTransformEnabled( ::pPtr ) - METHOD viewport() INLINE Qt_QPainter_viewport( ::pPtr ) - METHOD window() INLINE Qt_QPainter_window( ::pPtr ) - METHOD worldMatrix() INLINE Qt_QPainter_worldMatrix( ::pPtr ) - METHOD worldMatrixEnabled() INLINE Qt_QPainter_worldMatrixEnabled( ::pPtr ) - METHOD worldTransform() INLINE Qt_QPainter_worldTransform( ::pPtr ) - METHOD redirected( pDevice, pOffset ) INLINE Qt_QPainter_redirected( ::pPtr, pDevice, pOffset ) - METHOD restoreRedirected( pDevice ) INLINE Qt_QPainter_restoreRedirected( ::pPtr, pDevice ) - METHOD setRedirected( pDevice, pReplacement, pOffset ) INLINE Qt_QPainter_setRedirected( ::pPtr, pDevice, pReplacement, pOffset ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPainter - - ::pParent := pParent - - ::pPtr := Qt_QPainter( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPainter - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPalette.prg b/harbour/contrib/hbqt/TQPalette.prg deleted file mode 100644 index 8e613fdd09..0000000000 --- a/harbour/contrib/hbqt/TQPalette.prg +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPalette - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alternateBase() INLINE Qt_QPalette_alternateBase( ::pPtr ) - METHOD base() INLINE Qt_QPalette_base( ::pPtr ) - METHOD brightText() INLINE Qt_QPalette_brightText( ::pPtr ) - METHOD brush( nGroup, nRole ) INLINE Qt_QPalette_brush( ::pPtr, nGroup, nRole ) - METHOD brush_1( nRole ) INLINE Qt_QPalette_brush_1( ::pPtr, nRole ) - METHOD button() INLINE Qt_QPalette_button( ::pPtr ) - METHOD buttonText() INLINE Qt_QPalette_buttonText( ::pPtr ) - METHOD cacheKey() INLINE Qt_QPalette_cacheKey( ::pPtr ) - METHOD color( nGroup, nRole ) INLINE Qt_QPalette_color( ::pPtr, nGroup, nRole ) - METHOD color_1( nRole ) INLINE Qt_QPalette_color_1( ::pPtr, nRole ) - METHOD currentColorGroup() INLINE Qt_QPalette_currentColorGroup( ::pPtr ) - METHOD dark() INLINE Qt_QPalette_dark( ::pPtr ) - METHOD highlight() INLINE Qt_QPalette_highlight( ::pPtr ) - METHOD highlightedText() INLINE Qt_QPalette_highlightedText( ::pPtr ) - METHOD isBrushSet( nCg, nCr ) INLINE Qt_QPalette_isBrushSet( ::pPtr, nCg, nCr ) - METHOD isCopyOf( pP ) INLINE Qt_QPalette_isCopyOf( ::pPtr, pP ) - METHOD isEqual( nCg1, nCg2 ) INLINE Qt_QPalette_isEqual( ::pPtr, nCg1, nCg2 ) - METHOD light() INLINE Qt_QPalette_light( ::pPtr ) - METHOD link() INLINE Qt_QPalette_link( ::pPtr ) - METHOD linkVisited() INLINE Qt_QPalette_linkVisited( ::pPtr ) - METHOD mid() INLINE Qt_QPalette_mid( ::pPtr ) - METHOD midlight() INLINE Qt_QPalette_midlight( ::pPtr ) - METHOD resolve( pOther ) INLINE Qt_QPalette_resolve( ::pPtr, pOther ) - METHOD setBrush( nRole, pBrush ) INLINE Qt_QPalette_setBrush( ::pPtr, nRole, pBrush ) - METHOD setBrush_1( nGroup, nRole, pBrush ) INLINE Qt_QPalette_setBrush_1( ::pPtr, nGroup, nRole, pBrush ) - METHOD setColor( nRole, pColor ) INLINE Qt_QPalette_setColor( ::pPtr, nRole, pColor ) - METHOD setColor_1( nGroup, nRole, pColor ) INLINE Qt_QPalette_setColor_1( ::pPtr, nGroup, nRole, pColor ) - METHOD setColorGroup( nCg, pWindowText, pButton, pLight, pDark, pMid, pText, pBright_text, pBase, pWindow ) INLINE Qt_QPalette_setColorGroup( ::pPtr, nCg, pWindowText, pButton, pLight, pDark, pMid, pText, pBright_text, pBase, pWindow ) - METHOD setCurrentColorGroup( nCg ) INLINE Qt_QPalette_setCurrentColorGroup( ::pPtr, nCg ) - METHOD shadow() INLINE Qt_QPalette_shadow( ::pPtr ) - METHOD text() INLINE Qt_QPalette_text( ::pPtr ) - METHOD toolTipBase() INLINE Qt_QPalette_toolTipBase( ::pPtr ) - METHOD toolTipText() INLINE Qt_QPalette_toolTipText( ::pPtr ) - METHOD window() INLINE Qt_QPalette_window( ::pPtr ) - METHOD windowText() INLINE Qt_QPalette_windowText( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QPalette - - ::pPtr := Qt_QPalette( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPalette - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPen.prg b/harbour/contrib/hbqt/TQPen.prg deleted file mode 100644 index cd975b43cb..0000000000 --- a/harbour/contrib/hbqt/TQPen.prg +++ /dev/null @@ -1,118 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPen - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD brush() INLINE Qt_QPen_brush( ::pPtr ) - METHOD capStyle() INLINE Qt_QPen_capStyle( ::pPtr ) - METHOD color() INLINE Qt_QPen_color( ::pPtr ) - METHOD dashOffset() INLINE Qt_QPen_dashOffset( ::pPtr ) - METHOD isCosmetic() INLINE Qt_QPen_isCosmetic( ::pPtr ) - METHOD isSolid() INLINE Qt_QPen_isSolid( ::pPtr ) - METHOD joinStyle() INLINE Qt_QPen_joinStyle( ::pPtr ) - METHOD miterLimit() INLINE Qt_QPen_miterLimit( ::pPtr ) - METHOD setBrush( pBrush ) INLINE Qt_QPen_setBrush( ::pPtr, pBrush ) - METHOD setCapStyle( nStyle ) INLINE Qt_QPen_setCapStyle( ::pPtr, nStyle ) - METHOD setColor( pColor ) INLINE Qt_QPen_setColor( ::pPtr, pColor ) - METHOD setCosmetic( lCosmetic ) INLINE Qt_QPen_setCosmetic( ::pPtr, lCosmetic ) - METHOD setDashOffset( nOffset ) INLINE Qt_QPen_setDashOffset( ::pPtr, nOffset ) - METHOD setJoinStyle( nStyle ) INLINE Qt_QPen_setJoinStyle( ::pPtr, nStyle ) - METHOD setMiterLimit( nLimit ) INLINE Qt_QPen_setMiterLimit( ::pPtr, nLimit ) - METHOD setStyle( nStyle ) INLINE Qt_QPen_setStyle( ::pPtr, nStyle ) - METHOD setWidth( nWidth ) INLINE Qt_QPen_setWidth( ::pPtr, nWidth ) - METHOD setWidthF( nWidth ) INLINE Qt_QPen_setWidthF( ::pPtr, nWidth ) - METHOD style() INLINE Qt_QPen_style( ::pPtr ) - METHOD width() INLINE Qt_QPen_width( ::pPtr ) - METHOD widthF() INLINE Qt_QPen_widthF( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QPen - - ::pPtr := Qt_QPen( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPen - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPicture.prg b/harbour/contrib/hbqt/TQPicture.prg deleted file mode 100644 index 81f876060b..0000000000 --- a/harbour/contrib/hbqt/TQPicture.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPicture INHERIT QPaintDevice - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD boundingRect() INLINE Qt_QPicture_boundingRect( ::pPtr ) - METHOD data() INLINE Qt_QPicture_data( ::pPtr ) - METHOD isNull() INLINE Qt_QPicture_isNull( ::pPtr ) - METHOD load( cFileName, pFormat ) INLINE Qt_QPicture_load( ::pPtr, cFileName, pFormat ) - METHOD load_1( pDev, pFormat ) INLINE Qt_QPicture_load_1( ::pPtr, pDev, pFormat ) - METHOD play( pPainter ) INLINE Qt_QPicture_play( ::pPtr, pPainter ) - METHOD save( cFileName, pFormat ) INLINE Qt_QPicture_save( ::pPtr, cFileName, pFormat ) - METHOD save_1( pDev, pFormat ) INLINE Qt_QPicture_save_1( ::pPtr, pDev, pFormat ) - METHOD setBoundingRect( pR ) INLINE Qt_QPicture_setBoundingRect( ::pPtr, pR ) - METHOD setData( pData, nSize ) INLINE Qt_QPicture_setData( ::pPtr, pData, nSize ) - METHOD size() INLINE Qt_QPicture_size( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QPicture - - ::pPtr := Qt_QPicture( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPicture - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPixmap.prg b/harbour/contrib/hbqt/TQPixmap.prg deleted file mode 100644 index c309cb6fa0..0000000000 --- a/harbour/contrib/hbqt/TQPixmap.prg +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPixmap INHERIT QPaintDevice - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alphaChannel() INLINE Qt_QPixmap_alphaChannel( ::pPtr ) - METHOD cacheKey() INLINE Qt_QPixmap_cacheKey( ::pPtr ) - METHOD copy( pRectangle ) INLINE Qt_QPixmap_copy( ::pPtr, pRectangle ) - METHOD copy_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPixmap_copy_1( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD createHeuristicMask( lClipTight ) INLINE Qt_QPixmap_createHeuristicMask( ::pPtr, lClipTight ) - METHOD createMaskFromColor( pMaskColor, nMode ) INLINE Qt_QPixmap_createMaskFromColor( ::pPtr, pMaskColor, nMode ) - METHOD createMaskFromColor_1( pMaskColor ) INLINE Qt_QPixmap_createMaskFromColor_1( ::pPtr, pMaskColor ) - METHOD depth() INLINE Qt_QPixmap_depth( ::pPtr ) - METHOD detach() INLINE Qt_QPixmap_detach( ::pPtr ) - METHOD fill( pColor ) INLINE Qt_QPixmap_fill( ::pPtr, pColor ) - METHOD fill_1( pWidget, pOffset ) INLINE Qt_QPixmap_fill_1( ::pPtr, pWidget, pOffset ) - METHOD fill_2( pWidget, nX, nY ) INLINE Qt_QPixmap_fill_2( ::pPtr, pWidget, nX, nY ) - METHOD hasAlpha() INLINE Qt_QPixmap_hasAlpha( ::pPtr ) - METHOD hasAlphaChannel() INLINE Qt_QPixmap_hasAlphaChannel( ::pPtr ) - METHOD height() INLINE Qt_QPixmap_height( ::pPtr ) - METHOD isNull() INLINE Qt_QPixmap_isNull( ::pPtr ) - METHOD isQBitmap() INLINE Qt_QPixmap_isQBitmap( ::pPtr ) - METHOD load( cFileName, pFormat, nFlags ) INLINE Qt_QPixmap_load( ::pPtr, cFileName, pFormat, nFlags ) - METHOD loadFromData( pData, pFormat, nFlags ) INLINE Qt_QPixmap_loadFromData( ::pPtr, pData, pFormat, nFlags ) - METHOD mask() INLINE Qt_QPixmap_mask( ::pPtr ) - METHOD rect() INLINE Qt_QPixmap_rect( ::pPtr ) - METHOD save( cFileName, pFormat, nQuality ) INLINE Qt_QPixmap_save( ::pPtr, cFileName, pFormat, nQuality ) - METHOD save_1( pDevice, pFormat, nQuality ) INLINE Qt_QPixmap_save_1( ::pPtr, pDevice, pFormat, nQuality ) - METHOD scaled( nWidth, nHeight, nAspectRatioMode, nTransformMode ) INLINE Qt_QPixmap_scaled( ::pPtr, nWidth, nHeight, nAspectRatioMode, nTransformMode ) - METHOD scaled_1( pSize, nAspectRatioMode, nTransformMode ) INLINE Qt_QPixmap_scaled_1( ::pPtr, pSize, nAspectRatioMode, nTransformMode ) - METHOD scaledToHeight( nHeight, nMode ) INLINE Qt_QPixmap_scaledToHeight( ::pPtr, nHeight, nMode ) - METHOD scaledToWidth( nWidth, nMode ) INLINE Qt_QPixmap_scaledToWidth( ::pPtr, nWidth, nMode ) - METHOD setAlphaChannel( pAlphaChannel ) INLINE Qt_QPixmap_setAlphaChannel( ::pPtr, pAlphaChannel ) - METHOD setMask( pMask ) INLINE Qt_QPixmap_setMask( ::pPtr, pMask ) - METHOD size() INLINE Qt_QPixmap_size( ::pPtr ) - METHOD toImage() INLINE Qt_QPixmap_toImage( ::pPtr ) - METHOD transformed( pTransform, nMode ) INLINE Qt_QPixmap_transformed( ::pPtr, pTransform, nMode ) - METHOD transformed_1( pMatrix, nMode ) INLINE Qt_QPixmap_transformed_1( ::pPtr, pMatrix, nMode ) - METHOD width() INLINE Qt_QPixmap_width( ::pPtr ) - METHOD defaultDepth() INLINE Qt_QPixmap_defaultDepth( ::pPtr ) - METHOD fromImage( pImage, nFlags ) INLINE Qt_QPixmap_fromImage( ::pPtr, pImage, nFlags ) - METHOD grabWidget( pWidget, pRectangle ) INLINE Qt_QPixmap_grabWidget( ::pPtr, pWidget, pRectangle ) - METHOD grabWidget_1( pWidget, nX, nY, nWidth, nHeight ) INLINE Qt_QPixmap_grabWidget_1( ::pPtr, pWidget, nX, nY, nWidth, nHeight ) - METHOD trueMatrix( pMatrix, nWidth, nHeight ) INLINE Qt_QPixmap_trueMatrix( ::pPtr, pMatrix, nWidth, nHeight ) - METHOD trueMatrix_1( pM, nW, nH ) INLINE Qt_QPixmap_trueMatrix_1( ::pPtr, pM, nW, nH ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QPixmap - - ::pPtr := Qt_QPixmap( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPixmap - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPoint.prg b/harbour/contrib/hbqt/TQPoint.prg deleted file mode 100644 index aa38d20a9c..0000000000 --- a/harbour/contrib/hbqt/TQPoint.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPoint - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD isNull() INLINE Qt_QPoint_isNull( ::pPtr ) - METHOD manhattanLength() INLINE Qt_QPoint_manhattanLength( ::pPtr ) - METHOD rx() INLINE Qt_QPoint_rx( ::pPtr ) - METHOD ry() INLINE Qt_QPoint_ry( ::pPtr ) - METHOD setX( nX ) INLINE Qt_QPoint_setX( ::pPtr, nX ) - METHOD setY( nY ) INLINE Qt_QPoint_setY( ::pPtr, nY ) - METHOD x() INLINE Qt_QPoint_x( ::pPtr ) - METHOD y() INLINE Qt_QPoint_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QPoint - - ::pPtr := Qt_QPoint( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPoint - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPointF.prg b/harbour/contrib/hbqt/TQPointF.prg deleted file mode 100644 index a7018d3f36..0000000000 --- a/harbour/contrib/hbqt/TQPointF.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPointF - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD isNull() INLINE Qt_QPointF_isNull( ::pPtr ) - METHOD rx() INLINE Qt_QPointF_rx( ::pPtr ) - METHOD ry() INLINE Qt_QPointF_ry( ::pPtr ) - METHOD setX( nX ) INLINE Qt_QPointF_setX( ::pPtr, nX ) - METHOD setY( nY ) INLINE Qt_QPointF_setY( ::pPtr, nY ) - METHOD toPoint() INLINE Qt_QPointF_toPoint( ::pPtr ) - METHOD x() INLINE Qt_QPointF_x( ::pPtr ) - METHOD y() INLINE Qt_QPointF_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QPointF - - ::pPtr := Qt_QPointF( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPointF - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPrintDialog.prg b/harbour/contrib/hbqt/TQPrintDialog.prg deleted file mode 100644 index 50ddaa4eae..0000000000 --- a/harbour/contrib/hbqt/TQPrintDialog.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPrintDialog INHERIT QAbstractPrintDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD done( nResult ) INLINE Qt_QPrintDialog_done( ::pPtr, nResult ) - METHOD open( pReceiver, pMember ) INLINE Qt_QPrintDialog_open( ::pPtr, pReceiver, pMember ) - METHOD options() INLINE Qt_QPrintDialog_options( ::pPtr ) - METHOD printer() INLINE Qt_QPrintDialog_printer( ::pPtr ) - METHOD printer_1() INLINE Qt_QPrintDialog_printer_1( ::pPtr ) - METHOD setOption( nOption, lOn ) INLINE Qt_QPrintDialog_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QPrintDialog_setOptions( ::pPtr, nOptions ) - METHOD setVisible( lVisible ) INLINE Qt_QPrintDialog_setVisible( ::pPtr, lVisible ) - METHOD testOption( nOption ) INLINE Qt_QPrintDialog_testOption( ::pPtr, nOption ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPrintDialog - - ::pParent := pParent - - ::pPtr := Qt_QPrintDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPrintDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPrintEngine.prg b/harbour/contrib/hbqt/TQPrintEngine.prg deleted file mode 100644 index 9af16b311e..0000000000 --- a/harbour/contrib/hbqt/TQPrintEngine.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPrintEngine - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD abort() INLINE Qt_QPrintEngine_abort( ::pPtr ) - METHOD metric( nId ) INLINE Qt_QPrintEngine_metric( ::pPtr, nId ) - METHOD newPage() INLINE Qt_QPrintEngine_newPage( ::pPtr ) - METHOD printerState() INLINE Qt_QPrintEngine_printerState( ::pPtr ) - METHOD property( nKey ) INLINE Qt_QPrintEngine_property( ::pPtr, nKey ) - METHOD setProperty( nKey, pValue ) INLINE Qt_QPrintEngine_setProperty( ::pPtr, nKey, pValue ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPrintEngine - - ::pParent := pParent - - ::pPtr := Qt_QPrintEngine( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPrintEngine - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPrintPreviewDialog.prg b/harbour/contrib/hbqt/TQPrintPreviewDialog.prg deleted file mode 100644 index ed98172e64..0000000000 --- a/harbour/contrib/hbqt/TQPrintPreviewDialog.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPrintPreviewDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD open( pReceiver, pMember ) INLINE Qt_QPrintPreviewDialog_open( ::pPtr, pReceiver, pMember ) - METHOD printer() INLINE Qt_QPrintPreviewDialog_printer( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPrintPreviewDialog - - ::pParent := pParent - - ::pPtr := Qt_QPrintPreviewDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPrintPreviewDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPrinter.prg b/harbour/contrib/hbqt/TQPrinter.prg deleted file mode 100644 index 80f0400f33..0000000000 --- a/harbour/contrib/hbqt/TQPrinter.prg +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPrinter INHERIT QPaintDevice - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD abort() INLINE Qt_QPrinter_abort( ::pPtr ) - METHOD collateCopies() INLINE Qt_QPrinter_collateCopies( ::pPtr ) - METHOD colorMode() INLINE Qt_QPrinter_colorMode( ::pPtr ) - METHOD creator() INLINE Qt_QPrinter_creator( ::pPtr ) - METHOD docName() INLINE Qt_QPrinter_docName( ::pPtr ) - METHOD doubleSidedPrinting() INLINE Qt_QPrinter_doubleSidedPrinting( ::pPtr ) - METHOD duplex() INLINE Qt_QPrinter_duplex( ::pPtr ) - METHOD fontEmbeddingEnabled() INLINE Qt_QPrinter_fontEmbeddingEnabled( ::pPtr ) - METHOD fromPage() INLINE Qt_QPrinter_fromPage( ::pPtr ) - METHOD fullPage() INLINE Qt_QPrinter_fullPage( ::pPtr ) - METHOD getPageMargins( nLeft, nTop, nRight, nBottom, nUnit ) INLINE Qt_QPrinter_getPageMargins( ::pPtr, nLeft, nTop, nRight, nBottom, nUnit ) - METHOD isValid() INLINE Qt_QPrinter_isValid( ::pPtr ) - METHOD newPage() INLINE Qt_QPrinter_newPage( ::pPtr ) - METHOD numCopies() INLINE Qt_QPrinter_numCopies( ::pPtr ) - METHOD orientation() INLINE Qt_QPrinter_orientation( ::pPtr ) - METHOD outputFileName() INLINE Qt_QPrinter_outputFileName( ::pPtr ) - METHOD outputFormat() INLINE Qt_QPrinter_outputFormat( ::pPtr ) - METHOD pageOrder() INLINE Qt_QPrinter_pageOrder( ::pPtr ) - METHOD pageRect() INLINE Qt_QPrinter_pageRect( ::pPtr ) - METHOD pageRect_1( nUnit ) INLINE Qt_QPrinter_pageRect_1( ::pPtr, nUnit ) - METHOD paintEngine() INLINE Qt_QPrinter_paintEngine( ::pPtr ) - METHOD paperRect() INLINE Qt_QPrinter_paperRect( ::pPtr ) - METHOD paperRect_1( nUnit ) INLINE Qt_QPrinter_paperRect_1( ::pPtr, nUnit ) - METHOD paperSize() INLINE Qt_QPrinter_paperSize( ::pPtr ) - METHOD paperSize_1( nUnit ) INLINE Qt_QPrinter_paperSize_1( ::pPtr, nUnit ) - METHOD paperSource() INLINE Qt_QPrinter_paperSource( ::pPtr ) - METHOD printEngine() INLINE Qt_QPrinter_printEngine( ::pPtr ) - METHOD printProgram() INLINE Qt_QPrinter_printProgram( ::pPtr ) - METHOD printRange() INLINE Qt_QPrinter_printRange( ::pPtr ) - METHOD printerName() INLINE Qt_QPrinter_printerName( ::pPtr ) - METHOD printerState() INLINE Qt_QPrinter_printerState( ::pPtr ) - METHOD resolution() INLINE Qt_QPrinter_resolution( ::pPtr ) - METHOD setCollateCopies( lCollate ) INLINE Qt_QPrinter_setCollateCopies( ::pPtr, lCollate ) - METHOD setColorMode( nNewColorMode ) INLINE Qt_QPrinter_setColorMode( ::pPtr, nNewColorMode ) - METHOD setCreator( cCreator ) INLINE Qt_QPrinter_setCreator( ::pPtr, cCreator ) - METHOD setDocName( cName ) INLINE Qt_QPrinter_setDocName( ::pPtr, cName ) - METHOD setDoubleSidedPrinting( lDoubleSided ) INLINE Qt_QPrinter_setDoubleSidedPrinting( ::pPtr, lDoubleSided ) - METHOD setDuplex( nDuplex ) INLINE Qt_QPrinter_setDuplex( ::pPtr, nDuplex ) - METHOD setFontEmbeddingEnabled( lEnable ) INLINE Qt_QPrinter_setFontEmbeddingEnabled( ::pPtr, lEnable ) - METHOD setFromTo( nFrom, nTo ) INLINE Qt_QPrinter_setFromTo( ::pPtr, nFrom, nTo ) - METHOD setFullPage( lFp ) INLINE Qt_QPrinter_setFullPage( ::pPtr, lFp ) - METHOD setNumCopies( nNumCopies ) INLINE Qt_QPrinter_setNumCopies( ::pPtr, nNumCopies ) - METHOD setOrientation( nOrientation ) INLINE Qt_QPrinter_setOrientation( ::pPtr, nOrientation ) - METHOD setOutputFileName( cFileName ) INLINE Qt_QPrinter_setOutputFileName( ::pPtr, cFileName ) - METHOD setOutputFormat( nFormat ) INLINE Qt_QPrinter_setOutputFormat( ::pPtr, nFormat ) - METHOD setPageMargins( nLeft, nTop, nRight, nBottom, nUnit ) INLINE Qt_QPrinter_setPageMargins( ::pPtr, nLeft, nTop, nRight, nBottom, nUnit ) - METHOD setPageOrder( nPageOrder ) INLINE Qt_QPrinter_setPageOrder( ::pPtr, nPageOrder ) - METHOD setPaperSize( nNewPaperSize ) INLINE Qt_QPrinter_setPaperSize( ::pPtr, nNewPaperSize ) - METHOD setPaperSize_1( pPaperSize, nUnit ) INLINE Qt_QPrinter_setPaperSize_1( ::pPtr, pPaperSize, nUnit ) - METHOD setPaperSource( nSource ) INLINE Qt_QPrinter_setPaperSource( ::pPtr, nSource ) - METHOD setPrintProgram( cPrintProg ) INLINE Qt_QPrinter_setPrintProgram( ::pPtr, cPrintProg ) - METHOD setPrintRange( nRange ) INLINE Qt_QPrinter_setPrintRange( ::pPtr, nRange ) - METHOD setPrinterName( cName ) INLINE Qt_QPrinter_setPrinterName( ::pPtr, cName ) - METHOD setResolution( nDpi ) INLINE Qt_QPrinter_setResolution( ::pPtr, nDpi ) - METHOD toPage() INLINE Qt_QPrinter_toPage( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPrinter - - ::pParent := pParent - - ::pPtr := Qt_QPrinter( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPrinter - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQProcess.prg b/harbour/contrib/hbqt/TQProcess.prg deleted file mode 100644 index 43ced2c7fa..0000000000 --- a/harbour/contrib/hbqt/TQProcess.prg +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QProcess INHERIT QIODevice - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD close() INLINE Qt_QProcess_close( ::pPtr ) - METHOD closeReadChannel( nChannel ) INLINE Qt_QProcess_closeReadChannel( ::pPtr, nChannel ) - METHOD closeWriteChannel() INLINE Qt_QProcess_closeWriteChannel( ::pPtr ) - METHOD environment() INLINE Qt_QProcess_environment( ::pPtr ) - METHOD error() INLINE Qt_QProcess_error( ::pPtr ) - METHOD exitCode() INLINE Qt_QProcess_exitCode( ::pPtr ) - METHOD exitStatus() INLINE Qt_QProcess_exitStatus( ::pPtr ) - METHOD pid() INLINE Qt_QProcess_pid( ::pPtr ) - METHOD processChannelMode() INLINE Qt_QProcess_processChannelMode( ::pPtr ) - METHOD readAllStandardError() INLINE Qt_QProcess_readAllStandardError( ::pPtr ) - METHOD readAllStandardOutput() INLINE Qt_QProcess_readAllStandardOutput( ::pPtr ) - METHOD readChannel() INLINE Qt_QProcess_readChannel( ::pPtr ) - METHOD setEnvironment( pEnvironment ) INLINE Qt_QProcess_setEnvironment( ::pPtr, pEnvironment ) - METHOD setProcessChannelMode( nMode ) INLINE Qt_QProcess_setProcessChannelMode( ::pPtr, nMode ) - METHOD setReadChannel( nChannel ) INLINE Qt_QProcess_setReadChannel( ::pPtr, nChannel ) - METHOD setStandardErrorFile( cFileName, nMode ) INLINE Qt_QProcess_setStandardErrorFile( ::pPtr, cFileName, nMode ) - METHOD setStandardInputFile( cFileName ) INLINE Qt_QProcess_setStandardInputFile( ::pPtr, cFileName ) - METHOD setStandardOutputFile( cFileName, nMode ) INLINE Qt_QProcess_setStandardOutputFile( ::pPtr, cFileName, nMode ) - METHOD setStandardOutputProcess( pDestination ) INLINE Qt_QProcess_setStandardOutputProcess( ::pPtr, pDestination ) - METHOD setWorkingDirectory( cDir ) INLINE Qt_QProcess_setWorkingDirectory( ::pPtr, cDir ) - METHOD start( cProgram, pArguments, nMode ) INLINE Qt_QProcess_start( ::pPtr, cProgram, pArguments, nMode ) - METHOD start_1( cProgram, nMode ) INLINE Qt_QProcess_start_1( ::pPtr, cProgram, nMode ) - METHOD state() INLINE Qt_QProcess_state( ::pPtr ) - METHOD waitForFinished( nMsecs ) INLINE Qt_QProcess_waitForFinished( ::pPtr, nMsecs ) - METHOD waitForStarted( nMsecs ) INLINE Qt_QProcess_waitForStarted( ::pPtr, nMsecs ) - METHOD workingDirectory() INLINE Qt_QProcess_workingDirectory( ::pPtr ) - METHOD execute( cProgram, pArguments ) INLINE Qt_QProcess_execute( ::pPtr, cProgram, pArguments ) - METHOD execute_1( cProgram ) INLINE Qt_QProcess_execute_1( ::pPtr, cProgram ) - METHOD startDetached( cProgram, pArguments, cWorkingDirectory, nPid ) INLINE Qt_QProcess_startDetached( ::pPtr, cProgram, pArguments, cWorkingDirectory, nPid ) - METHOD startDetached_1( cProgram, pArguments ) INLINE Qt_QProcess_startDetached_1( ::pPtr, cProgram, pArguments ) - METHOD startDetached_2( cProgram ) INLINE Qt_QProcess_startDetached_2( ::pPtr, cProgram ) - METHOD systemEnvironment() INLINE Qt_QProcess_systemEnvironment( ::pPtr ) - METHOD kill() INLINE Qt_QProcess_kill( ::pPtr ) - METHOD terminate() INLINE Qt_QProcess_terminate( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QProcess - - ::pParent := pParent - - ::pPtr := Qt_QProcess( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QProcess - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQProgressBar.prg b/harbour/contrib/hbqt/TQProgressBar.prg deleted file mode 100644 index bd35143ee7..0000000000 --- a/harbour/contrib/hbqt/TQProgressBar.prg +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QProgressBar INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QProgressBar_alignment( ::pPtr ) - METHOD format() INLINE Qt_QProgressBar_format( ::pPtr ) - METHOD invertedAppearance() INLINE Qt_QProgressBar_invertedAppearance( ::pPtr ) - METHOD isTextVisible() INLINE Qt_QProgressBar_isTextVisible( ::pPtr ) - METHOD maximum() INLINE Qt_QProgressBar_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QProgressBar_minimum( ::pPtr ) - METHOD orientation() INLINE Qt_QProgressBar_orientation( ::pPtr ) - METHOD setAlignment( nAlignment ) INLINE Qt_QProgressBar_setAlignment( ::pPtr, nAlignment ) - METHOD setFormat( cFormat ) INLINE Qt_QProgressBar_setFormat( ::pPtr, cFormat ) - METHOD setInvertedAppearance( lInvert ) INLINE Qt_QProgressBar_setInvertedAppearance( ::pPtr, lInvert ) - METHOD setTextDirection( nTextDirection ) INLINE Qt_QProgressBar_setTextDirection( ::pPtr, nTextDirection ) - METHOD setTextVisible( lVisible ) INLINE Qt_QProgressBar_setTextVisible( ::pPtr, lVisible ) - METHOD text() INLINE Qt_QProgressBar_text( ::pPtr ) - METHOD textDirection() INLINE Qt_QProgressBar_textDirection( ::pPtr ) - METHOD value() INLINE Qt_QProgressBar_value( ::pPtr ) - METHOD reset() INLINE Qt_QProgressBar_reset( ::pPtr ) - METHOD setMaximum( nMaximum ) INLINE Qt_QProgressBar_setMaximum( ::pPtr, nMaximum ) - METHOD setMinimum( nMinimum ) INLINE Qt_QProgressBar_setMinimum( ::pPtr, nMinimum ) - METHOD setOrientation( nQt_Orientation ) INLINE Qt_QProgressBar_setOrientation( ::pPtr, nQt_Orientation ) - METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QProgressBar_setRange( ::pPtr, nMinimum, nMaximum ) - METHOD setValue( nValue ) INLINE Qt_QProgressBar_setValue( ::pPtr, nValue ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QProgressBar - - ::pParent := pParent - - ::pPtr := Qt_QProgressBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QProgressBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQProgressDialog.prg b/harbour/contrib/hbqt/TQProgressDialog.prg deleted file mode 100644 index 12eff9d3c2..0000000000 --- a/harbour/contrib/hbqt/TQProgressDialog.prg +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QProgressDialog INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD autoClose() INLINE Qt_QProgressDialog_autoClose( ::pPtr ) - METHOD autoReset() INLINE Qt_QProgressDialog_autoReset( ::pPtr ) - METHOD labelText() INLINE Qt_QProgressDialog_labelText( ::pPtr ) - METHOD maximum() INLINE Qt_QProgressDialog_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QProgressDialog_minimum( ::pPtr ) - METHOD minimumDuration() INLINE Qt_QProgressDialog_minimumDuration( ::pPtr ) - METHOD open( pReceiver, pMember ) INLINE Qt_QProgressDialog_open( ::pPtr, pReceiver, pMember ) - METHOD setAutoClose( lClose ) INLINE Qt_QProgressDialog_setAutoClose( ::pPtr, lClose ) - METHOD setAutoReset( lReset ) INLINE Qt_QProgressDialog_setAutoReset( ::pPtr, lReset ) - METHOD setBar( pBar ) INLINE Qt_QProgressDialog_setBar( ::pPtr, pBar ) - METHOD setCancelButton( pCancelButton ) INLINE Qt_QProgressDialog_setCancelButton( ::pPtr, pCancelButton ) - METHOD setLabel( pLabel ) INLINE Qt_QProgressDialog_setLabel( ::pPtr, pLabel ) - METHOD sizeHint() INLINE Qt_QProgressDialog_sizeHint( ::pPtr ) - METHOD value() INLINE Qt_QProgressDialog_value( ::pPtr ) - METHOD wasCanceled() INLINE Qt_QProgressDialog_wasCanceled( ::pPtr ) - METHOD cancel() INLINE Qt_QProgressDialog_cancel( ::pPtr ) - METHOD reset() INLINE Qt_QProgressDialog_reset( ::pPtr ) - METHOD setCancelButtonText( cCancelButtonText ) INLINE Qt_QProgressDialog_setCancelButtonText( ::pPtr, cCancelButtonText ) - METHOD setLabelText( cText ) INLINE Qt_QProgressDialog_setLabelText( ::pPtr, cText ) - METHOD setMaximum( nMaximum ) INLINE Qt_QProgressDialog_setMaximum( ::pPtr, nMaximum ) - METHOD setMinimum( nMinimum ) INLINE Qt_QProgressDialog_setMinimum( ::pPtr, nMinimum ) - METHOD setMinimumDuration( nMs ) INLINE Qt_QProgressDialog_setMinimumDuration( ::pPtr, nMs ) - METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QProgressDialog_setRange( ::pPtr, nMinimum, nMaximum ) - METHOD setValue( nProgress ) INLINE Qt_QProgressDialog_setValue( ::pPtr, nProgress ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QProgressDialog - - ::pParent := pParent - - ::pPtr := Qt_QProgressDialog( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QProgressDialog - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQPushButton.prg b/harbour/contrib/hbqt/TQPushButton.prg deleted file mode 100644 index 28fc70c1d8..0000000000 --- a/harbour/contrib/hbqt/TQPushButton.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QPushButton INHERIT QAbstractButton - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD autoDefault() INLINE Qt_QPushButton_autoDefault( ::pPtr ) - METHOD isDefault() INLINE Qt_QPushButton_isDefault( ::pPtr ) - METHOD isFlat() INLINE Qt_QPushButton_isFlat( ::pPtr ) - METHOD menu() INLINE Qt_QPushButton_menu( ::pPtr ) - METHOD setAutoDefault( lBool ) INLINE Qt_QPushButton_setAutoDefault( ::pPtr, lBool ) - METHOD setDefault( lBool ) INLINE Qt_QPushButton_setDefault( ::pPtr, lBool ) - METHOD setFlat( lBool ) INLINE Qt_QPushButton_setFlat( ::pPtr, lBool ) - METHOD setMenu( pMenu ) INLINE Qt_QPushButton_setMenu( ::pPtr, pMenu ) - METHOD showMenu() INLINE Qt_QPushButton_showMenu( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QPushButton - - ::pParent := pParent - - ::pPtr := Qt_QPushButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QPushButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQRadialGradient.prg b/harbour/contrib/hbqt/TQRadialGradient.prg deleted file mode 100644 index 442621f999..0000000000 --- a/harbour/contrib/hbqt/TQRadialGradient.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QRadialGradient INHERIT QGradient - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD center() INLINE Qt_QRadialGradient_center( ::pPtr ) - METHOD focalPoint() INLINE Qt_QRadialGradient_focalPoint( ::pPtr ) - METHOD radius() INLINE Qt_QRadialGradient_radius( ::pPtr ) - METHOD setCenter( pCenter ) INLINE Qt_QRadialGradient_setCenter( ::pPtr, pCenter ) - METHOD setCenter_1( nX, nY ) INLINE Qt_QRadialGradient_setCenter_1( ::pPtr, nX, nY ) - METHOD setFocalPoint( pFocalPoint ) INLINE Qt_QRadialGradient_setFocalPoint( ::pPtr, pFocalPoint ) - METHOD setFocalPoint_1( nX, nY ) INLINE Qt_QRadialGradient_setFocalPoint_1( ::pPtr, nX, nY ) - METHOD setRadius( nRadius ) INLINE Qt_QRadialGradient_setRadius( ::pPtr, nRadius ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QRadialGradient - - ::pPtr := Qt_QRadialGradient( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QRadialGradient - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQRadioButton.prg b/harbour/contrib/hbqt/TQRadioButton.prg deleted file mode 100644 index 1567fcd1ef..0000000000 --- a/harbour/contrib/hbqt/TQRadioButton.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QRadioButton INHERIT QAbstractButton - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QRadioButton - - ::pParent := pParent - - ::pPtr := Qt_QRadioButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QRadioButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQRect.prg b/harbour/contrib/hbqt/TQRect.prg deleted file mode 100644 index 493029751c..0000000000 --- a/harbour/contrib/hbqt/TQRect.prg +++ /dev/null @@ -1,156 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QRect - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD adjust( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRect_adjust( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) - METHOD adjusted( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRect_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) - METHOD bottom() INLINE Qt_QRect_bottom( ::pPtr ) - METHOD bottomLeft() INLINE Qt_QRect_bottomLeft( ::pPtr ) - METHOD bottomRight() INLINE Qt_QRect_bottomRight( ::pPtr ) - METHOD center() INLINE Qt_QRect_center( ::pPtr ) - METHOD contains( pPoint, lProper ) INLINE Qt_QRect_contains( ::pPtr, pPoint, lProper ) - METHOD contains_1( nX, nY, lProper ) INLINE Qt_QRect_contains_1( ::pPtr, nX, nY, lProper ) - METHOD contains_2( nX, nY ) INLINE Qt_QRect_contains_2( ::pPtr, nX, nY ) - METHOD contains_3( pRectangle, lProper ) INLINE Qt_QRect_contains_3( ::pPtr, pRectangle, lProper ) - METHOD getCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRect_getCoords( ::pPtr, nX1, nY1, nX2, nY2 ) - METHOD getRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRect_getRect( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD height() INLINE Qt_QRect_height( ::pPtr ) - METHOD intersected( pRectangle ) INLINE Qt_QRect_intersected( ::pPtr, pRectangle ) - METHOD intersects( pRectangle ) INLINE Qt_QRect_intersects( ::pPtr, pRectangle ) - METHOD isEmpty() INLINE Qt_QRect_isEmpty( ::pPtr ) - METHOD isNull() INLINE Qt_QRect_isNull( ::pPtr ) - METHOD isValid() INLINE Qt_QRect_isValid( ::pPtr ) - METHOD left() INLINE Qt_QRect_left( ::pPtr ) - METHOD moveBottom( nY ) INLINE Qt_QRect_moveBottom( ::pPtr, nY ) - METHOD moveBottomLeft( pPosition ) INLINE Qt_QRect_moveBottomLeft( ::pPtr, pPosition ) - METHOD moveBottomRight( pPosition ) INLINE Qt_QRect_moveBottomRight( ::pPtr, pPosition ) - METHOD moveCenter( pPosition ) INLINE Qt_QRect_moveCenter( ::pPtr, pPosition ) - METHOD moveLeft( nX ) INLINE Qt_QRect_moveLeft( ::pPtr, nX ) - METHOD moveRight( nX ) INLINE Qt_QRect_moveRight( ::pPtr, nX ) - METHOD moveTo( nX, nY ) INLINE Qt_QRect_moveTo( ::pPtr, nX, nY ) - METHOD moveTo_1( pPosition ) INLINE Qt_QRect_moveTo_1( ::pPtr, pPosition ) - METHOD moveTop( nY ) INLINE Qt_QRect_moveTop( ::pPtr, nY ) - METHOD moveTopLeft( pPosition ) INLINE Qt_QRect_moveTopLeft( ::pPtr, pPosition ) - METHOD moveTopRight( pPosition ) INLINE Qt_QRect_moveTopRight( ::pPtr, pPosition ) - METHOD normalized() INLINE Qt_QRect_normalized( ::pPtr ) - METHOD right() INLINE Qt_QRect_right( ::pPtr ) - METHOD setBottom( nY ) INLINE Qt_QRect_setBottom( ::pPtr, nY ) - METHOD setBottomLeft( pPosition ) INLINE Qt_QRect_setBottomLeft( ::pPtr, pPosition ) - METHOD setBottomRight( pPosition ) INLINE Qt_QRect_setBottomRight( ::pPtr, pPosition ) - METHOD setCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRect_setCoords( ::pPtr, nX1, nY1, nX2, nY2 ) - METHOD setHeight( nHeight ) INLINE Qt_QRect_setHeight( ::pPtr, nHeight ) - METHOD setLeft( nX ) INLINE Qt_QRect_setLeft( ::pPtr, nX ) - METHOD setRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRect_setRect( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD setRight( nX ) INLINE Qt_QRect_setRight( ::pPtr, nX ) - METHOD setSize( pSize ) INLINE Qt_QRect_setSize( ::pPtr, pSize ) - METHOD setTop( nY ) INLINE Qt_QRect_setTop( ::pPtr, nY ) - METHOD setTopLeft( pPosition ) INLINE Qt_QRect_setTopLeft( ::pPtr, pPosition ) - METHOD setTopRight( pPosition ) INLINE Qt_QRect_setTopRight( ::pPtr, pPosition ) - METHOD setWidth( nWidth ) INLINE Qt_QRect_setWidth( ::pPtr, nWidth ) - METHOD setX( nX ) INLINE Qt_QRect_setX( ::pPtr, nX ) - METHOD setY( nY ) INLINE Qt_QRect_setY( ::pPtr, nY ) - METHOD size() INLINE Qt_QRect_size( ::pPtr ) - METHOD top() INLINE Qt_QRect_top( ::pPtr ) - METHOD topLeft() INLINE Qt_QRect_topLeft( ::pPtr ) - METHOD topRight() INLINE Qt_QRect_topRight( ::pPtr ) - METHOD translate( nDx, nDy ) INLINE Qt_QRect_translate( ::pPtr, nDx, nDy ) - METHOD translate_1( pOffset ) INLINE Qt_QRect_translate_1( ::pPtr, pOffset ) - METHOD translated( nDx, nDy ) INLINE Qt_QRect_translated( ::pPtr, nDx, nDy ) - METHOD translated_1( pOffset ) INLINE Qt_QRect_translated_1( ::pPtr, pOffset ) - METHOD united( pRectangle ) INLINE Qt_QRect_united( ::pPtr, pRectangle ) - METHOD width() INLINE Qt_QRect_width( ::pPtr ) - METHOD x() INLINE Qt_QRect_x( ::pPtr ) - METHOD y() INLINE Qt_QRect_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QRect - - ::pPtr := Qt_QRect( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QRect - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQRectF.prg b/harbour/contrib/hbqt/TQRectF.prg deleted file mode 100644 index 8118743c11..0000000000 --- a/harbour/contrib/hbqt/TQRectF.prg +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QRectF - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD adjust( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRectF_adjust( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) - METHOD adjusted( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRectF_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 ) - METHOD bottom() INLINE Qt_QRectF_bottom( ::pPtr ) - METHOD bottomLeft() INLINE Qt_QRectF_bottomLeft( ::pPtr ) - METHOD bottomRight() INLINE Qt_QRectF_bottomRight( ::pPtr ) - METHOD center() INLINE Qt_QRectF_center( ::pPtr ) - METHOD contains( pPoint ) INLINE Qt_QRectF_contains( ::pPtr, pPoint ) - METHOD contains_1( nX, nY ) INLINE Qt_QRectF_contains_1( ::pPtr, nX, nY ) - METHOD contains_2( pRectangle ) INLINE Qt_QRectF_contains_2( ::pPtr, pRectangle ) - METHOD getCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRectF_getCoords( ::pPtr, nX1, nY1, nX2, nY2 ) - METHOD getRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRectF_getRect( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD height() INLINE Qt_QRectF_height( ::pPtr ) - METHOD intersected( pRectangle ) INLINE Qt_QRectF_intersected( ::pPtr, pRectangle ) - METHOD intersects( pRectangle ) INLINE Qt_QRectF_intersects( ::pPtr, pRectangle ) - METHOD isEmpty() INLINE Qt_QRectF_isEmpty( ::pPtr ) - METHOD isNull() INLINE Qt_QRectF_isNull( ::pPtr ) - METHOD isValid() INLINE Qt_QRectF_isValid( ::pPtr ) - METHOD left() INLINE Qt_QRectF_left( ::pPtr ) - METHOD moveBottom( nY ) INLINE Qt_QRectF_moveBottom( ::pPtr, nY ) - METHOD moveBottomLeft( pPosition ) INLINE Qt_QRectF_moveBottomLeft( ::pPtr, pPosition ) - METHOD moveBottomRight( pPosition ) INLINE Qt_QRectF_moveBottomRight( ::pPtr, pPosition ) - METHOD moveCenter( pPosition ) INLINE Qt_QRectF_moveCenter( ::pPtr, pPosition ) - METHOD moveLeft( nX ) INLINE Qt_QRectF_moveLeft( ::pPtr, nX ) - METHOD moveRight( nX ) INLINE Qt_QRectF_moveRight( ::pPtr, nX ) - METHOD moveTo( nX, nY ) INLINE Qt_QRectF_moveTo( ::pPtr, nX, nY ) - METHOD moveTo_1( pPosition ) INLINE Qt_QRectF_moveTo_1( ::pPtr, pPosition ) - METHOD moveTop( nY ) INLINE Qt_QRectF_moveTop( ::pPtr, nY ) - METHOD moveTopLeft( pPosition ) INLINE Qt_QRectF_moveTopLeft( ::pPtr, pPosition ) - METHOD moveTopRight( pPosition ) INLINE Qt_QRectF_moveTopRight( ::pPtr, pPosition ) - METHOD normalized() INLINE Qt_QRectF_normalized( ::pPtr ) - METHOD right() INLINE Qt_QRectF_right( ::pPtr ) - METHOD setBottom( nY ) INLINE Qt_QRectF_setBottom( ::pPtr, nY ) - METHOD setBottomLeft( pPosition ) INLINE Qt_QRectF_setBottomLeft( ::pPtr, pPosition ) - METHOD setBottomRight( pPosition ) INLINE Qt_QRectF_setBottomRight( ::pPtr, pPosition ) - METHOD setCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRectF_setCoords( ::pPtr, nX1, nY1, nX2, nY2 ) - METHOD setHeight( nHeight ) INLINE Qt_QRectF_setHeight( ::pPtr, nHeight ) - METHOD setLeft( nX ) INLINE Qt_QRectF_setLeft( ::pPtr, nX ) - METHOD setRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRectF_setRect( ::pPtr, nX, nY, nWidth, nHeight ) - METHOD setRight( nX ) INLINE Qt_QRectF_setRight( ::pPtr, nX ) - METHOD setSize( pSize ) INLINE Qt_QRectF_setSize( ::pPtr, pSize ) - METHOD setTop( nY ) INLINE Qt_QRectF_setTop( ::pPtr, nY ) - METHOD setTopLeft( pPosition ) INLINE Qt_QRectF_setTopLeft( ::pPtr, pPosition ) - METHOD setTopRight( pPosition ) INLINE Qt_QRectF_setTopRight( ::pPtr, pPosition ) - METHOD setWidth( nWidth ) INLINE Qt_QRectF_setWidth( ::pPtr, nWidth ) - METHOD setX( nX ) INLINE Qt_QRectF_setX( ::pPtr, nX ) - METHOD setY( nY ) INLINE Qt_QRectF_setY( ::pPtr, nY ) - METHOD size() INLINE Qt_QRectF_size( ::pPtr ) - METHOD toAlignedRect() INLINE Qt_QRectF_toAlignedRect( ::pPtr ) - METHOD toRect() INLINE Qt_QRectF_toRect( ::pPtr ) - METHOD top() INLINE Qt_QRectF_top( ::pPtr ) - METHOD topLeft() INLINE Qt_QRectF_topLeft( ::pPtr ) - METHOD topRight() INLINE Qt_QRectF_topRight( ::pPtr ) - METHOD translate( nDx, nDy ) INLINE Qt_QRectF_translate( ::pPtr, nDx, nDy ) - METHOD translate_1( pOffset ) INLINE Qt_QRectF_translate_1( ::pPtr, pOffset ) - METHOD translated( nDx, nDy ) INLINE Qt_QRectF_translated( ::pPtr, nDx, nDy ) - METHOD translated_1( pOffset ) INLINE Qt_QRectF_translated_1( ::pPtr, pOffset ) - METHOD united( pRectangle ) INLINE Qt_QRectF_united( ::pPtr, pRectangle ) - METHOD width() INLINE Qt_QRectF_width( ::pPtr ) - METHOD x() INLINE Qt_QRectF_x( ::pPtr ) - METHOD y() INLINE Qt_QRectF_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QRectF - - ::pPtr := Qt_QRectF( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QRectF - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQRegion.prg b/harbour/contrib/hbqt/TQRegion.prg deleted file mode 100644 index 76d37e36e6..0000000000 --- a/harbour/contrib/hbqt/TQRegion.prg +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QRegion - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD boundingRect() INLINE Qt_QRegion_boundingRect( ::pPtr ) - METHOD contains( pP ) INLINE Qt_QRegion_contains( ::pPtr, pP ) - METHOD contains_1( pR ) INLINE Qt_QRegion_contains_1( ::pPtr, pR ) - METHOD intersected( pR ) INLINE Qt_QRegion_intersected( ::pPtr, pR ) - METHOD intersected_1( pRect ) INLINE Qt_QRegion_intersected_1( ::pPtr, pRect ) - METHOD intersects( pRegion ) INLINE Qt_QRegion_intersects( ::pPtr, pRegion ) - METHOD intersects_1( pRect ) INLINE Qt_QRegion_intersects_1( ::pPtr, pRect ) - METHOD isEmpty() INLINE Qt_QRegion_isEmpty( ::pPtr ) - METHOD numRects() INLINE Qt_QRegion_numRects( ::pPtr ) - METHOD setRects( pRects, nNumber ) INLINE Qt_QRegion_setRects( ::pPtr, pRects, nNumber ) - METHOD subtracted( pR ) INLINE Qt_QRegion_subtracted( ::pPtr, pR ) - METHOD translate( nDx, nDy ) INLINE Qt_QRegion_translate( ::pPtr, nDx, nDy ) - METHOD translate_1( pPoint ) INLINE Qt_QRegion_translate_1( ::pPtr, pPoint ) - METHOD translated( nDx, nDy ) INLINE Qt_QRegion_translated( ::pPtr, nDx, nDy ) - METHOD translated_1( pP ) INLINE Qt_QRegion_translated_1( ::pPtr, pP ) - METHOD united( pR ) INLINE Qt_QRegion_united( ::pPtr, pR ) - METHOD united_1( pRect ) INLINE Qt_QRegion_united_1( ::pPtr, pRect ) - METHOD xored( pR ) INLINE Qt_QRegion_xored( ::pPtr, pR ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QRegion - - ::pPtr := Qt_QRegion( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QRegion - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQResizeEvent.prg b/harbour/contrib/hbqt/TQResizeEvent.prg deleted file mode 100644 index 0b56451ca4..0000000000 --- a/harbour/contrib/hbqt/TQResizeEvent.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QResizeEvent INHERIT QEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD oldSize() INLINE Qt_QResizeEvent_oldSize( ::pPtr ) - METHOD size() INLINE Qt_QResizeEvent_size( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QResizeEvent - - ::pParent := pParent - - ::pPtr := Qt_QResizeEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QResizeEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQResource.prg b/harbour/contrib/hbqt/TQResource.prg deleted file mode 100644 index 962e521484..0000000000 --- a/harbour/contrib/hbqt/TQResource.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QResource - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD absoluteFilePath() INLINE Qt_QResource_absoluteFilePath( ::pPtr ) - METHOD data() INLINE Qt_QResource_data( ::pPtr ) - METHOD fileName() INLINE Qt_QResource_fileName( ::pPtr ) - METHOD isCompressed() INLINE Qt_QResource_isCompressed( ::pPtr ) - METHOD isValid() INLINE Qt_QResource_isValid( ::pPtr ) - METHOD locale() INLINE Qt_QResource_locale( ::pPtr ) - METHOD setFileName( cFile ) INLINE Qt_QResource_setFileName( ::pPtr, cFile ) - METHOD setLocale( pLocale ) INLINE Qt_QResource_setLocale( ::pPtr, pLocale ) - METHOD size() INLINE Qt_QResource_size( ::pPtr ) - METHOD registerResource( cRccFileName, cMapRoot ) INLINE Qt_QResource_registerResource( ::pPtr, cRccFileName, cMapRoot ) - METHOD searchPaths() INLINE Qt_QResource_searchPaths( ::pPtr ) - METHOD unregisterResource( cRccFileName, cMapRoot ) INLINE Qt_QResource_unregisterResource( ::pPtr, cRccFileName, cMapRoot ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QResource - - ::pParent := pParent - - ::pPtr := Qt_QResource( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QResource - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQScrollArea.prg b/harbour/contrib/hbqt/TQScrollArea.prg deleted file mode 100644 index 55fe09348a..0000000000 --- a/harbour/contrib/hbqt/TQScrollArea.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QScrollArea INHERIT QAbstractScrollArea - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QScrollArea_alignment( ::pPtr ) - METHOD ensureVisible( nX, nY, nXmargin, nYmargin ) INLINE Qt_QScrollArea_ensureVisible( ::pPtr, nX, nY, nXmargin, nYmargin ) - METHOD ensureWidgetVisible( pChildWidget, nXmargin, nYmargin ) INLINE Qt_QScrollArea_ensureWidgetVisible( ::pPtr, pChildWidget, nXmargin, nYmargin ) - METHOD setAlignment( nQt_Alignment ) INLINE Qt_QScrollArea_setAlignment( ::pPtr, nQt_Alignment ) - METHOD setWidget( pWidget ) INLINE Qt_QScrollArea_setWidget( ::pPtr, pWidget ) - METHOD setWidgetResizable( lResizable ) INLINE Qt_QScrollArea_setWidgetResizable( ::pPtr, lResizable ) - METHOD takeWidget() INLINE Qt_QScrollArea_takeWidget( ::pPtr ) - METHOD widget() INLINE Qt_QScrollArea_widget( ::pPtr ) - METHOD widgetResizable() INLINE Qt_QScrollArea_widgetResizable( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QScrollArea - - ::pParent := pParent - - ::pPtr := Qt_QScrollArea( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QScrollArea - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQScrollBar.prg b/harbour/contrib/hbqt/TQScrollBar.prg deleted file mode 100644 index 7d22347bb2..0000000000 --- a/harbour/contrib/hbqt/TQScrollBar.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QScrollBar INHERIT QAbstractSlider - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QScrollBar - - ::pParent := pParent - - ::pPtr := Qt_QScrollBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QScrollBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSignalMapper.prg b/harbour/contrib/hbqt/TQSignalMapper.prg deleted file mode 100644 index 8cbdcfe831..0000000000 --- a/harbour/contrib/hbqt/TQSignalMapper.prg +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSignalMapper INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD mapping( nId ) INLINE Qt_QSignalMapper_mapping( ::pPtr, nId ) - METHOD mapping_1( cId ) INLINE Qt_QSignalMapper_mapping_1( ::pPtr, cId ) - METHOD mapping_2( pWidget ) INLINE Qt_QSignalMapper_mapping_2( ::pPtr, pWidget ) - METHOD mapping_3( pObject ) INLINE Qt_QSignalMapper_mapping_3( ::pPtr, pObject ) - METHOD removeMappings( pSender ) INLINE Qt_QSignalMapper_removeMappings( ::pPtr, pSender ) - METHOD setMapping( pSender, nId ) INLINE Qt_QSignalMapper_setMapping( ::pPtr, pSender, nId ) - METHOD setMapping_1( pSender, cText ) INLINE Qt_QSignalMapper_setMapping_1( ::pPtr, pSender, cText ) - METHOD setMapping_2( pSender, pWidget ) INLINE Qt_QSignalMapper_setMapping_2( ::pPtr, pSender, pWidget ) - METHOD setMapping_3( pSender, pObject ) INLINE Qt_QSignalMapper_setMapping_3( ::pPtr, pSender, pObject ) - METHOD map() INLINE Qt_QSignalMapper_map( ::pPtr ) - METHOD map_1( pSender ) INLINE Qt_QSignalMapper_map_1( ::pPtr, pSender ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSignalMapper - - ::pParent := pParent - - ::pPtr := Qt_QSignalMapper( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSignalMapper - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSize.prg b/harbour/contrib/hbqt/TQSize.prg deleted file mode 100644 index 40585343ef..0000000000 --- a/harbour/contrib/hbqt/TQSize.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSize - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD height() INLINE Qt_QSize_height( ::pPtr ) - METHOD isEmpty() INLINE Qt_QSize_isEmpty( ::pPtr ) - METHOD isNull() INLINE Qt_QSize_isNull( ::pPtr ) - METHOD isValid() INLINE Qt_QSize_isValid( ::pPtr ) - METHOD rheight() INLINE Qt_QSize_rheight( ::pPtr ) - METHOD rwidth() INLINE Qt_QSize_rwidth( ::pPtr ) - METHOD scale( nWidth, nHeight, nMode ) INLINE Qt_QSize_scale( ::pPtr, nWidth, nHeight, nMode ) - METHOD scale_1( pSize, nMode ) INLINE Qt_QSize_scale_1( ::pPtr, pSize, nMode ) - METHOD setHeight( nHeight ) INLINE Qt_QSize_setHeight( ::pPtr, nHeight ) - METHOD setWidth( nWidth ) INLINE Qt_QSize_setWidth( ::pPtr, nWidth ) - METHOD transpose() INLINE Qt_QSize_transpose( ::pPtr ) - METHOD width() INLINE Qt_QSize_width( ::pPtr ) - METHOD boundedTo( pOtherSize ) INLINE Qt_QSize_boundedTo( ::pPtr, pOtherSize ) - METHOD expandedTo( pOtherSize ) INLINE Qt_QSize_expandedTo( ::pPtr, pOtherSize ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QSize - - ::pPtr := Qt_QSize( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSize - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSizeF.prg b/harbour/contrib/hbqt/TQSizeF.prg deleted file mode 100644 index aa20aad9b9..0000000000 --- a/harbour/contrib/hbqt/TQSizeF.prg +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSizeF - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD boundedTo( pOtherSize ) INLINE Qt_QSizeF_boundedTo( ::pPtr, pOtherSize ) - METHOD expandedTo( pOtherSize ) INLINE Qt_QSizeF_expandedTo( ::pPtr, pOtherSize ) - METHOD height() INLINE Qt_QSizeF_height( ::pPtr ) - METHOD isEmpty() INLINE Qt_QSizeF_isEmpty( ::pPtr ) - METHOD isNull() INLINE Qt_QSizeF_isNull( ::pPtr ) - METHOD isValid() INLINE Qt_QSizeF_isValid( ::pPtr ) - METHOD rheight() INLINE Qt_QSizeF_rheight( ::pPtr ) - METHOD rwidth() INLINE Qt_QSizeF_rwidth( ::pPtr ) - METHOD scale( nWidth, nHeight, nMode ) INLINE Qt_QSizeF_scale( ::pPtr, nWidth, nHeight, nMode ) - METHOD scale_1( pSize, nMode ) INLINE Qt_QSizeF_scale_1( ::pPtr, pSize, nMode ) - METHOD setHeight( nHeight ) INLINE Qt_QSizeF_setHeight( ::pPtr, nHeight ) - METHOD setWidth( nWidth ) INLINE Qt_QSizeF_setWidth( ::pPtr, nWidth ) - METHOD toSize() INLINE Qt_QSizeF_toSize( ::pPtr ) - METHOD transpose() INLINE Qt_QSizeF_transpose( ::pPtr ) - METHOD width() INLINE Qt_QSizeF_width( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QSizeF - - ::pPtr := Qt_QSizeF( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSizeF - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSizeGrip.prg b/harbour/contrib/hbqt/TQSizeGrip.prg deleted file mode 100644 index 34bc8f4e29..0000000000 --- a/harbour/contrib/hbqt/TQSizeGrip.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSizeGrip INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSizeGrip - - ::pParent := pParent - - ::pPtr := Qt_QSizeGrip( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSizeGrip - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSizePolicy.prg b/harbour/contrib/hbqt/TQSizePolicy.prg deleted file mode 100644 index 1473391c6e..0000000000 --- a/harbour/contrib/hbqt/TQSizePolicy.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSizePolicy - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD controlType() INLINE Qt_QSizePolicy_controlType( ::pPtr ) - METHOD expandingDirections() INLINE Qt_QSizePolicy_expandingDirections( ::pPtr ) - METHOD hasHeightForWidth() INLINE Qt_QSizePolicy_hasHeightForWidth( ::pPtr ) - METHOD horizontalPolicy() INLINE Qt_QSizePolicy_horizontalPolicy( ::pPtr ) - METHOD horizontalStretch() INLINE Qt_QSizePolicy_horizontalStretch( ::pPtr ) - METHOD setControlType( nType ) INLINE Qt_QSizePolicy_setControlType( ::pPtr, nType ) - METHOD setHeightForWidth( lDependent ) INLINE Qt_QSizePolicy_setHeightForWidth( ::pPtr, lDependent ) - METHOD setHorizontalPolicy( nPolicy ) INLINE Qt_QSizePolicy_setHorizontalPolicy( ::pPtr, nPolicy ) - METHOD setHorizontalStretch( nStretchFactor ) INLINE Qt_QSizePolicy_setHorizontalStretch( ::pPtr, nStretchFactor ) - METHOD setVerticalPolicy( nPolicy ) INLINE Qt_QSizePolicy_setVerticalPolicy( ::pPtr, nPolicy ) - METHOD setVerticalStretch( nStretchFactor ) INLINE Qt_QSizePolicy_setVerticalStretch( ::pPtr, nStretchFactor ) - METHOD transpose() INLINE Qt_QSizePolicy_transpose( ::pPtr ) - METHOD verticalPolicy() INLINE Qt_QSizePolicy_verticalPolicy( ::pPtr ) - METHOD verticalStretch() INLINE Qt_QSizePolicy_verticalStretch( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSizePolicy - - ::pParent := pParent - - ::pPtr := Qt_QSizePolicy( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSizePolicy - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSlider.prg b/harbour/contrib/hbqt/TQSlider.prg deleted file mode 100644 index 5fceacc8ba..0000000000 --- a/harbour/contrib/hbqt/TQSlider.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSlider INHERIT QAbstractSlider - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD setTickInterval( nTi ) INLINE Qt_QSlider_setTickInterval( ::pPtr, nTi ) - METHOD setTickPosition( nPosition ) INLINE Qt_QSlider_setTickPosition( ::pPtr, nPosition ) - METHOD tickInterval() INLINE Qt_QSlider_tickInterval( ::pPtr ) - METHOD tickPosition() INLINE Qt_QSlider_tickPosition( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSlider - - ::pParent := pParent - - ::pPtr := Qt_QSlider( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSlider - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSound.prg b/harbour/contrib/hbqt/TQSound.prg deleted file mode 100644 index 99d5018532..0000000000 --- a/harbour/contrib/hbqt/TQSound.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSound - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD fileName() INLINE Qt_QSound_fileName( ::pPtr ) - METHOD isFinished() INLINE Qt_QSound_isFinished( ::pPtr ) - METHOD loops() INLINE Qt_QSound_loops( ::pPtr ) - METHOD loopsRemaining() INLINE Qt_QSound_loopsRemaining( ::pPtr ) - METHOD setLoops( nNumber ) INLINE Qt_QSound_setLoops( ::pPtr, nNumber ) - METHOD isAvailable() INLINE Qt_QSound_isAvailable( ::pPtr ) - METHOD play( cFilename ) INLINE Qt_QSound_play( ::pPtr, cFilename ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSound - - ::pParent := pParent - - ::pPtr := Qt_QSound( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSound - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSpinBox.prg b/harbour/contrib/hbqt/TQSpinBox.prg deleted file mode 100644 index 3055aa6460..0000000000 --- a/harbour/contrib/hbqt/TQSpinBox.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSpinBox INHERIT QAbstractSpinBox - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD cleanText() INLINE Qt_QSpinBox_cleanText( ::pPtr ) - METHOD maximum() INLINE Qt_QSpinBox_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QSpinBox_minimum( ::pPtr ) - METHOD prefix() INLINE Qt_QSpinBox_prefix( ::pPtr ) - METHOD setMaximum( nMax ) INLINE Qt_QSpinBox_setMaximum( ::pPtr, nMax ) - METHOD setMinimum( nMin ) INLINE Qt_QSpinBox_setMinimum( ::pPtr, nMin ) - METHOD setPrefix( cPrefix ) INLINE Qt_QSpinBox_setPrefix( ::pPtr, cPrefix ) - METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QSpinBox_setRange( ::pPtr, nMinimum, nMaximum ) - METHOD setSingleStep( nVal ) INLINE Qt_QSpinBox_setSingleStep( ::pPtr, nVal ) - METHOD setSuffix( cSuffix ) INLINE Qt_QSpinBox_setSuffix( ::pPtr, cSuffix ) - METHOD singleStep() INLINE Qt_QSpinBox_singleStep( ::pPtr ) - METHOD suffix() INLINE Qt_QSpinBox_suffix( ::pPtr ) - METHOD value() INLINE Qt_QSpinBox_value( ::pPtr ) - METHOD setValue( nVal ) INLINE Qt_QSpinBox_setValue( ::pPtr, nVal ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSpinBox - - ::pParent := pParent - - ::pPtr := Qt_QSpinBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSpinBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSplashScreen.prg b/harbour/contrib/hbqt/TQSplashScreen.prg deleted file mode 100644 index ffe3b774f7..0000000000 --- a/harbour/contrib/hbqt/TQSplashScreen.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSplashScreen INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD finish( pMainWin ) INLINE Qt_QSplashScreen_finish( ::pPtr, pMainWin ) - METHOD pixmap() INLINE Qt_QSplashScreen_pixmap( ::pPtr ) - METHOD repaint() INLINE Qt_QSplashScreen_repaint( ::pPtr ) - METHOD setPixmap( pPixmap ) INLINE Qt_QSplashScreen_setPixmap( ::pPtr, pPixmap ) - METHOD clearMessage() INLINE Qt_QSplashScreen_clearMessage( ::pPtr ) - METHOD showMessage( cMessage, nAlignment, pColor ) INLINE Qt_QSplashScreen_showMessage( ::pPtr, cMessage, nAlignment, pColor ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSplashScreen - - ::pParent := pParent - - ::pPtr := Qt_QSplashScreen( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSplashScreen - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSplitter.prg b/harbour/contrib/hbqt/TQSplitter.prg deleted file mode 100644 index 95d61c0b7f..0000000000 --- a/harbour/contrib/hbqt/TQSplitter.prg +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSplitter INHERIT QFrame - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addWidget( pWidget ) INLINE Qt_QSplitter_addWidget( ::pPtr, pWidget ) - METHOD childrenCollapsible() INLINE Qt_QSplitter_childrenCollapsible( ::pPtr ) - METHOD count() INLINE Qt_QSplitter_count( ::pPtr ) - METHOD getRange( nIndex, nMin, nMax ) INLINE Qt_QSplitter_getRange( ::pPtr, nIndex, nMin, nMax ) - METHOD handle( nIndex ) INLINE Qt_QSplitter_handle( ::pPtr, nIndex ) - METHOD handleWidth() INLINE Qt_QSplitter_handleWidth( ::pPtr ) - METHOD indexOf( pWidget ) INLINE Qt_QSplitter_indexOf( ::pPtr, pWidget ) - METHOD insertWidget( nIndex, pWidget ) INLINE Qt_QSplitter_insertWidget( ::pPtr, nIndex, pWidget ) - METHOD isCollapsible( nIndex ) INLINE Qt_QSplitter_isCollapsible( ::pPtr, nIndex ) - METHOD opaqueResize() INLINE Qt_QSplitter_opaqueResize( ::pPtr ) - METHOD orientation() INLINE Qt_QSplitter_orientation( ::pPtr ) - METHOD refresh() INLINE Qt_QSplitter_refresh( ::pPtr ) - METHOD restoreState( pState ) INLINE Qt_QSplitter_restoreState( ::pPtr, pState ) - METHOD saveState() INLINE Qt_QSplitter_saveState( ::pPtr ) - METHOD setChildrenCollapsible( lBool ) INLINE Qt_QSplitter_setChildrenCollapsible( ::pPtr, lBool ) - METHOD setCollapsible( nIndex, lCollapse ) INLINE Qt_QSplitter_setCollapsible( ::pPtr, nIndex, lCollapse ) - METHOD setHandleWidth( nInt ) INLINE Qt_QSplitter_setHandleWidth( ::pPtr, nInt ) - METHOD setOpaqueResize( lOpaque ) INLINE Qt_QSplitter_setOpaqueResize( ::pPtr, lOpaque ) - METHOD setOrientation( nQt_Orientation ) INLINE Qt_QSplitter_setOrientation( ::pPtr, nQt_Orientation ) - METHOD setStretchFactor( nIndex, nStretch ) INLINE Qt_QSplitter_setStretchFactor( ::pPtr, nIndex, nStretch ) - METHOD widget( nIndex ) INLINE Qt_QSplitter_widget( ::pPtr, nIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSplitter - - ::pParent := pParent - - ::pPtr := Qt_QSplitter( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSplitter - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStandardItem.prg b/harbour/contrib/hbqt/TQStandardItem.prg deleted file mode 100644 index ac9bfa2fbd..0000000000 --- a/harbour/contrib/hbqt/TQStandardItem.prg +++ /dev/null @@ -1,170 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStandardItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD accessibleDescription() INLINE Qt_QStandardItem_accessibleDescription( ::pPtr ) - METHOD accessibleText() INLINE Qt_QStandardItem_accessibleText( ::pPtr ) - METHOD appendRow( pItem ) INLINE Qt_QStandardItem_appendRow( ::pPtr, pItem ) - METHOD background() INLINE Qt_QStandardItem_background( ::pPtr ) - METHOD checkState() INLINE Qt_QStandardItem_checkState( ::pPtr ) - METHOD child( nRow, nColumn ) INLINE Qt_QStandardItem_child( ::pPtr, nRow, nColumn ) - METHOD clone() INLINE Qt_QStandardItem_clone( ::pPtr ) - METHOD column() INLINE Qt_QStandardItem_column( ::pPtr ) - METHOD columnCount() INLINE Qt_QStandardItem_columnCount( ::pPtr ) - METHOD data( nRole ) INLINE Qt_QStandardItem_data( ::pPtr, nRole ) - METHOD flags() INLINE Qt_QStandardItem_flags( ::pPtr ) - METHOD font() INLINE Qt_QStandardItem_font( ::pPtr ) - METHOD foreground() INLINE Qt_QStandardItem_foreground( ::pPtr ) - METHOD hasChildren() INLINE Qt_QStandardItem_hasChildren( ::pPtr ) - METHOD icon() INLINE Qt_QStandardItem_icon( ::pPtr ) - METHOD index() INLINE Qt_QStandardItem_index( ::pPtr ) - METHOD insertColumns( nColumn, nCount ) INLINE Qt_QStandardItem_insertColumns( ::pPtr, nColumn, nCount ) - METHOD insertRow( nRow, pItem ) INLINE Qt_QStandardItem_insertRow( ::pPtr, nRow, pItem ) - METHOD insertRows( nRow, nCount ) INLINE Qt_QStandardItem_insertRows( ::pPtr, nRow, nCount ) - METHOD isCheckable() INLINE Qt_QStandardItem_isCheckable( ::pPtr ) - METHOD isDragEnabled() INLINE Qt_QStandardItem_isDragEnabled( ::pPtr ) - METHOD isDropEnabled() INLINE Qt_QStandardItem_isDropEnabled( ::pPtr ) - METHOD isEditable() INLINE Qt_QStandardItem_isEditable( ::pPtr ) - METHOD isEnabled() INLINE Qt_QStandardItem_isEnabled( ::pPtr ) - METHOD isSelectable() INLINE Qt_QStandardItem_isSelectable( ::pPtr ) - METHOD isTristate() INLINE Qt_QStandardItem_isTristate( ::pPtr ) - METHOD model() INLINE Qt_QStandardItem_model( ::pPtr ) - METHOD parent() INLINE Qt_QStandardItem_parent( ::pPtr ) - METHOD read( pIn ) INLINE Qt_QStandardItem_read( ::pPtr, pIn ) - METHOD removeColumn( nColumn ) INLINE Qt_QStandardItem_removeColumn( ::pPtr, nColumn ) - METHOD removeColumns( nColumn, nCount ) INLINE Qt_QStandardItem_removeColumns( ::pPtr, nColumn, nCount ) - METHOD removeRow( nRow ) INLINE Qt_QStandardItem_removeRow( ::pPtr, nRow ) - METHOD removeRows( nRow, nCount ) INLINE Qt_QStandardItem_removeRows( ::pPtr, nRow, nCount ) - METHOD row() INLINE Qt_QStandardItem_row( ::pPtr ) - METHOD rowCount() INLINE Qt_QStandardItem_rowCount( ::pPtr ) - METHOD setAccessibleDescription( cAccessibleDescription ) INLINE Qt_QStandardItem_setAccessibleDescription( ::pPtr, cAccessibleDescription ) - METHOD setAccessibleText( cAccessibleText ) INLINE Qt_QStandardItem_setAccessibleText( ::pPtr, cAccessibleText ) - METHOD setBackground( pBrush ) INLINE Qt_QStandardItem_setBackground( ::pPtr, pBrush ) - METHOD setCheckState( nState ) INLINE Qt_QStandardItem_setCheckState( ::pPtr, nState ) - METHOD setCheckable( lCheckable ) INLINE Qt_QStandardItem_setCheckable( ::pPtr, lCheckable ) - METHOD setChild( nRow, nColumn, pItem ) INLINE Qt_QStandardItem_setChild( ::pPtr, nRow, nColumn, pItem ) - METHOD setChild_1( nRow, pItem ) INLINE Qt_QStandardItem_setChild_1( ::pPtr, nRow, pItem ) - METHOD setColumnCount( nColumns ) INLINE Qt_QStandardItem_setColumnCount( ::pPtr, nColumns ) - METHOD setData( pValue, nRole ) INLINE Qt_QStandardItem_setData( ::pPtr, pValue, nRole ) - METHOD setDragEnabled( lDragEnabled ) INLINE Qt_QStandardItem_setDragEnabled( ::pPtr, lDragEnabled ) - METHOD setDropEnabled( lDropEnabled ) INLINE Qt_QStandardItem_setDropEnabled( ::pPtr, lDropEnabled ) - METHOD setEditable( lEditable ) INLINE Qt_QStandardItem_setEditable( ::pPtr, lEditable ) - METHOD setEnabled( lEnabled ) INLINE Qt_QStandardItem_setEnabled( ::pPtr, lEnabled ) - METHOD setFlags( nFlags ) INLINE Qt_QStandardItem_setFlags( ::pPtr, nFlags ) - METHOD setFont( pFont ) INLINE Qt_QStandardItem_setFont( ::pPtr, pFont ) - METHOD setForeground( pBrush ) INLINE Qt_QStandardItem_setForeground( ::pPtr, pBrush ) - METHOD setIcon( cIcon ) INLINE Qt_QStandardItem_setIcon( ::pPtr, cIcon ) - METHOD setRowCount( nRows ) INLINE Qt_QStandardItem_setRowCount( ::pPtr, nRows ) - METHOD setSelectable( lSelectable ) INLINE Qt_QStandardItem_setSelectable( ::pPtr, lSelectable ) - METHOD setSizeHint( pSize ) INLINE Qt_QStandardItem_setSizeHint( ::pPtr, pSize ) - METHOD setStatusTip( cStatusTip ) INLINE Qt_QStandardItem_setStatusTip( ::pPtr, cStatusTip ) - METHOD setText( cText ) INLINE Qt_QStandardItem_setText( ::pPtr, cText ) - METHOD setTextAlignment( nAlignment ) INLINE Qt_QStandardItem_setTextAlignment( ::pPtr, nAlignment ) - METHOD setToolTip( cToolTip ) INLINE Qt_QStandardItem_setToolTip( ::pPtr, cToolTip ) - METHOD setTristate( lTristate ) INLINE Qt_QStandardItem_setTristate( ::pPtr, lTristate ) - METHOD setWhatsThis( cWhatsThis ) INLINE Qt_QStandardItem_setWhatsThis( ::pPtr, cWhatsThis ) - METHOD sizeHint() INLINE Qt_QStandardItem_sizeHint( ::pPtr ) - METHOD sortChildren( nColumn, nOrder ) INLINE Qt_QStandardItem_sortChildren( ::pPtr, nColumn, nOrder ) - METHOD statusTip() INLINE Qt_QStandardItem_statusTip( ::pPtr ) - METHOD takeChild( nRow, nColumn ) INLINE Qt_QStandardItem_takeChild( ::pPtr, nRow, nColumn ) - METHOD text() INLINE Qt_QStandardItem_text( ::pPtr ) - METHOD textAlignment() INLINE Qt_QStandardItem_textAlignment( ::pPtr ) - METHOD toolTip() INLINE Qt_QStandardItem_toolTip( ::pPtr ) - METHOD type() INLINE Qt_QStandardItem_type( ::pPtr ) - METHOD whatsThis() INLINE Qt_QStandardItem_whatsThis( ::pPtr ) - METHOD write( pOut ) INLINE Qt_QStandardItem_write( ::pPtr, pOut ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStandardItem - - ::pParent := pParent - - ::pPtr := Qt_QStandardItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStandardItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStandardItemModel.prg b/harbour/contrib/hbqt/TQStandardItemModel.prg deleted file mode 100644 index fa536eaab3..0000000000 --- a/harbour/contrib/hbqt/TQStandardItemModel.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStandardItemModel INHERIT QAbstractItemModeL - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD appendRow( pItem ) INLINE Qt_QStandardItemModel_appendRow( ::pPtr, pItem ) - METHOD clear() INLINE Qt_QStandardItemModel_clear( ::pPtr ) - METHOD horizontalHeaderItem( nColumn ) INLINE Qt_QStandardItemModel_horizontalHeaderItem( ::pPtr, nColumn ) - METHOD indexFromItem( pItem ) INLINE Qt_QStandardItemModel_indexFromItem( ::pPtr, pItem ) - METHOD insertColumn( nColumn, pParent ) INLINE Qt_QStandardItemModel_insertColumn( ::pPtr, nColumn, pParent ) - METHOD insertRow( nRow, pParent ) INLINE Qt_QStandardItemModel_insertRow( ::pPtr, nRow, pParent ) - METHOD insertRow_1( nRow, pItem ) INLINE Qt_QStandardItemModel_insertRow_1( ::pPtr, nRow, pItem ) - METHOD invisibleRootItem() INLINE Qt_QStandardItemModel_invisibleRootItem( ::pPtr ) - METHOD item( nRow, nColumn ) INLINE Qt_QStandardItemModel_item( ::pPtr, nRow, nColumn ) - METHOD itemFromIndex( pIndex ) INLINE Qt_QStandardItemModel_itemFromIndex( ::pPtr, pIndex ) - METHOD itemPrototype() INLINE Qt_QStandardItemModel_itemPrototype( ::pPtr ) - METHOD setColumnCount( nColumns ) INLINE Qt_QStandardItemModel_setColumnCount( ::pPtr, nColumns ) - METHOD setHorizontalHeaderItem( nColumn, pItem ) INLINE Qt_QStandardItemModel_setHorizontalHeaderItem( ::pPtr, nColumn, pItem ) - METHOD setHorizontalHeaderLabels( pLabels ) INLINE Qt_QStandardItemModel_setHorizontalHeaderLabels( ::pPtr, pLabels ) - METHOD setItem( nRow, nColumn, pItem ) INLINE Qt_QStandardItemModel_setItem( ::pPtr, nRow, nColumn, pItem ) - METHOD setItem_1( nRow, pItem ) INLINE Qt_QStandardItemModel_setItem_1( ::pPtr, nRow, pItem ) - METHOD setItemPrototype( pItem ) INLINE Qt_QStandardItemModel_setItemPrototype( ::pPtr, pItem ) - METHOD setRowCount( nRows ) INLINE Qt_QStandardItemModel_setRowCount( ::pPtr, nRows ) - METHOD setSortRole( nRole ) INLINE Qt_QStandardItemModel_setSortRole( ::pPtr, nRole ) - METHOD setVerticalHeaderItem( nRow, pItem ) INLINE Qt_QStandardItemModel_setVerticalHeaderItem( ::pPtr, nRow, pItem ) - METHOD setVerticalHeaderLabels( pLabels ) INLINE Qt_QStandardItemModel_setVerticalHeaderLabels( ::pPtr, pLabels ) - METHOD sortRole() INLINE Qt_QStandardItemModel_sortRole( ::pPtr ) - METHOD takeHorizontalHeaderItem( nColumn ) INLINE Qt_QStandardItemModel_takeHorizontalHeaderItem( ::pPtr, nColumn ) - METHOD takeItem( nRow, nColumn ) INLINE Qt_QStandardItemModel_takeItem( ::pPtr, nRow, nColumn ) - METHOD takeVerticalHeaderItem( nRow ) INLINE Qt_QStandardItemModel_takeVerticalHeaderItem( ::pPtr, nRow ) - METHOD verticalHeaderItem( nRow ) INLINE Qt_QStandardItemModel_verticalHeaderItem( ::pPtr, nRow ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStandardItemModel - - ::pParent := pParent - - ::pPtr := Qt_QStandardItemModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStandardItemModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStatusBar.prg b/harbour/contrib/hbqt/TQStatusBar.prg deleted file mode 100644 index 170a43e935..0000000000 --- a/harbour/contrib/hbqt/TQStatusBar.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStatusBar INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addPermanentWidget( pWidget, nStretch ) INLINE Qt_QStatusBar_addPermanentWidget( ::pPtr, pWidget, nStretch ) - METHOD addWidget( pWidget, nStretch ) INLINE Qt_QStatusBar_addWidget( ::pPtr, pWidget, nStretch ) - METHOD currentMessage() INLINE Qt_QStatusBar_currentMessage( ::pPtr ) - METHOD insertPermanentWidget( nIndex, pWidget, nStretch ) INLINE Qt_QStatusBar_insertPermanentWidget( ::pPtr, nIndex, pWidget, nStretch ) - METHOD insertWidget( nIndex, pWidget, nStretch ) INLINE Qt_QStatusBar_insertWidget( ::pPtr, nIndex, pWidget, nStretch ) - METHOD isSizeGripEnabled() INLINE Qt_QStatusBar_isSizeGripEnabled( ::pPtr ) - METHOD removeWidget( pWidget ) INLINE Qt_QStatusBar_removeWidget( ::pPtr, pWidget ) - METHOD setSizeGripEnabled( lBool ) INLINE Qt_QStatusBar_setSizeGripEnabled( ::pPtr, lBool ) - METHOD clearMessage() INLINE Qt_QStatusBar_clearMessage( ::pPtr ) - METHOD showMessage( cMessage, nTimeout ) INLINE Qt_QStatusBar_showMessage( ::pPtr, cMessage, nTimeout ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStatusBar - - ::pParent := pParent - - ::pPtr := Qt_QStatusBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStatusBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStringList.prg b/harbour/contrib/hbqt/TQStringList.prg deleted file mode 100644 index 9e4ae8d1db..0000000000 --- a/harbour/contrib/hbqt/TQStringList.prg +++ /dev/null @@ -1,134 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStringList INHERIT QList - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD append( cValue ) INLINE Qt_QStringList_append( ::pPtr, cValue ) - METHOD filter( cStr, nCs ) INLINE Qt_QStringList_filter( ::pPtr, cStr, nCs ) - METHOD filter_1( pRx ) INLINE Qt_QStringList_filter_1( ::pPtr, pRx ) - METHOD indexOf( cValue, nFrom ) INLINE Qt_QStringList_indexOf( ::pPtr, cValue, nFrom ) - METHOD indexOf_1( pRx, nFrom ) INLINE Qt_QStringList_indexOf_1( ::pPtr, pRx, nFrom ) - METHOD indexOf_2( pRx, nFrom ) INLINE Qt_QStringList_indexOf_2( ::pPtr, pRx, nFrom ) - METHOD join( cSeparator ) INLINE Qt_QStringList_join( ::pPtr, cSeparator ) - METHOD lastIndexOf( pRx, nFrom ) INLINE Qt_QStringList_lastIndexOf( ::pPtr, pRx, nFrom ) - METHOD lastIndexOf_1( cValue, nFrom ) INLINE Qt_QStringList_lastIndexOf_1( ::pPtr, cValue, nFrom ) - METHOD lastIndexOf_2( pRx, nFrom ) INLINE Qt_QStringList_lastIndexOf_2( ::pPtr, pRx, nFrom ) - METHOD removeDuplicates() INLINE Qt_QStringList_removeDuplicates( ::pPtr ) - METHOD sort() INLINE Qt_QStringList_sort( ::pPtr ) - METHOD at( nI ) INLINE Qt_QStringList_at( ::pPtr, nI ) - METHOD back() INLINE Qt_QStringList_back( ::pPtr ) - METHOD count( cValue ) INLINE Qt_QStringList_count( ::pPtr, cValue ) - METHOD endsWith( cValue ) INLINE Qt_QStringList_endsWith( ::pPtr, cValue ) - METHOD first() INLINE Qt_QStringList_first( ::pPtr ) - METHOD first_1() INLINE Qt_QStringList_first_1( ::pPtr ) - METHOD front() INLINE Qt_QStringList_front( ::pPtr ) - METHOD front_1() INLINE Qt_QStringList_front_1( ::pPtr ) - METHOD insert( nI, cValue ) INLINE Qt_QStringList_insert( ::pPtr, nI, cValue ) - METHOD last() INLINE Qt_QStringList_last( ::pPtr ) - METHOD last_1() INLINE Qt_QStringList_last_1( ::pPtr ) - METHOD prepend( cValue ) INLINE Qt_QStringList_prepend( ::pPtr, cValue ) - METHOD push_back( cValue ) INLINE Qt_QStringList_push_back( ::pPtr, cValue ) - METHOD push_front( cValue ) INLINE Qt_QStringList_push_front( ::pPtr, cValue ) - METHOD removeAll( cValue ) INLINE Qt_QStringList_removeAll( ::pPtr, cValue ) - METHOD removeOne( cValue ) INLINE Qt_QStringList_removeOne( ::pPtr, cValue ) - METHOD replace( nI, cValue ) INLINE Qt_QStringList_replace( ::pPtr, nI, cValue ) - METHOD startsWith( cValue ) INLINE Qt_QStringList_startsWith( ::pPtr, cValue ) - METHOD takeAt( nI ) INLINE Qt_QStringList_takeAt( ::pPtr, nI ) - METHOD takeFirst() INLINE Qt_QStringList_takeFirst( ::pPtr ) - METHOD takeLast() INLINE Qt_QStringList_takeLast( ::pPtr ) - METHOD value( nI ) INLINE Qt_QStringList_value( ::pPtr, nI ) - METHOD value_1( nI, cDefaultValue ) INLINE Qt_QStringList_value_1( ::pPtr, nI, cDefaultValue ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStringList - - ::pParent := pParent - - ::pPtr := Qt_QStringList( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStringList - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStringListModel.prg b/harbour/contrib/hbqt/TQStringListModel.prg deleted file mode 100644 index 08ee26bb4f..0000000000 --- a/harbour/contrib/hbqt/TQStringListModel.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStringListModel INHERIT QAbstractListModel - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD data( pIndex, nRole ) INLINE Qt_QStringListModel_data( ::pPtr, pIndex, nRole ) - METHOD flags( pIndex ) INLINE Qt_QStringListModel_flags( ::pPtr, pIndex ) - METHOD insertRows( nRow, nCount, pParent ) INLINE Qt_QStringListModel_insertRows( ::pPtr, nRow, nCount, pParent ) - METHOD removeRows( nRow, nCount, pParent ) INLINE Qt_QStringListModel_removeRows( ::pPtr, nRow, nCount, pParent ) - METHOD rowCount( pParent ) INLINE Qt_QStringListModel_rowCount( ::pPtr, pParent ) - METHOD setData( pIndex, pValue, nRole ) INLINE Qt_QStringListModel_setData( ::pPtr, pIndex, pValue, nRole ) - METHOD setStringList( pStrings ) INLINE Qt_QStringListModel_setStringList( ::pPtr, pStrings ) - METHOD stringList() INLINE Qt_QStringListModel_stringList( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStringListModel - - ::pParent := pParent - - ::pPtr := Qt_QStringListModel( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStringListModel - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyle.prg b/harbour/contrib/hbqt/TQStyle.prg deleted file mode 100644 index a8c05001c3..0000000000 --- a/harbour/contrib/hbqt/TQStyle.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyle INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD combinedLayoutSpacing( nControls1, nControls2, nOrientation, pOption, pWidget ) INLINE Qt_QStyle_combinedLayoutSpacing( ::pPtr, nControls1, nControls2, nOrientation, pOption, pWidget ) - METHOD drawComplexControl( nControl, pOption, pPainter, pWidget ) INLINE Qt_QStyle_drawComplexControl( ::pPtr, nControl, pOption, pPainter, pWidget ) - METHOD drawControl( nElement, pOption, pPainter, pWidget ) INLINE Qt_QStyle_drawControl( ::pPtr, nElement, pOption, pPainter, pWidget ) - METHOD drawItemPixmap( pPainter, pRectangle, nAlignment, pPixmap ) INLINE Qt_QStyle_drawItemPixmap( ::pPtr, pPainter, pRectangle, nAlignment, pPixmap ) - METHOD drawItemText( pPainter, pRectangle, nAlignment, pPalette, lEnabled, cText, nTextRole ) INLINE Qt_QStyle_drawItemText( ::pPtr, pPainter, pRectangle, nAlignment, pPalette, lEnabled, cText, nTextRole ) - METHOD drawPrimitive( nElement, pOption, pPainter, pWidget ) INLINE Qt_QStyle_drawPrimitive( ::pPtr, nElement, pOption, pPainter, pWidget ) - METHOD generatedIconPixmap( nIconMode, pPixmap, pOption ) INLINE Qt_QStyle_generatedIconPixmap( ::pPtr, nIconMode, pPixmap, pOption ) - METHOD hitTestComplexControl( nControl, pOption, pPosition, pWidget ) INLINE Qt_QStyle_hitTestComplexControl( ::pPtr, nControl, pOption, pPosition, pWidget ) - METHOD itemPixmapRect( pRectangle, nAlignment, pPixmap ) INLINE Qt_QStyle_itemPixmapRect( ::pPtr, pRectangle, nAlignment, pPixmap ) - METHOD itemTextRect( pMetrics, pRectangle, nAlignment, lEnabled, cText ) INLINE Qt_QStyle_itemTextRect( ::pPtr, pMetrics, pRectangle, nAlignment, lEnabled, cText ) - METHOD layoutSpacing( nControl1, nControl2, nOrientation, pOption, pWidget ) INLINE Qt_QStyle_layoutSpacing( ::pPtr, nControl1, nControl2, nOrientation, pOption, pWidget ) - METHOD pixelMetric( nMetric, pOption, pWidget ) INLINE Qt_QStyle_pixelMetric( ::pPtr, nMetric, pOption, pWidget ) - METHOD polish( pWidget ) INLINE Qt_QStyle_polish( ::pPtr, pWidget ) - METHOD polish_1( pApplication ) INLINE Qt_QStyle_polish_1( ::pPtr, pApplication ) - METHOD polish_2( pPalette ) INLINE Qt_QStyle_polish_2( ::pPtr, pPalette ) - METHOD sizeFromContents( nType, pOption, pContentsSize, pWidget ) INLINE Qt_QStyle_sizeFromContents( ::pPtr, nType, pOption, pContentsSize, pWidget ) - METHOD standardIcon( nStandardIcon, pOption, pWidget ) INLINE Qt_QStyle_standardIcon( ::pPtr, nStandardIcon, pOption, pWidget ) - METHOD standardPalette() INLINE Qt_QStyle_standardPalette( ::pPtr ) - METHOD styleHint( nHint, pOption, pWidget, pReturnData ) INLINE Qt_QStyle_styleHint( ::pPtr, nHint, pOption, pWidget, pReturnData ) - METHOD subControlRect( nControl, pOption, nSubControl, pWidget ) INLINE Qt_QStyle_subControlRect( ::pPtr, nControl, pOption, nSubControl, pWidget ) - METHOD subElementRect( nElement, pOption, pWidget ) INLINE Qt_QStyle_subElementRect( ::pPtr, nElement, pOption, pWidget ) - METHOD unpolish( pWidget ) INLINE Qt_QStyle_unpolish( ::pPtr, pWidget ) - METHOD unpolish_1( pApplication ) INLINE Qt_QStyle_unpolish_1( ::pPtr, pApplication ) - METHOD alignedRect( nDirection, nAlignment, pSize, pRectangle ) INLINE Qt_QStyle_alignedRect( ::pPtr, nDirection, nAlignment, pSize, pRectangle ) - METHOD sliderPositionFromValue( nMin, nMax, nLogicalValue, nSpan, lUpsideDown ) INLINE Qt_QStyle_sliderPositionFromValue( ::pPtr, nMin, nMax, nLogicalValue, nSpan, lUpsideDown ) - METHOD sliderValueFromPosition( nMin, nMax, nPosition, nSpan, lUpsideDown ) INLINE Qt_QStyle_sliderValueFromPosition( ::pPtr, nMin, nMax, nPosition, nSpan, lUpsideDown ) - METHOD visualAlignment( nDirection, nAlignment ) INLINE Qt_QStyle_visualAlignment( ::pPtr, nDirection, nAlignment ) - METHOD visualPos( nDirection, pBoundingRectangle, pLogicalPosition ) INLINE Qt_QStyle_visualPos( ::pPtr, nDirection, pBoundingRectangle, pLogicalPosition ) - METHOD visualRect( nDirection, pBoundingRectangle, pLogicalRectangle ) INLINE Qt_QStyle_visualRect( ::pPtr, nDirection, pBoundingRectangle, pLogicalRectangle ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyle - - ::pParent := pParent - - ::pPtr := Qt_QStyle( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyle - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleFactory.prg b/harbour/contrib/hbqt/TQStyleFactory.prg deleted file mode 100644 index 3339297bb3..0000000000 --- a/harbour/contrib/hbqt/TQStyleFactory.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleFactory - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD create( cKey ) INLINE Qt_QStyleFactory_create( ::pPtr, cKey ) - METHOD keys() INLINE Qt_QStyleFactory_keys( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleFactory - - ::pParent := pParent - - ::pPtr := Qt_QStyleFactory( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleFactory - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleHintReturn.prg b/harbour/contrib/hbqt/TQStyleHintReturn.prg deleted file mode 100644 index 32ef97565f..0000000000 --- a/harbour/contrib/hbqt/TQStyleHintReturn.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleHintReturn - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleHintReturn - - ::pParent := pParent - - ::pPtr := Qt_QStyleHintReturn( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleHintReturn - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleHintReturnMask.prg b/harbour/contrib/hbqt/TQStyleHintReturnMask.prg deleted file mode 100644 index 96b90f552f..0000000000 --- a/harbour/contrib/hbqt/TQStyleHintReturnMask.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleHintReturnMask INHERIT QStyleHintReturn - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleHintReturnMask - - ::pParent := pParent - - ::pPtr := Qt_QStyleHintReturnMask( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleHintReturnMask - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleHintReturnVariant.prg b/harbour/contrib/hbqt/TQStyleHintReturnVariant.prg deleted file mode 100644 index 76f3d8a383..0000000000 --- a/harbour/contrib/hbqt/TQStyleHintReturnVariant.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleHintReturnVariant INHERIT QStyleHintReturn - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleHintReturnVariant - - ::pParent := pParent - - ::pPtr := Qt_QStyleHintReturnVariant( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleHintReturnVariant - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOption.prg b/harbour/contrib/hbqt/TQStyleOption.prg deleted file mode 100644 index 57e33d9386..0000000000 --- a/harbour/contrib/hbqt/TQStyleOption.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD initFrom( pWidget ) INLINE Qt_QStyleOption_initFrom( ::pPtr, pWidget ) - METHOD direction() INLINE Qt_QStyleOption_direction( ::pPtr ) - METHOD fontMetrics() INLINE Qt_QStyleOption_fontMetrics( ::pPtr ) - METHOD palette() INLINE Qt_QStyleOption_palette( ::pPtr ) - METHOD rect() INLINE Qt_QStyleOption_rect( ::pPtr ) - METHOD state() INLINE Qt_QStyleOption_state( ::pPtr ) - METHOD type() INLINE Qt_QStyleOption_type( ::pPtr ) - METHOD version() INLINE Qt_QStyleOption_version( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOption - - ::pParent := pParent - - ::pPtr := Qt_QStyleOption( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOption - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionButton.prg b/harbour/contrib/hbqt/TQStyleOptionButton.prg deleted file mode 100644 index 2db8d9e722..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionButton.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionButton INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD features() INLINE Qt_QStyleOptionButton_features( ::pPtr ) - METHOD icon() INLINE Qt_QStyleOptionButton_icon( ::pPtr ) - METHOD iconSize() INLINE Qt_QStyleOptionButton_iconSize( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionButton_text( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionButton - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionComboBox.prg b/harbour/contrib/hbqt/TQStyleOptionComboBox.prg deleted file mode 100644 index 1741dd2b76..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionComboBox.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionComboBox INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD currentIcon() INLINE Qt_QStyleOptionComboBox_currentIcon( ::pPtr ) - METHOD currentText() INLINE Qt_QStyleOptionComboBox_currentText( ::pPtr ) - METHOD editable() INLINE Qt_QStyleOptionComboBox_editable( ::pPtr ) - METHOD frame() INLINE Qt_QStyleOptionComboBox_frame( ::pPtr ) - METHOD iconSize() INLINE Qt_QStyleOptionComboBox_iconSize( ::pPtr ) - METHOD popupRect() INLINE Qt_QStyleOptionComboBox_popupRect( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionComboBox - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionComboBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionComboBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionComplex.prg b/harbour/contrib/hbqt/TQStyleOptionComplex.prg deleted file mode 100644 index 7dd6200cea..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionComplex.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionComplex INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD activeSubControls() INLINE Qt_QStyleOptionComplex_activeSubControls( ::pPtr ) - METHOD subControls() INLINE Qt_QStyleOptionComplex_subControls( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionComplex - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionComplex( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionComplex - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionDockWidget.prg b/harbour/contrib/hbqt/TQStyleOptionDockWidget.prg deleted file mode 100644 index 0c738db4b6..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionDockWidget.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionDockWidget INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD closable() INLINE Qt_QStyleOptionDockWidget_closable( ::pPtr ) - METHOD floatable() INLINE Qt_QStyleOptionDockWidget_floatable( ::pPtr ) - METHOD movable() INLINE Qt_QStyleOptionDockWidget_movable( ::pPtr ) - METHOD title() INLINE Qt_QStyleOptionDockWidget_title( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionDockWidget - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionDockWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionDockWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionFocusRect.prg b/harbour/contrib/hbqt/TQStyleOptionFocusRect.prg deleted file mode 100644 index 444314e532..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionFocusRect.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionFocusRect INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD backgroundColor() INLINE Qt_QStyleOptionFocusRect_backgroundColor( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionFocusRect - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionFocusRect( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionFocusRect - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionFrame.prg b/harbour/contrib/hbqt/TQStyleOptionFrame.prg deleted file mode 100644 index b537c80e1f..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionFrame.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionFrame INHERIT qStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD lineWidth() INLINE Qt_QStyleOptionFrame_lineWidth( ::pPtr ) - METHOD midLineWidth() INLINE Qt_QStyleOptionFrame_midLineWidth( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionFrame - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionFrame( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionFrame - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionGroupBox.prg b/harbour/contrib/hbqt/TQStyleOptionGroupBox.prg deleted file mode 100644 index 0b614393dc..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionGroupBox.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionGroupBox INHERIT QStyleOptionComplex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD features() INLINE Qt_QStyleOptionGroupBox_features( ::pPtr ) - METHOD lineWidth() INLINE Qt_QStyleOptionGroupBox_lineWidth( ::pPtr ) - METHOD midLineWidth() INLINE Qt_QStyleOptionGroupBox_midLineWidth( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionGroupBox_text( ::pPtr ) - METHOD textAlignment() INLINE Qt_QStyleOptionGroupBox_textAlignment( ::pPtr ) - METHOD textColor() INLINE Qt_QStyleOptionGroupBox_textColor( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionGroupBox - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionGroupBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionGroupBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionHeader.prg b/harbour/contrib/hbqt/TQStyleOptionHeader.prg deleted file mode 100644 index f7e8c8a269..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionHeader.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionHeader INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD icon() INLINE Qt_QStyleOptionHeader_icon( ::pPtr ) - METHOD iconAlignment() INLINE Qt_QStyleOptionHeader_iconAlignment( ::pPtr ) - METHOD orientation() INLINE Qt_QStyleOptionHeader_orientation( ::pPtr ) - METHOD position() INLINE Qt_QStyleOptionHeader_position( ::pPtr ) - METHOD section() INLINE Qt_QStyleOptionHeader_section( ::pPtr ) - METHOD selectedPosition() INLINE Qt_QStyleOptionHeader_selectedPosition( ::pPtr ) - METHOD sortIndicator() INLINE Qt_QStyleOptionHeader_sortIndicator( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionHeader_text( ::pPtr ) - METHOD textAlignment() INLINE Qt_QStyleOptionHeader_textAlignment( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionHeader - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionHeader( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionHeader - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionMenuItem.prg b/harbour/contrib/hbqt/TQStyleOptionMenuItem.prg deleted file mode 100644 index f5a49cb610..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionMenuItem.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionMenuItem INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD checkType() INLINE Qt_QStyleOptionMenuItem_checkType( ::pPtr ) - METHOD checked() INLINE Qt_QStyleOptionMenuItem_checked( ::pPtr ) - METHOD font() INLINE Qt_QStyleOptionMenuItem_font( ::pPtr ) - METHOD icon() INLINE Qt_QStyleOptionMenuItem_icon( ::pPtr ) - METHOD maxIconWidth() INLINE Qt_QStyleOptionMenuItem_maxIconWidth( ::pPtr ) - METHOD menuHasCheckableItems() INLINE Qt_QStyleOptionMenuItem_menuHasCheckableItems( ::pPtr ) - METHOD menuItemType() INLINE Qt_QStyleOptionMenuItem_menuItemType( ::pPtr ) - METHOD menuRect() INLINE Qt_QStyleOptionMenuItem_menuRect( ::pPtr ) - METHOD tabWidth() INLINE Qt_QStyleOptionMenuItem_tabWidth( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionMenuItem_text( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionMenuItem - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionMenuItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionMenuItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionProgressBar.prg b/harbour/contrib/hbqt/TQStyleOptionProgressBar.prg deleted file mode 100644 index 77ad73b831..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionProgressBar.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionProgressBar INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD maximum() INLINE Qt_QStyleOptionProgressBar_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QStyleOptionProgressBar_minimum( ::pPtr ) - METHOD progress() INLINE Qt_QStyleOptionProgressBar_progress( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionProgressBar_text( ::pPtr ) - METHOD textAlignment() INLINE Qt_QStyleOptionProgressBar_textAlignment( ::pPtr ) - METHOD textVisible() INLINE Qt_QStyleOptionProgressBar_textVisible( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionProgressBar - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionProgressBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionProgressBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg b/harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg deleted file mode 100644 index cd52484637..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionSizeGrip INHERIT QStyleOptionComplex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD corner() INLINE Qt_QStyleOptionSizeGrip_corner( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionSizeGrip - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionSizeGrip( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionSizeGrip - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionSlider.prg b/harbour/contrib/hbqt/TQStyleOptionSlider.prg deleted file mode 100644 index 2606261b30..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionSlider.prg +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionSlider INHERIT QStyleOptionComplex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD dialWrapping() INLINE Qt_QStyleOptionSlider_dialWrapping( ::pPtr ) - METHOD maximum() INLINE Qt_QStyleOptionSlider_maximum( ::pPtr ) - METHOD minimum() INLINE Qt_QStyleOptionSlider_minimum( ::pPtr ) - METHOD notchTarget() INLINE Qt_QStyleOptionSlider_notchTarget( ::pPtr ) - METHOD orientation() INLINE Qt_QStyleOptionSlider_orientation( ::pPtr ) - METHOD pageStep() INLINE Qt_QStyleOptionSlider_pageStep( ::pPtr ) - METHOD singleStep() INLINE Qt_QStyleOptionSlider_singleStep( ::pPtr ) - METHOD sliderPosition() INLINE Qt_QStyleOptionSlider_sliderPosition( ::pPtr ) - METHOD sliderValue() INLINE Qt_QStyleOptionSlider_sliderValue( ::pPtr ) - METHOD tickInterval() INLINE Qt_QStyleOptionSlider_tickInterval( ::pPtr ) - METHOD tickPosition() INLINE Qt_QStyleOptionSlider_tickPosition( ::pPtr ) - METHOD upsideDown() INLINE Qt_QStyleOptionSlider_upsideDown( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionSlider - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionSlider( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionSlider - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionSpinBox.prg b/harbour/contrib/hbqt/TQStyleOptionSpinBox.prg deleted file mode 100644 index c7de1f40ee..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionSpinBox.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionSpinBox INHERIT QStyleOptionComplex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD buttonSymbols() INLINE Qt_QStyleOptionSpinBox_buttonSymbols( ::pPtr ) - METHOD frame() INLINE Qt_QStyleOptionSpinBox_frame( ::pPtr ) - METHOD stepEnabled() INLINE Qt_QStyleOptionSpinBox_stepEnabled( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionSpinBox - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionSpinBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionSpinBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionTab.prg b/harbour/contrib/hbqt/TQStyleOptionTab.prg deleted file mode 100644 index af9c860c33..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionTab.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionTab INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD cornerWidgets() INLINE Qt_QStyleOptionTab_cornerWidgets( ::pPtr ) - METHOD icon() INLINE Qt_QStyleOptionTab_icon( ::pPtr ) - METHOD position() INLINE Qt_QStyleOptionTab_position( ::pPtr ) - METHOD row() INLINE Qt_QStyleOptionTab_row( ::pPtr ) - METHOD selectedPosition() INLINE Qt_QStyleOptionTab_selectedPosition( ::pPtr ) - METHOD shape() INLINE Qt_QStyleOptionTab_shape( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionTab_text( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionTab - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionTab( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionTab - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg b/harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg deleted file mode 100644 index 0dfe1c2304..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionTabBarBase INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD selectedTabRect() INLINE Qt_QStyleOptionTabBarBase_selectedTabRect( ::pPtr ) - METHOD shape() INLINE Qt_QStyleOptionTabBarBase_shape( ::pPtr ) - METHOD tabBarRect() INLINE Qt_QStyleOptionTabBarBase_tabBarRect( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionTabBarBase - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionTabBarBase( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionTabBarBase - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg b/harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg deleted file mode 100644 index 8e121e27ec..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionTabWidgetFrame INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD leftCornerWidgetSize() INLINE Qt_QStyleOptionTabWidgetFrame_leftCornerWidgetSize( ::pPtr ) - METHOD lineWidth() INLINE Qt_QStyleOptionTabWidgetFrame_lineWidth( ::pPtr ) - METHOD midLineWidth() INLINE Qt_QStyleOptionTabWidgetFrame_midLineWidth( ::pPtr ) - METHOD rightCornerWidgetSize() INLINE Qt_QStyleOptionTabWidgetFrame_rightCornerWidgetSize( ::pPtr ) - METHOD shape() INLINE Qt_QStyleOptionTabWidgetFrame_shape( ::pPtr ) - METHOD tabBarSize() INLINE Qt_QStyleOptionTabWidgetFrame_tabBarSize( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionTabWidgetFrame - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionTabWidgetFrame( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionTabWidgetFrame - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionTitleBar.prg b/harbour/contrib/hbqt/TQStyleOptionTitleBar.prg deleted file mode 100644 index 9f9cc8b5b4..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionTitleBar.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionTitleBar INHERIT QStyleOptionComplex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD icon() INLINE Qt_QStyleOptionTitleBar_icon( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionTitleBar_text( ::pPtr ) - METHOD titleBarFlags() INLINE Qt_QStyleOptionTitleBar_titleBarFlags( ::pPtr ) - METHOD titleBarState() INLINE Qt_QStyleOptionTitleBar_titleBarState( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionTitleBar - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionTitleBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionTitleBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionToolBar.prg b/harbour/contrib/hbqt/TQStyleOptionToolBar.prg deleted file mode 100644 index 318c3a5a2c..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionToolBar.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionToolBar INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD features() INLINE Qt_QStyleOptionToolBar_features( ::pPtr ) - METHOD lineWidth() INLINE Qt_QStyleOptionToolBar_lineWidth( ::pPtr ) - METHOD midLineWidth() INLINE Qt_QStyleOptionToolBar_midLineWidth( ::pPtr ) - METHOD positionOfLine() INLINE Qt_QStyleOptionToolBar_positionOfLine( ::pPtr ) - METHOD positionWithinLine() INLINE Qt_QStyleOptionToolBar_positionWithinLine( ::pPtr ) - METHOD toolBarArea() INLINE Qt_QStyleOptionToolBar_toolBarArea( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionToolBar - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionToolBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionToolBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionToolBox.prg b/harbour/contrib/hbqt/TQStyleOptionToolBox.prg deleted file mode 100644 index 230411eef9..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionToolBox.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionToolBox INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD icon() INLINE Qt_QStyleOptionToolBox_icon( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionToolBox_text( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionToolBox - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionToolBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionToolBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionToolButton.prg b/harbour/contrib/hbqt/TQStyleOptionToolButton.prg deleted file mode 100644 index 30803906fc..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionToolButton.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionToolButton INHERIT QStyleOptionComplex - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD arrowType() INLINE Qt_QStyleOptionToolButton_arrowType( ::pPtr ) - METHOD features() INLINE Qt_QStyleOptionToolButton_features( ::pPtr ) - METHOD font() INLINE Qt_QStyleOptionToolButton_font( ::pPtr ) - METHOD icon() INLINE Qt_QStyleOptionToolButton_icon( ::pPtr ) - METHOD iconSize() INLINE Qt_QStyleOptionToolButton_iconSize( ::pPtr ) - METHOD pos() INLINE Qt_QStyleOptionToolButton_pos( ::pPtr ) - METHOD text() INLINE Qt_QStyleOptionToolButton_text( ::pPtr ) - METHOD toolButtonStyle() INLINE Qt_QStyleOptionToolButton_toolButtonStyle( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionToolButton - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionToolButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionToolButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyleOptionViewItem.prg b/harbour/contrib/hbqt/TQStyleOptionViewItem.prg deleted file mode 100644 index b704607faf..0000000000 --- a/harbour/contrib/hbqt/TQStyleOptionViewItem.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyleOptionViewItem INHERIT QStyleOption - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD decorationAlignment() INLINE Qt_QStyleOptionViewItem_decorationAlignment( ::pPtr ) - METHOD decorationPosition() INLINE Qt_QStyleOptionViewItem_decorationPosition( ::pPtr ) - METHOD decorationSize() INLINE Qt_QStyleOptionViewItem_decorationSize( ::pPtr ) - METHOD displayAlignment() INLINE Qt_QStyleOptionViewItem_displayAlignment( ::pPtr ) - METHOD font() INLINE Qt_QStyleOptionViewItem_font( ::pPtr ) - METHOD showDecorationSelected() INLINE Qt_QStyleOptionViewItem_showDecorationSelected( ::pPtr ) - METHOD textElideMode() INLINE Qt_QStyleOptionViewItem_textElideMode( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyleOptionViewItem - - ::pParent := pParent - - ::pPtr := Qt_QStyleOptionViewItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyleOptionViewItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStylePainter.prg b/harbour/contrib/hbqt/TQStylePainter.prg deleted file mode 100644 index 8be2192e35..0000000000 --- a/harbour/contrib/hbqt/TQStylePainter.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStylePainter INHERIT QPainter - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD begin( pWidget ) INLINE Qt_QStylePainter_begin( ::pPtr, pWidget ) - METHOD begin_1( pPd, pWidget ) INLINE Qt_QStylePainter_begin_1( ::pPtr, pPd, pWidget ) - METHOD drawComplexControl( nCc, pOption ) INLINE Qt_QStylePainter_drawComplexControl( ::pPtr, nCc, pOption ) - METHOD drawControl( nCe, pOption ) INLINE Qt_QStylePainter_drawControl( ::pPtr, nCe, pOption ) - METHOD drawItemPixmap( pRect, nFlags, pPixmap ) INLINE Qt_QStylePainter_drawItemPixmap( ::pPtr, pRect, nFlags, pPixmap ) - METHOD drawItemText( pRect, nFlags, pPal, lEnabled, cText, nTextRole ) INLINE Qt_QStylePainter_drawItemText( ::pPtr, pRect, nFlags, pPal, lEnabled, cText, nTextRole ) - METHOD drawPrimitive( nPe, pOption ) INLINE Qt_QStylePainter_drawPrimitive( ::pPtr, nPe, pOption ) - METHOD style() INLINE Qt_QStylePainter_style( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStylePainter - - ::pParent := pParent - - ::pPtr := Qt_QStylePainter( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStylePainter - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQStyledItemDelegate.prg b/harbour/contrib/hbqt/TQStyledItemDelegate.prg deleted file mode 100644 index 3610d2703c..0000000000 --- a/harbour/contrib/hbqt/TQStyledItemDelegate.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QStyledItemDelegate - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD createEditor( pParent, pOption, pIndex ) INLINE Qt_QStyledItemDelegate_createEditor( ::pPtr, pParent, pOption, pIndex ) - METHOD displayText( pValue, pLocale ) INLINE Qt_QStyledItemDelegate_displayText( ::pPtr, pValue, pLocale ) - METHOD itemEditorFactory() INLINE Qt_QStyledItemDelegate_itemEditorFactory( ::pPtr ) - METHOD paint( pPainter, pOption, pIndex ) INLINE Qt_QStyledItemDelegate_paint( ::pPtr, pPainter, pOption, pIndex ) - METHOD setEditorData( pEditor, pIndex ) INLINE Qt_QStyledItemDelegate_setEditorData( ::pPtr, pEditor, pIndex ) - METHOD setItemEditorFactory( pFactory ) INLINE Qt_QStyledItemDelegate_setItemEditorFactory( ::pPtr, pFactory ) - METHOD setModelData( pEditor, pModel, pIndex ) INLINE Qt_QStyledItemDelegate_setModelData( ::pPtr, pEditor, pModel, pIndex ) - METHOD sizeHint( pOption, pIndex ) INLINE Qt_QStyledItemDelegate_sizeHint( ::pPtr, pOption, pIndex ) - METHOD updateEditorGeometry( pEditor, pOption, pIndex ) INLINE Qt_QStyledItemDelegate_updateEditorGeometry( ::pPtr, pEditor, pOption, pIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QStyledItemDelegate - - ::pParent := pParent - - ::pPtr := Qt_QStyledItemDelegate( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QStyledItemDelegate - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQSystemTrayIcon.prg b/harbour/contrib/hbqt/TQSystemTrayIcon.prg deleted file mode 100644 index 89feb1e872..0000000000 --- a/harbour/contrib/hbqt/TQSystemTrayIcon.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QSystemTrayIcon INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD contextMenu() INLINE Qt_QSystemTrayIcon_contextMenu( ::pPtr ) - METHOD geometry() INLINE Qt_QSystemTrayIcon_geometry( ::pPtr ) - METHOD icon() INLINE Qt_QSystemTrayIcon_icon( ::pPtr ) - METHOD isVisible() INLINE Qt_QSystemTrayIcon_isVisible( ::pPtr ) - METHOD setContextMenu( pMenu ) INLINE Qt_QSystemTrayIcon_setContextMenu( ::pPtr, pMenu ) - METHOD setIcon( cIcon ) INLINE Qt_QSystemTrayIcon_setIcon( ::pPtr, cIcon ) - METHOD setToolTip( cTip ) INLINE Qt_QSystemTrayIcon_setToolTip( ::pPtr, cTip ) - METHOD showMessage( cTitle, cMessage, nIcon, nMillisecondsTimeoutHint ) INLINE Qt_QSystemTrayIcon_showMessage( ::pPtr, cTitle, cMessage, nIcon, nMillisecondsTimeoutHint ) - METHOD toolTip() INLINE Qt_QSystemTrayIcon_toolTip( ::pPtr ) - METHOD isSystemTrayAvailable() INLINE Qt_QSystemTrayIcon_isSystemTrayAvailable( ::pPtr ) - METHOD supportsMessages() INLINE Qt_QSystemTrayIcon_supportsMessages( ::pPtr ) - METHOD hide() INLINE Qt_QSystemTrayIcon_hide( ::pPtr ) - METHOD setVisible( lVisible ) INLINE Qt_QSystemTrayIcon_setVisible( ::pPtr, lVisible ) - METHOD show() INLINE Qt_QSystemTrayIcon_show( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QSystemTrayIcon - - ::pParent := pParent - - ::pPtr := Qt_QSystemTrayIcon( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QSystemTrayIcon - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTabBar.prg b/harbour/contrib/hbqt/TQTabBar.prg deleted file mode 100644 index 8bbb472410..0000000000 --- a/harbour/contrib/hbqt/TQTabBar.prg +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTabBar INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addTab( cText ) INLINE Qt_QTabBar_addTab( ::pPtr, cText ) - METHOD count() INLINE Qt_QTabBar_count( ::pPtr ) - METHOD currentIndex() INLINE Qt_QTabBar_currentIndex( ::pPtr ) - METHOD documentMode() INLINE Qt_QTabBar_documentMode( ::pPtr ) - METHOD drawBase() INLINE Qt_QTabBar_drawBase( ::pPtr ) - METHOD elideMode() INLINE Qt_QTabBar_elideMode( ::pPtr ) - METHOD expanding() INLINE Qt_QTabBar_expanding( ::pPtr ) - METHOD iconSize() INLINE Qt_QTabBar_iconSize( ::pPtr ) - METHOD insertTab( nIndex, cText ) INLINE Qt_QTabBar_insertTab( ::pPtr, nIndex, cText ) - METHOD isMovable() INLINE Qt_QTabBar_isMovable( ::pPtr ) - METHOD isTabEnabled( nIndex ) INLINE Qt_QTabBar_isTabEnabled( ::pPtr, nIndex ) - METHOD moveTab( nFrom, nTo ) INLINE Qt_QTabBar_moveTab( ::pPtr, nFrom, nTo ) - METHOD removeTab( nIndex ) INLINE Qt_QTabBar_removeTab( ::pPtr, nIndex ) - METHOD selectionBehaviorOnRemove() INLINE Qt_QTabBar_selectionBehaviorOnRemove( ::pPtr ) - METHOD setDocumentMode( lSet ) INLINE Qt_QTabBar_setDocumentMode( ::pPtr, lSet ) - METHOD setDrawBase( lDrawTheBase ) INLINE Qt_QTabBar_setDrawBase( ::pPtr, lDrawTheBase ) - METHOD setElideMode( nQt_TextElideMode ) INLINE Qt_QTabBar_setElideMode( ::pPtr, nQt_TextElideMode ) - METHOD setExpanding( lEnabled ) INLINE Qt_QTabBar_setExpanding( ::pPtr, lEnabled ) - METHOD setIconSize( pSize ) INLINE Qt_QTabBar_setIconSize( ::pPtr, pSize ) - METHOD setMovable( lMovable ) INLINE Qt_QTabBar_setMovable( ::pPtr, lMovable ) - METHOD setSelectionBehaviorOnRemove( nBehavior ) INLINE Qt_QTabBar_setSelectionBehaviorOnRemove( ::pPtr, nBehavior ) - METHOD setShape( nShape ) INLINE Qt_QTabBar_setShape( ::pPtr, nShape ) - METHOD setTabButton( nIndex, nPosition, pWidget ) INLINE Qt_QTabBar_setTabButton( ::pPtr, nIndex, nPosition, pWidget ) - METHOD setTabData( nIndex, pData ) INLINE Qt_QTabBar_setTabData( ::pPtr, nIndex, pData ) - METHOD setTabEnabled( nIndex, lEnabled ) INLINE Qt_QTabBar_setTabEnabled( ::pPtr, nIndex, lEnabled ) - METHOD setTabText( nIndex, cText ) INLINE Qt_QTabBar_setTabText( ::pPtr, nIndex, cText ) - METHOD setTabTextColor( nIndex, pColor ) INLINE Qt_QTabBar_setTabTextColor( ::pPtr, nIndex, pColor ) - METHOD setTabToolTip( nIndex, cTip ) INLINE Qt_QTabBar_setTabToolTip( ::pPtr, nIndex, cTip ) - METHOD setTabWhatsThis( nIndex, cText ) INLINE Qt_QTabBar_setTabWhatsThis( ::pPtr, nIndex, cText ) - METHOD setTabsClosable( lClosable ) INLINE Qt_QTabBar_setTabsClosable( ::pPtr, lClosable ) - METHOD setUsesScrollButtons( lUseButtons ) INLINE Qt_QTabBar_setUsesScrollButtons( ::pPtr, lUseButtons ) - METHOD shape() INLINE Qt_QTabBar_shape( ::pPtr ) - METHOD tabAt( pPosition ) INLINE Qt_QTabBar_tabAt( ::pPtr, pPosition ) - METHOD tabButton( nIndex, nPosition ) INLINE Qt_QTabBar_tabButton( ::pPtr, nIndex, nPosition ) - METHOD tabData( nIndex ) INLINE Qt_QTabBar_tabData( ::pPtr, nIndex ) - METHOD tabIcon( nIndex ) INLINE Qt_QTabBar_tabIcon( ::pPtr, nIndex ) - METHOD tabRect( nIndex ) INLINE Qt_QTabBar_tabRect( ::pPtr, nIndex ) - METHOD tabText( nIndex ) INLINE Qt_QTabBar_tabText( ::pPtr, nIndex ) - METHOD tabTextColor( nIndex ) INLINE Qt_QTabBar_tabTextColor( ::pPtr, nIndex ) - METHOD tabToolTip( nIndex ) INLINE Qt_QTabBar_tabToolTip( ::pPtr, nIndex ) - METHOD tabWhatsThis( nIndex ) INLINE Qt_QTabBar_tabWhatsThis( ::pPtr, nIndex ) - METHOD tabsClosable() INLINE Qt_QTabBar_tabsClosable( ::pPtr ) - METHOD usesScrollButtons() INLINE Qt_QTabBar_usesScrollButtons( ::pPtr ) - METHOD setCurrentIndex( nIndex ) INLINE Qt_QTabBar_setCurrentIndex( ::pPtr, nIndex ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTabBar - - ::pParent := pParent - - ::pPtr := Qt_QTabBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTabBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTabWidget.prg b/harbour/contrib/hbqt/TQTabWidget.prg deleted file mode 100644 index 9fef3c7321..0000000000 --- a/harbour/contrib/hbqt/TQTabWidget.prg +++ /dev/null @@ -1,140 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTabWidget INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addTab( pPage, cLabel ) INLINE Qt_QTabWidget_addTab( ::pPtr, pPage, cLabel ) - METHOD addTab_1( pPage, cIcon, cLabel ) INLINE Qt_QTabWidget_addTab_1( ::pPtr, pPage, cIcon, cLabel ) - METHOD clear() INLINE Qt_QTabWidget_clear( ::pPtr ) - METHOD cornerWidget( nCorner ) INLINE Qt_QTabWidget_cornerWidget( ::pPtr, nCorner ) - METHOD count() INLINE Qt_QTabWidget_count( ::pPtr ) - METHOD currentIndex() INLINE Qt_QTabWidget_currentIndex( ::pPtr ) - METHOD currentWidget() INLINE Qt_QTabWidget_currentWidget( ::pPtr ) - METHOD documentMode() INLINE Qt_QTabWidget_documentMode( ::pPtr ) - METHOD elideMode() INLINE Qt_QTabWidget_elideMode( ::pPtr ) - METHOD iconSize() INLINE Qt_QTabWidget_iconSize( ::pPtr ) - METHOD indexOf( pW ) INLINE Qt_QTabWidget_indexOf( ::pPtr, pW ) - METHOD insertTab( nIndex, pPage, cLabel ) INLINE Qt_QTabWidget_insertTab( ::pPtr, nIndex, pPage, cLabel ) - METHOD insertTab_1( nIndex, pPage, cIcon, cLabel ) INLINE Qt_QTabWidget_insertTab_1( ::pPtr, nIndex, pPage, cIcon, cLabel ) - METHOD isMovable() INLINE Qt_QTabWidget_isMovable( ::pPtr ) - METHOD isTabEnabled( nIndex ) INLINE Qt_QTabWidget_isTabEnabled( ::pPtr, nIndex ) - METHOD removeTab( nIndex ) INLINE Qt_QTabWidget_removeTab( ::pPtr, nIndex ) - METHOD setCornerWidget( pWidget, nCorner ) INLINE Qt_QTabWidget_setCornerWidget( ::pPtr, pWidget, nCorner ) - METHOD setDocumentMode( lSet ) INLINE Qt_QTabWidget_setDocumentMode( ::pPtr, lSet ) - METHOD setElideMode( nQt_TextElideMode ) INLINE Qt_QTabWidget_setElideMode( ::pPtr, nQt_TextElideMode ) - METHOD setIconSize( pSize ) INLINE Qt_QTabWidget_setIconSize( ::pPtr, pSize ) - METHOD setMovable( lMovable ) INLINE Qt_QTabWidget_setMovable( ::pPtr, lMovable ) - METHOD setTabEnabled( nIndex, lEnable ) INLINE Qt_QTabWidget_setTabEnabled( ::pPtr, nIndex, lEnable ) - METHOD setTabIcon( nIndex, cIcon ) INLINE Qt_QTabWidget_setTabIcon( ::pPtr, nIndex, cIcon ) - METHOD setTabPosition( nTabPosition ) INLINE Qt_QTabWidget_setTabPosition( ::pPtr, nTabPosition ) - METHOD setTabShape( nS ) INLINE Qt_QTabWidget_setTabShape( ::pPtr, nS ) - METHOD setTabText( nIndex, cLabel ) INLINE Qt_QTabWidget_setTabText( ::pPtr, nIndex, cLabel ) - METHOD setTabToolTip( nIndex, cTip ) INLINE Qt_QTabWidget_setTabToolTip( ::pPtr, nIndex, cTip ) - METHOD setTabWhatsThis( nIndex, cText ) INLINE Qt_QTabWidget_setTabWhatsThis( ::pPtr, nIndex, cText ) - METHOD setTabsClosable( lCloseable ) INLINE Qt_QTabWidget_setTabsClosable( ::pPtr, lCloseable ) - METHOD setUsesScrollButtons( lUseButtons ) INLINE Qt_QTabWidget_setUsesScrollButtons( ::pPtr, lUseButtons ) - METHOD tabIcon( nIndex ) INLINE Qt_QTabWidget_tabIcon( ::pPtr, nIndex ) - METHOD tabPosition() INLINE Qt_QTabWidget_tabPosition( ::pPtr ) - METHOD tabShape() INLINE Qt_QTabWidget_tabShape( ::pPtr ) - METHOD tabText( nIndex ) INLINE Qt_QTabWidget_tabText( ::pPtr, nIndex ) - METHOD tabToolTip( nIndex ) INLINE Qt_QTabWidget_tabToolTip( ::pPtr, nIndex ) - METHOD tabWhatsThis( nIndex ) INLINE Qt_QTabWidget_tabWhatsThis( ::pPtr, nIndex ) - METHOD tabsClosable() INLINE Qt_QTabWidget_tabsClosable( ::pPtr ) - METHOD usesScrollButtons() INLINE Qt_QTabWidget_usesScrollButtons( ::pPtr ) - METHOD widget( nIndex ) INLINE Qt_QTabWidget_widget( ::pPtr, nIndex ) - METHOD setCurrentIndex( nIndex ) INLINE Qt_QTabWidget_setCurrentIndex( ::pPtr, nIndex ) - METHOD setCurrentWidget( pWidget ) INLINE Qt_QTabWidget_setCurrentWidget( ::pPtr, pWidget ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTabWidget - - ::pParent := pParent - - ::pPtr := Qt_QTabWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTabWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTableView.prg b/harbour/contrib/hbqt/TQTableView.prg deleted file mode 100644 index 817cec12ee..0000000000 --- a/harbour/contrib/hbqt/TQTableView.prg +++ /dev/null @@ -1,151 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTableView INHERIT QAbstractItemView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD clearSpans() INLINE Qt_QTableView_clearSpans( ::pPtr ) - METHOD columnAt( nX ) INLINE Qt_QTableView_columnAt( ::pPtr, nX ) - METHOD columnSpan( nRow, nColumn ) INLINE Qt_QTableView_columnSpan( ::pPtr, nRow, nColumn ) - METHOD columnViewportPosition( nColumn ) INLINE Qt_QTableView_columnViewportPosition( ::pPtr, nColumn ) - METHOD columnWidth( nColumn ) INLINE Qt_QTableView_columnWidth( ::pPtr, nColumn ) - METHOD gridStyle() INLINE Qt_QTableView_gridStyle( ::pPtr ) - METHOD horizontalHeader() INLINE Qt_QTableView_horizontalHeader( ::pPtr ) - METHOD indexAt( pPos ) INLINE Qt_QTableView_indexAt( ::pPtr, pPos ) - METHOD isColumnHidden( nColumn ) INLINE Qt_QTableView_isColumnHidden( ::pPtr, nColumn ) - METHOD isCornerButtonEnabled() INLINE Qt_QTableView_isCornerButtonEnabled( ::pPtr ) - METHOD isRowHidden( nRow ) INLINE Qt_QTableView_isRowHidden( ::pPtr, nRow ) - METHOD isSortingEnabled() INLINE Qt_QTableView_isSortingEnabled( ::pPtr ) - METHOD rowAt( nY ) INLINE Qt_QTableView_rowAt( ::pPtr, nY ) - METHOD rowHeight( nRow ) INLINE Qt_QTableView_rowHeight( ::pPtr, nRow ) - METHOD rowSpan( nRow, nColumn ) INLINE Qt_QTableView_rowSpan( ::pPtr, nRow, nColumn ) - METHOD rowViewportPosition( nRow ) INLINE Qt_QTableView_rowViewportPosition( ::pPtr, nRow ) - METHOD setColumnHidden( nColumn, lHide ) INLINE Qt_QTableView_setColumnHidden( ::pPtr, nColumn, lHide ) - METHOD setColumnWidth( nColumn, nWidth ) INLINE Qt_QTableView_setColumnWidth( ::pPtr, nColumn, nWidth ) - METHOD setCornerButtonEnabled( lEnable ) INLINE Qt_QTableView_setCornerButtonEnabled( ::pPtr, lEnable ) - METHOD setGridStyle( nStyle ) INLINE Qt_QTableView_setGridStyle( ::pPtr, nStyle ) - METHOD setHorizontalHeader( pHeader ) INLINE Qt_QTableView_setHorizontalHeader( ::pPtr, pHeader ) - METHOD setRowHeight( nRow, nHeight ) INLINE Qt_QTableView_setRowHeight( ::pPtr, nRow, nHeight ) - METHOD setRowHidden( nRow, lHide ) INLINE Qt_QTableView_setRowHidden( ::pPtr, nRow, lHide ) - METHOD setSortingEnabled( lEnable ) INLINE Qt_QTableView_setSortingEnabled( ::pPtr, lEnable ) - METHOD setSpan( nRow, nColumn, nRowSpanCount, nColumnSpanCount ) INLINE Qt_QTableView_setSpan( ::pPtr, nRow, nColumn, nRowSpanCount, nColumnSpanCount ) - METHOD setVerticalHeader( pHeader ) INLINE Qt_QTableView_setVerticalHeader( ::pPtr, pHeader ) - METHOD setWordWrap( lOn ) INLINE Qt_QTableView_setWordWrap( ::pPtr, lOn ) - METHOD showGrid() INLINE Qt_QTableView_showGrid( ::pPtr ) - METHOD sortByColumn( nColumn, nOrder ) INLINE Qt_QTableView_sortByColumn( ::pPtr, nColumn, nOrder ) - METHOD verticalHeader() INLINE Qt_QTableView_verticalHeader( ::pPtr ) - METHOD wordWrap() INLINE Qt_QTableView_wordWrap( ::pPtr ) - METHOD hideColumn( nColumn ) INLINE Qt_QTableView_hideColumn( ::pPtr, nColumn ) - METHOD hideRow( nRow ) INLINE Qt_QTableView_hideRow( ::pPtr, nRow ) - METHOD resizeColumnToContents( nColumn ) INLINE Qt_QTableView_resizeColumnToContents( ::pPtr, nColumn ) - METHOD resizeColumnsToContents() INLINE Qt_QTableView_resizeColumnsToContents( ::pPtr ) - METHOD resizeRowToContents( nRow ) INLINE Qt_QTableView_resizeRowToContents( ::pPtr, nRow ) - METHOD resizeRowsToContents() INLINE Qt_QTableView_resizeRowsToContents( ::pPtr ) - METHOD selectColumn( nColumn ) INLINE Qt_QTableView_selectColumn( ::pPtr, nColumn ) - METHOD selectRow( nRow ) INLINE Qt_QTableView_selectRow( ::pPtr, nRow ) - METHOD setShowGrid( lShow ) INLINE Qt_QTableView_setShowGrid( ::pPtr, lShow ) - METHOD showColumn( nColumn ) INLINE Qt_QTableView_showColumn( ::pPtr, nColumn ) - METHOD showRow( nRow ) INLINE Qt_QTableView_showRow( ::pPtr, nRow ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTableView - - ::pParent := pParent - - ::pPtr := Qt_QTableView( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTableView - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ - - -CREATE CLASS HBTableView INHERIT QTableView - - METHOD New( pParent ) INLINE ::pParent := pParent, ::pPtr := Qt_HbTableView( pParent ), Self - METHOD navigate( nCursorAction, nModifiers ) INLINE Qt_HbTableView_navigate( ::pPtr, nCursorAction, nModifiers ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTableWidget.prg b/harbour/contrib/hbqt/TQTableWidget.prg deleted file mode 100644 index 801425c31d..0000000000 --- a/harbour/contrib/hbqt/TQTableWidget.prg +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTableWidget INHERIT QTableView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD cellWidget( nRow, nColumn ) INLINE Qt_QTableWidget_cellWidget( ::pPtr, nRow, nColumn ) - METHOD closePersistentEditor( pItem ) INLINE Qt_QTableWidget_closePersistentEditor( ::pPtr, pItem ) - METHOD column( pItem ) INLINE Qt_QTableWidget_column( ::pPtr, pItem ) - METHOD columnCount() INLINE Qt_QTableWidget_columnCount( ::pPtr ) - METHOD currentColumn() INLINE Qt_QTableWidget_currentColumn( ::pPtr ) - METHOD currentItem() INLINE Qt_QTableWidget_currentItem( ::pPtr ) - METHOD currentRow() INLINE Qt_QTableWidget_currentRow( ::pPtr ) - METHOD editItem( pItem ) INLINE Qt_QTableWidget_editItem( ::pPtr, pItem ) - METHOD horizontalHeaderItem( nColumn ) INLINE Qt_QTableWidget_horizontalHeaderItem( ::pPtr, nColumn ) - METHOD item( nRow, nColumn ) INLINE Qt_QTableWidget_item( ::pPtr, nRow, nColumn ) - METHOD itemAt( pPoint ) INLINE Qt_QTableWidget_itemAt( ::pPtr, pPoint ) - METHOD itemAt_1( nAx, nAy ) INLINE Qt_QTableWidget_itemAt_1( ::pPtr, nAx, nAy ) - METHOD itemPrototype() INLINE Qt_QTableWidget_itemPrototype( ::pPtr ) - METHOD openPersistentEditor( pItem ) INLINE Qt_QTableWidget_openPersistentEditor( ::pPtr, pItem ) - METHOD removeCellWidget( nRow, nColumn ) INLINE Qt_QTableWidget_removeCellWidget( ::pPtr, nRow, nColumn ) - METHOD row( pItem ) INLINE Qt_QTableWidget_row( ::pPtr, pItem ) - METHOD rowCount() INLINE Qt_QTableWidget_rowCount( ::pPtr ) - METHOD setCellWidget( nRow, nColumn, pWidget ) INLINE Qt_QTableWidget_setCellWidget( ::pPtr, nRow, nColumn, pWidget ) - METHOD setColumnCount( nColumns ) INLINE Qt_QTableWidget_setColumnCount( ::pPtr, nColumns ) - METHOD setCurrentCell( nRow, nColumn ) INLINE Qt_QTableWidget_setCurrentCell( ::pPtr, nRow, nColumn ) - METHOD setCurrentCell_1( nRow, nColumn, nCommand ) INLINE Qt_QTableWidget_setCurrentCell_1( ::pPtr, nRow, nColumn, nCommand ) - METHOD setCurrentItem( pItem ) INLINE Qt_QTableWidget_setCurrentItem( ::pPtr, pItem ) - METHOD setCurrentItem_1( pItem, nCommand ) INLINE Qt_QTableWidget_setCurrentItem_1( ::pPtr, pItem, nCommand ) - METHOD setHorizontalHeaderItem( nColumn, pItem ) INLINE Qt_QTableWidget_setHorizontalHeaderItem( ::pPtr, nColumn, pItem ) - METHOD setHorizontalHeaderLabels( pLabels ) INLINE Qt_QTableWidget_setHorizontalHeaderLabels( ::pPtr, pLabels ) - METHOD setItem( nRow, nColumn, pItem ) INLINE Qt_QTableWidget_setItem( ::pPtr, nRow, nColumn, pItem ) - METHOD setItemPrototype( pItem ) INLINE Qt_QTableWidget_setItemPrototype( ::pPtr, pItem ) - METHOD setRangeSelected( pRange, lSelect ) INLINE Qt_QTableWidget_setRangeSelected( ::pPtr, pRange, lSelect ) - METHOD setRowCount( nRows ) INLINE Qt_QTableWidget_setRowCount( ::pPtr, nRows ) - METHOD setVerticalHeaderItem( nRow, pItem ) INLINE Qt_QTableWidget_setVerticalHeaderItem( ::pPtr, nRow, pItem ) - METHOD setVerticalHeaderLabels( pLabels ) INLINE Qt_QTableWidget_setVerticalHeaderLabels( ::pPtr, pLabels ) - METHOD sortItems( nColumn, nOrder ) INLINE Qt_QTableWidget_sortItems( ::pPtr, nColumn, nOrder ) - METHOD takeHorizontalHeaderItem( nColumn ) INLINE Qt_QTableWidget_takeHorizontalHeaderItem( ::pPtr, nColumn ) - METHOD takeItem( nRow, nColumn ) INLINE Qt_QTableWidget_takeItem( ::pPtr, nRow, nColumn ) - METHOD takeVerticalHeaderItem( nRow ) INLINE Qt_QTableWidget_takeVerticalHeaderItem( ::pPtr, nRow ) - METHOD verticalHeaderItem( nRow ) INLINE Qt_QTableWidget_verticalHeaderItem( ::pPtr, nRow ) - METHOD visualColumn( nLogicalColumn ) INLINE Qt_QTableWidget_visualColumn( ::pPtr, nLogicalColumn ) - METHOD visualItemRect( pItem ) INLINE Qt_QTableWidget_visualItemRect( ::pPtr, pItem ) - METHOD visualRow( nLogicalRow ) INLINE Qt_QTableWidget_visualRow( ::pPtr, nLogicalRow ) - METHOD clear() INLINE Qt_QTableWidget_clear( ::pPtr ) - METHOD clearContents() INLINE Qt_QTableWidget_clearContents( ::pPtr ) - METHOD insertColumn( nColumn ) INLINE Qt_QTableWidget_insertColumn( ::pPtr, nColumn ) - METHOD insertRow( nRow ) INLINE Qt_QTableWidget_insertRow( ::pPtr, nRow ) - METHOD removeColumn( nColumn ) INLINE Qt_QTableWidget_removeColumn( ::pPtr, nColumn ) - METHOD removeRow( nRow ) INLINE Qt_QTableWidget_removeRow( ::pPtr, nRow ) - METHOD scrollToItem( pItem, nHint ) INLINE Qt_QTableWidget_scrollToItem( ::pPtr, pItem, nHint ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTableWidget - - ::pParent := pParent - - ::pPtr := Qt_QTableWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTableWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTableWidgetItem.prg b/harbour/contrib/hbqt/TQTableWidgetItem.prg deleted file mode 100644 index 456f7d9f9f..0000000000 --- a/harbour/contrib/hbqt/TQTableWidgetItem.prg +++ /dev/null @@ -1,134 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTableWidgetItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD background() INLINE Qt_QTableWidgetItem_background( ::pPtr ) - METHOD checkState() INLINE Qt_QTableWidgetItem_checkState( ::pPtr ) - METHOD clone() INLINE Qt_QTableWidgetItem_clone( ::pPtr ) - METHOD column() INLINE Qt_QTableWidgetItem_column( ::pPtr ) - METHOD data( nRole ) INLINE Qt_QTableWidgetItem_data( ::pPtr, nRole ) - METHOD flags() INLINE Qt_QTableWidgetItem_flags( ::pPtr ) - METHOD font() INLINE Qt_QTableWidgetItem_font( ::pPtr ) - METHOD foreground() INLINE Qt_QTableWidgetItem_foreground( ::pPtr ) - METHOD icon() INLINE Qt_QTableWidgetItem_icon( ::pPtr ) - METHOD isSelected() INLINE Qt_QTableWidgetItem_isSelected( ::pPtr ) - METHOD read( pIn ) INLINE Qt_QTableWidgetItem_read( ::pPtr, pIn ) - METHOD row() INLINE Qt_QTableWidgetItem_row( ::pPtr ) - METHOD setBackground( pBrush ) INLINE Qt_QTableWidgetItem_setBackground( ::pPtr, pBrush ) - METHOD setCheckState( nState ) INLINE Qt_QTableWidgetItem_setCheckState( ::pPtr, nState ) - METHOD setData( nRole, pValue ) INLINE Qt_QTableWidgetItem_setData( ::pPtr, nRole, pValue ) - METHOD setFlags( nFlags ) INLINE Qt_QTableWidgetItem_setFlags( ::pPtr, nFlags ) - METHOD setFont( pFont ) INLINE Qt_QTableWidgetItem_setFont( ::pPtr, pFont ) - METHOD setForeground( pBrush ) INLINE Qt_QTableWidgetItem_setForeground( ::pPtr, pBrush ) - METHOD setIcon( cIcon ) INLINE Qt_QTableWidgetItem_setIcon( ::pPtr, cIcon ) - METHOD setSelected( lSelect ) INLINE Qt_QTableWidgetItem_setSelected( ::pPtr, lSelect ) - METHOD setSizeHint( pSize ) INLINE Qt_QTableWidgetItem_setSizeHint( ::pPtr, pSize ) - METHOD setStatusTip( cStatusTip ) INLINE Qt_QTableWidgetItem_setStatusTip( ::pPtr, cStatusTip ) - METHOD setText( cText ) INLINE Qt_QTableWidgetItem_setText( ::pPtr, cText ) - METHOD setTextAlignment( nAlignment ) INLINE Qt_QTableWidgetItem_setTextAlignment( ::pPtr, nAlignment ) - METHOD setToolTip( cToolTip ) INLINE Qt_QTableWidgetItem_setToolTip( ::pPtr, cToolTip ) - METHOD setWhatsThis( cWhatsThis ) INLINE Qt_QTableWidgetItem_setWhatsThis( ::pPtr, cWhatsThis ) - METHOD sizeHint() INLINE Qt_QTableWidgetItem_sizeHint( ::pPtr ) - METHOD statusTip() INLINE Qt_QTableWidgetItem_statusTip( ::pPtr ) - METHOD tableWidget() INLINE Qt_QTableWidgetItem_tableWidget( ::pPtr ) - METHOD text() INLINE Qt_QTableWidgetItem_text( ::pPtr ) - METHOD textAlignment() INLINE Qt_QTableWidgetItem_textAlignment( ::pPtr ) - METHOD toolTip() INLINE Qt_QTableWidgetItem_toolTip( ::pPtr ) - METHOD type() INLINE Qt_QTableWidgetItem_type( ::pPtr ) - METHOD whatsThis() INLINE Qt_QTableWidgetItem_whatsThis( ::pPtr ) - METHOD write( pOut ) INLINE Qt_QTableWidgetItem_write( ::pPtr, pOut ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTableWidgetItem - - ::pParent := pParent - - ::pPtr := Qt_QTableWidgetItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTableWidgetItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextBlock.prg b/harbour/contrib/hbqt/TQTextBlock.prg deleted file mode 100644 index 21474293c4..0000000000 --- a/harbour/contrib/hbqt/TQTextBlock.prg +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextBlock - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD blockFormat() INLINE Qt_QTextBlock_blockFormat( ::pPtr ) - METHOD blockFormatIndex() INLINE Qt_QTextBlock_blockFormatIndex( ::pPtr ) - METHOD blockNumber() INLINE Qt_QTextBlock_blockNumber( ::pPtr ) - METHOD charFormat() INLINE Qt_QTextBlock_charFormat( ::pPtr ) - METHOD charFormatIndex() INLINE Qt_QTextBlock_charFormatIndex( ::pPtr ) - METHOD clearLayout() INLINE Qt_QTextBlock_clearLayout( ::pPtr ) - METHOD contains( nPosition ) INLINE Qt_QTextBlock_contains( ::pPtr, nPosition ) - METHOD document() INLINE Qt_QTextBlock_document( ::pPtr ) - METHOD firstLineNumber() INLINE Qt_QTextBlock_firstLineNumber( ::pPtr ) - METHOD isValid() INLINE Qt_QTextBlock_isValid( ::pPtr ) - METHOD isVisible() INLINE Qt_QTextBlock_isVisible( ::pPtr ) - METHOD layout() INLINE Qt_QTextBlock_layout( ::pPtr ) - METHOD length() INLINE Qt_QTextBlock_length( ::pPtr ) - METHOD lineCount() INLINE Qt_QTextBlock_lineCount( ::pPtr ) - METHOD next() INLINE Qt_QTextBlock_next( ::pPtr ) - METHOD position() INLINE Qt_QTextBlock_position( ::pPtr ) - METHOD previous() INLINE Qt_QTextBlock_previous( ::pPtr ) - METHOD revision() INLINE Qt_QTextBlock_revision( ::pPtr ) - METHOD setLineCount( nCount ) INLINE Qt_QTextBlock_setLineCount( ::pPtr, nCount ) - METHOD setRevision( nRev ) INLINE Qt_QTextBlock_setRevision( ::pPtr, nRev ) - METHOD setUserData( pData ) INLINE Qt_QTextBlock_setUserData( ::pPtr, pData ) - METHOD setUserState( nState ) INLINE Qt_QTextBlock_setUserState( ::pPtr, nState ) - METHOD setVisible( lVisible ) INLINE Qt_QTextBlock_setVisible( ::pPtr, lVisible ) - METHOD text() INLINE Qt_QTextBlock_text( ::pPtr ) - METHOD textList() INLINE Qt_QTextBlock_textList( ::pPtr ) - METHOD userData() INLINE Qt_QTextBlock_userData( ::pPtr ) - METHOD userState() INLINE Qt_QTextBlock_userState( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextBlock - - ::pParent := pParent - - ::pPtr := Qt_QTextBlock( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextBlock - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextBlockFormat.prg b/harbour/contrib/hbqt/TQTextBlockFormat.prg deleted file mode 100644 index 0377ded54c..0000000000 --- a/harbour/contrib/hbqt/TQTextBlockFormat.prg +++ /dev/null @@ -1,118 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextBlockFormat INHERIT QTextFormat - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alignment() INLINE Qt_QTextBlockFormat_alignment( ::pPtr ) - METHOD bottomMargin() INLINE Qt_QTextBlockFormat_bottomMargin( ::pPtr ) - METHOD indent() INLINE Qt_QTextBlockFormat_indent( ::pPtr ) - METHOD isValid() INLINE Qt_QTextBlockFormat_isValid( ::pPtr ) - METHOD leftMargin() INLINE Qt_QTextBlockFormat_leftMargin( ::pPtr ) - METHOD nonBreakableLines() INLINE Qt_QTextBlockFormat_nonBreakableLines( ::pPtr ) - METHOD pageBreakPolicy() INLINE Qt_QTextBlockFormat_pageBreakPolicy( ::pPtr ) - METHOD rightMargin() INLINE Qt_QTextBlockFormat_rightMargin( ::pPtr ) - METHOD setAlignment( nAlignment ) INLINE Qt_QTextBlockFormat_setAlignment( ::pPtr, nAlignment ) - METHOD setBottomMargin( nMargin ) INLINE Qt_QTextBlockFormat_setBottomMargin( ::pPtr, nMargin ) - METHOD setIndent( nIndentation ) INLINE Qt_QTextBlockFormat_setIndent( ::pPtr, nIndentation ) - METHOD setLeftMargin( nMargin ) INLINE Qt_QTextBlockFormat_setLeftMargin( ::pPtr, nMargin ) - METHOD setNonBreakableLines( lB ) INLINE Qt_QTextBlockFormat_setNonBreakableLines( ::pPtr, lB ) - METHOD setPageBreakPolicy( nPolicy ) INLINE Qt_QTextBlockFormat_setPageBreakPolicy( ::pPtr, nPolicy ) - METHOD setRightMargin( nMargin ) INLINE Qt_QTextBlockFormat_setRightMargin( ::pPtr, nMargin ) - METHOD setTextIndent( nIndent ) INLINE Qt_QTextBlockFormat_setTextIndent( ::pPtr, nIndent ) - METHOD setTopMargin( nMargin ) INLINE Qt_QTextBlockFormat_setTopMargin( ::pPtr, nMargin ) - METHOD textIndent() INLINE Qt_QTextBlockFormat_textIndent( ::pPtr ) - METHOD topMargin() INLINE Qt_QTextBlockFormat_topMargin( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextBlockFormat - - ::pParent := pParent - - ::pPtr := Qt_QTextBlockFormat( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextBlockFormat - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextBlockGroup.prg b/harbour/contrib/hbqt/TQTextBlockGroup.prg deleted file mode 100644 index ef9c1bf5a4..0000000000 --- a/harbour/contrib/hbqt/TQTextBlockGroup.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextBlockGroup INHERIT QTextObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextBlockGroup - - ::pParent := pParent - - ::pPtr := Qt_QTextBlockGroup( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextBlockGroup - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextBoundaryFinder.prg b/harbour/contrib/hbqt/TQTextBoundaryFinder.prg deleted file mode 100644 index 031b720f47..0000000000 --- a/harbour/contrib/hbqt/TQTextBoundaryFinder.prg +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextBoundaryFinder - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD boundaryReasons() INLINE Qt_QTextBoundaryFinder_boundaryReasons( ::pPtr ) - METHOD isAtBoundary() INLINE Qt_QTextBoundaryFinder_isAtBoundary( ::pPtr ) - METHOD isValid() INLINE Qt_QTextBoundaryFinder_isValid( ::pPtr ) - METHOD position() INLINE Qt_QTextBoundaryFinder_position( ::pPtr ) - METHOD setPosition( nPosition ) INLINE Qt_QTextBoundaryFinder_setPosition( ::pPtr, nPosition ) - METHOD string() INLINE Qt_QTextBoundaryFinder_string( ::pPtr ) - METHOD toEnd() INLINE Qt_QTextBoundaryFinder_toEnd( ::pPtr ) - METHOD toNextBoundary() INLINE Qt_QTextBoundaryFinder_toNextBoundary( ::pPtr ) - METHOD toPreviousBoundary() INLINE Qt_QTextBoundaryFinder_toPreviousBoundary( ::pPtr ) - METHOD toStart() INLINE Qt_QTextBoundaryFinder_toStart( ::pPtr ) - METHOD type() INLINE Qt_QTextBoundaryFinder_type( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextBoundaryFinder - - ::pParent := pParent - - ::pPtr := Qt_QTextBoundaryFinder( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextBoundaryFinder - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextBrowser.prg b/harbour/contrib/hbqt/TQTextBrowser.prg deleted file mode 100644 index d794060035..0000000000 --- a/harbour/contrib/hbqt/TQTextBrowser.prg +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextBrowser INHERIT QTextEdit - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD backwardHistoryCount() INLINE Qt_QTextBrowser_backwardHistoryCount( ::pPtr ) - METHOD clearHistory() INLINE Qt_QTextBrowser_clearHistory( ::pPtr ) - METHOD forwardHistoryCount() INLINE Qt_QTextBrowser_forwardHistoryCount( ::pPtr ) - METHOD historyTitle( nI ) INLINE Qt_QTextBrowser_historyTitle( ::pPtr, nI ) - METHOD historyUrl( nI ) INLINE Qt_QTextBrowser_historyUrl( ::pPtr, nI ) - METHOD isBackwardAvailable() INLINE Qt_QTextBrowser_isBackwardAvailable( ::pPtr ) - METHOD isForwardAvailable() INLINE Qt_QTextBrowser_isForwardAvailable( ::pPtr ) - METHOD loadResource( nType, pName ) INLINE Qt_QTextBrowser_loadResource( ::pPtr, nType, pName ) - METHOD openExternalLinks() INLINE Qt_QTextBrowser_openExternalLinks( ::pPtr ) - METHOD openLinks() INLINE Qt_QTextBrowser_openLinks( ::pPtr ) - METHOD searchPaths() INLINE Qt_QTextBrowser_searchPaths( ::pPtr ) - METHOD setOpenExternalLinks( lOpen ) INLINE Qt_QTextBrowser_setOpenExternalLinks( ::pPtr, lOpen ) - METHOD setOpenLinks( lOpen ) INLINE Qt_QTextBrowser_setOpenLinks( ::pPtr, lOpen ) - METHOD setSearchPaths( pPaths ) INLINE Qt_QTextBrowser_setSearchPaths( ::pPtr, pPaths ) - METHOD source() INLINE Qt_QTextBrowser_source( ::pPtr ) - METHOD backward() INLINE Qt_QTextBrowser_backward( ::pPtr ) - METHOD forward() INLINE Qt_QTextBrowser_forward( ::pPtr ) - METHOD home() INLINE Qt_QTextBrowser_home( ::pPtr ) - METHOD reload() INLINE Qt_QTextBrowser_reload( ::pPtr ) - METHOD setSource( pName ) INLINE Qt_QTextBrowser_setSource( ::pPtr, pName ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextBrowser - - ::pParent := pParent - - ::pPtr := Qt_QTextBrowser( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextBrowser - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextCharFormat.prg b/harbour/contrib/hbqt/TQTextCharFormat.prg deleted file mode 100644 index c8a56a7ead..0000000000 --- a/harbour/contrib/hbqt/TQTextCharFormat.prg +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextCharFormat INHERIT QTextFormat - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD anchorHref() INLINE Qt_QTextCharFormat_anchorHref( ::pPtr ) - METHOD anchorNames() INLINE Qt_QTextCharFormat_anchorNames( ::pPtr ) - METHOD font() INLINE Qt_QTextCharFormat_font( ::pPtr ) - METHOD fontCapitalization() INLINE Qt_QTextCharFormat_fontCapitalization( ::pPtr ) - METHOD fontFamily() INLINE Qt_QTextCharFormat_fontFamily( ::pPtr ) - METHOD fontFixedPitch() INLINE Qt_QTextCharFormat_fontFixedPitch( ::pPtr ) - METHOD fontItalic() INLINE Qt_QTextCharFormat_fontItalic( ::pPtr ) - METHOD fontKerning() INLINE Qt_QTextCharFormat_fontKerning( ::pPtr ) - METHOD fontLetterSpacing() INLINE Qt_QTextCharFormat_fontLetterSpacing( ::pPtr ) - METHOD fontOverline() INLINE Qt_QTextCharFormat_fontOverline( ::pPtr ) - METHOD fontPointSize() INLINE Qt_QTextCharFormat_fontPointSize( ::pPtr ) - METHOD fontStrikeOut() INLINE Qt_QTextCharFormat_fontStrikeOut( ::pPtr ) - METHOD fontStyleHint() INLINE Qt_QTextCharFormat_fontStyleHint( ::pPtr ) - METHOD fontStyleStrategy() INLINE Qt_QTextCharFormat_fontStyleStrategy( ::pPtr ) - METHOD fontUnderline() INLINE Qt_QTextCharFormat_fontUnderline( ::pPtr ) - METHOD fontWeight() INLINE Qt_QTextCharFormat_fontWeight( ::pPtr ) - METHOD fontWordSpacing() INLINE Qt_QTextCharFormat_fontWordSpacing( ::pPtr ) - METHOD isAnchor() INLINE Qt_QTextCharFormat_isAnchor( ::pPtr ) - METHOD isValid() INLINE Qt_QTextCharFormat_isValid( ::pPtr ) - METHOD setAnchor( lAnchor ) INLINE Qt_QTextCharFormat_setAnchor( ::pPtr, lAnchor ) - METHOD setAnchorHref( cValue ) INLINE Qt_QTextCharFormat_setAnchorHref( ::pPtr, cValue ) - METHOD setAnchorNames( pNames ) INLINE Qt_QTextCharFormat_setAnchorNames( ::pPtr, pNames ) - METHOD setFont( pFont ) INLINE Qt_QTextCharFormat_setFont( ::pPtr, pFont ) - METHOD setFontCapitalization( nCapitalization ) INLINE Qt_QTextCharFormat_setFontCapitalization( ::pPtr, nCapitalization ) - METHOD setFontFamily( cFamily ) INLINE Qt_QTextCharFormat_setFontFamily( ::pPtr, cFamily ) - METHOD setFontFixedPitch( lFixedPitch ) INLINE Qt_QTextCharFormat_setFontFixedPitch( ::pPtr, lFixedPitch ) - METHOD setFontItalic( lItalic ) INLINE Qt_QTextCharFormat_setFontItalic( ::pPtr, lItalic ) - METHOD setFontKerning( lEnable ) INLINE Qt_QTextCharFormat_setFontKerning( ::pPtr, lEnable ) - METHOD setFontLetterSpacing( nSpacing ) INLINE Qt_QTextCharFormat_setFontLetterSpacing( ::pPtr, nSpacing ) - METHOD setFontOverline( lOverline ) INLINE Qt_QTextCharFormat_setFontOverline( ::pPtr, lOverline ) - METHOD setFontPointSize( nSize ) INLINE Qt_QTextCharFormat_setFontPointSize( ::pPtr, nSize ) - METHOD setFontStrikeOut( lStrikeOut ) INLINE Qt_QTextCharFormat_setFontStrikeOut( ::pPtr, lStrikeOut ) - METHOD setFontStyleHint( nHint, nStrategy ) INLINE Qt_QTextCharFormat_setFontStyleHint( ::pPtr, nHint, nStrategy ) - METHOD setFontStyleStrategy( nStrategy ) INLINE Qt_QTextCharFormat_setFontStyleStrategy( ::pPtr, nStrategy ) - METHOD setFontUnderline( lUnderline ) INLINE Qt_QTextCharFormat_setFontUnderline( ::pPtr, lUnderline ) - METHOD setFontWeight( nWeight ) INLINE Qt_QTextCharFormat_setFontWeight( ::pPtr, nWeight ) - METHOD setFontWordSpacing( nSpacing ) INLINE Qt_QTextCharFormat_setFontWordSpacing( ::pPtr, nSpacing ) - METHOD setTextOutline( pPen ) INLINE Qt_QTextCharFormat_setTextOutline( ::pPtr, pPen ) - METHOD setToolTip( cText ) INLINE Qt_QTextCharFormat_setToolTip( ::pPtr, cText ) - METHOD setUnderlineColor( pColor ) INLINE Qt_QTextCharFormat_setUnderlineColor( ::pPtr, pColor ) - METHOD setUnderlineStyle( nStyle ) INLINE Qt_QTextCharFormat_setUnderlineStyle( ::pPtr, nStyle ) - METHOD setVerticalAlignment( nAlignment ) INLINE Qt_QTextCharFormat_setVerticalAlignment( ::pPtr, nAlignment ) - METHOD textOutline() INLINE Qt_QTextCharFormat_textOutline( ::pPtr ) - METHOD toolTip() INLINE Qt_QTextCharFormat_toolTip( ::pPtr ) - METHOD underlineColor() INLINE Qt_QTextCharFormat_underlineColor( ::pPtr ) - METHOD underlineStyle() INLINE Qt_QTextCharFormat_underlineStyle( ::pPtr ) - METHOD verticalAlignment() INLINE Qt_QTextCharFormat_verticalAlignment( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextCharFormat - - ::pParent := pParent - - ::pPtr := Qt_QTextCharFormat( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextCharFormat - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextCodec.prg b/harbour/contrib/hbqt/TQTextCodec.prg deleted file mode 100644 index af8ffa56b3..0000000000 --- a/harbour/contrib/hbqt/TQTextCodec.prg +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextCodec - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD canEncode( nCh ) INLINE Qt_QTextCodec_canEncode( ::pPtr, nCh ) - METHOD canEncode_1( cS ) INLINE Qt_QTextCodec_canEncode_1( ::pPtr, cS ) - METHOD fromUnicode( cStr ) INLINE Qt_QTextCodec_fromUnicode( ::pPtr, cStr ) - METHOD makeDecoder() INLINE Qt_QTextCodec_makeDecoder( ::pPtr ) - METHOD makeEncoder() INLINE Qt_QTextCodec_makeEncoder( ::pPtr ) - METHOD mibEnum() INLINE Qt_QTextCodec_mibEnum( ::pPtr ) - METHOD name() INLINE Qt_QTextCodec_name( ::pPtr ) - METHOD toUnicode( pA ) INLINE Qt_QTextCodec_toUnicode( ::pPtr, pA ) - METHOD toUnicode_1( pChars ) INLINE Qt_QTextCodec_toUnicode_1( ::pPtr, pChars ) - METHOD codecForCStrings() INLINE Qt_QTextCodec_codecForCStrings( ::pPtr ) - METHOD codecForHtml( pBa, pDefaultCodec ) INLINE Qt_QTextCodec_codecForHtml( ::pPtr, pBa, pDefaultCodec ) - METHOD codecForHtml_1( pBa ) INLINE Qt_QTextCodec_codecForHtml_1( ::pPtr, pBa ) - METHOD codecForLocale() INLINE Qt_QTextCodec_codecForLocale( ::pPtr ) - METHOD codecForMib( nMib ) INLINE Qt_QTextCodec_codecForMib( ::pPtr, nMib ) - METHOD codecForName( pName ) INLINE Qt_QTextCodec_codecForName( ::pPtr, pName ) - METHOD codecForName_1( pName ) INLINE Qt_QTextCodec_codecForName_1( ::pPtr, pName ) - METHOD codecForTr() INLINE Qt_QTextCodec_codecForTr( ::pPtr ) - METHOD setCodecForCStrings( pCodec ) INLINE Qt_QTextCodec_setCodecForCStrings( ::pPtr, pCodec ) - METHOD setCodecForLocale( pC ) INLINE Qt_QTextCodec_setCodecForLocale( ::pPtr, pC ) - METHOD setCodecForTr( pC ) INLINE Qt_QTextCodec_setCodecForTr( ::pPtr, pC ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextCodec - - ::pParent := pParent - - ::pPtr := Qt_QTextCodec( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextCodec - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextCursor.prg b/harbour/contrib/hbqt/TQTextCursor.prg deleted file mode 100644 index f1d15ff7de..0000000000 --- a/harbour/contrib/hbqt/TQTextCursor.prg +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextCursor - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD anchor() INLINE Qt_QTextCursor_anchor( ::pPtr ) - METHOD atBlockEnd() INLINE Qt_QTextCursor_atBlockEnd( ::pPtr ) - METHOD atBlockStart() INLINE Qt_QTextCursor_atBlockStart( ::pPtr ) - METHOD atEnd() INLINE Qt_QTextCursor_atEnd( ::pPtr ) - METHOD atStart() INLINE Qt_QTextCursor_atStart( ::pPtr ) - METHOD beginEditBlock() INLINE Qt_QTextCursor_beginEditBlock( ::pPtr ) - METHOD blockCharFormat() INLINE Qt_QTextCursor_blockCharFormat( ::pPtr ) - METHOD blockFormat() INLINE Qt_QTextCursor_blockFormat( ::pPtr ) - METHOD blockNumber() INLINE Qt_QTextCursor_blockNumber( ::pPtr ) - METHOD charFormat() INLINE Qt_QTextCursor_charFormat( ::pPtr ) - METHOD clearSelection() INLINE Qt_QTextCursor_clearSelection( ::pPtr ) - METHOD columnNumber() INLINE Qt_QTextCursor_columnNumber( ::pPtr ) - METHOD createList( pFormat ) INLINE Qt_QTextCursor_createList( ::pPtr, pFormat ) - METHOD createList_1( nStyle ) INLINE Qt_QTextCursor_createList_1( ::pPtr, nStyle ) - METHOD currentFrame() INLINE Qt_QTextCursor_currentFrame( ::pPtr ) - METHOD currentList() INLINE Qt_QTextCursor_currentList( ::pPtr ) - METHOD currentTable() INLINE Qt_QTextCursor_currentTable( ::pPtr ) - METHOD deleteChar() INLINE Qt_QTextCursor_deleteChar( ::pPtr ) - METHOD deletePreviousChar() INLINE Qt_QTextCursor_deletePreviousChar( ::pPtr ) - METHOD document() INLINE Qt_QTextCursor_document( ::pPtr ) - METHOD endEditBlock() INLINE Qt_QTextCursor_endEditBlock( ::pPtr ) - METHOD hasComplexSelection() INLINE Qt_QTextCursor_hasComplexSelection( ::pPtr ) - METHOD hasSelection() INLINE Qt_QTextCursor_hasSelection( ::pPtr ) - METHOD insertBlock() INLINE Qt_QTextCursor_insertBlock( ::pPtr ) - METHOD insertBlock_1( pFormat ) INLINE Qt_QTextCursor_insertBlock_1( ::pPtr, pFormat ) - METHOD insertBlock_2( pFormat, pCharFormat ) INLINE Qt_QTextCursor_insertBlock_2( ::pPtr, pFormat, pCharFormat ) - METHOD insertFragment( pFragment ) INLINE Qt_QTextCursor_insertFragment( ::pPtr, pFragment ) - METHOD insertFrame( pFormat ) INLINE Qt_QTextCursor_insertFrame( ::pPtr, pFormat ) - METHOD insertHtml( cHtml ) INLINE Qt_QTextCursor_insertHtml( ::pPtr, cHtml ) - METHOD insertImage( cName ) INLINE Qt_QTextCursor_insertImage( ::pPtr, cName ) - METHOD insertImage_1( pFormat ) INLINE Qt_QTextCursor_insertImage_1( ::pPtr, pFormat ) - METHOD insertImage_2( pFormat, nAlignment ) INLINE Qt_QTextCursor_insertImage_2( ::pPtr, pFormat, nAlignment ) - METHOD insertImage_3( pImage, cName ) INLINE Qt_QTextCursor_insertImage_3( ::pPtr, pImage, cName ) - METHOD insertList( pFormat ) INLINE Qt_QTextCursor_insertList( ::pPtr, pFormat ) - METHOD insertList_1( nStyle ) INLINE Qt_QTextCursor_insertList_1( ::pPtr, nStyle ) - METHOD insertTable( nRows, nColumns, pFormat ) INLINE Qt_QTextCursor_insertTable( ::pPtr, nRows, nColumns, pFormat ) - METHOD insertTable_1( nRows, nColumns ) INLINE Qt_QTextCursor_insertTable_1( ::pPtr, nRows, nColumns ) - METHOD insertText( cText ) INLINE Qt_QTextCursor_insertText( ::pPtr, cText ) - METHOD insertText_1( cText, pFormat ) INLINE Qt_QTextCursor_insertText_1( ::pPtr, cText, pFormat ) - METHOD isCopyOf( pOther ) INLINE Qt_QTextCursor_isCopyOf( ::pPtr, pOther ) - METHOD isNull() INLINE Qt_QTextCursor_isNull( ::pPtr ) - METHOD joinPreviousEditBlock() INLINE Qt_QTextCursor_joinPreviousEditBlock( ::pPtr ) - METHOD mergeBlockCharFormat( pModifier ) INLINE Qt_QTextCursor_mergeBlockCharFormat( ::pPtr, pModifier ) - METHOD mergeBlockFormat( pModifier ) INLINE Qt_QTextCursor_mergeBlockFormat( ::pPtr, pModifier ) - METHOD mergeCharFormat( pModifier ) INLINE Qt_QTextCursor_mergeCharFormat( ::pPtr, pModifier ) - METHOD movePosition( nOperation, nMode, nN ) INLINE Qt_QTextCursor_movePosition( ::pPtr, nOperation, nMode, nN ) - METHOD position() INLINE Qt_QTextCursor_position( ::pPtr ) - METHOD removeSelectedText() INLINE Qt_QTextCursor_removeSelectedText( ::pPtr ) - METHOD select( nSelection ) INLINE Qt_QTextCursor_select( ::pPtr, nSelection ) - METHOD selectedTableCells( nFirstRow, nNumRows, nFirstColumn, nNumColumns ) INLINE Qt_QTextCursor_selectedTableCells( ::pPtr, nFirstRow, nNumRows, nFirstColumn, nNumColumns ) - METHOD selectedText() INLINE Qt_QTextCursor_selectedText( ::pPtr ) - METHOD selection() INLINE Qt_QTextCursor_selection( ::pPtr ) - METHOD selectionEnd() INLINE Qt_QTextCursor_selectionEnd( ::pPtr ) - METHOD selectionStart() INLINE Qt_QTextCursor_selectionStart( ::pPtr ) - METHOD setBlockCharFormat( pFormat ) INLINE Qt_QTextCursor_setBlockCharFormat( ::pPtr, pFormat ) - METHOD setBlockFormat( pFormat ) INLINE Qt_QTextCursor_setBlockFormat( ::pPtr, pFormat ) - METHOD setCharFormat( pFormat ) INLINE Qt_QTextCursor_setCharFormat( ::pPtr, pFormat ) - METHOD setPosition( nPos, nM ) INLINE Qt_QTextCursor_setPosition( ::pPtr, nPos, nM ) - METHOD setVisualNavigation( lB ) INLINE Qt_QTextCursor_setVisualNavigation( ::pPtr, lB ) - METHOD visualNavigation() INLINE Qt_QTextCursor_visualNavigation( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( ... ) CLASS QTextCursor - - ::pPtr := Qt_QTextCursor( ... ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextCursor - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextDecoder.prg b/harbour/contrib/hbqt/TQTextDecoder.prg deleted file mode 100644 index b4d89f5a97..0000000000 --- a/harbour/contrib/hbqt/TQTextDecoder.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextDecoder - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD toUnicode( pChars, nLen ) INLINE Qt_QTextDecoder_toUnicode( ::pPtr, pChars, nLen ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextDecoder - - ::pParent := pParent - - ::pPtr := Qt_QTextDecoder( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextDecoder - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextDocument.prg b/harbour/contrib/hbqt/TQTextDocument.prg deleted file mode 100644 index 36a98a59c7..0000000000 --- a/harbour/contrib/hbqt/TQTextDocument.prg +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextDocument INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addResource( nType, pName, pResource ) INLINE Qt_QTextDocument_addResource( ::pPtr, nType, pName, pResource ) - METHOD adjustSize() INLINE Qt_QTextDocument_adjustSize( ::pPtr ) - METHOD begin() INLINE Qt_QTextDocument_begin( ::pPtr ) - METHOD blockCount() INLINE Qt_QTextDocument_blockCount( ::pPtr ) - METHOD characterCount() INLINE Qt_QTextDocument_characterCount( ::pPtr ) - METHOD clear() INLINE Qt_QTextDocument_clear( ::pPtr ) - METHOD clone( pParent ) INLINE Qt_QTextDocument_clone( ::pPtr, pParent ) - METHOD defaultFont() INLINE Qt_QTextDocument_defaultFont( ::pPtr ) - METHOD defaultStyleSheet() INLINE Qt_QTextDocument_defaultStyleSheet( ::pPtr ) - METHOD defaultTextOption() INLINE Qt_QTextDocument_defaultTextOption( ::pPtr ) - METHOD documentLayout() INLINE Qt_QTextDocument_documentLayout( ::pPtr ) - METHOD documentMargin() INLINE Qt_QTextDocument_documentMargin( ::pPtr ) - METHOD drawContents( pP, pRect ) INLINE Qt_QTextDocument_drawContents( ::pPtr, pP, pRect ) - METHOD end() INLINE Qt_QTextDocument_end( ::pPtr ) - METHOD find( cSubString, pCursor, nOptions ) INLINE Qt_QTextDocument_find( ::pPtr, cSubString, pCursor, nOptions ) - METHOD find_1( pExpr, pCursor, nOptions ) INLINE Qt_QTextDocument_find_1( ::pPtr, pExpr, pCursor, nOptions ) - METHOD find_2( cSubString, nPosition, nOptions ) INLINE Qt_QTextDocument_find_2( ::pPtr, cSubString, nPosition, nOptions ) - METHOD find_3( pExpr, nPosition, nOptions ) INLINE Qt_QTextDocument_find_3( ::pPtr, pExpr, nPosition, nOptions ) - METHOD findBlock( nPos ) INLINE Qt_QTextDocument_findBlock( ::pPtr, nPos ) - METHOD findBlockByLineNumber( nLineNumber ) INLINE Qt_QTextDocument_findBlockByLineNumber( ::pPtr, nLineNumber ) - METHOD findBlockByNumber( nBlockNumber ) INLINE Qt_QTextDocument_findBlockByNumber( ::pPtr, nBlockNumber ) - METHOD firstBlock() INLINE Qt_QTextDocument_firstBlock( ::pPtr ) - METHOD idealWidth() INLINE Qt_QTextDocument_idealWidth( ::pPtr ) - METHOD indentWidth() INLINE Qt_QTextDocument_indentWidth( ::pPtr ) - METHOD isEmpty() INLINE Qt_QTextDocument_isEmpty( ::pPtr ) - METHOD isModified() INLINE Qt_QTextDocument_isModified( ::pPtr ) - METHOD isRedoAvailable() INLINE Qt_QTextDocument_isRedoAvailable( ::pPtr ) - METHOD isUndoAvailable() INLINE Qt_QTextDocument_isUndoAvailable( ::pPtr ) - METHOD isUndoRedoEnabled() INLINE Qt_QTextDocument_isUndoRedoEnabled( ::pPtr ) - METHOD lastBlock() INLINE Qt_QTextDocument_lastBlock( ::pPtr ) - METHOD lineCount() INLINE Qt_QTextDocument_lineCount( ::pPtr ) - METHOD markContentsDirty( nPosition, nLength ) INLINE Qt_QTextDocument_markContentsDirty( ::pPtr, nPosition, nLength ) - METHOD maximumBlockCount() INLINE Qt_QTextDocument_maximumBlockCount( ::pPtr ) - METHOD metaInformation( nInfo ) INLINE Qt_QTextDocument_metaInformation( ::pPtr, nInfo ) - METHOD object( nObjectIndex ) INLINE Qt_QTextDocument_object( ::pPtr, nObjectIndex ) - METHOD objectForFormat( pF ) INLINE Qt_QTextDocument_objectForFormat( ::pPtr, pF ) - METHOD pageCount() INLINE Qt_QTextDocument_pageCount( ::pPtr ) - METHOD pageSize() INLINE Qt_QTextDocument_pageSize( ::pPtr ) - METHOD print( pPrinter ) INLINE Qt_QTextDocument_print( ::pPtr, pPrinter ) - METHOD redo( pCursor ) INLINE Qt_QTextDocument_redo( ::pPtr, pCursor ) - METHOD resource( nType, pName ) INLINE Qt_QTextDocument_resource( ::pPtr, nType, pName ) - METHOD revision() INLINE Qt_QTextDocument_revision( ::pPtr ) - METHOD rootFrame() INLINE Qt_QTextDocument_rootFrame( ::pPtr ) - METHOD setDefaultFont( pFont ) INLINE Qt_QTextDocument_setDefaultFont( ::pPtr, pFont ) - METHOD setDefaultStyleSheet( cSheet ) INLINE Qt_QTextDocument_setDefaultStyleSheet( ::pPtr, cSheet ) - METHOD setDefaultTextOption( pOption ) INLINE Qt_QTextDocument_setDefaultTextOption( ::pPtr, pOption ) - METHOD setDocumentLayout( pLayout ) INLINE Qt_QTextDocument_setDocumentLayout( ::pPtr, pLayout ) - METHOD setDocumentMargin( nMargin ) INLINE Qt_QTextDocument_setDocumentMargin( ::pPtr, nMargin ) - METHOD setHtml( cHtml ) INLINE Qt_QTextDocument_setHtml( ::pPtr, cHtml ) - METHOD setIndentWidth( nWidth ) INLINE Qt_QTextDocument_setIndentWidth( ::pPtr, nWidth ) - METHOD setMaximumBlockCount( nMaximum ) INLINE Qt_QTextDocument_setMaximumBlockCount( ::pPtr, nMaximum ) - METHOD setMetaInformation( nInfo, cString ) INLINE Qt_QTextDocument_setMetaInformation( ::pPtr, nInfo, cString ) - METHOD setPageSize( pSize ) INLINE Qt_QTextDocument_setPageSize( ::pPtr, pSize ) - METHOD setPlainText( cText ) INLINE Qt_QTextDocument_setPlainText( ::pPtr, cText ) - METHOD setTextWidth( nWidth ) INLINE Qt_QTextDocument_setTextWidth( ::pPtr, nWidth ) - METHOD setUndoRedoEnabled( lEnable ) INLINE Qt_QTextDocument_setUndoRedoEnabled( ::pPtr, lEnable ) - METHOD setUseDesignMetrics( lB ) INLINE Qt_QTextDocument_setUseDesignMetrics( ::pPtr, lB ) - METHOD size() INLINE Qt_QTextDocument_size( ::pPtr ) - METHOD textWidth() INLINE Qt_QTextDocument_textWidth( ::pPtr ) - METHOD toHtml( pEncoding ) INLINE Qt_QTextDocument_toHtml( ::pPtr, pEncoding ) - METHOD toPlainText() INLINE Qt_QTextDocument_toPlainText( ::pPtr ) - METHOD undo( pCursor ) INLINE Qt_QTextDocument_undo( ::pPtr, pCursor ) - METHOD useDesignMetrics() INLINE Qt_QTextDocument_useDesignMetrics( ::pPtr ) - METHOD redo_1() INLINE Qt_QTextDocument_redo_1( ::pPtr ) - METHOD setModified( lM ) INLINE Qt_QTextDocument_setModified( ::pPtr, lM ) - METHOD undo_1() INLINE Qt_QTextDocument_undo_1( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextDocument - - ::pParent := pParent - - ::pPtr := Qt_QTextDocument( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextDocument - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextDocumentFragment.prg b/harbour/contrib/hbqt/TQTextDocumentFragment.prg deleted file mode 100644 index ea5e6f5993..0000000000 --- a/harbour/contrib/hbqt/TQTextDocumentFragment.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextDocumentFragment - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD isEmpty() INLINE Qt_QTextDocumentFragment_isEmpty( ::pPtr ) - METHOD toHtml( pEncoding ) INLINE Qt_QTextDocumentFragment_toHtml( ::pPtr, pEncoding ) - METHOD toHtml_1() INLINE Qt_QTextDocumentFragment_toHtml_1( ::pPtr ) - METHOD toPlainText() INLINE Qt_QTextDocumentFragment_toPlainText( ::pPtr ) - METHOD fromHtml( cText ) INLINE Qt_QTextDocumentFragment_fromHtml( ::pPtr, cText ) - METHOD fromHtml_1( cText, pResourceProvider ) INLINE Qt_QTextDocumentFragment_fromHtml_1( ::pPtr, cText, pResourceProvider ) - METHOD fromPlainText( cPlainText ) INLINE Qt_QTextDocumentFragment_fromPlainText( ::pPtr, cPlainText ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextDocumentFragment - - ::pParent := pParent - - ::pPtr := Qt_QTextDocumentFragment( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextDocumentFragment - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextDocumentWriter.prg b/harbour/contrib/hbqt/TQTextDocumentWriter.prg deleted file mode 100644 index caa6512e21..0000000000 --- a/harbour/contrib/hbqt/TQTextDocumentWriter.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextDocumentWriter - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD codec() INLINE Qt_QTextDocumentWriter_codec( ::pPtr ) - METHOD device() INLINE Qt_QTextDocumentWriter_device( ::pPtr ) - METHOD fileName() INLINE Qt_QTextDocumentWriter_fileName( ::pPtr ) - METHOD format() INLINE Qt_QTextDocumentWriter_format( ::pPtr ) - METHOD setCodec( pCodec ) INLINE Qt_QTextDocumentWriter_setCodec( ::pPtr, pCodec ) - METHOD setDevice( pDevice ) INLINE Qt_QTextDocumentWriter_setDevice( ::pPtr, pDevice ) - METHOD setFileName( cFileName ) INLINE Qt_QTextDocumentWriter_setFileName( ::pPtr, cFileName ) - METHOD setFormat( pFormat ) INLINE Qt_QTextDocumentWriter_setFormat( ::pPtr, pFormat ) - METHOD write( pDocument ) INLINE Qt_QTextDocumentWriter_write( ::pPtr, pDocument ) - METHOD write_1( pFragment ) INLINE Qt_QTextDocumentWriter_write_1( ::pPtr, pFragment ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextDocumentWriter - - ::pParent := pParent - - ::pPtr := Qt_QTextDocumentWriter( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextDocumentWriter - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextEdit.prg b/harbour/contrib/hbqt/TQTextEdit.prg deleted file mode 100644 index 5a7ce038da..0000000000 --- a/harbour/contrib/hbqt/TQTextEdit.prg +++ /dev/null @@ -1,180 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextEdit INHERIT QAbstractScrollArea - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD acceptRichText() INLINE Qt_QTextEdit_acceptRichText( ::pPtr ) - METHOD alignment() INLINE Qt_QTextEdit_alignment( ::pPtr ) - METHOD anchorAt( pPos ) INLINE Qt_QTextEdit_anchorAt( ::pPtr, pPos ) - METHOD autoFormatting() INLINE Qt_QTextEdit_autoFormatting( ::pPtr ) - METHOD canPaste() INLINE Qt_QTextEdit_canPaste( ::pPtr ) - METHOD createStandardContextMenu() INLINE Qt_QTextEdit_createStandardContextMenu( ::pPtr ) - METHOD createStandardContextMenu_1( pPosition ) INLINE Qt_QTextEdit_createStandardContextMenu_1( ::pPtr, pPosition ) - METHOD currentCharFormat() INLINE Qt_QTextEdit_currentCharFormat( ::pPtr ) - METHOD currentFont() INLINE Qt_QTextEdit_currentFont( ::pPtr ) - METHOD cursorForPosition( pPos ) INLINE Qt_QTextEdit_cursorForPosition( ::pPtr, pPos ) - METHOD cursorRect( pCursor ) INLINE Qt_QTextEdit_cursorRect( ::pPtr, pCursor ) - METHOD cursorRect_1() INLINE Qt_QTextEdit_cursorRect_1( ::pPtr ) - METHOD cursorWidth() INLINE Qt_QTextEdit_cursorWidth( ::pPtr ) - METHOD document() INLINE Qt_QTextEdit_document( ::pPtr ) - METHOD documentTitle() INLINE Qt_QTextEdit_documentTitle( ::pPtr ) - METHOD ensureCursorVisible() INLINE Qt_QTextEdit_ensureCursorVisible( ::pPtr ) - METHOD find( cExp, nOptions ) INLINE Qt_QTextEdit_find( ::pPtr, cExp, nOptions ) - METHOD fontFamily() INLINE Qt_QTextEdit_fontFamily( ::pPtr ) - METHOD fontItalic() INLINE Qt_QTextEdit_fontItalic( ::pPtr ) - METHOD fontPointSize() INLINE Qt_QTextEdit_fontPointSize( ::pPtr ) - METHOD fontUnderline() INLINE Qt_QTextEdit_fontUnderline( ::pPtr ) - METHOD fontWeight() INLINE Qt_QTextEdit_fontWeight( ::pPtr ) - METHOD isReadOnly() INLINE Qt_QTextEdit_isReadOnly( ::pPtr ) - METHOD isUndoRedoEnabled() INLINE Qt_QTextEdit_isUndoRedoEnabled( ::pPtr ) - METHOD lineWrapColumnOrWidth() INLINE Qt_QTextEdit_lineWrapColumnOrWidth( ::pPtr ) - METHOD lineWrapMode() INLINE Qt_QTextEdit_lineWrapMode( ::pPtr ) - METHOD loadResource( nType, pName ) INLINE Qt_QTextEdit_loadResource( ::pPtr, nType, pName ) - METHOD mergeCurrentCharFormat( pModifier ) INLINE Qt_QTextEdit_mergeCurrentCharFormat( ::pPtr, pModifier ) - METHOD moveCursor( nOperation, nMode ) INLINE Qt_QTextEdit_moveCursor( ::pPtr, nOperation, nMode ) - METHOD overwriteMode() INLINE Qt_QTextEdit_overwriteMode( ::pPtr ) - METHOD print( pPrinter ) INLINE Qt_QTextEdit_print( ::pPtr, pPrinter ) - METHOD setAcceptRichText( lAccept ) INLINE Qt_QTextEdit_setAcceptRichText( ::pPtr, lAccept ) - METHOD setAutoFormatting( nFeatures ) INLINE Qt_QTextEdit_setAutoFormatting( ::pPtr, nFeatures ) - METHOD setCurrentCharFormat( pFormat ) INLINE Qt_QTextEdit_setCurrentCharFormat( ::pPtr, pFormat ) - METHOD setCursorWidth( nWidth ) INLINE Qt_QTextEdit_setCursorWidth( ::pPtr, nWidth ) - METHOD setDocument( pDocument ) INLINE Qt_QTextEdit_setDocument( ::pPtr, pDocument ) - METHOD setDocumentTitle( cTitle ) INLINE Qt_QTextEdit_setDocumentTitle( ::pPtr, cTitle ) - METHOD setLineWrapColumnOrWidth( nW ) INLINE Qt_QTextEdit_setLineWrapColumnOrWidth( ::pPtr, nW ) - METHOD setLineWrapMode( nMode ) INLINE Qt_QTextEdit_setLineWrapMode( ::pPtr, nMode ) - METHOD setOverwriteMode( lOverwrite ) INLINE Qt_QTextEdit_setOverwriteMode( ::pPtr, lOverwrite ) - METHOD setReadOnly( lRo ) INLINE Qt_QTextEdit_setReadOnly( ::pPtr, lRo ) - METHOD setTabChangesFocus( lB ) INLINE Qt_QTextEdit_setTabChangesFocus( ::pPtr, lB ) - METHOD setTabStopWidth( nWidth ) INLINE Qt_QTextEdit_setTabStopWidth( ::pPtr, nWidth ) - METHOD setTextCursor( pCursor ) INLINE Qt_QTextEdit_setTextCursor( ::pPtr, pCursor ) - METHOD setTextInteractionFlags( nFlags ) INLINE Qt_QTextEdit_setTextInteractionFlags( ::pPtr, nFlags ) - METHOD setUndoRedoEnabled( lEnable ) INLINE Qt_QTextEdit_setUndoRedoEnabled( ::pPtr, lEnable ) - METHOD setWordWrapMode( nPolicy ) INLINE Qt_QTextEdit_setWordWrapMode( ::pPtr, nPolicy ) - METHOD tabChangesFocus() INLINE Qt_QTextEdit_tabChangesFocus( ::pPtr ) - METHOD tabStopWidth() INLINE Qt_QTextEdit_tabStopWidth( ::pPtr ) - METHOD textBackgroundColor() INLINE Qt_QTextEdit_textBackgroundColor( ::pPtr ) - METHOD textColor() INLINE Qt_QTextEdit_textColor( ::pPtr ) - METHOD textCursor() INLINE Qt_QTextEdit_textCursor( ::pPtr ) - METHOD textInteractionFlags() INLINE Qt_QTextEdit_textInteractionFlags( ::pPtr ) - METHOD toHtml() INLINE Qt_QTextEdit_toHtml( ::pPtr ) - METHOD toPlainText() INLINE Qt_QTextEdit_toPlainText( ::pPtr ) - METHOD wordWrapMode() INLINE Qt_QTextEdit_wordWrapMode( ::pPtr ) - METHOD append( cText ) INLINE Qt_QTextEdit_append( ::pPtr, cText ) - METHOD clear() INLINE Qt_QTextEdit_clear( ::pPtr ) - METHOD copy() INLINE Qt_QTextEdit_copy( ::pPtr ) - METHOD cut() INLINE Qt_QTextEdit_cut( ::pPtr ) - METHOD insertHtml( cText ) INLINE Qt_QTextEdit_insertHtml( ::pPtr, cText ) - METHOD insertPlainText( cText ) INLINE Qt_QTextEdit_insertPlainText( ::pPtr, cText ) - METHOD paste() INLINE Qt_QTextEdit_paste( ::pPtr ) - METHOD redo() INLINE Qt_QTextEdit_redo( ::pPtr ) - METHOD scrollToAnchor( cName ) INLINE Qt_QTextEdit_scrollToAnchor( ::pPtr, cName ) - METHOD selectAll() INLINE Qt_QTextEdit_selectAll( ::pPtr ) - METHOD setAlignment( nA ) INLINE Qt_QTextEdit_setAlignment( ::pPtr, nA ) - METHOD setCurrentFont( pF ) INLINE Qt_QTextEdit_setCurrentFont( ::pPtr, pF ) - METHOD setFontFamily( cFontFamily ) INLINE Qt_QTextEdit_setFontFamily( ::pPtr, cFontFamily ) - METHOD setFontItalic( lItalic ) INLINE Qt_QTextEdit_setFontItalic( ::pPtr, lItalic ) - METHOD setFontPointSize( nS ) INLINE Qt_QTextEdit_setFontPointSize( ::pPtr, nS ) - METHOD setFontUnderline( lUnderline ) INLINE Qt_QTextEdit_setFontUnderline( ::pPtr, lUnderline ) - METHOD setFontWeight( nWeight ) INLINE Qt_QTextEdit_setFontWeight( ::pPtr, nWeight ) - METHOD setHtml( cText ) INLINE Qt_QTextEdit_setHtml( ::pPtr, cText ) - METHOD setPlainText( cText ) INLINE Qt_QTextEdit_setPlainText( ::pPtr, cText ) - METHOD setText( cText ) INLINE Qt_QTextEdit_setText( ::pPtr, cText ) - METHOD setTextBackgroundColor( pC ) INLINE Qt_QTextEdit_setTextBackgroundColor( ::pPtr, pC ) - METHOD setTextColor( pC ) INLINE Qt_QTextEdit_setTextColor( ::pPtr, pC ) - METHOD undo() INLINE Qt_QTextEdit_undo( ::pPtr ) - METHOD zoomIn( nRange ) INLINE Qt_QTextEdit_zoomIn( ::pPtr, nRange ) - METHOD zoomOut( nRange ) INLINE Qt_QTextEdit_zoomOut( ::pPtr, nRange ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextEdit - - ::pParent := pParent - - ::pPtr := Qt_QTextEdit( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextEdit - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextEncoder.prg b/harbour/contrib/hbqt/TQTextEncoder.prg deleted file mode 100644 index 0179c6e623..0000000000 --- a/harbour/contrib/hbqt/TQTextEncoder.prg +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextEncoder - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD fromUnicode( cStr ) INLINE Qt_QTextEncoder_fromUnicode( ::pPtr, cStr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextEncoder - - ::pParent := pParent - - ::pPtr := Qt_QTextEncoder( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextEncoder - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextFormat.prg b/harbour/contrib/hbqt/TQTextFormat.prg deleted file mode 100644 index c36342db5a..0000000000 --- a/harbour/contrib/hbqt/TQTextFormat.prg +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextFormat - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD background() INLINE Qt_QTextFormat_background( ::pPtr ) - METHOD boolProperty( nPropertyId ) INLINE Qt_QTextFormat_boolProperty( ::pPtr, nPropertyId ) - METHOD brushProperty( nPropertyId ) INLINE Qt_QTextFormat_brushProperty( ::pPtr, nPropertyId ) - METHOD clearBackground() INLINE Qt_QTextFormat_clearBackground( ::pPtr ) - METHOD clearForeground() INLINE Qt_QTextFormat_clearForeground( ::pPtr ) - METHOD clearProperty( nPropertyId ) INLINE Qt_QTextFormat_clearProperty( ::pPtr, nPropertyId ) - METHOD colorProperty( nPropertyId ) INLINE Qt_QTextFormat_colorProperty( ::pPtr, nPropertyId ) - METHOD doubleProperty( nPropertyId ) INLINE Qt_QTextFormat_doubleProperty( ::pPtr, nPropertyId ) - METHOD foreground() INLINE Qt_QTextFormat_foreground( ::pPtr ) - METHOD hasProperty( nPropertyId ) INLINE Qt_QTextFormat_hasProperty( ::pPtr, nPropertyId ) - METHOD intProperty( nPropertyId ) INLINE Qt_QTextFormat_intProperty( ::pPtr, nPropertyId ) - METHOD isBlockFormat() INLINE Qt_QTextFormat_isBlockFormat( ::pPtr ) - METHOD isCharFormat() INLINE Qt_QTextFormat_isCharFormat( ::pPtr ) - METHOD isFrameFormat() INLINE Qt_QTextFormat_isFrameFormat( ::pPtr ) - METHOD isImageFormat() INLINE Qt_QTextFormat_isImageFormat( ::pPtr ) - METHOD isListFormat() INLINE Qt_QTextFormat_isListFormat( ::pPtr ) - METHOD isTableCellFormat() INLINE Qt_QTextFormat_isTableCellFormat( ::pPtr ) - METHOD isTableFormat() INLINE Qt_QTextFormat_isTableFormat( ::pPtr ) - METHOD isValid() INLINE Qt_QTextFormat_isValid( ::pPtr ) - METHOD layoutDirection() INLINE Qt_QTextFormat_layoutDirection( ::pPtr ) - METHOD lengthProperty( nPropertyId ) INLINE Qt_QTextFormat_lengthProperty( ::pPtr, nPropertyId ) - METHOD merge( pOther ) INLINE Qt_QTextFormat_merge( ::pPtr, pOther ) - METHOD objectIndex() INLINE Qt_QTextFormat_objectIndex( ::pPtr ) - METHOD objectType() INLINE Qt_QTextFormat_objectType( ::pPtr ) - METHOD penProperty( nPropertyId ) INLINE Qt_QTextFormat_penProperty( ::pPtr, nPropertyId ) - METHOD property( nPropertyId ) INLINE Qt_QTextFormat_property( ::pPtr, nPropertyId ) - METHOD propertyCount() INLINE Qt_QTextFormat_propertyCount( ::pPtr ) - METHOD setBackground( pBrush ) INLINE Qt_QTextFormat_setBackground( ::pPtr, pBrush ) - METHOD setForeground( pBrush ) INLINE Qt_QTextFormat_setForeground( ::pPtr, pBrush ) - METHOD setLayoutDirection( nDirection ) INLINE Qt_QTextFormat_setLayoutDirection( ::pPtr, nDirection ) - METHOD setObjectIndex( nIndex ) INLINE Qt_QTextFormat_setObjectIndex( ::pPtr, nIndex ) - METHOD setObjectType( nType ) INLINE Qt_QTextFormat_setObjectType( ::pPtr, nType ) - METHOD setProperty( nPropertyId, pValue ) INLINE Qt_QTextFormat_setProperty( ::pPtr, nPropertyId, pValue ) - METHOD stringProperty( nPropertyId ) INLINE Qt_QTextFormat_stringProperty( ::pPtr, nPropertyId ) - METHOD toBlockFormat() INLINE Qt_QTextFormat_toBlockFormat( ::pPtr ) - METHOD toCharFormat() INLINE Qt_QTextFormat_toCharFormat( ::pPtr ) - METHOD toFrameFormat() INLINE Qt_QTextFormat_toFrameFormat( ::pPtr ) - METHOD toImageFormat() INLINE Qt_QTextFormat_toImageFormat( ::pPtr ) - METHOD toListFormat() INLINE Qt_QTextFormat_toListFormat( ::pPtr ) - METHOD toTableCellFormat() INLINE Qt_QTextFormat_toTableCellFormat( ::pPtr ) - METHOD toTableFormat() INLINE Qt_QTextFormat_toTableFormat( ::pPtr ) - METHOD type() INLINE Qt_QTextFormat_type( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextFormat - - ::pParent := pParent - - ::pPtr := Qt_QTextFormat( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextFormat - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextFragment.prg b/harbour/contrib/hbqt/TQTextFragment.prg deleted file mode 100644 index 032a05f40e..0000000000 --- a/harbour/contrib/hbqt/TQTextFragment.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextFragment - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD charFormat() INLINE Qt_QTextFragment_charFormat( ::pPtr ) - METHOD charFormatIndex() INLINE Qt_QTextFragment_charFormatIndex( ::pPtr ) - METHOD contains( nPosition ) INLINE Qt_QTextFragment_contains( ::pPtr, nPosition ) - METHOD isValid() INLINE Qt_QTextFragment_isValid( ::pPtr ) - METHOD length() INLINE Qt_QTextFragment_length( ::pPtr ) - METHOD position() INLINE Qt_QTextFragment_position( ::pPtr ) - METHOD text() INLINE Qt_QTextFragment_text( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextFragment - - ::pParent := pParent - - ::pPtr := Qt_QTextFragment( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextFragment - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextFrame.prg b/harbour/contrib/hbqt/TQTextFrame.prg deleted file mode 100644 index fda1dcbe4a..0000000000 --- a/harbour/contrib/hbqt/TQTextFrame.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextFrame INHERIT QTextObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD firstCursorPosition() INLINE Qt_QTextFrame_firstCursorPosition( ::pPtr ) - METHOD firstPosition() INLINE Qt_QTextFrame_firstPosition( ::pPtr ) - METHOD frameFormat() INLINE Qt_QTextFrame_frameFormat( ::pPtr ) - METHOD lastCursorPosition() INLINE Qt_QTextFrame_lastCursorPosition( ::pPtr ) - METHOD lastPosition() INLINE Qt_QTextFrame_lastPosition( ::pPtr ) - METHOD parentFrame() INLINE Qt_QTextFrame_parentFrame( ::pPtr ) - METHOD setFrameFormat( pFormat ) INLINE Qt_QTextFrame_setFrameFormat( ::pPtr, pFormat ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextFrame - - ::pParent := pParent - - ::pPtr := Qt_QTextFrame( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextFrame - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextFrameFormat.prg b/harbour/contrib/hbqt/TQTextFrameFormat.prg deleted file mode 100644 index a0e2ce0b88..0000000000 --- a/harbour/contrib/hbqt/TQTextFrameFormat.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextFrameFormat INHERIT QTextFormat - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD border() INLINE Qt_QTextFrameFormat_border( ::pPtr ) - METHOD borderBrush() INLINE Qt_QTextFrameFormat_borderBrush( ::pPtr ) - METHOD borderStyle() INLINE Qt_QTextFrameFormat_borderStyle( ::pPtr ) - METHOD bottomMargin() INLINE Qt_QTextFrameFormat_bottomMargin( ::pPtr ) - METHOD height() INLINE Qt_QTextFrameFormat_height( ::pPtr ) - METHOD isValid() INLINE Qt_QTextFrameFormat_isValid( ::pPtr ) - METHOD leftMargin() INLINE Qt_QTextFrameFormat_leftMargin( ::pPtr ) - METHOD margin() INLINE Qt_QTextFrameFormat_margin( ::pPtr ) - METHOD padding() INLINE Qt_QTextFrameFormat_padding( ::pPtr ) - METHOD pageBreakPolicy() INLINE Qt_QTextFrameFormat_pageBreakPolicy( ::pPtr ) - METHOD position() INLINE Qt_QTextFrameFormat_position( ::pPtr ) - METHOD rightMargin() INLINE Qt_QTextFrameFormat_rightMargin( ::pPtr ) - METHOD setBorder( nWidth ) INLINE Qt_QTextFrameFormat_setBorder( ::pPtr, nWidth ) - METHOD setBorderBrush( pBrush ) INLINE Qt_QTextFrameFormat_setBorderBrush( ::pPtr, pBrush ) - METHOD setBorderStyle( nStyle ) INLINE Qt_QTextFrameFormat_setBorderStyle( ::pPtr, nStyle ) - METHOD setBottomMargin( nMargin ) INLINE Qt_QTextFrameFormat_setBottomMargin( ::pPtr, nMargin ) - METHOD setHeight( pHeight ) INLINE Qt_QTextFrameFormat_setHeight( ::pPtr, pHeight ) - METHOD setHeight_1( nHeight ) INLINE Qt_QTextFrameFormat_setHeight_1( ::pPtr, nHeight ) - METHOD setLeftMargin( nMargin ) INLINE Qt_QTextFrameFormat_setLeftMargin( ::pPtr, nMargin ) - METHOD setMargin( nMargin ) INLINE Qt_QTextFrameFormat_setMargin( ::pPtr, nMargin ) - METHOD setPadding( nWidth ) INLINE Qt_QTextFrameFormat_setPadding( ::pPtr, nWidth ) - METHOD setPageBreakPolicy( nPolicy ) INLINE Qt_QTextFrameFormat_setPageBreakPolicy( ::pPtr, nPolicy ) - METHOD setPosition( nPolicy ) INLINE Qt_QTextFrameFormat_setPosition( ::pPtr, nPolicy ) - METHOD setRightMargin( nMargin ) INLINE Qt_QTextFrameFormat_setRightMargin( ::pPtr, nMargin ) - METHOD setTopMargin( nMargin ) INLINE Qt_QTextFrameFormat_setTopMargin( ::pPtr, nMargin ) - METHOD setWidth( pWidth ) INLINE Qt_QTextFrameFormat_setWidth( ::pPtr, pWidth ) - METHOD setWidth_1( nWidth ) INLINE Qt_QTextFrameFormat_setWidth_1( ::pPtr, nWidth ) - METHOD topMargin() INLINE Qt_QTextFrameFormat_topMargin( ::pPtr ) - METHOD width() INLINE Qt_QTextFrameFormat_width( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextFrameFormat - - ::pParent := pParent - - ::pPtr := Qt_QTextFrameFormat( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextFrameFormat - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextImageFormat.prg b/harbour/contrib/hbqt/TQTextImageFormat.prg deleted file mode 100644 index 2ac186976c..0000000000 --- a/harbour/contrib/hbqt/TQTextImageFormat.prg +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextImageFormat INHERIT QTextCharFormat - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD height() INLINE Qt_QTextImageFormat_height( ::pPtr ) - METHOD isValid() INLINE Qt_QTextImageFormat_isValid( ::pPtr ) - METHOD name() INLINE Qt_QTextImageFormat_name( ::pPtr ) - METHOD setHeight( nHeight ) INLINE Qt_QTextImageFormat_setHeight( ::pPtr, nHeight ) - METHOD setName( cName ) INLINE Qt_QTextImageFormat_setName( ::pPtr, cName ) - METHOD setWidth( nWidth ) INLINE Qt_QTextImageFormat_setWidth( ::pPtr, nWidth ) - METHOD width() INLINE Qt_QTextImageFormat_width( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextImageFormat - - ::pParent := pParent - - ::pPtr := Qt_QTextImageFormat( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextImageFormat - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextInlineObject.prg b/harbour/contrib/hbqt/TQTextInlineObject.prg deleted file mode 100644 index f3946d890b..0000000000 --- a/harbour/contrib/hbqt/TQTextInlineObject.prg +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextInlineObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD ascent() INLINE Qt_QTextInlineObject_ascent( ::pPtr ) - METHOD descent() INLINE Qt_QTextInlineObject_descent( ::pPtr ) - METHOD format() INLINE Qt_QTextInlineObject_format( ::pPtr ) - METHOD formatIndex() INLINE Qt_QTextInlineObject_formatIndex( ::pPtr ) - METHOD height() INLINE Qt_QTextInlineObject_height( ::pPtr ) - METHOD isValid() INLINE Qt_QTextInlineObject_isValid( ::pPtr ) - METHOD rect() INLINE Qt_QTextInlineObject_rect( ::pPtr ) - METHOD setAscent( nA ) INLINE Qt_QTextInlineObject_setAscent( ::pPtr, nA ) - METHOD setDescent( nD ) INLINE Qt_QTextInlineObject_setDescent( ::pPtr, nD ) - METHOD setWidth( nW ) INLINE Qt_QTextInlineObject_setWidth( ::pPtr, nW ) - METHOD textDirection() INLINE Qt_QTextInlineObject_textDirection( ::pPtr ) - METHOD textPosition() INLINE Qt_QTextInlineObject_textPosition( ::pPtr ) - METHOD width() INLINE Qt_QTextInlineObject_width( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextInlineObject - - ::pParent := pParent - - ::pPtr := Qt_QTextInlineObject( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextInlineObject - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextItem.prg b/harbour/contrib/hbqt/TQTextItem.prg deleted file mode 100644 index bd049e545a..0000000000 --- a/harbour/contrib/hbqt/TQTextItem.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD ascent() INLINE Qt_QTextItem_ascent( ::pPtr ) - METHOD descent() INLINE Qt_QTextItem_descent( ::pPtr ) - METHOD font() INLINE Qt_QTextItem_font( ::pPtr ) - METHOD renderFlags() INLINE Qt_QTextItem_renderFlags( ::pPtr ) - METHOD text() INLINE Qt_QTextItem_text( ::pPtr ) - METHOD width() INLINE Qt_QTextItem_width( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextItem - - ::pParent := pParent - - ::pPtr := Qt_QTextItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextLayout.prg b/harbour/contrib/hbqt/TQTextLayout.prg deleted file mode 100644 index f1242e8752..0000000000 --- a/harbour/contrib/hbqt/TQTextLayout.prg +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextLayout - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD beginLayout() INLINE Qt_QTextLayout_beginLayout( ::pPtr ) - METHOD boundingRect() INLINE Qt_QTextLayout_boundingRect( ::pPtr ) - METHOD cacheEnabled() INLINE Qt_QTextLayout_cacheEnabled( ::pPtr ) - METHOD clearAdditionalFormats() INLINE Qt_QTextLayout_clearAdditionalFormats( ::pPtr ) - METHOD clearLayout() INLINE Qt_QTextLayout_clearLayout( ::pPtr ) - METHOD createLine() INLINE Qt_QTextLayout_createLine( ::pPtr ) - METHOD drawCursor( pPainter, pPosition, nCursorPosition, nWidth ) INLINE Qt_QTextLayout_drawCursor( ::pPtr, pPainter, pPosition, nCursorPosition, nWidth ) - METHOD drawCursor_1( pPainter, pPosition, nCursorPosition ) INLINE Qt_QTextLayout_drawCursor_1( ::pPtr, pPainter, pPosition, nCursorPosition ) - METHOD endLayout() INLINE Qt_QTextLayout_endLayout( ::pPtr ) - METHOD font() INLINE Qt_QTextLayout_font( ::pPtr ) - METHOD isValidCursorPosition( nPos ) INLINE Qt_QTextLayout_isValidCursorPosition( ::pPtr, nPos ) - METHOD lineAt( nI ) INLINE Qt_QTextLayout_lineAt( ::pPtr, nI ) - METHOD lineCount() INLINE Qt_QTextLayout_lineCount( ::pPtr ) - METHOD lineForTextPosition( nPos ) INLINE Qt_QTextLayout_lineForTextPosition( ::pPtr, nPos ) - METHOD maximumWidth() INLINE Qt_QTextLayout_maximumWidth( ::pPtr ) - METHOD minimumWidth() INLINE Qt_QTextLayout_minimumWidth( ::pPtr ) - METHOD nextCursorPosition( nOldPos, nMode ) INLINE Qt_QTextLayout_nextCursorPosition( ::pPtr, nOldPos, nMode ) - METHOD position() INLINE Qt_QTextLayout_position( ::pPtr ) - METHOD preeditAreaPosition() INLINE Qt_QTextLayout_preeditAreaPosition( ::pPtr ) - METHOD preeditAreaText() INLINE Qt_QTextLayout_preeditAreaText( ::pPtr ) - METHOD previousCursorPosition( nOldPos, nMode ) INLINE Qt_QTextLayout_previousCursorPosition( ::pPtr, nOldPos, nMode ) - METHOD setCacheEnabled( lEnable ) INLINE Qt_QTextLayout_setCacheEnabled( ::pPtr, lEnable ) - METHOD setFont( pFont ) INLINE Qt_QTextLayout_setFont( ::pPtr, pFont ) - METHOD setPosition( pP ) INLINE Qt_QTextLayout_setPosition( ::pPtr, pP ) - METHOD setPreeditArea( nPosition, cText ) INLINE Qt_QTextLayout_setPreeditArea( ::pPtr, nPosition, cText ) - METHOD setText( cString ) INLINE Qt_QTextLayout_setText( ::pPtr, cString ) - METHOD setTextOption( pOption ) INLINE Qt_QTextLayout_setTextOption( ::pPtr, pOption ) - METHOD text() INLINE Qt_QTextLayout_text( ::pPtr ) - METHOD textOption() INLINE Qt_QTextLayout_textOption( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextLayout - - ::pParent := pParent - - ::pPtr := Qt_QTextLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextLength.prg b/harbour/contrib/hbqt/TQTextLength.prg deleted file mode 100644 index aaafed87f8..0000000000 --- a/harbour/contrib/hbqt/TQTextLength.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextLength - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD rawValue() INLINE Qt_QTextLength_rawValue( ::pPtr ) - METHOD type() INLINE Qt_QTextLength_type( ::pPtr ) - METHOD value( nMaximumLength ) INLINE Qt_QTextLength_value( ::pPtr, nMaximumLength ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextLength - - ::pParent := pParent - - ::pPtr := Qt_QTextLength( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextLength - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextLine.prg b/harbour/contrib/hbqt/TQTextLine.prg deleted file mode 100644 index 3c43b0cf73..0000000000 --- a/harbour/contrib/hbqt/TQTextLine.prg +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextLine - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD ascent() INLINE Qt_QTextLine_ascent( ::pPtr ) - METHOD cursorToX( nCursorPos, nEdge ) INLINE Qt_QTextLine_cursorToX( ::pPtr, nCursorPos, nEdge ) - METHOD cursorToX_1( nCursorPos, nEdge ) INLINE Qt_QTextLine_cursorToX_1( ::pPtr, nCursorPos, nEdge ) - METHOD descent() INLINE Qt_QTextLine_descent( ::pPtr ) - METHOD height() INLINE Qt_QTextLine_height( ::pPtr ) - METHOD isValid() INLINE Qt_QTextLine_isValid( ::pPtr ) - METHOD lineNumber() INLINE Qt_QTextLine_lineNumber( ::pPtr ) - METHOD naturalTextRect() INLINE Qt_QTextLine_naturalTextRect( ::pPtr ) - METHOD naturalTextWidth() INLINE Qt_QTextLine_naturalTextWidth( ::pPtr ) - METHOD position() INLINE Qt_QTextLine_position( ::pPtr ) - METHOD rect() INLINE Qt_QTextLine_rect( ::pPtr ) - METHOD setLineWidth( nWidth ) INLINE Qt_QTextLine_setLineWidth( ::pPtr, nWidth ) - METHOD setNumColumns( nNumColumns ) INLINE Qt_QTextLine_setNumColumns( ::pPtr, nNumColumns ) - METHOD setNumColumns_1( nNumColumns, nAlignmentWidth ) INLINE Qt_QTextLine_setNumColumns_1( ::pPtr, nNumColumns, nAlignmentWidth ) - METHOD setPosition( pPos ) INLINE Qt_QTextLine_setPosition( ::pPtr, pPos ) - METHOD textLength() INLINE Qt_QTextLine_textLength( ::pPtr ) - METHOD textStart() INLINE Qt_QTextLine_textStart( ::pPtr ) - METHOD width() INLINE Qt_QTextLine_width( ::pPtr ) - METHOD x() INLINE Qt_QTextLine_x( ::pPtr ) - METHOD xToCursor( nX, nCpos ) INLINE Qt_QTextLine_xToCursor( ::pPtr, nX, nCpos ) - METHOD y() INLINE Qt_QTextLine_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextLine - - ::pParent := pParent - - ::pPtr := Qt_QTextLine( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextLine - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextObject.prg b/harbour/contrib/hbqt/TQTextObject.prg deleted file mode 100644 index 35fe1b550f..0000000000 --- a/harbour/contrib/hbqt/TQTextObject.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextObject INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD document() INLINE Qt_QTextObject_document( ::pPtr ) - METHOD format() INLINE Qt_QTextObject_format( ::pPtr ) - METHOD formatIndex() INLINE Qt_QTextObject_formatIndex( ::pPtr ) - METHOD objectIndex() INLINE Qt_QTextObject_objectIndex( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextObject - - ::pParent := pParent - - ::pPtr := Qt_QTextObject( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextObject - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTextStream.prg b/harbour/contrib/hbqt/TQTextStream.prg deleted file mode 100644 index 968a42aeff..0000000000 --- a/harbour/contrib/hbqt/TQTextStream.prg +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTextStream - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD atEnd() INLINE Qt_QTextStream_atEnd( ::pPtr ) - METHOD autoDetectUnicode() INLINE Qt_QTextStream_autoDetectUnicode( ::pPtr ) - METHOD codec() INLINE Qt_QTextStream_codec( ::pPtr ) - METHOD device() INLINE Qt_QTextStream_device( ::pPtr ) - METHOD fieldAlignment() INLINE Qt_QTextStream_fieldAlignment( ::pPtr ) - METHOD fieldWidth() INLINE Qt_QTextStream_fieldWidth( ::pPtr ) - METHOD flush() INLINE Qt_QTextStream_flush( ::pPtr ) - METHOD generateByteOrderMark() INLINE Qt_QTextStream_generateByteOrderMark( ::pPtr ) - METHOD integerBase() INLINE Qt_QTextStream_integerBase( ::pPtr ) - METHOD locale() INLINE Qt_QTextStream_locale( ::pPtr ) - METHOD numberFlags() INLINE Qt_QTextStream_numberFlags( ::pPtr ) - METHOD pos() INLINE Qt_QTextStream_pos( ::pPtr ) - METHOD read( nMaxlen ) INLINE Qt_QTextStream_read( ::pPtr, nMaxlen ) - METHOD readAll() INLINE Qt_QTextStream_readAll( ::pPtr ) - METHOD readLine( nMaxlen ) INLINE Qt_QTextStream_readLine( ::pPtr, nMaxlen ) - METHOD realNumberNotation() INLINE Qt_QTextStream_realNumberNotation( ::pPtr ) - METHOD realNumberPrecision() INLINE Qt_QTextStream_realNumberPrecision( ::pPtr ) - METHOD reset() INLINE Qt_QTextStream_reset( ::pPtr ) - METHOD resetStatus() INLINE Qt_QTextStream_resetStatus( ::pPtr ) - METHOD seek( nPos ) INLINE Qt_QTextStream_seek( ::pPtr, nPos ) - METHOD setAutoDetectUnicode( lEnabled ) INLINE Qt_QTextStream_setAutoDetectUnicode( ::pPtr, lEnabled ) - METHOD setCodec( pCodec ) INLINE Qt_QTextStream_setCodec( ::pPtr, pCodec ) - METHOD setCodec_1( pCodecName ) INLINE Qt_QTextStream_setCodec_1( ::pPtr, pCodecName ) - METHOD setDevice( pDevice ) INLINE Qt_QTextStream_setDevice( ::pPtr, pDevice ) - METHOD setFieldAlignment( nMode ) INLINE Qt_QTextStream_setFieldAlignment( ::pPtr, nMode ) - METHOD setFieldWidth( nWidth ) INLINE Qt_QTextStream_setFieldWidth( ::pPtr, nWidth ) - METHOD setGenerateByteOrderMark( lGenerate ) INLINE Qt_QTextStream_setGenerateByteOrderMark( ::pPtr, lGenerate ) - METHOD setIntegerBase( nBase ) INLINE Qt_QTextStream_setIntegerBase( ::pPtr, nBase ) - METHOD setLocale( pLocale ) INLINE Qt_QTextStream_setLocale( ::pPtr, pLocale ) - METHOD setNumberFlags( nFlags ) INLINE Qt_QTextStream_setNumberFlags( ::pPtr, nFlags ) - METHOD setPadChar( nCh ) INLINE Qt_QTextStream_setPadChar( ::pPtr, nCh ) - METHOD setRealNumberNotation( nNotation ) INLINE Qt_QTextStream_setRealNumberNotation( ::pPtr, nNotation ) - METHOD setRealNumberPrecision( nPrecision ) INLINE Qt_QTextStream_setRealNumberPrecision( ::pPtr, nPrecision ) - METHOD setStatus( nStatus ) INLINE Qt_QTextStream_setStatus( ::pPtr, nStatus ) - METHOD skipWhiteSpace() INLINE Qt_QTextStream_skipWhiteSpace( ::pPtr ) - METHOD status() INLINE Qt_QTextStream_status( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTextStream - - ::pParent := pParent - - ::pPtr := Qt_QTextStream( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTextStream - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTimeEdit.prg b/harbour/contrib/hbqt/TQTimeEdit.prg deleted file mode 100644 index db06bc1707..0000000000 --- a/harbour/contrib/hbqt/TQTimeEdit.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTimeEdit INHERIT QDateTimeEdit - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTimeEdit - - ::pParent := pParent - - ::pPtr := Qt_QTimeEdit( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTimeEdit - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTimer.prg b/harbour/contrib/hbqt/TQTimer.prg deleted file mode 100644 index 28dbbf5c81..0000000000 --- a/harbour/contrib/hbqt/TQTimer.prg +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTimer INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD interval() INLINE Qt_QTimer_interval( ::pPtr ) - METHOD isActive() INLINE Qt_QTimer_isActive( ::pPtr ) - METHOD isSingleShot() INLINE Qt_QTimer_isSingleShot( ::pPtr ) - METHOD setInterval( nMsec ) INLINE Qt_QTimer_setInterval( ::pPtr, nMsec ) - METHOD setSingleShot( lSingleShot ) INLINE Qt_QTimer_setSingleShot( ::pPtr, lSingleShot ) - METHOD timerId() INLINE Qt_QTimer_timerId( ::pPtr ) - METHOD singleShot( nMsec, pReceiver, pMember ) INLINE Qt_QTimer_singleShot( ::pPtr, nMsec, pReceiver, pMember ) - METHOD start() INLINE Qt_QTimer_start( ::pPtr ) - METHOD stop() INLINE Qt_QTimer_stop( ::pPtr ) - METHOD start_1( nMsec ) INLINE Qt_QTimer_start_1( ::pPtr, nMsec ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTimer - - ::pParent := pParent - - ::pPtr := Qt_QTimer( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTimer - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQToolBar.prg b/harbour/contrib/hbqt/TQToolBar.prg deleted file mode 100644 index ecd00ac28e..0000000000 --- a/harbour/contrib/hbqt/TQToolBar.prg +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QToolBar INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD actionAt( pP ) INLINE Qt_QToolBar_actionAt( ::pPtr, pP ) - METHOD actionAt_1( nX, nY ) INLINE Qt_QToolBar_actionAt_1( ::pPtr, nX, nY ) - METHOD addAction( pAction ) INLINE Qt_QToolBar_addAction( ::pPtr, pAction ) - METHOD addAction_1( cText ) INLINE Qt_QToolBar_addAction_1( ::pPtr, cText ) - METHOD addAction_2( cIcon, cText ) INLINE Qt_QToolBar_addAction_2( ::pPtr, cIcon, cText ) - METHOD addAction_3( cText, pReceiver, pMember ) INLINE Qt_QToolBar_addAction_3( ::pPtr, cText, pReceiver, pMember ) - METHOD addAction_4( cIcon, cText, pReceiver, pMember ) INLINE Qt_QToolBar_addAction_4( ::pPtr, cIcon, cText, pReceiver, pMember ) - METHOD addSeparator() INLINE Qt_QToolBar_addSeparator( ::pPtr ) - METHOD addWidget( pWidget ) INLINE Qt_QToolBar_addWidget( ::pPtr, pWidget ) - METHOD allowedAreas() INLINE Qt_QToolBar_allowedAreas( ::pPtr ) - METHOD clear() INLINE Qt_QToolBar_clear( ::pPtr ) - METHOD iconSize() INLINE Qt_QToolBar_iconSize( ::pPtr ) - METHOD insertSeparator( pBefore ) INLINE Qt_QToolBar_insertSeparator( ::pPtr, pBefore ) - METHOD insertWidget( pBefore, pWidget ) INLINE Qt_QToolBar_insertWidget( ::pPtr, pBefore, pWidget ) - METHOD isAreaAllowed( nArea ) INLINE Qt_QToolBar_isAreaAllowed( ::pPtr, nArea ) - METHOD isFloatable() INLINE Qt_QToolBar_isFloatable( ::pPtr ) - METHOD isFloating() INLINE Qt_QToolBar_isFloating( ::pPtr ) - METHOD isMovable() INLINE Qt_QToolBar_isMovable( ::pPtr ) - METHOD orientation() INLINE Qt_QToolBar_orientation( ::pPtr ) - METHOD setAllowedAreas( nAreas ) INLINE Qt_QToolBar_setAllowedAreas( ::pPtr, nAreas ) - METHOD setFloatable( lFloatable ) INLINE Qt_QToolBar_setFloatable( ::pPtr, lFloatable ) - METHOD setMovable( lMovable ) INLINE Qt_QToolBar_setMovable( ::pPtr, lMovable ) - METHOD setOrientation( nOrientation ) INLINE Qt_QToolBar_setOrientation( ::pPtr, nOrientation ) - METHOD toggleViewAction() INLINE Qt_QToolBar_toggleViewAction( ::pPtr ) - METHOD toolButtonStyle() INLINE Qt_QToolBar_toolButtonStyle( ::pPtr ) - METHOD widgetForAction( pAction ) INLINE Qt_QToolBar_widgetForAction( ::pPtr, pAction ) - METHOD setIconSize( pIconSize ) INLINE Qt_QToolBar_setIconSize( ::pPtr, pIconSize ) - METHOD setToolButtonStyle( nToolButtonStyle ) INLINE Qt_QToolBar_setToolButtonStyle( ::pPtr, nToolButtonStyle ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QToolBar - - ::pParent := pParent - - ::pPtr := Qt_QToolBar( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QToolBar - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQToolBox.prg b/harbour/contrib/hbqt/TQToolBox.prg deleted file mode 100644 index e7ad7bb3dd..0000000000 --- a/harbour/contrib/hbqt/TQToolBox.prg +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QToolBox INHERIT QFrame - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addItem( pWidget, cIconSet, cText ) INLINE Qt_QToolBox_addItem( ::pPtr, pWidget, cIconSet, cText ) - METHOD addItem_1( pW, cText ) INLINE Qt_QToolBox_addItem_1( ::pPtr, pW, cText ) - METHOD count() INLINE Qt_QToolBox_count( ::pPtr ) - METHOD currentIndex() INLINE Qt_QToolBox_currentIndex( ::pPtr ) - METHOD currentWidget() INLINE Qt_QToolBox_currentWidget( ::pPtr ) - METHOD indexOf( pWidget ) INLINE Qt_QToolBox_indexOf( ::pPtr, pWidget ) - METHOD insertItem( nIndex, pWidget, cIcon, cText ) INLINE Qt_QToolBox_insertItem( ::pPtr, nIndex, pWidget, cIcon, cText ) - METHOD insertItem_1( nIndex, pWidget, cText ) INLINE Qt_QToolBox_insertItem_1( ::pPtr, nIndex, pWidget, cText ) - METHOD isItemEnabled( nIndex ) INLINE Qt_QToolBox_isItemEnabled( ::pPtr, nIndex ) - METHOD itemIcon( nIndex ) INLINE Qt_QToolBox_itemIcon( ::pPtr, nIndex ) - METHOD itemText( nIndex ) INLINE Qt_QToolBox_itemText( ::pPtr, nIndex ) - METHOD itemToolTip( nIndex ) INLINE Qt_QToolBox_itemToolTip( ::pPtr, nIndex ) - METHOD removeItem( nIndex ) INLINE Qt_QToolBox_removeItem( ::pPtr, nIndex ) - METHOD setItemEnabled( nIndex, lEnabled ) INLINE Qt_QToolBox_setItemEnabled( ::pPtr, nIndex, lEnabled ) - METHOD setItemIcon( nIndex, cIcon ) INLINE Qt_QToolBox_setItemIcon( ::pPtr, nIndex, cIcon ) - METHOD setItemText( nIndex, cText ) INLINE Qt_QToolBox_setItemText( ::pPtr, nIndex, cText ) - METHOD setItemToolTip( nIndex, cToolTip ) INLINE Qt_QToolBox_setItemToolTip( ::pPtr, nIndex, cToolTip ) - METHOD widget( nIndex ) INLINE Qt_QToolBox_widget( ::pPtr, nIndex ) - METHOD setCurrentIndex( nIndex ) INLINE Qt_QToolBox_setCurrentIndex( ::pPtr, nIndex ) - METHOD setCurrentWidget( pWidget ) INLINE Qt_QToolBox_setCurrentWidget( ::pPtr, pWidget ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QToolBox - - ::pParent := pParent - - ::pPtr := Qt_QToolBox( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QToolBox - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQToolButton.prg b/harbour/contrib/hbqt/TQToolButton.prg deleted file mode 100644 index 39607effaa..0000000000 --- a/harbour/contrib/hbqt/TQToolButton.prg +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QToolButton INHERIT QAbstractButton - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD arrowType() INLINE Qt_QToolButton_arrowType( ::pPtr ) - METHOD autoRaise() INLINE Qt_QToolButton_autoRaise( ::pPtr ) - METHOD defaultAction() INLINE Qt_QToolButton_defaultAction( ::pPtr ) - METHOD menu() INLINE Qt_QToolButton_menu( ::pPtr ) - METHOD popupMode() INLINE Qt_QToolButton_popupMode( ::pPtr ) - METHOD setArrowType( nType ) INLINE Qt_QToolButton_setArrowType( ::pPtr, nType ) - METHOD setAutoRaise( lEnable ) INLINE Qt_QToolButton_setAutoRaise( ::pPtr, lEnable ) - METHOD setMenu( pMenu ) INLINE Qt_QToolButton_setMenu( ::pPtr, pMenu ) - METHOD setPopupMode( nMode ) INLINE Qt_QToolButton_setPopupMode( ::pPtr, nMode ) - METHOD toolButtonStyle() INLINE Qt_QToolButton_toolButtonStyle( ::pPtr ) - METHOD setDefaultAction( pAction ) INLINE Qt_QToolButton_setDefaultAction( ::pPtr, pAction ) - METHOD setToolButtonStyle( nStyle ) INLINE Qt_QToolButton_setToolButtonStyle( ::pPtr, nStyle ) - METHOD showMenu() INLINE Qt_QToolButton_showMenu( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QToolButton - - ::pParent := pParent - - ::pPtr := Qt_QToolButton( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QToolButton - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTreeView.prg b/harbour/contrib/hbqt/TQTreeView.prg deleted file mode 100644 index ab69f90e73..0000000000 --- a/harbour/contrib/hbqt/TQTreeView.prg +++ /dev/null @@ -1,148 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTreeView INHERIT QAbstractItemView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD allColumnsShowFocus() INLINE Qt_QTreeView_allColumnsShowFocus( ::pPtr ) - METHOD autoExpandDelay() INLINE Qt_QTreeView_autoExpandDelay( ::pPtr ) - METHOD columnAt( nX ) INLINE Qt_QTreeView_columnAt( ::pPtr, nX ) - METHOD columnViewportPosition( nColumn ) INLINE Qt_QTreeView_columnViewportPosition( ::pPtr, nColumn ) - METHOD columnWidth( nColumn ) INLINE Qt_QTreeView_columnWidth( ::pPtr, nColumn ) - METHOD expandsOnDoubleClick() INLINE Qt_QTreeView_expandsOnDoubleClick( ::pPtr ) - METHOD header() INLINE Qt_QTreeView_header( ::pPtr ) - METHOD indentation() INLINE Qt_QTreeView_indentation( ::pPtr ) - METHOD indexAbove( pIndex ) INLINE Qt_QTreeView_indexAbove( ::pPtr, pIndex ) - METHOD indexBelow( pIndex ) INLINE Qt_QTreeView_indexBelow( ::pPtr, pIndex ) - METHOD isAnimated() INLINE Qt_QTreeView_isAnimated( ::pPtr ) - METHOD isColumnHidden( nColumn ) INLINE Qt_QTreeView_isColumnHidden( ::pPtr, nColumn ) - METHOD isExpanded( pIndex ) INLINE Qt_QTreeView_isExpanded( ::pPtr, pIndex ) - METHOD isFirstColumnSpanned( nRow, pParent ) INLINE Qt_QTreeView_isFirstColumnSpanned( ::pPtr, nRow, pParent ) - METHOD isHeaderHidden() INLINE Qt_QTreeView_isHeaderHidden( ::pPtr ) - METHOD isRowHidden( nRow, pParent ) INLINE Qt_QTreeView_isRowHidden( ::pPtr, nRow, pParent ) - METHOD isSortingEnabled() INLINE Qt_QTreeView_isSortingEnabled( ::pPtr ) - METHOD itemsExpandable() INLINE Qt_QTreeView_itemsExpandable( ::pPtr ) - METHOD rootIsDecorated() INLINE Qt_QTreeView_rootIsDecorated( ::pPtr ) - METHOD scrollTo( pIndex, nHint ) INLINE Qt_QTreeView_scrollTo( ::pPtr, pIndex, nHint ) - METHOD setAllColumnsShowFocus( lEnable ) INLINE Qt_QTreeView_setAllColumnsShowFocus( ::pPtr, lEnable ) - METHOD setAnimated( lEnable ) INLINE Qt_QTreeView_setAnimated( ::pPtr, lEnable ) - METHOD setAutoExpandDelay( nDelay ) INLINE Qt_QTreeView_setAutoExpandDelay( ::pPtr, nDelay ) - METHOD setColumnHidden( nColumn, lHide ) INLINE Qt_QTreeView_setColumnHidden( ::pPtr, nColumn, lHide ) - METHOD setColumnWidth( nColumn, nWidth ) INLINE Qt_QTreeView_setColumnWidth( ::pPtr, nColumn, nWidth ) - METHOD setExpanded( pIndex, lExpanded ) INLINE Qt_QTreeView_setExpanded( ::pPtr, pIndex, lExpanded ) - METHOD setExpandsOnDoubleClick( lEnable ) INLINE Qt_QTreeView_setExpandsOnDoubleClick( ::pPtr, lEnable ) - METHOD setFirstColumnSpanned( nRow, pParent, lSpan ) INLINE Qt_QTreeView_setFirstColumnSpanned( ::pPtr, nRow, pParent, lSpan ) - METHOD setHeader( pHeader ) INLINE Qt_QTreeView_setHeader( ::pPtr, pHeader ) - METHOD setHeaderHidden( lHide ) INLINE Qt_QTreeView_setHeaderHidden( ::pPtr, lHide ) - METHOD setIndentation( nI ) INLINE Qt_QTreeView_setIndentation( ::pPtr, nI ) - METHOD setItemsExpandable( lEnable ) INLINE Qt_QTreeView_setItemsExpandable( ::pPtr, lEnable ) - METHOD setRootIsDecorated( lShow ) INLINE Qt_QTreeView_setRootIsDecorated( ::pPtr, lShow ) - METHOD setRowHidden( nRow, pParent, lHide ) INLINE Qt_QTreeView_setRowHidden( ::pPtr, nRow, pParent, lHide ) - METHOD setSortingEnabled( lEnable ) INLINE Qt_QTreeView_setSortingEnabled( ::pPtr, lEnable ) - METHOD setUniformRowHeights( lUniform ) INLINE Qt_QTreeView_setUniformRowHeights( ::pPtr, lUniform ) - METHOD setWordWrap( lOn ) INLINE Qt_QTreeView_setWordWrap( ::pPtr, lOn ) - METHOD sortByColumn( nColumn, nOrder ) INLINE Qt_QTreeView_sortByColumn( ::pPtr, nColumn, nOrder ) - METHOD uniformRowHeights() INLINE Qt_QTreeView_uniformRowHeights( ::pPtr ) - METHOD visualRect( pIndex ) INLINE Qt_QTreeView_visualRect( ::pPtr, pIndex ) - METHOD wordWrap() INLINE Qt_QTreeView_wordWrap( ::pPtr ) - METHOD collapse( pIndex ) INLINE Qt_QTreeView_collapse( ::pPtr, pIndex ) - METHOD collapseAll() INLINE Qt_QTreeView_collapseAll( ::pPtr ) - METHOD expand( pIndex ) INLINE Qt_QTreeView_expand( ::pPtr, pIndex ) - METHOD expandAll() INLINE Qt_QTreeView_expandAll( ::pPtr ) - METHOD expandToDepth( nDepth ) INLINE Qt_QTreeView_expandToDepth( ::pPtr, nDepth ) - METHOD hideColumn( nColumn ) INLINE Qt_QTreeView_hideColumn( ::pPtr, nColumn ) - METHOD resizeColumnToContents( nColumn ) INLINE Qt_QTreeView_resizeColumnToContents( ::pPtr, nColumn ) - METHOD showColumn( nColumn ) INLINE Qt_QTreeView_showColumn( ::pPtr, nColumn ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTreeView - - ::pParent := pParent - - ::pPtr := Qt_QTreeView( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTreeView - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTreeWidget.prg b/harbour/contrib/hbqt/TQTreeWidget.prg deleted file mode 100644 index 2db3c876e5..0000000000 --- a/harbour/contrib/hbqt/TQTreeWidget.prg +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTreeWidget INHERIT QTreeView - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addTopLevelItem( pItem ) INLINE Qt_QTreeWidget_addTopLevelItem( ::pPtr, pItem ) - METHOD closePersistentEditor( pItem, nColumn ) INLINE Qt_QTreeWidget_closePersistentEditor( ::pPtr, pItem, nColumn ) - METHOD columnCount() INLINE Qt_QTreeWidget_columnCount( ::pPtr ) - METHOD currentColumn() INLINE Qt_QTreeWidget_currentColumn( ::pPtr ) - METHOD currentItem() INLINE Qt_QTreeWidget_currentItem( ::pPtr ) - METHOD editItem( pItem, nColumn ) INLINE Qt_QTreeWidget_editItem( ::pPtr, pItem, nColumn ) - METHOD headerItem() INLINE Qt_QTreeWidget_headerItem( ::pPtr ) - METHOD indexOfTopLevelItem( pItem ) INLINE Qt_QTreeWidget_indexOfTopLevelItem( ::pPtr, pItem ) - METHOD insertTopLevelItem( nIndex, pItem ) INLINE Qt_QTreeWidget_insertTopLevelItem( ::pPtr, nIndex, pItem ) - METHOD invisibleRootItem() INLINE Qt_QTreeWidget_invisibleRootItem( ::pPtr ) - METHOD isFirstItemColumnSpanned( pItem ) INLINE Qt_QTreeWidget_isFirstItemColumnSpanned( ::pPtr, pItem ) - METHOD itemAbove( pItem ) INLINE Qt_QTreeWidget_itemAbove( ::pPtr, pItem ) - METHOD itemAt( pP ) INLINE Qt_QTreeWidget_itemAt( ::pPtr, pP ) - METHOD itemAt_1( nX, nY ) INLINE Qt_QTreeWidget_itemAt_1( ::pPtr, nX, nY ) - METHOD itemBelow( pItem ) INLINE Qt_QTreeWidget_itemBelow( ::pPtr, pItem ) - METHOD itemWidget( pItem, nColumn ) INLINE Qt_QTreeWidget_itemWidget( ::pPtr, pItem, nColumn ) - METHOD openPersistentEditor( pItem, nColumn ) INLINE Qt_QTreeWidget_openPersistentEditor( ::pPtr, pItem, nColumn ) - METHOD removeItemWidget( pItem, nColumn ) INLINE Qt_QTreeWidget_removeItemWidget( ::pPtr, pItem, nColumn ) - METHOD setColumnCount( nColumns ) INLINE Qt_QTreeWidget_setColumnCount( ::pPtr, nColumns ) - METHOD setCurrentItem( pItem ) INLINE Qt_QTreeWidget_setCurrentItem( ::pPtr, pItem ) - METHOD setCurrentItem_1( pItem, nColumn ) INLINE Qt_QTreeWidget_setCurrentItem_1( ::pPtr, pItem, nColumn ) - METHOD setCurrentItem_2( pItem, nColumn, nCommand ) INLINE Qt_QTreeWidget_setCurrentItem_2( ::pPtr, pItem, nColumn, nCommand ) - METHOD setFirstItemColumnSpanned( pItem, lSpan ) INLINE Qt_QTreeWidget_setFirstItemColumnSpanned( ::pPtr, pItem, lSpan ) - METHOD setHeaderItem( pItem ) INLINE Qt_QTreeWidget_setHeaderItem( ::pPtr, pItem ) - METHOD setHeaderLabel( cLabel ) INLINE Qt_QTreeWidget_setHeaderLabel( ::pPtr, cLabel ) - METHOD setHeaderLabels( pLabels ) INLINE Qt_QTreeWidget_setHeaderLabels( ::pPtr, pLabels ) - METHOD setItemWidget( pItem, nColumn, pWidget ) INLINE Qt_QTreeWidget_setItemWidget( ::pPtr, pItem, nColumn, pWidget ) - METHOD sortColumn() INLINE Qt_QTreeWidget_sortColumn( ::pPtr ) - METHOD sortItems( nColumn, nOrder ) INLINE Qt_QTreeWidget_sortItems( ::pPtr, nColumn, nOrder ) - METHOD takeTopLevelItem( nIndex ) INLINE Qt_QTreeWidget_takeTopLevelItem( ::pPtr, nIndex ) - METHOD topLevelItem( nIndex ) INLINE Qt_QTreeWidget_topLevelItem( ::pPtr, nIndex ) - METHOD topLevelItemCount() INLINE Qt_QTreeWidget_topLevelItemCount( ::pPtr ) - METHOD visualItemRect( pItem ) INLINE Qt_QTreeWidget_visualItemRect( ::pPtr, pItem ) - METHOD clear() INLINE Qt_QTreeWidget_clear( ::pPtr ) - METHOD collapseItem( pItem ) INLINE Qt_QTreeWidget_collapseItem( ::pPtr, pItem ) - METHOD expandItem( pItem ) INLINE Qt_QTreeWidget_expandItem( ::pPtr, pItem ) - METHOD scrollToItem( pItem, nHint ) INLINE Qt_QTreeWidget_scrollToItem( ::pPtr, pItem, nHint ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTreeWidget - - ::pParent := pParent - - ::pPtr := Qt_QTreeWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTreeWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQTreeWidgetItem.prg b/harbour/contrib/hbqt/TQTreeWidgetItem.prg deleted file mode 100644 index bf266bef6f..0000000000 --- a/harbour/contrib/hbqt/TQTreeWidgetItem.prg +++ /dev/null @@ -1,151 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QTreeWidgetItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addChild( pChild ) INLINE Qt_QTreeWidgetItem_addChild( ::pPtr, pChild ) - METHOD background( nColumn ) INLINE Qt_QTreeWidgetItem_background( ::pPtr, nColumn ) - METHOD checkState( nColumn ) INLINE Qt_QTreeWidgetItem_checkState( ::pPtr, nColumn ) - METHOD child( nIndex ) INLINE Qt_QTreeWidgetItem_child( ::pPtr, nIndex ) - METHOD childCount() INLINE Qt_QTreeWidgetItem_childCount( ::pPtr ) - METHOD childIndicatorPolicy() INLINE Qt_QTreeWidgetItem_childIndicatorPolicy( ::pPtr ) - METHOD clone() INLINE Qt_QTreeWidgetItem_clone( ::pPtr ) - METHOD columnCount() INLINE Qt_QTreeWidgetItem_columnCount( ::pPtr ) - METHOD data( nColumn, nRole ) INLINE Qt_QTreeWidgetItem_data( ::pPtr, nColumn, nRole ) - METHOD flags() INLINE Qt_QTreeWidgetItem_flags( ::pPtr ) - METHOD font( nColumn ) INLINE Qt_QTreeWidgetItem_font( ::pPtr, nColumn ) - METHOD foreground( nColumn ) INLINE Qt_QTreeWidgetItem_foreground( ::pPtr, nColumn ) - METHOD icon( nColumn ) INLINE Qt_QTreeWidgetItem_icon( ::pPtr, nColumn ) - METHOD indexOfChild( pChild ) INLINE Qt_QTreeWidgetItem_indexOfChild( ::pPtr, pChild ) - METHOD insertChild( nIndex, pChild ) INLINE Qt_QTreeWidgetItem_insertChild( ::pPtr, nIndex, pChild ) - METHOD isDisabled() INLINE Qt_QTreeWidgetItem_isDisabled( ::pPtr ) - METHOD isExpanded() INLINE Qt_QTreeWidgetItem_isExpanded( ::pPtr ) - METHOD isFirstColumnSpanned() INLINE Qt_QTreeWidgetItem_isFirstColumnSpanned( ::pPtr ) - METHOD isHidden() INLINE Qt_QTreeWidgetItem_isHidden( ::pPtr ) - METHOD isSelected() INLINE Qt_QTreeWidgetItem_isSelected( ::pPtr ) - METHOD parent() INLINE Qt_QTreeWidgetItem_parent( ::pPtr ) - METHOD read( pIn ) INLINE Qt_QTreeWidgetItem_read( ::pPtr, pIn ) - METHOD removeChild( pChild ) INLINE Qt_QTreeWidgetItem_removeChild( ::pPtr, pChild ) - METHOD setBackground( nColumn, pBrush ) INLINE Qt_QTreeWidgetItem_setBackground( ::pPtr, nColumn, pBrush ) - METHOD setCheckState( nColumn, nState ) INLINE Qt_QTreeWidgetItem_setCheckState( ::pPtr, nColumn, nState ) - METHOD setChildIndicatorPolicy( nPolicy ) INLINE Qt_QTreeWidgetItem_setChildIndicatorPolicy( ::pPtr, nPolicy ) - METHOD setData( nColumn, nRole, pValue ) INLINE Qt_QTreeWidgetItem_setData( ::pPtr, nColumn, nRole, pValue ) - METHOD setDisabled( lDisabled ) INLINE Qt_QTreeWidgetItem_setDisabled( ::pPtr, lDisabled ) - METHOD setExpanded( lExpand ) INLINE Qt_QTreeWidgetItem_setExpanded( ::pPtr, lExpand ) - METHOD setFirstColumnSpanned( lSpan ) INLINE Qt_QTreeWidgetItem_setFirstColumnSpanned( ::pPtr, lSpan ) - METHOD setFlags( nFlags ) INLINE Qt_QTreeWidgetItem_setFlags( ::pPtr, nFlags ) - METHOD setFont( nColumn, pFont ) INLINE Qt_QTreeWidgetItem_setFont( ::pPtr, nColumn, pFont ) - METHOD setForeground( nColumn, pBrush ) INLINE Qt_QTreeWidgetItem_setForeground( ::pPtr, nColumn, pBrush ) - METHOD setHidden( lHide ) INLINE Qt_QTreeWidgetItem_setHidden( ::pPtr, lHide ) - METHOD setIcon( nColumn, cIcon ) INLINE Qt_QTreeWidgetItem_setIcon( ::pPtr, nColumn, cIcon ) - METHOD setSelected( lSelect ) INLINE Qt_QTreeWidgetItem_setSelected( ::pPtr, lSelect ) - METHOD setSizeHint( nColumn, pSize ) INLINE Qt_QTreeWidgetItem_setSizeHint( ::pPtr, nColumn, pSize ) - METHOD setStatusTip( nColumn, cStatusTip ) INLINE Qt_QTreeWidgetItem_setStatusTip( ::pPtr, nColumn, cStatusTip ) - METHOD setText( nColumn, cText ) INLINE Qt_QTreeWidgetItem_setText( ::pPtr, nColumn, cText ) - METHOD setTextAlignment( nColumn, nAlignment ) INLINE Qt_QTreeWidgetItem_setTextAlignment( ::pPtr, nColumn, nAlignment ) - METHOD setToolTip( nColumn, cToolTip ) INLINE Qt_QTreeWidgetItem_setToolTip( ::pPtr, nColumn, cToolTip ) - METHOD setWhatsThis( nColumn, cWhatsThis ) INLINE Qt_QTreeWidgetItem_setWhatsThis( ::pPtr, nColumn, cWhatsThis ) - METHOD sizeHint( nColumn ) INLINE Qt_QTreeWidgetItem_sizeHint( ::pPtr, nColumn ) - METHOD sortChildren( nColumn, nOrder ) INLINE Qt_QTreeWidgetItem_sortChildren( ::pPtr, nColumn, nOrder ) - METHOD statusTip( nColumn ) INLINE Qt_QTreeWidgetItem_statusTip( ::pPtr, nColumn ) - METHOD takeChild( nIndex ) INLINE Qt_QTreeWidgetItem_takeChild( ::pPtr, nIndex ) - METHOD text( nColumn ) INLINE Qt_QTreeWidgetItem_text( ::pPtr, nColumn ) - METHOD textAlignment( nColumn ) INLINE Qt_QTreeWidgetItem_textAlignment( ::pPtr, nColumn ) - METHOD toolTip( nColumn ) INLINE Qt_QTreeWidgetItem_toolTip( ::pPtr, nColumn ) - METHOD treeWidget() INLINE Qt_QTreeWidgetItem_treeWidget( ::pPtr ) - METHOD type() INLINE Qt_QTreeWidgetItem_type( ::pPtr ) - METHOD whatsThis( nColumn ) INLINE Qt_QTreeWidgetItem_whatsThis( ::pPtr, nColumn ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QTreeWidgetItem - - ::pParent := pParent - - ::pPtr := Qt_QTreeWidgetItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QTreeWidgetItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQUrl.prg b/harbour/contrib/hbqt/TQUrl.prg deleted file mode 100644 index af22d95421..0000000000 --- a/harbour/contrib/hbqt/TQUrl.prg +++ /dev/null @@ -1,168 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QUrl INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addEncodedQueryItem( pKey, pValue ) INLINE Qt_QUrl_addEncodedQueryItem( ::pPtr, pKey, pValue ) - METHOD addQueryItem( cKey, cValue ) INLINE Qt_QUrl_addQueryItem( ::pPtr, cKey, cValue ) - METHOD allQueryItemValues( cKey ) INLINE Qt_QUrl_allQueryItemValues( ::pPtr, cKey ) - METHOD authority() INLINE Qt_QUrl_authority( ::pPtr ) - METHOD clear() INLINE Qt_QUrl_clear( ::pPtr ) - METHOD encodedFragment() INLINE Qt_QUrl_encodedFragment( ::pPtr ) - METHOD encodedHost() INLINE Qt_QUrl_encodedHost( ::pPtr ) - METHOD encodedPassword() INLINE Qt_QUrl_encodedPassword( ::pPtr ) - METHOD encodedPath() INLINE Qt_QUrl_encodedPath( ::pPtr ) - METHOD encodedQuery() INLINE Qt_QUrl_encodedQuery( ::pPtr ) - METHOD encodedQueryItemValue( pKey ) INLINE Qt_QUrl_encodedQueryItemValue( ::pPtr, pKey ) - METHOD encodedUserName() INLINE Qt_QUrl_encodedUserName( ::pPtr ) - METHOD errorString() INLINE Qt_QUrl_errorString( ::pPtr ) - METHOD fragment() INLINE Qt_QUrl_fragment( ::pPtr ) - METHOD hasEncodedQueryItem( pKey ) INLINE Qt_QUrl_hasEncodedQueryItem( ::pPtr, pKey ) - METHOD hasFragment() INLINE Qt_QUrl_hasFragment( ::pPtr ) - METHOD hasQuery() INLINE Qt_QUrl_hasQuery( ::pPtr ) - METHOD hasQueryItem( cKey ) INLINE Qt_QUrl_hasQueryItem( ::pPtr, cKey ) - METHOD host() INLINE Qt_QUrl_host( ::pPtr ) - METHOD isEmpty() INLINE Qt_QUrl_isEmpty( ::pPtr ) - METHOD isParentOf( pChildUrl ) INLINE Qt_QUrl_isParentOf( ::pPtr, pChildUrl ) - METHOD isRelative() INLINE Qt_QUrl_isRelative( ::pPtr ) - METHOD isValid() INLINE Qt_QUrl_isValid( ::pPtr ) - METHOD password() INLINE Qt_QUrl_password( ::pPtr ) - METHOD path() INLINE Qt_QUrl_path( ::pPtr ) - METHOD port() INLINE Qt_QUrl_port( ::pPtr ) - METHOD port_1( nDefaultPort ) INLINE Qt_QUrl_port_1( ::pPtr, nDefaultPort ) - METHOD queryItemValue( cKey ) INLINE Qt_QUrl_queryItemValue( ::pPtr, cKey ) - METHOD queryPairDelimiter() INLINE Qt_QUrl_queryPairDelimiter( ::pPtr ) - METHOD queryValueDelimiter() INLINE Qt_QUrl_queryValueDelimiter( ::pPtr ) - METHOD removeAllEncodedQueryItems( pKey ) INLINE Qt_QUrl_removeAllEncodedQueryItems( ::pPtr, pKey ) - METHOD removeAllQueryItems( cKey ) INLINE Qt_QUrl_removeAllQueryItems( ::pPtr, cKey ) - METHOD removeEncodedQueryItem( pKey ) INLINE Qt_QUrl_removeEncodedQueryItem( ::pPtr, pKey ) - METHOD removeQueryItem( cKey ) INLINE Qt_QUrl_removeQueryItem( ::pPtr, cKey ) - METHOD resolved( pRelative ) INLINE Qt_QUrl_resolved( ::pPtr, pRelative ) - METHOD scheme() INLINE Qt_QUrl_scheme( ::pPtr ) - METHOD setAuthority( cAuthority ) INLINE Qt_QUrl_setAuthority( ::pPtr, cAuthority ) - METHOD setEncodedFragment( pFragment ) INLINE Qt_QUrl_setEncodedFragment( ::pPtr, pFragment ) - METHOD setEncodedHost( pHost ) INLINE Qt_QUrl_setEncodedHost( ::pPtr, pHost ) - METHOD setEncodedPassword( pPassword ) INLINE Qt_QUrl_setEncodedPassword( ::pPtr, pPassword ) - METHOD setEncodedPath( pPath ) INLINE Qt_QUrl_setEncodedPath( ::pPtr, pPath ) - METHOD setEncodedQuery( pQuery ) INLINE Qt_QUrl_setEncodedQuery( ::pPtr, pQuery ) - METHOD setEncodedUrl( pEncodedUrl ) INLINE Qt_QUrl_setEncodedUrl( ::pPtr, pEncodedUrl ) - METHOD setEncodedUrl_1( pEncodedUrl, nParsingMode ) INLINE Qt_QUrl_setEncodedUrl_1( ::pPtr, pEncodedUrl, nParsingMode ) - METHOD setEncodedUserName( pUserName ) INLINE Qt_QUrl_setEncodedUserName( ::pPtr, pUserName ) - METHOD setFragment( cFragment ) INLINE Qt_QUrl_setFragment( ::pPtr, cFragment ) - METHOD setHost( cHost ) INLINE Qt_QUrl_setHost( ::pPtr, cHost ) - METHOD setPassword( cPassword ) INLINE Qt_QUrl_setPassword( ::pPtr, cPassword ) - METHOD setPath( cPath ) INLINE Qt_QUrl_setPath( ::pPtr, cPath ) - METHOD setPort( nPort ) INLINE Qt_QUrl_setPort( ::pPtr, nPort ) - METHOD setScheme( cScheme ) INLINE Qt_QUrl_setScheme( ::pPtr, cScheme ) - METHOD setUrl( cUrl ) INLINE Qt_QUrl_setUrl( ::pPtr, cUrl ) - METHOD setUrl_1( cUrl, nParsingMode ) INLINE Qt_QUrl_setUrl_1( ::pPtr, cUrl, nParsingMode ) - METHOD setUserInfo( cUserInfo ) INLINE Qt_QUrl_setUserInfo( ::pPtr, cUserInfo ) - METHOD setUserName( cUserName ) INLINE Qt_QUrl_setUserName( ::pPtr, cUserName ) - METHOD toEncoded( nOptions ) INLINE Qt_QUrl_toEncoded( ::pPtr, nOptions ) - METHOD toLocalFile() INLINE Qt_QUrl_toLocalFile( ::pPtr ) - METHOD toString( nOptions ) INLINE Qt_QUrl_toString( ::pPtr, nOptions ) - METHOD userInfo() INLINE Qt_QUrl_userInfo( ::pPtr ) - METHOD userName() INLINE Qt_QUrl_userName( ::pPtr ) - METHOD fromAce( pDomain ) INLINE Qt_QUrl_fromAce( ::pPtr, pDomain ) - METHOD fromEncoded( pInput ) INLINE Qt_QUrl_fromEncoded( ::pPtr, pInput ) - METHOD fromEncoded_1( pInput, nParsingMode ) INLINE Qt_QUrl_fromEncoded_1( ::pPtr, pInput, nParsingMode ) - METHOD fromLocalFile( cLocalFile ) INLINE Qt_QUrl_fromLocalFile( ::pPtr, cLocalFile ) - METHOD fromPercentEncoding( pInput ) INLINE Qt_QUrl_fromPercentEncoding( ::pPtr, pInput ) - METHOD idnWhitelist() INLINE Qt_QUrl_idnWhitelist( ::pPtr ) - METHOD setIdnWhitelist( pList ) INLINE Qt_QUrl_setIdnWhitelist( ::pPtr, pList ) - METHOD toAce( cDomain ) INLINE Qt_QUrl_toAce( ::pPtr, cDomain ) - METHOD toPercentEncoding( cInput, pExclude, pInclude ) INLINE Qt_QUrl_toPercentEncoding( ::pPtr, cInput, pExclude, pInclude ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QUrl - - ::pParent := pParent - - ::pPtr := Qt_QUrl( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QUrl - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQVBoxLayout.prg b/harbour/contrib/hbqt/TQVBoxLayout.prg deleted file mode 100644 index 994d582277..0000000000 --- a/harbour/contrib/hbqt/TQVBoxLayout.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QVBoxLayout INHERIT QBoxLayout - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QVBoxLayout - - ::pParent := pParent - - ::pPtr := Qt_QVBoxLayout( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QVBoxLayout - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQVariant.prg b/harbour/contrib/hbqt/TQVariant.prg deleted file mode 100644 index c163dff92c..0000000000 --- a/harbour/contrib/hbqt/TQVariant.prg +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QVariant - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD canConvert( nT ) INLINE Qt_QVariant_canConvert( ::pPtr, nT ) - METHOD canConvert_1( nT ) INLINE Qt_QVariant_canConvert_1( ::pPtr, nT ) - METHOD clear() INLINE Qt_QVariant_clear( ::pPtr ) - METHOD convert( nT ) INLINE Qt_QVariant_convert( ::pPtr, nT ) - METHOD isNull() INLINE Qt_QVariant_isNull( ::pPtr ) - METHOD isValid() INLINE Qt_QVariant_isValid( ::pPtr ) - METHOD setValue( xValue ) INLINE Qt_QVariant_setValue( ::pPtr, xValue ) - METHOD toBitArray() INLINE Qt_QVariant_toBitArray( ::pPtr ) - METHOD toBool() INLINE Qt_QVariant_toBool( ::pPtr ) - METHOD toByteArray() INLINE Qt_QVariant_toByteArray( ::pPtr ) - METHOD toDate() INLINE Qt_QVariant_toDate( ::pPtr ) - METHOD toDateTime() INLINE Qt_QVariant_toDateTime( ::pPtr ) - METHOD toDouble( lOk ) INLINE Qt_QVariant_toDouble( ::pPtr, lOk ) - METHOD toInt( lOk ) INLINE Qt_QVariant_toInt( ::pPtr, lOk ) - METHOD toLine() INLINE Qt_QVariant_toLine( ::pPtr ) - METHOD toLineF() INLINE Qt_QVariant_toLineF( ::pPtr ) - METHOD toLocale() INLINE Qt_QVariant_toLocale( ::pPtr ) - METHOD toLongLong( lOk ) INLINE Qt_QVariant_toLongLong( ::pPtr, lOk ) - METHOD toPoint() INLINE Qt_QVariant_toPoint( ::pPtr ) - METHOD toPointF() INLINE Qt_QVariant_toPointF( ::pPtr ) - METHOD toRect() INLINE Qt_QVariant_toRect( ::pPtr ) - METHOD toRectF() INLINE Qt_QVariant_toRectF( ::pPtr ) - METHOD toRegExp() INLINE Qt_QVariant_toRegExp( ::pPtr ) - METHOD toSize() INLINE Qt_QVariant_toSize( ::pPtr ) - METHOD toSizeF() INLINE Qt_QVariant_toSizeF( ::pPtr ) - METHOD toString() INLINE Qt_QVariant_toString( ::pPtr ) - METHOD toStringList() INLINE Qt_QVariant_toStringList( ::pPtr ) - METHOD toTime() INLINE Qt_QVariant_toTime( ::pPtr ) - METHOD toUInt( lOk ) INLINE Qt_QVariant_toUInt( ::pPtr, lOk ) - METHOD toULongLong( lOk ) INLINE Qt_QVariant_toULongLong( ::pPtr, lOk ) - METHOD toUrl() INLINE Qt_QVariant_toUrl( ::pPtr ) - METHOD type() INLINE Qt_QVariant_type( ::pPtr ) - METHOD userType() INLINE Qt_QVariant_userType( ::pPtr ) - METHOD fromValue( xValue ) INLINE Qt_QVariant_fromValue( ::pPtr, xValue ) - METHOD nameToType( pName ) INLINE Qt_QVariant_nameToType( ::pPtr, pName ) - METHOD typeToName( nTyp ) INLINE Qt_QVariant_typeToName( ::pPtr, nTyp ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QVariant - - ::pParent := pParent - - ::pPtr := Qt_QVariant( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QVariant - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebFrame.prg b/harbour/contrib/hbqt/TQWebFrame.prg deleted file mode 100644 index 3df45e3f05..0000000000 --- a/harbour/contrib/hbqt/TQWebFrame.prg +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebFrame INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addToJavaScriptWindowObject( cName, pObject ) INLINE Qt_QWebFrame_addToJavaScriptWindowObject( ::pPtr, cName, pObject ) - METHOD addToJavaScriptWindowObject_1( cName, pObject, nOwn ) INLINE Qt_QWebFrame_addToJavaScriptWindowObject_1( ::pPtr, cName, pObject, nOwn ) - METHOD contentsSize() INLINE Qt_QWebFrame_contentsSize( ::pPtr ) - METHOD frameName() INLINE Qt_QWebFrame_frameName( ::pPtr ) - METHOD geometry() INLINE Qt_QWebFrame_geometry( ::pPtr ) - METHOD hitTestContent( pPos ) INLINE Qt_QWebFrame_hitTestContent( ::pPtr, pPos ) - METHOD icon() INLINE Qt_QWebFrame_icon( ::pPtr ) - METHOD load( pUrl ) INLINE Qt_QWebFrame_load( ::pPtr, pUrl ) - METHOD page() INLINE Qt_QWebFrame_page( ::pPtr ) - METHOD parentFrame() INLINE Qt_QWebFrame_parentFrame( ::pPtr ) - METHOD pos() INLINE Qt_QWebFrame_pos( ::pPtr ) - METHOD render( pPainter, pClip ) INLINE Qt_QWebFrame_render( ::pPtr, pPainter, pClip ) - METHOD render_1( pPainter ) INLINE Qt_QWebFrame_render_1( ::pPtr, pPainter ) - METHOD renderTreeDump() INLINE Qt_QWebFrame_renderTreeDump( ::pPtr ) - METHOD scroll( nDx, nDy ) INLINE Qt_QWebFrame_scroll( ::pPtr, nDx, nDy ) - METHOD scrollBarMaximum( nOrientation ) INLINE Qt_QWebFrame_scrollBarMaximum( ::pPtr, nOrientation ) - METHOD scrollBarMinimum( nOrientation ) INLINE Qt_QWebFrame_scrollBarMinimum( ::pPtr, nOrientation ) - METHOD scrollBarPolicy( nOrientation ) INLINE Qt_QWebFrame_scrollBarPolicy( ::pPtr, nOrientation ) - METHOD scrollBarValue( nOrientation ) INLINE Qt_QWebFrame_scrollBarValue( ::pPtr, nOrientation ) - METHOD scrollPosition() INLINE Qt_QWebFrame_scrollPosition( ::pPtr ) - METHOD securityOrigin() INLINE Qt_QWebFrame_securityOrigin( ::pPtr ) - METHOD setContent( pData, cMimeType, pBaseUrl ) INLINE Qt_QWebFrame_setContent( ::pPtr, pData, cMimeType, pBaseUrl ) - METHOD setHtml( cHtml, pBaseUrl ) INLINE Qt_QWebFrame_setHtml( ::pPtr, cHtml, pBaseUrl ) - METHOD setScrollBarPolicy( nOrientation, nPolicy ) INLINE Qt_QWebFrame_setScrollBarPolicy( ::pPtr, nOrientation, nPolicy ) - METHOD setScrollBarValue( nOrientation, nValue ) INLINE Qt_QWebFrame_setScrollBarValue( ::pPtr, nOrientation, nValue ) - METHOD setScrollPosition( pPos ) INLINE Qt_QWebFrame_setScrollPosition( ::pPtr, pPos ) - METHOD setTextSizeMultiplier( nFactor ) INLINE Qt_QWebFrame_setTextSizeMultiplier( ::pPtr, nFactor ) - METHOD setUrl( pUrl ) INLINE Qt_QWebFrame_setUrl( ::pPtr, pUrl ) - METHOD setZoomFactor( nFactor ) INLINE Qt_QWebFrame_setZoomFactor( ::pPtr, nFactor ) - METHOD textSizeMultiplier() INLINE Qt_QWebFrame_textSizeMultiplier( ::pPtr ) - METHOD title() INLINE Qt_QWebFrame_title( ::pPtr ) - METHOD toHtml() INLINE Qt_QWebFrame_toHtml( ::pPtr ) - METHOD toPlainText() INLINE Qt_QWebFrame_toPlainText( ::pPtr ) - METHOD url() INLINE Qt_QWebFrame_url( ::pPtr ) - METHOD zoomFactor() INLINE Qt_QWebFrame_zoomFactor( ::pPtr ) - METHOD evaluateJavaScript( cScriptSource ) INLINE Qt_QWebFrame_evaluateJavaScript( ::pPtr, cScriptSource ) - METHOD print( pPrinter ) INLINE Qt_QWebFrame_print( ::pPtr, pPrinter ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebFrame - - ::pParent := pParent - - ::pPtr := Qt_QWebFrame( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebFrame - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebHistory.prg b/harbour/contrib/hbqt/TQWebHistory.prg deleted file mode 100644 index 6383f86482..0000000000 --- a/harbour/contrib/hbqt/TQWebHistory.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebHistory - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD back() INLINE Qt_QWebHistory_back( ::pPtr ) - METHOD backItem() INLINE Qt_QWebHistory_backItem( ::pPtr ) - METHOD canGoBack() INLINE Qt_QWebHistory_canGoBack( ::pPtr ) - METHOD canGoForward() INLINE Qt_QWebHistory_canGoForward( ::pPtr ) - METHOD clear() INLINE Qt_QWebHistory_clear( ::pPtr ) - METHOD count() INLINE Qt_QWebHistory_count( ::pPtr ) - METHOD currentItem() INLINE Qt_QWebHistory_currentItem( ::pPtr ) - METHOD currentItemIndex() INLINE Qt_QWebHistory_currentItemIndex( ::pPtr ) - METHOD forward() INLINE Qt_QWebHistory_forward( ::pPtr ) - METHOD forwardItem() INLINE Qt_QWebHistory_forwardItem( ::pPtr ) - METHOD goToItem( pItem ) INLINE Qt_QWebHistory_goToItem( ::pPtr, pItem ) - METHOD itemAt( nI ) INLINE Qt_QWebHistory_itemAt( ::pPtr, nI ) - METHOD maximumItemCount() INLINE Qt_QWebHistory_maximumItemCount( ::pPtr ) - METHOD setMaximumItemCount( nCount ) INLINE Qt_QWebHistory_setMaximumItemCount( ::pPtr, nCount ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebHistory - - ::pParent := pParent - - ::pPtr := Qt_QWebHistory( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebHistory - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebHistoryInterface.prg b/harbour/contrib/hbqt/TQWebHistoryInterface.prg deleted file mode 100644 index 864fd96b39..0000000000 --- a/harbour/contrib/hbqt/TQWebHistoryInterface.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebHistoryInterface INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addHistoryEntry( cUrl ) INLINE Qt_QWebHistoryInterface_addHistoryEntry( ::pPtr, cUrl ) - METHOD historyContains( cUrl ) INLINE Qt_QWebHistoryInterface_historyContains( ::pPtr, cUrl ) - METHOD defaultInterface() INLINE Qt_QWebHistoryInterface_defaultInterface( ::pPtr ) - METHOD setDefaultInterface( pDefaultInterface ) INLINE Qt_QWebHistoryInterface_setDefaultInterface( ::pPtr, pDefaultInterface ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebHistoryInterface - - ::pParent := pParent - - ::pPtr := Qt_QWebHistoryInterface( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebHistoryInterface - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebHistoryItem.prg b/harbour/contrib/hbqt/TQWebHistoryItem.prg deleted file mode 100644 index 2961891b17..0000000000 --- a/harbour/contrib/hbqt/TQWebHistoryItem.prg +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebHistoryItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD icon() INLINE Qt_QWebHistoryItem_icon( ::pPtr ) - METHOD isValid() INLINE Qt_QWebHistoryItem_isValid( ::pPtr ) - METHOD lastVisited() INLINE Qt_QWebHistoryItem_lastVisited( ::pPtr ) - METHOD originalUrl() INLINE Qt_QWebHistoryItem_originalUrl( ::pPtr ) - METHOD setUserData( pUserData ) INLINE Qt_QWebHistoryItem_setUserData( ::pPtr, pUserData ) - METHOD title() INLINE Qt_QWebHistoryItem_title( ::pPtr ) - METHOD url() INLINE Qt_QWebHistoryItem_url( ::pPtr ) - METHOD userData() INLINE Qt_QWebHistoryItem_userData( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebHistoryItem - - ::pParent := pParent - - ::pPtr := Qt_QWebHistoryItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebHistoryItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebHitTestResult.prg b/harbour/contrib/hbqt/TQWebHitTestResult.prg deleted file mode 100644 index 7ebc1beef7..0000000000 --- a/harbour/contrib/hbqt/TQWebHitTestResult.prg +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebHitTestResult - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD alternateText() INLINE Qt_QWebHitTestResult_alternateText( ::pPtr ) - METHOD boundingRect() INLINE Qt_QWebHitTestResult_boundingRect( ::pPtr ) - METHOD frame() INLINE Qt_QWebHitTestResult_frame( ::pPtr ) - METHOD imageUrl() INLINE Qt_QWebHitTestResult_imageUrl( ::pPtr ) - METHOD isContentEditable() INLINE Qt_QWebHitTestResult_isContentEditable( ::pPtr ) - METHOD isContentSelected() INLINE Qt_QWebHitTestResult_isContentSelected( ::pPtr ) - METHOD isNull() INLINE Qt_QWebHitTestResult_isNull( ::pPtr ) - METHOD linkTargetFrame() INLINE Qt_QWebHitTestResult_linkTargetFrame( ::pPtr ) - METHOD linkText() INLINE Qt_QWebHitTestResult_linkText( ::pPtr ) - METHOD linkTitle() INLINE Qt_QWebHitTestResult_linkTitle( ::pPtr ) - METHOD linkUrl() INLINE Qt_QWebHitTestResult_linkUrl( ::pPtr ) - METHOD pixmap() INLINE Qt_QWebHitTestResult_pixmap( ::pPtr ) - METHOD pos() INLINE Qt_QWebHitTestResult_pos( ::pPtr ) - METHOD title() INLINE Qt_QWebHitTestResult_title( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebHitTestResult - - ::pParent := pParent - - ::pPtr := Qt_QWebHitTestResult( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebHitTestResult - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebPage.prg b/harbour/contrib/hbqt/TQWebPage.prg deleted file mode 100644 index bdce31968a..0000000000 --- a/harbour/contrib/hbqt/TQWebPage.prg +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebPage INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD action( nAction ) INLINE Qt_QWebPage_action( ::pPtr, nAction ) - METHOD bytesReceived() INLINE Qt_QWebPage_bytesReceived( ::pPtr ) - METHOD createStandardContextMenu() INLINE Qt_QWebPage_createStandardContextMenu( ::pPtr ) - METHOD currentFrame() INLINE Qt_QWebPage_currentFrame( ::pPtr ) - METHOD findText( cSubString, nOptions ) INLINE Qt_QWebPage_findText( ::pPtr, cSubString, nOptions ) - METHOD focusNextPrevChild( lNext ) INLINE Qt_QWebPage_focusNextPrevChild( ::pPtr, lNext ) - METHOD forwardUnsupportedContent() INLINE Qt_QWebPage_forwardUnsupportedContent( ::pPtr ) - METHOD history() INLINE Qt_QWebPage_history( ::pPtr ) - METHOD inputMethodQuery( nProperty ) INLINE Qt_QWebPage_inputMethodQuery( ::pPtr, nProperty ) - METHOD isContentEditable() INLINE Qt_QWebPage_isContentEditable( ::pPtr ) - METHOD isModified() INLINE Qt_QWebPage_isModified( ::pPtr ) - METHOD linkDelegationPolicy() INLINE Qt_QWebPage_linkDelegationPolicy( ::pPtr ) - METHOD mainFrame() INLINE Qt_QWebPage_mainFrame( ::pPtr ) - METHOD networkAccessManager() INLINE Qt_QWebPage_networkAccessManager( ::pPtr ) - METHOD palette() INLINE Qt_QWebPage_palette( ::pPtr ) - METHOD pluginFactory() INLINE Qt_QWebPage_pluginFactory( ::pPtr ) - METHOD selectedText() INLINE Qt_QWebPage_selectedText( ::pPtr ) - METHOD setContentEditable( lEditable ) INLINE Qt_QWebPage_setContentEditable( ::pPtr, lEditable ) - METHOD setForwardUnsupportedContent( lForward ) INLINE Qt_QWebPage_setForwardUnsupportedContent( ::pPtr, lForward ) - METHOD setLinkDelegationPolicy( nPolicy ) INLINE Qt_QWebPage_setLinkDelegationPolicy( ::pPtr, nPolicy ) - METHOD setNetworkAccessManager( pManager ) INLINE Qt_QWebPage_setNetworkAccessManager( ::pPtr, pManager ) - METHOD setPalette( pPalette ) INLINE Qt_QWebPage_setPalette( ::pPtr, pPalette ) - METHOD setPluginFactory( pFactory ) INLINE Qt_QWebPage_setPluginFactory( ::pPtr, pFactory ) - METHOD setView( pView ) INLINE Qt_QWebPage_setView( ::pPtr, pView ) - METHOD setViewportSize( pSize ) INLINE Qt_QWebPage_setViewportSize( ::pPtr, pSize ) - METHOD settings() INLINE Qt_QWebPage_settings( ::pPtr ) - METHOD supportsExtension( nExtension ) INLINE Qt_QWebPage_supportsExtension( ::pPtr, nExtension ) - METHOD swallowContextMenuEvent( pEvent ) INLINE Qt_QWebPage_swallowContextMenuEvent( ::pPtr, pEvent ) - METHOD totalBytes() INLINE Qt_QWebPage_totalBytes( ::pPtr ) - METHOD triggerAction( nAction, lChecked ) INLINE Qt_QWebPage_triggerAction( ::pPtr, nAction, lChecked ) - METHOD undoStack() INLINE Qt_QWebPage_undoStack( ::pPtr ) - METHOD updatePositionDependentActions( pPos ) INLINE Qt_QWebPage_updatePositionDependentActions( ::pPtr, pPos ) - METHOD view() INLINE Qt_QWebPage_view( ::pPtr ) - METHOD viewportSize() INLINE Qt_QWebPage_viewportSize( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebPage - - ::pParent := pParent - - ::pPtr := Qt_QWebPage( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebPage - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebPluginFactory.prg b/harbour/contrib/hbqt/TQWebPluginFactory.prg deleted file mode 100644 index 5c2d0876cc..0000000000 --- a/harbour/contrib/hbqt/TQWebPluginFactory.prg +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebPluginFactory INHERIT QObject - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD create( cMimeType, pUrl, pArgumentNames, pArgumentValues ) INLINE Qt_QWebPluginFactory_create( ::pPtr, cMimeType, pUrl, pArgumentNames, pArgumentValues ) - METHOD refreshPlugins() INLINE Qt_QWebPluginFactory_refreshPlugins( ::pPtr ) - METHOD supportsExtension( nExtension ) INLINE Qt_QWebPluginFactory_supportsExtension( ::pPtr, nExtension ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebPluginFactory - - ::pParent := pParent - - ::pPtr := Qt_QWebPluginFactory( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebPluginFactory - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebSecurityOrigin.prg b/harbour/contrib/hbqt/TQWebSecurityOrigin.prg deleted file mode 100644 index ff11d33fb1..0000000000 --- a/harbour/contrib/hbqt/TQWebSecurityOrigin.prg +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebSecurityOrigin - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD databaseQuota() INLINE Qt_QWebSecurityOrigin_databaseQuota( ::pPtr ) - METHOD databaseUsage() INLINE Qt_QWebSecurityOrigin_databaseUsage( ::pPtr ) - METHOD host() INLINE Qt_QWebSecurityOrigin_host( ::pPtr ) - METHOD port() INLINE Qt_QWebSecurityOrigin_port( ::pPtr ) - METHOD scheme() INLINE Qt_QWebSecurityOrigin_scheme( ::pPtr ) - METHOD setDatabaseQuota( nQuota ) INLINE Qt_QWebSecurityOrigin_setDatabaseQuota( ::pPtr, nQuota ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebSecurityOrigin - - ::pParent := pParent - - ::pPtr := Qt_QWebSecurityOrigin( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebSecurityOrigin - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebSettings.prg b/harbour/contrib/hbqt/TQWebSettings.prg deleted file mode 100644 index 5f89b7c9be..0000000000 --- a/harbour/contrib/hbqt/TQWebSettings.prg +++ /dev/null @@ -1,124 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebSettings - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD fontFamily( nWhich ) INLINE Qt_QWebSettings_fontFamily( ::pPtr, nWhich ) - METHOD fontSize( nType ) INLINE Qt_QWebSettings_fontSize( ::pPtr, nType ) - METHOD resetAttribute( nAttribute ) INLINE Qt_QWebSettings_resetAttribute( ::pPtr, nAttribute ) - METHOD resetFontFamily( nWhich ) INLINE Qt_QWebSettings_resetFontFamily( ::pPtr, nWhich ) - METHOD resetFontSize( nType ) INLINE Qt_QWebSettings_resetFontSize( ::pPtr, nType ) - METHOD setAttribute( nAttribute, lOn ) INLINE Qt_QWebSettings_setAttribute( ::pPtr, nAttribute, lOn ) - METHOD setFontFamily( nWhich, cFamily ) INLINE Qt_QWebSettings_setFontFamily( ::pPtr, nWhich, cFamily ) - METHOD setFontSize( nType, nSize ) INLINE Qt_QWebSettings_setFontSize( ::pPtr, nType, nSize ) - METHOD setUserStyleSheetUrl( pLocation ) INLINE Qt_QWebSettings_setUserStyleSheetUrl( ::pPtr, pLocation ) - METHOD testAttribute( nAttribute ) INLINE Qt_QWebSettings_testAttribute( ::pPtr, nAttribute ) - METHOD userStyleSheetUrl() INLINE Qt_QWebSettings_userStyleSheetUrl( ::pPtr ) - METHOD clearIconDatabase() INLINE Qt_QWebSettings_clearIconDatabase( ::pPtr ) - METHOD globalSettings() INLINE Qt_QWebSettings_globalSettings( ::pPtr ) - METHOD iconDatabasePath() INLINE Qt_QWebSettings_iconDatabasePath( ::pPtr ) - METHOD iconForUrl( pUrl ) INLINE Qt_QWebSettings_iconForUrl( ::pPtr, pUrl ) - METHOD maximumPagesInCache() INLINE Qt_QWebSettings_maximumPagesInCache( ::pPtr ) - METHOD offlineStorageDefaultQuota() INLINE Qt_QWebSettings_offlineStorageDefaultQuota( ::pPtr ) - METHOD offlineStoragePath() INLINE Qt_QWebSettings_offlineStoragePath( ::pPtr ) - METHOD setIconDatabasePath( cPath ) INLINE Qt_QWebSettings_setIconDatabasePath( ::pPtr, cPath ) - METHOD setMaximumPagesInCache( nPages ) INLINE Qt_QWebSettings_setMaximumPagesInCache( ::pPtr, nPages ) - METHOD setObjectCacheCapacities( nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity ) INLINE Qt_QWebSettings_setObjectCacheCapacities( ::pPtr, nCacheMinDeadCapacity, nCacheMaxDead, nTotalCapacity ) - METHOD setOfflineStorageDefaultQuota( nMaximumSize ) INLINE Qt_QWebSettings_setOfflineStorageDefaultQuota( ::pPtr, nMaximumSize ) - METHOD setOfflineStoragePath( cPath ) INLINE Qt_QWebSettings_setOfflineStoragePath( ::pPtr, cPath ) - METHOD setWebGraphic( nType, pGraphic ) INLINE Qt_QWebSettings_setWebGraphic( ::pPtr, nType, pGraphic ) - METHOD webGraphic( nType ) INLINE Qt_QWebSettings_webGraphic( ::pPtr, nType ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebSettings - - ::pParent := pParent - - ::pPtr := Qt_QWebSettings( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebSettings - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWebView.prg b/harbour/contrib/hbqt/TQWebView.prg deleted file mode 100644 index 9d542e008c..0000000000 --- a/harbour/contrib/hbqt/TQWebView.prg +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWebView INHERIT QWidget - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD findText( cSubString, nOptions ) INLINE Qt_QWebView_findText( ::pPtr, cSubString, nOptions ) - METHOD history() INLINE Qt_QWebView_history( ::pPtr ) - METHOD icon() INLINE Qt_QWebView_icon( ::pPtr ) - METHOD isModified() INLINE Qt_QWebView_isModified( ::pPtr ) - METHOD load( pUrl ) INLINE Qt_QWebView_load( ::pPtr, pUrl ) - METHOD load_1( pRequest, nOperation, pBody ) INLINE Qt_QWebView_load_1( ::pPtr, pRequest, nOperation, pBody ) - METHOD page() INLINE Qt_QWebView_page( ::pPtr ) - METHOD pageAction( nAction ) INLINE Qt_QWebView_pageAction( ::pPtr, nAction ) - METHOD selectedText() INLINE Qt_QWebView_selectedText( ::pPtr ) - METHOD setContent( pData, cMimeType, pBaseUrl ) INLINE Qt_QWebView_setContent( ::pPtr, pData, cMimeType, pBaseUrl ) - METHOD setHtml( cHtml, pBaseUrl ) INLINE Qt_QWebView_setHtml( ::pPtr, cHtml, pBaseUrl ) - METHOD setPage( pPage ) INLINE Qt_QWebView_setPage( ::pPtr, pPage ) - METHOD setTextSizeMultiplier( nFactor ) INLINE Qt_QWebView_setTextSizeMultiplier( ::pPtr, nFactor ) - METHOD setUrl( pUrl ) INLINE Qt_QWebView_setUrl( ::pPtr, pUrl ) - METHOD setZoomFactor( nFactor ) INLINE Qt_QWebView_setZoomFactor( ::pPtr, nFactor ) - METHOD settings() INLINE Qt_QWebView_settings( ::pPtr ) - METHOD textSizeMultiplier() INLINE Qt_QWebView_textSizeMultiplier( ::pPtr ) - METHOD title() INLINE Qt_QWebView_title( ::pPtr ) - METHOD triggerPageAction( nAction, lChecked ) INLINE Qt_QWebView_triggerPageAction( ::pPtr, nAction, lChecked ) - METHOD url() INLINE Qt_QWebView_url( ::pPtr ) - METHOD zoomFactor() INLINE Qt_QWebView_zoomFactor( ::pPtr ) - METHOD back() INLINE Qt_QWebView_back( ::pPtr ) - METHOD forward() INLINE Qt_QWebView_forward( ::pPtr ) - METHOD print( pPrinter ) INLINE Qt_QWebView_print( ::pPtr, pPrinter ) - METHOD reload() INLINE Qt_QWebView_reload( ::pPtr ) - METHOD stop() INLINE Qt_QWebView_stop( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWebView - - ::pParent := pParent - - ::pPtr := Qt_QWebView( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWebView - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWheelEvent.prg b/harbour/contrib/hbqt/TQWheelEvent.prg deleted file mode 100644 index 9057009c13..0000000000 --- a/harbour/contrib/hbqt/TQWheelEvent.prg +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWheelEvent INHERIT QInputEvent - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD buttons() INLINE Qt_QWheelEvent_buttons( ::pPtr ) - METHOD delta() INLINE Qt_QWheelEvent_delta( ::pPtr ) - METHOD globalPos() INLINE Qt_QWheelEvent_globalPos( ::pPtr ) - METHOD globalX() INLINE Qt_QWheelEvent_globalX( ::pPtr ) - METHOD globalY() INLINE Qt_QWheelEvent_globalY( ::pPtr ) - METHOD orientation() INLINE Qt_QWheelEvent_orientation( ::pPtr ) - METHOD pos() INLINE Qt_QWheelEvent_pos( ::pPtr ) - METHOD x() INLINE Qt_QWheelEvent_x( ::pPtr ) - METHOD y() INLINE Qt_QWheelEvent_y( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWheelEvent - - ::pParent := pParent - - ::pPtr := Qt_QWheelEvent( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWheelEvent - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWidget.prg b/harbour/contrib/hbqt/TQWidget.prg deleted file mode 100644 index 6a358f0d7b..0000000000 --- a/harbour/contrib/hbqt/TQWidget.prg +++ /dev/null @@ -1,312 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWidget INHERIT QObject, QPaintDevice - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD acceptDrops() INLINE Qt_QWidget_acceptDrops( ::pPtr ) - METHOD accessibleDescription() INLINE Qt_QWidget_accessibleDescription( ::pPtr ) - METHOD accessibleName() INLINE Qt_QWidget_accessibleName( ::pPtr ) - METHOD activateWindow() INLINE Qt_QWidget_activateWindow( ::pPtr ) - METHOD addAction( pAction ) INLINE Qt_QWidget_addAction( ::pPtr, pAction ) - METHOD adjustSize() INLINE Qt_QWidget_adjustSize( ::pPtr ) - METHOD autoFillBackground() INLINE Qt_QWidget_autoFillBackground( ::pPtr ) - METHOD backgroundRole() INLINE Qt_QWidget_backgroundRole( ::pPtr ) - METHOD baseSize() INLINE Qt_QWidget_baseSize( ::pPtr ) - METHOD childAt( nX, nY ) INLINE Qt_QWidget_childAt( ::pPtr, nX, nY ) - METHOD childAt_1( pP ) INLINE Qt_QWidget_childAt_1( ::pPtr, pP ) - METHOD childrenRect() INLINE Qt_QWidget_childrenRect( ::pPtr ) - METHOD childrenRegion() INLINE Qt_QWidget_childrenRegion( ::pPtr ) - METHOD clearFocus() INLINE Qt_QWidget_clearFocus( ::pPtr ) - METHOD clearMask() INLINE Qt_QWidget_clearMask( ::pPtr ) - METHOD contentsRect() INLINE Qt_QWidget_contentsRect( ::pPtr ) - METHOD contextMenuPolicy() INLINE Qt_QWidget_contextMenuPolicy( ::pPtr ) - METHOD cursor() INLINE Qt_QWidget_cursor( ::pPtr ) - METHOD ensurePolished() INLINE Qt_QWidget_ensurePolished( ::pPtr ) - METHOD focusPolicy() INLINE Qt_QWidget_focusPolicy( ::pPtr ) - METHOD focusProxy() INLINE Qt_QWidget_focusProxy( ::pPtr ) - METHOD focusWidget() INLINE Qt_QWidget_focusWidget( ::pPtr ) - METHOD font() INLINE Qt_QWidget_font( ::pPtr ) - METHOD fontInfo() INLINE Qt_QWidget_fontInfo( ::pPtr ) - METHOD fontMetrics() INLINE Qt_QWidget_fontMetrics( ::pPtr ) - METHOD foregroundRole() INLINE Qt_QWidget_foregroundRole( ::pPtr ) - METHOD frameGeometry() INLINE Qt_QWidget_frameGeometry( ::pPtr ) - METHOD frameSize() INLINE Qt_QWidget_frameSize( ::pPtr ) - METHOD geometry() INLINE Qt_QWidget_geometry( ::pPtr ) - METHOD getContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QWidget_getContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom ) - METHOD grabKeyboard() INLINE Qt_QWidget_grabKeyboard( ::pPtr ) - METHOD grabMouse() INLINE Qt_QWidget_grabMouse( ::pPtr ) - METHOD grabMouse_1( pCursor ) INLINE Qt_QWidget_grabMouse_1( ::pPtr, pCursor ) - METHOD grabShortcut( pKey, nContext ) INLINE Qt_QWidget_grabShortcut( ::pPtr, pKey, nContext ) - METHOD graphicsProxyWidget() INLINE Qt_QWidget_graphicsProxyWidget( ::pPtr ) - METHOD hasFocus() INLINE Qt_QWidget_hasFocus( ::pPtr ) - METHOD hasMouseTracking() INLINE Qt_QWidget_hasMouseTracking( ::pPtr ) - METHOD height() INLINE Qt_QWidget_height( ::pPtr ) - METHOD heightForWidth( nW ) INLINE Qt_QWidget_heightForWidth( ::pPtr, nW ) - METHOD inputContext() INLINE Qt_QWidget_inputContext( ::pPtr ) - METHOD inputMethodQuery( nQuery ) INLINE Qt_QWidget_inputMethodQuery( ::pPtr, nQuery ) - METHOD insertAction( pBefore, pAction ) INLINE Qt_QWidget_insertAction( ::pPtr, pBefore, pAction ) - METHOD isActiveWindow() INLINE Qt_QWidget_isActiveWindow( ::pPtr ) - METHOD isAncestorOf( pChild ) INLINE Qt_QWidget_isAncestorOf( ::pPtr, pChild ) - METHOD isEnabled() INLINE Qt_QWidget_isEnabled( ::pPtr ) - METHOD isEnabledTo( pAncestor ) INLINE Qt_QWidget_isEnabledTo( ::pPtr, pAncestor ) - METHOD isFullScreen() INLINE Qt_QWidget_isFullScreen( ::pPtr ) - METHOD isHidden() INLINE Qt_QWidget_isHidden( ::pPtr ) - METHOD isMaximized() INLINE Qt_QWidget_isMaximized( ::pPtr ) - METHOD isMinimized() INLINE Qt_QWidget_isMinimized( ::pPtr ) - METHOD isModal() INLINE Qt_QWidget_isModal( ::pPtr ) - METHOD isVisible() INLINE Qt_QWidget_isVisible( ::pPtr ) - METHOD isVisibleTo( pAncestor ) INLINE Qt_QWidget_isVisibleTo( ::pPtr, pAncestor ) - METHOD isWindow() INLINE Qt_QWidget_isWindow( ::pPtr ) - METHOD isWindowModified() INLINE Qt_QWidget_isWindowModified( ::pPtr ) - METHOD layout() INLINE Qt_QWidget_layout( ::pPtr ) - METHOD layoutDirection() INLINE Qt_QWidget_layoutDirection( ::pPtr ) - METHOD locale() INLINE Qt_QWidget_locale( ::pPtr ) - METHOD mapFrom( pParent, pPos ) INLINE Qt_QWidget_mapFrom( ::pPtr, pParent, pPos ) - METHOD mapFromGlobal( pPos ) INLINE Qt_QWidget_mapFromGlobal( ::pPtr, pPos ) - METHOD mapFromParent( pPos ) INLINE Qt_QWidget_mapFromParent( ::pPtr, pPos ) - METHOD mapTo( pParent, pPos ) INLINE Qt_QWidget_mapTo( ::pPtr, pParent, pPos ) - METHOD mapToGlobal( pPos ) INLINE Qt_QWidget_mapToGlobal( ::pPtr, pPos ) - METHOD mapToParent( pPos ) INLINE Qt_QWidget_mapToParent( ::pPtr, pPos ) - METHOD mask() INLINE Qt_QWidget_mask( ::pPtr ) - METHOD maximumHeight() INLINE Qt_QWidget_maximumHeight( ::pPtr ) - METHOD maximumSize() INLINE Qt_QWidget_maximumSize( ::pPtr ) - METHOD maximumWidth() INLINE Qt_QWidget_maximumWidth( ::pPtr ) - METHOD minimumHeight() INLINE Qt_QWidget_minimumHeight( ::pPtr ) - METHOD minimumSize() INLINE Qt_QWidget_minimumSize( ::pPtr ) - METHOD minimumSizeHint() INLINE Qt_QWidget_minimumSizeHint( ::pPtr ) - METHOD minimumWidth() INLINE Qt_QWidget_minimumWidth( ::pPtr ) - METHOD move( nX, nY ) INLINE Qt_QWidget_move( ::pPtr, nX, nY ) - METHOD move_1( pQPoint ) INLINE Qt_QWidget_move_1( ::pPtr, pQPoint ) - METHOD nativeParentWidget() INLINE Qt_QWidget_nativeParentWidget( ::pPtr ) - METHOD nextInFocusChain() INLINE Qt_QWidget_nextInFocusChain( ::pPtr ) - METHOD normalGeometry() INLINE Qt_QWidget_normalGeometry( ::pPtr ) - METHOD overrideWindowFlags( nFlags ) INLINE Qt_QWidget_overrideWindowFlags( ::pPtr, nFlags ) - METHOD paintEngine() INLINE Qt_QWidget_paintEngine( ::pPtr ) - METHOD palette() INLINE Qt_QWidget_palette( ::pPtr ) - METHOD parentWidget() INLINE Qt_QWidget_parentWidget( ::pPtr ) - METHOD pos() INLINE Qt_QWidget_pos( ::pPtr ) - METHOD rect() INLINE Qt_QWidget_rect( ::pPtr ) - METHOD releaseKeyboard() INLINE Qt_QWidget_releaseKeyboard( ::pPtr ) - METHOD releaseMouse() INLINE Qt_QWidget_releaseMouse( ::pPtr ) - METHOD releaseShortcut( nId ) INLINE Qt_QWidget_releaseShortcut( ::pPtr, nId ) - METHOD removeAction( pAction ) INLINE Qt_QWidget_removeAction( ::pPtr, pAction ) - METHOD repaint( nX, nY, nW, nH ) INLINE Qt_QWidget_repaint( ::pPtr, nX, nY, nW, nH ) - METHOD repaint_1( pRect ) INLINE Qt_QWidget_repaint_1( ::pPtr, pRect ) - METHOD repaint_2( pRgn ) INLINE Qt_QWidget_repaint_2( ::pPtr, pRgn ) - METHOD resize( nW, nH ) INLINE Qt_QWidget_resize( ::pPtr, nW, nH ) - METHOD resize_1( pQSize ) INLINE Qt_QWidget_resize_1( ::pPtr, pQSize ) - METHOD restoreGeometry( pGeometry ) INLINE Qt_QWidget_restoreGeometry( ::pPtr, pGeometry ) - METHOD saveGeometry() INLINE Qt_QWidget_saveGeometry( ::pPtr ) - METHOD scroll( nDx, nDy ) INLINE Qt_QWidget_scroll( ::pPtr, nDx, nDy ) - METHOD scroll_1( nDx, nDy, pR ) INLINE Qt_QWidget_scroll_1( ::pPtr, nDx, nDy, pR ) - METHOD setAcceptDrops( lOn ) INLINE Qt_QWidget_setAcceptDrops( ::pPtr, lOn ) - METHOD setAccessibleDescription( cDescription ) INLINE Qt_QWidget_setAccessibleDescription( ::pPtr, cDescription ) - METHOD setAccessibleName( cName ) INLINE Qt_QWidget_setAccessibleName( ::pPtr, cName ) - METHOD setAttribute( nAttribute, lOn ) INLINE Qt_QWidget_setAttribute( ::pPtr, nAttribute, lOn ) - METHOD setAutoFillBackground( lEnabled ) INLINE Qt_QWidget_setAutoFillBackground( ::pPtr, lEnabled ) - METHOD setBackgroundRole( nRole ) INLINE Qt_QWidget_setBackgroundRole( ::pPtr, nRole ) - METHOD setBaseSize( pQSize ) INLINE Qt_QWidget_setBaseSize( ::pPtr, pQSize ) - METHOD setBaseSize_1( nBasew, nBaseh ) INLINE Qt_QWidget_setBaseSize_1( ::pPtr, nBasew, nBaseh ) - METHOD setContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QWidget_setContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom ) - METHOD setContextMenuPolicy( nPolicy ) INLINE Qt_QWidget_setContextMenuPolicy( ::pPtr, nPolicy ) - METHOD setCursor( pQCursor ) INLINE Qt_QWidget_setCursor( ::pPtr, pQCursor ) - METHOD setFixedHeight( nH ) INLINE Qt_QWidget_setFixedHeight( ::pPtr, nH ) - METHOD setFixedSize( pS ) INLINE Qt_QWidget_setFixedSize( ::pPtr, pS ) - METHOD setFixedSize_1( nW, nH ) INLINE Qt_QWidget_setFixedSize_1( ::pPtr, nW, nH ) - METHOD setFixedWidth( nW ) INLINE Qt_QWidget_setFixedWidth( ::pPtr, nW ) - METHOD setFocus( nReason ) INLINE Qt_QWidget_setFocus( ::pPtr, nReason ) - METHOD setFocusPolicy( nPolicy ) INLINE Qt_QWidget_setFocusPolicy( ::pPtr, nPolicy ) - METHOD setFocusProxy( pW ) INLINE Qt_QWidget_setFocusProxy( ::pPtr, pW ) - METHOD setFont( pQFont ) INLINE Qt_QWidget_setFont( ::pPtr, pQFont ) - METHOD setForegroundRole( nRole ) INLINE Qt_QWidget_setForegroundRole( ::pPtr, nRole ) - METHOD setGeometry( pQRect ) INLINE Qt_QWidget_setGeometry( ::pPtr, pQRect ) - METHOD setGeometry_1( nX, nY, nW, nH ) INLINE Qt_QWidget_setGeometry_1( ::pPtr, nX, nY, nW, nH ) - METHOD setInputContext( pContext ) INLINE Qt_QWidget_setInputContext( ::pPtr, pContext ) - METHOD setLayout( pLayout ) INLINE Qt_QWidget_setLayout( ::pPtr, pLayout ) - METHOD setLayoutDirection( nDirection ) INLINE Qt_QWidget_setLayoutDirection( ::pPtr, nDirection ) - METHOD setLocale( pLocale ) INLINE Qt_QWidget_setLocale( ::pPtr, pLocale ) - METHOD setMask( pBitmap ) INLINE Qt_QWidget_setMask( ::pPtr, pBitmap ) - METHOD setMask_1( pRegion ) INLINE Qt_QWidget_setMask_1( ::pPtr, pRegion ) - METHOD setMaximumHeight( nMaxh ) INLINE Qt_QWidget_setMaximumHeight( ::pPtr, nMaxh ) - METHOD setMaximumSize( pQSize ) INLINE Qt_QWidget_setMaximumSize( ::pPtr, pQSize ) - METHOD setMaximumSize_1( nMaxw, nMaxh ) INLINE Qt_QWidget_setMaximumSize_1( ::pPtr, nMaxw, nMaxh ) - METHOD setMaximumWidth( nMaxw ) INLINE Qt_QWidget_setMaximumWidth( ::pPtr, nMaxw ) - METHOD setMinimumHeight( nMinh ) INLINE Qt_QWidget_setMinimumHeight( ::pPtr, nMinh ) - METHOD setMinimumSize( pQSize ) INLINE Qt_QWidget_setMinimumSize( ::pPtr, pQSize ) - METHOD setMinimumSize_1( nMinw, nMinh ) INLINE Qt_QWidget_setMinimumSize_1( ::pPtr, nMinw, nMinh ) - METHOD setMinimumWidth( nMinw ) INLINE Qt_QWidget_setMinimumWidth( ::pPtr, nMinw ) - METHOD setMouseTracking( lEnable ) INLINE Qt_QWidget_setMouseTracking( ::pPtr, lEnable ) - METHOD setPalette( pQPalette ) INLINE Qt_QWidget_setPalette( ::pPtr, pQPalette ) - METHOD setParent( pParent ) INLINE Qt_QWidget_setParent( ::pPtr, pParent ) - METHOD setParent_1( pParent, nF ) INLINE Qt_QWidget_setParent_1( ::pPtr, pParent, nF ) - METHOD setShortcutAutoRepeat( nId, lEnable ) INLINE Qt_QWidget_setShortcutAutoRepeat( ::pPtr, nId, lEnable ) - METHOD setShortcutEnabled( nId, lEnable ) INLINE Qt_QWidget_setShortcutEnabled( ::pPtr, nId, lEnable ) - METHOD setSizeIncrement( pQSize ) INLINE Qt_QWidget_setSizeIncrement( ::pPtr, pQSize ) - METHOD setSizeIncrement_1( nW, nH ) INLINE Qt_QWidget_setSizeIncrement_1( ::pPtr, nW, nH ) - METHOD setSizePolicy( nHorizontal, nVertical ) INLINE Qt_QWidget_setSizePolicy( ::pPtr, nHorizontal, nVertical ) - METHOD setStatusTip( cQString ) INLINE Qt_QWidget_setStatusTip( ::pPtr, cQString ) - METHOD setStyle( pStyle ) INLINE Qt_QWidget_setStyle( ::pPtr, pStyle ) - METHOD setToolTip( cQString ) INLINE Qt_QWidget_setToolTip( ::pPtr, cQString ) - METHOD setUpdatesEnabled( lEnable ) INLINE Qt_QWidget_setUpdatesEnabled( ::pPtr, lEnable ) - METHOD setWhatsThis( cQString ) INLINE Qt_QWidget_setWhatsThis( ::pPtr, cQString ) - METHOD setWindowFilePath( cFilePath ) INLINE Qt_QWidget_setWindowFilePath( ::pPtr, cFilePath ) - METHOD setWindowFlags( nType ) INLINE Qt_QWidget_setWindowFlags( ::pPtr, nType ) - METHOD setWindowIcon( cIcon ) INLINE Qt_QWidget_setWindowIcon( ::pPtr, cIcon ) - METHOD setWindowIconText( cQString ) INLINE Qt_QWidget_setWindowIconText( ::pPtr, cQString ) - METHOD setWindowModality( nWindowModality ) INLINE Qt_QWidget_setWindowModality( ::pPtr, nWindowModality ) - METHOD setWindowOpacity( nLevel ) INLINE Qt_QWidget_setWindowOpacity( ::pPtr, nLevel ) - METHOD setWindowRole( cRole ) INLINE Qt_QWidget_setWindowRole( ::pPtr, cRole ) - METHOD setWindowState( nWindowState ) INLINE Qt_QWidget_setWindowState( ::pPtr, nWindowState ) - METHOD setWindowSurface( pSurface ) INLINE Qt_QWidget_setWindowSurface( ::pPtr, pSurface ) - METHOD size() INLINE Qt_QWidget_size( ::pPtr ) - METHOD sizeHint() INLINE Qt_QWidget_sizeHint( ::pPtr ) - METHOD sizeIncrement() INLINE Qt_QWidget_sizeIncrement( ::pPtr ) - METHOD sizePolicy() INLINE Qt_QWidget_sizePolicy( ::pPtr ) - METHOD stackUnder( pW ) INLINE Qt_QWidget_stackUnder( ::pPtr, pW ) - METHOD statusTip() INLINE Qt_QWidget_statusTip( ::pPtr ) - METHOD style() INLINE Qt_QWidget_style( ::pPtr ) - METHOD styleSheet() INLINE Qt_QWidget_styleSheet( ::pPtr ) - METHOD testAttribute( nAttribute ) INLINE Qt_QWidget_testAttribute( ::pPtr, nAttribute ) - METHOD toolTip() INLINE Qt_QWidget_toolTip( ::pPtr ) - METHOD underMouse() INLINE Qt_QWidget_underMouse( ::pPtr ) - METHOD unsetCursor() INLINE Qt_QWidget_unsetCursor( ::pPtr ) - METHOD unsetLayoutDirection() INLINE Qt_QWidget_unsetLayoutDirection( ::pPtr ) - METHOD unsetLocale() INLINE Qt_QWidget_unsetLocale( ::pPtr ) - METHOD update( nX, nY, nW, nH ) INLINE Qt_QWidget_update( ::pPtr, nX, nY, nW, nH ) - METHOD update_1( pRect ) INLINE Qt_QWidget_update_1( ::pPtr, pRect ) - METHOD update_2( pRgn ) INLINE Qt_QWidget_update_2( ::pPtr, pRgn ) - METHOD updateGeometry() INLINE Qt_QWidget_updateGeometry( ::pPtr ) - METHOD updatesEnabled() INLINE Qt_QWidget_updatesEnabled( ::pPtr ) - METHOD visibleRegion() INLINE Qt_QWidget_visibleRegion( ::pPtr ) - METHOD whatsThis() INLINE Qt_QWidget_whatsThis( ::pPtr ) - METHOD width() INLINE Qt_QWidget_width( ::pPtr ) - METHOD window() INLINE Qt_QWidget_window( ::pPtr ) - METHOD windowFilePath() INLINE Qt_QWidget_windowFilePath( ::pPtr ) - METHOD windowFlags() INLINE Qt_QWidget_windowFlags( ::pPtr ) - METHOD windowIcon() INLINE Qt_QWidget_windowIcon( ::pPtr ) - METHOD windowIconText() INLINE Qt_QWidget_windowIconText( ::pPtr ) - METHOD windowModality() INLINE Qt_QWidget_windowModality( ::pPtr ) - METHOD windowOpacity() INLINE Qt_QWidget_windowOpacity( ::pPtr ) - METHOD windowRole() INLINE Qt_QWidget_windowRole( ::pPtr ) - METHOD windowState() INLINE Qt_QWidget_windowState( ::pPtr ) - METHOD windowSurface() INLINE Qt_QWidget_windowSurface( ::pPtr ) - METHOD windowTitle() INLINE Qt_QWidget_windowTitle( ::pPtr ) - METHOD windowType() INLINE Qt_QWidget_windowType( ::pPtr ) - METHOD x() INLINE Qt_QWidget_x( ::pPtr ) - METHOD y() INLINE Qt_QWidget_y( ::pPtr ) - METHOD keyboardGrabber() INLINE Qt_QWidget_keyboardGrabber( ::pPtr ) - METHOD mouseGrabber() INLINE Qt_QWidget_mouseGrabber( ::pPtr ) - METHOD setTabOrder( pFirst, pSecond ) INLINE Qt_QWidget_setTabOrder( ::pPtr, pFirst, pSecond ) - METHOD close() INLINE Qt_QWidget_close( ::pPtr ) - METHOD hide() INLINE Qt_QWidget_hide( ::pPtr ) - METHOD lower() INLINE Qt_QWidget_lower( ::pPtr ) - METHOD raise() INLINE Qt_QWidget_raise( ::pPtr ) - METHOD repaint_3() INLINE Qt_QWidget_repaint_3( ::pPtr ) - METHOD setDisabled( lDisable ) INLINE Qt_QWidget_setDisabled( ::pPtr, lDisable ) - METHOD setEnabled( lEnable ) INLINE Qt_QWidget_setEnabled( ::pPtr, lEnable ) - METHOD setFocus_1() INLINE Qt_QWidget_setFocus_1( ::pPtr ) - METHOD setHidden( lHidden ) INLINE Qt_QWidget_setHidden( ::pPtr, lHidden ) - METHOD setStyleSheet( cStyleSheet ) INLINE Qt_QWidget_setStyleSheet( ::pPtr, cStyleSheet ) - METHOD setVisible( lVisible ) INLINE Qt_QWidget_setVisible( ::pPtr, lVisible ) - METHOD setWindowModified( lModified ) INLINE Qt_QWidget_setWindowModified( ::pPtr, lModified ) - METHOD setWindowTitle( cTitle ) INLINE Qt_QWidget_setWindowTitle( ::pPtr, cTitle ) - METHOD show() INLINE Qt_QWidget_show( ::pPtr ) - METHOD showFullScreen() INLINE Qt_QWidget_showFullScreen( ::pPtr ) - METHOD showMaximized() INLINE Qt_QWidget_showMaximized( ::pPtr ) - METHOD showMinimized() INLINE Qt_QWidget_showMinimized( ::pPtr ) - METHOD showNormal() INLINE Qt_QWidget_showNormal( ::pPtr ) - METHOD update_3() INLINE Qt_QWidget_update_3( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWidget - - ::pParent := pParent - - ::pPtr := Qt_QWidget( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWidget - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWidgetAction.prg b/harbour/contrib/hbqt/TQWidgetAction.prg deleted file mode 100644 index c685ff685f..0000000000 --- a/harbour/contrib/hbqt/TQWidgetAction.prg +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWidgetAction INHERIT QAction - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD defaultWidget() INLINE Qt_QWidgetAction_defaultWidget( ::pPtr ) - METHOD releaseWidget( pWidget ) INLINE Qt_QWidgetAction_releaseWidget( ::pPtr, pWidget ) - METHOD requestWidget( pParent ) INLINE Qt_QWidgetAction_requestWidget( ::pPtr, pParent ) - METHOD setDefaultWidget( pWidget ) INLINE Qt_QWidgetAction_setDefaultWidget( ::pPtr, pWidget ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWidgetAction - - ::pParent := pParent - - ::pPtr := Qt_QWidgetAction( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWidgetAction - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWidgetItem.prg b/harbour/contrib/hbqt/TQWidgetItem.prg deleted file mode 100644 index 9eb461d951..0000000000 --- a/harbour/contrib/hbqt/TQWidgetItem.prg +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWidgetItem INHERIT QLayoutItem - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD isEmpty() INLINE Qt_QWidgetItem_isEmpty( ::pPtr ) - METHOD widget() INLINE Qt_QWidgetItem_widget( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWidgetItem - - ::pParent := pParent - - ::pPtr := Qt_QWidgetItem( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWidgetItem - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWindowsStyle.prg b/harbour/contrib/hbqt/TQWindowsStyle.prg deleted file mode 100644 index f8f506e3d3..0000000000 --- a/harbour/contrib/hbqt/TQWindowsStyle.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWindowsStyle INHERIT QCommonStyle - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWindowsStyle - - ::pParent := pParent - - ::pPtr := Qt_QWindowsStyle( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWindowsStyle - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWindowsXPStyle.prg b/harbour/contrib/hbqt/TQWindowsXPStyle.prg deleted file mode 100644 index 4be3e2002f..0000000000 --- a/harbour/contrib/hbqt/TQWindowsXPStyle.prg +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWindowsXPStyle INHERIT QWindowsStyle - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWindowsXPStyle - - ::pParent := pParent - - ::pPtr := Qt_QWindowsXPStyle( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWindowsXPStyle - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/TQWizard.prg b/harbour/contrib/hbqt/TQWizard.prg deleted file mode 100644 index 21b09a915c..0000000000 --- a/harbour/contrib/hbqt/TQWizard.prg +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* -------------------------------------------------------------------- */ -/* WARNING: Automatically generated source file. DO NOT EDIT! */ -/* Instead, edit corresponding .qth file, */ -/* or the generator tool itself, and run regenarate. */ -/* -------------------------------------------------------------------- */ - -/* - * Harbour Project source code: - * QT wrapper main header - * - * Copyright 2009 Pritpal Bedi - * - * Copyright 2009 Marcos Antonio Gambeta - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ - - -#include "hbclass.ch" - - -CREATE CLASS QWizard INHERIT QDialog - - VAR pParent - VAR pPtr - - METHOD New() - METHOD Configure( xObject ) - - METHOD addPage( pPage ) INLINE Qt_QWizard_addPage( ::pPtr, pPage ) - METHOD button( nWhich ) INLINE Qt_QWizard_button( ::pPtr, nWhich ) - METHOD buttonText( nWhich ) INLINE Qt_QWizard_buttonText( ::pPtr, nWhich ) - METHOD currentId() INLINE Qt_QWizard_currentId( ::pPtr ) - METHOD currentPage() INLINE Qt_QWizard_currentPage( ::pPtr ) - METHOD field( cName ) INLINE Qt_QWizard_field( ::pPtr, cName ) - METHOD hasVisitedPage( nId ) INLINE Qt_QWizard_hasVisitedPage( ::pPtr, nId ) - METHOD nextId() INLINE Qt_QWizard_nextId( ::pPtr ) - METHOD options() INLINE Qt_QWizard_options( ::pPtr ) - METHOD page( nId ) INLINE Qt_QWizard_page( ::pPtr, nId ) - METHOD pixmap( nWhich ) INLINE Qt_QWizard_pixmap( ::pPtr, nWhich ) - METHOD removePage( nId ) INLINE Qt_QWizard_removePage( ::pPtr, nId ) - METHOD setButton( nWhich, pButton ) INLINE Qt_QWizard_setButton( ::pPtr, nWhich, pButton ) - METHOD setButtonText( nWhich, cText ) INLINE Qt_QWizard_setButtonText( ::pPtr, nWhich, cText ) - METHOD setDefaultProperty( pClassName, pProperty, pChangedSignal ) INLINE Qt_QWizard_setDefaultProperty( ::pPtr, pClassName, pProperty, pChangedSignal ) - METHOD setField( cName, pValue ) INLINE Qt_QWizard_setField( ::pPtr, cName, pValue ) - METHOD setOption( nOption, lOn ) INLINE Qt_QWizard_setOption( ::pPtr, nOption, lOn ) - METHOD setOptions( nOptions ) INLINE Qt_QWizard_setOptions( ::pPtr, nOptions ) - METHOD setPage( nId, pPage ) INLINE Qt_QWizard_setPage( ::pPtr, nId, pPage ) - METHOD setPixmap( nWhich, pPixmap ) INLINE Qt_QWizard_setPixmap( ::pPtr, nWhich, pPixmap ) - METHOD setStartId( nId ) INLINE Qt_QWizard_setStartId( ::pPtr, nId ) - METHOD setSubTitleFormat( nFormat ) INLINE Qt_QWizard_setSubTitleFormat( ::pPtr, nFormat ) - METHOD setTitleFormat( nFormat ) INLINE Qt_QWizard_setTitleFormat( ::pPtr, nFormat ) - METHOD setWizardStyle( nStyle ) INLINE Qt_QWizard_setWizardStyle( ::pPtr, nStyle ) - METHOD startId() INLINE Qt_QWizard_startId( ::pPtr ) - METHOD subTitleFormat() INLINE Qt_QWizard_subTitleFormat( ::pPtr ) - METHOD testOption( nOption ) INLINE Qt_QWizard_testOption( ::pPtr, nOption ) - METHOD titleFormat() INLINE Qt_QWizard_titleFormat( ::pPtr ) - METHOD validateCurrentPage() INLINE Qt_QWizard_validateCurrentPage( ::pPtr ) - METHOD wizardStyle() INLINE Qt_QWizard_wizardStyle( ::pPtr ) - METHOD back() INLINE Qt_QWizard_back( ::pPtr ) - METHOD next() INLINE Qt_QWizard_next( ::pPtr ) - METHOD restart() INLINE Qt_QWizard_restart( ::pPtr ) - - ENDCLASS - -/*----------------------------------------------------------------------*/ - -METHOD New( pParent ) CLASS QWizard - - ::pParent := pParent - - ::pPtr := Qt_QWizard( pParent ) - - RETURN Self - -/*----------------------------------------------------------------------*/ - -METHOD Configure( xObject ) CLASS QWizard - - IF hb_isObject( xObject ) - ::pPtr := xObject:pPtr - ELSEIF hb_isPointer( xObject ) - ::pPtr := xObject - ENDIF - - RETURN Self - -/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/filelist.mk b/harbour/contrib/hbqt/filelist.mk index 86f7b195a9..2665442367 100644 --- a/harbour/contrib/hbqt/filelist.mk +++ b/harbour/contrib/hbqt/filelist.mk @@ -14,458 +14,6 @@ CPP_SOURCES := \ hbqt_utils.cpp \ hbqt_slots.cpp \ hbqt_destruct.cpp \ - QAbstractButton.cpp \ - QAbstractItemModel.cpp \ - QAbstractItemView.cpp \ - QAbstractListModel.cpp \ - QAbstractPrintDialog.cpp \ - QAbstractScrollArea.cpp \ - QAbstractSlider.cpp \ - QAbstractSpinBox.cpp \ - QAbstractTableModel.cpp \ - QAction.cpp \ - QApplication.cpp \ - QBitmap.cpp \ - QBoxLayout.cpp \ - QBrush.cpp \ - QButtonGroup.cpp \ - QCalendarWidget.cpp \ - QCheckBox.cpp \ - QClipboard.cpp \ - QColor.cpp \ - QColorDialog.cpp \ - QComboBox.cpp \ - QCommandLinkButton.cpp \ - QCommonStyle.cpp \ - QConicalGradient.cpp \ - QCoreApplication.cpp \ - QCursor.cpp \ - QDateEdit.cpp \ - QDateTime.cpp \ - QDateTimeEdit.cpp \ - QDesktopWidget.cpp \ - QDial.cpp \ - QDialog.cpp \ - QDir.cpp \ - QDirModel.cpp \ - QDockWidget.cpp \ - QDoubleSpinBox.cpp \ - QDropEvent.cpp \ - QDragMoveEvent.cpp \ - QDragEnterEvent.cpp \ - QDragLeaveEvent.cpp \ - QErrorMessage.cpp \ - QEvent.cpp \ - QEventLoop.cpp \ - QFileDialog.cpp \ - QFileSystemModel.cpp \ - QFocusEvent.cpp \ - QFocusFrame.cpp \ - QFont.cpp \ - QFontComboBox.cpp \ - QFontDatabase.cpp \ - QFontDialog.cpp \ - QFontInfo.cpp \ - QFontMetrics.cpp \ - QFontMetricsF.cpp \ - QFormLayout.cpp \ - QFrame.cpp \ - QFtp.cpp \ - QGradient.cpp \ - QGridLayout.cpp \ - QGroupBox.cpp \ - QHBoxLayout.cpp \ - QHeaderView.cpp \ - QHttp.cpp \ - QIcon.cpp \ - QImage.cpp \ - QImageReader.cpp \ - QImageWriter.cpp \ - QInputDialog.cpp \ - QInputEvent.cpp \ - QIODevice.cpp \ - QKeyEvent.cpp \ - QKeySequence.cpp \ - QLabel.cpp \ - QLatin1Char.cpp \ - QLatin1String.cpp \ - QLayout.cpp \ - QLayoutItem.cpp \ - QLCDNumber.cpp \ - QLine.cpp \ - QLinearGradient.cpp \ - QLineEdit.cpp \ - QList.cpp \ - QListView.cpp \ - QListWidget.cpp \ - QListWidgetItem.cpp \ - QMainWindow.cpp \ - QMenu.cpp \ - QMenuBar.cpp \ - QMessageBox.cpp \ - QModelIndex.cpp \ - QMouseEvent.cpp \ - QMoveEvent.cpp \ - QObject.cpp \ - QPaintDevice.cpp \ - QPageSetupDialog.cpp \ - QPainter.cpp \ - QPaintEvent.cpp \ - QPalette.cpp \ - QPen.cpp \ - QPicture.cpp \ - QPixmap.cpp \ - QPoint.cpp \ - QPointF.cpp \ - QPrintDialog.cpp \ - QPrintEngine.cpp \ - QPrinter.cpp \ - QPrintPreviewDialog.cpp \ - QProcess.cpp \ - QProgressBar.cpp \ - QProgressDialog.cpp \ - QPushButton.cpp \ - QRadialGradient.cpp \ - QRadioButton.cpp \ - QRect.cpp \ - QRectF.cpp \ - QRegion.cpp \ - QResizeEvent.cpp \ - QResource.cpp \ - QScrollArea.cpp \ - QScrollBar.cpp \ - QSignalMapper.cpp \ - QSize.cpp \ - QSizeF.cpp \ - QSizeGrip.cpp \ - QSizePolicy.cpp \ - QSlider.cpp \ - QSound.cpp \ - QSpinBox.cpp \ - QSplashScreen.cpp \ - QSplitter.cpp \ - QStandardItem.cpp \ - QStandardItemModel.cpp \ - QStatusBar.cpp \ - QStringList.cpp \ - QStringListModel.cpp \ - QStyle.cpp \ - QStyledItemDelegate.cpp \ - QStyleFactory.cpp \ - QStyleHintReturn.cpp \ - QStyleHintReturnMask.cpp \ - QStyleHintReturnVariant.cpp \ - QStyleOption.cpp \ - QStyleOptionButton.cpp \ - QStyleOptionComboBox.cpp \ - QStyleOptionComplex.cpp \ - QStyleOptionDockWidget.cpp \ - QStyleOptionFocusRect.cpp \ - QStyleOptionFrame.cpp \ - QStyleOptionGroupBox.cpp \ - QStyleOptionHeader.cpp \ - QStyleOptionMenuItem.cpp \ - QStyleOptionProgressBar.cpp \ - QStyleOptionSizeGrip.cpp \ - QStyleOptionSlider.cpp \ - QStyleOptionSpinBox.cpp \ - QStyleOptionTab.cpp \ - QStyleOptionTabBarBase.cpp \ - QStyleOptionTabWidgetFrame.cpp \ - QStyleOptionTitleBar.cpp \ - QStyleOptionToolBar.cpp \ - QStyleOptionToolBox.cpp \ - QStyleOptionToolButton.cpp \ - QStyleOptionViewItem.cpp \ - QStylePainter.cpp \ - QSystemTrayIcon.cpp \ - QTabBar.cpp \ - QTableView.cpp \ - QTableWidget.cpp \ - QTableWidgetItem.cpp \ - QTabWidget.cpp \ - QTextBlock.cpp \ - QTextBlockFormat.cpp \ - QTextBlockGroup.cpp \ - QTextBrowser.cpp \ - QTextBoundaryFinder.cpp \ - QTextCharFormat.cpp \ - QTextCodec.cpp \ - QTextCursor.cpp \ - QTextDecoder.cpp \ - QTextDocument.cpp \ - QTextDocumentFragment.cpp \ - QTextDocumentWriter.cpp \ - QTextEdit.cpp \ - QTextEncoder.cpp \ - QTextFormat.cpp \ - QTextFragment.cpp \ - QTextFrame.cpp \ - QTextFrameFormat.cpp \ - QTextImageFormat.cpp \ - QTextInlineObject.cpp \ - QTextItem.cpp \ - QTextLayout.cpp \ - QTextLength.cpp \ - QTextLine.cpp \ - QTextObject.cpp \ - QTextStream.cpp \ - QTimeEdit.cpp \ - QTimer.cpp \ - QToolBar.cpp \ - QToolBox.cpp \ - QToolButton.cpp \ - QTreeView.cpp \ - QTreeWidget.cpp \ - QTreeWidgetItem.cpp \ - QUrl.cpp \ - QVariant.cpp \ - QVBoxLayout.cpp \ - QWebFrame.cpp \ - QWebHistory.cpp \ - QWebHistoryInterface.cpp \ - QWebHistoryItem.cpp \ - QWebHitTestResult.cpp \ - QWebPage.cpp \ - QWebPluginFactory.cpp \ - QWebSecurityOrigin.cpp \ - QWebSettings.cpp \ - QWebView.cpp \ - QWheelEvent.cpp \ - QWidget.cpp \ - QWidgetAction.cpp \ - QWidgetItem.cpp \ - QWindowsStyle.cpp \ - QWindowsXPStyle.cpp \ - QWizard.cpp \ - - - -PRG_SOURCES := \ - TQAbstractButton.prg \ - TQAbstractItemModel.prg \ - TQAbstractItemView.prg \ - TQAbstractListModel.prg \ - TQAbstractPrintDialog.prg \ - TQAbstractScrollArea.prg \ - TQAbstractSlider.prg \ - TQAbstractSpinBox.prg \ - TQAbstractTableModel.prg \ - TQAction.prg \ - TQApplication.prg \ - TQBitmap.prg \ - TQBoxLayout.prg \ - TQBrush.prg \ - TQButtonGroup.prg \ - TQCalendarWidget.prg \ - TQCheckBox.prg \ - TQClipboard.prg \ - TQColor.prg \ - TQColorDialog.prg \ - TQComboBox.prg \ - TQCommandLinkButton.prg \ - TQCommonStyle.prg \ - TQConicalGradient.prg \ - TQCoreApplication.prg \ - TQCursor.prg \ - TQDateEdit.prg \ - TQDateTime.prg \ - TQDateTimeEdit.prg \ - TQDesktopWidget.prg \ - TQDial.prg \ - TQDialog.prg \ - TQDir.prg \ - TQDirModel.prg \ - TQDockWidget.prg \ - TQDoubleSpinBox.prg \ - TQDropEvent.prg \ - TQDragMoveEvent.prg \ - TQDragEnterEvent.prg \ - TQDragLeaveEvent.prg \ - TQErrorMessage.prg \ - TQEvent.prg \ - TQEventLoop.prg \ - TQFileDialog.prg \ - TQFileSystemModel.prg \ - TQFocusEvent.prg \ - TQFocusFrame.prg \ - TQFont.prg \ - TQFontComboBox.prg \ - TQFontDatabase.prg \ - TQFontDialog.prg \ - TQFontInfo.prg \ - TQFontMetrics.prg \ - TQFontMetricsF.prg \ - TQFormLayout.prg \ - TQFrame.prg \ - TQFtp.prg \ - TQGradient.prg \ - TQGridLayout.prg \ - TQGroupBox.prg \ - TQHBoxLayout.prg \ - TQHeaderView.prg \ - TQHttp.prg \ - TQIcon.prg \ - TQImage.prg \ - TQImageReader.prg \ - TQImageWriter.prg \ - TQInputDialog.prg \ - TQInputEvent.prg \ - TQIODevice.prg \ - TQKeyEvent.prg \ - TQKeySequence.prg \ - TQLabel.prg \ - TQLatin1Char.prg \ - TQLatin1String.prg \ - TQLayout.prg \ - TQLayoutItem.prg \ - TQLCDNumber.prg \ - TQLine.prg \ - TQLinearGradient.prg \ - TQLineEdit.prg \ - TQList.prg \ - TQListView.prg \ - TQListWidget.prg \ - TQListWidgetItem.prg \ - TQMainWindow.prg \ - TQMenu.prg \ - TQMenuBar.prg \ - TQMessageBox.prg \ - TQModelIndex.prg \ - TQMouseEvent.prg \ - TQMoveEvent.prg \ - TQObject.prg \ - TQPaintDevice.prg \ - TQPageSetupDialog.prg \ - TQPainter.prg \ - TQPaintEvent.prg \ - TQPalette.prg \ - TQPen.prg \ - TQPicture.prg \ - TQPixmap.prg \ - TQPoint.prg \ - TQPointF.prg \ - TQPrintDialog.prg \ - TQPrintEngine.prg \ - TQPrinter.prg \ - TQPrintPreviewDialog.prg \ - TQProcess.prg \ - TQProgressBar.prg \ - TQProgressDialog.prg \ - TQPushButton.prg \ - TQRadialGradient.prg \ - TQRadioButton.prg \ - TQRect.prg \ - TQRectF.prg \ - TQRegion.prg \ - TQResizeEvent.prg \ - TQResource.prg \ - TQScrollArea.prg \ - TQScrollBar.prg \ - TQSignalMapper.prg \ - TQSize.prg \ - TQSizeF.prg \ - TQSizeGrip.prg \ - TQSizePolicy.prg \ - TQSlider.prg \ - TQSound.prg \ - TQSpinBox.prg \ - TQSplashScreen.prg \ - TQSplitter.prg \ - TQStandardItem.prg \ - TQStandardItemModel.prg \ - TQStatusBar.prg \ - TQStringList.prg \ - TQStringListModel.prg \ - TQStyle.prg \ - TQStyledItemDelegate.prg \ - TQStyleFactory.prg \ - TQStyleHintReturn.prg \ - TQStyleHintReturnMask.prg \ - TQStyleHintReturnVariant.prg \ - TQStyleOption.prg \ - TQStyleOptionButton.prg \ - TQStyleOptionComboBox.prg \ - TQStyleOptionComplex.prg \ - TQStyleOptionDockWidget.prg \ - TQStyleOptionFocusRect.prg \ - TQStyleOptionFrame.prg \ - TQStyleOptionGroupBox.prg \ - TQStyleOptionHeader.prg \ - TQStyleOptionMenuItem.prg \ - TQStyleOptionProgressBar.prg \ - TQStyleOptionSizeGrip.prg \ - TQStyleOptionSlider.prg \ - TQStyleOptionSpinBox.prg \ - TQStyleOptionTab.prg \ - TQStyleOptionTabBarBase.prg \ - TQStyleOptionTabWidgetFrame.prg \ - TQStyleOptionTitleBar.prg \ - TQStyleOptionToolBar.prg \ - TQStyleOptionToolBox.prg \ - TQStyleOptionToolButton.prg \ - TQStyleOptionViewItem.prg \ - TQStylePainter.prg \ - TQSystemTrayIcon.prg \ - TQTabBar.prg \ - TQTableView.prg \ - TQTableWidget.prg \ - TQTableWidgetItem.prg \ - TQTabWidget.prg \ - TQTextBlock.prg \ - TQTextBlockFormat.prg \ - TQTextBlockGroup.prg \ - TQTextBrowser.prg \ - TQTextBoundaryFinder.prg \ - TQTextCharFormat.prg \ - TQTextCodec.prg \ - TQTextCursor.prg \ - TQTextDecoder.prg \ - TQTextDocument.prg \ - TQTextDocumentFragment.prg \ - TQTextDocumentWriter.prg \ - TQTextEdit.prg \ - TQTextEncoder.prg \ - TQTextFormat.prg \ - TQTextFragment.prg \ - TQTextFrame.prg \ - TQTextFrameFormat.prg \ - TQTextImageFormat.prg \ - TQTextInlineObject.prg \ - TQTextItem.prg \ - TQTextLayout.prg \ - TQTextLength.prg \ - TQTextLine.prg \ - TQTextObject.prg \ - TQTextStream.prg \ - TQTimeEdit.prg \ - TQTimer.prg \ - TQToolBar.prg \ - TQToolBox.prg \ - TQToolButton.prg \ - TQTreeView.prg \ - TQTreeWidget.prg \ - TQTreeWidgetItem.prg \ - TQUrl.prg \ - TQVariant.prg \ - TQVBoxLayout.prg \ - TQWebFrame.prg \ - TQWebHistory.prg \ - TQWebHistoryInterface.prg \ - TQWebHistoryItem.prg \ - TQWebHitTestResult.prg \ - TQWebPage.prg \ - TQWebPluginFactory.prg \ - TQWebSecurityOrigin.prg \ - TQWebSettings.prg \ - TQWebView.prg \ - TQWheelEvent.prg \ - TQWidget.prg \ - TQWidgetAction.prg \ - TQWidgetItem.prg \ - TQWindowsStyle.prg \ - TQWindowsXPStyle.prg \ - TQWizard.prg \ # Don't delete this comment, it's here to ensure empty # line above is kept intact. diff --git a/harbour/contrib/hbqt/generator/hbmk.hbm b/harbour/contrib/hbqt/generator/hbmk.hbm index 172739e229..42a8870d3c 100644 --- a/harbour/contrib/hbqt/generator/hbmk.hbm +++ b/harbour/contrib/hbqt/generator/hbmk.hbm @@ -2,4 +2,4 @@ # $Id$ # --w3 -es2 +-w3 -es2 -lxhb diff --git a/harbour/contrib/hbqt/generator/hbqtgen.prg b/harbour/contrib/hbqt/generator/hbqtgen.prg index 8a87d746ae..695215d915 100644 --- a/harbour/contrib/hbqt/generator/hbqtgen.prg +++ b/harbour/contrib/hbqt/generator/hbqtgen.prg @@ -7,6 +7,10 @@ STATIC s_NewLine STATIC s_PathSep STATIC isClassObject STATIC zWidget +STATIC aCore := {} +STATIC aGui := {} +STATIC aNetwork := {} +STATIC aWebkit := {} /*----------------------------------------------------------------------*/ @@ -191,6 +195,7 @@ STATIC FUNCTION ManageProject( cProFile, cPathIn, cPathOut, cPathDoc ) IF !empty( cpp_ ) Build_Makefile( cpp_, prg_, cPOut ) + Build_GarbageFile( cpp_, cPOut ) ENDIF RETURN NIL @@ -218,8 +223,8 @@ STATIC FUNCTION PullOutSection( cQth, cSec ) /*----------------------------------------------------------------------*/ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) - LOCAL cFile, cWidget, cExt, cPath, cOrg, cCPP, cPRG, lConst //, lList, cWgt, lDestructor - LOCAL cQth, cFileCpp, s, n, nFuncs, nCnvrtd, n1, i, cFunc, lObject + LOCAL cFile, cWidget, cExt, cPath, cOrg, cCPP, cPRG, lConst //, lList, cWgt + LOCAL cQth, cFileCpp, s, n, nFuncs, nCnvrtd, n1, i, cFunc, lObject, lDestructor, lList LOCAL b_, txt_, enum_, code_, func_, dummy_, cpp_, cmntd_, doc_, varbls_ LOCAL class_, cls_, protos_, slots_, enums_, docum_, subCls_, new_, old_ @@ -291,6 +296,18 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) NEXT code_:= old_ + /* Mark to which sub library class belongs to */ + IF " 0 + lList := ascan( cls_, {|e_| lower( e_[ 1 ] ) == "list" .and. lower( e_[ 2 ] ) == "yes" } ) > 0 //cWgt := IF( lList, cWidget +"< void * >", cWidget ) - //lDestructor := ascan( cls_, {|e_| lower( e_[ 1 ] ) == "destructor" .and. lower( e_[ 2 ] ) == "no"} ) == 0 + lDestructor := ascan( cls_, {|e_| lower( e_[ 1 ] ) == "destructor" .and. lower( e_[ 2 ] ) == "no"} ) == 0 lObject := ascan( cls_, {|e_| lower( e_[ 1 ] ) == "qobject" .and. lower( e_[ 2 ] ) == "no"} ) == 0 + aadd( cpp_, "QT_G_FUNC( release_" + cWidget + " ) " ) + aadd( cpp_, "{ " ) + IF lDestructor + aadd( cpp_, "#if defined(__debug__)" ) + aadd( cpp_, ' hb_snprintf( str, sizeof(str), "' + 'release_' + cWidget + '" ); OutputDebugString( str );' ) + aadd( cpp_, "#endif" ) + aadd( cpp_, " void * ph = ( void * ) Cargo; " ) + aadd( cpp_, " if( ph ) " ) + aadd( cpp_, " { " ) + IF lObject + aadd( cpp_, " const QMetaObject * m = ( ( QObject * ) ph )->metaObject();" ) + aadd( cpp_, ' if( ( QString ) m->className() != ( QString ) "QObject" )' ) + aadd( cpp_, " {" ) + aadd( cpp_, " delete ( ( " + cWidget + IF( lList, "< void * >", "" ) + " * ) ph ); " ) + aadd( cpp_, " ph = NULL;" ) + aadd( cpp_, " }" ) + aadd( cpp_, " else" ) + aadd( cpp_, " {" ) + aadd( cpp_, "#if defined(__debug__)" ) + aadd( cpp_, ' hb_snprintf( str, sizeof(str), "' + ' Object Name Missing: ' + cWidget + '" ); OutputDebugString( str );' ) + aadd( cpp_, "#endif" ) + aadd( cpp_, " }" ) + ELSE + aadd( cpp_, " delete ( ( " + cWidget + IF( lList, "< void * >", "" ) + " * ) ph ); " ) + aadd( cpp_, " ph = NULL;" ) + ENDIF + aadd( cpp_, " }" ) + ENDIF + aadd( cpp_, "} " ) + aadd( cpp_, " " ) + /* Insert CONSTRUCTOR - if defined */ lConst := .f. FOR i := 3 TO len( new_ ) - 1 @@ -481,11 +529,15 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) aadd( cpp_, "" ) IF lObject .or. IsMemObject( cWidget ) aadd( cpp_, " p->ph = pObj;" ) + #if 0 IF lObject aadd( cpp_, " p->type = 1001;" ) ELSE aadd( cpp_, ' p->type = hbqt_getIdByName( ( QString ) "' + cWidget + '" );' ) ENDIF + #endif + aadd( cpp_, " p->func = release_" + cWidget +";" ) + aadd( cpp_, " " ) aadd( cpp_, " hb_retptrGC( p );" ) ELSE aadd( cpp_, " hb_retptr( pObj );" ) @@ -505,7 +557,10 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) ENDIF /* Build Class PRG Source */ - cFileCpp := cPathOut + s_PathSep + cWidget + '.cpp' +// cFileCpp := cPathOut + s_PathSep + cWidget + '.cpp' +// CreateTarget( cFileCpp, cpp_ ) + /* Distribute in specific lib subfolder */ + cFileCpp := GetSourcePathByLib( cWidget, cPathOut, '.cpp' ) CreateTarget( cFileCpp, cpp_ ) /* Build CLASS */ @@ -522,6 +577,25 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc ) /*----------------------------------------------------------------------*/ +FUNCTION GetSourcePathByLib( cWidget, cPathOut, cExt, cPre ) + LOCAL cFileOut + + DEFAULT cPre TO "" + + IF ascan( aGui, cWidget ) > 0 + cFileOut := cPathOut + s_PathSep + "qtgui" + s_pathSep + cPre + cWidget + cExt + ELSEIF ascan( aCore, cWidget ) > 0 + cFileOut := cPathOut + s_PathSep + "qtcore" + s_pathSep + cPre + cWidget + cExt + ELSEIF ascan( aWebkit, cWidget ) > 0 + cFileOut := cPathOut + s_PathSep + "qtwebkit" + s_pathSep + cPre + cWidget + cExt + ELSEIF ascan( aNetwork, cWidget ) > 0 + cFileOut := cPathOut + s_PathSep + "qtnetwork" + s_pathSep + cPre + cWidget + cExt + ENDIF + + RETURN cFileOut + +/*----------------------------------------------------------------------*/ + #define PRT_L_CONST 1 #define PRT_L_FAR 2 #define PRT_L_AND 3 @@ -544,8 +618,8 @@ STATIC FUNCTION ParseProto( cProto, cWidget, txt_, doc_, aEnum, func_ ) LOCAL cPre, cPar, cRet, cFun, cParas, cDocs, cCmd, cPas, s, ss LOCAL cWdg, cCmn, cPrgRet, cHBFunc, cHBIdx, cDocNM LOCAL lSuccess - LOCAL cInt := 'int,qint16,quint16,QChar' - LOCAL cIntLong := 'qint32,quint32,QRgb' + LOCAL cInt := 'int,qint16,quint16,QChar,short,ushort' + LOCAL cIntLong := 'qint32,quint32,QRgb' LOCAL cIntLongLong := 'qint64,quint64,qlonglong,qulonglong' LOCAL cFirstParamCast @@ -840,7 +914,7 @@ STATIC FUNCTION ParseProto( cProto, cWidget, txt_, doc_, aEnum, func_ ) cCmd := 'hb_retnint( ' + cCmn + ' )' cPrgRet := 'n' + cDocNM - CASE aA[ PRT_CAST ] $ 'double,qreal' + CASE aA[ PRT_CAST ] $ 'double,qreal,float' cCmd := 'hb_retnd( ' + cCmn + ' )' cPrgRet := 'n' + cDocNM @@ -885,7 +959,8 @@ STATIC FUNCTION ParseProto( cProto, cWidget, txt_, doc_, aEnum, func_ ) cPrgRet := 'p' + cDocNM CASE aA[ PRT_L_AND ] - cCmd := 'hb_retptr( ( ' + aA[ PRT_CAST ] + '* ) ' + cCmn + ' )' +// cCmd := 'hb_retptr( ( ' + aA[ PRT_CAST ] + '* ) ' + cCmn + ' )' + cCmd := Get_Command( aA[ PRT_CAST ], cCmn ) cPrgRet := 'p' + cDocNM OTHERWISE @@ -977,8 +1052,8 @@ STATIC FUNCTION ParseVariables( cProto, cWidget, txt_, doc_, aEnum, func_ ) LOCAL cRet, cFun, cDocs, cCmd LOCAL cWdg, cCmn, cPrgRet, cHBFunc, cDocNM LOCAL lSuccess - LOCAL cInt := 'int,qint16,quint16,QChar' - LOCAL cIntLong := 'qint32,quint32,QRgb' + LOCAL cInt := 'int,qint16,quint16,QChar,short,ushort' + LOCAL cIntLong := 'qint32,quint32,QRgb' LOCAL cIntLongLong := 'qint64,quint64,qlonglong,qulonglong' aPre := {} @@ -1025,7 +1100,7 @@ STATIC FUNCTION ParseVariables( cProto, cWidget, txt_, doc_, aEnum, func_ ) cCmd := 'hb_retnint( ' + cCmn + ' )' cPrgRet := 'n' + cDocNM - CASE aA[ PRT_CAST ] $ 'double,qreal' + CASE aA[ PRT_CAST ] $ 'double,qreal,float' cCmd := 'hb_retnd( ' + cCmn + ' )' cPrgRet := 'n' + cDocNM @@ -1189,7 +1264,7 @@ STATIC FUNCTION BuildHeader( txt_, nMode ) aadd( txt_, "" ) IF nMode == 0 aadd( txt_, '#include "hbapi.h"' ) - aadd( txt_, '#include "hbqt.h"' ) + aadd( txt_, '#include "../hbqt.h"' ) ///////////// aadd( txt_, "" ) aadd( txt_, "/*----------------------------------------------------------------------*/" ) aadd( txt_, "#if QT_VERSION >= 0x040500" ) @@ -1277,8 +1352,7 @@ STATIC FUNCTION CreateTarget( cFile, txt_ ) /*----------------------------------------------------------------------*/ STATIC FUNCTION Build_Class( cWidget, cls_, doc_, cPathOut, subCls_ ) - LOCAL cFile := cPathOut + s_PathSep + 'T' + cWidget + '.prg' - LOCAL s, n, cM, ss, cCall, sm, cClassType + LOCAL cFile, s, n, cM, ss, cCall, sm, cClassType LOCAL nLen := len( cWidget ) LOCAL txt_ :={} @@ -1381,33 +1455,73 @@ STATIC FUNCTION Build_Class( cWidget, cls_, doc_, cPathOut, subCls_ ) aadd( txt_, '/*----------------------------------------------------------------------*/ ' ) ENDIF + /* Generate .prg */ +// cFile := cPathOut + s_PathSep + 'T' + cWidget + '.prg' +// CreateTarget( cFile, txt_ ) + /* Distribute in specific lib subfolder */ + cFile := GetSourcePathByLib( cWidget, cPathOut, '.prg', 'T' ) + CreateTarget( cFile, txt_ ) + + RETURN nil + +/*----------------------------------------------------------------------*/ + +STATIC FUNCTION Build_GarbageFile( cpp_, cPathOut ) + LOCAL cFile := cPathOut + s_PathSep + "hbqt_garbage.h" + LOCAL txt_ := {} + LOCAL s + + aadd( txt_, "/*" ) + aadd( txt_, " * $Id$" ) + aadd( txt_, " * " ) + aadd( txt_, " * " ) + aadd( txt_, " * --------------------------------------------------------------------" ) + aadd( txt_, " * WARNING: Automatically generated source file. DO NOT EDIT! " ) + aadd( txt_, " * Instead, edit corresponding .qth file, " ) + aadd( txt_, " * or the generator tool itself, and run regenarate. " ) + aadd( txt_, " * --------------------------------------------------------------------" ) + aadd( txt_, " */" ) + aadd( txt_, " " ) + + FOR EACH s IN cpp_ + aadd( txt_, "extern QT_G_FUNC( release_" + s + " );" ) + NEXT + aadd( txt_, "" ) + RETURN CreateTarget( cFile, txt_ ) /*----------------------------------------------------------------------*/ STATIC FUNCTION Build_MakeFile( cpp_, prg_, cPathOut ) - LOCAL cFile := cPathOut + s_PathSep + "filelist.mk" - LOCAL txt_ := {} - LOCAL s + LOCAL cFile, s, i + LOCAL txt_ := {}, hdr_:= {}, aSubs := {} - aadd( txt_, "#" ) - aadd( txt_, "# $Id$" ) - aadd( txt_, "#" ) - aadd( txt_, "" ) - aadd( txt_, "# --------------------------------------------------------------------" ) - aadd( txt_, "# WARNING: Automatically generated source file. DO NOT EDIT! " ) - aadd( txt_, "# Instead, edit corresponding .qth file, " ) - aadd( txt_, "# or the generator tool itself, and run regenarate. " ) - aadd( txt_, "# --------------------------------------------------------------------" ) - aadd( txt_, "" ) - aadd( txt_, "CPP_SOURCES := \" ) + HB_SYMBOL_UNUSED( cpp_ ) + HB_SYMBOL_UNUSED( prg_ ) + + aadd( hdr_, "#" ) + aadd( hdr_, "# $Id$" ) + aadd( hdr_, "#" ) + aadd( hdr_, "" ) + aadd( hdr_, "# --------------------------------------------------------------------" ) + aadd( hdr_, "# WARNING: Automatically generated source file. DO NOT EDIT! " ) + aadd( hdr_, "# Instead, edit corresponding .qth file, " ) + aadd( hdr_, "# or the generator tool itself, and run regenarate. " ) + aadd( hdr_, "# --------------------------------------------------------------------" ) + aadd( hdr_, "" ) /* Insert .cpp sources */ + txt_:= {} + aeval( hdr_, {|e| aadd( txt_, e ) } ) + aadd( txt_, "CPP_SOURCES := \" ) + // aadd( txt_, " " + "moc_slots.cpp \" ) aadd( txt_, " " + "hbqt_base.cpp \" ) aadd( txt_, " " + "hbqt_utils.cpp \" ) aadd( txt_, " " + "hbqt_slots.cpp \" ) aadd( txt_, " " + "hbqt_destruct.cpp \" ) + // We will strip lines below once subs proto is running + #if 0 FOR EACH s IN cpp_ aadd( txt_, " " + s + ".cpp \" ) NEXT @@ -1420,11 +1534,46 @@ STATIC FUNCTION Build_MakeFile( cpp_, prg_, cPathOut ) aadd( txt_, " " + "T" + s + ".prg \" ) NEXT ENDIF + #endif + // ------------------------------------------------------ aadd( txt_, "" ) aadd( txt_, "# Don't delete this comment, it's here to ensure empty" ) aadd( txt_, "# line above is kept intact." ) + // + cFile := cPathOut + s_PathSep + "filelist.mk" + CreateTarget( cFile, txt_ ) - RETURN CreateTarget( cFile, txt_ ) + + /* Sub Libraries */ + aadd( aSubs, { "qtwebkit" , aWebkit } ) + aadd( aSubs, { "qtnetwork", aNetwork } ) + aadd( aSubs, { "qtgui" , aGui } ) + aadd( aSubs, { "qtcore" , aCore } ) + // + FOR i := 1 TO len( aSubs ) + txt_:= {} + aeval( hdr_, {|e| aadd( txt_, e ) } ) + aadd( txt_, "CPP_SOURCES := \" ) + // + FOR EACH s IN aSubs[ i, 2 ] + aadd( txt_, " " + s + ".cpp \" ) + NEXT + aadd( txt_, "" ) + aadd( txt_, "" ) + aadd( txt_, "" ) + aadd( txt_, "PRG_SOURCES := \" ) + FOR EACH s IN aSubs[ i, 2 ] + aadd( txt_, " " + "T" + s + ".prg \" ) + NEXT + aadd( txt_, "" ) + aadd( txt_, "# Don't delete this comment, it's here to ensure empty" ) + aadd( txt_, "# line above is kept intact." ) + // + cFile := cPathOut + s_PathSep + aSubs[ i, 1 ] + s_PathSep + "filelist.mk" + CreateTarget( cFile, txt_ ) + NEXT + + RETURN NIL /*----------------------------------------------------------------------*/ @@ -1997,6 +2146,7 @@ FUNCTION IsMemObject( cWidget ) aadd( aObj, "QSizeF " ) aadd( aObj, "QSizePolicy " ) aadd( aObj, "QStringList " ) + aadd( aObj, "QTableWidgetItem " ) aadd( aObj, "QTextBlockFormat " ) aadd( aObj, "QTextCharFormat " ) aadd( aObj, "QTextCursor " ) @@ -2033,6 +2183,7 @@ FUNCTION Get_Command( cWgt, cCmn ) aadd( a_, cWgt ) //hb_ToOutDebug( pad( cWgt,30 ) + "No " + zWidget ) ENDIF - RETURN 'hb_retptrGC( hbqt_ptrTOgcpointer( new ' + cWgt + '( ' + cCmn + ' ) ) )' + //RETURN 'hb_retptrGC( hbqt_ptrTOgcpointer( new ' + cWgt + '( ' + cCmn + ' ), "' + cWgt +'" ) )' + RETURN 'hb_retptrGC( hbqt_ptrTOgcpointer( new ' + cWgt + '( ' + cCmn + ' ), release_' + cWgt +' ) )' /*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/generator/qt45.qtp b/harbour/contrib/hbqt/generator/qt45.qtp index 0b0740367a..5cb4eaa21c 100644 --- a/harbour/contrib/hbqt/generator/qt45.qtp +++ b/harbour/contrib/hbqt/generator/qt45.qtp @@ -12,20 +12,26 @@ QAbstractButton.qth +QAbstractItemDelegate.qth QAbstractItemModel.qth QAbstractItemView.qth QAbstractListModel.qth +QAbstractProxyModel.qth QAbstractPrintDialog.qth QAbstractScrollArea.qth QAbstractSlider.qth QAbstractSpinBox.qth QAbstractTableModel.qth +QAbstractTextDocumentLayout.qth QAction.qth +QActionGroup.qth QApplication.qth +QBitArray.qth QBitmap.qth QBoxLayout.qth QBrush.qth QButtonGroup.qth +QByteArray.qth QCalendarWidget.qth QCheckBox.qth QClipboard.qth @@ -34,9 +40,13 @@ QColorDialog.qth QComboBox.qth QCommandLinkButton.qth QCommonStyle.qth +QCompleter.qth QConicalGradient.qth +QContextMenuEvent.qth QCoreApplication.qth QCursor.qth +QDataStream.qth +QDate.qth QDateEdit.qth QDateTime.qth QDateTimeEdit.qth @@ -54,7 +64,10 @@ QDragLeaveEvent.qth QErrorMessage.qth QEvent.qth QEventLoop.qth +QFile.qth QFileDialog.qth +QFileInfo.qth +QFileIconProvider.qth QFileSystemModel.qth QFocusEvent.qth QFocusFrame.qth @@ -73,14 +86,21 @@ QGridLayout.qth QGroupBox.qth QHBoxLayout.qth QHeaderView.qth +QHelpEvent.qth QHttp.qth +QHttpRequestHeader.qth +QHttpResponseHeader.qth QIcon.qth +QInputContext.qth +QInputMethodEvent.qth QImage.qth QImageReader.qth QImageWriter.qth QInputDialog.qth QInputEvent.qth QIODevice.qth +QItemSelection.qth +QItemSelectionModel.qth QKeyEvent.qth QKeySequence.qth QLabel.qth @@ -90,21 +110,28 @@ QLayout.qth QLayoutItem.qth QLCDNumber.qth QLine.qth +QLineF.qth QLinearGradient.qth QLineEdit.qth QList.qth QListView.qth QListWidget.qth QListWidgetItem.qth +QLocale.qth QMainWindow.qth +QMatrix.qth QMenu.qth QMenuBar.qth QMessageBox.qth +QMimeData.qth QModelIndex.qth QMouseEvent.qth QMoveEvent.qth +QMovie.qth +QNetworkRequest.qth QObject.qth QPaintDevice.qth +QPainterPath.qth QPageSetupDialog.qth QPainter.qth QPaintEvent.qth @@ -114,6 +141,8 @@ QPicture.qth QPixmap.qth QPoint.qth QPointF.qth +QPolygon.qth +QPolygonF.qth QPrintDialog.qth QPrintEngine.qth QPrinter.qth @@ -127,10 +156,12 @@ QRadioButton.qth QRect.qth QRectF.qth QRegion.qth +QRegExp.qth QResizeEvent.qth QResource.qth QScrollArea.qth QScrollBar.qth +QSessionManager.qth QSignalMapper.qth QSize.qth QSizeF.qth @@ -138,25 +169,21 @@ QSizeGrip.qth QSizePolicy.qth QSlider.qth QSound.qth +QSpacerItem.qth QSpinBox.qth QSplashScreen.qth QSplitter.qth QStandardItem.qth QStandardItemModel.qth QStatusBar.qth - QStringList.qth QStringListModel.qth - QStyle.qth QStyledItemDelegate.qth - QStyleFactory.qth - QStyleHintReturn.qth QStyleHintReturnMask.qth QStyleHintReturnVariant.qth - QStyleOption.qth QStyleOptionButton.qth QStyleOptionComboBox.qth @@ -180,13 +207,13 @@ QStyleOptionToolBox.qth QStyleOptionToolButton.qth QStyleOptionViewItem.qth QStylePainter.qth - QSystemTrayIcon.qth QTabBar.qth QTableView.qth QTableWidget.qth QTableWidgetItem.qth QTabWidget.qth +QTableWidgetSelectionRange.qth QTextBlock.qth QTextBlockFormat.qth QTextBlockGroup.qth @@ -211,21 +238,27 @@ QTextItem.qth QTextLayout.qth QTextLength.qth QTextLine.qth +QTextListFormat.qth QTextObject.qth - +QTextOption.qth QTextStream.qth +QTextTableFormat.qth +QThread.qth +QTime.qth QTimeEdit.qth QTimer.qth QToolBar.qth QToolBox.qth QToolButton.qth +QTransform.qth +QTranslator.qth QTreeView.qth QTreeWidget.qth QTreeWidgetItem.qth QUrl.qth +QValidator.qth QVariant.qth QVBoxLayout.qth - QWebFrame.qth QWebHistory.qth QWebHistoryInterface.qth @@ -236,7 +269,6 @@ QWebPluginFactory.qth QWebSecurityOrigin.qth QWebSettings.qth QWebView.qth - QWheelEvent.qth QWidget.qth QWidgetAction.qth @@ -244,3 +276,5 @@ QWidgetItem.qth QWindowsStyle.qth QWindowsXPStyle.qth QWizard.qth +QWizardPage.qth + diff --git a/harbour/contrib/hbqt/hbqt.h b/harbour/contrib/hbqt/hbqt.h index 209ee578fb..c1bd068e67 100644 --- a/harbour/contrib/hbqt/hbqt.h +++ b/harbour/contrib/hbqt/hbqt.h @@ -61,295 +61,16 @@ #if QT_VERSION >= 0x040500 +//#define __debug__ +#if defined(__debug__) + #include + static char str[ 50 ]; +#endif + #define hbqt_par_HbDbfModel( n ) ( ( HbDbfModel* ) hb_parptr( n ) ) #define hbqt_par_HbTableView( n ) ( ( HbTableView* ) hb_parptr( n ) ) #define hbqt_par_MyMainWindow( n ) ( ( MyMainWindow* ) hb_parptr( n ) ) -#if 0 -#define hbqt_par_ExtensionOption( n ) ( ( ExtensionOption* ) hb_parptr( n ) ) -#define hbqt_par_IUnknown( n ) ( ( IUnknown* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractButton( n ) ( ( QAbstractButton* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractEventDispatcher( n ) ( ( QAbstractEventDispatcher* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractItemDelegate( n ) ( ( QAbstractItemDelegate* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractItemModel( n ) ( ( QAbstractItemModel* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractItemView( n ) ( ( QAbstractItemView* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractListModel( n ) ( ( QAbstractListModel* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractPrintDialog( n ) ( ( QAbstractPrintDialog* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractProxyModel( n ) ( ( QAbstractProxyModel* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractScrollArea( n ) ( ( QAbstractScrollArea* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractSlider( n ) ( ( QAbstractSlider* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractSpinBox( n ) ( ( QAbstractSpinBox* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractTableModel( n ) ( ( QAbstractTableModel* ) hb_parptr( n ) ) -#define hbqt_par_QAbstractTextDocumentLayout( n ) ( ( QAbstractTextDocumentLayout* ) hb_parptr( n ) ) -#define hbqt_par_QAction( n ) ( ( QAction* ) hb_parptr( n ) ) -#define hbqt_par_QActionGroup( n ) ( ( QActionGroup* ) hb_parptr( n ) ) -#define hbqt_par_QApplication( n ) ( ( QApplication* ) hb_parptr( n ) ) -#define hbqt_par_QAxBase( n ) ( ( QAxBase* ) hb_parptr( n ) ) -#define hbqt_par_QBitmap( n ) ( ( QBitmap* ) hb_parptr( n ) ) -#define hbqt_par_QBoxLayout( n ) ( ( QBoxLayout* ) hb_parptr( n ) ) -#define hbqt_par_QBrush( n ) ( ( QBrush* ) hb_parptr( n ) ) -#define hbqt_par_QButtonGroup( n ) ( ( QButtonGroup* ) hb_parptr( n ) ) -#define hbqt_par_QByteArray( n ) ( ( QByteArray* ) hb_parptr( n ) ) -#define hbqt_par_QCalendarWidget( n ) ( ( QCalendarWidget* ) hb_parptr( n ) ) -#define hbqt_par_QCheckBox( n ) ( ( QCheckBox* ) hb_parptr( n ) ) -#define hbqt_par_QClipboard( n ) ( ( QClipboard* ) hb_parptr( n ) ) -#define hbqt_par_QColor( n ) ( ( QColor* ) hb_parptr( n ) ) -#define hbqt_par_QColorDialog( n ) ( ( QColorDialog* ) hb_parptr( n ) ) -#define hbqt_par_QComboBox( n ) ( ( QComboBox* ) hb_parptr( n ) ) -#define hbqt_par_QCommandLinkButton( n ) ( ( QCommandLinkButton* ) hb_parptr( n ) ) -#define hbqt_par_QCommonStyle( n ) ( ( QCommonStyle* ) hb_parptr( n ) ) -#define hbqt_par_QCompleter( n ) ( ( QCompleter* ) hb_parptr( n ) ) -#define hbqt_par_QConicalGradient( n ) ( ( QConicalGradient* ) hb_parptr( n ) ) -#define hbqt_par_QContextMenuEvent( n ) ( ( QContextMenuEvent* ) hb_parptr( n ) ) -#define hbqt_par_QCoreApplication( n ) ( ( QCoreApplication* ) hb_parptr( n ) ) -#define hbqt_par_QCursor( n ) ( ( QCursor* ) hb_parptr( n ) ) -#define hbqt_par_QDateEdit( n ) ( ( QDateEdit* ) hb_parptr( n ) ) -#define hbqt_par_QDataStream( n ) ( ( QDataStream* ) hb_parptr( n ) ) -#define hbqt_par_QDate( n ) ( ( QDate* ) hb_parptr( n ) ) -#define hbqt_par_QDateTime( n ) ( ( QDateTime* ) hb_parptr( n ) ) -#define hbqt_par_QDateTimeEdit( n ) ( ( QDateTimeEdit* ) hb_parptr( n ) ) -#define hbqt_par_QDesktopWidget( n ) ( ( QDesktopWidget* ) hb_parptr( n ) ) -#define hbqt_par_QDial( n ) ( ( QDial* ) hb_parptr( n ) ) -#define hbqt_par_QDialog( n ) ( ( QDialog* ) hb_parptr( n ) ) -#define hbqt_par_QDir( n ) ( ( QDir* ) hb_parptr( n ) ) -#define hbqt_par_QDirModel( n ) ( ( QDirModel* ) hb_parptr( n ) ) -#define hbqt_par_QDockWidget( n ) ( ( QDockWidget* ) hb_parptr( n ) ) -#define hbqt_par_QDockWidget( n ) ( ( QDockWidget* ) hb_parptr( n ) ) -#define hbqt_par_QDoubleSpinBox( n ) ( ( QDoubleSpinBox* ) hb_parptr( n ) ) -#define hbqt_par_QDragEnterEvent( n ) ( ( QDragEnterEvent* ) hb_parptr( n ) ) -#define hbqt_par_QDragLeaveEvent( n ) ( ( QDragLeaveEvent* ) hb_parptr( n ) ) -#define hbqt_par_QDragMoveEvent( n ) ( ( QDragMoveEvent* ) hb_parptr( n ) ) -#define hbqt_par_QDropEvent( n ) ( ( QDropEvent* ) hb_parptr( n ) ) -#define hbqt_par_QErrorMessage( n ) ( ( QErrorMessage* ) hb_parptr( n ) ) -#define hbqt_par_QEvent( n ) ( ( QEvent* ) hb_parptr( n ) ) -#define hbqt_par_QEventLoop( n ) ( ( QEventLoop* ) hb_parptr( n ) ) -#define hbqt_par_QFileDialog( n ) ( ( QFileDialog* ) hb_parptr( n ) ) -#define hbqt_par_QFileIconProvider( n ) ( ( QFileIconProvider* ) hb_parptr( n ) ) -#define hbqt_par_QFileSystemModel( n ) ( ( QFileSystemModel* ) hb_parptr( n ) ) -#define hbqt_par_QFocusEvent( n ) ( ( QFocusEvent* ) hb_parptr( n ) ) -#define hbqt_par_QFocusFrame( n ) ( ( QFocusFrame* ) hb_parptr( n ) ) -#define hbqt_par_QFont( n ) ( ( QFont* ) hb_parptr( n ) ) -#define hbqt_par_QFontComboBox( n ) ( ( QFontComboBox* ) hb_parptr( n ) ) -#define hbqt_par_QFontDatabase( n ) ( ( QFontDatabase* ) hb_parptr( n ) ) -#define hbqt_par_QFontDialog( n ) ( ( QFontDialog* ) hb_parptr( n ) ) -#define hbqt_par_QFontInfo( n ) ( ( QFontInfo* ) hb_parptr( n ) ) -#define hbqt_par_QFontMetrics( n ) ( ( QFontMetrics* ) hb_parptr( n ) ) -#define hbqt_par_QFontMetricsF( n ) ( ( QFontMetricsF* ) hb_parptr( n ) ) -#define hbqt_par_QFormLayout( n ) ( ( QFormLayout* ) hb_parptr( n ) ) -#define hbqt_par_QFrame( n ) ( ( QFrame* ) hb_parptr( n ) ) -#define hbqt_par_QFtp( n ) ( ( QFtp* ) hb_parptr( n ) ) -#define hbqt_par_QGradient( n ) ( ( QGradient* ) hb_parptr( n ) ) -#define hbqt_par_QGradientStops( n ) ( ( QGradientStops* ) hb_parptr( n ) ) -#define hbqt_par_QGridLayout( n ) ( ( QGridLayout* ) hb_parptr( n ) ) -#define hbqt_par_QGroupBox( n ) ( ( QGroupBox* ) hb_parptr( n ) ) -#define hbqt_par_QHBoxLayout( n ) ( ( QHBoxLayout* ) hb_parptr( n ) ) -#define hbqt_par_QHeaderView( n ) ( ( QHeaderView* ) hb_parptr( n ) ) -#define hbqt_par_QHttp( n ) ( ( QHttp* ) hb_parptr( n ) ) -#define hbqt_par_QHttpRequestHeader( n ) ( ( QHttpRequestHeader* ) hb_parptr( n ) ) -#define hbqt_par_QIcon( n ) ( ( QIcon* ) hb_parptr( n ) ) -#define hbqt_par_QImage( n ) ( ( QImage* ) hb_parptr( n ) ) -#define hbqt_par_QImageReader( n ) ( ( QImageReader* ) hb_parptr( n ) ) -#define hbqt_par_QImageWriter( n ) ( ( QImageWriter* ) hb_parptr( n ) ) -#define hbqt_par_QInputContext( n ) ( ( QInputContext* ) hb_parptr( n ) ) -#define hbqt_par_QInputDialog( n ) ( ( QInputDialog* ) hb_parptr( n ) ) -#define hbqt_par_QInputEvent( n ) ( ( QInputEvent* ) hb_parptr( n ) ) -#define hbqt_par_QIODevice( n ) ( ( QIODevice* ) hb_parptr( n ) ) -#define hbqt_par_QItemEditorFactory( n ) ( ( QItemEditorFactory* ) hb_parptr( n ) ) -#define hbqt_par_QItemSelectionModel( n ) ( ( QItemSelectionModel* ) hb_parptr( n ) ) -#define hbqt_par_QKeyEvent( n ) ( ( QKeyEvent* ) hb_parptr( n ) ) -#define hbqt_par_QKeySequence( n ) ( ( QKeySequence* ) hb_parptr( n ) ) -#define hbqt_par_QLabel( n ) ( ( QLabel* ) hb_parptr( n ) ) -#define hbqt_par_QLatin1Char( n ) ( ( QLatin1Char* ) hb_parptr( n ) ) -#define hbqt_par_QLatin1String( n ) ( ( QLatin1String* ) hb_parptr( n ) ) -#define hbqt_par_QLayout( n ) ( ( QLayout* ) hb_parptr( n ) ) -#define hbqt_par_QLayoutItem( n ) ( ( QLayoutItem* ) hb_parptr( n ) ) -#define hbqt_par_QLCDNumber( n ) ( ( QLCDNumber* ) hb_parptr( n ) ) -#define hbqt_par_QLibraryInfo( n ) ( ( QLibraryInfo* ) hb_parptr( n ) ) -#define hbqt_par_QLine( n ) ( ( QLine* ) hb_parptr( n ) ) -#define hbqt_par_QLinearGradient( n ) ( ( QLinearGradient* ) hb_parptr( n ) ) -#define hbqt_par_QLineEdit( n ) ( ( QLineEdit* ) hb_parptr( n ) ) -#define hbqt_par_QLineF( n ) ( ( QLineF* ) hb_parptr( n ) ) -#define hbqt_par_QList( n ) ( ( QList* ) hb_parptr( n ) ) -#define hbqt_par_QListView( n ) ( ( QListView* ) hb_parptr( n ) ) -#define hbqt_par_QListWidget( n ) ( ( QListWidget* ) hb_parptr( n ) ) -#define hbqt_par_QListWidgetItem( n ) ( ( QListWidgetItem* ) hb_parptr( n ) ) -#define hbqt_par_QLocale( n ) ( ( QLocale* ) hb_parptr( n ) ) -#define hbqt_par_QMainWindow( n ) ( ( QMainWindow* ) hb_parptr( n ) ) -#define hbqt_par_QMatrix( n ) ( ( QMatrix* ) hb_parptr( n ) ) -#define hbqt_par_QMenu( n ) ( ( QMenu* ) hb_parptr( n ) ) -#define hbqt_par_QMenuBar( n ) ( ( QMenuBar* ) hb_parptr( n ) ) -#define hbqt_par_QMessageBox( n ) ( ( QMessageBox* ) hb_parptr( n ) ) -#define hbqt_par_QMimeData( n ) ( ( QMimeData* ) hb_parptr( n ) ) -#define hbqt_par_QModelIndex( n ) ( ( QModelIndex* ) hb_parptr( n ) ) -#define hbqt_par_QModelIndexList( n ) ( ( QModelIndexList* ) hb_parptr( n ) ) -#define hbqt_par_QMouseEvent( n ) ( ( QMouseEvent* ) hb_parptr( n ) ) -#define hbqt_par_QMoveEvent( n ) ( ( QMoveEvent* ) hb_parptr( n ) ) -#define hbqt_par_QMovie( n ) ( ( QMovie* ) hb_parptr( n ) ) -#define hbqt_par_QNetworkAccessManager( n ) ( ( QNetworkAccessManager* ) hb_parptr( n ) ) -#define hbqt_par_QNetworkProxy( n ) ( ( QNetworkProxy* ) hb_parptr( n ) ) -#define hbqt_par_QNetworkRequest( n ) ( ( QNetworkRequest* ) hb_parptr( n ) ) -#define hbqt_par_QObject( n ) ( ( QObject* ) hb_parptr( n ) ) -#define hbqt_par_QPageSetupDialog( n ) ( ( QPageSetupDialog* ) hb_parptr( n ) ) -#define hbqt_par_QPaintDevice( n ) ( ( QPaintDevice* ) hb_parptr( n ) ) -#define hbqt_par_QPainter( n ) ( ( QPainter* ) hb_parptr( n ) ) -#define hbqt_par_QPainterPath( n ) ( ( QPainterPath* ) hb_parptr( n ) ) -#define hbqt_par_QPaintEvent( n ) ( ( QPaintEvent* ) hb_parptr( n ) ) -#define hbqt_par_QPalette( n ) ( ( QPalette* ) hb_parptr( n ) ) -#define hbqt_par_QPen( n ) ( ( QPen* ) hb_parptr( n ) ) -#define hbqt_par_QPicture( n ) ( ( QPicture* ) hb_parptr( n ) ) -#define hbqt_par_QPixmap( n ) ( ( QPixmap* ) hb_parptr( n ) ) -#define hbqt_par_QPoint( n ) ( ( QPoint* ) hb_parptr( n ) ) -#define hbqt_par_QPointF( n ) ( ( QPointF* ) hb_parptr( n ) ) -#define hbqt_par_QPolygon( n ) ( ( QPolygon* ) hb_parptr( n ) ) -#define hbqt_par_QPolygonF( n ) ( ( QPolygonF* ) hb_parptr( n ) ) -#define hbqt_par_QPrintDialog( n ) ( ( QPrintDialog* ) hb_parptr( n ) ) -#define hbqt_par_QPrintEngine( n ) ( ( QPrintEngine* ) hb_parptr( n ) ) -#define hbqt_par_QPrinter( n ) ( ( QPrinter* ) hb_parptr( n ) ) -#define hbqt_par_QPrintPreviewDialog( n ) ( ( QPrintPreviewDialog* ) hb_parptr( n ) ) -#define hbqt_par_QProcess( n ) ( ( QProcess* ) hb_parptr( n ) ) -#define hbqt_par_QProgressBar( n ) ( ( QProgressBar* ) hb_parptr( n ) ) -#define hbqt_par_QProgressDialog( n ) ( ( QProgressDialog* ) hb_parptr( n ) ) -#define hbqt_par_QPushButton( n ) ( ( QPushButton* ) hb_parptr( n ) ) -#define hbqt_par_QRadialGradient( n ) ( ( QRadialGradient* ) hb_parptr( n ) ) -#define hbqt_par_QRadioButton( n ) ( ( QRadioButton* ) hb_parptr( n ) ) -#define hbqt_par_QRect( n ) ( ( QRect* ) hb_parptr( n ) ) -#define hbqt_par_QRectF( n ) ( ( QRectF* ) hb_parptr( n ) ) -#define hbqt_par_QRegExp( n ) ( ( QRegExp* ) hb_parptr( n ) ) -#define hbqt_par_QRegion( n ) ( ( QRegion* ) hb_parptr( n ) ) -#define hbqt_par_QResizeEvent( n ) ( ( QResizeEvent* ) hb_parptr( n ) ) -#define hbqt_par_QResource( n ) ( ( QResource* ) hb_parptr( n ) ) -#define hbqt_par_QScrollArea( n ) ( ( QScrollArea* ) hb_parptr( n ) ) -#define hbqt_par_QScrollBar( n ) ( ( QScrollBar* ) hb_parptr( n ) ) -#define hbqt_par_QSessionManager( n ) ( ( QSessionManager* ) hb_parptr( n ) ) -#define hbqt_par_QSignalMapper( n ) ( ( QSignalMapper* ) hb_parptr( n ) ) -#define hbqt_par_QSize( n ) ( ( QSize* ) hb_parptr( n ) ) -#define hbqt_par_QSizeF( n ) ( ( QSizeF* ) hb_parptr( n ) ) -#define hbqt_par_QSizeGrip( n ) ( ( QSizeGrip* ) hb_parptr( n ) ) -#define hbqt_par_QSizePolicy( n ) ( ( QSizePolicy* ) hb_parptr( n ) ) -#define hbqt_par_QSlider( n ) ( ( QSlider* ) hb_parptr( n ) ) -#define hbqt_par_QSound( n ) ( ( QSound* ) hb_parptr( n ) ) -#define hbqt_par_QSpacerItem( n ) ( ( QSpacerItem* ) hb_parptr( n ) ) -#define hbqt_par_QSpinBox( n ) ( ( QSpinBox* ) hb_parptr( n ) ) -#define hbqt_par_QSplashScreen( n ) ( ( QSplashScreen* ) hb_parptr( n ) ) -#define hbqt_par_QSplitter( n ) ( ( QSplitter* ) hb_parptr( n ) ) -#define hbqt_par_QStandardItem( n ) ( ( QStandardItem* ) hb_parptr( n ) ) -#define hbqt_par_QStandardItemModel( n ) ( ( QStandardItemModel* ) hb_parptr( n ) ) -#define hbqt_par_QStatusBar( n ) ( ( QStatusBar* ) hb_parptr( n ) ) -#define hbqt_par_QStringList( n ) ( ( QStringList* ) hb_parptr( n ) ) -#define hbqt_par_QStringListModel( n ) ( ( QStringListModel* ) hb_parptr( n ) ) -#define hbqt_par_QStyle( n ) ( ( QStyle* ) hb_parptr( n ) ) -#define hbqt_par_QStyledItemDelegate( n ) ( ( QStyledItemDelegate* ) hb_parptr( n ) ) -#define hbqt_par_QStyleFactory( n ) ( ( QStyleFactory* ) hb_parptr( n ) ) -#define hbqt_par_QStyleHintReturn( n ) ( ( QStyleHintReturn* ) hb_parptr( n ) ) -#define hbqt_par_QStyleHintReturnMask( n ) ( ( QStyleHintReturnMask* ) hb_parptr( n ) ) -#define hbqt_par_QStyleHintReturnVariant( n ) ( ( QStyleHintReturnVariant* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOption( n ) ( ( QStyleOption* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionButton( n ) ( ( QStyleOptionButton* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionComboBox( n ) ( ( QStyleOptionComboBox* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionComplex( n ) ( ( QStyleOptionComplex* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionDockWidget( n ) ( ( QStyleOptionDockWidget* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionFocusRect( n ) ( ( QStyleOptionFocusRect* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionFrame( n ) ( ( QStyleOptionFrame* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionGroupBox( n ) ( ( QStyleOptionGroupBox* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionHeader( n ) ( ( QStyleOptionHeader* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionMenuItem( n ) ( ( QStyleOptionMenuItem* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionProgressBar( n ) ( ( QStyleOptionProgressBar* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionSizeGrip( n ) ( ( QStyleOptionSizeGrip* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionSlider( n ) ( ( QStyleOptionSlider* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionSpinBox( n ) ( ( QStyleOptionSpinBox* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionTab( n ) ( ( QStyleOptionTab* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionTabBarBase( n ) ( ( QStyleOptionTabBarBase* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionTabWidgetFrame( n ) ( ( QStyleOptionTabWidgetFrame* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionTitleBar( n ) ( ( QStyleOptionTitleBar* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionToolBar( n ) ( ( QStyleOptionToolBar* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionToolBox( n ) ( ( QStyleOptionToolBox* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionToolButton( n ) ( ( QStyleOptionToolButton* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionViewItem( n ) ( ( QStyleOptionViewItem* ) hb_parptr( n ) ) -#define hbqt_par_QStyleOptionViewItem( n ) ( ( QStyleOptionViewItem* ) hb_parptr( n ) ) -#define hbqt_par_QStylePainter( n ) ( ( QStylePainter* ) hb_parptr( n ) ) -#define hbqt_par_QSystemTrayIcon( n ) ( ( QSystemTrayIcon* ) hb_parptr( n ) ) -#define hbqt_par_QTabBar( n ) ( ( QTabBar* ) hb_parptr( n ) ) -#define hbqt_par_QTableView( n ) ( ( QTableView* ) hb_parptr( n ) ) -#define hbqt_par_HbTableView( n ) ( ( HbTableView* ) hb_parptr( n ) ) -#define hbqt_par_QTableWidget( n ) ( ( QTableWidget* ) hb_parptr( n ) ) -#define hbqt_par_QTableWidgetItem( n ) ( ( QTableWidgetItem* ) hb_parptr( n ) ) -#define hbqt_par_QTableWidgetSelectionRange( n ) ( ( QTableWidgetSelectionRange* ) hb_parptr( n ) ) -#define hbqt_par_QTabWidget( n ) ( ( QTabWidget* ) hb_parptr( n ) ) -#define hbqt_par_QTcpSocket( n ) ( ( QTcpSocket* ) hb_parptr( n ) ) -#define hbqt_par_QTextBlock( n ) ( ( QTextBlock* ) hb_parptr( n ) ) -#define hbqt_par_QTextBlockFormat( n ) ( ( QTextBlockFormat* ) hb_parptr( n ) ) -#define hbqt_par_QTextBlockGroup( n ) ( ( QTextBlockGroup* ) hb_parptr( n ) ) -#define hbqt_par_QTextBlockUserData( n ) ( ( QTextBlockUserData* ) hb_parptr( n ) ) -#define hbqt_par_QTextBoundaryFinder( n ) ( ( QTextBoundaryFinder* ) hb_parptr( n ) ) -#define hbqt_par_QTextBrowser( n ) ( ( QTextBrowser* ) hb_parptr( n ) ) -#define hbqt_par_QTextCharFormat( n ) ( ( QTextCharFormat* ) hb_parptr( n ) ) -#define hbqt_par_QTextCodec( n ) ( ( QTextCodec* ) hb_parptr( n ) ) -#define hbqt_par_QTextCodec( n ) ( ( QTextCodec* ) hb_parptr( n ) ) -#define hbqt_par_QTextCursor( n ) ( ( QTextCursor* ) hb_parptr( n ) ) -#define hbqt_par_QTextCursor( n ) ( ( QTextCursor* ) hb_parptr( n ) ) -#define hbqt_par_QTextDecoder( n ) ( ( QTextDecoder* ) hb_parptr( n ) ) -#define hbqt_par_QTextDocument( n ) ( ( QTextDocument* ) hb_parptr( n ) ) -#define hbqt_par_QTextDocumentFragment( n ) ( ( QTextDocumentFragment* ) hb_parptr( n ) ) -#define hbqt_par_QTextDocumentWriter( n ) ( ( QTextDocumentWriter* ) hb_parptr( n ) ) -#define hbqt_par_QTextEdit( n ) ( ( QTextEdit* ) hb_parptr( n ) ) -#define hbqt_par_QTextEncoder( n ) ( ( QTextEncoder* ) hb_parptr( n ) ) -#define hbqt_par_QTextEngine( n ) ( ( QTextEngine* ) hb_parptr( n ) ) -#define hbqt_par_QTextFormat( n ) ( ( QTextFormat* ) hb_parptr( n ) ) -#define hbqt_par_QTextFragment( n ) ( ( QTextFragment* ) hb_parptr( n ) ) -#define hbqt_par_QTextFrame( n ) ( ( QTextFrame* ) hb_parptr( n ) ) -#define hbqt_par_QTextFrameFormat( n ) ( ( QTextFrameFormat* ) hb_parptr( n ) ) -#define hbqt_par_QTextImageFormat( n ) ( ( QTextImageFormat* ) hb_parptr( n ) ) -#define hbqt_par_QTextInlineObject( n ) ( ( QTextInlineObject* ) hb_parptr( n ) ) -#define hbqt_par_QTextItem( n ) ( ( QTextItem* ) hb_parptr( n ) ) -#define hbqt_par_QTextLayout( n ) ( ( QTextLayout* ) hb_parptr( n ) ) -#define hbqt_par_QTextLength( n ) ( ( QTextLength* ) hb_parptr( n ) ) -#define hbqt_par_QTextLine( n ) ( ( QTextLine* ) hb_parptr( n ) ) -#define hbqt_par_QTextListFormat( n ) ( ( QTextListFormat* ) hb_parptr( n ) ) -#define hbqt_par_QTextObject( n ) ( ( QTextObject* ) hb_parptr( n ) ) -#define hbqt_par_QTextOption( n ) ( ( QTextOption* ) hb_parptr( n ) ) -#define hbqt_par_QTextStream( n ) ( ( QTextStream* ) hb_parptr( n ) ) -#define hbqt_par_QTextTableFormat( n ) ( ( QTextTableFormat* ) hb_parptr( n ) ) -#define hbqt_par_QThread( n ) ( ( QThread* ) hb_parptr( n ) ) -#define hbqt_par_QTime( n ) ( ( QTime* ) hb_parptr( n ) ) -#define hbqt_par_QTimeEdit( n ) ( ( QTimeEdit* ) hb_parptr( n ) ) -#define hbqt_par_QTimer( n ) ( ( QTimer* ) hb_parptr( n ) ) -#define hbqt_par_QToolBar( n ) ( ( QToolBar* ) hb_parptr( n ) ) -#define hbqt_par_QToolBox( n ) ( ( QToolBox* ) hb_parptr( n ) ) -#define hbqt_par_QToolButton( n ) ( ( QToolButton* ) hb_parptr( n ) ) -#define hbqt_par_QTransform( n ) ( ( QTransform* ) hb_parptr( n ) ) -#define hbqt_par_QTranslator( n ) ( ( QTranslator* ) hb_parptr( n ) ) -#define hbqt_par_QTreeView( n ) ( ( QTreeView* ) hb_parptr( n ) ) -#define hbqt_par_QTreeWidget( n ) ( ( QTreeWidget* ) hb_parptr( n ) ) -#define hbqt_par_QTreeWidgetItem( n ) ( ( QTreeWidgetItem* ) hb_parptr( n ) ) -#define hbqt_par_QUrl( n ) ( ( QUrl* ) hb_parptr( n ) ) -#define hbqt_par_QValidator( n ) ( ( QValidator* ) hb_parptr( n ) ) -#define hbqt_par_QVariant( n ) ( ( QVariant* ) hb_parptr( n ) ) -#define hbqt_par_QVBoxLayout( n ) ( ( QVBoxLayout* ) hb_parptr( n ) ) -#define hbqt_par_QVector( n ) ( ( QVector* ) hb_parptr( n ) ) -#define hbqt_par_QWebFrame( n ) ( ( QWebFrame* ) hb_parptr( n ) ) -#define hbqt_par_QWebHistory( n ) ( ( QWebHistory* ) hb_parptr( n ) ) -#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface* ) hb_parptr( n ) ) -#define hbqt_par_QWebHistoryItem( n ) ( ( QWebHistoryItem* ) hb_parptr( n ) ) -#define hbqt_par_QWebHitTestResult( n ) ( ( QWebHitTestResult* ) hb_parptr( n ) ) -#define hbqt_par_QWebNetworkRequest( n ) ( ( QWebNetworkRequest* ) hb_parptr( n ) ) -#define hbqt_par_QWebPage( n ) ( ( QWebPage* ) hb_parptr( n ) ) -#define hbqt_par_QWebPage( n ) ( ( QWebPage* ) hb_parptr( n ) ) -#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory* ) hb_parptr( n ) ) -#define hbqt_par_QWebSecurityOrigin( n ) ( ( QWebSecurityOrigin* ) hb_parptr( n ) ) -#define hbqt_par_QWebSettings( n ) ( ( QWebSettings* ) hb_parptr( n ) ) -#define hbqt_par_QWebView( n ) ( ( QWebView* ) hb_parptr( n ) ) -#define hbqt_par_QWheelEvent( n ) ( ( QWheelEvent* ) hb_parptr( n ) ) -#define hbqt_par_QWidget( n ) ( ( QWidget* ) hb_parptr( n ) ) -#define hbqt_par_QWidgetAction( n ) ( ( QWidgetAction* ) hb_parptr( n ) ) -#define hbqt_par_QWidgetItem( n ) ( ( QWidgetItem* ) hb_parptr( n ) ) -#define hbqt_par_QWindowsStyle( n ) ( ( QWindowsStyle* ) hb_parptr( n ) ) -#define hbqt_par_QWindowSurface( n ) ( ( QWindowSurface* ) hb_parptr( n ) ) -#define hbqt_par_QWindowsXPStyle( n ) ( ( QWindowsXPStyle* ) hb_parptr( n ) ) -#define hbqt_par_QWizard( n ) ( ( QWizard* ) hb_parptr( n ) ) -#define hbqt_par_QWizardPage( n ) ( ( QWizardPage* ) hb_parptr( n ) ) -#define hbqt_par_QWSEvent( n ) ( ( QWSEvent* ) hb_parptr( n ) ) -#endif - #define hbqt_par_QString( n ) ( ( QString ) hb_parcx( n ) ) #define hbqt_par_QRgb( n ) ( hb_parnint( n ) ) #define hbqt_par_Bool( n ) ( hb_parl( n ) ) @@ -361,19 +82,35 @@ #define hbqt_ret_QPrinter( p ) ( hb_retptr( ( QPrinter* ) p ) ) +#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; + /* For GC Pointers */ typedef struct { - void * ph; - int type; + void * ph; + int type; + QT_G_FUNC_PTR func; } QGC_POINTER; HB_GARBAGE_FUNC( Q_release ); void * hbqt_gcpointer( int iParam ); -void * hbqt_ptrTOgcpointer( void * p ); +void * hbqt_ptrTOgcpointer( void * p, QT_G_FUNC_PTR func ); int hbqt_getIdByName( QString obj ); +#include "hbqt_garbage.h" + +#define hbqt_par_QHelpEvent( n ) ( ( QHelpEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QItemSelection( n ) ( ( QItemSelection * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QBitArray( n ) ( ( QBitArray * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QFileInfo( n ) ( ( QFileInfo * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QFile( n ) ( ( QFile * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QInputMethodEvent( n ) ( ( QInputMethodEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QHttpResponseHeader( n ) ( ( QHttpResponseHeader * ) hbqt_gcpointer( n ) ) + + #define hbqt_par_ExtensionOption( n ) ( ( ExtensionOption * ) hbqt_gcpointer( n ) ) #define hbqt_par_IUnknown( n ) ( ( IUnknown * ) hbqt_gcpointer( n ) ) #define hbqt_par_QAbstractButton( n ) ( ( QAbstractButton * ) hbqt_gcpointer( n ) ) diff --git a/harbour/contrib/hbqt/hbqt.hbc b/harbour/contrib/hbqt/hbqt.hbc index 963497ab5d..13886b0d28 100644 --- a/harbour/contrib/hbqt/hbqt.hbc +++ b/harbour/contrib/hbqt/hbqt.hbc @@ -7,6 +7,7 @@ incpaths=. {allwin}libpaths=${HB_DIR_QT}\lib libs=hbqt +libs=hbqtcore hbqtgui hbqtnetwork hbqtwebkit {win}libs=version shlwapi {allwin}libs=QtCore4 QtGui4 QtNetwork4 QtWebKit4 {linux}libs=QtCore QtGui QtNetwork QtWebKit diff --git a/harbour/contrib/hbqt/hbqt_destruct.cpp b/harbour/contrib/hbqt/hbqt_destruct.cpp index cf92e5235b..b696448289 100644 --- a/harbour/contrib/hbqt/hbqt_destruct.cpp +++ b/harbour/contrib/hbqt/hbqt_destruct.cpp @@ -54,6 +54,7 @@ #include "hbapi.h" #include "hbvm.h" #include "hbapiitm.h" +#include "hbapierr.h" #include "hbstack.h" #include "hbthread.h" @@ -61,12 +62,6 @@ #if QT_VERSION >= 0x040500 -//#define __debug__ -#if defined(__debug__) - #include ////////////////////////////////////////// - static char str[50]; ////////////////////////////////////////// -#endif - #include #include #include @@ -92,359 +87,41 @@ /*----------------------------------------------------------------------*/ -int hbqt_getIdByName( QString obj ) -{ - if( obj == ( QString ) "QBitArray" ) - return 1; - else if( obj == ( QString ) "QBitmap" ) - return 2; - else if( obj == ( QString ) "QBrush" ) - return 3; - else if( obj == ( QString ) "QByteArray" ) - return 4; - else if( obj == ( QString ) "QColor" ) - return 5; - else if( obj == ( QString ) "QCursor" ) - return 6; - else if( obj == ( QString ) "QDate" ) - return 7; - else if( obj == ( QString ) "QDateTime" ) - return 8; - else if( obj == ( QString ) "QDir" ) - return 9; - else if( obj == ( QString ) "QFileInfoList" ) - return 10; - else if( obj == ( QString ) "QFont" ) - return 11; - else if( obj == ( QString ) "QFontInfo" ) - return 12; - else if( obj == ( QString ) "QFontMetrics" ) - return 13; - else if( obj == ( QString ) "QGradientStops" ) - return 14; - else if( obj == ( QString ) "QHttpRequestHeader" ) - return 15; - else if( obj == ( QString ) "QHttpResponseHeader" ) - return 16; - else if( obj == ( QString ) "QIcon" ) - return 17; - else if( obj == ( QString ) "QImage" ) - return 18; - else if( obj == ( QString ) "QKeySequence" ) - return 19; - else if( obj == ( QString ) "QLine" ) - return 20; - else if( obj == ( QString ) "QLineF" ) - return 21; - else if( obj == ( QString ) "QLocale" ) - return 22; - else if( obj == ( QString ) "QMatrix" ) - return 23; - else if( obj == ( QString ) "QModelIndex" ) - return 24; - else if( obj == ( QString ) "QObjectList" ) - return 25; - else if( obj == ( QString ) "QPainterPath" ) - return 26; - else if( obj == ( QString ) "QPalette" ) - return 27; - else if( obj == ( QString ) "QPen" ) - return 28; - else if( obj == ( QString ) "QPixmap" ) - return 29; - else if( obj == ( QString ) "QPointF" ) - return 30; - else if( obj == ( QString ) "QRect" ) - return 31; - else if( obj == ( QString ) "QRectF" ) - return 32; - else if( obj == ( QString ) "QRegExp" ) - return 33; - else if( obj == ( QString ) "QRegion" ) - return 34; - else if( obj == ( QString ) "QSize" ) - return 35; - else if( obj == ( QString ) "QSizeF" ) - return 36; - else if( obj == ( QString ) "QSizePolicy" ) - return 37; - else if( obj == ( QString ) "QStringList" ) - return 38; - else if( obj == ( QString ) "QTextBlockFormat" ) - return 39; - else if( obj == ( QString ) "QTextCharFormat" ) - return 40; - else if( obj == ( QString ) "QTextCursor" ) - return 41; - else if( obj == ( QString ) "QTextDocumentFragment" ) - return 42; - else if( obj == ( QString ) "QTextFormat" ) - return 43; - else if( obj == ( QString ) "QTextFrameFormat" ) - return 44; - else if( obj == ( QString ) "QTextImageFormat" ) - return 45; - else if( obj == ( QString ) "QTextLength" ) - return 46; - else if( obj == ( QString ) "QTextLine" ) - return 47; - else if( obj == ( QString ) "QTextListFormat" ) - return 48; - else if( obj == ( QString ) "QTextOption" ) - return 49; - else if( obj == ( QString ) "QTextTableCellFormat" ) - return 50; - else if( obj == ( QString ) "QTextTableFormat" ) - return 51; - else if( obj == ( QString ) "QTime" ) - return 52; - else if( obj == ( QString ) "QTransform" ) - return 53; - else if( obj == ( QString ) "QUrl" ) - return 54; - else if( obj == ( QString ) "QVariant" ) - return 55; - else if( obj == ( QString ) "QWebHistoryItem" ) - return 56; - else if( obj == ( QString ) "QWebHitTestResult" ) - return 57; - else if( obj == ( QString ) "QWebSecurityOrigin" ) - return 58; - else if( obj == ( QString ) "QWidgetList" ) - return 59; - else - return 0; -} - HB_GARBAGE_FUNC( Q_release ) { QGC_POINTER * p = ( QGC_POINTER * ) Cargo; if( p && p->ph ) { - -#if defined(__debug__) - hb_snprintf( str, sizeof( str ), "Q_release 0 %i", p->type ); OutputDebugString( str ); -#endif - - switch( p->type ) - { - case 1001: - { - const QMetaObject * m = ( ( QObject * ) p->ph )->metaObject(); - -#if defined(__debug__) - hb_snprintf( str, sizeof( str ), "Q_release 1 %s", m->className() ); OutputDebugString( str ); -#endif - /* It is strange that I receive some objects with className as "QObject", - * which in-fact are never created as such in .prg code. And releasing - * such object is - */ - if( ( QString ) m->className() != ( QString ) "QObject" ) - { - delete ( ( QObject * ) p->ph ) ; - } - break; - } - case 1: - delete ( ( QBitArray * ) p->ph ) ; - break; - case 2: - delete ( ( QBitmap * ) p->ph ) ; - break; - case 3: - delete ( ( QBrush * ) p->ph ) ; - break; - case 4: - delete ( ( QByteArray * ) p->ph ) ; - break; - case 5: - delete ( ( QColor * ) p->ph ) ; - break; - case 6: - delete ( ( QCursor * ) p->ph ) ; - break; - case 7: - delete ( ( QDate * ) p->ph ) ; - break; - case 8: - delete ( ( QDateTime * ) p->ph ) ; - break; - case 9: - delete ( ( QDir * ) p->ph ) ; - break; - case 10: - delete ( ( QFileInfoList * ) p->ph ) ; - break; - case 11: - delete ( ( QFont * ) p->ph ) ; - break; - case 12: - delete ( ( QFontInfo * ) p->ph ) ; - break; - case 13: - delete ( ( QFontMetrics * ) p->ph ) ; - break; - case 14: - delete ( ( QGradientStops * ) p->ph ) ; - break; - case 15: - delete ( ( QHttpRequestHeader * ) p->ph ) ; - break; - case 16: - delete ( ( QHttpResponseHeader * ) p->ph ) ; - break; - case 17: - delete ( ( QIcon * ) p->ph ) ; - break; - case 18: - delete ( ( QImage * ) p->ph ) ; - break; - case 19: - delete ( ( QKeySequence * ) p->ph ) ; - break; - case 20: - delete ( ( QLine * ) p->ph ) ; - break; - case 21: - delete ( ( QLineF * ) p->ph ) ; - break; - case 22: - delete ( ( QLocale * ) p->ph ) ; - break; - case 23: - delete ( ( QMatrix * ) p->ph ) ; - break; - case 24: - delete ( ( QModelIndex * ) p->ph ) ; - break; - case 25: - delete ( ( QObjectList * ) p->ph ) ; - break; - case 26: - delete ( ( QPainterPath * ) p->ph ) ; - break; - case 27: - delete ( ( QPalette * ) p->ph ) ; - break; - case 28: - delete ( ( QPen * ) p->ph ) ; - break; - case 29: - delete ( ( QPixmap * ) p->ph ) ; - break; - case 30: - delete ( ( QPointF * ) p->ph ) ; - break; - case 31: - delete ( ( QRect * ) p->ph ) ; - break; - case 32: - delete ( ( QRectF * ) p->ph ) ; - break; - case 33: - delete ( ( QRegExp * ) p->ph ) ; - break; - case 34: - delete ( ( QRegion * ) p->ph ) ; - break; - case 35: - delete ( ( QSize * ) p->ph ) ; - break; - case 36: - delete ( ( QSizeF * ) p->ph ) ; - break; - case 37: - delete ( ( QSizePolicy * ) p->ph ) ; - break; - case 38: - delete ( ( QStringList * ) p->ph ) ; - break; - case 39: - delete ( ( QTextBlockFormat * ) p->ph ) ; - break; - case 40: - delete ( ( QTextCharFormat * ) p->ph ) ; - break; - case 41: - delete ( ( QTextCursor * ) p->ph ) ; - break; - case 42: - delete ( ( QTextDocumentFragment * ) p->ph ) ; - break; - case 43: - delete ( ( QTextFormat * ) p->ph ) ; - break; - case 44: - delete ( ( QTextFrameFormat * ) p->ph ) ; - break; - case 45: - delete ( ( QTextImageFormat * ) p->ph ) ; - break; - case 46: - delete ( ( QTextLength * ) p->ph ) ; - break; - case 47: - delete ( ( QTextLine * ) p->ph ) ; - break; - case 48: - delete ( ( QTextListFormat * ) p->ph ) ; - break; - case 49: - delete ( ( QTextOption * ) p->ph ) ; - break; - case 50: - delete ( ( QTextTableCellFormat * ) p->ph ) ; - break; - case 51: - delete ( ( QTextTableFormat * ) p->ph ) ; - break; - case 52: - delete ( ( QTime * ) p->ph ) ; - break; - case 53: - delete ( ( QTransform * ) p->ph ) ; - break; - case 54: - delete ( ( QUrl * ) p->ph ) ; - break; - case 55: - delete ( ( QVariant * ) p->ph ) ; - break; - case 56: - delete ( ( QWebHistoryItem * ) p->ph ) ; - break; - case 57: - delete ( ( QWebHitTestResult * ) p->ph ) ; - break; - case 58: - delete ( ( QWebSecurityOrigin * ) p->ph ) ; - break; - case 59: - delete ( ( QWidgetList * ) p->ph ) ; - break; - } - p->ph = NULL; - p = NULL; + p->func( p->ph ); } -#if defined(__debug__) - hb_snprintf( str, sizeof( str ), "======================" ); OutputDebugString( str ); -#endif } void * hbqt_gcpointer( int iParam ) { QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( Q_release, iParam ); + #if 0 + if( p && p->ph ) + return p->ph; + hb_errRT_BASE( EG_ARG, 1123, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS ); + return NULL; + #else return ( p && p->ph ? p->ph : hb_parptr( iParam ) ); + #endif } -void * hbqt_ptrTOgcpointer( void * ptr ) +void * hbqt_ptrTOgcpointer( void * ptr, QT_G_FUNC_PTR func ) { QGC_POINTER * p = ( QGC_POINTER * ) hb_gcAlloc( sizeof( QGC_POINTER ), Q_release ); p->ph = ptr; + p->func = func; return p; } +int hbqt_getIdByName( QString name ) +{ + return 0; +} /*----------------------------------------------------------------------*/ #endif // #if QT_VERSION >= 0x040500 diff --git a/harbour/contrib/hbqt/hbqt_garbage.h b/harbour/contrib/hbqt/hbqt_garbage.h new file mode 100644 index 0000000000..ffbc82552b --- /dev/null +++ b/harbour/contrib/hbqt/hbqt_garbage.h @@ -0,0 +1,278 @@ +/* + * $Id$ + * + * + * -------------------------------------------------------------------- + * WARNING: Automatically generated source file. DO NOT EDIT! + * Instead, edit corresponding .qth file, + * or the generator tool itself, and run regenarate. + * -------------------------------------------------------------------- + */ + +extern QT_G_FUNC( release_QAbstractButton ); +extern QT_G_FUNC( release_QAbstractItemDelegate ); +extern QT_G_FUNC( release_QAbstractItemModel ); +extern QT_G_FUNC( release_QAbstractItemView ); +extern QT_G_FUNC( release_QAbstractListModel ); +extern QT_G_FUNC( release_QAbstractProxyModel ); +extern QT_G_FUNC( release_QAbstractPrintDialog ); +extern QT_G_FUNC( release_QAbstractScrollArea ); +extern QT_G_FUNC( release_QAbstractSlider ); +extern QT_G_FUNC( release_QAbstractSpinBox ); +extern QT_G_FUNC( release_QAbstractTableModel ); +extern QT_G_FUNC( release_QAbstractTextDocumentLayout ); +extern QT_G_FUNC( release_QAction ); +extern QT_G_FUNC( release_QActionGroup ); +extern QT_G_FUNC( release_QApplication ); +extern QT_G_FUNC( release_QBitArray ); +extern QT_G_FUNC( release_QBitmap ); +extern QT_G_FUNC( release_QBoxLayout ); +extern QT_G_FUNC( release_QBrush ); +extern QT_G_FUNC( release_QButtonGroup ); +extern QT_G_FUNC( release_QByteArray ); +extern QT_G_FUNC( release_QCalendarWidget ); +extern QT_G_FUNC( release_QCheckBox ); +extern QT_G_FUNC( release_QClipboard ); +extern QT_G_FUNC( release_QColor ); +extern QT_G_FUNC( release_QColorDialog ); +extern QT_G_FUNC( release_QComboBox ); +extern QT_G_FUNC( release_QCommandLinkButton ); +extern QT_G_FUNC( release_QCommonStyle ); +extern QT_G_FUNC( release_QCompleter ); +extern QT_G_FUNC( release_QConicalGradient ); +extern QT_G_FUNC( release_QContextMenuEvent ); +extern QT_G_FUNC( release_QCoreApplication ); +extern QT_G_FUNC( release_QCursor ); +extern QT_G_FUNC( release_QDataStream ); +extern QT_G_FUNC( release_QDate ); +extern QT_G_FUNC( release_QDateEdit ); +extern QT_G_FUNC( release_QDateTime ); +extern QT_G_FUNC( release_QDateTimeEdit ); +extern QT_G_FUNC( release_QDesktopWidget ); +extern QT_G_FUNC( release_QDial ); +extern QT_G_FUNC( release_QDialog ); +extern QT_G_FUNC( release_QDir ); +extern QT_G_FUNC( release_QDirModel ); +extern QT_G_FUNC( release_QDockWidget ); +extern QT_G_FUNC( release_QDoubleSpinBox ); +extern QT_G_FUNC( release_QDropEvent ); +extern QT_G_FUNC( release_QDragMoveEvent ); +extern QT_G_FUNC( release_QDragEnterEvent ); +extern QT_G_FUNC( release_QDragLeaveEvent ); +extern QT_G_FUNC( release_QErrorMessage ); +extern QT_G_FUNC( release_QEvent ); +extern QT_G_FUNC( release_QEventLoop ); +extern QT_G_FUNC( release_QFile ); +extern QT_G_FUNC( release_QFileDialog ); +extern QT_G_FUNC( release_QFileInfo ); +extern QT_G_FUNC( release_QFileIconProvider ); +extern QT_G_FUNC( release_QFileSystemModel ); +extern QT_G_FUNC( release_QFocusEvent ); +extern QT_G_FUNC( release_QFocusFrame ); +extern QT_G_FUNC( release_QFont ); +extern QT_G_FUNC( release_QFontComboBox ); +extern QT_G_FUNC( release_QFontDatabase ); +extern QT_G_FUNC( release_QFontDialog ); +extern QT_G_FUNC( release_QFontInfo ); +extern QT_G_FUNC( release_QFontMetrics ); +extern QT_G_FUNC( release_QFontMetricsF ); +extern QT_G_FUNC( release_QFormLayout ); +extern QT_G_FUNC( release_QFrame ); +extern QT_G_FUNC( release_QFtp ); +extern QT_G_FUNC( release_QGradient ); +extern QT_G_FUNC( release_QGridLayout ); +extern QT_G_FUNC( release_QGroupBox ); +extern QT_G_FUNC( release_QHBoxLayout ); +extern QT_G_FUNC( release_QHeaderView ); +extern QT_G_FUNC( release_QHelpEvent ); +extern QT_G_FUNC( release_QHttp ); +extern QT_G_FUNC( release_QHttpRequestHeader ); +extern QT_G_FUNC( release_QHttpResponseHeader ); +extern QT_G_FUNC( release_QIcon ); +extern QT_G_FUNC( release_QInputContext ); +extern QT_G_FUNC( release_QInputMethodEvent ); +extern QT_G_FUNC( release_QImage ); +extern QT_G_FUNC( release_QImageReader ); +extern QT_G_FUNC( release_QImageWriter ); +extern QT_G_FUNC( release_QInputDialog ); +extern QT_G_FUNC( release_QInputEvent ); +extern QT_G_FUNC( release_QIODevice ); +extern QT_G_FUNC( release_QItemSelection ); +extern QT_G_FUNC( release_QItemSelectionModel ); +extern QT_G_FUNC( release_QKeyEvent ); +extern QT_G_FUNC( release_QKeySequence ); +extern QT_G_FUNC( release_QLabel ); +extern QT_G_FUNC( release_QLatin1Char ); +extern QT_G_FUNC( release_QLatin1String ); +extern QT_G_FUNC( release_QLayout ); +extern QT_G_FUNC( release_QLayoutItem ); +extern QT_G_FUNC( release_QLCDNumber ); +extern QT_G_FUNC( release_QLine ); +extern QT_G_FUNC( release_QLineF ); +extern QT_G_FUNC( release_QLinearGradient ); +extern QT_G_FUNC( release_QLineEdit ); +extern QT_G_FUNC( release_QList ); +extern QT_G_FUNC( release_QListView ); +extern QT_G_FUNC( release_QListWidget ); +extern QT_G_FUNC( release_QListWidgetItem ); +extern QT_G_FUNC( release_QLocale ); +extern QT_G_FUNC( release_QMainWindow ); +extern QT_G_FUNC( release_QMatrix ); +extern QT_G_FUNC( release_QMenu ); +extern QT_G_FUNC( release_QMenuBar ); +extern QT_G_FUNC( release_QMessageBox ); +extern QT_G_FUNC( release_QMimeData ); +extern QT_G_FUNC( release_QModelIndex ); +extern QT_G_FUNC( release_QMouseEvent ); +extern QT_G_FUNC( release_QMoveEvent ); +extern QT_G_FUNC( release_QMovie ); +extern QT_G_FUNC( release_QNetworkRequest ); +extern QT_G_FUNC( release_QObject ); +extern QT_G_FUNC( release_QPaintDevice ); +extern QT_G_FUNC( release_QPainterPath ); +extern QT_G_FUNC( release_QPageSetupDialog ); +extern QT_G_FUNC( release_QPainter ); +extern QT_G_FUNC( release_QPaintEvent ); +extern QT_G_FUNC( release_QPalette ); +extern QT_G_FUNC( release_QPen ); +extern QT_G_FUNC( release_QPicture ); +extern QT_G_FUNC( release_QPixmap ); +extern QT_G_FUNC( release_QPoint ); +extern QT_G_FUNC( release_QPointF ); +extern QT_G_FUNC( release_QPolygon ); +extern QT_G_FUNC( release_QPolygonF ); +extern QT_G_FUNC( release_QPrintDialog ); +extern QT_G_FUNC( release_QPrintEngine ); +extern QT_G_FUNC( release_QPrinter ); +extern QT_G_FUNC( release_QPrintPreviewDialog ); +extern QT_G_FUNC( release_QProcess ); +extern QT_G_FUNC( release_QProgressBar ); +extern QT_G_FUNC( release_QProgressDialog ); +extern QT_G_FUNC( release_QPushButton ); +extern QT_G_FUNC( release_QRadialGradient ); +extern QT_G_FUNC( release_QRadioButton ); +extern QT_G_FUNC( release_QRect ); +extern QT_G_FUNC( release_QRectF ); +extern QT_G_FUNC( release_QRegion ); +extern QT_G_FUNC( release_QRegExp ); +extern QT_G_FUNC( release_QResizeEvent ); +extern QT_G_FUNC( release_QResource ); +extern QT_G_FUNC( release_QScrollArea ); +extern QT_G_FUNC( release_QScrollBar ); +extern QT_G_FUNC( release_QSessionManager ); +extern QT_G_FUNC( release_QSignalMapper ); +extern QT_G_FUNC( release_QSize ); +extern QT_G_FUNC( release_QSizeF ); +extern QT_G_FUNC( release_QSizeGrip ); +extern QT_G_FUNC( release_QSizePolicy ); +extern QT_G_FUNC( release_QSlider ); +extern QT_G_FUNC( release_QSound ); +extern QT_G_FUNC( release_QSpacerItem ); +extern QT_G_FUNC( release_QSpinBox ); +extern QT_G_FUNC( release_QSplashScreen ); +extern QT_G_FUNC( release_QSplitter ); +extern QT_G_FUNC( release_QStandardItem ); +extern QT_G_FUNC( release_QStandardItemModel ); +extern QT_G_FUNC( release_QStatusBar ); +extern QT_G_FUNC( release_QStringList ); +extern QT_G_FUNC( release_QStringListModel ); +extern QT_G_FUNC( release_QStyle ); +extern QT_G_FUNC( release_QStyledItemDelegate ); +extern QT_G_FUNC( release_QStyleFactory ); +extern QT_G_FUNC( release_QStyleHintReturn ); +extern QT_G_FUNC( release_QStyleHintReturnMask ); +extern QT_G_FUNC( release_QStyleHintReturnVariant ); +extern QT_G_FUNC( release_QStyleOption ); +extern QT_G_FUNC( release_QStyleOptionButton ); +extern QT_G_FUNC( release_QStyleOptionComboBox ); +extern QT_G_FUNC( release_QStyleOptionComplex ); +extern QT_G_FUNC( release_QStyleOptionDockWidget ); +extern QT_G_FUNC( release_QStyleOptionFocusRect ); +extern QT_G_FUNC( release_QStyleOptionFrame ); +extern QT_G_FUNC( release_QStyleOptionGroupBox ); +extern QT_G_FUNC( release_QStyleOptionHeader ); +extern QT_G_FUNC( release_QStyleOptionMenuItem ); +extern QT_G_FUNC( release_QStyleOptionProgressBar ); +extern QT_G_FUNC( release_QStyleOptionSizeGrip ); +extern QT_G_FUNC( release_QStyleOptionSlider ); +extern QT_G_FUNC( release_QStyleOptionSpinBox ); +extern QT_G_FUNC( release_QStyleOptionTab ); +extern QT_G_FUNC( release_QStyleOptionTabBarBase ); +extern QT_G_FUNC( release_QStyleOptionTabWidgetFrame ); +extern QT_G_FUNC( release_QStyleOptionTitleBar ); +extern QT_G_FUNC( release_QStyleOptionToolBar ); +extern QT_G_FUNC( release_QStyleOptionToolBox ); +extern QT_G_FUNC( release_QStyleOptionToolButton ); +extern QT_G_FUNC( release_QStyleOptionViewItem ); +extern QT_G_FUNC( release_QStylePainter ); +extern QT_G_FUNC( release_QSystemTrayIcon ); +extern QT_G_FUNC( release_QTabBar ); +extern QT_G_FUNC( release_QTableView ); +extern QT_G_FUNC( release_QTableWidget ); +extern QT_G_FUNC( release_QTableWidgetItem ); +extern QT_G_FUNC( release_QTabWidget ); +extern QT_G_FUNC( release_QTableWidgetSelectionRange ); +extern QT_G_FUNC( release_QTextBlock ); +extern QT_G_FUNC( release_QTextBlockFormat ); +extern QT_G_FUNC( release_QTextBlockGroup ); +extern QT_G_FUNC( release_QTextBrowser ); +extern QT_G_FUNC( release_QTextBoundaryFinder ); +extern QT_G_FUNC( release_QTextCharFormat ); +extern QT_G_FUNC( release_QTextCodec ); +extern QT_G_FUNC( release_QTextCursor ); +extern QT_G_FUNC( release_QTextDecoder ); +extern QT_G_FUNC( release_QTextDocument ); +extern QT_G_FUNC( release_QTextDocumentFragment ); +extern QT_G_FUNC( release_QTextDocumentWriter ); +extern QT_G_FUNC( release_QTextEdit ); +extern QT_G_FUNC( release_QTextEncoder ); +extern QT_G_FUNC( release_QTextFormat ); +extern QT_G_FUNC( release_QTextFragment ); +extern QT_G_FUNC( release_QTextFrame ); +extern QT_G_FUNC( release_QTextFrameFormat ); +extern QT_G_FUNC( release_QTextImageFormat ); +extern QT_G_FUNC( release_QTextInlineObject ); +extern QT_G_FUNC( release_QTextItem ); +extern QT_G_FUNC( release_QTextLayout ); +extern QT_G_FUNC( release_QTextLength ); +extern QT_G_FUNC( release_QTextLine ); +extern QT_G_FUNC( release_QTextListFormat ); +extern QT_G_FUNC( release_QTextObject ); +extern QT_G_FUNC( release_QTextOption ); +extern QT_G_FUNC( release_QTextStream ); +extern QT_G_FUNC( release_QTextTableFormat ); +extern QT_G_FUNC( release_QThread ); +extern QT_G_FUNC( release_QTime ); +extern QT_G_FUNC( release_QTimeEdit ); +extern QT_G_FUNC( release_QTimer ); +extern QT_G_FUNC( release_QToolBar ); +extern QT_G_FUNC( release_QToolBox ); +extern QT_G_FUNC( release_QToolButton ); +extern QT_G_FUNC( release_QTransform ); +extern QT_G_FUNC( release_QTranslator ); +extern QT_G_FUNC( release_QTreeView ); +extern QT_G_FUNC( release_QTreeWidget ); +extern QT_G_FUNC( release_QTreeWidgetItem ); +extern QT_G_FUNC( release_QUrl ); +extern QT_G_FUNC( release_QValidator ); +extern QT_G_FUNC( release_QVariant ); +extern QT_G_FUNC( release_QVBoxLayout ); +extern QT_G_FUNC( release_QWebFrame ); +extern QT_G_FUNC( release_QWebHistory ); +extern QT_G_FUNC( release_QWebHistoryInterface ); +extern QT_G_FUNC( release_QWebHistoryItem ); +extern QT_G_FUNC( release_QWebHitTestResult ); +extern QT_G_FUNC( release_QWebPage ); +extern QT_G_FUNC( release_QWebPluginFactory ); +extern QT_G_FUNC( release_QWebSecurityOrigin ); +extern QT_G_FUNC( release_QWebSettings ); +extern QT_G_FUNC( release_QWebView ); +extern QT_G_FUNC( release_QWheelEvent ); +extern QT_G_FUNC( release_QWidget ); +extern QT_G_FUNC( release_QWidgetAction ); +extern QT_G_FUNC( release_QWidgetItem ); +extern QT_G_FUNC( release_QWindowsStyle ); +extern QT_G_FUNC( release_QWindowsXPStyle ); +extern QT_G_FUNC( release_QWizard ); +extern QT_G_FUNC( release_QWizardPage ); + diff --git a/harbour/contrib/hbqt/hbqt_slots.cpp b/harbour/contrib/hbqt/hbqt_slots.cpp index d82eca854c..2b51a2ebf3 100644 --- a/harbour/contrib/hbqt/hbqt_slots.cpp +++ b/harbour/contrib/hbqt/hbqt_slots.cpp @@ -1115,7 +1115,6 @@ HB_FUNC( QT_CONNECT_SIGNAL ) PHB_ITEM codeblock = hb_itemNew( hb_param( 3, HB_IT_BLOCK ) ); /* get codeblock */ bool ret = false; /* return value */ QObject * object = ( QObject* ) hbqt_gcpointer( 1 ); /* get sender */ - if( !object ) { object = ( QObject* ) hb_parptr( 1 ); @@ -1710,7 +1709,12 @@ HB_FUNC( QT_CONNECT_SIGNAL ) */ HB_FUNC( QT_DISCONNECT_SIGNAL ) { - QObject * object = ( QObject* ) hb_parptr( 1 ); + QObject * object = ( QObject* ) hbqt_gcpointer( 1 ); /* get sender */ + if( !object ) + { + object = ( QObject* ) hb_parptr( 1 ); + } + if( object ) { Slots * s_s = qt_getEventSlots(); @@ -1780,8 +1784,7 @@ Events::~Events() bool Events::eventFilter( QObject * object, QEvent * event ) { QEvent::Type eventtype = event->type(); -//char str[ 50 ]; -//hb_snprintf( str, sizeof( str ), "0 Events::eventFilter = %i", ( int ) eventtype ); OutputDebugString( str ); +hb_snprintf( str, sizeof( str ), "0 Events::eventFilter = %i", ( int ) eventtype ); OutputDebugString( str ); if( ( int ) eventtype == 0 ) { @@ -1840,10 +1843,15 @@ HB_FUNC( QT_QEVENTFILTER ) HB_FUNC( QT_CONNECT_EVENT ) { - QObject * object = ( QObject * ) hb_parptr( 1 ); +// QObject * object = ( QObject * ) hb_parptr( 1 ); int type = hb_parni( 2 ); PHB_ITEM codeblock = hb_itemNew( hb_param( 3, HB_IT_BLOCK | HB_IT_BYREF ) ); Events * s_e = qt_getEventFilter(); + QObject * object = ( QObject* ) hbqt_gcpointer( 1 ); /* get sender */ + if( !object ) + { + object = ( QObject* ) hb_parptr( 1 ); + } char str[ 20 ]; hb_snprintf( str, sizeof( str ), "%s%i%s", "P", type, "P" ); /* Make it a unique identifier */ @@ -1859,10 +1867,15 @@ HB_FUNC( QT_CONNECT_EVENT ) HB_FUNC( QT_DISCONNECT_EVENT ) { - QObject * object = ( QObject * ) hb_parptr( 1 ); +// QObject * object = ( QObject * ) hb_parptr( 1 ); int type = hb_parni( 2 ); bool bRet = false; Events * s_e = qt_getEventFilter(); + QObject * object = ( QObject* ) hbqt_gcpointer( 1 ); /* get sender */ + if( !object ) + { + object = ( QObject* ) hb_parptr( 1 ); + } char str[ 10 ]; hb_snprintf( str, sizeof( str ), "%s%i%s", "P", type, "P" ); /* Make it a unique identifier */ diff --git a/harbour/contrib/hbqt/tests/demoqt.prg b/harbour/contrib/hbqt/tests/demoqt.prg index 93fc8bae02..fc9ff6c3d9 100644 --- a/harbour/contrib/hbqt/tests/demoqt.prg +++ b/harbour/contrib/hbqt/tests/demoqt.prg @@ -99,16 +99,28 @@ EXIT PROCEDURE Qt_End() /*----------------------------------------------------------------------*/ +FUNCTION My_Events( o,e ) +hb_toOutDebug( "Key Pressed" ) + RETURN nil + +/*----------------------------------------------------------------------*/ + PROCEDURE Main() LOCAL nLoops := 500 Local oLabel, oBtn, oDA, oWnd, oProg, oSBar, oStyle, i, oSize, n LOCAL aMenu, aTool, aGrid, aTabs, aList, aObj := array( nLoops ) -hb_toOutDebug( "---b---" ) + Qt_SetEventFilter() + Qt_SetEventSlots() - FOR i := 1 TO 1 //10 +hb_toOutDebug( " " ) +hb_toOutDebug( "-----------------b-----------------" ) + + FOR i := 1 TO 1 oWnd := QMainWindow():new() +// hb_idleSleep( 5 ) NEXT + oWnd:show() oWnd:setMouseTracking( .t. ) oWnd:setWindowTitle( "Harbour-Qt Implementation Test Dialog" ) @@ -128,21 +140,21 @@ hb_toOutDebug( "///////////////////////" ) hb_idlesleep( 5 ) #endif - oDA := QWidget():new( oWnd ) + oDA := QWidget():new( QT_PTROF( oWnd ) ) oWnd:setCentralWidget( QT_PTROF( oDA ) ) aMenu := Build_MenuBar( oWnd ) - aTool := Build_ToolBar( oWnd ) oSBar := QStatusBar():new( QT_PTROF( oWnd ) ) oWnd:setStatusBar( QT_PTROF( oSBar ) ) oSBar:showMessage( "Harbour-QT Statusbar Ready!" ) +#if 0 oStyle := QWindowsXPStyle():new() oStyle:standardIcon( 2 ) oWnd:setStyle( QT_PTROF( oStyle ) ) - +#endif oLabel := Build_Label( oDA, { 30,190 }, { 300, 30 } ) oBtn := Build_PushButton( oDA, { 30,240 }, { 100,50 } ) aGrid := Build_Grid( oDA, { 30, 30 }, { 450,150 } ) @@ -150,6 +162,8 @@ hb_idlesleep( 5 ) oProg := Build_ProgressBar( oDA, { 30,300 }, { 200,30 } ) aList := Build_ListBox( oDA, { 310,240 }, { 150, 100 } ) +hb_toOutDebug( "connected: %s", IF( QT_CONNECT_EVENT( QT_PTROF( oWnd ), 6, {|o,e| My_Events( o, e ) } ), "Yes", "No" ) ) + oWnd:Show() /* Cooment out the following line to see the label going off the dialog and memory is released */ @@ -159,19 +173,38 @@ hb_idlesleep( 5 ) //Dummies() qApp:exec() +hb_toOutDebug( "-----------------e-----------------" ) + // + xReleaseMemory( { oBtn, oLabel, oProg, oSBar, aGrid, aList, aMenu, aTool, aTabs, oDA, oWnd } ) -hb_toOutDebug( "---e---" ) +hb_toOutDebug( "-----------------f-----------------" ) RETURN /*----------------------------------------------------------------------*/ +FUNCTION xReleaseMemory( aObj ) + LOCAL i + + FOR i := 1 TO len( aObj ) + IF hb_isObject( aObj[ i ] ) + aObj[ i ]:pPtr := 1 + ELSEIF hb_isArray( aObj[ i ] ) + xReleaseMemory( aObj[ i ] ) + ENDIF + NEXT + + RETURN nil + +/*----------------------------------------------------------------------*/ + PROCEDURE ExecOneMore() Local oLabel, oBtn, oDA, oWnd, oProg, oSBar, oStyle, i, oSize, n LOCAL aMenu, aTool, aGrid, aTabs, aList, oEventLoop, nStart LOCAL lExit := .f. oWnd := QMainWindow():new() + oWnd:setMouseTracking( .t. ) oWnd:setWindowTitle( "Harbour-Qt Implementation Test Dialog" ) oWnd:setWindowIcon( "test" ) @@ -183,13 +216,7 @@ PROCEDURE ExecOneMore() oWnd:show() aMenu := Build_MenuBar( oWnd ) - aTool := Build_ToolBar( oWnd ) - - oSBar := QStatusBar():new( QT_PTROF( oWnd ) ) - oWnd:setStatusBar( QT_PTROF( oSBar ) ) - oSBar:showMessage( "Harbour-QT Statusbar Ready!" ) - oLabel := Build_Label( oDA, { 30,190 }, { 300, 30 } ) oBtn := Build_PushButton( oDA, { 30,240 }, { 100,50 }, ; "CLOSE", "This dialog will be closed now!", @lExit ) @@ -198,6 +225,10 @@ PROCEDURE ExecOneMore() oProg := Build_ProgressBar( oDA, { 30,300 }, { 200,30 } ) aList := Build_ListBox( oDA, { 310,240 }, { 150, 100 } ) + oSBar := QStatusBar():new( QT_PTROF( oWnd ) ) + oWnd:setStatusBar( QT_PTROF( oSBar ) ) + oSBar:showMessage( "Harbour-QT Statusbar Ready!" ) + oEventLoop := QEventLoop():new( QT_PTROF( oWnd ) ) nStart := seconds() @@ -207,6 +238,10 @@ PROCEDURE ExecOneMore() EXIT ENDIF ENDDO + oEventLoop:exit( 0 ) + + oEventLoop := 1 + xReleaseMemory( { oBtn, oLabel, oProg, oSBar, aGrid, aList, aMenu, aTool, aTabs, oDA, oWnd } ) RETURN @@ -215,10 +250,10 @@ PROCEDURE ExecOneMore() STATIC FUNCTION Build_MenuBar( oWnd ) LOCAL oMenuBar, oMenu1, oMenu2, oActNew, oActOpen, oActSave - oMenuBar := QMenuBar():new( QT_PTROF( oWnd ) ) + oMenuBar := QMenuBar():new() oMenuBar:resize( oWnd:width(), 25 ) - oMenu1 := QMenu():new( QT_PTROF( oMenuBar ) ) + oMenu1 := QMenu():new() oMenu1:setTitle( "&File" ) Qt_Connect_Signal( oMenu1:addAction_1( "new.png" , "&New" ), QT_EVE_TRIGGERED_B, {|w,l| FileDialog( "New" , w, l ) } ) Qt_Connect_Signal( oMenu1:addAction_1( "open.png", "&Open" ), QT_EVE_TRIGGERED_B, {|w,l| FileDialog( "Open", w, l ) } ) @@ -228,7 +263,7 @@ STATIC FUNCTION Build_MenuBar( oWnd ) Qt_Connect_Signal( oMenu1:addAction( "E&xit" ), QT_EVE_TRIGGERED_B, {|w,l| MsgInfo( "Exit ?" ) } ) oMenuBar:addMenu( QT_PTROF( oMenu1 ) ) - oMenu2 := QMenu():new( QT_PTROF( oMenuBar ) ) + oMenu2 := QMenu():new() oMenu2:setTitle( "&Dialogs" ) Qt_Connect_Signal( oMenu2:addAction( "&Colors" ), QT_EVE_TRIGGERED_B, {|w,l| Dialogs( "Colors" , w, l ) } ) Qt_Connect_Signal( oMenu2:addAction( "&Fonts" ), QT_EVE_TRIGGERED_B, {|w,l| Dialogs( "Fonts" , w, l ) } ) @@ -252,7 +287,7 @@ STATIC FUNCTION Build_ToolBar( oWnd ) LOCAL oTB, oActNew, oActOpen, oActSave /* Create a Toolbar Object */ - oTB := QToolBar():new( QT_PTROF( oWnd ) ) + oTB := QToolBar():new()// QT_PTROF( oWnd ) ) /* Create an action */ oActNew := QAction():new( QT_PTROF( oWnd ) ) @@ -399,10 +434,15 @@ STATIC FUNCTION Build_Tabs( oWnd, aPos, aSize ) oTabWidget := QTabWidget():new( QT_PTROF( oWnd ) ) + #if 1 + oTab1 := QWidget():new()// QT_PTROF( oTabWidget ) ) + oTab2 := QWidget():new()// QT_PTROF( oTabWidget ) ) + oTab3 := QWidget():new()// QT_PTROF( oTabWidget ) ) + #else oTab1 := QWidget():new( QT_PTROF( oTabWidget ) ) oTab2 := QWidget():new( QT_PTROF( oTabWidget ) ) oTab3 := QWidget():new( QT_PTROF( oTabWidget ) ) - + #endif oTabWidget:addTab( QT_PTROF( oTab1 ), "Folders" ) oTabWidget:addTab( QT_PTROF( oTab2 ), "Controls" ) oTabWidget:addTab( QT_PTROF( oTab3 ), "TextBox" ) @@ -415,7 +455,9 @@ STATIC FUNCTION Build_Tabs( oWnd, aPos, aSize ) aCntl := Build_Controls( oTab2 ) aText := Build_TextBox( oTab3 ) - RETURN { oTab1, oTab2, oTab3, oTabWidget, aTree, aCntl, aText } + //RETURN { oTab1, oTab2, oTab3, aTree, aCntl, aText, oTabWidget } + //RETURN { aCntl, aTree, aText, oTabWidget, oTab1, oTab2, oTab3 } + RETURN { aCntl, aTree, aText, oTab1, oTab2, oTab3, oTabWidget } /*----------------------------------------------------------------------*/ @@ -425,7 +467,7 @@ STATIC FUNCTION Build_TreeView( oWnd ) oTV := QTreeView():new( QT_PTROF( oWnd ) ) oTV:setMouseTracking( .t. ) //Qt_Connect_Signal( QT_PTROF( oTV ), QT_EVE_HOVERED, {|o,i| hb_outDebug( "oTV:hovered" ) } ) - oDirModel := QDirModel():new( QT_PTROF( oTV ) ) + oDirModel := QDirModel():new() oTV:setModel( QT_PTROF( oDirModel ) ) oTV:move( 5, 7 ) oTV:resize( 345, 365 ) @@ -442,7 +484,7 @@ STATIC FUNCTION Build_ListBox( oWnd, aPos, aSize ) oListBox:setMouseTracking( .t. ) //Qt_Connect_Signal( QT_PTROF( oListBox ), QT_EVE_HOVERED, {|o,i| hb_outDebug( "oListBox:hovered" ) } ) - oStrList := QStringList():new( QT_PTROF( oListBox ) ) + oStrList := QStringList():new() oStrList:append( "India" ) oStrList:append( "United States" ) @@ -453,7 +495,7 @@ STATIC FUNCTION Build_ListBox( oWnd, aPos, aSize ) oStrList:append( "China" ) oStrList:sort() - oStrModel := QStringListModel():new( QT_PTROF( oListBox ) ) + oStrModel := QStringListModel():new() oStrModel:setStringList( QT_PTROF( oStrList ) ) oListBox:setModel( QT_PTROF( oStrModel ) ) @@ -519,7 +561,7 @@ STATIC FUNCTION Build_Controls( oWnd ) oRadioButton:ReSize( 345, 30 ) oRadioButton:Show() - RETURN { oEdit, oCheckBox, oComboBox, oSpinBox, oRadioButton } + RETURN { oEdit, oComboBox, oCheckBox, oSpinBox, oRadioButton } /*----------------------------------------------------------------------*/ @@ -875,4 +917,3 @@ FUNCTION ShowInSystemTray( oWnd ) RETURN nil /*----------------------------------------------------------------------*/ -