From a6bc04e5f4ca9c6ca5060e2bcb353452d660a699 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 14 Jun 2010 18:56:46 +0000 Subject: [PATCH] nuke whole qth tree --- harbour/contrib/hbqt/qth/HBDbfModel.qth | 98 ----- harbour/contrib/hbqt/qth/HBEvents.qth | 99 ----- harbour/contrib/hbqt/qth/HBQMainWindow.qth | 95 ----- harbour/contrib/hbqt/qth/HBQPlainTextEdit.qth | 154 -------- .../contrib/hbqt/qth/HBQSyntaxHighLighter.qth | 113 ------ .../contrib/hbqt/qth/HBQSyntaxHighlighter.qth | 114 ------ harbour/contrib/hbqt/qth/HBQTableView.qth | 95 ----- .../contrib/hbqt/qth/HBQTextBlockUserData.qth | 96 ----- harbour/contrib/hbqt/qth/HBSlots.qth | 99 ----- harbour/contrib/hbqt/qth/QAbstractButton.qth | 119 ------ .../hbqt/qth/QAbstractEventDispatcher.qth | 119 ------ .../hbqt/qth/QAbstractItemDelegate.qth | 103 ----- .../contrib/hbqt/qth/QAbstractItemModel.qth | 146 ------- .../contrib/hbqt/qth/QAbstractItemView.qth | 165 -------- .../contrib/hbqt/qth/QAbstractListModel.qth | 94 ----- .../contrib/hbqt/qth/QAbstractPrintDialog.qth | 104 ----- .../contrib/hbqt/qth/QAbstractProxyModel.qth | 96 ----- .../contrib/hbqt/qth/QAbstractScrollArea.qth | 103 ----- harbour/contrib/hbqt/qth/QAbstractSlider.qth | 121 ------ harbour/contrib/hbqt/qth/QAbstractSpinBox.qth | 121 ------ .../contrib/hbqt/qth/QAbstractTableModel.qth | 94 ----- .../hbqt/qth/QAbstractTextDocumentLayout.qth | 106 ------ harbour/contrib/hbqt/qth/QAction.qth | 155 -------- harbour/contrib/hbqt/qth/QActionGroup.qth | 108 ------ harbour/contrib/hbqt/qth/QApplication.qth | 286 -------------- harbour/contrib/hbqt/qth/QAxBase.qth | 110 ------ harbour/contrib/hbqt/qth/QAxBindable.qth | 91 ----- harbour/contrib/hbqt/qth/QAxObject.qth | 83 ---- harbour/contrib/hbqt/qth/QAxWidget.qth | 83 ---- harbour/contrib/hbqt/qth/QBitArray.qth | 108 ------ harbour/contrib/hbqt/qth/QBitmap.qth | 145 ------- harbour/contrib/hbqt/qth/QBoxLayout.qth | 131 ------- harbour/contrib/hbqt/qth/QBrush.qth | 170 --------- harbour/contrib/hbqt/qth/QBuffer.qth | 101 ----- harbour/contrib/hbqt/qth/QButtonGroup.qth | 117 ------ harbour/contrib/hbqt/qth/QByteArray.qth | 196 ---------- harbour/contrib/hbqt/qth/QCalendarWidget.qth | 136 ------- harbour/contrib/hbqt/qth/QChar.qth | 145 ------- harbour/contrib/hbqt/qth/QCheckBox.qth | 96 ----- harbour/contrib/hbqt/qth/QClipboard.qth | 112 ------ harbour/contrib/hbqt/qth/QColor.qth | 207 ---------- harbour/contrib/hbqt/qth/QColorDialog.qth | 117 ------ harbour/contrib/hbqt/qth/QComboBox.qth | 158 -------- .../contrib/hbqt/qth/QCommandLinkButton.qth | 85 ----- harbour/contrib/hbqt/qth/QCommonStyle.qth | 90 ----- harbour/contrib/hbqt/qth/QCompleter.qth | 127 ------- harbour/contrib/hbqt/qth/QConicalGradient.qth | 97 ----- .../contrib/hbqt/qth/QContextMenuEvent.qth | 100 ----- harbour/contrib/hbqt/qth/QCoreApplication.qth | 135 ------- harbour/contrib/hbqt/qth/QCursor.qth | 145 ------- harbour/contrib/hbqt/qth/QDataStream.qth | 113 ------ harbour/contrib/hbqt/qth/QDate.qth | 112 ------ harbour/contrib/hbqt/qth/QDateEdit.qth | 78 ---- harbour/contrib/hbqt/qth/QDateTime.qth | 125 ------ harbour/contrib/hbqt/qth/QDateTimeEdit.qth | 137 ------- harbour/contrib/hbqt/qth/QDesktopWidget.qth | 97 ----- harbour/contrib/hbqt/qth/QDial.qth | 87 ----- harbour/contrib/hbqt/qth/QDialog.qth | 101 ----- harbour/contrib/hbqt/qth/QDir.qth | 151 -------- harbour/contrib/hbqt/qth/QDirModel.qth | 133 ------- harbour/contrib/hbqt/qth/QDockWidget.qth | 103 ----- harbour/contrib/hbqt/qth/QDoubleSpinBox.qth | 102 ----- harbour/contrib/hbqt/qth/QDragEnterEvent.qth | 93 ----- harbour/contrib/hbqt/qth/QDragLeaveEvent.qth | 93 ----- harbour/contrib/hbqt/qth/QDragMoveEvent.qth | 99 ----- harbour/contrib/hbqt/qth/QDropEvent.qth | 110 ------ harbour/contrib/hbqt/qth/QErrorMessage.qth | 80 ---- harbour/contrib/hbqt/qth/QEvent.qth | 100 ----- harbour/contrib/hbqt/qth/QEventLoop.qth | 99 ----- harbour/contrib/hbqt/qth/QFile.qth | 143 ------- harbour/contrib/hbqt/qth/QFileDialog.qth | 164 -------- .../contrib/hbqt/qth/QFileIconProvider.qth | 96 ----- harbour/contrib/hbqt/qth/QFileInfo.qth | 143 ------- harbour/contrib/hbqt/qth/QFileSystemModel.qth | 128 ------- harbour/contrib/hbqt/qth/QFocusEvent.qth | 96 ----- harbour/contrib/hbqt/qth/QFocusFrame.qth | 81 ---- harbour/contrib/hbqt/qth/QFont.qth | 205 ---------- harbour/contrib/hbqt/qth/QFontComboBox.qth | 96 ----- harbour/contrib/hbqt/qth/QFontDatabase.qth | 119 ------ harbour/contrib/hbqt/qth/QFontDialog.qth | 120 ------ harbour/contrib/hbqt/qth/QFontInfo.qth | 99 ----- harbour/contrib/hbqt/qth/QFontMetrics.qth | 142 ------- harbour/contrib/hbqt/qth/QFontMetricsF.qth | 147 ------- harbour/contrib/hbqt/qth/QFormLayout.qth | 120 ------ harbour/contrib/hbqt/qth/QFrame.qth | 97 ----- harbour/contrib/hbqt/qth/QFtp.qth | 146 ------- harbour/contrib/hbqt/qth/QGradient.qth | 102 ----- harbour/contrib/hbqt/qth/QGridLayout.qth | 154 -------- harbour/contrib/hbqt/qth/QGroupBox.qth | 99 ----- harbour/contrib/hbqt/qth/QHBoxLayout.qth | 78 ---- harbour/contrib/hbqt/qth/QHeaderView.qth | 156 -------- harbour/contrib/hbqt/qth/QHelpEvent.qth | 98 ----- harbour/contrib/hbqt/qth/QHideEvent.qth | 93 ----- harbour/contrib/hbqt/qth/QHttp.qth | 152 -------- harbour/contrib/hbqt/qth/QHttpHeader.qth | 114 ------ .../contrib/hbqt/qth/QHttpRequestHeader.qth | 99 ----- .../contrib/hbqt/qth/QHttpResponseHeader.qth | 99 ----- harbour/contrib/hbqt/qth/QIODevice.qth | 136 ------- harbour/contrib/hbqt/qth/QIcon.qth | 126 ------ harbour/contrib/hbqt/qth/QImage.qth | 209 ---------- harbour/contrib/hbqt/qth/QImageReader.qth | 132 ------- harbour/contrib/hbqt/qth/QImageWriter.qth | 115 ------ harbour/contrib/hbqt/qth/QInputContext.qth | 106 ------ harbour/contrib/hbqt/qth/QInputDialog.qth | 138 ------- harbour/contrib/hbqt/qth/QInputEvent.qth | 93 ----- .../contrib/hbqt/qth/QInputMethodEvent.qth | 100 ----- harbour/contrib/hbqt/qth/QItemSelection.qth | 98 ----- .../contrib/hbqt/qth/QItemSelectionModel.qth | 120 ------ harbour/contrib/hbqt/qth/QKeyEvent.qth | 103 ----- harbour/contrib/hbqt/qth/QKeySequence.qth | 116 ------ harbour/contrib/hbqt/qth/QLCDNumber.qth | 112 ------ harbour/contrib/hbqt/qth/QLabel.qth | 116 ------ harbour/contrib/hbqt/qth/QLatin1Char.qth | 95 ----- harbour/contrib/hbqt/qth/QLatin1String.qth | 94 ----- harbour/contrib/hbqt/qth/QLayout.qth | 132 ------- harbour/contrib/hbqt/qth/QLayoutItem.qth | 96 ----- harbour/contrib/hbqt/qth/QLibraryInfo.qth | 97 ----- harbour/contrib/hbqt/qth/QLine.qth | 132 ------- harbour/contrib/hbqt/qth/QLineEdit.qth | 150 -------- harbour/contrib/hbqt/qth/QLineF.qth | 122 ------ harbour/contrib/hbqt/qth/QLinearGradient.qth | 120 ------ harbour/contrib/hbqt/qth/QList.qth | 152 -------- harbour/contrib/hbqt/qth/QListView.qth | 118 ------ harbour/contrib/hbqt/qth/QListWidget.qth | 147 ------- harbour/contrib/hbqt/qth/QListWidgetItem.qth | 121 ------ harbour/contrib/hbqt/qth/QLocale.qth | 157 -------- harbour/contrib/hbqt/qth/QMainWindow.qth | 175 --------- harbour/contrib/hbqt/qth/QMatrix.qth | 123 ------ harbour/contrib/hbqt/qth/QMdiArea.qth | 130 ------- harbour/contrib/hbqt/qth/QMdiSubWindow.qth | 117 ------ harbour/contrib/hbqt/qth/QMenu.qth | 138 ------- harbour/contrib/hbqt/qth/QMenuBar.qth | 99 ----- harbour/contrib/hbqt/qth/QMessageBox.qth | 133 ------- harbour/contrib/hbqt/qth/QMimeData.qth | 114 ------ harbour/contrib/hbqt/qth/QModelIndex.qth | 106 ------ harbour/contrib/hbqt/qth/QMouseEvent.qth | 107 ------ harbour/contrib/hbqt/qth/QMoveEvent.qth | 96 ----- harbour/contrib/hbqt/qth/QMovie.qth | 133 ------- harbour/contrib/hbqt/qth/QNetworkRequest.qth | 108 ------ harbour/contrib/hbqt/qth/QObject.qth | 123 ------ harbour/contrib/hbqt/qth/QPageSetupDialog.qth | 94 ----- harbour/contrib/hbqt/qth/QPaintDevice.qth | 92 ----- harbour/contrib/hbqt/qth/QPaintEngine.qth | 124 ------ harbour/contrib/hbqt/qth/QPaintEvent.qth | 106 ------ harbour/contrib/hbqt/qth/QPainter.qth | 281 -------------- harbour/contrib/hbqt/qth/QPainterPath.qth | 151 -------- harbour/contrib/hbqt/qth/QPalette.qth | 166 -------- harbour/contrib/hbqt/qth/QPen.qth | 152 -------- harbour/contrib/hbqt/qth/QPicture.qth | 121 ------ harbour/contrib/hbqt/qth/QPixmap.qth | 190 ---------- .../hbqt/qth/QPlainTextDocumentLayout.qth | 101 ----- harbour/contrib/hbqt/qth/QPlainTextEdit.qth | 176 --------- harbour/contrib/hbqt/qth/QPoint.qth | 117 ------ harbour/contrib/hbqt/qth/QPointF.qth | 117 ------ harbour/contrib/hbqt/qth/QPolygon.qth | 111 ------ harbour/contrib/hbqt/qth/QPolygonF.qth | 106 ------ harbour/contrib/hbqt/qth/QPrintDialog.qth | 98 ----- harbour/contrib/hbqt/qth/QPrintEngine.qth | 100 ----- .../contrib/hbqt/qth/QPrintPreviewDialog.qth | 89 ----- harbour/contrib/hbqt/qth/QPrinter.qth | 167 -------- harbour/contrib/hbqt/qth/QProcess.qth | 150 -------- harbour/contrib/hbqt/qth/QProgressBar.qth | 108 ------ harbour/contrib/hbqt/qth/QProgressDialog.qth | 109 ------ harbour/contrib/hbqt/qth/QPushButton.qth | 91 ----- harbour/contrib/hbqt/qth/QRadialGradient.qth | 133 ------- harbour/contrib/hbqt/qth/QRadioButton.qth | 77 ---- harbour/contrib/hbqt/qth/QRect.qth | 180 --------- harbour/contrib/hbqt/qth/QRectF.qth | 182 --------- harbour/contrib/hbqt/qth/QRegExp.qth | 115 ------ harbour/contrib/hbqt/qth/QRegion.qth | 164 -------- harbour/contrib/hbqt/qth/QResizeEvent.qth | 95 ----- harbour/contrib/hbqt/qth/QResource.qth | 107 ------ harbour/contrib/hbqt/qth/QScrollArea.qth | 87 ----- harbour/contrib/hbqt/qth/QScrollBar.qth | 77 ---- harbour/contrib/hbqt/qth/QSessionManager.qth | 109 ------ harbour/contrib/hbqt/qth/QSettings.qth | 142 ------- harbour/contrib/hbqt/qth/QShowEvent.qth | 93 ----- harbour/contrib/hbqt/qth/QSignalMapper.qth | 99 ----- harbour/contrib/hbqt/qth/QSize.qth | 123 ------ harbour/contrib/hbqt/qth/QSizeF.qth | 120 ------ harbour/contrib/hbqt/qth/QSizeGrip.qth | 77 ---- harbour/contrib/hbqt/qth/QSizePolicy.qth | 122 ------ harbour/contrib/hbqt/qth/QSlider.qth | 93 ----- harbour/contrib/hbqt/qth/QSound.qth | 99 ----- harbour/contrib/hbqt/qth/QSpacerItem.qth | 104 ----- harbour/contrib/hbqt/qth/QSpinBox.qth | 98 ----- harbour/contrib/hbqt/qth/QSplashScreen.qth | 93 ----- harbour/contrib/hbqt/qth/QSplitter.qth | 113 ------ harbour/contrib/hbqt/qth/QStackedWidget.qth | 107 ------ harbour/contrib/hbqt/qth/QStandardItem.qth | 175 --------- .../contrib/hbqt/qth/QStandardItemModel.qth | 126 ------ harbour/contrib/hbqt/qth/QStatusBar.qth | 102 ----- harbour/contrib/hbqt/qth/QStringList.qth | 152 -------- harbour/contrib/hbqt/qth/QStringListModel.qth | 101 ----- harbour/contrib/hbqt/qth/QStyle.qth | 133 ------- harbour/contrib/hbqt/qth/QStyleFactory.qth | 95 ----- harbour/contrib/hbqt/qth/QStyleHintReturn.qth | 96 ----- .../contrib/hbqt/qth/QStyleHintReturnMask.qth | 94 ----- .../hbqt/qth/QStyleHintReturnVariant.qth | 95 ----- harbour/contrib/hbqt/qth/QStyleOption.qth | 105 ----- .../contrib/hbqt/qth/QStyleOptionButton.qth | 102 ----- .../contrib/hbqt/qth/QStyleOptionComboBox.qth | 102 ----- .../contrib/hbqt/qth/QStyleOptionComplex.qth | 98 ----- .../hbqt/qth/QStyleOptionDockWidget.qth | 100 ----- .../hbqt/qth/QStyleOptionFocusRect.qth | 97 ----- .../contrib/hbqt/qth/QStyleOptionFrame.qth | 98 ----- .../contrib/hbqt/qth/QStyleOptionGroupBox.qth | 102 ----- .../contrib/hbqt/qth/QStyleOptionHeader.qth | 108 ------ .../contrib/hbqt/qth/QStyleOptionMenuItem.qth | 108 ------ .../hbqt/qth/QStyleOptionProgressBar.qth | 103 ----- .../contrib/hbqt/qth/QStyleOptionSizeGrip.qth | 97 ----- .../contrib/hbqt/qth/QStyleOptionSlider.qth | 108 ------ .../contrib/hbqt/qth/QStyleOptionSpinBox.qth | 99 ----- harbour/contrib/hbqt/qth/QStyleOptionTab.qth | 107 ------ .../hbqt/qth/QStyleOptionTabBarBase.qth | 99 ----- .../hbqt/qth/QStyleOptionTabWidgetFrame.qth | 102 ----- .../contrib/hbqt/qth/QStyleOptionTitleBar.qth | 100 ----- .../contrib/hbqt/qth/QStyleOptionToolBar.qth | 105 ----- .../contrib/hbqt/qth/QStyleOptionToolBox.qth | 98 ----- .../hbqt/qth/QStyleOptionToolButton.qth | 106 ------ .../contrib/hbqt/qth/QStyleOptionViewItem.qth | 104 ----- harbour/contrib/hbqt/qth/QStylePainter.qth | 103 ----- .../contrib/hbqt/qth/QStyledItemDelegate.qth | 100 ----- harbour/contrib/hbqt/qth/QSystemTrayIcon.qth | 113 ------ harbour/contrib/hbqt/qth/QTabBar.qth | 140 ------- harbour/contrib/hbqt/qth/QTabWidget.qth | 145 ------- harbour/contrib/hbqt/qth/QTableView.qth | 125 ------ harbour/contrib/hbqt/qth/QTableWidget.qth | 209 ---------- harbour/contrib/hbqt/qth/QTableWidgetItem.qth | 135 ------- .../hbqt/qth/QTableWidgetSelectionRange.qth | 100 ----- harbour/contrib/hbqt/qth/QTextBlock.qth | 134 ------- harbour/contrib/hbqt/qth/QTextBlockFormat.qth | 125 ------ harbour/contrib/hbqt/qth/QTextBlockGroup.qth | 97 ----- .../contrib/hbqt/qth/QTextBoundaryFinder.qth | 109 ------ harbour/contrib/hbqt/qth/QTextBrowser.qth | 117 ------ harbour/contrib/hbqt/qth/QTextCharFormat.qth | 141 ------- harbour/contrib/hbqt/qth/QTextCodec.qth | 125 ------ harbour/contrib/hbqt/qth/QTextCursor.qth | 196 ---------- harbour/contrib/hbqt/qth/QTextDecoder.qth | 97 ----- harbour/contrib/hbqt/qth/QTextDocument.qth | 171 --------- .../hbqt/qth/QTextDocumentFragment.qth | 103 ----- .../contrib/hbqt/qth/QTextDocumentWriter.qth | 104 ----- harbour/contrib/hbqt/qth/QTextEdit.qth | 182 --------- harbour/contrib/hbqt/qth/QTextEncoder.qth | 95 ----- harbour/contrib/hbqt/qth/QTextFormat.qth | 144 ------- harbour/contrib/hbqt/qth/QTextFragment.qth | 99 ----- harbour/contrib/hbqt/qth/QTextFrame.qth | 98 ----- harbour/contrib/hbqt/qth/QTextFrameFormat.qth | 128 ------- harbour/contrib/hbqt/qth/QTextImageFormat.qth | 99 ----- .../contrib/hbqt/qth/QTextInlineObject.qth | 105 ----- harbour/contrib/hbqt/qth/QTextItem.qth | 100 ----- harbour/contrib/hbqt/qth/QTextLayout.qth | 127 ------- harbour/contrib/hbqt/qth/QTextLength.qth | 96 ----- harbour/contrib/hbqt/qth/QTextLine.qth | 117 ------ harbour/contrib/hbqt/qth/QTextList.qth | 103 ----- harbour/contrib/hbqt/qth/QTextListFormat.qth | 98 ----- harbour/contrib/hbqt/qth/QTextObject.qth | 97 ----- harbour/contrib/hbqt/qth/QTextOption.qth | 115 ------ harbour/contrib/hbqt/qth/QTextStream.qth | 144 ------- harbour/contrib/hbqt/qth/QTextTableFormat.qth | 104 ----- harbour/contrib/hbqt/qth/QThread.qth | 113 ------ harbour/contrib/hbqt/qth/QTime.qth | 113 ------ harbour/contrib/hbqt/qth/QTimeEdit.qth | 79 ---- harbour/contrib/hbqt/qth/QTimer.qth | 97 ----- harbour/contrib/hbqt/qth/QToolBar.qth | 149 -------- harbour/contrib/hbqt/qth/QToolBox.qth | 106 ------ harbour/contrib/hbqt/qth/QToolButton.qth | 102 ----- harbour/contrib/hbqt/qth/QTransform.qth | 145 ------- harbour/contrib/hbqt/qth/QTranslator.qth | 97 ----- harbour/contrib/hbqt/qth/QTreeView.qth | 147 ------- harbour/contrib/hbqt/qth/QTreeWidget.qth | 181 --------- harbour/contrib/hbqt/qth/QTreeWidgetItem.qth | 165 -------- harbour/contrib/hbqt/qth/QUiLoader.qth | 113 ------ harbour/contrib/hbqt/qth/QUrl.qth | 175 --------- harbour/contrib/hbqt/qth/QVBoxLayout.qth | 77 ---- harbour/contrib/hbqt/qth/QValidator.qth | 97 ----- harbour/contrib/hbqt/qth/QVariant.qth | 180 --------- harbour/contrib/hbqt/qth/QWebFrame.qth | 136 ------- harbour/contrib/hbqt/qth/QWebHistory.qth | 108 ------ .../contrib/hbqt/qth/QWebHistoryInterface.qth | 96 ----- harbour/contrib/hbqt/qth/QWebHistoryItem.qth | 101 ----- .../contrib/hbqt/qth/QWebHitTestResult.qth | 107 ------ harbour/contrib/hbqt/qth/QWebPage.qth | 151 -------- .../contrib/hbqt/qth/QWebPluginFactory.qth | 98 ----- .../contrib/hbqt/qth/QWebSecurityOrigin.qth | 104 ----- harbour/contrib/hbqt/qth/QWebSettings.qth | 122 ------ harbour/contrib/hbqt/qth/QWebView.qth | 120 ------ harbour/contrib/hbqt/qth/QWheelEvent.qth | 103 ----- harbour/contrib/hbqt/qth/QWidget.qth | 358 ------------------ harbour/contrib/hbqt/qth/QWidgetAction.qth | 97 ----- harbour/contrib/hbqt/qth/QWidgetItem.qth | 95 ----- .../hbqt/qth/QWindowStateChangeEvent.qth | 94 ----- harbour/contrib/hbqt/qth/QWindowsStyle.qth | 92 ----- harbour/contrib/hbqt/qth/QWizard.qth | 132 ------- harbour/contrib/hbqt/qth/QWizardPage.qth | 109 ------ 295 files changed, 35184 deletions(-) delete mode 100644 harbour/contrib/hbqt/qth/HBDbfModel.qth delete mode 100644 harbour/contrib/hbqt/qth/HBEvents.qth delete mode 100644 harbour/contrib/hbqt/qth/HBQMainWindow.qth delete mode 100644 harbour/contrib/hbqt/qth/HBQPlainTextEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/HBQSyntaxHighLighter.qth delete mode 100644 harbour/contrib/hbqt/qth/HBQSyntaxHighlighter.qth delete mode 100644 harbour/contrib/hbqt/qth/HBQTableView.qth delete mode 100644 harbour/contrib/hbqt/qth/HBQTextBlockUserData.qth delete mode 100644 harbour/contrib/hbqt/qth/HBSlots.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractEventDispatcher.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractItemDelegate.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractItemModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractItemView.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractListModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractProxyModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractScrollArea.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractSlider.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractSpinBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractTableModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QAbstractTextDocumentLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QAction.qth delete mode 100644 harbour/contrib/hbqt/qth/QActionGroup.qth delete mode 100644 harbour/contrib/hbqt/qth/QApplication.qth delete mode 100644 harbour/contrib/hbqt/qth/QAxBase.qth delete mode 100644 harbour/contrib/hbqt/qth/QAxBindable.qth delete mode 100644 harbour/contrib/hbqt/qth/QAxObject.qth delete mode 100644 harbour/contrib/hbqt/qth/QAxWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QBitArray.qth delete mode 100644 harbour/contrib/hbqt/qth/QBitmap.qth delete mode 100644 harbour/contrib/hbqt/qth/QBoxLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QBrush.qth delete mode 100644 harbour/contrib/hbqt/qth/QBuffer.qth delete mode 100644 harbour/contrib/hbqt/qth/QButtonGroup.qth delete mode 100644 harbour/contrib/hbqt/qth/QByteArray.qth delete mode 100644 harbour/contrib/hbqt/qth/QCalendarWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QChar.qth delete mode 100644 harbour/contrib/hbqt/qth/QCheckBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QClipboard.qth delete mode 100644 harbour/contrib/hbqt/qth/QColor.qth delete mode 100644 harbour/contrib/hbqt/qth/QColorDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QComboBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QCommandLinkButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QCommonStyle.qth delete mode 100644 harbour/contrib/hbqt/qth/QCompleter.qth delete mode 100644 harbour/contrib/hbqt/qth/QConicalGradient.qth delete mode 100644 harbour/contrib/hbqt/qth/QContextMenuEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QCoreApplication.qth delete mode 100644 harbour/contrib/hbqt/qth/QCursor.qth delete mode 100644 harbour/contrib/hbqt/qth/QDataStream.qth delete mode 100644 harbour/contrib/hbqt/qth/QDate.qth delete mode 100644 harbour/contrib/hbqt/qth/QDateEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/QDateTime.qth delete mode 100644 harbour/contrib/hbqt/qth/QDateTimeEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/QDesktopWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QDial.qth delete mode 100644 harbour/contrib/hbqt/qth/QDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QDir.qth delete mode 100644 harbour/contrib/hbqt/qth/QDirModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QDockWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QDoubleSpinBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QDragEnterEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QDragLeaveEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QDragMoveEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QDropEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QErrorMessage.qth delete mode 100644 harbour/contrib/hbqt/qth/QEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QEventLoop.qth delete mode 100644 harbour/contrib/hbqt/qth/QFile.qth delete mode 100644 harbour/contrib/hbqt/qth/QFileDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QFileIconProvider.qth delete mode 100644 harbour/contrib/hbqt/qth/QFileInfo.qth delete mode 100644 harbour/contrib/hbqt/qth/QFileSystemModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QFocusEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QFocusFrame.qth delete mode 100644 harbour/contrib/hbqt/qth/QFont.qth delete mode 100644 harbour/contrib/hbqt/qth/QFontComboBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QFontDatabase.qth delete mode 100644 harbour/contrib/hbqt/qth/QFontDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QFontInfo.qth delete mode 100644 harbour/contrib/hbqt/qth/QFontMetrics.qth delete mode 100644 harbour/contrib/hbqt/qth/QFontMetricsF.qth delete mode 100644 harbour/contrib/hbqt/qth/QFormLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QFrame.qth delete mode 100644 harbour/contrib/hbqt/qth/QFtp.qth delete mode 100644 harbour/contrib/hbqt/qth/QGradient.qth delete mode 100644 harbour/contrib/hbqt/qth/QGridLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QGroupBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QHBoxLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QHeaderView.qth delete mode 100644 harbour/contrib/hbqt/qth/QHelpEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QHideEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QHttp.qth delete mode 100644 harbour/contrib/hbqt/qth/QHttpHeader.qth delete mode 100644 harbour/contrib/hbqt/qth/QHttpRequestHeader.qth delete mode 100644 harbour/contrib/hbqt/qth/QHttpResponseHeader.qth delete mode 100644 harbour/contrib/hbqt/qth/QIODevice.qth delete mode 100644 harbour/contrib/hbqt/qth/QIcon.qth delete mode 100644 harbour/contrib/hbqt/qth/QImage.qth delete mode 100644 harbour/contrib/hbqt/qth/QImageReader.qth delete mode 100644 harbour/contrib/hbqt/qth/QImageWriter.qth delete mode 100644 harbour/contrib/hbqt/qth/QInputContext.qth delete mode 100644 harbour/contrib/hbqt/qth/QInputDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QInputEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QInputMethodEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QItemSelection.qth delete mode 100644 harbour/contrib/hbqt/qth/QItemSelectionModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QKeyEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QKeySequence.qth delete mode 100644 harbour/contrib/hbqt/qth/QLCDNumber.qth delete mode 100644 harbour/contrib/hbqt/qth/QLabel.qth delete mode 100644 harbour/contrib/hbqt/qth/QLatin1Char.qth delete mode 100644 harbour/contrib/hbqt/qth/QLatin1String.qth delete mode 100644 harbour/contrib/hbqt/qth/QLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QLayoutItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QLibraryInfo.qth delete mode 100644 harbour/contrib/hbqt/qth/QLine.qth delete mode 100644 harbour/contrib/hbqt/qth/QLineEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/QLineF.qth delete mode 100644 harbour/contrib/hbqt/qth/QLinearGradient.qth delete mode 100644 harbour/contrib/hbqt/qth/QList.qth delete mode 100644 harbour/contrib/hbqt/qth/QListView.qth delete mode 100644 harbour/contrib/hbqt/qth/QListWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QListWidgetItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QLocale.qth delete mode 100644 harbour/contrib/hbqt/qth/QMainWindow.qth delete mode 100644 harbour/contrib/hbqt/qth/QMatrix.qth delete mode 100644 harbour/contrib/hbqt/qth/QMdiArea.qth delete mode 100644 harbour/contrib/hbqt/qth/QMdiSubWindow.qth delete mode 100644 harbour/contrib/hbqt/qth/QMenu.qth delete mode 100644 harbour/contrib/hbqt/qth/QMenuBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QMessageBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QMimeData.qth delete mode 100644 harbour/contrib/hbqt/qth/QModelIndex.qth delete mode 100644 harbour/contrib/hbqt/qth/QMouseEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QMoveEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QMovie.qth delete mode 100644 harbour/contrib/hbqt/qth/QNetworkRequest.qth delete mode 100644 harbour/contrib/hbqt/qth/QObject.qth delete mode 100644 harbour/contrib/hbqt/qth/QPageSetupDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QPaintDevice.qth delete mode 100644 harbour/contrib/hbqt/qth/QPaintEngine.qth delete mode 100644 harbour/contrib/hbqt/qth/QPaintEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QPainter.qth delete mode 100644 harbour/contrib/hbqt/qth/QPainterPath.qth delete mode 100644 harbour/contrib/hbqt/qth/QPalette.qth delete mode 100644 harbour/contrib/hbqt/qth/QPen.qth delete mode 100644 harbour/contrib/hbqt/qth/QPicture.qth delete mode 100644 harbour/contrib/hbqt/qth/QPixmap.qth delete mode 100644 harbour/contrib/hbqt/qth/QPlainTextDocumentLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QPlainTextEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/QPoint.qth delete mode 100644 harbour/contrib/hbqt/qth/QPointF.qth delete mode 100644 harbour/contrib/hbqt/qth/QPolygon.qth delete mode 100644 harbour/contrib/hbqt/qth/QPolygonF.qth delete mode 100644 harbour/contrib/hbqt/qth/QPrintDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QPrintEngine.qth delete mode 100644 harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QPrinter.qth delete mode 100644 harbour/contrib/hbqt/qth/QProcess.qth delete mode 100644 harbour/contrib/hbqt/qth/QProgressBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QProgressDialog.qth delete mode 100644 harbour/contrib/hbqt/qth/QPushButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QRadialGradient.qth delete mode 100644 harbour/contrib/hbqt/qth/QRadioButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QRect.qth delete mode 100644 harbour/contrib/hbqt/qth/QRectF.qth delete mode 100644 harbour/contrib/hbqt/qth/QRegExp.qth delete mode 100644 harbour/contrib/hbqt/qth/QRegion.qth delete mode 100644 harbour/contrib/hbqt/qth/QResizeEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QResource.qth delete mode 100644 harbour/contrib/hbqt/qth/QScrollArea.qth delete mode 100644 harbour/contrib/hbqt/qth/QScrollBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QSessionManager.qth delete mode 100644 harbour/contrib/hbqt/qth/QSettings.qth delete mode 100644 harbour/contrib/hbqt/qth/QShowEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QSignalMapper.qth delete mode 100644 harbour/contrib/hbqt/qth/QSize.qth delete mode 100644 harbour/contrib/hbqt/qth/QSizeF.qth delete mode 100644 harbour/contrib/hbqt/qth/QSizeGrip.qth delete mode 100644 harbour/contrib/hbqt/qth/QSizePolicy.qth delete mode 100644 harbour/contrib/hbqt/qth/QSlider.qth delete mode 100644 harbour/contrib/hbqt/qth/QSound.qth delete mode 100644 harbour/contrib/hbqt/qth/QSpacerItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QSpinBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QSplashScreen.qth delete mode 100644 harbour/contrib/hbqt/qth/QSplitter.qth delete mode 100644 harbour/contrib/hbqt/qth/QStackedWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QStandardItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QStandardItemModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QStatusBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QStringList.qth delete mode 100644 harbour/contrib/hbqt/qth/QStringListModel.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyle.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleFactory.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleHintReturn.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleHintReturnMask.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleHintReturnVariant.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOption.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionComboBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionComplex.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionDockWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionFocusRect.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionFrame.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionGroupBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionHeader.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionMenuItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionProgressBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionSizeGrip.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionSlider.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionTab.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QStylePainter.qth delete mode 100644 harbour/contrib/hbqt/qth/QStyledItemDelegate.qth delete mode 100644 harbour/contrib/hbqt/qth/QSystemTrayIcon.qth delete mode 100644 harbour/contrib/hbqt/qth/QTabBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QTabWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QTableView.qth delete mode 100644 harbour/contrib/hbqt/qth/QTableWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QTableWidgetItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QTableWidgetSelectionRange.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextBlock.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextBlockFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextBlockGroup.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextBoundaryFinder.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextBrowser.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextCharFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextCodec.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextCursor.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextDecoder.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextDocument.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextDocumentFragment.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextDocumentWriter.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextEncoder.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextFragment.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextFrame.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextFrameFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextImageFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextInlineObject.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextLength.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextLine.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextList.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextListFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextObject.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextOption.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextStream.qth delete mode 100644 harbour/contrib/hbqt/qth/QTextTableFormat.qth delete mode 100644 harbour/contrib/hbqt/qth/QThread.qth delete mode 100644 harbour/contrib/hbqt/qth/QTime.qth delete mode 100644 harbour/contrib/hbqt/qth/QTimeEdit.qth delete mode 100644 harbour/contrib/hbqt/qth/QTimer.qth delete mode 100644 harbour/contrib/hbqt/qth/QToolBar.qth delete mode 100644 harbour/contrib/hbqt/qth/QToolBox.qth delete mode 100644 harbour/contrib/hbqt/qth/QToolButton.qth delete mode 100644 harbour/contrib/hbqt/qth/QTransform.qth delete mode 100644 harbour/contrib/hbqt/qth/QTranslator.qth delete mode 100644 harbour/contrib/hbqt/qth/QTreeView.qth delete mode 100644 harbour/contrib/hbqt/qth/QTreeWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QTreeWidgetItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QUiLoader.qth delete mode 100644 harbour/contrib/hbqt/qth/QUrl.qth delete mode 100644 harbour/contrib/hbqt/qth/QVBoxLayout.qth delete mode 100644 harbour/contrib/hbqt/qth/QValidator.qth delete mode 100644 harbour/contrib/hbqt/qth/QVariant.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebFrame.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebHistory.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebHistoryInterface.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebHistoryItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebHitTestResult.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebPage.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebPluginFactory.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebSettings.qth delete mode 100644 harbour/contrib/hbqt/qth/QWebView.qth delete mode 100644 harbour/contrib/hbqt/qth/QWheelEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QWidget.qth delete mode 100644 harbour/contrib/hbqt/qth/QWidgetAction.qth delete mode 100644 harbour/contrib/hbqt/qth/QWidgetItem.qth delete mode 100644 harbour/contrib/hbqt/qth/QWindowStateChangeEvent.qth delete mode 100644 harbour/contrib/hbqt/qth/QWindowsStyle.qth delete mode 100644 harbour/contrib/hbqt/qth/QWizard.qth delete mode 100644 harbour/contrib/hbqt/qth/QWizardPage.qth diff --git a/harbour/contrib/hbqt/qth/HBDbfModel.qth b/harbour/contrib/hbqt/qth/HBDbfModel.qth deleted file mode 100644 index 57d9f99cab..0000000000 --- a/harbour/contrib/hbqt/qth/HBDbfModel.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QAbstractItemModel -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbdbfmodel.h" - - -/* - * - * - */ -HB_FUNC( QT_HBDBFMODEL ) -{ - hb_retptr( new HBDbfModel( ( PHB_ITEM ) hb_param( 1, HB_IT_BLOCK ) ) ); -} - - - - - - -void hbSetRowColumns( int rows, int cols ) -void reset() -QModelIndex index( int row, int column, const QModelIndex & parent = QModelIndex() ) const - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBEvents.qth b/harbour/contrib/hbqt/qth/HBEvents.qth deleted file mode 100644 index c53953fc67..0000000000 --- a/harbour/contrib/hbqt/qth/HBEvents.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbevents.h" - - -/* - * HBEvents() - * ~HBEvents() - * - */ -HB_FUNC( QT_HBEVENTS ) -{ - hb_retptr( new HBEvents() ); -} - - - - - - -bool hbConnect( PHB_ITEM obj, int event, PHB_ITEM block ) -bool hbDisconnect( PHB_ITEM obj, int event ) -bool hbClear() - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBQMainWindow.qth b/harbour/contrib/hbqt/qth/HBQMainWindow.qth deleted file mode 100644 index f4f8bd19cc..0000000000 --- a/harbour/contrib/hbqt/qth/HBQMainWindow.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QMainWindow -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbqmainwindow.h" - - -/* - * - * - */ -HB_FUNC( QT_HBQMAINWINDOW ) -{ - hb_retptr( new HBQMainWindow( hb_itemNew( hb_param( 1, HB_IT_BLOCK ) ), hb_parni( 2 ) ) ); -} - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBQPlainTextEdit.qth b/harbour/contrib/hbqt/qth/HBQPlainTextEdit.qth deleted file mode 100644 index 84c3554ca3..0000000000 --- a/harbour/contrib/hbqt/qth/HBQPlainTextEdit.qth +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QPlainTextEdit -Type = -New = - - - - - - -#include - -#include "../hbqt_hbqplaintextedit.h" - -/* - * HBQPlainTextEdit ( QWidget * parent = 0 ) - * HBQPlainTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~HBQPlainTextEdit () - */ -HB_FUNC( QT_HBQPLAINTEXTEDIT ) -{ - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( new HBQPlainTextEdit() ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new HBQPlainTextEdit( hbqt_par_QWidget( 1 ) ) ); - } - else - { - hb_retptr( new HBQPlainTextEdit() ); - } -} - - - - - - - int hbGetIndex( const QTextCursor & crQTextCursor) - int hbGetLine( const QTextCursor & crQTextCursor) - int hbLineNumberAreaWidth() - int hbGetSpaces() - void hbSetSpaces(int newSpaces) - void hbBookmarks(int block) - void hbNextBookmark(int block) - void hbPrevBookmark(int block) - void hbGotoBookmark(int block) - void hbNumberBlockVisible(bool b) - bool hbNumberBlockVisible() - void hbHighlightCurrentLine(bool b) - bool hbHighlightCurrentLine() - void hbSetEventBlock( PHB_ITEM block ) - - - - void hbUpdateLineNumberAreaWidth( int newBlockCount ) - void hbCaseUpper() - void hbCaseLower() - void hbEscapeQuotes() - void hbEscapeDQuotes() - void hbUnescapeQuotes() - void hbUnescapeDQuotes() - void hbConvertQuotes() - void hbConvertDQuotes() - void hbBlockComment() - void hbStreamComment() - void hbDuplicateLine() - void hbReplaceSelection( const QString & txt ) - void hbBlockIndent( int steps ) - void hbDeleteLine() - void hbMoveLine( int iDirection ) - QString hbGetSelectedText() - QString hbTextUnderCursor() - void hbShowPrototype( const QString & tip ) - void hbSetCompleter( QCompleter * completer ) - void hbSetCurrentLineColor( const QColor & color ) - void hbSetLineAreaBkColor( const QColor & color ) - void hbRefresh() - void hbCut( int key ) - void hbCopy() - void hbPaste() - void hbSetSelectionMode( int mode, bool on ) - void hbGetSelectionInfo() - void hbSetSelectionInfo( PHB_ITEM selectionInfo ) - void hbSetSelectionColor( const QColor & color ) - void hbSetMatchBraces( bool all ) - void hbGetViewportInfo() - void hbApplyKey( int key, Qt::KeyboardModifiers modifiers = 0, const QString & txt ) - void hbHighlightArea( int top, int left, int bottom, int right, int mode ) - void hbTogglePersistentSelection() - void hbHorzRulerVisible( bool visible ) - - - - diff --git a/harbour/contrib/hbqt/qth/HBQSyntaxHighLighter.qth b/harbour/contrib/hbqt/qth/HBQSyntaxHighLighter.qth deleted file mode 100644 index 500abb14b3..0000000000 --- a/harbour/contrib/hbqt/qth/HBQSyntaxHighLighter.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QSyntaxHighlighter -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbqsyntaxhighlighter.h" - -/* - * - * - */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER ) -{ - hb_retptr( new HBQSyntaxHighlighter( hbqt_par_QTextDocument( 1 ) ) ); -} - - - - - - - -void hbSetMultiLineCommentFormat( const QTextCharFormat & format ) -void hbSetSingleLineCommentFormat( const QTextCharFormat & format ) -void hbSetRule( QString name, QString pattern, QTextCharFormat & format ) -void hbSetFormat( QString name, const QTextCharFormat & format ) -void hbSetFormatColumnSelection( int start, int count, const QColor & color ) - -# QTextBlock currentBlock () const -# int currentBlockState () const -# QTextBlockUserData * currentBlockUserData () const -# QTextCharFormat format ( int position ) const -# virtual void highlightBlock ( const QString & text ) = 0 -# int previousBlockState () const -# void setCurrentBlockState ( int newState ) -# void setCurrentBlockUserData ( QTextBlockUserData * data ) -# void setFormat ( int start, int count, const QTextCharFormat & format ) -# void setFormat ( int start, int count, const QColor & color ) -# void setFormat ( int start, int count, const QFont & font ) - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBQSyntaxHighlighter.qth b/harbour/contrib/hbqt/qth/HBQSyntaxHighlighter.qth deleted file mode 100644 index 1985bb388b..0000000000 --- a/harbour/contrib/hbqt/qth/HBQSyntaxHighlighter.qth +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QSyntaxHighlighter -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbqsyntaxhighlighter.h" - -/* - * - * - */ -HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER ) -{ - hb_retptr( new HBQSyntaxHighlighter( hbqt_par_QTextDocument( 1 ) ) ); -} - - - - - - - -void hbSetMultiLineCommentFormat( const QTextCharFormat & format ) -void hbSetSingleLineCommentFormat( const QTextCharFormat & format ) -void hbSetRule( QString name, QString pattern, QTextCharFormat & format ) -void hbSetFormat( QString name, const QTextCharFormat & format ) -void hbSetFormatColumnSelection( int start, int count, const QColor & color ) -void hbSetRuleWithRegExp( QString name, const QRegExp & reg, const QTextCharFormat & format ) - -# QTextBlock currentBlock () const -# int currentBlockState () const -# QTextBlockUserData * currentBlockUserData () const -# QTextCharFormat format ( int position ) const -# virtual void highlightBlock ( const QString & text ) = 0 -# int previousBlockState () const -# void setCurrentBlockState ( int newState ) -# void setCurrentBlockUserData ( QTextBlockUserData * data ) -# void setFormat ( int start, int count, const QTextCharFormat & format ) -# void setFormat ( int start, int count, const QColor & color ) -# void setFormat ( int start, int count, const QFont & font ) - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBQTableView.qth b/harbour/contrib/hbqt/qth/HBQTableView.qth deleted file mode 100644 index 3f6e49bc61..0000000000 --- a/harbour/contrib/hbqt/qth/HBQTableView.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QTableView -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbqtableview.h" - - -/* - * - * - */ -HB_FUNC( QT_HBQTABLEVIEW ) -{ - hb_retptr( new HBQTableView( hbqt_par_QWidget( 1 ) ) ); -} - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBQTextBlockUserData.qth b/harbour/contrib/hbqt/qth/HBQTextBlockUserData.qth deleted file mode 100644 index b3860fd2a2..0000000000 --- a/harbour/contrib/hbqt/qth/HBQTextBlockUserData.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbqsyntaxhighlighter.h" - -/* - * HBQTextBlockUserData() - * ~HBQTextBlockUserData() - */ -HB_FUNC( QT_HBQTEXTBLOCKUSERDATA ) -{ - hb_retptr( new HBQTextBlockUserData() ); -} - - - - - - -int hbSetState( int state ) -int hbState() - - - - - - - diff --git a/harbour/contrib/hbqt/qth/HBSlots.qth b/harbour/contrib/hbqt/qth/HBSlots.qth deleted file mode 100644 index 99cfe92ba7..0000000000 --- a/harbour/contrib/hbqt/qth/HBSlots.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = -New = - - - - - - - - - -#include -#include "../hbqt_hbslots.h" - - -/* - * HBSlots() - * ~HBSlots() - */ -HB_FUNC( QT_HBSLOTS ) -{ - hb_retptr( new HBSlots() ); -} - - - - - - -bool hbConnect( PHB_ITEM pObj, const char * slot, PHB_ITEM bBlock ) -bool hbDisconnect( PHB_ITEM obj, const char * slot ) -bool hbIsConnected( PHB_ITEM obj, const char * slot ) -bool hbClear() - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractButton.qth b/harbour/contrib/hbqt/qth/QAbstractButton.qth deleted file mode 100644 index af3326675c..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractButton.qth +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - - -#include - - -/* - * QAbstractButton ( QWidget * parent = 0 ) - * ~QAbstractButton () - */ -HB_FUNC( QT_QABSTRACTBUTTON ) -{ - -} - - - - - - -bool autoExclusive () const -bool autoRepeat () const -int autoRepeatDelay () const -int autoRepeatInterval () const -QButtonGroup * group () const -QIcon icon () const -QSize iconSize () const -bool isCheckable () const -bool isChecked () const -bool isDown () const -void setAutoExclusive ( bool ) -void setAutoRepeat ( bool ) -void setAutoRepeatDelay ( int ) -void setAutoRepeatInterval ( int ) -void setCheckable ( bool ) -void setDown ( bool ) -void setIcon ( const QIcon & icon ) -void setShortcut ( const QKeySequence & key ) -void setText ( const QString & text ) -QKeySequence shortcut () const -QString text () const - - - - -void animateClick ( int msec = 100 ) -void click () -void setChecked ( bool ) -void setIconSize ( const QSize & size ) -void toggle () - - - - -void clicked ( bool checked = false ) -void pressed () -void released () -void toggled ( bool checked ) - diff --git a/harbour/contrib/hbqt/qth/QAbstractEventDispatcher.qth b/harbour/contrib/hbqt/qth/QAbstractEventDispatcher.qth deleted file mode 100644 index 54f97251a8..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractEventDispatcher.qth +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QAbstractEventDispatcher ( QObject * parent = 0 ) - * ~QAbstractEventDispatcher () - */ -HB_FUNC( QT_QABSTRACTEVENTDISPATCHER ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QAbstractEventDispatcher* ) new QAbstractEventDispatcher( hbqt_par_QObject( 1 ) ) ); - } - else - { - hb_retptr( ( QAbstractEventDispatcher* ) new QAbstractEventDispatcher() ); - } -} - - - - - - - -bool filterEvent ( void * message ) -virtual void flush () = 0 -virtual bool hasPendingEvents () = 0 -virtual void interrupt () = 0 -virtual bool processEvents ( QEventLoop::ProcessEventsFlags flags ) = 0 -virtual void registerSocketNotifier ( QSocketNotifier * notifier ) = 0 -int registerTimer ( int interval, QObject * object ) -virtual void registerTimer ( int timerId, int interval, QObject * object ) = 0 -virtual QList registeredTimers ( QObject * object ) const = 0 -EventFilter setEventFilter ( EventFilter filter ) -virtual void unregisterSocketNotifier ( QSocketNotifier * notifier ) = 0 -virtual bool unregisterTimer ( int timerId ) = 0 -virtual bool unregisterTimers ( QObject * object ) = 0 -virtual void wakeUp () = 0 - -QAbstractEventDispatcher * instance ( QThread * thread = 0 ) - - - - - - -void aboutToBlock () -void awake () - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractItemDelegate.qth b/harbour/contrib/hbqt/qth/QAbstractItemDelegate.qth deleted file mode 100644 index 42ae16e556..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractItemDelegate.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = -Destructor = no - - - -#include - - -/* QAbstractItemDelegate ( QObject * parent = 0 ) - * virtual ~QAbstractItemDelegate () - */ -HB_FUNC( QT_QABSTRACTITEMDELEGATE ) -{ - // hb_retptr( new QAbstractItemDelegate( 0 ) ); -} - - - -enum EndEditHint { NoHint, EditNextItem, EditPreviousItem, SubmitModelCache, RevertModelCache } - - - -virtual QWidget * createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const -virtual bool editorEvent ( QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index ) -virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const = 0 -virtual void setEditorData ( QWidget * editor, const QModelIndex & index ) const -virtual void setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const -virtual QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const = 0 -virtual void updateEditorGeometry ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) const - - - -// bool helpEvent ( QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - -void closeEditor ( QWidget * editor, QAbstractItemDelegate::EndEditHint hint = NoHint ) -void commitData ( QWidget * editor ) -void sizeHintChanged ( const QModelIndex & index ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractItemModel.qth b/harbour/contrib/hbqt/qth/QAbstractItemModel.qth deleted file mode 100644 index c247c3f931..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractItemModel.qth +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - - - - -#include -#include -#include - - -/* - * QAbstractItemModel ( QObject * parent = 0 ) - * virtual ~QAbstractItemModel () - */ - -HB_FUNC( QT_QABSTRACTITEMMODEL ) -{ -} - - - - - - - -virtual QModelIndex buddy ( const QModelIndex & index ) const -virtual bool canFetchMore ( const QModelIndex & parent ) const -virtual int columnCount ( const QModelIndex & parent = QModelIndex() ) const = 0 -virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const = 0 -virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) -virtual void fetchMore ( const QModelIndex & parent ) -virtual Qt::ItemFlags flags ( const QModelIndex & index ) const -virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const -bool hasIndex ( int row, int column, const QModelIndex & parent = QModelIndex() ) const -virtual QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const -virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const = 0 -bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() ) -virtual bool insertColumns ( int column, int count, const QModelIndex & parent = QModelIndex() ) -bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) -virtual bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) -virtual QMap itemData ( const QModelIndex & index ) const -// virtual QModelIndexList match ( const QModelIndex & start, int role, const QVariant & value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap ) ) const -// virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const -virtual QStringList mimeTypes () const -virtual QModelIndex parent ( const QModelIndex & index ) const = 0 -bool removeColumn ( int column, const QModelIndex & parent = QModelIndex() ) -virtual bool removeColumns ( int column, int count, const QModelIndex & parent = QModelIndex() ) -bool removeRow ( int row, const QModelIndex & parent = QModelIndex() ) -virtual bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) -virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const = 0 -virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) -virtual bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole ) -virtual bool setItemData ( const QModelIndex & index, const QMap & roles ) -void setSupportedDragActions ( Qt::DropActions actions ) -QModelIndex sibling ( int row, int column, const QModelIndex & index ) const -virtual void sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) -virtual QSize span ( const QModelIndex & index ) const -Qt::DropActions supportedDragActions () const -virtual Qt::DropActions supportedDropActions () const - - - -virtual void revert () -virtual bool submit () - - - -void columnsAboutToBeInserted ( const QModelIndex & parent, int start, int end ) -void columnsAboutToBeRemoved ( const QModelIndex & parent, int start, int end ) -void columnsInserted ( const QModelIndex & parent, int start, int end ) -void columnsRemoved ( const QModelIndex & parent, int start, int end ) -void dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) -void headerDataChanged ( Qt::Orientation orientation, int first, int last ) -void layoutAboutToBeChanged () -void layoutChanged () -void modelAboutToBeReset () -void modelReset () -void rowsAboutToBeInserted ( const QModelIndex & parent, int start, int end ) -void rowsAboutToBeRemoved ( const QModelIndex & parent, int start, int end ) -void rowsInserted ( const QModelIndex & parent, int start, int end ) -void rowsRemoved ( const QModelIndex & parent, int start, int end ) - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractItemView.qth b/harbour/contrib/hbqt/qth/QAbstractItemView.qth deleted file mode 100644 index 38b7ed187f..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractItemView.qth +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractScrollArea -New = pParent - - - - -#include - - -/* - * QAbstractItemView ( QWidget * parent = 0 ) - * ~QAbstractItemView () - */ -HB_FUNC( QT_QABSTRACTITEMVIEW ) -{ - -} - - - -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 } - - - -bool alternatingRowColors () const -int autoScrollMargin () const -void closePersistentEditor ( const QModelIndex & index ) -QModelIndex currentIndex () const -DragDropMode dragDropMode () const -bool dragDropOverwriteMode () const -bool dragEnabled () const -EditTriggers editTriggers () const -bool hasAutoScroll () const -ScrollMode horizontalScrollMode () const -QSize iconSize () const -virtual QModelIndex indexAt ( const QPoint & point ) const = 0 -QWidget * indexWidget ( const QModelIndex & index ) const -QAbstractItemDelegate * itemDelegate () const -QAbstractItemDelegate * itemDelegate ( const QModelIndex & index ) const -QAbstractItemDelegate * itemDelegateForColumn ( int column ) const -QAbstractItemDelegate * itemDelegateForRow ( int row ) const -virtual void keyboardSearch ( const QString & search ) -QAbstractItemModel * model () const -void openPersistentEditor ( const QModelIndex & index ) -QModelIndex rootIndex () const -virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) = 0 -QAbstractItemView::SelectionBehavior selectionBehavior () const -QAbstractItemView::SelectionMode selectionMode () const -QItemSelectionModel * selectionModel () const -void setAlternatingRowColors ( bool enable ) -void setAutoScroll ( bool enable ) -void setAutoScrollMargin ( int margin ) -void setDragDropMode ( DragDropMode behavior ) -void setDragDropOverwriteMode ( bool overwrite ) -void setDragEnabled ( bool enable ) -void setDropIndicatorShown ( bool enable ) -void setEditTriggers ( EditTriggers triggers ) -void setHorizontalScrollMode ( ScrollMode mode ) -void setIconSize ( const QSize & size ) -void setIndexWidget ( const QModelIndex & index, QWidget * widget ) -void setItemDelegate ( QAbstractItemDelegate * delegate ) -void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate ) -void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate ) -virtual void setModel ( QAbstractItemModel * model ) -void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior ) -void setSelectionMode ( QAbstractItemView::SelectionMode mode ) -virtual void setSelectionModel ( QItemSelectionModel * selectionModel ) -void setTabKeyNavigation ( bool enable ) -void setTextElideMode ( Qt::TextElideMode mode ) -void setVerticalScrollMode ( ScrollMode mode ) -bool showDropIndicator () const -virtual int sizeHintForColumn ( int column ) const -QSize sizeHintForIndex ( const QModelIndex & index ) const -virtual int sizeHintForRow ( int row ) const -bool tabKeyNavigation () const -Qt::TextElideMode textElideMode () const -ScrollMode verticalScrollMode () const -virtual QRect visualRect ( const QModelIndex & index ) const = 0 - - - -void clearSelection () -void edit ( const QModelIndex & index ) -virtual void reset () -void scrollToBottom () -void scrollToTop () -virtual void selectAll () -void setCurrentIndex ( const QModelIndex & index ) -virtual void setRootIndex ( const QModelIndex & index ) -void update ( const QModelIndex & index ) - - - -void activated ( const QModelIndex & index ) -void clicked ( const QModelIndex & index ) -void doubleClicked ( const QModelIndex & index ) -void entered ( const QModelIndex & index ) -void pressed ( const QModelIndex & index ) -void viewportEntered () - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractListModel.qth b/harbour/contrib/hbqt/qth/QAbstractListModel.qth deleted file mode 100644 index e38d34611f..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractListModel.qth +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractItemModel -Type = Core -New = - - - -#include - - -/* - * QAbstractListModel ( QObject * parent = 0 ) - * ~QAbstractListModel () - */ -HB_FUNC( QT_QABSTRACTLISTMODEL ) -{ - //hb_retptr( ( QAbstractListModel* ) new QAbstractListModel() ); -} - - - - - - -virtual QModelIndex index ( int row, int column = 0, const QModelIndex & parent = QModelIndex() ) const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth b/harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth deleted file mode 100644 index 6feb8011d1..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QDialog -New = - - - -#include - - -/* - * QAbstractPrintDialog ( QPrinter * printer, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QABSTRACTPRINTDIALOG ) -{ - -} - - - - -enum PrintDialogOption { None, PrintToFile, PrintSelection, PrintPageRange, ..., PrintShowPageSize } -enum PrintRange { AllPages, Selection, PageRange } -flags PrintDialogOptions - - - - -virtual int exec () = 0 -int fromPage () const -int maxPage () const -int minPage () const -PrintRange printRange () const -QPrinter * printer () const -void setFromTo ( int from, int to ) -void setMinMax ( int min, int max ) -void setOptionTabs ( const QList & tabs ) -void setPrintRange ( PrintRange range ) -int toPage () const - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractProxyModel.qth b/harbour/contrib/hbqt/qth/QAbstractProxyModel.qth deleted file mode 100644 index 92a68f9122..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractProxyModel.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractItemModel -Type = Core -New = - - - -#include -#include - -/* QAbstractProxyModel ( QObject * parent = 0 ) - * ~QAbstractProxyModel () - */ -HB_FUNC( QT_QABSTRACTPROXYMODEL ) -{ - // hb_retptr( new QAbstractProxyModel() ); -} - - - - - - -virtual QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const = 0 -virtual QItemSelection mapSelectionFromSource ( const QItemSelection & sourceSelection ) const -virtual QItemSelection mapSelectionToSource ( const QItemSelection & proxySelection ) const -virtual QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const = 0 -virtual void setSourceModel ( QAbstractItemModel * sourceModel ) -QAbstractItemModel * sourceModel () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractScrollArea.qth b/harbour/contrib/hbqt/qth/QAbstractScrollArea.qth deleted file mode 100644 index 82b026cbdb..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractScrollArea.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QFrame -New = - - - -#include - - -/* - * QAbstractScrollArea ( QWidget * parent = 0 ) - * ~QAbstractScrollArea () - */ -HB_FUNC( QT_QABSTRACTSCROLLAREA ) -{ - -} - - - - - - -void addScrollBarWidget ( QWidget * widget, Qt::Alignment alignment ) -QWidget * cornerWidget () const -QScrollBar * horizontalScrollBar () const -Qt::ScrollBarPolicy horizontalScrollBarPolicy () const -QSize maximumViewportSize () const -// QWidgetList scrollBarWidgets ( Qt::Alignment alignment ) -void setCornerWidget ( QWidget * widget ) -void setHorizontalScrollBar ( QScrollBar * scrollBar ) -void setHorizontalScrollBarPolicy ( Qt::ScrollBarPolicy ) -void setVerticalScrollBar ( QScrollBar * scrollBar ) -void setVerticalScrollBarPolicy ( Qt::ScrollBarPolicy ) -void setViewport ( QWidget * widget ) -QScrollBar * verticalScrollBar () const -Qt::ScrollBarPolicy verticalScrollBarPolicy () const -QWidget * viewport () const - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractSlider.qth b/harbour/contrib/hbqt/qth/QAbstractSlider.qth deleted file mode 100644 index 58df5c0838..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractSlider.qth +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = - - - - -#include - - -/* - * QAbstractSlider ( QWidget * parent = 0 ) - * ~QAbstractSlider () - */ -HB_FUNC( QT_QABSTRACTSLIDER ) -{ - -} - - - -enum SliderAction { SliderNoAction, SliderSingleStepAdd, SliderSingleStepSub, SliderPageStepAdd, ..., SliderMove } - - - -bool hasTracking () const -bool invertedAppearance () const -bool invertedControls () const -bool isSliderDown () const -int maximum () const -int minimum () const -Qt::Orientation orientation () const -int pageStep () const -void setInvertedAppearance ( bool ) -void setInvertedControls ( bool ) -void setMaximum ( int ) -void setMinimum ( int ) -void setPageStep ( int ) -void setRange ( int min, int max ) -void setSingleStep ( int ) -void setSliderDown ( bool ) -void setSliderPosition ( int ) -void setTracking ( bool enable ) -int singleStep () const -int sliderPosition () const -void triggerAction ( SliderAction action ) -int value () const - - - -void setOrientation ( Qt::Orientation ) -void setValue ( int ) - - - -void actionTriggered ( int action ) -void rangeChanged ( int min, int max ) -void sliderMoved ( int value ) -void sliderPressed () -void sliderReleased () -void valueChanged ( int value ) - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractSpinBox.qth b/harbour/contrib/hbqt/qth/QAbstractSpinBox.qth deleted file mode 100644 index ab3b680fde..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractSpinBox.qth +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - - -#include - - -/* - * QAbstractSpinBox ( QWidget * parent = 0 ) - * ~QAbstractSpinBox () - */ -HB_FUNC( QT_QABSTRACTSPINBOX ) -{ - -} - - - -enum ButtonSymbols { UpDownArrows, PlusMinus, NoButtons } -enum CorrectionMode { CorrectToPreviousValue, CorrectToNearestValue } -flags StepEnabled -enum StepEnabledFlag { StepNone, StepUpEnabled, StepDownEnabled } - - - -Qt::Alignment alignment () const -ButtonSymbols buttonSymbols () const -CorrectionMode correctionMode () const -// virtual void fixup ( QString & input ) const -bool hasAcceptableInput () const -bool hasFrame () const -void interpretText () -bool isAccelerated () const -bool isReadOnly () const -bool keyboardTracking () const -void setAccelerated ( bool on ) -void setAlignment ( Qt::Alignment flag ) -void setButtonSymbols ( ButtonSymbols bs ) -void setCorrectionMode ( CorrectionMode cm ) -void setFrame ( bool ) -void setKeyboardTracking ( bool kt ) -void setReadOnly ( bool r ) -void setSpecialValueText ( const QString & txt ) -void setWrapping ( bool w ) -QString specialValueText () const -virtual void stepBy ( int steps ) -QString text () const -// virtual QValidator::State validate ( QString & input, int & pos ) const -bool wrapping () const - - - -virtual void clear () -void selectAll () -void stepDown () -void stepUp () - - - -void editingFinished () - - diff --git a/harbour/contrib/hbqt/qth/QAbstractTableModel.qth b/harbour/contrib/hbqt/qth/QAbstractTableModel.qth deleted file mode 100644 index 2f826d4356..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractTableModel.qth +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractItemModel -Type = Core -New = - - - -#include - - -/* - * QAbstractTableModel ( QObject * parent = 0 ) - * ~QAbstractTableModel () - */ -HB_FUNC( QT_QABSTRACTTABLEMODEL ) -{ - // hb_retptr( ( QAbstractTableModel * ) new QAbstractTableModel() ); -} - - - - - - -virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAbstractTextDocumentLayout.qth b/harbour/contrib/hbqt/qth/QAbstractTextDocumentLayout.qth deleted file mode 100644 index 59535be3c5..0000000000 --- a/harbour/contrib/hbqt/qth/QAbstractTextDocumentLayout.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* QAbstractTextDocumentLayout ( QTextDocument * document ) - * - */ -HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT ) -{ - // hb_retptr( new QAbstractTextDocumentLayout( hbqt_par_QTextDocument( 1 ) ) ); -} - - - - - - -QString anchorAt ( const QPointF & position ) const -virtual QRectF blockBoundingRect ( const QTextBlock & block ) const = 0 -QTextDocument * document () const -virtual QSizeF documentSize () const = 0 -//virtual void draw ( QPainter * painter, const PaintContext & context ) = 0 -virtual QRectF frameBoundingRect ( QTextFrame * frame ) const = 0 -//QTextObjectInterface * handlerForObject ( int objectType ) const -virtual int hitTest ( const QPointF & point, Qt::HitTestAccuracy accuracy ) const = 0 -virtual int pageCount () const = 0 -QPaintDevice * paintDevice () const -void registerHandler ( int objectType, QObject * component ) -void setPaintDevice ( QPaintDevice * device ) - - - - - - -void documentSizeChanged ( const QSizeF & newSize ) -void pageCountChanged ( int newPages ) -void update ( const QRectF & rect = QRectF( 0., 0., 1000000000., 1000000000. ) ) -void updateBlock ( const QTextBlock & block ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QAction.qth b/harbour/contrib/hbqt/qth/QAction.qth deleted file mode 100644 index 74e79a5484..0000000000 --- a/harbour/contrib/hbqt/qth/QAction.qth +++ /dev/null @@ -1,155 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QObject -New = pParent -Calls = QT_QAction - - - - - -#include - - -/* - * QAction ( QObject * parent ) - * QAction ( const QString & text, QObject * parent ) - * QAction ( const QIcon & icon, const QString & text, QObject * parent ) - * ~QAction () - */ -HB_FUNC( QT_QACTION ) -{ - if( HB_ISPOINTER( 1 ) ) - hb_retptr( new QAction( hbqt_par_QObject( 1 ) ) ); - else if( HB_ISPOINTER( 2 ) ) - hb_retptr( new QAction( hbqt_par_QString( 1 ), hbqt_par_QObject( 2 ) ) ); - else if( HB_ISPOINTER( 3 ) ) - hb_retptr( new QAction( *hbqt_par_QIcon( 1 ), hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ) ) ); -} - - - -enum ActionEvent { Trigger, Hover } -enum MenuRole { NoRole, TextHeuristicRole, ApplicationSpecificRole, AboutQtRole, ..., QuitRole } - - - -QActionGroup * actionGroup () const -void activate ( ActionEvent event ) -QList associatedGraphicsWidgets () const -QList associatedWidgets () const -bool autoRepeat () const -QVariant data () const -QFont font () const -QIcon icon () const -QString iconText () const -bool isCheckable () const -bool isChecked () const -bool isEnabled () const -bool isIconVisibleInMenu () const -bool isSeparator () const -bool isVisible () const -QMenu * menu () const -MenuRole menuRole () const -QWidget * parentWidget () const -void setActionGroup ( QActionGroup * group ) -void setAutoRepeat ( bool ) -void setCheckable ( bool ) -void setData ( const QVariant & userData ) -void setFont ( const QFont & font ) -void setIcon ( const QIcon & icon ) -void setIconText ( const QString & text ) -void setIconVisibleInMenu ( bool visible ) -void setMenu ( QMenu * menu ) -void setMenuRole ( MenuRole menuRole ) -void setSeparator ( bool b ) -void setShortcut ( const QKeySequence & shortcut ) -void setShortcutContext ( Qt::ShortcutContext context ) -void setShortcuts ( const QList & shortcuts ) -void setShortcuts ( QKeySequence::StandardKey key ) -void setStatusTip ( const QString & statusTip ) -void setText ( const QString & text ) -void setToolTip ( const QString & tip ) -void setWhatsThis ( const QString & what ) -QKeySequence shortcut () const -Qt::ShortcutContext shortcutContext () const -QList shortcuts () const -bool showStatusText ( QWidget * widget = 0 ) -QString statusTip () const -QString text () const -QString toolTip () const -QString whatsThis () const - - - -void hover () -void setChecked ( bool ) -void setDisabled ( bool b ) -void setEnabled ( bool ) -void setVisible ( bool ) -void toggle () -void trigger () - - - -void changed () -void hovered () -void toggled ( bool checked ) -void triggered ( bool checked = false ) - diff --git a/harbour/contrib/hbqt/qth/QActionGroup.qth b/harbour/contrib/hbqt/qth/QActionGroup.qth deleted file mode 100644 index e4df05f850..0000000000 --- a/harbour/contrib/hbqt/qth/QActionGroup.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* QActionGroup ( QObject * parent ) - * ~QActionGroup () - */ -HB_FUNC( QT_QACTIONGROUP ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QActionGroup( hbqt_par_QObject( 1 ) ) ); - } -} - - - - - - -QList actions () const -QAction * addAction ( QAction * action ) -QAction * addAction ( const QString & text ) -QAction * addAction ( const QIcon & icon, const QString & text ) -QAction * checkedAction () const -bool isEnabled () const -bool isExclusive () const -bool isVisible () const -void removeAction ( QAction * action ) - - - -void setDisabled ( bool b ) -void setEnabled ( bool ) -void setExclusive ( bool ) -void setVisible ( bool ) - - - -void hovered ( QAction * action ) -void triggered ( QAction * action ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QApplication.qth b/harbour/contrib/hbqt/qth/QApplication.qth deleted file mode 100644 index d5dd4a9968..0000000000 --- a/harbour/contrib/hbqt/qth/QApplication.qth +++ /dev/null @@ -1,286 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - -Inherit = QCoreApplication -New = - - - - -#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 -#include - -static QApplication * s_app = NULL; - -static int s_argc; -static char ** s_argv; - -HB_FUNC( HB_QT ) {;} - -/* - * 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 () -*/ - -HB_FUNC( QT_QAPPLICATION ) -{ - //hb_retptr( ( QApplication * ) s_app ); - hb_retptr ( s_app ); -} - -static void hbqt_Exit( void * cargo ) -{ - HB_SYMBOL_UNUSED( cargo ); - - //s_app->quit(); - //s_app = NULL; -} - -static void hbqt_Init( void * cargo ) -{ - HB_SYMBOL_UNUSED( cargo ); - - QTextCodec *codec = QTextCodec::codecForLocale(); - QTextCodec::setCodecForTr( codec ); - QTextCodec::setCodecForCStrings( codec ); - - s_argc = hb_cmdargARGC(); - s_argv = hb_cmdargARGV(); - - s_app = new QApplication( s_argc, s_argv ); - - if( ! s_app ) - hb_errInternal( 11001, "hbqt_Init(): QT Initilization Error.", NULL, NULL ); - - hb_cmdargInit( s_argc, s_argv ); -} - -HB_CALL_ON_STARTUP_BEGIN( _hb_hbqt_init_ ) - hb_vmAtInit( hbqt_Init, NULL ); - hb_vmAtExit( hbqt_Exit, NULL ); -HB_CALL_ON_STARTUP_END( _hb_hbqt_init_ ) - -#if defined( HB_PRAGMA_STARTUP ) - #pragma startup _hb_hbqt_init_ -#elif defined( HB_DATASEG_STARTUP ) - #define HB_DATASEG_BODY HB_DATASEG_FUNC( _hb_hbqt_init_ ) - #include "hbiniseg.h" -#endif - -HB_FUNC( QT_QAPPLICATION_EXECUTE ) -{ - hb_retni( s_app->exec() ); -} - -HB_FUNC( QT_QAPPLICATION_QUIT ) -{ - s_app->quit(); -} - - - -enum ColorSpec { NormalColor, CustomColor, ManyColor } -enum Type { Tty, GuiClient, GuiServer } - - - -virtual void commitData ( QSessionManager & manager ) -# -# Disabled because OS2 does not like it -// QInputContext * inputContext () const -# -bool isSessionRestored () const -# -# not-found -// virtual bool macEventFilter ( EventHandlerCallRef, EventRef ) -// virtual bool qwsEventFilter ( QWSEvent * ) -// int qwsProcessEvent ( QWSEvent * ) -// void qwsSetCustomColors ( QRgb * colortable, int start, int numColors ) -# -virtual void saveState ( QSessionManager & manager ) -QString sessionId () const -QString sessionKey () const -# -// void setInputContext ( QInputContext * inputContext ) -# -QString styleSheet () const - -QWidget * activeModalWidget () -QWidget * activePopupWidget () -QWidget * activeWindow () -void alert ( QWidget * widget, int msec = 0 ) -// QWidgetList allWidgets () -void beep () -void changeOverrideCursor ( const QCursor & cursor ) -QClipboard * clipboard () -int colorSpec () -int cursorFlashTime () -QDesktopWidget * desktop () -bool desktopSettingsAware () -int doubleClickInterval () -int exec () -QWidget * focusWidget () -QFont font () -QFont font ( const QWidget * widget ) -QFont font ( const char * className ) -QFontMetrics fontMetrics () -QSize globalStrut () -bool isEffectEnabled ( Qt::UIEffect effect ) -bool isLeftToRight () -bool isRightToLeft () -Qt::LayoutDirection keyboardInputDirection () -int keyboardInputInterval () -QLocale keyboardInputLocale () -Qt::KeyboardModifiers keyboardModifiers () -//bool keypadNavigationEnabled () -Qt::LayoutDirection layoutDirection () -Qt::MouseButtons mouseButtons () -QCursor * overrideCursor () -QPalette palette () -QPalette palette ( const QWidget * widget ) -QPalette palette ( const char * className ) -bool quitOnLastWindowClosed () -//QDecoration & qwsDecoration () -//void qwsSetDecoration ( QDecoration * ) -//QDecoration * qwsSetDecoration ( const QString & decoration ) -void restoreOverrideCursor () -void setActiveWindow ( QWidget * active ) -void setColorSpec ( int spec ) -void setCursorFlashTime ( int ) -void setDesktopSettingsAware ( bool on ) -void setDoubleClickInterval ( int ) -void setEffectEnabled ( Qt::UIEffect effect, bool enable = true ) -void setFont ( const QFont & font, const char * className = 0 ) -void setGlobalStrut ( const QSize & ) -void setGraphicsSystem ( const QString & system ) -void setKeyboardInputInterval ( int ) -//void setKeypadNavigationEnabled ( bool enable ) -void setLayoutDirection ( Qt::LayoutDirection direction ) -void setOverrideCursor ( const QCursor & cursor ) -void setPalette ( const QPalette & palette, const char * className = 0 ) -void setQuitOnLastWindowClosed ( bool quit ) -void setStartDragDistance ( int l ) -void setStartDragTime ( int ms ) -void setStyle ( QStyle * style ) -QStyle * setStyle ( const QString & style ) -void setWheelScrollLines ( int ) -void setWindowIcon ( const QIcon & icon ) -int startDragDistance () -int startDragTime () -QStyle * style () -void syncX () -QWidget * topLevelAt ( const QPoint & point ) -QWidget * topLevelAt ( int x, int y ) -// QWidgetList topLevelWidgets () -Type type () -int wheelScrollLines () -QWidget * widgetAt ( const QPoint & point ) -QWidget * widgetAt ( int x, int y ) -QIcon windowIcon () - - - -void aboutQt () -//int autoMaximizeThreshold () const -//bool autoSipEnabled () const -void closeAllWindows () -//void setAutoMaximizeThreshold ( const int threshold ) -//void setAutoSipEnabled ( const bool enabled ) -void setStyleSheet ( const QString & sheet ) - - - -void commitDataRequest ( QSessionManager & manager ) -void focusChanged ( QWidget * old, QWidget * now ) -void fontDatabaseChanged () -void lastWindowClosed () -void saveStateRequest ( QSessionManager & manager ) - - -/* - //hbqt_par_QApplication( 1 )->commitData( ( ( QSessionManager ) hbqt_par_QSessionManager( 2 ) ) ); - //C:\harbour\contrib\hbqt\gensource\hbqt_qapplication.cpp:189: error: invalid use of undefined type `struct QSessionManager' - - //hbqt_par_QApplication( 1 )->commitData( ( ( QSessionManager& ) hbqt_par_QSessionManager( 2 ) ) ); - //error: invalid use of undefined type `struct QSessionManager' - - //hbqt_par_QApplication( 1 )->commitData( ( ( QSessionManager* ) hbqt_par_QSessionManager( 2 ) ) ); - //error: no matching function for call to `QApplication::commitData(QSessionManager*)' - //note: candidates are: virtual void QApplication::commitData(QSessionManager&) - - hbqt_par_QApplication( 1 )->commitData( *hbqt_par_QSessionManager( 2 ) ); - -*/ diff --git a/harbour/contrib/hbqt/qth/QAxBase.qth b/harbour/contrib/hbqt/qth/QAxBase.qth deleted file mode 100644 index a304e9dc89..0000000000 --- a/harbour/contrib/hbqt/qth/QAxBase.qth +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -New = pParent - - - -#include - - -/* - * QAxBase ( IUnknown * iface = 0 ) - * virtual ~QAxBase () - */ -HB_FUNC( QT_QAXBASE ) -{ - hb_retptr( new QAxBase( hbqt_par_IUnknown( 1 ) ) ); -} - - - - - - -QVariant asVariant () const -virtual void clear () -QString control () const -void disableClassInfo () -void disableEventSink () -void disableMetaObject () -QVariant dynamicCall ( const char * function, const QVariant & var1 = QVariant(), const QVariant & var2 = QVariant(), const QVariant & var3 = QVariant(), const QVariant & var4 = QVariant(), const QVariant & var5 = QVariant(), const QVariant & var6 = QVariant(), const QVariant & var7 = QVariant(), const QVariant & var8 = QVariant() ) -QVariant dynamicCall ( const char * function, QList & vars ) -QString generateDocumentation () -bool isNull () const -PropertyBag propertyBag () const -virtual bool propertyWritable ( const char * prop ) const -long queryInterface ( const QUuid & uuid, void ** iface ) const -QAxObject * querySubObject ( const char * name, const QVariant & var1 = QVariant(), const QVariant & var2 = QVariant(), const QVariant & var3 = QVariant(), const QVariant & var4 = QVariant(), const QVariant & var5 = QVariant(), const QVariant & var6 = QVariant(), const QVariant & var7 = QVariant(), const QVariant & var8 = QVariant() ) -QAxObject * querySubObject ( const char * name, QList & vars ) -bool setControl ( const QString & ) -void setPropertyBag ( const PropertyBag & bag ) -virtual void setPropertyWritable ( const char * prop, bool ok ) -QStringList verbs () const - - - - - - -void exception ( int code, const QString & source, const QString & desc, const QString & help ) -void propertyChanged ( const QString & name ) -void signal ( const QString & name, int argc, void * argv ) - - - - diff --git a/harbour/contrib/hbqt/qth/QAxBindable.qth b/harbour/contrib/hbqt/qth/QAxBindable.qth deleted file mode 100644 index 03f8a62edf..0000000000 --- a/harbour/contrib/hbqt/qth/QAxBindable.qth +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -New = pParent - - - -#include - - -/* - * QAxBindable () - * virtual ~QAxBindable () - */ -HB_FUNC( QT_QAXBINDABLE ) -{ - hb_retptr( new QAxBindable() ); -} - - - - - - - -virtual QAxAggregated * createAggregate () -virtual bool readData ( QIODevice * source, const QString & format ) -void reportError ( int code, const QString & src, const QString & desc, const QString & context = QString() ) -virtual bool writeData ( QIODevice * sink ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QAxObject.qth b/harbour/contrib/hbqt/qth/QAxObject.qth deleted file mode 100644 index 152141200f..0000000000 --- a/harbour/contrib/hbqt/qth/QAxObject.qth +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QObject, QAxBase -New = pParent - - - -#include - - -/* - * QAxObject ( QObject * parent = 0 ) - * QAxObject ( const QString & c, QObject * parent = 0 ) - * QAxObject ( IUnknown * iface, QObject * parent = 0 ) - * ~QAxObject () - */ -HB_FUNC( QT_QAXOBJECT ) -{ - hb_retptr( new QAxObject( hbqt_par_IUnknown( 1 ) ) ); -} - - - -bool doVerb ( const QString & verb ) - - - - diff --git a/harbour/contrib/hbqt/qth/QAxWidget.qth b/harbour/contrib/hbqt/qth/QAxWidget.qth deleted file mode 100644 index d6687e2d3c..0000000000 --- a/harbour/contrib/hbqt/qth/QAxWidget.qth +++ /dev/null @@ -1,83 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget, QAxBase -New = pParent - - - -#include - - -/* - * QAxWidget ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * QAxWidget ( const QString & c, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * QAxWidget ( IUnknown * iface, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QAxWidget () - */ -HB_FUNC( QT_QAXWIDGET ) -{ - hb_retptr( new QAxWidget( hbqt_par_QWidget( 1 ), hb_parni( 2 ) ) ); -} - - - -virtual QAxAggregated * createAggregate () -bool doVerb ( const QString & verb ) - - - diff --git a/harbour/contrib/hbqt/qth/QBitArray.qth b/harbour/contrib/hbqt/qth/QBitArray.qth deleted file mode 100644 index f7461efd92..0000000000 --- a/harbour/contrib/hbqt/qth/QBitArray.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* QBitArray () - * QBitArray ( int size, bool value = false ) - * QBitArray ( const QBitArray & other ) - */ -HB_FUNC( QT_QBITARRAY ) -{ - hb_retptr( new QBitArray() ); -} - - - - - - -bool at ( int i ) const -void clear () -void clearBit ( int i ) -int count () const -int count ( bool on ) const -bool fill ( bool value, int size = -1 ) -void fill ( bool value, int begin, int end ) -bool isEmpty () const -bool isNull () const -void resize ( int size ) -void setBit ( int i ) -void setBit ( int i, bool value ) -int size () const -bool testBit ( int i ) const -bool toggleBit ( int i ) -void truncate ( int pos ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QBitmap.qth b/harbour/contrib/hbqt/qth/QBitmap.qth deleted file mode 100644 index fe2c0b1796..0000000000 --- a/harbour/contrib/hbqt/qth/QBitmap.qth +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QPixmap -Type = PlainObject -New = - - - -oBitmap := QBitmap():new() -oBitmap := QBitmap():new( pBitmap_other ) -oBitmap := QBitmap():new( nWidth, nHeight ) -oBitmap := QBitmap():new( "QPixmap", pQPixmap ) -oBitmap := QBitmap():new( "QSize" , pQSize ) -oBitmap := QBitmap():new( cImageFilename, [ cFormat ] ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QBitmap* ) new QBitmap( *hbqt_par_QBitmap( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QBitmap* ) new QBitmap( hbqt_par_QString( 1 ), ( const char * ) 0 ) ); - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - hb_retptr( ( QBitmap* ) new QBitmap( hbqt_par_QString( 1 ), hb_parc( 2 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QBitmap* ) new QBitmap( *hbqt_par_QPixmap( 2 ) ) ); - } - else if( ( QString ) "QSize" == hbqt_par_QString( 1 ) ) - { - hb_retptr( ( QBitmap* ) new QBitmap( *hbqt_par_QSize( 2 ) ) ); - } - else - { - hb_retptr( ( QBitmap* ) new QBitmap() ); - } - } - else - { - hb_retptr( ( QBitmap* ) new QBitmap() ); - } -} - - - - - - -void clear () -QBitmap transformed ( const QTransform & matrix ) const -QBitmap transformed ( const QMatrix & matrix ) const - -//QBitmap fromData ( const QSize & size, const uchar * bits, QImage::Format monoFormat = QImage::Format_MonoLSB ) -QBitmap fromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QBoxLayout.qth b/harbour/contrib/hbqt/qth/QBoxLayout.qth deleted file mode 100644 index 5bcdf47331..0000000000 --- a/harbour/contrib/hbqt/qth/QBoxLayout.qth +++ /dev/null @@ -1,131 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QLayout -New = nDirection, pParent - - - -#include - - -/* - * QBoxLayout ( Direction dir, QWidget * parent = 0 ) - * ~QBoxLayout () - */ -HB_FUNC( QT_QBOXLAYOUT ) -{ - hb_retptr( ( QBoxLayout* ) new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); -} - - - -enum Direction { LeftToRight, RightToLeft, TopToBottom, BottomToTop } - - - -void addLayout ( QLayout * layout, int stretch = 0 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QBOXLAYOUT_ADDLAYOUT()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QBOXLAYOUT_ADDLAYOUT() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QBoxLayout( 1 )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ) ); - } -} -void addSpacerItem ( QSpacerItem * spacerItem ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QBOXLAYOUT_ADDSPACERITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QBOXLAYOUT_ADDSPACERITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QBoxLayout( 1 )->addSpacerItem( hbqt_par_QSpacerItem( 2 ) ); - } -} -void addSpacing ( int size ) -void addStretch ( int stretch = 0 ) -void addStrut ( int size ) -void addWidget ( QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QBOXLAYOUT_ADDWIDGET()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QBOXLAYOUT_ADDWIDGET() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QBoxLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), ( Qt::Alignment ) hb_parni( 4 ) ); - } -} -Direction direction () const -void insertLayout ( int index, QLayout * layout, int stretch = 0 ) -void insertSpacerItem ( int index, QSpacerItem * spacerItem ) -void insertSpacing ( int index, int size ) -void insertStretch ( int index, int stretch = 0 ) -void insertWidget ( int index, QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) -virtual void invalidate () -void setDirection ( Direction direction ) -void setSpacing ( int spacing ) -void setStretch ( int index, int stretch ) -bool setStretchFactor ( QWidget * widget, int stretch ) -bool setStretchFactor ( QLayout * layout, int stretch ) -int spacing () const -int stretch ( int index ) const - diff --git a/harbour/contrib/hbqt/qth/QBrush.qth b/harbour/contrib/hbqt/qth/QBrush.qth deleted file mode 100644 index 27b8948f68..0000000000 --- a/harbour/contrib/hbqt/qth/QBrush.qth +++ /dev/null @@ -1,170 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oBrush := QBrush():new() -oBrush := QBrush():new( pQBrush ) -oBrush := QBrush():new( nQt_GlobalColor ) -oBrush := QBrush():new( nQt_GlobalColor, nQt_BrushStyle ) -oBrush := QBrush():new( pQColor, nQt_BrushStyle ) -oBrush := QBrush():new( pQColor, pQPixmap ) -oBrush := QBrush():new( nQt_GlobalColor, pQPixmap ) -oBrush := QBrush():new( "QPixmap" , pQPixmap ) -oBrush := QBrush():new( "QImage" , pQImage ) -oBrush := QBrush():new( "QGradient", pQGradient ) -oBrush := QBrush():new( "QColor" , pQColor, [ nQt_BrushStyle = Qt_SolidPattern ] ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QBrush( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QBrush* ) new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), Qt::SolidPattern ) ); - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QBrush* ) new QBrush( ( Qt::GlobalColor ) hb_parni( 1 ), ( Qt::BrushStyle ) hb_parni( 2 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QColor( 1 ), ( Qt::BrushStyle ) hb_parni( 2 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QColor( 1 ), *hbqt_par_QPixmap( 2 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( 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" ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QPixmap( 2 ) ) ); - } - else if( objName == ( QString ) "QImage" ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QImage( 2 ) ) ); - } - else if( objName == ( QString ) "QGradient" ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QGradient( 2 ) ) ); - } - else if( objName == ( QString ) "QColor" ) - { - hb_retptr( ( QBrush* ) new QBrush( *hbqt_par_QColor( 2 ), HB_ISNUM( 3 ) ? ( Qt::BrushStyle ) hb_parni( 3 ) : Qt::SolidPattern ) ); - } - else - { - hb_retptr( ( QBrush* ) new QBrush() ); - } - } - else - { - hb_retptr( ( QBrush* ) new QBrush() ); - } -} - - - -const QColor & color () const -//const QGradient * gradient () const -bool isOpaque () const -const QMatrix & matrix () const -void setColor ( const QColor & color ) -void setColor ( Qt::GlobalColor color ) -void setMatrix ( const QMatrix & matrix ) -void setStyle ( Qt::BrushStyle style ) -void setTexture ( const QPixmap & pixmap ) -void setTextureImage ( const QImage & image ) -void setTransform ( const QTransform & matrix ) -Qt::BrushStyle style () const -QPixmap texture () const -QImage textureImage () const -QTransform transform () const - - diff --git a/harbour/contrib/hbqt/qth/QBuffer.qth b/harbour/contrib/hbqt/qth/QBuffer.qth deleted file mode 100644 index 2c384ddb89..0000000000 --- a/harbour/contrib/hbqt/qth/QBuffer.qth +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QIODevice -Type = -New = - - - - - - - - - -#include - - -/* - * QBuffer ( QObject * parent = 0 ) - * QBuffer ( QByteArray * byteArray, QObject * parent = 0 ) - * ~QBuffer () - */ -HB_FUNC( QT_QBUFFER ) -{ - hb_retptr( new QBuffer() ); -} - - - - - - -QByteArray & buffer () -const QByteArray & buffer () const -const QByteArray & data () const -void setBuffer ( QByteArray * byteArray ) -void setData ( const char * data, int size ) -void setData ( const QByteArray & data ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QButtonGroup.qth b/harbour/contrib/hbqt/qth/QButtonGroup.qth deleted file mode 100644 index d40284e7e0..0000000000 --- a/harbour/contrib/hbqt/qth/QButtonGroup.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QButtonGroup ( QObject * parent = 0 ) - * ~QButtonGroup () - */ -HB_FUNC( QT_QBUTTONGROUP ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QButtonGroup* ) new QButtonGroup( hbqt_par_QObject( 1 ) ) ); - } - else - { - hb_retptr( ( QButtonGroup* ) new QButtonGroup() ); - } -} - - - - - - -void addButton ( QAbstractButton * button ) -void addButton ( QAbstractButton * button, int id ) -QAbstractButton * button ( int id ) const -QList buttons () const -QAbstractButton * checkedButton () const -int checkedId () const -bool exclusive () const -int id ( QAbstractButton * button ) const -void removeButton ( QAbstractButton * button ) -void setExclusive ( bool ) -void setId ( QAbstractButton * button, int id ) - - - - - - -void buttonClicked ( QAbstractButton * button ) -void buttonClicked ( int id ) -void buttonPressed ( QAbstractButton * button ) -void buttonPressed ( int id ) -void buttonReleased ( QAbstractButton * button ) -void buttonReleased ( int id ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QByteArray.qth b/harbour/contrib/hbqt/qth/QByteArray.qth deleted file mode 100644 index 8cfed0dfb0..0000000000 --- a/harbour/contrib/hbqt/qth/QByteArray.qth +++ /dev/null @@ -1,196 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* QByteArray () - * QByteArray ( const char * str ) - * QByteArray ( const char * data, int size ) - * QByteArray ( int size, char ch ) - * QByteArray ( const QByteArray & other ) - * ~QByteArray () - */ -HB_FUNC( QT_QBYTEARRAY ) -{ - hb_retptr( new QByteArray() ); -} - - - - - - -QByteArray & append ( const QByteArray & ba ) -QByteArray & append ( const QString & str ) -QByteArray & append ( const char * str ) -QByteArray & append ( const char * str, int len ) -QByteArray & append ( char ch ) -char at ( int i ) const -int capacity () const -void chop ( int n ) -void clear () -const char * constData () const -// bool contains ( const QByteArray & ba ) const -// bool contains ( const char * str ) const -// bool contains ( char ch ) const -int count ( const QByteArray & ba ) const -int count ( const char * str ) const -int count ( char ch ) const -int count () const -char * data () -const char * data () const -bool endsWith ( const QByteArray & ba ) const -bool endsWith ( const char * str ) const -bool endsWith ( char ch ) const -QByteArray & fill ( char ch, int size = -1 ) -int indexOf ( const QByteArray & ba, int from = 0 ) const -int indexOf ( const QString & str, int from = 0 ) const -int indexOf ( const char * str, int from = 0 ) const -int indexOf ( char ch, int from = 0 ) const -QByteArray & insert ( int i, const QByteArray & ba ) -QByteArray & insert ( int i, const QString & str ) -QByteArray & insert ( int i, const char * str ) -QByteArray & insert ( int i, char ch ) -bool isEmpty () const -bool isNull () const -int lastIndexOf ( const QByteArray & ba, int from = -1 ) const -int lastIndexOf ( const QString & str, int from = -1 ) const -int lastIndexOf ( const char * str, int from = -1 ) const -int lastIndexOf ( char ch, int from = -1 ) const -QByteArray left ( int len ) const -QByteArray leftJustified ( int width, char fill = ' ', bool truncate = false ) const -int length () const -QByteArray mid ( int pos, int len = -1 ) const -QByteArray & prepend ( const QByteArray & ba ) -QByteArray & prepend ( const char * str ) -QByteArray & prepend ( char ch ) -void push_back ( const QByteArray & other ) -void push_back ( const char * str ) -void push_back ( char ch ) -void push_front ( const QByteArray & other ) -void push_front ( const char * str ) -void push_front ( char ch ) -QByteArray & remove ( int pos, int len ) -QByteArray repeated ( int times ) const -QByteArray & replace ( int pos, int len, const QByteArray & after ) -QByteArray & replace ( int pos, int len, const char * after ) -QByteArray & replace ( const QByteArray & before, const QByteArray & after ) -QByteArray & replace ( const char * before, const QByteArray & after ) -QByteArray & replace ( const char * before, int bsize, const char * after, int asize ) -QByteArray & replace ( const QByteArray & before, const char * after ) -QByteArray & replace ( const QString & before, const QByteArray & after ) -QByteArray & replace ( const QString & before, const char * after ) -QByteArray & replace ( const char * before, const char * after ) -QByteArray & replace ( char before, const QByteArray & after ) -QByteArray & replace ( char before, const QString & after ) -QByteArray & replace ( char before, const char * after ) -QByteArray & replace ( char before, char after ) -void reserve ( int size ) -void resize ( int size ) -QByteArray right ( int len ) const -QByteArray rightJustified ( int width, char fill = ' ', bool truncate = false ) const -QByteArray & setNum ( int n, int base = 10 ) -QByteArray & setNum ( uint n, int base = 10 ) -QByteArray & setNum ( short n, int base = 10 ) -QByteArray & setNum ( ushort n, int base = 10 ) -QByteArray & setNum ( qlonglong n, int base = 10 ) -QByteArray & setNum ( qulonglong n, int base = 10 ) -QByteArray & setNum ( double n, char f = 'g', int prec = 6 ) -QByteArray & setNum ( float n, char f = 'g', int prec = 6 ) -QByteArray simplified () const -int size () const -QList split ( char sep ) const -void squeeze () -bool startsWith ( const QByteArray & ba ) const -bool startsWith ( const char * str ) const -bool startsWith ( char ch ) const -QByteArray toBase64 () const -double toDouble ( bool * ok = 0 ) const -float toFloat ( bool * ok = 0 ) const -QByteArray toHex () const -int toInt ( bool * ok = 0, int base = 10 ) const -long toLong ( bool * ok = 0, int base = 10 ) const -qlonglong toLongLong ( bool * ok = 0, int base = 10 ) const -QByteArray toLower () const -QByteArray toPercentEncoding ( const QByteArray & exclude = QByteArray(), const QByteArray & include = QByteArray(), char percent = '%' ) const -short toShort ( bool * ok = 0, int base = 10 ) const -uint toUInt ( bool * ok = 0, int base = 10 ) const -ulong toULong ( bool * ok = 0, int base = 10 ) const -qulonglong toULongLong ( bool * ok = 0, int base = 10 ) const -ushort toUShort ( bool * ok = 0, int base = 10 ) const -QByteArray toUpper () const -QByteArray trimmed () const -void truncate ( int pos ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QCalendarWidget.qth b/harbour/contrib/hbqt/qth/QCalendarWidget.qth deleted file mode 100644 index 479ba31cfe..0000000000 --- a/harbour/contrib/hbqt/qth/QCalendarWidget.qth +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QWidget -New = pParent -Calls = QT_QCalendarWidget - - - - - -#include -#include - -/* - * QCalendarWidget ( QWidget * parent = 0 ) - * ~QCalendarWidget () - */ -HB_FUNC( QT_QCALENDARWIDGET ) -{ - hb_retptr( ( QCalendarWidget* ) new QCalendarWidget( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum HorizontalHeaderFormat { SingleLetterDayNames, ShortDayNames, LongDayNames, NoHorizontalHeader } -enum SelectionMode { NoSelection, SingleSelection } -enum VerticalHeaderFormat { ISOWeekNumbers, NoVerticalHeader } - - - -int dateEditAcceptDelay () const -QMap dateTextFormat () const -QTextCharFormat dateTextFormat ( const QDate & date ) const -Qt::DayOfWeek firstDayOfWeek () const -QTextCharFormat headerTextFormat () const -HorizontalHeaderFormat horizontalHeaderFormat () const -bool isDateEditEnabled () const -bool isGridVisible () const -bool isNavigationBarVisible () const -QDate maximumDate () const -QDate minimumDate () const -int monthShown () const -QDate selectedDate () const -SelectionMode selectionMode () const -void setDateEditAcceptDelay ( int delay ) -void setDateEditEnabled ( bool enable ) -void setDateTextFormat ( const QDate & date, const QTextCharFormat & format ) -void setFirstDayOfWeek ( Qt::DayOfWeek dayOfWeek ) -void setHeaderTextFormat ( const QTextCharFormat & format ) -void setHorizontalHeaderFormat ( HorizontalHeaderFormat format ) -void setMaximumDate ( const QDate & date ) -void setMinimumDate ( const QDate & date ) -void setSelectionMode ( SelectionMode mode ) -void setVerticalHeaderFormat ( VerticalHeaderFormat format ) -void setWeekdayTextFormat ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format ) -VerticalHeaderFormat verticalHeaderFormat () const -QTextCharFormat weekdayTextFormat ( Qt::DayOfWeek dayOfWeek ) const -int yearShown () const - - - -void setCurrentPage ( int year, int month ) -void setDateRange ( const QDate & min, const QDate & max ) -void setGridVisible ( bool show ) -void setNavigationBarVisible ( bool visible ) -void setSelectedDate ( const QDate & date ) -void showNextMonth () -void showNextYear () -void showPreviousMonth () -void showPreviousYear () -void showSelectedDate () -void showToday () - - - -void activated ( const QDate & date ) -void clicked ( const QDate & date ) -void currentPageChanged ( int year, int month ) -void selectionChanged () - diff --git a/harbour/contrib/hbqt/qth/QChar.qth b/harbour/contrib/hbqt/qth/QChar.qth deleted file mode 100644 index 823c36ec31..0000000000 --- a/harbour/contrib/hbqt/qth/QChar.qth +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = -New = -Destructor = no - - - - - - - - - -#include - - -/* - * QChar () - * QChar ( char ch ) - * QChar ( uchar ch ) - * QChar ( QLatin1Char ch ) - * QChar ( uchar cell, uchar row ) - * QChar ( ushort code ) - * QChar ( short code ) - * QChar ( uint code ) - * QChar ( int code ) - * QChar ( SpecialCharacter ch ) - */ -HB_FUNC( QT_QCHAR ) -{ - hb_retptr( new QChar() ); -} - - - -enum Category { Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, ..., NoCategory } -enum Decomposition { NoDecomposition, Canonical, Circle, Compat, ..., Wide } -enum Direction { DirAL, DirAN, DirB, DirBN, ..., DirWS } -enum Joining { Center, Dual, OtherJoining, Right } -enum SpecialCharacter { Null, Nbsp, ReplacementCharacter, ObjectReplacementCharacter, ..., LineSeparator } -enum UnicodeVersion { Unicode_1_1, Unicode_2_0, Unicode_2_1_2, Unicode_3_0, ..., Unicode_Unassigned } - - - -Category category () const -uchar cell () const -unsigned char combiningClass () const -QString decomposition () const -Decomposition decompositionTag () const -int digitValue () const -Direction direction () const -bool hasMirrored () const -bool isDigit () const -bool isHighSurrogate () const -bool isLetter () const -bool isLetterOrNumber () const -bool isLowSurrogate () const -bool isLower () const -bool isMark () const -bool isNull () const -bool isNumber () const -bool isPrint () const -bool isPunct () const -bool isSpace () const -bool isSymbol () const -bool isTitleCase () const -bool isUpper () const -Joining joining () const -QChar mirroredChar () const -uchar row () const -char toAscii () const -QChar toCaseFolded () const -char toLatin1 () const -QChar toLower () const -QChar toTitleCase () const -QChar toUpper () const -ushort & unicode () -ushort unicode () const -UnicodeVersion unicodeVersion () const - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QCheckBox.qth b/harbour/contrib/hbqt/qth/QCheckBox.qth deleted file mode 100644 index 9561414d69..0000000000 --- a/harbour/contrib/hbqt/qth/QCheckBox.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QAbstractButton -New = pParent -Calls = QT_QCheckBox - - - - - -#include - - -/* - * QCheckBox ( QWidget * parent = 0 ) - * QCheckBox ( const QString & text, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QCHECKBOX ) -{ - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QCheckBox* ) new QCheckBox( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ); - } - else - { - hb_retptr( ( QCheckBox* ) new QCheckBox( hbqt_par_QWidget( 1 ) ) ); - } -} - - - -Qt::CheckState checkState () const -bool isTristate () const -void setCheckState ( Qt::CheckState state ) -void setTristate ( bool y = true ) - - - -void stateChanged ( int state ) - diff --git a/harbour/contrib/hbqt/qth/QClipboard.qth b/harbour/contrib/hbqt/qth/QClipboard.qth deleted file mode 100644 index 840d7efa34..0000000000 --- a/harbour/contrib/hbqt/qth/QClipboard.qth +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = -Destructor = no - - - -#include -#include -#include -#include - -/* - * - * - */ -HB_FUNC( QT_QCLIPBOARD ) -{ - hb_retptr( ( QClipboard* ) QApplication::clipboard() ); -} - - - -enum Mode { Clipboard, Selection, FindBuffer } - - - -void clear ( Mode mode = Clipboard ) -QImage image ( Mode mode = Clipboard ) const -//const QMimeData * mimeData ( Mode mode = Clipboard ) const -bool ownsClipboard () const -bool ownsFindBuffer () const -bool ownsSelection () const -QPixmap pixmap ( Mode mode = Clipboard ) const -void setImage ( const QImage & image, Mode mode = Clipboard ) -void setMimeData ( QMimeData * src, Mode mode = Clipboard ) -void setPixmap ( const QPixmap & pixmap, Mode mode = Clipboard ) -void setText ( const QString & text, Mode mode = Clipboard ) -bool supportsFindBuffer () const -bool supportsSelection () const -QString text ( Mode mode = Clipboard ) const -# -// QString text ( QString & subtype, Mode mode = Clipboard ) const -# - - - - - - -void changed ( QClipboard::Mode mode ) -void dataChanged () -void findBufferChanged () -void selectionChanged () - diff --git a/harbour/contrib/hbqt/qth/QColor.qth b/harbour/contrib/hbqt/qth/QColor.qth deleted file mode 100644 index eedd2bcbc3..0000000000 --- a/harbour/contrib/hbqt/qth/QColor.qth +++ /dev/null @@ -1,207 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oColor := QColor():new() // You will supply other parameter later -oColor := QColor():new( nQt_Color ) // R: hbqt.ch -oColor := QColor():new( nRGB ) // ( nR + ( nG * 256 ) + ( nB * 256 * 256 ) ) -oColor := QColor():new( cColorName ) // #RRGGBB -oColor := QColor():new( pQColor ) // Pointer to previously obtained QColor -oColor := QColor():new( nR, nG, nB ) // Red Green Blue values -oColor := QColor():new( nR, nG, nB, nAlpha ) // Red Green Blue values with Alpha Channel - - - -#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 ) -{ - if( hb_pcount() >= 1 ) - { - if( hb_pcount() == 1 && HB_ISNUM( 1 ) && hb_parni( 1 ) < 25 ) - { - hb_retptr( ( QColor* ) new QColor( ( Qt::GlobalColor ) hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QColor* ) new QColor( ( QRgb ) hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QColor* ) new QColor( hbqt_par_QString( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QColor* ) new QColor( *hbqt_par_QColor( 1 ) ) ); - } - else if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QColor* ) new QColor( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ); - } - else - { - hb_retptr( ( QColor* ) new QColor() ); - } - } - else - { - hb_retptr( ( QColor* ) new QColor() ); - } -} - - - -enum Spec { Rgb, Hsv, Cmyk, Invalid } - - - -int alpha () const -qreal alphaF () const -int black () const -qreal blackF () const -int blue () const -qreal blueF () const -QColor convertTo ( Spec colorSpec ) const -int cyan () const -qreal cyanF () const -QColor darker ( int factor = 200 ) const -void getCmyk ( int * c, int * m, int * y, int * k, int * a = 0 ) -void getCmykF ( qreal * c, qreal * m, qreal * y, qreal * k, qreal * a = 0 ) -void getHsv ( int * h, int * s, int * v, int * a = 0 ) const -void getHsvF ( qreal * h, qreal * s, qreal * v, qreal * a = 0 ) const -void getRgb ( int * r, int * g, int * b, int * a = 0 ) const -void getRgbF ( qreal * r, qreal * g, qreal * b, qreal * a = 0 ) const -int green () const -qreal greenF () const -int hue () const -qreal hueF () const -bool isValid () const -QColor lighter ( int factor = 150 ) const -int magenta () const -qreal magentaF () const -QString name () const -int red () const -qreal redF () const -QRgb rgb () const -QRgb rgba () const -int saturation () const -qreal saturationF () const -void setAlpha ( int alpha ) -void setAlphaF ( qreal alpha ) -void setBlue ( int blue ) -void setBlueF ( qreal blue ) -void setCmyk ( int c, int m, int y, int k, int a = 255 ) -void setCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) -void setGreen ( int green ) -void setGreenF ( qreal green ) -void setHsv ( int h, int s, int v, int a = 255 ) -void setHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 ) -void setNamedColor ( const QString & name ) -void setRed ( int red ) -void setRedF ( qreal red ) - -# functions below are swapped as we are used to pass RGB() as composite color -# -void setRgb ( QRgb rgb ) -void setRgb ( int r, int g, int b, int a = 255 ) -void setRgba ( QRgb rgba ) -void setRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 ) -# - -Spec spec () const -QColor toCmyk () const -QColor toHsv () const -QColor toRgb () const -int value () const -qreal valueF () const -int yellow () const -qreal yellowF () const - - -//bool allowX11ColorNames () -QStringList colorNames () -QColor fromCmyk ( int c, int m, int y, int k, int a = 255 ) -QColor fromCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) -QColor fromHsv ( int h, int s, int v, int a = 255 ) -QColor fromHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 ) -QColor fromRgb ( QRgb rgb ) -QColor fromRgb ( int r, int g, int b, int a = 255 ) -QColor fromRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 ) -QColor fromRgba ( QRgb rgba ) -//void setAllowX11ColorNames ( bool enabled ) - - diff --git a/harbour/contrib/hbqt/qth/QColorDialog.qth b/harbour/contrib/hbqt/qth/QColorDialog.qth deleted file mode 100644 index a11a099342..0000000000 --- a/harbour/contrib/hbqt/qth/QColorDialog.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QDialog -New = pParent -Calls = QT_QColorDialog - - - - -#include - -/* - * QColorDialog ( QWidget * parent = 0 ) - * QColorDialog ( const QColor & initial, QWidget * parent = 0 ) - * ~QColorDialog () - */ -HB_FUNC( QT_QCOLORDIALOG ) -{ - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QColorDialog* ) new QColorDialog( hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); - } - else - { - hb_retptr( ( QColorDialog* ) new QColorDialog( hbqt_par_QWidget( 1 ) ) ); - } -} - - - -enum ColorDialogOption { ShowAlphaChannel, NoButtons, DontUseNativeDialog } -flags ColorDialogOptions - - - -QColor currentColor () const -void open () -//void open ( QObject * receiver, const char * member ) -ColorDialogOptions options () const -QColor selectedColor () const -void setCurrentColor ( const QColor & color ) -void setOption ( ColorDialogOption option, bool on = true ) -void setOptions ( ColorDialogOptions options ) -virtual void setVisible ( bool visible ) -bool testOption ( ColorDialogOption option ) const - - -QRgb customColor ( int index ) -int customCount () -QColor getColor ( const QColor & initial, QWidget * parent, const QString & title, ColorDialogOptions options = 0 ) -QColor getColor ( const QColor & initial = Qt::white, QWidget * parent = 0 ) -void setCustomColor ( int index, QRgb color ) -void setStandardColor ( int index, QRgb color ) - - - -void colorSelected ( const QColor & color ) -void currentColorChanged ( const QColor & color ) - - - diff --git a/harbour/contrib/hbqt/qth/QComboBox.qth b/harbour/contrib/hbqt/qth/QComboBox.qth deleted file mode 100644 index 420536a1e1..0000000000 --- a/harbour/contrib/hbqt/qth/QComboBox.qth +++ /dev/null @@ -1,158 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QWidget -New = pParent -Calls = QT_QComboBox - - - - - -#include - - -/* - * QComboBox ( QWidget * parent = 0 ) - * ~QComboBox () - */ -HB_FUNC( QT_QCOMBOBOX ) -{ - hb_retptr( ( QComboBox* ) new QComboBox( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum InsertPolicy { NoInsert, InsertAtTop, InsertAtCurrent, InsertAtBottom, ..., InsertAlphabetically } -enum SizeAdjustPolicy { AdjustToContents, AdjustToContentsOnFirstShow, AdjustToMinimumContentsLength, AdjustToMinimumContentsLengthWithIcon } - - - -void addItem ( const QString & text, const QVariant & userData = QVariant() ) -void addItem ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) -void addItems ( const QStringList & texts ) -QCompleter * completer () const -int count () const -int currentIndex () const -QString currentText () const -bool duplicatesEnabled () const -int findData ( const QVariant & data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) const -int findText ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) const -bool hasFrame () const -virtual void hidePopup () -QSize iconSize () const -void insertItem ( int index, const QString & text, const QVariant & userData = QVariant() ) -void insertItem ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() ) -void insertItems ( int index, const QStringList & list ) -InsertPolicy insertPolicy () const -void insertSeparator ( int index ) -bool isEditable () const -QVariant itemData ( int index, int role = Qt::UserRole ) const -QAbstractItemDelegate * itemDelegate () const -QIcon itemIcon ( int index ) const -QString itemText ( int index ) const -QLineEdit * lineEdit () const -int maxCount () const -int maxVisibleItems () const -int minimumContentsLength () const -QAbstractItemModel * model () const -int modelColumn () const -void removeItem ( int index ) -QModelIndex rootModelIndex () const -void setCompleter ( QCompleter * completer ) -void setDuplicatesEnabled ( bool enable ) -void setEditable ( bool editable ) -void setFrame ( bool ) -void setIconSize ( const QSize & size ) -void setInsertPolicy ( InsertPolicy policy ) -void setItemData ( int index, const QVariant & value, int role = Qt::UserRole ) -void setItemDelegate ( QAbstractItemDelegate * delegate ) -void setItemIcon ( int index, const QIcon & icon ) -void setItemText ( int index, const QString & text ) -void setLineEdit ( QLineEdit * edit ) -void setMaxCount ( int max ) -void setMaxVisibleItems ( int maxItems ) -void setMinimumContentsLength ( int characters ) -void setModel ( QAbstractItemModel * model ) -void setModelColumn ( int visibleColumn ) -void setRootModelIndex ( const QModelIndex & index ) -void setSizeAdjustPolicy ( SizeAdjustPolicy policy ) -void setValidator ( const QValidator * validator ) -void setView ( QAbstractItemView * itemView ) -virtual void showPopup () -SizeAdjustPolicy sizeAdjustPolicy () const -virtual const QValidator * validator () const -QAbstractItemView * view () const - - - -void clear () -void clearEditText () -void setCurrentIndex ( int index ) -void setEditText ( const QString & text ) - - - -void activated ( int index ) -void activated ( const QString & text ) -void currentIndexChanged ( int index ) -void currentIndexChanged ( const QString & text ) -void editTextChanged ( const QString & text ) -void highlighted ( int index ) -void highlighted ( const QString & text ) - diff --git a/harbour/contrib/hbqt/qth/QCommandLinkButton.qth b/harbour/contrib/hbqt/qth/QCommandLinkButton.qth deleted file mode 100644 index ac943f41d9..0000000000 --- a/harbour/contrib/hbqt/qth/QCommandLinkButton.qth +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QPushButton -New = pParent -Calls = QT_QCommandLinkButton - - - - - -#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 ) -{ - hb_retptr( ( QCommandLinkButton* ) new QCommandLinkButton( hbqt_par_QWidget( 1 ) ) ); -} - - - -QString description () const -void setDescription ( const QString & description ) - - diff --git a/harbour/contrib/hbqt/qth/QCommonStyle.qth b/harbour/contrib/hbqt/qth/QCommonStyle.qth deleted file mode 100644 index 4394f5e43a..0000000000 --- a/harbour/contrib/hbqt/qth/QCommonStyle.qth +++ /dev/null @@ -1,90 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QStyle -Type = Core -New = - - - -#include - - -/* - * QCommonStyle () - */ -HB_FUNC( QT_QCOMMONSTYLE ) -{ - hb_retptr( ( QCommonStyle* ) new QCommonStyle() ); -} - - - - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QCompleter.qth b/harbour/contrib/hbqt/qth/QCompleter.qth deleted file mode 100644 index d70ab99d32..0000000000 --- a/harbour/contrib/hbqt/qth/QCompleter.qth +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include -#include - -/* QCompleter ( QObject * parent = 0 ) - * QCompleter ( QAbstractItemModel * model, QObject * parent = 0 ) - * QCompleter ( const QStringList & list, QObject * parent = 0 ) - * ~QCompleter () - */ -HB_FUNC( QT_QCOMPLETER ) -{ - hb_retptr( new QCompleter() ); -} - - - -enum CompletionMode { PopupCompletion, InlineCompletion, UnfilteredPopupCompletion } -enum ModelSorting { UnsortedModel, CaseSensitivelySortedModel, CaseInsensitivelySortedModel } - - - -Qt::CaseSensitivity caseSensitivity () const -int completionColumn () const -int completionCount () const -CompletionMode completionMode () const -QAbstractItemModel * completionModel () const -QString completionPrefix () const -int completionRole () const -QString currentCompletion () const -QModelIndex currentIndex () const -int currentRow () const -QAbstractItemModel * model () const -ModelSorting modelSorting () const -virtual QString pathFromIndex ( const QModelIndex & index ) const -QAbstractItemView * popup () const -void setCaseSensitivity ( Qt::CaseSensitivity caseSensitivity ) -void setCompletionColumn ( int column ) -void setCompletionMode ( CompletionMode mode ) -void setCompletionRole ( int role ) -bool setCurrentRow ( int row ) -void setModel ( QAbstractItemModel * model ) -void setModelSorting ( ModelSorting sorting ) -void setPopup ( QAbstractItemView * popup ) -void setWidget ( QWidget * widget ) -virtual QStringList splitPath ( const QString & path ) const -QWidget * widget () const -bool wrapAround () const - - - -void complete ( const QRect & rect = QRect() ) -void setCompletionPrefix ( const QString & prefix ) -void setWrapAround ( bool wrap ) - - - -void activated ( const QString & text ) -void activated ( const QModelIndex & index ) -void highlighted ( const QString & text ) -void highlighted ( const QModelIndex & index ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QConicalGradient.qth b/harbour/contrib/hbqt/qth/QConicalGradient.qth deleted file mode 100644 index 8ffa3bd07a..0000000000 --- a/harbour/contrib/hbqt/qth/QConicalGradient.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QGradient -Type = Core -New = - - - -#include - - -/* - * QConicalGradient () - * QConicalGradient ( const QPointF & center, qreal angle ) - * QConicalGradient ( qreal cx, qreal cy, qreal angle ) - */ -HB_FUNC( QT_QCONICALGRADIENT ) -{ - hb_retptr( ( QConicalGradient* ) new QConicalGradient() ); -} - - - -enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } -enum Spread { PadSpread, RepeatSpread, ReflectSpread } -enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - - - -qreal angle () const -QPointF center () const -void setAngle ( qreal angle ) -void setCenter ( const QPointF & center ) -void setCenter ( qreal x, qreal y ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QContextMenuEvent.qth b/harbour/contrib/hbqt/qth/QContextMenuEvent.qth deleted file mode 100644 index b9f360d2d3..0000000000 --- a/harbour/contrib/hbqt/qth/QContextMenuEvent.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QInputEvent -Type = Core -New = - - - -#include - - -/* QContextMenuEvent ( Reason reason, const QPoint & pos, const QPoint & globalPos, Qt::KeyboardModifiers modifiers ) - * QContextMenuEvent ( Reason reason, const QPoint & pos, const QPoint & globalPos ) - * QContextMenuEvent ( Reason reason, const QPoint & pos ) - */ -HB_FUNC( QT_QCONTEXTMENUEVENT ) -{ - hb_retptr( new QContextMenuEvent( ( QContextMenuEvent::Reason ) hb_parni( 1 ), *hbqt_par_QPoint( 2 ) ) ); -} - - - -enum Reason { Mouse, Keyboard, Other } - - - -const QPoint & globalPos () const -int globalX () const -int globalY () const -const QPoint & pos () const -Reason reason () const -int x () const -int y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QCoreApplication.qth b/harbour/contrib/hbqt/qth/QCoreApplication.qth deleted file mode 100644 index b4f79dfcaf..0000000000 --- a/harbour/contrib/hbqt/qth/QCoreApplication.qth +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - - -#include -#include - - -/* - * QCoreApplication ( int & argc, char ** argv ) - * ~QCoreApplication () - */ -HB_FUNC( QT_QCOREAPPLICATION ) -{ - -} - - - -enum Encoding { CodecForTr, UnicodeUTF8, DefaultCodec } - - - -// bool filterEvent ( void * message, long * result ) -virtual bool notify ( QObject * receiver, QEvent * event ) -// EventFilter setEventFilter ( EventFilter filter ) -// virtual bool winEventFilter ( MSG * msg, long * result ) - -void addLibraryPath ( const QString & path ) -QString applicationDirPath () -QString applicationFilePath () -QString applicationName () -qint64 applicationPid () -QString applicationVersion () -QStringList arguments () -bool closingDown () -int exec () -void exit ( int returnCode = 0 ) -void flush () -bool hasPendingEvents () -void installTranslator ( QTranslator * translationFile ) -QCoreApplication * instance () -QStringList libraryPaths () -QString organizationDomain () -QString organizationName () -void postEvent ( QObject * receiver, QEvent * event ) -void postEvent ( QObject * receiver, QEvent * event, int priority ) -void processEvents ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents ) -void processEvents ( QEventLoop::ProcessEventsFlags flags, int maxtime ) -void removeLibraryPath ( const QString & path ) -void removePostedEvents ( QObject * receiver ) -void removePostedEvents ( QObject * receiver, int eventType ) -void removeTranslator ( QTranslator * translationFile ) -bool sendEvent ( QObject * receiver, QEvent * event ) -void sendPostedEvents ( QObject * receiver, int event_type ) -void sendPostedEvents () -void setApplicationName ( const QString & application ) -void setApplicationVersion ( const QString & version ) -void setAttribute ( Qt::ApplicationAttribute attribute, bool on = true ) -void setLibraryPaths ( const QStringList & paths ) -void setOrganizationDomain ( const QString & orgDomain ) -void setOrganizationName ( const QString & orgName ) -bool startingUp () -bool testAttribute ( Qt::ApplicationAttribute attribute ) -QString translate ( const char * context, const char * sourceText, const char * disambiguation, Encoding encoding, int n ) -QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0, Encoding encoding = CodecForTr ) - - - -void quit () - - - -void aboutToQuit () - diff --git a/harbour/contrib/hbqt/qth/QCursor.qth b/harbour/contrib/hbqt/qth/QCursor.qth deleted file mode 100644 index e288a8d4d3..0000000000 --- a/harbour/contrib/hbqt/qth/QCursor.qth +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oCursor := QCursor():new() -oCursor := QCursor():new( pQCursor ) -oCursor := QCursor():new( nQt_CursorShape ) -oCursor := QCursor():new( "QPixmap", pQPixmap, [ nHotX = -1 ] , [ nHotY = -1 ] ) -oCursor := QCursor():new( pQBitmap, pQBitmapAsMask, [ nHotX = -1 ], [ nHotY = -1 ] ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QCursor* ) new QCursor( ( Qt::CursorShape ) hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( 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" ) - { - hb_retptr( ( QCursor* ) new QCursor( *hbqt_par_QPixmap( 2 ), HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, HB_ISNUM( 4 ) ? hb_parni( 4 ) : -1 ) ); - } - else - { - hb_retptr( ( QCursor* ) new QCursor() ); - } - } - else if( hb_pcount() >= 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( 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 - { - hb_retptr( ( QCursor* ) new QCursor() ); - } -} - - - - - - -const QBitmap * bitmap () const -// HCURSOR_or_HANDLE handle () const -QPoint hotSpot () const -const QBitmap * mask () const -QPixmap pixmap () const -void setShape ( Qt::CursorShape shape ) -Qt::CursorShape shape () const - -QPoint pos () -void setPos ( int x, int y ) -void setPos ( const QPoint & p ) - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDataStream.qth b/harbour/contrib/hbqt/qth/QDataStream.qth deleted file mode 100644 index bdb21acbfe..0000000000 --- a/harbour/contrib/hbqt/qth/QDataStream.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QDataStream () - * QDataStream ( QIODevice * d ) - * QDataStream ( QByteArray * a, QIODevice::OpenMode mode ) - * QDataStream ( const QByteArray & a ) - * virtual ~QDataStream () - */ -HB_FUNC( QT_QDATASTREAM ) -{ - hb_retptr( new QDataStream() ); -} - - - -enum ByteOrder { BigEndian, LittleEndian } -enum Status { Ok, ReadPastEnd, ReadCorruptData } -enum Version { Qt_1_0, Qt_2_0, Qt_2_1, Qt_3_0, ..., Qt_4_5 } - - - -bool atEnd () const -ByteOrder byteOrder () const -QIODevice * device () const -//QDataStream & readBytes ( char *& s, uint & l ) -int readRawData ( char * s, int len ) -void resetStatus () -void setByteOrder ( ByteOrder bo ) -void setDevice ( QIODevice * d ) -void setStatus ( Status status ) -void setVersion ( int v ) -int skipRawData ( int len ) -Status status () const -int version () const -//QDataStream & writeBytes ( const char * s, uint len ) -int writeRawData ( const char * s, int len ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDate.qth b/harbour/contrib/hbqt/qth/QDate.qth deleted file mode 100644 index 49392ac56a..0000000000 --- a/harbour/contrib/hbqt/qth/QDate.qth +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QDate () - * QDate ( int y, int m, int d ) - */ -HB_FUNC( QT_QDATE ) -{ - hb_retptr( new QDate() ); -} - - - -enum MonthNameType { DateFormat, StandaloneFormat } - - - -QDate addDays ( int ndays ) const -QDate addMonths ( int nmonths ) const -QDate addYears ( int nyears ) const -int day () const -int dayOfWeek () const -int dayOfYear () const -int daysInMonth () const -int daysInYear () const -int daysTo ( const QDate & d ) const -void getDate ( int * year, int * month, int * day ) -bool isNull () const -bool isValid () const -int month () const -bool setDate ( int year, int month, int day ) -int toJulianDay () const -QString toString ( const QString & format ) const -QString toString ( Qt::DateFormat format = Qt::TextDate ) const -int weekNumber ( int * yearNumber = 0 ) const -int year () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDateEdit.qth b/harbour/contrib/hbqt/qth/QDateEdit.qth deleted file mode 100644 index 188f8a3742..0000000000 --- a/harbour/contrib/hbqt/qth/QDateEdit.qth +++ /dev/null @@ -1,78 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDateTimeEdit -New = pParent - - - -#include - - -/* - * QDateEdit ( QWidget * parent = 0 ) - * QDateEdit ( const QDate & date, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QDATEEDIT ) -{ - hb_retptr( ( QDateEdit* ) new QDateEdit( hbqt_par_QWidget( 1 ) ) ); -} - - - - - diff --git a/harbour/contrib/hbqt/qth/QDateTime.qth b/harbour/contrib/hbqt/qth/QDateTime.qth deleted file mode 100644 index d147191e44..0000000000 --- a/harbour/contrib/hbqt/qth/QDateTime.qth +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#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 ) -{ - hb_retptr( ( QDateTime* ) new QDateTime() ); -} - - - - - - -QDateTime addDays ( int ndays ) const -QDateTime addMSecs ( qint64 msecs ) const -QDateTime addMonths ( int nmonths ) const -QDateTime addSecs ( int s ) const -QDateTime addYears ( int nyears ) const -QDate date () const -int daysTo ( const QDateTime & other ) const -bool isNull () const -bool isValid () const -int secsTo ( const QDateTime & other ) const -void setDate ( const QDate & date ) -void setTime ( const QTime & time ) -void setTimeSpec ( Qt::TimeSpec spec ) -void setTime_t ( uint seconds ) -QTime time () const -Qt::TimeSpec timeSpec () const -QDateTime toLocalTime () const -QString toString ( const QString & format ) const -QString toString ( Qt::DateFormat format = Qt::TextDate ) const -QDateTime toTimeSpec ( Qt::TimeSpec specification ) const -uint toTime_t () const -QDateTime toUTC () const - - -QDateTime currentDateTime () -QDateTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) -QDateTime fromString ( const QString & string, const QString & format ) -QDateTime fromTime_t ( uint seconds ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDateTimeEdit.qth b/harbour/contrib/hbqt/qth/QDateTimeEdit.qth deleted file mode 100644 index b3668d40b0..0000000000 --- a/harbour/contrib/hbqt/qth/QDateTimeEdit.qth +++ /dev/null @@ -1,137 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractSpinBox -New = pParent - - - -#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 ) -{ - hb_retptr( ( QDateTimeEdit* ) new QDateTimeEdit( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum Section { NoSection, AmPmSection, MSecSection, SecondSection, ..., YearSection } -flags Sections - - - -bool calendarPopup () const -QCalendarWidget * calendarWidget () const -void clearMaximumDate () -void clearMaximumDateTime () -void clearMaximumTime () -void clearMinimumDate () -void clearMinimumDateTime () -void clearMinimumTime () -Section currentSection () const -int currentSectionIndex () const -QDate date () const -QDateTime dateTime () const -QString displayFormat () const -Sections displayedSections () const -QDate maximumDate () const -QDateTime maximumDateTime () const -QTime maximumTime () const -QDate minimumDate () const -QDateTime minimumDateTime () const -QTime minimumTime () const -Section sectionAt ( int index ) const -int sectionCount () const -QString sectionText ( Section section ) const -void setCalendarPopup ( bool enable ) -void setCalendarWidget ( QCalendarWidget * calendarWidget ) -void setCurrentSection ( Section section ) -void setCurrentSectionIndex ( int index ) -void setDateRange ( const QDate & min, const QDate & max ) -void setDateTimeRange ( const QDateTime & min, const QDateTime & max ) -void setDisplayFormat ( const QString & format ) -void setMaximumDate ( const QDate & max ) -void setMaximumDateTime ( const QDateTime & dt ) -void setMaximumTime ( const QTime & max ) -void setMinimumDate ( const QDate & min ) -void setMinimumDateTime ( const QDateTime & dt ) -void setMinimumTime ( const QTime & min ) -void setSelectedSection ( Section section ) -void setTimeRange ( const QTime & min, const QTime & max ) -void setTimeSpec ( Qt::TimeSpec spec ) -QTime time () const -Qt::TimeSpec timeSpec () const - - - -void setDate ( const QDate & date ) -void setDateTime ( const QDateTime & dateTime ) -void setTime ( const QTime & time ) - - - -void dateChanged ( const QDate & date ) -void dateTimeChanged ( const QDateTime & datetime ) -void timeChanged ( const QTime & time ) - diff --git a/harbour/contrib/hbqt/qth/QDesktopWidget.qth b/harbour/contrib/hbqt/qth/QDesktopWidget.qth deleted file mode 100644 index 3e46136f50..0000000000 --- a/harbour/contrib/hbqt/qth/QDesktopWidget.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - -; Header File to Generate Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QDesktopWidget () - * ~QDesktopWidget () - */ -HB_FUNC( QT_QDESKTOPWIDGET ) -{ - hb_retptr( new QDesktopWidget() ); -} - - - -const QRect availableGeometry ( int screen = -1 ) const -const QRect availableGeometry ( const QWidget * widget ) const -const QRect availableGeometry ( const QPoint & p ) const -bool isVirtualDesktop () const -int numScreens () const -int primaryScreen () const -QWidget * screen ( int screen = -1 ) -const QRect screenGeometry ( int screen = -1 ) const -const QRect screenGeometry ( const QWidget * widget ) const -const QRect screenGeometry ( const QPoint & p ) const -int screenNumber ( const QWidget * widget = 0 ) const -int screenNumber ( const QPoint & point ) const - - - -void resized ( int screen ) -void workAreaResized ( int screen ) - diff --git a/harbour/contrib/hbqt/qth/QDial.qth b/harbour/contrib/hbqt/qth/QDial.qth deleted file mode 100644 index 2a84f21af5..0000000000 --- a/harbour/contrib/hbqt/qth/QDial.qth +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractSlider -New = pParent - - - -#include - - -/* - * QDial ( QWidget * parent = 0 ) - * ~QDial () - */ -HB_FUNC( QT_QDIAL ) -{ - hb_retptr( ( QDial* ) new QDial( hbqt_par_QWidget( 1 ) ) ); -} - - - -int notchSize () const -qreal notchTarget () const -bool notchesVisible () const -void setNotchTarget ( double target ) -bool wrapping () const - - - -void setNotchesVisible ( bool visible ) -void setWrapping ( bool on ) - diff --git a/harbour/contrib/hbqt/qth/QDialog.qth b/harbour/contrib/hbqt/qth/QDialog.qth deleted file mode 100644 index 7482587d1a..0000000000 --- a/harbour/contrib/hbqt/qth/QDialog.qth +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - - -Inherit = QWidget -New = pParent, nFlags - - - -#include - - -/* - * QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QDialog () - */ -HB_FUNC( QT_QDIALOG ) -{ - hb_retptr( new QDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -enum DialogCode { Accepted, Rejected } - - - -bool isSizeGripEnabled () const -int result () const -void setModal ( bool modal ) -void setResult ( int i ) -void setSizeGripEnabled ( bool ) - - - -virtual void accept () -virtual void done ( int r ) -int exec () -void open () -virtual void reject () - - - -void accepted () -void finished ( int result ) -void rejected () - diff --git a/harbour/contrib/hbqt/qth/QDir.qth b/harbour/contrib/hbqt/qth/QDir.qth deleted file mode 100644 index b57b361a12..0000000000 --- a/harbour/contrib/hbqt/qth/QDir.qth +++ /dev/null @@ -1,151 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - -; Header File to Generate Sources -; - - -QObject = no -New = pParent - - - -#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 ) -{ - hb_retptr( new QDir( hbqt_par_QString( 1 ) ) ); -} - - - - -enum Filter { Dirs, AllDirs, Files, Drives, ..., CaseSensitive } -enum SortFlag { Name, Time, Size, Type, ..., LocaleAware } -flags Filters -flags SortFlags - - - -QString absoluteFilePath ( const QString & fileName ) const -QString absolutePath () const -QString canonicalPath () const -bool cd ( const QString & dirName ) -bool cdUp () -uint count () const -QString dirName () const -// QFileInfoList entryInfoList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const -// QFileInfoList entryInfoList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const -QStringList entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const -QStringList entryList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const -bool exists ( const QString & name ) const -bool exists () const -QString filePath ( const QString & fileName ) const -Filters filter () const -bool isAbsolute () const -bool isReadable () const -bool isRelative () const -bool isRoot () const -bool makeAbsolute () -bool mkdir ( const QString & dirName ) const -bool mkpath ( const QString & dirPath ) const -QStringList nameFilters () const -QString path () const -void refresh () const -QString relativeFilePath ( const QString & fileName ) const -bool remove ( const QString & fileName ) -bool rename ( const QString & oldName, const QString & newName ) -bool rmdir ( const QString & dirName ) const -bool rmpath ( const QString & dirPath ) const -void setFilter ( Filters filters ) -void setNameFilters ( const QStringList & nameFilters ) -void setPath ( const QString & path ) -void setSorting ( SortFlags sort ) -SortFlags sorting () const - - -void addSearchPath ( const QString & prefix, const QString & path ) -QString cleanPath ( const QString & path ) -QDir current () -QString currentPath () -// QFileInfoList drives () -QString fromNativeSeparators ( const QString & pathName ) -QDir home () -QString homePath () -bool isAbsolutePath ( const QString & path ) -bool isRelativePath ( const QString & path ) -bool match ( const QString & filter, const QString & fileName ) -bool match ( const QStringList & filters, const QString & fileName ) -QDir root () -QString rootPath () -QStringList searchPaths ( const QString & prefix ) -QChar separator () -bool setCurrent ( const QString & path ) -void setSearchPaths ( const QString & prefix, const QStringList & searchPaths ) -QDir temp () -QString tempPath () -QString toNativeSeparators ( const QString & pathName ) - - - - diff --git a/harbour/contrib/hbqt/qth/QDirModel.qth b/harbour/contrib/hbqt/qth/QDirModel.qth deleted file mode 100644 index f4a0f94156..0000000000 --- a/harbour/contrib/hbqt/qth/QDirModel.qth +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractItemModel -Type = Core -New = - - - -#include - - -/* - * QDirModel ( const QStringList & nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject * parent = 0 ) - * QDirModel ( QObject * parent = 0 ) - * ~QDirModel () - */ -HB_FUNC( QT_QDIRMODEL ) -{ - hb_retptr( ( QDirModel* ) new QDirModel( hbqt_par_QObject( 1 ) ) ); -} - - - -enum Roles { FileIconRole, FilePathRole, FileNameRole } - - - -virtual int columnCount ( const QModelIndex & parent = QModelIndex() ) const -virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const -virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) -QIcon fileIcon ( const QModelIndex & index ) const -QFileInfo fileInfo ( const QModelIndex & index ) const -QString fileName ( const QModelIndex & index ) const -QString filePath ( const QModelIndex & index ) const -QDir::Filters filter () const -virtual Qt::ItemFlags flags ( const QModelIndex & index ) const -virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const -virtual QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const -QFileIconProvider * iconProvider () const -virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const -QModelIndex index ( const QString & path, int column = 0 ) const -bool isDir ( const QModelIndex & index ) const -bool isReadOnly () const -bool lazyChildCount () const -// virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const -virtual QStringList mimeTypes () const -QModelIndex mkdir ( const QModelIndex & parent, const QString & name ) -QStringList nameFilters () const -virtual QModelIndex parent ( const QModelIndex & child ) const -bool remove ( const QModelIndex & index ) -bool resolveSymlinks () const -bool rmdir ( const QModelIndex & index ) -virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const -virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) -void setFilter ( QDir::Filters filters ) -void setIconProvider ( QFileIconProvider * provider ) -void setLazyChildCount ( bool enable ) -void setNameFilters ( const QStringList & filters ) -void setReadOnly ( bool enable ) -void setResolveSymlinks ( bool enable ) -void setSorting ( QDir::SortFlags sort ) -virtual void sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) -QDir::SortFlags sorting () const -virtual Qt::DropActions supportedDropActions () const - - - -void refresh ( const QModelIndex & parent = QModelIndex() ) - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDockWidget.qth b/harbour/contrib/hbqt/qth/QDockWidget.qth deleted file mode 100644 index cfe3a8c691..0000000000 --- a/harbour/contrib/hbqt/qth/QDockWidget.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#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 ) -{ - hb_retptr( new QDockWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -enum DockWidgetFeature { DockWidgetClosable, DockWidgetMovable, DockWidgetFloatable, DockWidgetVerticalTitleBar, AllDockWidgetFeatures, NoDockWidgetFeatures } -flags DockWidgetFeatures - - - -Qt::DockWidgetAreas allowedAreas () const -DockWidgetFeatures features () const -bool isAreaAllowed ( Qt::DockWidgetArea area ) const -bool isFloating () const -void setAllowedAreas ( Qt::DockWidgetAreas areas ) -void setFeatures ( DockWidgetFeatures features ) -void setFloating ( bool floating ) -void setTitleBarWidget ( QWidget * widget ) -void setWidget ( QWidget * widget ) -QWidget * titleBarWidget () const -QAction * toggleViewAction () const -QWidget * widget () const - - - -void allowedAreasChanged ( Qt::DockWidgetAreas allowedAreas ) -void dockLocationChanged ( Qt::DockWidgetArea area ) -void featuresChanged ( QDockWidget::DockWidgetFeatures features ) -void topLevelChanged ( bool topLevel ) -void visibilityChanged ( bool visible ) - diff --git a/harbour/contrib/hbqt/qth/QDoubleSpinBox.qth b/harbour/contrib/hbqt/qth/QDoubleSpinBox.qth deleted file mode 100644 index dc3eb81435..0000000000 --- a/harbour/contrib/hbqt/qth/QDoubleSpinBox.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractSpinBox -New = pParent - - - -#include - - -/* - * QDoubleSpinBox ( QWidget * parent = 0 ) - */ -HB_FUNC( QT_QDOUBLESPINBOX ) -{ - hb_retptr( ( QDoubleSpinBox* ) new QDoubleSpinBox( hbqt_par_QWidget( 1 ) ) ); -} - - - -QString cleanText () const -int decimals () const -double maximum () const -double minimum () const -QString prefix () const -void setDecimals ( int prec ) -void setMaximum ( double max ) -void setMinimum ( double min ) -void setPrefix ( const QString & prefix ) -void setRange ( double minimum, double maximum ) -void setSingleStep ( double val ) -void setSuffix ( const QString & suffix ) -double singleStep () const -QString suffix () const -virtual QString textFromValue ( double value ) const -double value () const -virtual double valueFromText ( const QString & text ) const - - - -void setValue ( double val ) - - - -void valueChanged ( double d ) -void valueChanged ( const QString & text ) - diff --git a/harbour/contrib/hbqt/qth/QDragEnterEvent.qth b/harbour/contrib/hbqt/qth/QDragEnterEvent.qth deleted file mode 100644 index ef7f1e05c2..0000000000 --- a/harbour/contrib/hbqt/qth/QDragEnterEvent.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QDragMoveEvent -Type = Core -New = - - - -#include - - -/* - * QDragEnterEvent ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - */ -HB_FUNC( QT_QDRAGENTEREVENT ) -{ - -} - - - - - - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDragLeaveEvent.qth b/harbour/contrib/hbqt/qth/QDragLeaveEvent.qth deleted file mode 100644 index 55ee93f88e..0000000000 --- a/harbour/contrib/hbqt/qth/QDragLeaveEvent.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QDragLeaveEvent () - */ -HB_FUNC( QT_QDRAGLEAVEEVENT ) -{ - // hb_retptr( ( * ) new () ); -} - - - - - - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDragMoveEvent.qth b/harbour/contrib/hbqt/qth/QDragMoveEvent.qth deleted file mode 100644 index 233d472d39..0000000000 --- a/harbour/contrib/hbqt/qth/QDragMoveEvent.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QDropEvent -Type = Core -New = - - - -#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 ) -{ - // hb_retptr( ( * ) new () ); -} - - - - - - -void accept ( const QRect & rectangle ) -void accept () -QRect answerRect () const -void ignore ( const QRect & rectangle ) -void ignore () - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QDropEvent.qth b/harbour/contrib/hbqt/qth/QDropEvent.qth deleted file mode 100644 index 2e942379a1..0000000000 --- a/harbour/contrib/hbqt/qth/QDropEvent.qth +++ /dev/null @@ -1,110 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QDropEvent ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop ) - */ -HB_FUNC( QT_QDROPEVENT ) -{ - // hb_retptr( ( QDropEvent* ) new QDropEvent() ); -} - - - - - - -void acceptProposedAction () -Qt::DropAction dropAction () const -Qt::KeyboardModifiers keyboardModifiers () const - -# This function is OK if called as line below, but do not found a way -# how to construct dynamically - no separate keyword ??? -# -//const QMimeData * mimeData () const -//hb_retptrGC( hbqt_gcAllocate_QMimeData( ( void* ) hbqt_par_QDropEvent( 1 )->mimeData(), false ) ); -# -# -Qt::MouseButtons mouseButtons () const -const QPoint & pos () const -Qt::DropActions possibleActions () const -Qt::DropAction proposedAction () const -void setDropAction ( Qt::DropAction action ) -QWidget * source () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QErrorMessage.qth b/harbour/contrib/hbqt/qth/QErrorMessage.qth deleted file mode 100644 index 61fea6a934..0000000000 --- a/harbour/contrib/hbqt/qth/QErrorMessage.qth +++ /dev/null @@ -1,80 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent - - - -#include - - -/* - * QErrorMessage ( QWidget * parent = 0 ) - * ~QErrorMessage () - */ -HB_FUNC( QT_QERRORMESSAGE ) -{ - hb_retptr( ( QErrorMessage* ) new QErrorMessage( hbqt_par_QWidget( 1 ) ) ); -} - - - -void showMessage ( const QString & message ) -void showMessage ( const QString & message, const QString & type ) - - diff --git a/harbour/contrib/hbqt/qth/QEvent.qth b/harbour/contrib/hbqt/qth/QEvent.qth deleted file mode 100644 index c7adc70df8..0000000000 --- a/harbour/contrib/hbqt/qth/QEvent.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = Core -New = nType - - - -#include - - -/* - * QEvent ( Type type ) - * virtual ~QEvent () - */ -HB_FUNC( QT_QEVENT ) -{ - hb_retptr( ( QEvent* ) new QEvent( ( QEvent::Type ) hb_parni( 1 ) ) ); -} - - - -enum Type { None, AccessibilityDescription, AccessibilityHelp, AccessibilityPrepare, ..., MaxUser } - - - -void accept () -void ignore () -bool isAccepted () const -void setAccepted ( bool accepted ) -bool spontaneous () const -Type type () const - -int registerEventType ( int hint = -1 ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QEventLoop.qth b/harbour/contrib/hbqt/qth/QEventLoop.qth deleted file mode 100644 index 3814a18e97..0000000000 --- a/harbour/contrib/hbqt/qth/QEventLoop.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = pObject - - - -#include -#include - -/* - * QEventLoop ( QObject * parent = 0 ) - * ~QEventLoop () - */ -HB_FUNC( QT_QEVENTLOOP ) -{ - hb_retptr( new QEventLoop( hbqt_par_QObject( 1 ) ) ); -} - - - -enum ProcessEventsFlag { AllEvents, ExcludeUserInputEvents, ExcludeSocketNotifiers, WaitForMoreEvents, DeferredDeletion } -flags ProcessEventsFlags - - - -int exec ( ProcessEventsFlags flags = AllEvents ) -void exit ( int returnCode = 0 ) -bool isRunning () const -bool processEvents ( ProcessEventsFlags flags = AllEvents ) -void processEvents ( ProcessEventsFlags flags, int maxTime ) -void wakeUp () - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFile.qth b/harbour/contrib/hbqt/qth/QFile.qth deleted file mode 100644 index 1888d4f757..0000000000 --- a/harbour/contrib/hbqt/qth/QFile.qth +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QIODevice -Type = Core -New = -Destructor = - - - -#include - - -/* QFile ( const QString & name ) - * QFile ( QObject * parent ) - * QFile ( const QString & name, QObject * parent ) - * ~QFile () - */ -HB_FUNC( QT_QFILE ) -{ - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( new QFile( hbqt_par_QString( 1 ) ) ); - } -} - - - -enum FileError { NoError, ReadError, WriteError, FatalError, ..., CopyError } -enum MemoryMapFlags { NoOptions } -enum Permission { ReadOwner, WriteOwner, ExeOwner, ReadUser, ..., ExeOther } -flags Permissions - -flags OpenMode -enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - - - -virtual bool atEnd () const -virtual void close () -bool copy ( const QString & newName ) -FileError error () const -bool exists () const -QString fileName () const -bool flush () -int handle () const -virtual bool isSequential () const -bool link ( const QString & linkName ) -uchar * map ( qint64 offset, qint64 size, MemoryMapFlags flags = NoOptions ) -virtual bool open ( OpenMode mode ) -// bool open ( FILE * fh, OpenMode mode ) -bool open ( int fd, OpenMode mode ) -Permissions permissions () const -bool remove () -bool rename ( const QString & newName ) -bool resize ( qint64 sz ) -void setFileName ( const QString & name ) -bool setPermissions ( Permissions permissions ) -virtual qint64 size () const -QString symLinkTarget () const -// bool unmap ( uchar * address ) -void unsetError () - -bool copy ( const QString & fileName, const QString & newName ) -QString decodeName ( const QByteArray & localFileName ) -QString decodeName ( const char * localFileName ) -QByteArray encodeName ( const QString & fileName ) -bool exists ( const QString & fileName ) -bool link ( const QString & fileName, const QString & linkName ) -Permissions permissions ( const QString & fileName ) -bool remove ( const QString & fileName ) -bool rename ( const QString & oldName, const QString & newName ) -bool resize ( const QString & fileName, qint64 sz ) -// void setDecodingFunction ( DecoderFn function ) -// void setEncodingFunction ( EncoderFn function ) -bool setPermissions ( const QString & fileName, Permissions permissions ) -QString symLinkTarget ( const QString & fileName ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFileDialog.qth b/harbour/contrib/hbqt/qth/QFileDialog.qth deleted file mode 100644 index d1764229f3..0000000000 --- a/harbour/contrib/hbqt/qth/QFileDialog.qth +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent, nFlags - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QFileDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) 0 ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( new QFileDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); - } - else - { - hb_retptr( new QFileDialog() ); - } -} - - - -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 } - - - -AcceptMode acceptMode () const -bool confirmOverwrite () const -QString defaultSuffix () const -QDir directory () const -FileMode fileMode () const -QDir::Filters filter () const -QStringList history () const -QFileIconProvider * iconProvider () const -bool isNameFilterDetailsVisible () const -bool isReadOnly () const -QAbstractItemDelegate * itemDelegate () const -QString labelText ( DialogLabel label ) const -QStringList nameFilters () const -# -# Just too difficult to handle automatically -# -// void open ( QObject * receiver, const char * member ) -# -Options options () const -QAbstractProxyModel * proxyModel () const -bool resolveSymlinks () const -bool restoreState ( const QByteArray & state ) -QByteArray saveState () const -void selectFile ( const QString & filename ) -void selectNameFilter ( const QString & filter ) -QStringList selectedFiles () const -QString selectedNameFilter () const -void setAcceptMode ( AcceptMode mode ) -void setConfirmOverwrite ( bool enabled ) -void setDefaultSuffix ( const QString & suffix ) -void setDirectory ( const QString & directory ) -void setDirectory ( const QDir & directory ) -void setFileMode ( FileMode mode ) -void setFilter ( QDir::Filters filters ) -void setHistory ( const QStringList & paths ) -void setIconProvider ( QFileIconProvider * provider ) -void setItemDelegate ( QAbstractItemDelegate * delegate ) -void setLabelText ( DialogLabel label, const QString & text ) -void setNameFilter ( const QString & filter ) -void setNameFilterDetailsVisible ( bool enabled ) -void setNameFilters ( const QStringList & filters ) -void setOption ( Option option, bool on = true ) -void setOptions ( Options options ) -void setProxyModel ( QAbstractProxyModel * proxyModel ) -void setReadOnly ( bool enabled ) -void setResolveSymlinks ( bool enabled ) -void setSidebarUrls ( const QList & urls ) -void setViewMode ( ViewMode mode ) -QList sidebarUrls () const -bool testOption ( Option option ) const -ViewMode viewMode () const - - -QString getExistingDirectory ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), Options options = ShowDirsOnly ) -//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 ) - - - -void currentChanged ( const QString & path ) -void directoryEntered ( const QString & directory ) -void fileSelected ( const QString & file ) -void filesSelected ( const QStringList & selected ) -void filterSelected ( const QString & filter ) - - diff --git a/harbour/contrib/hbqt/qth/QFileIconProvider.qth b/harbour/contrib/hbqt/qth/QFileIconProvider.qth deleted file mode 100644 index ac98aea7e9..0000000000 --- a/harbour/contrib/hbqt/qth/QFileIconProvider.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QFileIconProvider () - * virtual ~QFileIconProvider () - */ -HB_FUNC( QT_QFILEICONPROVIDER ) -{ - hb_retptr( new QFileIconProvider() ); -} - - - -enum IconType { Computer, Desktop, Trashcan, Network, ..., File } - - - -virtual QIcon icon ( IconType type ) const -virtual QIcon icon ( const QFileInfo & info ) const -virtual QString type ( const QFileInfo & info ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFileInfo.qth b/harbour/contrib/hbqt/qth/QFileInfo.qth deleted file mode 100644 index 40cc9a8ffe..0000000000 --- a/harbour/contrib/hbqt/qth/QFileInfo.qth +++ /dev/null @@ -1,143 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include -#include -#include - - -/* QFileInfo () - * QFileInfo ( const QString & file ) - * QFileInfo ( const QFile & file ) - * QFileInfo ( const QDir & dir, const QString & file ) - * QFileInfo ( const QFileInfo & fileinfo ) - * ~QFileInfo () - */ -HB_FUNC( QT_QFILEINFO ) -{ - hb_retptr( new QFileInfo() ); -} - - - -flags PermissionSpec - - - -QDir absoluteDir () const -QString absoluteFilePath () const -QString absolutePath () const -QString baseName () const -QString bundleName () const -bool caching () const -QString canonicalFilePath () const -QString canonicalPath () const -QString completeBaseName () const -QString completeSuffix () const -QDateTime created () const -QDir dir () const -bool exists () const -QString fileName () const -QString filePath () const -QString group () const -uint groupId () const -bool isAbsolute () const -bool isBundle () const -bool isDir () const -bool isExecutable () const -bool isFile () const -bool isHidden () const -bool isReadable () const -bool isRelative () const -bool isRoot () const -bool isSymLink () const -bool isWritable () const -QDateTime lastModified () const -QDateTime lastRead () const -bool makeAbsolute () -QString owner () const -uint ownerId () const -QString path () const -bool permission ( QFile::Permissions permissions ) const -QFile::Permissions permissions () const -void refresh () -void setCaching ( bool enable ) -void setFile ( const QString & file ) -void setFile ( const QFile & file ) -void setFile ( const QDir & dir, const QString & file ) -qint64 size () const -QString suffix () const -QString symLinkTarget () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFileSystemModel.qth b/harbour/contrib/hbqt/qth/QFileSystemModel.qth deleted file mode 100644 index e87104ffcf..0000000000 --- a/harbour/contrib/hbqt/qth/QFileSystemModel.qth +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractItemModel -Type = Core -New = - - - -#include -#include - -/* - * QFileSystemModel ( QObject * parent = 0 ) - * ~QFileSystemModel () - */ -HB_FUNC( QT_QFILESYSTEMMODEL ) -{ - hb_retptr( ( QFileSystemModel * ) new QFileSystemModel() ); -} - - - -enum Roles { FileIconRole, FilePathRole, FileNameRole, FilePermissions } - - - -virtual bool dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) -QIcon fileIcon ( const QModelIndex & index ) const -QFileInfo fileInfo ( const QModelIndex & index ) const -QString fileName ( const QModelIndex & index ) const -QString filePath ( const QModelIndex & index ) const -QDir::Filters filter () const -// QFileIconProvider * iconProvider () const -QModelIndex index ( const QString & path, int column = 0 ) const -bool isDir ( const QModelIndex & index ) const -bool isReadOnly () const -QDateTime lastModified ( const QModelIndex & index ) const -// virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const -virtual QStringList mimeTypes () const -QModelIndex mkdir ( const QModelIndex & parent, const QString & name ) -QVariant myComputer ( int role = Qt::DisplayRole ) const -bool nameFilterDisables () const -QStringList nameFilters () const -QFile::Permissions permissions ( const QModelIndex & index ) const -bool remove ( const QModelIndex & index ) const -bool resolveSymlinks () const -bool rmdir ( const QModelIndex & index ) const -QDir rootDirectory () const -QString rootPath () const -void setFilter ( QDir::Filters filters ) -// void setIconProvider ( QFileIconProvider * provider ) -void setNameFilterDisables ( bool enable ) -void setNameFilters ( const QStringList & filters ) -void setReadOnly ( bool enable ) -void setResolveSymlinks ( bool enable ) -QModelIndex setRootPath ( const QString & newPath ) -qint64 size ( const QModelIndex & index ) const -QString type ( const QModelIndex & index ) const - - - - - - -void fileRenamed ( const QString & path, const QString & oldName, const QString & newName ) -void rootPathChanged ( const QString & newPath ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFocusEvent.qth b/harbour/contrib/hbqt/qth/QFocusEvent.qth deleted file mode 100644 index 40a59fc0ff..0000000000 --- a/harbour/contrib/hbqt/qth/QFocusEvent.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QFocusEvent ( Type type, Qt::FocusReason reason = Qt::OtherFocusReason ) - */ -HB_FUNC( QT_QFOCUSEVENT ) -{ - // hb_retptr( ( QFocusEvent* ) new QFocusEvent() ); -} - - - - - - -bool gotFocus () const -bool lostFocus () const -Qt::FocusReason reason () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFocusFrame.qth b/harbour/contrib/hbqt/qth/QFocusFrame.qth deleted file mode 100644 index 60501f8115..0000000000 --- a/harbour/contrib/hbqt/qth/QFocusFrame.qth +++ /dev/null @@ -1,81 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QFocusFrame ( QWidget * parent = 0 ) - * ~QFocusFrame () - */ -HB_FUNC( QT_QFOCUSFRAME ) -{ - hb_retptr( ( QFocusFrame* ) new QFocusFrame( hbqt_par_QWidget( 1 ) ) ); -} - - - -void setWidget ( QWidget * widget ) -QWidget * widget () const - - - diff --git a/harbour/contrib/hbqt/qth/QFont.qth b/harbour/contrib/hbqt/qth/QFont.qth deleted file mode 100644 index e58622063f..0000000000 --- a/harbour/contrib/hbqt/qth/QFont.qth +++ /dev/null @@ -1,205 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - -QObject = no -New = -Type = PlainObject - - - -oFont := QFont():new() -oFont := QFont():new( cFontName ) -oFont := QFont():new( cFontName, nPointSize ) -oFont := QFont():new( cFontName, nPointSize, nWeight ) -oFont := QFont():new( cFontName, nPointSize, nWeight, lItalic ) -oFont := QFont():new( pFont ) -oFont := QFont():new( pFont, pPaintDevice ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QFont* ) new QFont( hbqt_par_QString( 1 ), -1, -1, false ) ); - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QFont* ) new QFont( hbqt_par_QString( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parl( 4 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QFont* ) new QFont( *hbqt_par_QFont( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( QFont* ) new QFont( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ); - } - else - { - hb_retptr( ( QFont* ) new QFont() ); - } -} - - - -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 } - - - -bool bold () const -Capitalization capitalization () const -QString defaultFamily () const -bool exactMatch () const -QString family () const -bool fixedPitch () const -# -# member not found -# -// FT_Face freetypeFace () const -# -bool fromString ( const QString & descrip ) -# -# Not portable -// HFONT handle () const -# -# member not found -// bool isCopyOf ( const QFont & f ) const -bool italic () const -bool kerning () const -QString key () const -QString lastResortFamily () const -QString lastResortFont () const -qreal letterSpacing () const -SpacingType letterSpacingType () const -# -# member not found -// quint32 macFontID () const -bool overline () const -int pixelSize () const -int pointSize () const -qreal pointSizeF () const -bool rawMode () const -QString rawName () const -# -# error: invalid conversion from `QFont*' to `uint' -# initializing argument 1 of `void QFont::resolve(uint)' -// QFont resolve ( const QFont & other ) const -void setBold ( bool enable ) -void setCapitalization ( Capitalization caps ) -void setFamily ( const QString & family ) -void setFixedPitch ( bool enable ) -void setItalic ( bool enable ) -void setKerning ( bool enable ) -void setLetterSpacing ( SpacingType type, qreal spacing ) -void setOverline ( bool enable ) -void setPixelSize ( int pixelSize ) -void setPointSize ( int pointSize ) -void setPointSizeF ( qreal pointSize ) -void setRawMode ( bool enable ) -void setRawName ( const QString & name ) -void setStretch ( int factor ) -void setStrikeOut ( bool enable ) -void setStyle ( Style style ) -void setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault ) -void setStyleStrategy ( StyleStrategy s ) -void setUnderline ( bool enable ) -void setWeight ( int weight ) -void setWordSpacing ( qreal spacing ) -int stretch () const -bool strikeOut () const -Style style () const -StyleHint styleHint () const -StyleStrategy styleStrategy () const -QString toString () const -bool underline () const -int weight () const -qreal wordSpacing () const - - -void cleanup () -void initialize () -void insertSubstitution ( const QString & familyName, const QString & substituteName ) -void insertSubstitutions ( const QString & familyName, const QStringList & substituteNames ) -void removeSubstitution ( const QString & familyName ) -QString substitute ( const QString & familyName ) -QStringList substitutes ( const QString & familyName ) -QStringList substitutions () - diff --git a/harbour/contrib/hbqt/qth/QFontComboBox.qth b/harbour/contrib/hbqt/qth/QFontComboBox.qth deleted file mode 100644 index 11250fb572..0000000000 --- a/harbour/contrib/hbqt/qth/QFontComboBox.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QComboBox -New = pParent - - - -#include - - -/* - * QFontComboBox ( QWidget * parent = 0 ) - * ~QFontComboBox () - */ -HB_FUNC( QT_QFONTCOMBOBOX ) -{ - hb_retptr( ( QFontComboBox * ) new QFontComboBox( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum FontFilter { AllFonts, ScalableFonts, NonScalableFonts, MonospacedFonts, ProportionalFonts } -flags FontFilters - - - -QFont currentFont () const -FontFilters fontFilters () const -void setFontFilters ( FontFilters filters ) -void setWritingSystem ( QFontDatabase::WritingSystem script ) -QFontDatabase::WritingSystem writingSystem () const - - - -void setCurrentFont ( const QFont & font ) - - - -void currentFontChanged ( const QFont & font ) - - diff --git a/harbour/contrib/hbqt/qth/QFontDatabase.qth b/harbour/contrib/hbqt/qth/QFontDatabase.qth deleted file mode 100644 index 42d12056e7..0000000000 --- a/harbour/contrib/hbqt/qth/QFontDatabase.qth +++ /dev/null @@ -1,119 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include -#include - - -/* - * QFontDatabase () - */ -HB_FUNC( QT_QFONTDATABASE ) -{ - hb_retptr( new QFontDatabase() ); -} - - - -enum WritingSystem { Any, Latin, Greek, Cyrillic, ..., Runic } - - - -bool bold ( const QString & family, const QString & style ) const -QStringList families ( WritingSystem writingSystem = Any ) const -QFont font ( const QString & family, const QString & style, int pointSize ) const -bool isBitmapScalable ( const QString & family, const QString & style = QString() ) const -bool isFixedPitch ( const QString & family, const QString & style = QString() ) const -bool isScalable ( const QString & family, const QString & style = QString() ) const -bool isSmoothlyScalable ( const QString & family, const QString & style = QString() ) const -bool italic ( const QString & family, const QString & style ) const -QList pointSizes ( const QString & family, const QString & style = QString() ) -QList smoothSizes ( const QString & family, const QString & style ) -QString styleString ( const QFont & font ) -QString styleString ( const QFontInfo & fontInfo ) -QStringList styles ( const QString & family ) const -int weight ( const QString & family, const QString & style ) const -QList writingSystems () const -QList writingSystems ( const QString & family ) const - - -int addApplicationFont ( const QString & fileName ) -int addApplicationFontFromData ( const QByteArray & fontData ) -QStringList applicationFontFamilies ( int id ) -bool removeAllApplicationFonts () -bool removeApplicationFont ( int id ) -QList standardSizes () -bool supportsThreadedFontRendering () -QString writingSystemName ( WritingSystem writingSystem ) -QString writingSystemSample ( WritingSystem writingSystem ) - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFontDialog.qth b/harbour/contrib/hbqt/qth/QFontDialog.qth deleted file mode 100644 index 52ba27c8fc..0000000000 --- a/harbour/contrib/hbqt/qth/QFontDialog.qth +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent - - - -#include - - -/* - * QFontDialog ( QWidget * parent = 0 ) - * QFontDialog ( const QFont & initial, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QFONTDIALOG ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QFontDialog( hbqt_par_QWidget( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( new QFontDialog( *hbqt_par_QFont( 1 ), hbqt_par_QWidget( 2 ) ) ); - } - else - { - hb_retptr( new QFontDialog( 0 ) ); - } -} - - - -enum FontDialogOption { NoButtons, DontUseNativeDialog } -flags FontDialogOptions - - - -QFont currentFont () const -# -# Way too complex, to be shifted to CODE section -# -// void open ( QObject * receiver, const char * member ) -FontDialogOptions options () const -QFont selectedFont () const -void setCurrentFont ( const QFont & font ) -void setOption ( FontDialogOption option, bool on = true ) -void setOptions ( FontDialogOptions options ) -bool testOption ( FontDialogOption option ) const - -QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title, FontDialogOptions options ) -QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const char * name ) -// QFont getFont ( bool * ok, QWidget * parent, const char * name ) -QFont getFont ( bool * ok, const QFont & initial, QWidget * parent, const QString & title ) -QFont getFont ( bool * ok, const QFont & initial, QWidget * parent = 0 ) -QFont getFont ( bool * ok, QWidget * parent = 0 ) - - - -void currentFontChanged ( const QFont & font ) -void fontSelected ( const QFont & font ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QFontInfo.qth b/harbour/contrib/hbqt/qth/QFontInfo.qth deleted file mode 100644 index ef2235603f..0000000000 --- a/harbour/contrib/hbqt/qth/QFontInfo.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = pParent - - - -#include - - -/* - * QFontInfo ( const QFont & font ) - * QFontInfo ( const QFontInfo & fi ) - * ~QFontInfo () - */ -HB_FUNC( QT_QFONTINFO ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QFontInfo( *hbqt_par_QFontInfo( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( new QFontInfo( *hbqt_par_QFont( 2 ) ) ); - } -} - - - -bool bold () const -bool exactMatch () const -QString family () const -bool fixedPitch () const -bool italic () const -int pixelSize () const -int pointSize () const -qreal pointSizeF () const -bool rawMode () const -QFont::Style style () const -QFont::StyleHint styleHint () const -int weight () const - - - diff --git a/harbour/contrib/hbqt/qth/QFontMetrics.qth b/harbour/contrib/hbqt/qth/QFontMetrics.qth deleted file mode 100644 index 6b69adcf66..0000000000 --- a/harbour/contrib/hbqt/qth/QFontMetrics.qth +++ /dev/null @@ -1,142 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oFontMetrics := QFontMetrics():new( pQFontMetrics ) -oFontMetrics := QFontMetrics():new( "QFont", pQFont ) -oFontMetrics := QFontMetrics():new( pQFont, pQPaintDevice ) - - - -#include - - -/* - * QFontMetrics ( const QFont & font ) - * QFontMetrics ( const QFont & font, QPaintDevice * paintdevice ) - * QFontMetrics ( const QFontMetrics & fm ) - * ~QFontMetrics () - */ -HB_FUNC( QT_QFONTMETRICS ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QFontMetrics( *hbqt_par_QFontMetrics( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - if( hbqt_par_QString( 1 ) == ( QString ) "QFont" ) - { - hb_retptr( new QFontMetrics( *hbqt_par_QFont( 2 ) ) ); - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( new QFontMetrics( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ); - } -} - - - - - - -int ascent () const -int averageCharWidth () const -QRect boundingRect ( QChar ch ) const -QRect boundingRect ( const QString & text ) const -QRect boundingRect ( int x, int y, int width, int height, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const -QRect boundingRect ( const QRect & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const -int descent () const -QString elidedText ( const QString & text, Qt::TextElideMode mode, int width, int flags = 0 ) const -int height () const -bool inFont ( QChar ch ) const -int leading () const -int leftBearing ( QChar ch ) const -int lineSpacing () const -int lineWidth () const -int maxWidth () const -int minLeftBearing () const -int minRightBearing () const -int overlinePos () const -int rightBearing ( QChar ch ) const -QSize size ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const -int strikeOutPos () const -QRect tightBoundingRect ( const QString & text ) const -int underlinePos () const -int width ( const QString & text, int len = -1 ) const -int width ( QChar ch ) const -int xHeight () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFontMetricsF.qth b/harbour/contrib/hbqt/qth/QFontMetricsF.qth deleted file mode 100644 index adb36bd740..0000000000 --- a/harbour/contrib/hbqt/qth/QFontMetricsF.qth +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oFontMetricsF := QFontMetricsF():new( pQFontMetricsF ) -oFontMetricsF := QFontMetricsF():new( "QFontMetrics", pQFontMetrics ) -oFontMetricsF := QFontMetricsF():new( "QFont", pQFont ) -oFontMetricsF := QFontMetricsF():new( pQFont, pQPaintDevice ) - - - -#include - - -/* - * QFontMetricsF ( const QFont & font ) - * QFontMetricsF ( const QFont & font, QPaintDevice * paintdevice ) - * QFontMetricsF ( const QFontMetrics & fontMetrics ) - * QFontMetricsF ( const QFontMetricsF & fm ) - * ~QFontMetricsF () - */ -HB_FUNC( QT_QFONTMETRICSF ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( 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" ) - { - hb_retptr( ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFont( 2 ) ) ); - } - else if( hbqt_par_QString( 1 ) == ( QString ) "QFontMetrics" ) - { - hb_retptr( ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFontMetrics( 2 ) ) ); - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( QFontMetricsF* ) new QFontMetricsF( *hbqt_par_QFont( 1 ), hbqt_par_QPaintDevice( 2 ) ) ); - } -} - - - - - - -qreal ascent () const -qreal averageCharWidth () const -QRectF boundingRect ( const QString & text ) const -QRectF boundingRect ( QChar ch ) const -QRectF boundingRect ( const QRectF & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const -qreal descent () const -QString elidedText ( const QString & text, Qt::TextElideMode mode, qreal width, int flags = 0 ) const -qreal height () const -bool inFont ( QChar ch ) const -qreal leading () const -qreal leftBearing ( QChar ch ) const -qreal lineSpacing () const -qreal lineWidth () const -qreal maxWidth () const -qreal minLeftBearing () const -qreal minRightBearing () const -qreal overlinePos () const -qreal rightBearing ( QChar ch ) const -QSizeF size ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) const -qreal strikeOutPos () const -QRectF tightBoundingRect ( const QString & text ) const -qreal underlinePos () const -qreal width ( const QString & text ) const -qreal width ( QChar ch ) const -qreal xHeight () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QFormLayout.qth b/harbour/contrib/hbqt/qth/QFormLayout.qth deleted file mode 100644 index 16c39f17b2..0000000000 --- a/harbour/contrib/hbqt/qth/QFormLayout.qth +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QLayout -New = pParent - - - -#include - - -/* - * QFormLayout ( QWidget * parent = 0 ) - * ~QFormLayout () - */ -HB_FUNC( QT_QFORMLAYOUT ) -{ - hb_retptr( ( QFormLayout * ) new QFormLayout( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum FieldGrowthPolicy { FieldsStayAtSizeHint, ExpandingFieldsGrow, AllNonFixedFieldsGrow } -enum ItemRole { LabelRole, FieldRole, SpanningRole } -enum RowWrapPolicy { DontWrapRows, WrapLongRows, WrapAllRows } - - - -void addRow ( QWidget * label, QWidget * field ) -void addRow ( QWidget * label, QLayout * field ) -void addRow ( QWidget * widget ) -void addRow ( const QString & labelText, QWidget * field ) -void addRow ( const QString & labelText, QLayout * field ) -void addRow ( QLayout * layout ) -FieldGrowthPolicy fieldGrowthPolicy () const -Qt::Alignment formAlignment () const -void getItemPosition ( int index, int * rowPtr, ItemRole * rolePtr ) const -void getLayoutPosition ( QLayout * layout, int * rowPtr, ItemRole * rolePtr ) const -void getWidgetPosition ( QWidget * widget, int * rowPtr, ItemRole * rolePtr ) const -int horizontalSpacing () const -void insertRow ( int row, QWidget * label, QWidget * field ) -void insertRow ( int row, QWidget * label, QLayout * field ) -void insertRow ( int row, QWidget * widget ) -void insertRow ( int row, const QString & labelText, QWidget * field ) -void insertRow ( int row, const QString & labelText, QLayout * field ) -void insertRow ( int row, QLayout * layout ) -QLayoutItem * itemAt ( int row, ItemRole role ) const -Qt::Alignment labelAlignment () const -QWidget * labelForField ( QWidget * field ) const -QWidget * labelForField ( QLayout * field ) const -int rowCount () const -RowWrapPolicy rowWrapPolicy () const -void setFieldGrowthPolicy ( FieldGrowthPolicy policy ) -void setFormAlignment ( Qt::Alignment alignment ) -void setHorizontalSpacing ( int spacing ) -void setItem ( int row, ItemRole role, QLayoutItem * item ) -void setLabelAlignment ( Qt::Alignment alignment ) -void setLayout ( int row, ItemRole role, QLayout * layout ) -void setRowWrapPolicy ( RowWrapPolicy policy ) -void setSpacing ( int spacing ) -void setVerticalSpacing ( int spacing ) -void setWidget ( int row, ItemRole role, QWidget * widget ) -int spacing () const -int verticalSpacing () const - - diff --git a/harbour/contrib/hbqt/qth/QFrame.qth b/harbour/contrib/hbqt/qth/QFrame.qth deleted file mode 100644 index 7280b1a6fc..0000000000 --- a/harbour/contrib/hbqt/qth/QFrame.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent, nFlags - - - -#include - - -/* - * QFrame ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QFrame () - */ -HB_FUNC( QT_QFRAME ) -{ - hb_retptr( new QFrame( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -enum Shadow { Plain, Raised, Sunken } -enum Shape { NoFrame, Box, Panel, StyledPanel, ..., WinPanel } -enum StyleMask { Shadow_Mask, Shape_Mask } - - - -QRect frameRect () const -Shadow frameShadow () const -Shape frameShape () const -int frameStyle () const -int frameWidth () const -int lineWidth () const -int midLineWidth () const -void setFrameRect ( const QRect & ) -void setFrameShadow ( Shadow ) -void setFrameShape ( Shape ) -void setFrameStyle ( int style ) -void setLineWidth ( int ) -void setMidLineWidth ( int ) - - diff --git a/harbour/contrib/hbqt/qth/QFtp.qth b/harbour/contrib/hbqt/qth/QFtp.qth deleted file mode 100644 index 47e8b3284e..0000000000 --- a/harbour/contrib/hbqt/qth/QFtp.qth +++ /dev/null @@ -1,146 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - -; Header File to Generate Sources -; - - -Inherit = QObject -New = pParent - - - -#include - - -/* - * QFtp ( QObject * parent = 0 ) - * virtual ~QFtp () - */ -HB_FUNC( QT_QFTP ) -{ - hb_retptr( new QFtp( hbqt_par_QObject( 1 ) ) ); -} - -/* - * 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 ); -} - - - -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 } - - - -qint64 bytesAvailable () const -int cd ( const QString & dir ) -void clearPendingCommands () -int close () -int connectToHost ( const QString & host, quint16 port = 21 ) -Command currentCommand () const -QIODevice * currentDevice () const -int currentId () const -Error error () const -QString errorString () const -int get ( const QString & file, QIODevice * dev = 0, TransferType type = Binary ) -bool hasPendingCommands () const -int list ( const QString & dir = QString() ) -int login ( const QString & user = QString(), const QString & password = QString() ) -int mkdir ( const QString & dir ) -int put ( QIODevice * dev, const QString & file, TransferType type = Binary ) -int put ( const QByteArray & data, const QString & file, TransferType type = Binary ) -int rawCommand ( const QString & command ) -# Never uncomment it : See above -// qint64 read ( char * data, qint64 maxlen ) -# -QByteArray readAll () -int remove ( const QString & file ) -int rename ( const QString & oldname, const QString & newname ) -int rmdir ( const QString & dir ) -int setProxy ( const QString & host, quint16 port ) -int setTransferMode ( TransferMode mode ) -State state () const - - - -void abort () - - - -void commandFinished ( int id, bool error ) -void commandStarted ( int id ) -void dataTransferProgress ( qint64 done, qint64 total ) -void done ( bool error ) -void listInfo ( const QUrlInfo & i ) -void rawCommandReply ( int replyCode, const QString & detail ) -void readyRead () -void stateChanged ( int state ) - diff --git a/harbour/contrib/hbqt/qth/QGradient.qth b/harbour/contrib/hbqt/qth/QGradient.qth deleted file mode 100644 index c42da04699..0000000000 --- a/harbour/contrib/hbqt/qth/QGradient.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * - */ -HB_FUNC( QT_QGRADIENT ) -{ - -} - - - -enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } -enum Spread { PadSpread, RepeatSpread, ReflectSpread } -enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - - - -CoordinateMode coordinateMode () const -void setColorAt ( qreal position, const QColor & color ) -void setCoordinateMode ( CoordinateMode mode ) -void setSpread ( Spread method ) -// void setStops ( const QGradientStops & stopPoints ) -Spread spread () const -// QGradientStops stops () const -Type type () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QGridLayout.qth b/harbour/contrib/hbqt/qth/QGridLayout.qth deleted file mode 100644 index 910385a5a6..0000000000 --- a/harbour/contrib/hbqt/qth/QGridLayout.qth +++ /dev/null @@ -1,154 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QLayout -New = pParent - - - -#include - - -/* - * QGridLayout ( QWidget * parent ) - * QGridLayout () - * ~QGridLayout () - */ -HB_FUNC( QT_QGRIDLAYOUT ) -{ - hb_retptr( new QGridLayout( hbqt_par_QWidget( 1 ) ) ); -} - - - -void addItem ( QLayoutItem * item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment alignment = 0 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QGRIDLAYOUT_ADDITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRIDLAYOUT_ADDITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - 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 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QGRIDLAYOUT_ADDLAYOUT()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRIDLAYOUT_ADDLAYOUT() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - 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 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QGRIDLAYOUT_ADDLAYOUT_1()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRIDLAYOUT_ADDLAYOUT_1() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - 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 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_GRIDQLAYOUT_ADDWIDGET()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRIDLAYOUT_ADDWIDGET() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - 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 ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_GRIDQLAYOUT_ADDWIDGET_1()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QGRIDLAYOUT_ADDWIDGET_1() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - 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 -int columnCount () const -int columnMinimumWidth ( int column ) const -int columnStretch ( int column ) const -void getItemPosition ( int index, int * row, int * column, int * rowSpan, int * columnSpan ) -int horizontalSpacing () const -QLayoutItem * itemAtPosition ( int row, int column ) const -Qt::Corner originCorner () const -int rowCount () const -int rowMinimumHeight ( int row ) const -int rowStretch ( int row ) const -void setColumnMinimumWidth ( int column, int minSize ) -void setColumnStretch ( int column, int stretch ) -void setHorizontalSpacing ( int spacing ) -void setOriginCorner ( Qt::Corner corner ) -void setRowMinimumHeight ( int row, int minSize ) -void setRowStretch ( int row, int stretch ) -void setSpacing ( int spacing ) -void setVerticalSpacing ( int spacing ) -int spacing () const -int verticalSpacing () const - diff --git a/harbour/contrib/hbqt/qth/QGroupBox.qth b/harbour/contrib/hbqt/qth/QGroupBox.qth deleted file mode 100644 index d1717e4ba7..0000000000 --- a/harbour/contrib/hbqt/qth/QGroupBox.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QGroupBox ( QWidget * parent = 0 ) - * QGroupBox ( const QString & title, QWidget * parent = 0 ) - * ~QGroupBox () - */ -HB_FUNC( QT_QGROUPBOX ) -{ - hb_retptr( ( QGroupBox * ) new QGroupBox( hbqt_par_QWidget( 1 ) ) ); -} - - - -Qt::Alignment alignment () const -bool isCheckable () const -bool isChecked () const -bool isFlat () const -void setAlignment ( int alignment ) -void setCheckable ( bool checkable ) -void setFlat ( bool flat ) -void setTitle ( const QString & title ) -QString title () const - - - -void setChecked ( bool checked ) - - - -void clicked ( bool checked = false ) -void toggled ( bool on ) - - - - diff --git a/harbour/contrib/hbqt/qth/QHBoxLayout.qth b/harbour/contrib/hbqt/qth/QHBoxLayout.qth deleted file mode 100644 index 668cdd11c3..0000000000 --- a/harbour/contrib/hbqt/qth/QHBoxLayout.qth +++ /dev/null @@ -1,78 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QBoxLayout -New = pParent - - - -#include - - -/* - * QHBoxLayout () - * QHBoxLayout ( QWidget * parent ) - * ~QHBoxLayout () - */ -HB_FUNC( QT_QHBOXLAYOUT ) -{ - hb_retptr( ( QHBoxLayout * ) new QHBoxLayout( hbqt_par_QWidget( 1 ) ) ); -} - - - - diff --git a/harbour/contrib/hbqt/qth/QHeaderView.qth b/harbour/contrib/hbqt/qth/QHeaderView.qth deleted file mode 100644 index e4b7400c6b..0000000000 --- a/harbour/contrib/hbqt/qth/QHeaderView.qth +++ /dev/null @@ -1,156 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractItemView -New = pParent - - - -#include - - -/* - * QHeaderView ( Qt::Orientation orientation, QWidget * parent = 0 ) - * virtual ~QHeaderView () - */ -HB_FUNC( QT_QHEADERVIEW ) -{ - hb_retptr( new QHeaderView( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); -} - - - -enum ResizeMode { Interactive, Fixed, Stretch, ResizeToContents, Custom } - - - -bool cascadingSectionResizes () const -int count () const -Qt::Alignment defaultAlignment () const -int defaultSectionSize () const -int hiddenSectionCount () const -void hideSection ( int logicalIndex ) -bool highlightSections () const -bool isClickable () const -bool isMovable () const -bool isSectionHidden ( int logicalIndex ) const -bool isSortIndicatorShown () const -int length () const -int logicalIndex ( int visualIndex ) const -int logicalIndexAt ( int position ) const -int logicalIndexAt ( int x, int y ) const -int logicalIndexAt ( const QPoint & pos ) const -int minimumSectionSize () const -void moveSection ( int from, int to ) -int offset () const -Qt::Orientation orientation () const -ResizeMode resizeMode ( int logicalIndex ) const -void resizeSection ( int logicalIndex, int size ) -void resizeSections ( QHeaderView::ResizeMode mode ) -bool restoreState ( const QByteArray & state ) -QByteArray saveState () const -int sectionPosition ( int logicalIndex ) const -int sectionSize ( int logicalIndex ) const -int sectionSizeHint ( int logicalIndex ) const -int sectionViewportPosition ( int logicalIndex ) const -bool sectionsHidden () const -bool sectionsMoved () const -void setCascadingSectionResizes ( bool enable ) -void setClickable ( bool clickable ) -void setDefaultAlignment ( Qt::Alignment alignment ) -void setDefaultSectionSize ( int size ) -void setHighlightSections ( bool highlight ) -void setMinimumSectionSize ( int size ) -void setMovable ( bool movable ) -void setResizeMode ( ResizeMode mode ) -void setResizeMode ( int logicalIndex, ResizeMode mode ) -void setSectionHidden ( int logicalIndex, bool hide ) -void setSortIndicator ( int logicalIndex, Qt::SortOrder order ) -void setSortIndicatorShown ( bool show ) -void setStretchLastSection ( bool stretch ) -void showSection ( int logicalIndex ) -virtual QSize sizeHint () const -Qt::SortOrder sortIndicatorOrder () const -int sortIndicatorSection () const -bool stretchLastSection () const -int stretchSectionCount () const -void swapSections ( int first, int second ) -int visualIndex ( int logicalIndex ) const -int visualIndexAt ( int position ) const - - - -void headerDataChanged ( Qt::Orientation orientation, int logicalFirst, int logicalLast ) -void setOffset ( int offset ) -void setOffsetToLastSection () -void setOffsetToSectionPosition ( int visualIndex ) - - - -void geometriesChanged () -void sectionAutoResize ( int logicalIndex, QHeaderView::ResizeMode mode ) -void sectionClicked ( int logicalIndex ) -void sectionCountChanged ( int oldCount, int newCount ) -void sectionDoubleClicked ( int logicalIndex ) -void sectionEntered ( int logicalIndex ) -void sectionHandleDoubleClicked ( int logicalIndex ) -void sectionMoved ( int logicalIndex, int oldVisualIndex, int newVisualIndex ) -void sectionPressed ( int logicalIndex ) -void sectionResized ( int logicalIndex, int oldSize, int newSize ) -void sortIndicatorChanged ( int logicalIndex, Qt::SortOrder order ) - - diff --git a/harbour/contrib/hbqt/qth/QHelpEvent.qth b/harbour/contrib/hbqt/qth/QHelpEvent.qth deleted file mode 100644 index 5044fee730..0000000000 --- a/harbour/contrib/hbqt/qth/QHelpEvent.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QHelpEvent ( Type type, const QPoint & pos, const QPoint & globalPos ) - * - */ -HB_FUNC( QT_QHELPEVENT ) -{ - // hb_retptr( new QHelpEvent() ); -} - - - - - - -const QPoint & globalPos () const -int globalX () const -int globalY () const -const QPoint & pos () const -int x () const -int y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QHideEvent.qth b/harbour/contrib/hbqt/qth/QHideEvent.qth deleted file mode 100644 index adcc1b28cc..0000000000 --- a/harbour/contrib/hbqt/qth/QHideEvent.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QHideEvent () - */ -HB_FUNC( QT_QHIDEEVENT ) -{ - // hb_retptr( new QHideEvent() ); -} - - - - - - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QHttp.qth b/harbour/contrib/hbqt/qth/QHttp.qth deleted file mode 100644 index 5d7114f3b9..0000000000 --- a/harbour/contrib/hbqt/qth/QHttp.qth +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - -; Header File to Generate Sources -; - - -Inherit = QObject -New = pParent - - - -#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 () - */ -HB_FUNC( QT_QHTTP ) -{ - hb_retptr( new QHttp( hbqt_par_QObject( 1 ) ) ); -} - -/* - * 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 ); -} - - - -enum ConnectionMode { ConnectionModeHttp, ConnectionModeHttps } -enum Error { NoError, HostNotFound, ConnectionRefused, UnexpectedClose, ..., UnknownError } -enum State { Unconnected, HostLookup, Connecting, Sending, ..., Closing } - - - -qint64 bytesAvailable () const -void clearPendingRequests () -int close () -QIODevice * currentDestinationDevice () const -int currentId () const -QHttpRequestHeader currentRequest () const -QIODevice * currentSourceDevice () const -Error error () const -QString errorString () const -int get ( const QString & path, QIODevice * to = 0 ) -bool hasPendingRequests () const -int head ( const QString & path ) -QHttpResponseHeader lastResponse () const -int post ( const QString & path, QIODevice * data, QIODevice * to = 0 ) -int post ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) -# -# NEVER UNCOMMENT IT -// qint64 read ( char * data, qint64 maxlen ) -# -# -QByteArray readAll () -int request ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) -int request ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) -int setHost ( const QString & hostName, quint16 port = 80 ) -int setHost ( const QString & hostName, ConnectionMode mode, quint16 port = 0 ) -int setProxy ( const QString & host, int port, const QString & username = QString(), const QString & password = QString() ) -// int setProxy ( const QNetworkProxy & proxy ) -// int setSocket ( QTcpSocket * socket ) -int setUser ( const QString & userName, const QString & password = QString() ) -State state () const - - - -void abort () -//void ignoreSslErrors () - - - -void authenticationRequired ( const QString & hostname, quint16 port, QAuthenticator * authenticator ) -void dataReadProgress ( int done, int total ) -void dataSendProgress ( int done, int total ) -void done ( bool error ) -// void proxyAuthenticationRequired ( const QNetworkProxy & proxy, QAuthenticator * authenticator ) -void readyRead ( const QHttpResponseHeader & resp ) -void requestFinished ( int id, bool error ) -void requestStarted ( int id ) -void responseHeaderReceived ( const QHttpResponseHeader & resp ) -void sslErrors ( const QList & errors ) -void stateChanged ( int state ) - diff --git a/harbour/contrib/hbqt/qth/QHttpHeader.qth b/harbour/contrib/hbqt/qth/QHttpHeader.qth deleted file mode 100644 index 7de190a44f..0000000000 --- a/harbour/contrib/hbqt/qth/QHttpHeader.qth +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = no - - - -#include - - -/* - * QHttpHeader () - * QHttpHeader ( const QHttpHeader & header ) - * QHttpHeader ( const QString & str ) - * virtual ~QHttpHeader () - */ -HB_FUNC( QT_QHTTPHEADER ) -{ - -} - - - - - - -void addValue ( const QString & key, const QString & value ) -QStringList allValues ( const QString & key ) const -uint contentLength () const -QString contentType () const -bool hasContentLength () const -bool hasContentType () const -bool hasKey ( const QString & key ) const -bool isValid () const -QStringList keys () const -virtual int majorVersion () const = 0 -virtual int minorVersion () const = 0 -void removeAllValues ( const QString & key ) -void removeValue ( const QString & key ) -void setContentLength ( int len ) -void setContentType ( const QString & type ) -void setValue ( const QString & key, const QString & value ) -void setValues ( const QList > & values ) -virtual QString toString () const -QString value ( const QString & key ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QHttpRequestHeader.qth b/harbour/contrib/hbqt/qth/QHttpRequestHeader.qth deleted file mode 100644 index 0472cfe099..0000000000 --- a/harbour/contrib/hbqt/qth/QHttpRequestHeader.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QHttpHeader -Type = Core -New = -Destructor = - - - -#include - - -/* QHttpRequestHeader () - * QHttpRequestHeader ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - * QHttpRequestHeader ( const QHttpRequestHeader & header ) - * QHttpRequestHeader ( const QString & str ) - */ -HB_FUNC( QT_QHTTPREQUESTHEADER ) -{ - hb_retptr( new QHttpRequestHeader() ); -} - - - - - - -virtual int majorVersion () const -QString method () const -virtual int minorVersion () const -QString path () const -void setRequest ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QHttpResponseHeader.qth b/harbour/contrib/hbqt/qth/QHttpResponseHeader.qth deleted file mode 100644 index f778558233..0000000000 --- a/harbour/contrib/hbqt/qth/QHttpResponseHeader.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QHttpHeader -Type = Core -New = -Destructor = - - - -#include - - -/* QHttpResponseHeader () - * QHttpResponseHeader ( const QHttpResponseHeader & header ) - * QHttpResponseHeader ( const QString & str ) - * QHttpResponseHeader ( int code, const QString & text = QString(), int majorVer = 1, int minorVer = 1 ) - */ -HB_FUNC( QT_QHTTPRESPONSEHEADER ) -{ - hb_retptr( new QHttpResponseHeader() ); -} - - - - - - -virtual int majorVersion () const -virtual int minorVersion () const -QString reasonPhrase () const -void setStatusLine ( int code, const QString & text = QString(), int majorVer = 1, int minorVer = 1 ) -int statusCode () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QIODevice.qth b/harbour/contrib/hbqt/qth/QIODevice.qth deleted file mode 100644 index 3ef83c8aba..0000000000 --- a/harbour/contrib/hbqt/qth/QIODevice.qth +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QIODevice () - * QIODevice ( QObject * parent ) - * virtual ~QIODevice () - */ -HB_FUNC( QT_QIODEVICE ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - // hb_retptr( new QIODevice( hbqt_par_QObject( 1 ) ) ); - } -} - - - -flags OpenMode -enum OpenModeFlag { NotOpen, ReadOnly, WriteOnly, ReadWrite, ..., Unbuffered } - - - -virtual bool atEnd () const -virtual qint64 bytesAvailable () const -virtual qint64 bytesToWrite () const -virtual bool canReadLine () const -virtual void close () -QString errorString () const -bool getChar ( char * c ) -bool isOpen () const -bool isReadable () const -virtual bool isSequential () const -bool isTextModeEnabled () const -bool isWritable () const -virtual bool open ( OpenMode mode ) -OpenMode openMode () const -qint64 peek ( char * data, qint64 maxSize ) -QByteArray peek ( qint64 maxSize ) -virtual qint64 pos () const -bool putChar ( char c ) -qint64 read ( char * data, qint64 maxSize ) -QByteArray read ( qint64 maxSize ) -QByteArray readAll () -qint64 readLine ( char * data, qint64 maxSize ) -QByteArray readLine ( qint64 maxSize = 0 ) -virtual bool reset () -virtual bool seek ( qint64 pos ) -void setTextModeEnabled ( bool enabled ) -virtual qint64 size () const -void ungetChar ( char c ) -virtual bool waitForBytesWritten ( int msecs ) -virtual bool waitForReadyRead ( int msecs ) -qint64 write ( const char * data, qint64 maxSize ) -qint64 write ( const char * data ) -qint64 write ( const QByteArray & byteArray ) - - - - - - -void aboutToClose () -void bytesWritten ( qint64 bytes ) -void readChannelFinished () -void readyRead () - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QIcon.qth b/harbour/contrib/hbqt/qth/QIcon.qth deleted file mode 100644 index 2d4bff16b0..0000000000 --- a/harbour/contrib/hbqt/qth/QIcon.qth +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oIcon := QIcon():new() -oIcon := QIcon():new( cFileName ) -oIcon := QIcon():new( pQPixmap ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QIcon* ) new QIcon( hbqt_par_QString( 1 ) ) ); - } - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QIcon* ) new QIcon( *hbqt_par_QPixmap( 1 ) ) ); - } - else - { - hb_retptr( ( QIcon* ) new QIcon() ); - } -} - - - -enum Mode { Normal, Disabled, Active, Selected } -enum State { Off, On } - - - -QSize actualSize ( const QSize & size, Mode mode = Normal, State state = Off ) const -void addFile ( const QString & fileName, const QSize & size = QSize(), Mode mode = Normal, State state = Off ) -void addPixmap ( const QPixmap & pixmap, Mode mode = Normal, State state = Off ) -QList availableSizes ( Mode mode = Normal, State state = Off ) const -qint64 cacheKey () const -bool isNull () const -void paint ( QPainter * painter, const QRect & rect, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const -void paint ( QPainter * painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) const -QPixmap pixmap ( const QSize & size, Mode mode = Normal, State state = Off ) const -QPixmap pixmap ( int w, int h, Mode mode = Normal, State state = Off ) const -QPixmap pixmap ( int extent, Mode mode = Normal, State state = Off ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QImage.qth b/harbour/contrib/hbqt/qth/QImage.qth deleted file mode 100644 index 65b2ed287d..0000000000 --- a/harbour/contrib/hbqt/qth/QImage.qth +++ /dev/null @@ -1,209 +0,0 @@ - -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oImage := QImage():new() -oImage := QImage():new( pQSize, cFormat ) -oImage := QImage():new( iWidth, iHeight, cFormat ) -oImage := QImage():new( @cData, iWidth, iHeight, cFormat ) -oImage := QImage():new( cData , iWidth, iHeight, cFormat ) -oImage := QImage():new( @cData, iWidth, iHeight, iBytesPerLine, cFormat ) -oImage := QImage():new( cData , iWidth, iHeight, iBytesPerLine, cFormat ) -oImage := QImage():new( cFileName [, cFormat ] ) -oImage := QImage():new( pQImage ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QImage* ) new QImage( *hbqt_par_QImage( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QImage* ) new QImage( hbqt_par_QString( 1 ), ( const char * ) 0 ) ); - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - hb_retptr( ( QImage* ) new QImage( hbqt_par_QString( 1 ), ( const char * ) hb_parcx( 2 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QImage* ) new QImage( ( const uchar * ) hb_parc( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( QImage::Format ) hb_parni( 5 ) ) ); - } - else - { - hb_retptr( ( QImage* ) new QImage() ); - } -} - - - -enum Format { Format_Invalid, Format_Mono, Format_MonoLSB, Format_Indexed8, ..., Format_ARGB4444_Premultiplied } -enum InvertMode { InvertRgb, InvertRgba } - - - -bool allGray () const -QImage alphaChannel () const -uchar * bits () -const uchar * bits () const -int bytesPerLine () const -qint64 cacheKey () const -QRgb color ( int i ) const -QVector colorTable () const -QImage convertToFormat ( Format format, Qt::ImageConversionFlags flags = Qt::AutoColor ) const -QImage convertToFormat ( Format format, const QVector & colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor ) const -QImage copy ( const QRect & rectangle = QRect() ) const -QImage copy ( int x, int y, int width, int height ) const -QImage createAlphaMask ( Qt::ImageConversionFlags flags = Qt::AutoColor ) const -QImage createHeuristicMask ( bool clipTight = true ) const -QImage createMaskFromColor ( QRgb color, Qt::MaskMode mode = Qt::MaskInColor ) const -int depth () const -int dotsPerMeterX () const -int dotsPerMeterY () const -void fill ( uint pixelValue ) -Format format () const -bool hasAlphaChannel () const -int height () const -void invertPixels ( InvertMode mode = InvertRgb ) -bool isGrayscale () const -bool isNull () const -bool load ( const QString & fileName, const char * format = 0 ) -bool load ( QIODevice * device, const char * format ) -// bool loadFromData ( const uchar * data, int len, const char * format = 0 ) -bool loadFromData ( const QByteArray & data, const char * format = 0 ) -QImage mirrored ( bool horizontal = false, bool vertical = true ) const -int numBytes () const -int numColors () const -QPoint offset () const -QRgb pixel ( const QPoint & position ) const -QRgb pixel ( int x, int y ) const -int pixelIndex ( const QPoint & position ) const -int pixelIndex ( int x, int y ) const -QRect rect () const -QImage rgbSwapped () const -bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const -bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const -QImage scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const -QImage scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const -QImage scaledToHeight ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) const -QImage scaledToWidth ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) const -uchar * scanLine ( int i ) -const uchar * scanLine ( int i ) const -void setColor ( int index, QRgb colorValue ) -void setColorTable ( const QVector colors ) -void setDotsPerMeterX ( int x ) -void setDotsPerMeterY ( int y ) -void setNumColors ( int numColors ) -void setOffset ( const QPoint & offset ) -void setPixel ( const QPoint & position, uint index_or_rgb ) -void setPixel ( int x, int y, uint index_or_rgb ) -void setText ( const QString & key, const QString & text ) -QSize size () const -QString text ( const QString & key = QString() ) const -QStringList textKeys () const -QImage transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const -QImage transformed ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const -bool valid ( const QPoint & pos ) const -bool valid ( int x, int y ) const -int width () const - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QImageReader.qth b/harbour/contrib/hbqt/qth/QImageReader.qth deleted file mode 100644 index f4ac646438..0000000000 --- a/harbour/contrib/hbqt/qth/QImageReader.qth +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include -#include - - -/* - * QImageReader () - * QImageReader ( QIODevice * device, const QByteArray & format = QByteArray() ) - * QImageReader ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QImageReader () - */ -HB_FUNC( QT_QIMAGEREADER ) -{ - hb_retptr( ( QImageReader* ) new QImageReader() ); -} - - - -enum ImageReaderError { FileNotFoundError, DeviceError, UnsupportedFormatError, InvalidDataError, UnknownError } - - - -bool autoDetectImageFormat () const -QColor backgroundColor () const -bool canRead () const -QRect clipRect () const -int currentImageNumber () const -QRect currentImageRect () const -QIODevice * device () const -ImageReaderError error () const -QString errorString () const -QString fileName () const -QByteArray format () const -int imageCount () const -QImage::Format imageFormat () const -bool jumpToImage ( int imageNumber ) -bool jumpToNextImage () -int loopCount () const -int nextImageDelay () const -int quality () const -QImage read () -bool read ( QImage * image ) -QRect scaledClipRect () const -QSize scaledSize () const -void setAutoDetectImageFormat ( bool enabled ) -void setBackgroundColor ( const QColor & color ) -void setClipRect ( const QRect & rect ) -void setDevice ( QIODevice * device ) -void setFileName ( const QString & fileName ) -void setFormat ( const QByteArray & format ) -void setQuality ( int quality ) -void setScaledClipRect ( const QRect & rect ) -void setScaledSize ( const QSize & size ) -QSize size () const -bool supportsAnimation () const -bool supportsOption ( QImageIOHandler::ImageOption option ) const -QString text ( const QString & key ) const -QStringList textKeys () const - -QByteArray imageFormat ( const QString & fileName ) -QByteArray imageFormat ( QIODevice * device ) -QList supportedImageFormats () - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QImageWriter.qth b/harbour/contrib/hbqt/qth/QImageWriter.qth deleted file mode 100644 index 770a24e6f4..0000000000 --- a/harbour/contrib/hbqt/qth/QImageWriter.qth +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QImageWriter () - * QImageWriter ( QIODevice * device, const QByteArray & format ) - * QImageWriter ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QImageWriter () - */ -HB_FUNC( QT_QIMAGEWRITER ) -{ - hb_retptr( ( QImageWriter* ) new QImageWriter() ); -} - - - -enum ImageWriterError { DeviceError, UnsupportedFormatError, UnknownError } - - - -bool canWrite () const -int compression () const -QIODevice * device () const -ImageWriterError error () const -QString errorString () const -QString fileName () const -QByteArray format () const -float gamma () const -int quality () const -void setCompression ( int compression ) -void setDevice ( QIODevice * device ) -void setFileName ( const QString & fileName ) -void setFormat ( const QByteArray & format ) -void setGamma ( float gamma ) -void setQuality ( int quality ) -void setText ( const QString & key, const QString & text ) -bool supportsOption ( QImageIOHandler::ImageOption option ) const -bool write ( const QImage & image ) - -QList supportedImageFormats () - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QInputContext.qth b/harbour/contrib/hbqt/qth/QInputContext.qth deleted file mode 100644 index ec1d5e9fd0..0000000000 --- a/harbour/contrib/hbqt/qth/QInputContext.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include -#include - -/* QInputContext ( QObject * parent = 0 ) - * virtual ~QInputContext () - */ -HB_FUNC( QT_QINPUTCONTEXT ) -{ - // hb_retptr( new QInputContext() ); -} - - - -enum StandardFormat { PreeditFormat, SelectionFormat } - - - -virtual QList actions () -virtual bool filterEvent ( const QEvent * event ) -virtual QFont font () const -virtual QString identifierName () = 0 -virtual bool isComposing () const = 0 -virtual QString language () = 0 -virtual void mouseHandler ( int x, QMouseEvent * event ) -virtual void reset () = 0 -void sendEvent ( const QInputMethodEvent & event ) -QTextFormat standardFormat ( StandardFormat s ) const -virtual void update () -virtual void widgetDestroyed ( QWidget * widget ) -// virtual bool x11FilterEvent ( QWidget * keywidget, XEvent * event ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QInputDialog.qth b/harbour/contrib/hbqt/qth/QInputDialog.qth deleted file mode 100644 index 50a75b442c..0000000000 --- a/harbour/contrib/hbqt/qth/QInputDialog.qth +++ /dev/null @@ -1,138 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent, nFlags - - - -#include - - -/* - * QInputDialog ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QInputDialog () - */ -HB_FUNC( QT_QINPUTDIALOG ) -{ - hb_retptr( ( QInputDialog * ) new QInputDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -enum InputDialogOption { NoButtons, UseListViewForComboBoxItems } -enum InputMode { TextInput, IntInput, DoubleInput } -flags InputDialogOptions - - - -QString cancelButtonText () const -QStringList comboBoxItems () const -virtual void done ( int result ) -int doubleDecimals () const -double doubleMaximum () const -double doubleMinimum () const -double doubleValue () const -InputMode inputMode () const -int intMaximum () const -int intMinimum () const -int intStep () const -int intValue () const -bool isComboBoxEditable () const -QString labelText () const -QString okButtonText () const -void open ( QObject * receiver, const char * member ) -InputDialogOptions options () const -void setCancelButtonText ( const QString & text ) -void setComboBoxEditable ( bool editable ) -void setComboBoxItems ( const QStringList & items ) -void setDoubleDecimals ( int decimals ) -void setDoubleMaximum ( double max ) -void setDoubleMinimum ( double min ) -void setDoubleRange ( double min, double max ) -void setDoubleValue ( double value ) -void setInputMode ( InputMode mode ) -void setIntMaximum ( int max ) -void setIntMinimum ( int min ) -void setIntRange ( int min, int max ) -void setIntStep ( int step ) -void setIntValue ( int value ) -void setLabelText ( const QString & text ) -void setOkButtonText ( const QString & text ) -void setOption ( InputDialogOption option, bool on = true ) -void setOptions ( InputDialogOptions options ) -void setTextEchoMode ( QLineEdit::EchoMode mode ) -void setTextValue ( const QString & text ) -bool testOption ( InputDialogOption option ) const -QLineEdit::EchoMode textEchoMode () const -QString textValue () const - -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 ) -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 ) -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 ) -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 ) - - - -void doubleValueChanged ( double value ) -void doubleValueSelected ( double value ) -void intValueChanged ( int value ) -void intValueSelected ( int value ) -void textValueChanged ( const QString & text ) -void textValueSelected ( const QString & text ) - - diff --git a/harbour/contrib/hbqt/qth/QInputEvent.qth b/harbour/contrib/hbqt/qth/QInputEvent.qth deleted file mode 100644 index b673ccbbe2..0000000000 --- a/harbour/contrib/hbqt/qth/QInputEvent.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Parameters -New = - - - -#include -#include - -/* - * - * - */ -HB_FUNC( QT_QINPUTEVENT ) -{ - hb_retptr( ( QInputEvent* ) new QInputEvent( ( QEvent::Type ) hb_parni( 1 ), ( Qt::KeyboardModifiers ) hb_parni( 2 ) ) ); -} - - - - - - -Qt::KeyboardModifiers modifiers () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QInputMethodEvent.qth b/harbour/contrib/hbqt/qth/QInputMethodEvent.qth deleted file mode 100644 index 8f3b52282b..0000000000 --- a/harbour/contrib/hbqt/qth/QInputMethodEvent.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = -Destructor = - - - -#include - - -/* QInputMethodEvent () - * QInputMethodEvent ( const QString & preeditText, const QList & attributes ) - * QInputMethodEvent ( const QInputMethodEvent & other ) - */ -HB_FUNC( QT_QINPUTMETHODEVENT ) -{ - hb_retptr( new QInputMethodEvent() ); -} - - - -enum AttributeType { TextFormat, Cursor, Language, Ruby } - - - -const QList & attributes () const -const QString & commitString () const -const QString & preeditString () const -int replacementLength () const -int replacementStart () const -void setCommitString ( const QString & commitString, int replaceFrom = 0, int replaceLength = 0 ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QItemSelection.qth b/harbour/contrib/hbqt/qth/QItemSelection.qth deleted file mode 100644 index b1be5017bd..0000000000 --- a/harbour/contrib/hbqt/qth/QItemSelection.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QList -Type = Core -New = -Destructor = - - - -#include - - -/* QItemSelection () - * QItemSelection ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - */ -HB_FUNC( QT_QITEMSELECTION ) -{ - hb_retptr( new QItemSelection() ); -} - - - - - - -bool contains ( const QModelIndex & index ) const -// QModelIndexList indexes () const -void merge ( const QItemSelection & other, QItemSelectionModel::SelectionFlags command ) -void select ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - -// void split ( const QItemSelectionRange & range, const QItemSelectionRange & other, QItemSelection * result ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QItemSelectionModel.qth b/harbour/contrib/hbqt/qth/QItemSelectionModel.qth deleted file mode 100644 index 2720fcbd4c..0000000000 --- a/harbour/contrib/hbqt/qth/QItemSelectionModel.qth +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include - - -/* QItemSelectionModel ( QAbstractItemModel * model ) - * QItemSelectionModel ( QAbstractItemModel * model, QObject * parent ) - * virtual ~QItemSelectionModel () - */ -HB_FUNC( QT_QITEMSELECTIONMODEL ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QItemSelectionModel( hbqt_par_QAbstractItemModel( 1 ) ) ); - } -} - - - -enum SelectionFlag { NoUpdate, Clear, Select, Deselect, ..., ClearAndSelect } -flags SelectionFlags - - - -bool columnIntersectsSelection ( int column, const QModelIndex & parent ) const -QModelIndex currentIndex () const -bool hasSelection () const -bool isColumnSelected ( int column, const QModelIndex & parent ) const -bool isRowSelected ( int row, const QModelIndex & parent ) const -bool isSelected ( const QModelIndex & index ) const -const QAbstractItemModel * model () const -bool rowIntersectsSelection ( int row, const QModelIndex & parent ) const -// QModelIndexList selectedColumns ( int row = 0 ) const -// QModelIndexList selectedIndexes () const -// QModelIndexList selectedRows ( int column = 0 ) const -const QItemSelection selection () const - - - -virtual void clear () -void clearSelection () -virtual void reset () -virtual void select ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) -virtual void select ( const QItemSelection & selection, QItemSelectionModel::SelectionFlags command ) -void setCurrentIndex ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) - - - -void currentChanged ( const QModelIndex & current, const QModelIndex & previous ) -void currentColumnChanged ( const QModelIndex & current, const QModelIndex & previous ) -void currentRowChanged ( const QModelIndex & current, const QModelIndex & previous ) -void selectionChanged ( const QItemSelection & selected, const QItemSelection & deselected ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QKeyEvent.qth b/harbour/contrib/hbqt/qth/QKeyEvent.qth deleted file mode 100644 index 41f269d872..0000000000 --- a/harbour/contrib/hbqt/qth/QKeyEvent.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QInputEvent -Type = Core -New = - - - -#include - - -/* - * QKeyEvent ( Type type, int key, Qt::KeyboardModifiers modifiers, const QString & text = QString(), bool autorep = false, ushort count = 1 ) - * ~QKeyEvent () - */ -HB_FUNC( QT_QKEYEVENT ) -{ - //hb_retptr( ( QKeyEvent * ) new QKeyEvent( *hbqt_par_QKeyEvent( 1 ) ) ); -} - - - - - - -int count () const -bool isAutoRepeat () const -int key () const -bool matches ( QKeySequence::StandardKey key ) const -Qt::KeyboardModifiers modifiers () const -quint32 nativeModifiers () const -quint32 nativeScanCode () const -quint32 nativeVirtualKey () const -QString text () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QKeySequence.qth b/harbour/contrib/hbqt/qth/QKeySequence.qth deleted file mode 100644 index 2193042da0..0000000000 --- a/harbour/contrib/hbqt/qth/QKeySequence.qth +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#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 ) -{ - if( HB_ISPOINTER( 1 ) ) - hb_retptr( ( QKeySequence * ) new QKeySequence( *hbqt_par_QKeySequence( 1 ) ) ); - else if( HB_ISCHAR( 1 ) ) - hb_retptr( ( QKeySequence * ) new QKeySequence( hbqt_par_QString( 1 ) ) ); - else if( HB_ISNUM( 1 ) ) - hb_retptr( ( QKeySequence * ) new QKeySequence( hb_parni( 1 ) ) ); - else - hb_retptr( ( QKeySequence * ) new QKeySequence() ); -} - - - -enum SequenceFormat { NativeText, PortableText } -enum SequenceMatch { NoMatch, PartialMatch, ExactMatch } -enum StandardKey { AddTab, Back, Bold, Close, ..., ZoomOut } - - - -uint count () const -bool isEmpty () const -SequenceMatch matches ( const QKeySequence & seq ) const -QString toString ( SequenceFormat format = PortableText ) const - -QKeySequence fromString ( const QString & str, SequenceFormat format = PortableText ) -QList keyBindings ( StandardKey key ) -QKeySequence mnemonic ( const QString & text ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QLCDNumber.qth b/harbour/contrib/hbqt/qth/QLCDNumber.qth deleted file mode 100644 index 2416edf2cc..0000000000 --- a/harbour/contrib/hbqt/qth/QLCDNumber.qth +++ /dev/null @@ -1,112 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QFrame -New = pParent - - - -#include - - -/* - * QLCDNumber ( QWidget * parent = 0 ) - * QLCDNumber ( uint numDigits, QWidget * parent = 0 ) - * ~QLCDNumber () - */ -HB_FUNC( QT_QLCDNUMBER ) -{ - hb_retptr( ( QLCDNumber * ) new QLCDNumber( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum Mode { Hex, Dec, Oct, Bin } -enum SegmentStyle { Outline, Filled, Flat } - - - -bool checkOverflow ( double num ) const -bool checkOverflow ( int num ) const -int intValue () const -Mode mode () const -int numDigits () const -SegmentStyle segmentStyle () const -void setMode ( Mode ) -void setNumDigits ( int nDigits ) -void setSegmentStyle ( SegmentStyle ) -bool smallDecimalPoint () const -double value () const - - - -void display ( const QString & s ) -void display ( double num ) -void display ( int num ) -void setBinMode () -void setDecMode () -void setHexMode () -void setOctMode () -void setSmallDecimalPoint ( bool ) - - - -void overflow () - - - - diff --git a/harbour/contrib/hbqt/qth/QLabel.qth b/harbour/contrib/hbqt/qth/QLabel.qth deleted file mode 100644 index fc7cc186f6..0000000000 --- a/harbour/contrib/hbqt/qth/QLabel.qth +++ /dev/null @@ -1,116 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QFrame -New = pParent, nFlags - - - -#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 ) -{ - hb_retptr( new QLabel( hbqt_par_QWidget( 1 ), HB_ISNUM( 2 ) ? ( Qt::WindowFlags ) hb_parni( 2 ) : ( Qt::WindowFlags ) 0 ) ); -} - - - -Qt::Alignment alignment () const -QWidget * buddy () const -bool hasScaledContents () const -int indent () const -int margin () const -QMovie * movie () const -bool openExternalLinks () const -const QPicture * picture () const -const QPixmap * pixmap () const -void setAlignment ( Qt::Alignment ) -void setBuddy ( QWidget * buddy ) -void setIndent ( int ) -void setMargin ( int ) -void setOpenExternalLinks ( bool open ) -void setScaledContents ( bool ) -void setTextFormat ( Qt::TextFormat ) -void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) -void setWordWrap ( bool on ) -QString text () const -Qt::TextFormat textFormat () const -Qt::TextInteractionFlags textInteractionFlags () const -bool wordWrap () const - - - -void clear () -void setMovie ( QMovie * movie ) -void setNum ( int num ) -void setNum ( double num ) -void setPicture ( const QPicture & picture ) -void setPixmap ( const QPixmap & ) -void setText ( const QString & ) - - - -void linkActivated ( const QString & link ) -void linkHovered ( const QString & link ) - diff --git a/harbour/contrib/hbqt/qth/QLatin1Char.qth b/harbour/contrib/hbqt/qth/QLatin1Char.qth deleted file mode 100644 index f90b0e42ca..0000000000 --- a/harbour/contrib/hbqt/qth/QLatin1Char.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QLatin1Char ( char c ) - */ -HB_FUNC( QT_QLATIN1CHAR ) -{ - hb_retptr( ( QLatin1Char* ) new QLatin1Char( *hb_parcx( 1 ) ) ); -} - - - - - - -char toLatin1 () const -ushort unicode () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QLatin1String.qth b/harbour/contrib/hbqt/qth/QLatin1String.qth deleted file mode 100644 index 260d9cf41c..0000000000 --- a/harbour/contrib/hbqt/qth/QLatin1String.qth +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QLatin1String ( const char * str ) - */ -HB_FUNC( QT_QLATIN1STRING ) -{ - hb_retptr( ( QLatin1String* ) new QLatin1String( hb_parcx( 1 ) ) ); -} - - - - - - -const char * latin1 () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QLayout.qth b/harbour/contrib/hbqt/qth/QLayout.qth deleted file mode 100644 index 5d14d8d525..0000000000 --- a/harbour/contrib/hbqt/qth/QLayout.qth +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QObject, QLayoutItem -New = pParent - - - -#include - - -/* - * QLayout ( QWidget * parent ) - * QLayout () - */ -HB_FUNC( QT_QLAYOUT ) -{ - -} - - - -enum SizeConstraint { SetDefaultConstraint, SetFixedSize, SetMinimumSize, SetMaximumSize, SetMinAndMaxSize, SetNoConstraint } - - - -bool activate () -virtual void addItem ( QLayoutItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QLAYOUT_ADDITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QLAYOUT_ADDITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QLayout( 1 )->addItem( hbqt_par_QLayoutItem( 2 ) ); - } -} -void addWidget ( QWidget * w ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QLAYOUT_ADDWIDGET()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QLAYOUT_ADDWIDGET() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ) ); - } -} -QRect contentsRect () const -virtual int count () const = 0 -virtual Qt::Orientations expandingDirections () const -void getContentsMargins ( int * left, int * top, int * right, int * bottom ) const -virtual int indexOf ( QWidget * widget ) const -bool isEnabled () const -virtual QLayoutItem * itemAt ( int index ) const = 0 -virtual QSize maximumSize () const -QWidget * menuBar () const -virtual QSize minimumSize () const -QWidget * parentWidget () const -void removeItem ( QLayoutItem * item ) -void removeWidget ( QWidget * widget ) -bool setAlignment ( QWidget * w, Qt::Alignment alignment ) -void setAlignment ( Qt::Alignment alignment ) -bool setAlignment ( QLayout * l, Qt::Alignment alignment ) -void setContentsMargins ( int left, int top, int right, int bottom ) -void setEnabled ( bool enable ) -void setMenuBar ( QWidget * widget ) -void setSizeConstraint ( SizeConstraint ) -void setSpacing ( int ) -SizeConstraint sizeConstraint () const -int spacing () const -virtual QLayoutItem * takeAt ( int index ) = 0 -void update () - -QSize closestAcceptableSize ( const QWidget * widget, const QSize & size ) - - diff --git a/harbour/contrib/hbqt/qth/QLayoutItem.qth b/harbour/contrib/hbqt/qth/QLayoutItem.qth deleted file mode 100644 index e196194d8e..0000000000 --- a/harbour/contrib/hbqt/qth/QLayoutItem.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = pParent - - - -#include - - -/* - * QLayoutItem ( Qt::Alignment alignment = 0 ) - * virtual ~QLayoutItem () - */ -HB_FUNC( QT_QLAYOUTITEM ) -{ - -} - - - -Qt::Alignment alignment () const -QSizePolicy::ControlTypes controlTypes () const -virtual Qt::Orientations expandingDirections () const = 0 -virtual QRect geometry () const = 0 -virtual bool hasHeightForWidth () const -virtual int heightForWidth ( int w ) const -virtual void invalidate () -virtual bool isEmpty () const = 0 -virtual QLayout * layout () -virtual QSize maximumSize () const = 0 -virtual int minimumHeightForWidth ( int w ) const -virtual QSize minimumSize () const = 0 -void setAlignment ( Qt::Alignment alignment ) -virtual void setGeometry ( const QRect & r ) = 0 -virtual QSize sizeHint () const = 0 -virtual QSpacerItem * spacerItem () -virtual QWidget * widget () - - - diff --git a/harbour/contrib/hbqt/qth/QLibraryInfo.qth b/harbour/contrib/hbqt/qth/QLibraryInfo.qth deleted file mode 100644 index f87f44cff0..0000000000 --- a/harbour/contrib/hbqt/qth/QLibraryInfo.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = -Type = Core -New = - - - -#include - - -/* - * - */ -HB_FUNC( QT_QLIBRARYINFO ) -{ - hb_retptr( ( QLibraryInfo* ) new QLibraryInfo() ); -} - - - -enum LibraryLocation { PrefixPath, DocumentationPath, HeadersPath, LibrariesPath, ..., DemosPath } - - - -QString buildKey () -QString licensedProducts () -QString licensee () -QString location ( LibraryLocation loc ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QLine.qth b/harbour/contrib/hbqt/qth/QLine.qth deleted file mode 100644 index 6cf9d682c8..0000000000 --- a/harbour/contrib/hbqt/qth/QLine.qth +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oLine := QLine():new() -oLine := QLine():new( pQLine ) -oLine := QLine():new( pQPoint_p1, pQPoint_p2 ) -oLine := QLine():new( nX1, nY1, nX2, nY2 ) - - - -#include - - -/* - * QLine () - * QLine ( const QPoint & p1, const QPoint & p2 ) - * QLine ( int x1, int y1, int x2, int y2 ) - */ -HB_FUNC( QT_QLINE ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QLine* ) new QLine( *hbqt_par_QLine( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QLine* ) new QLine( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ); - } - else - { - hb_retptr( ( QLine* ) new QLine() ); - } -} - - - - - - -QPoint p1 () const -QPoint p2 () const -int x1 () const -int x2 () const -int y1 () const -int y2 () const -int dx () const -int dy () const -bool isNull () const -void setP1 ( const QPoint & p1 ) -void setP2 ( const QPoint & p2 ) -void setLine ( int x1, int y1, int x2, int y2 ) -void setPoints ( const QPoint & p1, const QPoint & p2 ) -void translate ( const QPoint & offset ) -void translate ( int dx, int dy ) -QLine translated ( const QPoint & offset ) const -QLine translated ( int dx, int dy ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QLineEdit.qth b/harbour/contrib/hbqt/qth/QLineEdit.qth deleted file mode 100644 index 385e5da05e..0000000000 --- a/harbour/contrib/hbqt/qth/QLineEdit.qth +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include -#include - - -/* - * QLineEdit ( QWidget * parent = 0 ) - * QLineEdit ( const QString & contents, QWidget * parent = 0 ) - * ~QLineEdit () - */ -HB_FUNC( QT_QLINEEDIT ) -{ - hb_retptr( ( QLineEdit* ) new QLineEdit( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum EchoMode { Normal, NoEcho, Password, PasswordEchoOnEdit } - - - -Qt::Alignment alignment () const -void backspace () -QCompleter * completer () const -QMenu * createStandardContextMenu () -void cursorBackward ( bool mark, int steps = 1 ) -void cursorForward ( bool mark, int steps = 1 ) -int cursorPosition () const -int cursorPositionAt ( const QPoint & pos ) -void cursorWordBackward ( bool mark ) -void cursorWordForward ( bool mark ) -void del () -void deselect () -QString displayText () const -bool dragEnabled () const -EchoMode echoMode () const -void end ( bool mark ) -void getTextMargins ( int * left, int * top, int * right, int * bottom ) const -bool hasAcceptableInput () const -bool hasFrame () const -bool hasSelectedText () const -void home ( bool mark ) -QString inputMask () const -void insert ( const QString & newText ) -bool isModified () const -bool isReadOnly () const -bool isRedoAvailable () const -bool isUndoAvailable () const -int maxLength () const -virtual QSize minimumSizeHint () const -QString selectedText () const -int selectionStart () const -void setAlignment ( Qt::Alignment flag ) -void setCompleter ( QCompleter * c ) -void setCursorPosition ( int ) -void setDragEnabled ( bool b ) -void setEchoMode ( EchoMode ) -void setFrame ( bool ) -void setInputMask ( const QString & inputMask ) -void setMaxLength ( int ) -void setModified ( bool ) -void setReadOnly ( bool ) -void setSelection ( int start, int length ) -void setTextMargins ( int left, int top, int right, int bottom ) -void setValidator ( const QValidator * v ) -virtual QSize sizeHint () const -QString text () const -virtual const QValidator * validator () const - - - -void clear () -void copy () const -void cut () -void paste () -void redo () -void selectAll () -void setText ( const QString & ) -void undo () - - - -void cursorPositionChanged ( int old, int new ) -void editingFinished () -void returnPressed () -void selectionChanged () -void textChanged ( const QString & text ) -void textEdited ( const QString & text ) - diff --git a/harbour/contrib/hbqt/qth/QLineF.qth b/harbour/contrib/hbqt/qth/QLineF.qth deleted file mode 100644 index af2e53e77d..0000000000 --- a/harbour/contrib/hbqt/qth/QLineF.qth +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QLineF () - * QLineF ( const QPointF & p1, const QPointF & p2 ) - * QLineF ( qreal x1, qreal y1, qreal x2, qreal y2 ) - * QLineF ( const QLine & line ) - */ -HB_FUNC( QT_QLINEF ) -{ - hb_retptr( new QLineF() ); -} - - - -enum IntersectType { NoIntersection, UnboundedIntersection, BoundedIntersection } - - - -QPointF p1 () const -QPointF p2 () const -qreal x1 () const -qreal x2 () const -qreal y1 () const -qreal y2 () const -qreal angle () const -qreal angleTo ( const QLineF & line ) const -qreal dx () const -qreal dy () const -IntersectType intersect ( const QLineF & line, QPointF * intersectionPoint ) const -bool isNull () const -qreal length () const -QLineF normalVector () const -QPointF pointAt ( qreal t ) const -void setP1 ( const QPointF & p1 ) -void setP2 ( const QPointF & p2 ) -void setAngle ( qreal angle ) -void setLength ( qreal length ) -void setLine ( qreal x1, qreal y1, qreal x2, qreal y2 ) -void setPoints ( const QPointF & p1, const QPointF & p2 ) -QLine toLine () const -void translate ( const QPointF & offset ) -void translate ( qreal dx, qreal dy ) -QLineF translated ( const QPointF & offset ) const -QLineF translated ( qreal dx, qreal dy ) const -QLineF unitVector () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QLinearGradient.qth b/harbour/contrib/hbqt/qth/QLinearGradient.qth deleted file mode 100644 index db7d4af866..0000000000 --- a/harbour/contrib/hbqt/qth/QLinearGradient.qth +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QGradient -Type = PlainObject -New = - - - -oLinearGradiant := QLinearGradiant():new() -oLinearGradiant := QLinearGradiant():new( pQLinearGradient ) -oLinearGradiant := QLinearGradiant():new( pQPointF_start, pQPointF_finalStop ) -oLinearGradiant := QLinearGradiant():new( nX1, nY1, nX2, nY2 ) - - - -#include - - -/* - * QLinearGradient () - * QLinearGradient ( const QPointF & start, const QPointF & finalStop ) - * QLinearGradient ( qreal x1, qreal y1, qreal x2, qreal y2 ) - */ -HB_FUNC( QT_QLINEARGRADIENT ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QLinearGradient* ) new QLinearGradient( *hbqt_par_QLinearGradient( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QLinearGradient* ) new QLinearGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ); - } - else - { - hb_retptr( ( QLinearGradient* ) new QLinearGradient() ); - } -} - - - -enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } -enum Spread { PadSpread, RepeatSpread, ReflectSpread } -enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - - - -QPointF finalStop () const -void setFinalStop ( const QPointF & stop ) -void setFinalStop ( qreal x, qreal y ) -void setStart ( const QPointF & start ) -void setStart ( qreal x, qreal y ) -QPointF start () const - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QList.qth b/harbour/contrib/hbqt/qth/QList.qth deleted file mode 100644 index 90f11c2ff2..0000000000 --- a/harbour/contrib/hbqt/qth/QList.qth +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -List = yes - - - -#include - - -/* - * QList () - * QList ( const QList & other ) - * ~QList () - */ -HB_FUNC( QT_QLIST ) -{ - QList* list = NULL; - hb_retptr( ( QList* ) list ); -} - - - - - - -void append ( const T & value ) -void append ( const QList & value ) -// const T & at ( int i ) const -// T & back () -// const T & back () const -//iterator begin () -//const_iterator begin () const -void clear () -//const_iterator constBegin () const -//const_iterator constEnd () const -//bool contains ( const T & value ) const -int count ( const T & value ) const -int count () const -bool empty () const -//iterator end () -//const_iterator end () const -bool endsWith ( const T & value ) const -//iterator erase ( iterator pos ) -//iterator erase ( iterator begin, iterator end ) -// T & first () -// const T & first () const -// T & front () -// const T & front () const -int indexOf ( const T & value, int from = 0 ) const -void insert ( int i, const T & value ) -//iterator insert ( iterator before, const T & value ) -bool isEmpty () const -// T & last () -// const T & last () const -int lastIndexOf ( const T & value, int from = -1 ) const -int length () const -// QList mid ( int pos, int length = -1 ) const -void move ( int from, int to ) -void pop_back () -void pop_front () -void prepend ( const T & value ) -void push_back ( const T & value ) -void push_front ( const T & value ) -int removeAll ( const T & value ) -void removeAt ( int i ) -void removeFirst () -void removeLast () -bool removeOne ( const T & value ) -void replace ( int i, const T & value ) -int size () const -bool startsWith ( const T & value ) const -void swap ( int i, int j ) -// T takeAt ( int i ) -// T takeFirst () -// T takeLast () -QSet toSet () const -//std::list toStdList () const -QVector toVector () const -// T value ( int i ) const -// T value ( int i, const T & defaultValue ) const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QListView.qth b/harbour/contrib/hbqt/qth/QListView.qth deleted file mode 100644 index aef7877bd8..0000000000 --- a/harbour/contrib/hbqt/qth/QListView.qth +++ /dev/null @@ -1,118 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractItemView -New = pParent - - - -#include - - -/* - * QListView ( QWidget * parent = 0 ) - * ~QListView () - */ -HB_FUNC( QT_QLISTVIEW ) -{ - hb_retptr( ( QListView * ) new QListView( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum Flow { LeftToRight, TopToBottom } -enum LayoutMode { SinglePass, Batched } -enum Movement { Static, Free, Snap } -enum ResizeMode { Fixed, Adjust } -enum ViewMode { ListMode, IconMode } - - - -int batchSize () const -void clearPropertyFlags () -Flow flow () const -QSize gridSize () const -bool isRowHidden ( int row ) const -bool isSelectionRectVisible () const -bool isWrapping () const -LayoutMode layoutMode () const -int modelColumn () const -Movement movement () const -ResizeMode resizeMode () const -void setBatchSize ( int batchSize ) -void setFlow ( Flow flow ) -void setGridSize ( const QSize & size ) -void setLayoutMode ( LayoutMode mode ) -void setModelColumn ( int column ) -void setMovement ( Movement movement ) -void setResizeMode ( ResizeMode mode ) -void setRowHidden ( int row, bool hide ) -void setSelectionRectVisible ( bool show ) -void setSpacing ( int space ) -void setUniformItemSizes ( bool enable ) -void setViewMode ( ViewMode mode ) -void setWordWrap ( bool on ) -void setWrapping ( bool enable ) -int spacing () const -bool uniformItemSizes () const -ViewMode viewMode () const -bool wordWrap () const - - - -void indexesMoved ( const QModelIndexList & indexes ) - diff --git a/harbour/contrib/hbqt/qth/QListWidget.qth b/harbour/contrib/hbqt/qth/QListWidget.qth deleted file mode 100644 index 5f8843d85b..0000000000 --- a/harbour/contrib/hbqt/qth/QListWidget.qth +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QListView -New = pParent - - - -#include - - -/* - * QListWidget ( QWidget * parent = 0 ) - * ~QListWidget () - */ -HB_FUNC( QT_QLISTWIDGET ) -{ - hb_retptr( new QListWidget( hbqt_par_QWidget( 1 ) ) ); -} - - - -void addItem ( const QString & label ) -void addItem ( QListWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QLISTWIDGET_ADDITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QLISTWIDGET_ADDITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QListWidget( 1 )->addItem( hbqt_par_QListWidgetItem( 2 ) ); - } -} -void addItems ( const QStringList & labels ) -void closePersistentEditor ( QListWidgetItem * item ) -int count () const -QListWidgetItem * currentItem () const -int currentRow () const -void editItem ( QListWidgetItem * item ) -QList findItems ( const QString & text, Qt::MatchFlags flags ) const -void insertItem ( int row, QListWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 3 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QLISTWIDGET_INSERTITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QLISTWIDGET_INSERTITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QListWidget( 1 )->insertItem( hb_parni( 2 ), hbqt_par_QListWidgetItem( 3 ) ); - } -} -void insertItem ( int row, const QString & label ) -void insertItems ( int row, const QStringList & labels ) -bool isSortingEnabled () const -QListWidgetItem * item ( int row ) const -QListWidgetItem * itemAt ( const QPoint & p ) const -QListWidgetItem * itemAt ( int x, int y ) const -QWidget * itemWidget ( QListWidgetItem * item ) const -void openPersistentEditor ( QListWidgetItem * item ) -void removeItemWidget ( QListWidgetItem * item ) -int row ( const QListWidgetItem * item ) const -QList selectedItems () const -void setCurrentItem ( QListWidgetItem * item ) -void setCurrentItem ( QListWidgetItem * item, QItemSelectionModel::SelectionFlags command ) -void setCurrentRow ( int row ) -void setCurrentRow ( int row, QItemSelectionModel::SelectionFlags command ) -void setItemWidget ( QListWidgetItem * item, QWidget * widget ) -void setSortingEnabled ( bool enable ) -void sortItems ( Qt::SortOrder order = Qt::AscendingOrder ) -QListWidgetItem * takeItem ( int row ) -QRect visualItemRect ( const QListWidgetItem * item ) const - - - -void clear () -void scrollToItem ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - - - -void currentItemChanged ( QListWidgetItem * current, QListWidgetItem * previous ) -void currentRowChanged ( int currentRow ) -void currentTextChanged ( const QString & currentText ) -void itemActivated ( QListWidgetItem * item ) -void itemChanged ( QListWidgetItem * item ) -void itemClicked ( QListWidgetItem * item ) -void itemDoubleClicked ( QListWidgetItem * item ) -void itemEntered ( QListWidgetItem * item ) -void itemPressed ( QListWidgetItem * item ) -void itemSelectionChanged () - - - diff --git a/harbour/contrib/hbqt/qth/QListWidgetItem.qth b/harbour/contrib/hbqt/qth/QListWidgetItem.qth deleted file mode 100644 index 23c7e48a80..0000000000 --- a/harbour/contrib/hbqt/qth/QListWidgetItem.qth +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherit = QWidget -New = pParent - - - -#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 ) -{ - hb_retptr( new QListWidgetItem( hbqt_par_QListWidget( 1 ), hb_parni( 2 ) ) ); -} - - - -enum ItemType { Type, UserType } - - - -QBrush background () const -Qt::CheckState checkState () const -virtual QListWidgetItem * clone () const -virtual QVariant data ( int role ) const -Qt::ItemFlags flags () const -QFont font () const -QBrush foreground () const -QIcon icon () const -bool isHidden () const -bool isSelected () const -QListWidget * listWidget () const -virtual void read ( QDataStream & in ) -void setBackground ( const QBrush & brush ) -void setCheckState ( Qt::CheckState state ) -virtual void setData ( int role, const QVariant & value ) -void setFlags ( Qt::ItemFlags flags ) -void setFont ( const QFont & font ) -void setForeground ( const QBrush & brush ) -void setHidden ( bool hide ) -void setIcon ( const QIcon & icon ) -void setSelected ( bool select ) -void setSizeHint ( const QSize & size ) -void setStatusTip ( const QString & statusTip ) -void setText ( const QString & text ) -void setTextAlignment ( int alignment ) -void setToolTip ( const QString & toolTip ) -void setWhatsThis ( const QString & whatsThis ) -QSize sizeHint () const -QString statusTip () const -QString text () const -int textAlignment () const -QString toolTip () const -int type () const -QString whatsThis () const -virtual void write ( QDataStream & out ) const - - diff --git a/harbour/contrib/hbqt/qth/QLocale.qth b/harbour/contrib/hbqt/qth/QLocale.qth deleted file mode 100644 index 1696b32d73..0000000000 --- a/harbour/contrib/hbqt/qth/QLocale.qth +++ /dev/null @@ -1,157 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include -#include - -/* QLocale () - * QLocale ( const QString & name ) - * QLocale ( Language language, Country country = AnyCountry ) - * QLocale ( const QLocale & other ) - */ -HB_FUNC( QT_QLOCALE ) -{ - hb_retptr( new QLocale() ); -} - - - -enum Country { AnyCountry, Afghanistan, Albania, Algeria, ..., Zimbabwe } -enum FormatType { LongFormat, ShortFormat, NarrowFormat } -enum Language { C, Abkhazian, Afan, Afar, ..., Chewa } -enum MeasurementSystem { MetricSystem, ImperialSystem } -enum NumberOption { OmitGroupSeparator, RejectGroupSeparator } -flags NumberOptions - - - -QString amText () const -Country country () const -QString dateFormat ( FormatType format = LongFormat ) const -QString dateTimeFormat ( FormatType format = LongFormat ) const -QString dayName ( int day, FormatType type = LongFormat ) const -QChar decimalPoint () const -QChar exponential () const -QChar groupSeparator () const -Language language () const -MeasurementSystem measurementSystem () const -QString monthName ( int month, FormatType type = LongFormat ) const -QString name () const -QChar negativeSign () const -NumberOptions numberOptions () const -QChar percent () const -QString pmText () const -QChar positiveSign () const -void setNumberOptions ( NumberOptions options ) -QString standaloneDayName ( int day, FormatType type = LongFormat ) const -QString standaloneMonthName ( int month, FormatType type = LongFormat ) const -QString timeFormat ( FormatType format = LongFormat ) const -QDate toDate ( const QString & string, FormatType format = LongFormat ) const -QDate toDate ( const QString & string, const QString & format ) const -QDateTime toDateTime ( const QString & string, FormatType format = LongFormat ) const -QDateTime toDateTime ( const QString & string, const QString & format ) const -double toDouble ( const QString & s, bool * ok = 0 ) const -float toFloat ( const QString & s, bool * ok = 0 ) const -int toInt ( const QString & s, bool * ok = 0, int base = 0 ) const -qlonglong toLongLong ( const QString & s, bool * ok = 0, int base = 0 ) const -short toShort ( const QString & s, bool * ok = 0, int base = 0 ) const -QString toString ( qlonglong i ) const -QString toString ( const QDate & date, const QString & format ) const -QString toString ( const QDate & date, FormatType format = LongFormat ) const -QString toString ( const QTime & time, const QString & format ) const -QString toString ( const QTime & time, FormatType format = LongFormat ) const -QString toString ( const QDateTime & dateTime, FormatType format = LongFormat ) const -QString toString ( const QDateTime & dateTime, const QString & format ) const -QString toString ( qulonglong i ) const -QString toString ( double i, char f = 'g', int prec = 6 ) const -QString toString ( short i ) const -QString toString ( ushort i ) const -QString toString ( int i ) const -QString toString ( uint i ) const -QString toString ( float i, char f = 'g', int prec = 6 ) const -QTime toTime ( const QString & string, FormatType format = LongFormat ) const -QTime toTime ( const QString & string, const QString & format ) const -uint toUInt ( const QString & s, bool * ok = 0, int base = 0 ) const -qlonglong toULongLong ( const QString & s, bool * ok = 0, int base = 0 ) const -ushort toUShort ( const QString & s, bool * ok = 0, int base = 0 ) const -QChar zeroDigit () const - -QLocale c () -QList countriesForLanguage ( Language language ) -QString countryToString ( Country country ) -QString languageToString ( Language language ) -void setDefault ( const QLocale & locale ) -QLocale system () - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QMainWindow.qth b/harbour/contrib/hbqt/qth/QMainWindow.qth deleted file mode 100644 index cf04845de4..0000000000 --- a/harbour/contrib/hbqt/qth/QMainWindow.qth +++ /dev/null @@ -1,175 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent, nFlags - - - -#include -#include - - -/* - * QMainWindow ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QMainWindow () - */ -HB_FUNC( QT_QMAINWINDOW ) -{ - hb_retptr( ( QMainWindow* ) new QMainWindow( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - -HB_FUNC( HBQT_QMAINWINDOW_SAVESETTINGS ) -{ - QSettings qSet( hbqt_par_QString( 1 ), QSettings::IniFormat ); - - qSet.setValue( hbqt_par_QString( 2 ), hbqt_par_QMainWindow( 3 )->saveState() ); -} - -HB_FUNC( HBQT_QMAINWINDOW_RESTSETTINGS ) -{ - QSettings qSet( hbqt_par_QString( 1 ), QSettings::IniFormat ); - - hbqt_par_QMainWindow( 3 )->restoreState( qSet.value( hbqt_par_QString( 2 ) ).toByteArray() ); -} - - - -enum DockOption { AnimatedDocks, AllowNestedDocks, AllowTabbedDocks, ForceTabbedDocks, VerticalTabs } -flags DockOptions - - - -void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget ) -void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation ) -void addToolBar ( Qt::ToolBarArea area, QToolBar * toolbar ){ - QGC_POINTER_QMainWindow * q = ( QGC_POINTER_QMainWindow * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 3 ); - - HB_TRACE( HB_TR_DEBUG, ("QMAINWINDOW_ADDTOOLBAR" ) ); - HB_TRACE( HB_TR_DEBUG, ( "QT_QMAINWINDOW_ADDTOOLBAR() Qt object: %p to: %p", (void *) p, (void *) q) ); - HB_TRACE( HB_TR_DEBUG, ( "QT_QMAINWINDOW_ADDTOOLBAR() Qt object: %p to: %p", (void *) p->ph, (void *) q->ph) ); - - if ( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QMAINWINDOW_ADDTOOLBAR() Qt object: %p is attached to: %p", (void *) p->ph, (void *) q->ph) ); - p->bNew = HB_FALSE; - if ( q && q->ph ) - ( q->ph )->addToolBar( ( Qt::ToolBarArea ) hb_parni( 2 ), ( ( QToolBar *) p->ph )); - else - { - HB_TRACE( HB_TR_DEBUG, ( "F=QT_QTOOLBAR_ADDACTION FP=( p )->addAction( hbqt_par_QAction( 2 ) ); p is NULL" )); - } - } -} -void addToolBar ( QToolBar * toolbar ) -QToolBar * addToolBar ( const QString & title ) -void addToolBarBreak ( Qt::ToolBarArea area = Qt::TopToolBarArea ) -QWidget * centralWidget () const -Qt::DockWidgetArea corner ( Qt::Corner corner ) const -virtual QMenu * createPopupMenu () -DockOptions dockOptions () const -Qt::DockWidgetArea dockWidgetArea ( QDockWidget * dockwidget ) const -bool documentMode () const -QSize iconSize () const -void insertToolBar ( QToolBar * before, QToolBar * toolbar ) -void insertToolBarBreak ( QToolBar * before ) -bool isAnimated () const -bool isDockNestingEnabled () const -QMenuBar * menuBar () const -QWidget * menuWidget () const -void removeDockWidget ( QDockWidget * dockwidget ) -void removeToolBar ( QToolBar * toolbar ) -void removeToolBarBreak ( QToolBar * before ) -bool restoreDockWidget ( QDockWidget * dockwidget ) -bool restoreState ( const QByteArray & state, int version = 0 ) -QByteArray saveState ( int version = 0 ) const -void setCentralWidget ( QWidget * widget ) -void setCorner ( Qt::Corner corner, Qt::DockWidgetArea area ) -void setDockOptions ( DockOptions options ) -void setDocumentMode ( bool enabled ) -void setIconSize ( const QSize & iconSize ) -void setMenuBar ( QMenuBar * menuBar ) -void setMenuWidget ( QWidget * menuBar ) -void setStatusBar ( QStatusBar * statusbar ) -void setTabPosition ( Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition ) -void setTabShape ( QTabWidget::TabShape tabShape ) -void setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle ) -void setUnifiedTitleAndToolBarOnMac ( bool set ) -void splitDockWidget ( QDockWidget * first, QDockWidget * second, Qt::Orientation orientation ) -QStatusBar * statusBar () const -QTabWidget::TabPosition tabPosition ( Qt::DockWidgetArea area ) const -QTabWidget::TabShape tabShape () const -QList tabifiedDockWidgets ( QDockWidget * dockwidget ) const -void tabifyDockWidget ( QDockWidget * first, QDockWidget * second ) -Qt::ToolBarArea toolBarArea ( QToolBar * toolbar ) const -bool toolBarBreak ( QToolBar * toolbar ) const -Qt::ToolButtonStyle toolButtonStyle () const -bool unifiedTitleAndToolBarOnMac () const - - - -void setAnimated ( bool enabled ) -void setDockNestingEnabled ( bool enabled ) - - - -void iconSizeChanged ( const QSize & iconSize ) -void toolButtonStyleChanged ( Qt::ToolButtonStyle toolButtonStyle ) - - - diff --git a/harbour/contrib/hbqt/qth/QMatrix.qth b/harbour/contrib/hbqt/qth/QMatrix.qth deleted file mode 100644 index 78ae525b0c..0000000000 --- a/harbour/contrib/hbqt/qth/QMatrix.qth +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include -#include - - -/* QMatrix () - * QMatrix ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) - * QMatrix ( const QMatrix & matrix ) - */ -HB_FUNC( QT_QMATRIX ) -{ - hb_retptr( new QMatrix() ); -} - - - - - - -qreal m11 () const -qreal m12 () const -qreal m21 () const -qreal m22 () const -qreal det () const -qreal dx () const -qreal dy () const -QMatrix inverted ( bool * invertible = 0 ) const -bool isIdentity () const -bool isInvertible () const -void map ( qreal x, qreal y, qreal * tx, qreal * ty ) const -void map ( int x, int y, int * tx, int * ty ) const -QPointF map ( const QPointF & point ) const -QPoint map ( const QPoint & point ) const -QLineF map ( const QLineF & line ) const -QLine map ( const QLine & line ) const -QPolygonF map ( const QPolygonF & polygon ) const -QPolygon map ( const QPolygon & polygon ) const -QRegion map ( const QRegion & region ) const -QPainterPath map ( const QPainterPath & path ) const -QRectF mapRect ( const QRectF & rectangle ) const -QRect mapRect ( const QRect & rectangle ) const -QPolygon mapToPolygon ( const QRect & rectangle ) const -void reset () -QMatrix & rotate ( qreal degrees ) -QMatrix & scale ( qreal sx, qreal sy ) -void setMatrix ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) -QMatrix & shear ( qreal sh, qreal sv ) -QMatrix & translate ( qreal dx, qreal dy ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QMdiArea.qth b/harbour/contrib/hbqt/qth/QMdiArea.qth deleted file mode 100644 index c312731003..0000000000 --- a/harbour/contrib/hbqt/qth/QMdiArea.qth +++ /dev/null @@ -1,130 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QAbstractScrollArea -Type = -New = - - - - - - -#include - - -/* - * QMdiArea ( QWidget * parent = 0 ) - * ~QMdiArea () - * - */ -HB_FUNC( QT_QMDIAREA ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QMdiArea( hbqt_par_QWidget( 1 ) ) ); - } - else - { - hb_retptr( new QMdiArea() ); - } -} - - - -enum AreaOption { DontMaximizeSubWindowOnActivation } -flags AreaOptions -enum ViewMode { SubWindowView, TabbedView } -enum WindowOrder { CreationOrder, StackingOrder, ActivationHistoryOrder } - - - -WindowOrder activationOrder () const -QMdiSubWindow * activeSubWindow () const -QMdiSubWindow * addSubWindow ( QWidget * widget, Qt::WindowFlags windowFlags = 0 ) -QBrush background () const -QMdiSubWindow * currentSubWindow () const -bool documentMode () const -void removeSubWindow ( QWidget * widget ) -void setActivationOrder ( WindowOrder order ) -void setBackground ( const QBrush & background ) -void setDocumentMode ( bool enabled ) -void setOption ( AreaOption option, bool on = true ) -void setTabPosition ( QTabWidget::TabPosition position ) -void setTabShape ( QTabWidget::TabShape shape ) -void setViewMode ( ViewMode mode ) -QList subWindowList ( WindowOrder order = CreationOrder ) const -QTabWidget::TabPosition tabPosition () const -QTabWidget::TabShape tabShape () const -bool testOption ( AreaOption option ) const -ViewMode viewMode () const - - - -void activateNextSubWindow () -void activatePreviousSubWindow () -void cascadeSubWindows () -void closeActiveSubWindow () -void closeAllSubWindows () -void setActiveSubWindow ( QMdiSubWindow * window ) -void tileSubWindows () - - - -void subWindowActivated ( QMdiSubWindow * window ) - diff --git a/harbour/contrib/hbqt/qth/QMdiSubWindow.qth b/harbour/contrib/hbqt/qth/QMdiSubWindow.qth deleted file mode 100644 index d65136c45f..0000000000 --- a/harbour/contrib/hbqt/qth/QMdiSubWindow.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QWidget -Type = -New = - - - - - - -#include - - -/* - * QMdiSubWindow ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QMdiSubWindow () - * - */ -HB_FUNC( QT_QMDISUBWINDOW ) -{ - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QMdiSubWindow( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); - } - else - { - hb_retptr( new QMdiSubWindow() ); - } -} - - - -enum SubWindowOption { RubberBandResize, RubberBandMove } -flags SubWindowOptions - - - -bool isShaded () const -int keyboardPageStep () const -int keyboardSingleStep () const -QMdiArea * mdiArea () const -void setKeyboardPageStep ( int step ) -void setKeyboardSingleStep ( int step ) -void setOption ( SubWindowOption option, bool on = true ) -void setSystemMenu ( QMenu * systemMenu ) -void setWidget ( QWidget * widget ) -QMenu * systemMenu () const -bool testOption ( SubWindowOption option ) const -QWidget * widget () const - - - -void showShaded () -void showSystemMenu () - - - -void aboutToActivate () -void windowStateChanged ( Qt::WindowStates oldState, Qt::WindowStates newState ) - diff --git a/harbour/contrib/hbqt/qth/QMenu.qth b/harbour/contrib/hbqt/qth/QMenu.qth deleted file mode 100644 index 1e251fecc7..0000000000 --- a/harbour/contrib/hbqt/qth/QMenu.qth +++ /dev/null @@ -1,138 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QMenu ( QWidget * parent = 0 ) - * QMenu ( const QString & title, QWidget * parent = 0 ) - * ~QMenu () - */ -HB_FUNC( QT_QMENU ) -{ - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( ( QMenu* ) new QMenu( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ); - } - else - { - hb_retptr( ( QMenu* ) new QMenu( hbqt_par_QWidget( 1 ) ) ); - } -} - - - -QAction * actionAt ( const QPoint & pt ) const -QRect actionGeometry ( QAction * act ) const -QAction * activeAction () const -QAction * addAction ( const QString & text ) -QAction * addAction ( const QIcon & icon, const QString & text ) -QAction * addAction ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) -QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) -void addAction ( QAction * action ){ - QGC_POINTER_QMenu * q = ( QGC_POINTER_QMenu * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QMENU_ADDACTION()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QMENU_ADDACTION() Qt oject: %p is attached to: %p", ( void * ) p->ph, ( void * ) q->ph ) ); - p->bNew = HB_FALSE; - ( q->ph )->addAction( ( QAction * ) p->ph ); - } -} -QAction * addMenu ( QMenu * menu ) -QMenu * addMenu ( const QString & title ) -QMenu * addMenu ( const QIcon & icon, const QString & title ) -QAction * addSeparator () -void clear () -QAction * defaultAction () const -QAction * exec () -QAction * exec ( const QPoint & p, QAction * action = 0 ) -void hideTearOffMenu () -QIcon icon () const -QAction * insertMenu ( QAction * before, QMenu * menu ) -QAction * insertSeparator ( QAction * before ) -bool isEmpty () const -bool isTearOffEnabled () const -bool isTearOffMenuVisible () const -// OSMenuRef macMenu ( OSMenuRef merge = 0 ) -QAction * menuAction () const -void popup ( const QPoint & p, QAction * atAction = 0 ) -bool separatorsCollapsible () const -void setActiveAction ( QAction * act ) -void setDefaultAction ( QAction * act ) -void setIcon ( const QIcon & icon ) -void setSeparatorsCollapsible ( bool collapse ) -void setTearOffEnabled ( bool ) -void setTitle ( const QString & title ) -QString title () const -// HMENU wceMenu ( bool create = false ) - - - -void aboutToHide () -void aboutToShow () -void hovered ( QAction * action ) -void triggered ( QAction * action ) - diff --git a/harbour/contrib/hbqt/qth/QMenuBar.qth b/harbour/contrib/hbqt/qth/QMenuBar.qth deleted file mode 100644 index 8dbd2a5599..0000000000 --- a/harbour/contrib/hbqt/qth/QMenuBar.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QMenuBar ( QWidget * parent = 0 ) - * ~QMenuBar () - */ -HB_FUNC( QT_QMENUBAR ) -{ - hb_retptr( ( QMenuBar* ) new QMenuBar( hbqt_par_QWidget( 1 ) ) ); -} - - - -QAction * activeAction () const -QAction * addAction ( const QString & text ) -QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) -void addAction ( QAction * action ) -QAction * addMenu ( QMenu * menu ) -QMenu * addMenu ( const QString & title ) -QMenu * addMenu ( const QIcon & icon, const QString & title ) -QAction * addSeparator () -void clear () -// QAction * defaultAction () const -QAction * insertMenu ( QAction * before, QMenu * menu ) -QAction * insertSeparator ( QAction * before ) -bool isDefaultUp () const -// OSMenuRef macMenu () -void setActiveAction ( QAction * act ) -// void setDefaultAction ( QAction * act ) -void setDefaultUp ( bool ) - - - -void hovered ( QAction * action ) -void triggered ( QAction * action ) - diff --git a/harbour/contrib/hbqt/qth/QMessageBox.qth b/harbour/contrib/hbqt/qth/QMessageBox.qth deleted file mode 100644 index bef41c54c7..0000000000 --- a/harbour/contrib/hbqt/qth/QMessageBox.qth +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent - - - -#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 ) -{ - hb_retptr( ( QMessageBox* ) new QMessageBox() ); -} - - - -enum ButtonRole { InvalidRole, AcceptRole, RejectRole, DestructiveRole, ..., ResetRole } -enum Icon { NoIcon, Question, Information, Warning, Critical } -enum StandardButton { Ok, Open, Save, Cancel, ..., ButtonMask } -flags StandardButtons - - - -void addButton ( QAbstractButton * button, ButtonRole role ) -QPushButton * addButton ( const QString & text, ButtonRole role ) -QPushButton * addButton ( StandardButton button ) -QAbstractButton * button ( StandardButton which ) const -ButtonRole buttonRole ( QAbstractButton * button ) const -QList buttons () const -QAbstractButton * clickedButton () const -QPushButton * defaultButton () const -QString detailedText () const -QAbstractButton * escapeButton () const -Icon icon () const -QPixmap iconPixmap () const -QString informativeText () const -void open ( QObject * receiver, const char * member ) -void removeButton ( QAbstractButton * button ) -void setDefaultButton ( QPushButton * button ) -void setDefaultButton ( StandardButton button ) -void setDetailedText ( const QString & text ) -void setEscapeButton ( QAbstractButton * button ) -void setEscapeButton ( StandardButton button ) -void setIcon ( Icon ) -void setIconPixmap ( const QPixmap & pixmap ) -void setInformativeText ( const QString & text ) -void setStandardButtons ( StandardButtons buttons ) -void setText ( const QString & text ) -void setTextFormat ( Qt::TextFormat format ) -void setWindowModality ( Qt::WindowModality windowModality ) -void setWindowTitle ( const QString & title ) -StandardButton standardButton ( QAbstractButton * button ) const -StandardButtons standardButtons () const -QString text () const -Qt::TextFormat textFormat () const - -void about ( QWidget * parent, const QString & title, const QString & text ) -void aboutQt ( QWidget * parent, const QString & title = QString() ) -StandardButton critical ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) -StandardButton information ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) -StandardButton question ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) -StandardButton warning ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - - - -int exec () - - - -void buttonClicked ( QAbstractButton * button ) - - diff --git a/harbour/contrib/hbqt/qth/QMimeData.qth b/harbour/contrib/hbqt/qth/QMimeData.qth deleted file mode 100644 index fa47bb8504..0000000000 --- a/harbour/contrib/hbqt/qth/QMimeData.qth +++ /dev/null @@ -1,114 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include -#include - - -/* QMimeData () - * ~QMimeData () - */ -HB_FUNC( QT_QMIMEDATA ) -{ - hb_retptr( new QMimeData() ); -} - - - - - - -void clear () -QVariant colorData () const -QByteArray data ( const QString & mimeType ) const -virtual QStringList formats () const -bool hasColor () const -virtual bool hasFormat ( const QString & mimeType ) const -bool hasHtml () const -bool hasImage () const -bool hasText () const -bool hasUrls () const -QString html () const -QVariant imageData () const -void removeFormat ( const QString & mimeType ) -void setColorData ( const QVariant & color ) -void setData ( const QString & mimeType, const QByteArray & data ) -void setHtml ( const QString & html ) -void setImageData ( const QVariant & image ) -void setText ( const QString & text ) -void setUrls ( const QList & urls ) -QString text () const -QList urls () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QModelIndex.qth b/harbour/contrib/hbqt/qth/QModelIndex.qth deleted file mode 100644 index 6a11660658..0000000000 --- a/harbour/contrib/hbqt/qth/QModelIndex.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QModelIndex () - * QModelIndex ( const QModelIndex & other ) - * ~QModelIndex () - */ -HB_FUNC( QT_QMODELINDEX ) -{ - hb_retptr( new QModelIndex() ); -} - - - - - - -QModelIndex child ( int row, int column ) const -int column () const -QVariant data ( int role = Qt::DisplayRole ) const -Qt::ItemFlags flags () const -qint64 internalId () const -void * internalPointer () const -bool isValid () const -const QAbstractItemModel * model () const -QModelIndex parent () const -int row () const -QModelIndex sibling ( int row, int column ) const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QMouseEvent.qth b/harbour/contrib/hbqt/qth/QMouseEvent.qth deleted file mode 100644 index 142f57d9eb..0000000000 --- a/harbour/contrib/hbqt/qth/QMouseEvent.qth +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QInputEvent -Type = Core -New = - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QMouseEvent( *hbqt_par_QMouseEvent( 1 ) ) ); - } -} - - - - - - -Qt::MouseButton button () const -Qt::MouseButtons buttons () const -const QPoint & globalPos () const -int globalX () const -int globalY () const -const QPoint & pos () const -QPointF posF () const -int x () const -int y () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QMoveEvent.qth b/harbour/contrib/hbqt/qth/QMoveEvent.qth deleted file mode 100644 index 921e4f2fe4..0000000000 --- a/harbour/contrib/hbqt/qth/QMoveEvent.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QMoveEvent ( const QPoint & pos, const QPoint & oldPos ) - * ~QMoveEvent () - */ -HB_FUNC( QT_QMOVEEVENT ) -{ - // hb_retptr( ( QMoveEvent* ) new QMoveEvent() ); -} - - - - - - -const QPoint & oldPos () const -const QPoint & pos () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QMovie.qth b/harbour/contrib/hbqt/qth/QMovie.qth deleted file mode 100644 index 8fad5601b4..0000000000 --- a/harbour/contrib/hbqt/qth/QMovie.qth +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include -#include -#include - - -/* QMovie ( QObject * parent = 0 ) - * QMovie ( QIODevice * device, const QByteArray & format = QByteArray(), QObject * parent = 0 ) - * QMovie ( const QString & fileName, const QByteArray & format = QByteArray(), QObject * parent = 0 ) - * ~QMovie () - */ -HB_FUNC( QT_QMOVIE ) -{ - hb_retptr( new QMovie() ); -} - - - -enum CacheMode { CacheNone, CacheAll } -enum MovieState { NotRunning, Paused, Running } - - - -QColor backgroundColor () const -CacheMode cacheMode () const -int currentFrameNumber () const -QImage currentImage () const -QPixmap currentPixmap () const -QIODevice * device () const -QString fileName () const -QByteArray format () const -int frameCount () const -QRect frameRect () const -bool isValid () const -bool jumpToFrame ( int frameNumber ) -int loopCount () const -int nextFrameDelay () const -QSize scaledSize () -void setBackgroundColor ( const QColor & color ) -void setCacheMode ( CacheMode mode ) -void setDevice ( QIODevice * device ) -void setFileName ( const QString & fileName ) -void setFormat ( const QByteArray & format ) -void setScaledSize ( const QSize & size ) -int speed () const -MovieState state () const - - - -bool jumpToNextFrame () -void setPaused ( bool paused ) -void setSpeed ( int percentSpeed ) -void start () -void stop () - - - -void error ( QImageReader::ImageReaderError error ) -void finished () -void frameChanged ( int frameNumber ) -void resized ( const QSize & size ) -void started () -void stateChanged ( QMovie::MovieState state ) -void updated ( const QRect & rect ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QNetworkRequest.qth b/harbour/contrib/hbqt/qth/QNetworkRequest.qth deleted file mode 100644 index 8a90cf7a3f..0000000000 --- a/harbour/contrib/hbqt/qth/QNetworkRequest.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QNetworkRequest ( const QUrl & url = QUrl() ) - * QNetworkRequest ( const QNetworkRequest & other ) - * ~QNetworkRequest () - */ -HB_FUNC( QT_QNETWORKREQUEST ) -{ - hb_retptr( new QNetworkRequest() ); -} - - - -enum Attribute { HttpStatusCodeAttribute, HttpReasonPhraseAttribute, RedirectionTargetAttribute, ConnectionEncryptedAttribute, ..., UserMax } -enum CacheLoadControl { AlwaysNetwork, PreferNetwork, PreferCache, AlwaysCache } -enum KnownHeaders { ContentTypeHeader, ContentLengthHeader, LocationHeader, LastModifiedHeader, CookieHeader, SetCookieHeader } - - - -QVariant attribute ( Attribute code, const QVariant & defaultValue = QVariant() ) const -bool hasRawHeader ( const QByteArray & headerName ) const -QVariant header ( KnownHeaders header ) const -QByteArray rawHeader ( const QByteArray & headerName ) const -QList rawHeaderList () const -void setAttribute ( Attribute code, const QVariant & value ) -void setHeader ( KnownHeaders header, const QVariant & value ) -void setRawHeader ( const QByteArray & headerName, const QByteArray & headerValue ) -// void setSslConfiguration ( const QSslConfiguration & config ) -void setUrl ( const QUrl & url ) -// QSslConfiguration sslConfiguration () const -QUrl url () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QObject.qth b/harbour/contrib/hbqt/qth/QObject.qth deleted file mode 100644 index 7bf9083959..0000000000 --- a/harbour/contrib/hbqt/qth/QObject.qth +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -New = pParent -Calls = QT_Qbject - - - -#include -#include - -/* - * Q_INVOKABLE QObject ( QObject * parent = 0 ) - * virtual ~QObject () - */ -HB_FUNC( QT_QOBJECT ) -{ - hb_retptr( ( QObject* ) new QObject( hbqt_par_QObject( 1 ) ) ); -} - - - -bool blockSignals ( bool block ) -// const QObjectList & children () const -bool connect ( const QObject * sender, const char * signal, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) const -bool disconnect ( const char * signal = 0, const QObject * receiver = 0, const char * method = 0 ) -bool disconnect ( const QObject * receiver, const char * method = 0 ) -void dumpObjectInfo () -void dumpObjectTree () -QList dynamicPropertyNames () const -virtual bool event ( QEvent * e ) -virtual bool eventFilter ( QObject * watched, QEvent * event ) -//T findChild ( const QString & name = QString() ) const -QList findChildren ( const QString & name = QString() ) const -QList findChildren ( const QRegExp & regExp ) const -bool inherits ( const char * className ) const -void installEventFilter ( QObject * filterObj ) -bool isWidgetType () const -void killTimer ( int id ) -# -//virtual const QMetaObject * metaObject () const -# -void moveToThread ( QThread * targetThread ) -QString objectName () const -QObject * parent () const -QVariant property ( const char * name ) const -void removeEventFilter ( QObject * obj ) -void setObjectName ( const QString & name ) -void setParent ( QObject * parent ) -bool setProperty ( const char * name, const QVariant & value ) -bool signalsBlocked () const -int startTimer ( int interval ) -QThread * thread () const - - -bool connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) -bool disconnect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method ) -const QMetaObject staticMetaObject -QString tr ( const char * sourceText, const char * disambiguation = 0, int n = -1 ) -QString trUtf8 ( const char * sourceText, const char * disambiguation = 0, int n = -1 ) - - - -void deleteLater () - - - -void destroyed ( QObject * obj = 0 ) - diff --git a/harbour/contrib/hbqt/qth/QPageSetupDialog.qth b/harbour/contrib/hbqt/qth/QPageSetupDialog.qth deleted file mode 100644 index a09f3e21f0..0000000000 --- a/harbour/contrib/hbqt/qth/QPageSetupDialog.qth +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent - - - -#include - - -/* - * QPageSetupDialog ( QPrinter * printer, QWidget * parent = 0 ) - * QPageSetupDialog ( QWidget * parent = 0 ) - */ -HB_FUNC( QT_QPAGESETUPDIALOG ) -{ - if( hb_pcount() >= 2 ) - hb_retptr( ( QPageSetupDialog* ) new QPageSetupDialog( hbqt_par_QPrinter( 1 ), hbqt_par_QWidget( 1 ) ) ); - else - hb_retptr( ( QPageSetupDialog* ) new QPageSetupDialog( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum PageSetupDialogOption { DontUseSheet } -flags PageSetupDialogOptions - - - -virtual int exec () -void open ( QObject * receiver, const char * member ) -PageSetupDialogOptions options () const -QPrinter * printer () -void setOption ( PageSetupDialogOption option, bool on = true ) -void setOptions ( PageSetupDialogOptions options ) -virtual void setVisible ( bool visible ) -bool testOption ( PageSetupDialogOption option ) const - - diff --git a/harbour/contrib/hbqt/qth/QPaintDevice.qth b/harbour/contrib/hbqt/qth/QPaintDevice.qth deleted file mode 100644 index 089d1ce0c2..0000000000 --- a/harbour/contrib/hbqt/qth/QPaintDevice.qth +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = pParent - - - -#include - -/* - * virtual ~QPaintDevice () - */ -HB_FUNC( QT_QPAINTDEVICE ) -{ - -} - - - -enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } - - - -int depth () const -int height () const -int heightMM () const -int logicalDpiX () const -int logicalDpiY () const -int numColors () const -virtual QPaintEngine * paintEngine () const = 0 -bool paintingActive () const -int physicalDpiX () const -int physicalDpiY () const -int width () const -int widthMM () const - - diff --git a/harbour/contrib/hbqt/qth/QPaintEngine.qth b/harbour/contrib/hbqt/qth/QPaintEngine.qth deleted file mode 100644 index b9e46cb7a6..0000000000 --- a/harbour/contrib/hbqt/qth/QPaintEngine.qth +++ /dev/null @@ -1,124 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = -New = - - - - - - - - - -#include - - -/* - * QPaintEngine ( PaintEngineFeatures caps = 0 ) - * virtual ~QPaintEngine () - */ -HB_FUNC( QT_QPAINTENGINE ) -{ - -} - - - -enum DirtyFlag { DirtyPen, DirtyBrush, DirtyBrushOrigin, DirtyFont, ..., AllDirty } -flags DirtyFlags -enum PaintEngineFeature { AlphaBlend, Antialiasing, BlendModes, BrushStroke, ..., AllFeatures } -flags PaintEngineFeatures -enum PolygonDrawMode { OddEvenMode, WindingMode, ConvexMode, PolylineMode } -enum Type { X11, Windows, MacPrinter, CoreGraphics, ..., MaxUser } - - - -virtual bool begin ( QPaintDevice * pdev ) = 0 -virtual void drawEllipse ( const QRectF & rect ) -virtual void drawEllipse ( const QRect & rect ) -virtual void drawImage ( const QRectF & rectangle, const QImage & image, const QRectF & sr, Qt::ImageConversionFlags flags = Qt::AutoColor ) -virtual void drawLines ( const QLineF * lines, int lineCount ) -virtual void drawLines ( const QLine * lines, int lineCount ) -virtual void drawPath ( const QPainterPath & path ) -virtual void drawPixmap ( const QRectF & r, const QPixmap & pm, const QRectF & sr ) = 0 -virtual void drawPoints ( const QPointF * points, int pointCount ) -virtual void drawPoints ( const QPoint * points, int pointCount ) -virtual void drawPolygon ( const QPointF * points, int pointCount, PolygonDrawMode mode ) -virtual void drawPolygon ( const QPoint * points, int pointCount, PolygonDrawMode mode ) -virtual void drawRects ( const QRectF * rects, int rectCount ) -virtual void drawRects ( const QRect * rects, int rectCount ) -virtual void drawTextItem ( const QPointF & p, const QTextItem & textItem ) -virtual void drawTiledPixmap ( const QRectF & rect, const QPixmap & pixmap, const QPointF & p ) -virtual bool end () = 0 -bool hasFeature ( PaintEngineFeatures feature ) const -bool isActive () const -QPaintDevice * paintDevice () const -QPainter * painter () const -void setActive ( bool state ) -virtual Type type () const = 0 -virtual void updateState ( const QPaintEngineState & state ) = 0 - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPaintEvent.qth b/harbour/contrib/hbqt/qth/QPaintEvent.qth deleted file mode 100644 index a61e98c3dd..0000000000 --- a/harbour/contrib/hbqt/qth/QPaintEvent.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QPaintEvent ( const QRegion & paintRegion ) - * QPaintEvent ( const QRect & paintRect ) - */ -HB_FUNC( QT_QPAINTEVENT ) -{ - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - QString objName = ( QString ) hbqt_par_QString( 1 ); - - if( objName == ( QString ) "QRect" ) - { - hb_retptr( new QPaintEvent( *hbqt_par_QRect( 1 ) ) ); - } - else if( objName == ( QString ) "QRegion" ) - { - hb_retptr( new QPaintEvent( *hbqt_par_QRegion( 1 ) ) ); - } - } -} - - - - - - -const QRect & rect () const -const QRegion & region () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPainter.qth b/harbour/contrib/hbqt/qth/QPainter.qth deleted file mode 100644 index 831f111600..0000000000 --- a/harbour/contrib/hbqt/qth/QPainter.qth +++ /dev/null @@ -1,281 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = pDevice - - - -#include - -/* - * QPainter () - * QPainter ( QPaintDevice * device ) - * ~QPainter () - */ -HB_FUNC( QT_QPAINTER ) -{ - if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QPainter( hbqt_par_QPaintDevice( 1 ) ) ); - } - else - { - hb_retptr( new QPainter() ); - } -} - - - -enum CompositionMode { CompositionMode_SourceOver, CompositionMode_DestinationOver, CompositionMode_Clear, CompositionMode_Source, ..., RasterOp_SourceAndNotDestination } -enum RenderHint { Antialiasing, TextAntialiasing, SmoothPixmapTransform, HighQualityAntialiasing, NonCosmeticDefaultPen } -enum RenderHints - - - -const QBrush & background () const -Qt::BGMode backgroundMode () const -bool begin ( QPaintDevice * device ) -QRectF boundingRect ( const QRectF & rectangle, int flags, const QString & text ) -QRect boundingRect ( const QRect & rectangle, int flags, const QString & text ) -QRect boundingRect ( int x, int y, int w, int h, int flags, const QString & text ) -QRectF boundingRect ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) -const QBrush & brush () const -QPoint brushOrigin () const -QPainterPath clipPath () const -QRegion clipRegion () const -QMatrix combinedMatrix () const -QTransform combinedTransform () const -CompositionMode compositionMode () const -QPaintDevice * device () const -const QMatrix & deviceMatrix () const -const QTransform & deviceTransform () const -void drawArc ( const QRectF & rectangle, int startAngle, int spanAngle ) -void drawArc ( const QRect & rectangle, int startAngle, int spanAngle ) -void drawArc ( int x, int y, int width, int height, int startAngle, int spanAngle ) -void drawChord ( const QRectF & rectangle, int startAngle, int spanAngle ) -void drawChord ( const QRect & rectangle, int startAngle, int spanAngle ) -void drawChord ( int x, int y, int width, int height, int startAngle, int spanAngle ) -void drawConvexPolygon ( const QPointF * points, int pointCount ) -void drawConvexPolygon ( const QPoint * points, int pointCount ) -void drawConvexPolygon ( const QPolygonF & polygon ) -void drawConvexPolygon ( const QPolygon & polygon ) -void drawEllipse ( const QRectF & rectangle ) -void drawEllipse ( const QRect & rectangle ) -void drawEllipse ( int x, int y, int width, int height ) -void drawEllipse ( const QPointF & center, qreal rx, qreal ry ) -void drawEllipse ( const QPoint & center, int rx, int ry ) -void drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -void drawImage ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -void drawImage ( const QPointF & point, const QImage & image ) -void drawImage ( const QPoint & point, const QImage & image ) -void drawImage ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -void drawImage ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) -void drawImage ( const QRectF & rectangle, const QImage & image ) -void drawImage ( const QRect & rectangle, const QImage & image ) -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 ) -void drawLine ( const QLineF & line ) -void drawLine ( const QLine & line ) -void drawLine ( const QPoint & p1, const QPoint & p2 ) -void drawLine ( const QPointF & p1, const QPointF & p2 ) -void drawLine ( int x1, int y1, int x2, int y2 ) -void drawLines ( const QLineF * lines, int lineCount ) -void drawLines ( const QLine * lines, int lineCount ) -void drawLines ( const QPointF * pointPairs, int lineCount ) -void drawLines ( const QPoint * pointPairs, int lineCount ) -void drawLines ( const QVector & pointPairs ) -void drawLines ( const QVector & pointPairs ) -void drawLines ( const QVector & lines ) -void drawLines ( const QVector & lines ) -void drawPath ( const QPainterPath & path ) -void drawPicture ( const QPointF & point, const QPicture & picture ) -void drawPicture ( const QPoint & point, const QPicture & picture ) -void drawPicture ( int x, int y, const QPicture & picture ) -void drawPie ( const QRectF & rectangle, int startAngle, int spanAngle ) -void drawPie ( const QRect & rectangle, int startAngle, int spanAngle ) -void drawPie ( int x, int y, int width, int height, int startAngle, int spanAngle ) -void drawPixmap ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) -void drawPixmap ( const QRect & target, const QPixmap & pixmap, const QRect & source ) -void drawPixmap ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) -void drawPixmap ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) -void drawPixmap ( const QPointF & point, const QPixmap & pixmap ) -void drawPixmap ( const QPoint & point, const QPixmap & pixmap ) -void drawPixmap ( int x, int y, const QPixmap & pixmap ) -void drawPixmap ( const QRect & rectangle, const QPixmap & pixmap ) -void drawPixmap ( int x, int y, int width, int height, const QPixmap & pixmap ) -void drawPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) -void drawPixmap ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) -void drawPoint ( const QPointF & position ) -void drawPoint ( const QPoint & position ) -void drawPoint ( int x, int y ) -void drawPoints ( const QPointF * points, int pointCount ) -void drawPoints ( const QPoint * points, int pointCount ) -void drawPoints ( const QPolygonF & points ) -void drawPoints ( const QPolygon & points ) -void drawPolygon ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) -void drawPolygon ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) -void drawPolygon ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) -void drawPolygon ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) -void drawPolyline ( const QPointF * points, int pointCount ) -void drawPolyline ( const QPoint * points, int pointCount ) -void drawPolyline ( const QPolygonF & points ) -void drawPolyline ( const QPolygon & points ) -void drawRect ( const QRectF & rectangle ) -void drawRect ( const QRect & rectangle ) -void drawRect ( int x, int y, int width, int height ) -void drawRects ( const QRectF * rectangles, int rectCount ) -void drawRects ( const QRect * rectangles, int rectCount ) -void drawRects ( const QVector & rectangles ) -void drawRects ( const QVector & rectangles ) -void drawRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -void drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -void drawRoundedRect ( int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -void drawText ( const QPointF & position, const QString & text ) -void drawText ( const QPoint & position, const QString & text ) -void drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) -void drawText ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) -void drawText ( int x, int y, const QString & text ) -void drawText ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) -void drawText ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() ) -void drawTiledPixmap ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() ) -void drawTiledPixmap ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() ) -void drawTiledPixmap ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) -bool end () -void eraseRect ( const QRectF & rectangle ) -void eraseRect ( const QRect & rectangle ) -void eraseRect ( int x, int y, int width, int height ) -void fillPath ( const QPainterPath & path, const QBrush & brush ) -void fillRect ( const QRectF & rectangle, const QBrush & brush ) -void fillRect ( int x, int y, int width, int height, Qt::BrushStyle style ) -void fillRect ( const QRect & rectangle, Qt::BrushStyle style ) -void fillRect ( const QRectF & rectangle, Qt::BrushStyle style ) -void fillRect ( const QRect & rectangle, const QBrush & brush ) -void fillRect ( const QRect & rectangle, const QColor & color ) -void fillRect ( const QRectF & rectangle, const QColor & color ) -void fillRect ( int x, int y, int width, int height, const QBrush & brush ) -void fillRect ( int x, int y, int width, int height, const QColor & color ) -void fillRect ( int x, int y, int width, int height, Qt::GlobalColor color ) -void fillRect ( const QRect & rectangle, Qt::GlobalColor color ) -void fillRect ( const QRectF & rectangle, Qt::GlobalColor color ) -const QFont & font () const -QFontInfo fontInfo () const -QFontMetrics fontMetrics () const -bool hasClipping () const -void initFrom ( const QWidget * widget ) -bool isActive () const -Qt::LayoutDirection layoutDirection () const -qreal opacity () const -QPaintEngine * paintEngine () const -const QPen & pen () const -RenderHints renderHints () const -void resetMatrix () -void resetTransform () -void restore () -void rotate ( qreal angle ) -void save () -void scale ( qreal sx, qreal sy ) -void setBackground ( const QBrush & brush ) -void setBackgroundMode ( Qt::BGMode mode ) -void setBrush ( const QBrush & brush ) -void setBrush ( Qt::BrushStyle style ) -void setBrushOrigin ( const QPointF & position ) -void setBrushOrigin ( const QPoint & position ) -void setBrushOrigin ( int x, int y ) -void setClipPath ( const QPainterPath & path, Qt::ClipOperation operation = Qt::ReplaceClip ) -void setClipRect ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) -void setClipRect ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) -void setClipRect ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) -void setClipRegion ( const QRegion & region, Qt::ClipOperation operation = Qt::ReplaceClip ) -void setClipping ( bool enable ) -void setCompositionMode ( CompositionMode mode ) -void setFont ( const QFont & font ) -void setLayoutDirection ( Qt::LayoutDirection direction ) -void setOpacity ( qreal opacity ) -void setPen ( const QPen & pen ) -void setPen ( const QColor & color ) -void setPen ( Qt::PenStyle style ) -void setRenderHint ( RenderHint hint, bool on = true ) -void setRenderHints ( RenderHints hints, bool on = true ) -void setTransform ( const QTransform & transform, bool combine = false ) -void setViewTransformEnabled ( bool enable ) -void setViewport ( const QRect & rectangle ) -void setViewport ( int x, int y, int width, int height ) -void setWindow ( const QRect & rectangle ) -void setWindow ( int x, int y, int width, int height ) -void setWorldMatrix ( const QMatrix & matrix, bool combine = false ) -void setWorldMatrixEnabled ( bool enable ) -void setWorldTransform ( const QTransform & matrix, bool combine = false ) -void shear ( qreal sh, qreal sv ) -void strokePath ( const QPainterPath & path, const QPen & pen ) -bool testRenderHint ( RenderHint hint ) const -const QTransform & transform () const -void translate ( const QPointF & offset ) -void translate ( const QPoint & offset ) -void translate ( qreal dx, qreal dy ) -bool viewTransformEnabled () const -QRect viewport () const -QRect window () const -const QMatrix & worldMatrix () const -bool worldMatrixEnabled () const -const QTransform & worldTransform () const - - -QPaintDevice * redirected ( const QPaintDevice * device, QPoint * offset = 0 ) -void restoreRedirected ( const QPaintDevice * device ) -void setRedirected ( const QPaintDevice * device, QPaintDevice * replacement, const QPoint & offset = QPoint() ) - - diff --git a/harbour/contrib/hbqt/qth/QPainterPath.qth b/harbour/contrib/hbqt/qth/QPainterPath.qth deleted file mode 100644 index 8f97b2b3cd..0000000000 --- a/harbour/contrib/hbqt/qth/QPainterPath.qth +++ /dev/null @@ -1,151 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QPainterPath () - * QPainterPath ( const QPointF & startPoint ) - * QPainterPath ( const QPainterPath & path ) - * ~QPainterPath () - */ -HB_FUNC( QT_QPAINTERPATH ) -{ - hb_retptr( new QPainterPath() ); -} - - - -enum ElementType { MoveToElement, LineToElement, CurveToElement, CurveToDataElement } - - - -void addEllipse ( const QRectF & boundingRectangle ) -void addEllipse ( qreal x, qreal y, qreal width, qreal height ) -void addEllipse ( const QPointF & center, qreal rx, qreal ry ) -void addPath ( const QPainterPath & path ) -void addPolygon ( const QPolygonF & polygon ) -void addRect ( const QRectF & rectangle ) -void addRect ( qreal x, qreal y, qreal width, qreal height ) -void addRegion ( const QRegion & region ) -void addRoundedRect ( const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -void addRoundedRect ( qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize ) -void addText ( const QPointF & point, const QFont & font, const QString & text ) -void addText ( qreal x, qreal y, const QFont & font, const QString & text ) -qreal angleAtPercent ( qreal t ) const -void arcMoveTo ( const QRectF & rectangle, qreal angle ) -void arcMoveTo ( qreal x, qreal y, qreal width, qreal height, qreal angle ) -void arcTo ( const QRectF & rectangle, qreal startAngle, qreal sweepLength ) -void arcTo ( qreal x, qreal y, qreal width, qreal height, qreal startAngle, qreal sweepLength ) -QRectF boundingRect () const -void closeSubpath () -void connectPath ( const QPainterPath & path ) -bool contains ( const QPointF & point ) const -bool contains ( const QRectF & rectangle ) const -bool contains ( const QPainterPath & p ) const -QRectF controlPointRect () const -void cubicTo ( const QPointF & c1, const QPointF & c2, const QPointF & endPoint ) -void cubicTo ( qreal c1X, qreal c1Y, qreal c2X, qreal c2Y, qreal endPointX, qreal endPointY ) -QPointF currentPosition () const -// const QPainterPath::Element & elementAt ( int index ) const -int elementCount () const -Qt::FillRule fillRule () const -QPainterPath intersected ( const QPainterPath & p ) const -bool intersects ( const QRectF & rectangle ) const -bool intersects ( const QPainterPath & p ) const -bool isEmpty () const -qreal length () const -void lineTo ( const QPointF & endPoint ) -void lineTo ( qreal x, qreal y ) -void moveTo ( const QPointF & point ) -void moveTo ( qreal x, qreal y ) -qreal percentAtLength ( qreal len ) const -QPointF pointAtPercent ( qreal t ) const -void quadTo ( const QPointF & c, const QPointF & endPoint ) -void quadTo ( qreal cx, qreal cy, qreal endPointX, qreal endPointY ) -void setElementPositionAt ( int index, qreal x, qreal y ) -void setFillRule ( Qt::FillRule fillRule ) -QPainterPath simplified () const -qreal slopeAtPercent ( qreal t ) const -QPainterPath subtracted ( const QPainterPath & p ) const -QPolygonF toFillPolygon ( const QTransform & matrix ) const -QPolygonF toFillPolygon ( const QMatrix & matrix = QMatrix() ) const -QList toFillPolygons ( const QTransform & matrix ) const -QList toFillPolygons ( const QMatrix & matrix = QMatrix() ) const -QPainterPath toReversed () const -QList toSubpathPolygons ( const QTransform & matrix ) const -QList toSubpathPolygons ( const QMatrix & matrix = QMatrix() ) const -QPainterPath united ( const QPainterPath & p ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPalette.qth b/harbour/contrib/hbqt/qth/QPalette.qth deleted file mode 100644 index 70e35af758..0000000000 --- a/harbour/contrib/hbqt/qth/QPalette.qth +++ /dev/null @@ -1,166 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oPalette := QPalette():new() -oPalette := QPalette():new( nQt_color ) -oPalette := QPalette():new( pQPalette ) -oPalette := QPalette():new( pQColorButton, pQColorWindow ) - -/* TODO - * oPalette := QPalette():new( pQBrush_windowText, pQBrush_button, pQBrush_light, pQBrush_dark, ; - * pQBrush_mid, pQBrush_text, pQBrush_bright_text, pQBrush_base, ; - * pQBrush_window ) - */ - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QPalette* ) new QPalette( ( Qt::GlobalColor ) hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QPalette* ) new QPalette( *hbqt_par_QPalette( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( QPalette* ) new QPalette( *hbqt_par_QColor( 1 ), *hbqt_par_QColor( 2 ) ) ); - } - else - { - hb_retptr( ( QPalette* ) new QPalette() ); - } -} - - - -enum ColorGroup { Disabled, Active, Inactive, Normal } -enum ColorRole { Window, Background, WindowText, Foreground, ..., NoRole } - - - -const QBrush & alternateBase () const -const QBrush & base () const -const QBrush & brightText () const -const QBrush & brush ( ColorGroup group, ColorRole role ) const -const QBrush & brush ( ColorRole role ) const -const QBrush & button () const -const QBrush & buttonText () const -qint64 cacheKey () const -const QColor & color ( ColorGroup group, ColorRole role ) const -const QColor & color ( ColorRole role ) const -ColorGroup currentColorGroup () const -const QBrush & dark () const -const QBrush & highlight () const -const QBrush & highlightedText () const -bool isBrushSet ( ColorGroup cg, ColorRole cr ) const -bool isCopyOf ( const QPalette & p ) const -bool isEqual ( ColorGroup cg1, ColorGroup cg2 ) const -const QBrush & light () const -const QBrush & link () const -const QBrush & linkVisited () const -const QBrush & mid () const -const QBrush & midlight () const - -QPalette resolve ( const QPalette & other ) const - -void setBrush ( ColorRole role, const QBrush & brush ) -void setBrush ( ColorGroup group, ColorRole role, const QBrush & brush ) -void setColor ( ColorRole role, const QColor & color ) -void setColor ( ColorGroup group, ColorRole role, const QColor & color ) - -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 ) -void setCurrentColorGroup ( ColorGroup cg ) - -const QBrush & shadow () const -const QBrush & text () const -const QBrush & toolTipBase () const -const QBrush & toolTipText () const -const QBrush & window () const -const QBrush & windowText () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPen.qth b/harbour/contrib/hbqt/qth/QPen.qth deleted file mode 100644 index b50941a934..0000000000 --- a/harbour/contrib/hbqt/qth/QPen.qth +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = -Type = PlainObject - - - -oPen := QPen():new() -oPen := QPen():new( pQPen_other ) -oPen := QPen():new( nQt_PenStyle ) -oPen := QPen():new( "QColor", pQColor ) -oPen := QPen():new( pQBrush, nWidth, [ nQt_PenStyle = Qt_SolidLine ], ; - [ nQt_CapStyle = Qt_SquareCap ], ; - [ nQt_PenJointStyle = Qt_BevelJoin ] ) - -/* TODO - * oPen := QPen():new( pQPen ) - */ - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QPen* ) new QPen( ( Qt::PenStyle ) hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( 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" ) - { - hb_retptr( ( QPen* ) new QPen( *hbqt_par_QColor( 2 ) ) ); - } - else - { - hb_retptr( ( 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; - - hb_retptr( ( QPen* ) new QPen( *hbqt_par_QBrush( 1 ), hb_parnd( 2 ), iStyle, iCap, iJoin ) ); - } - else - { - hb_retptr( ( QPen* ) new QPen() ); - } -} - - - -QBrush brush () const -Qt::PenCapStyle capStyle () const -QColor color () const -qreal dashOffset () const -QVector dashPattern () const -bool isCosmetic () const -bool isSolid () const -Qt::PenJoinStyle joinStyle () const -qreal miterLimit () const -void setBrush ( const QBrush & brush ) -void setCapStyle ( Qt::PenCapStyle style ) -void setColor ( const QColor & color ) -void setCosmetic ( bool cosmetic ) -void setDashOffset ( qreal offset ) -void setDashPattern ( const QVector & pattern ) -void setJoinStyle ( Qt::PenJoinStyle style ) -void setMiterLimit ( qreal limit ) -void setStyle ( Qt::PenStyle style ) -void setWidth ( int width ) -void setWidthF ( qreal width ) -Qt::PenStyle style () const -int width () const -qreal widthF () const - - diff --git a/harbour/contrib/hbqt/qth/QPicture.qth b/harbour/contrib/hbqt/qth/QPicture.qth deleted file mode 100644 index 185652a021..0000000000 --- a/harbour/contrib/hbqt/qth/QPicture.qth +++ /dev/null @@ -1,121 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QPaintDevice -Type = PlainObject -New = - - - -oPicture := QPicture():new() -oPicture := QPicture():new( nFormatVersion ) -oPicture := QPicture():new( pQPicture ) - - - -#include - - -/* - * QPicture ( int formatVersion = -1 ) - * QPicture ( const QPicture & pic ) - * ~QPicture () - */ -HB_FUNC( QT_QPICTURE ) -{ - if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( new QPicture( hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QPicture( *hbqt_par_QPicture( 1 ) ) ); - } - else - { - hb_retptr( new QPicture() ); - } -} - - - - - - -QRect boundingRect () const -const char * data () const -bool isNull () const -bool load ( const QString & fileName, const char * format = 0 ) -bool load ( QIODevice * dev, const char * format = 0 ) -bool play ( QPainter * painter ) -bool save ( const QString & fileName, const char * format = 0 ) -bool save ( QIODevice * dev, const char * format = 0 ) -void setBoundingRect ( const QRect & r ) -virtual void setData ( const char * data, uint size ) -uint size () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPixmap.qth b/harbour/contrib/hbqt/qth/QPixmap.qth deleted file mode 100644 index c9d9af2d7f..0000000000 --- a/harbour/contrib/hbqt/qth/QPixmap.qth +++ /dev/null @@ -1,190 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QPaintDevice -Type = PlainObject -New = - - - -oPixmap := QPixmap():new() -oPixmap := QPixmap():new( nWidth, nHeight ) -oPixmap := QPixmap():new( cImageFilename ) -oPixmap := QPixmap():new( pQPixmap ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( new QPixmap( hbqt_par_QString( 1 ), ( const char * ) 0, Qt::AutoColor ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QPixmap( *hbqt_par_QPixmap( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( new QPixmap( hb_parni( 1 ), hb_parni( 2 ) ) ); - } - else - { - hb_retptr( new QPixmap() ); - } -} - - - -enum HBitmapFormat { NoAlpha, PremultipliedAlpha, Alpha } -enum ShareMode { ImplicitlyShared, ExplicitlyShared } - - - -QPixmap alphaChannel () const -qint64 cacheKey () const -# -// QRgb * clut () const -# -QPixmap copy ( const QRect & rectangle = QRect() ) const -QPixmap copy ( int x, int y, int width, int height ) const -QBitmap createHeuristicMask ( bool clipTight = true ) const -QBitmap createMaskFromColor ( const QColor & maskColor, Qt::MaskMode mode ) const -QBitmap createMaskFromColor ( const QColor & maskColor ) const -int depth () const -void detach () -void fill ( const QColor & color = Qt::white ) -void fill ( const QWidget * widget, const QPoint & offset ) -void fill ( const QWidget * widget, int x, int y ) -# -// Qt::HANDLE handle () const -# -bool hasAlpha () const -bool hasAlphaChannel () const -int height () const -bool isNull () const -bool isQBitmap () const -bool load ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) -# -// bool loadFromData ( const uchar * data, uint len, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) -# -bool loadFromData ( const QByteArray & data, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) -QBitmap mask () const -# -// int numCols () const -# -// const uchar * qwsBits () const -# -// int qwsBytesPerLine () const -# -QRect rect () const -bool save ( const QString & fileName, const char * format = 0, int quality = -1 ) const -bool save ( QIODevice * device, const char * format = 0, int quality = -1 ) const - -# Swapped -QPixmap scaled ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const -QPixmap scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const -# - -QPixmap scaledToHeight ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) const -QPixmap scaledToWidth ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) const -void setAlphaChannel ( const QPixmap & alphaChannel ) -void setMask ( const QBitmap & mask ) -QSize size () const -QImage toImage () const -# -// CGImageRef toMacCGImageRef () const -# -//HBITMAP toWinHBITMAP ( HBitmapFormat format = NoAlpha ) const -QPixmap transformed ( const QTransform & transform, Qt::TransformationMode mode = Qt::FastTransformation ) const -QPixmap transformed ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) const -int width () const - -int defaultDepth () -QPixmap fromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) -//QPixmap fromMacCGImageRef ( CGImageRef image ) -//QPixmap fromWinHBITMAP ( HBITMAP bitmap, HBitmapFormat format = NoAlpha ) -//QPixmap fromX11Pixmap ( Qt::HANDLE pixmap, ShareMode mode = ImplicitlyShared ) -QPixmap grabWidget ( QWidget * widget, const QRect & rectangle ) -QPixmap grabWidget ( QWidget * widget, int x = 0, int y = 0, int width = -1, int height = -1 ) -//QPixmap grabWindow ( WId window, int x = 0, int y = 0, int width = -1, int height = -1 ) -QTransform trueMatrix ( const QTransform & matrix, int width, int height ) -QMatrix trueMatrix ( const QMatrix & m, int w, int h ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPlainTextDocumentLayout.qth b/harbour/contrib/hbqt/qth/QPlainTextDocumentLayout.qth deleted file mode 100644 index df6f04c1d7..0000000000 --- a/harbour/contrib/hbqt/qth/QPlainTextDocumentLayout.qth +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QAbstractTextDocumentLayout -Type = -New = - - - -#include - - -/* - * QPlainTextDocumentLayout ( QTextDocument * document ) - * ~QPlainTextDocumentLayout () - */ -HB_FUNC( QT_QPLAINTEXTDOCUMENTLAYOUT ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QPlainTextDocumentLayout( hbqt_par_QTextDocument( 1 ) ) ); - } -} - - - - - - -int cursorWidth () const -void ensureBlockLayout ( const QTextBlock & block ) const -void requestUpdate () -void setCursorWidth ( int width ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPlainTextEdit.qth b/harbour/contrib/hbqt/qth/QPlainTextEdit.qth deleted file mode 100644 index cbc8b5defb..0000000000 --- a/harbour/contrib/hbqt/qth/QPlainTextEdit.qth +++ /dev/null @@ -1,176 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QAbstractScrollArea -Type = -New = - - - - - - -#include - - -/* - * QPlainTextEdit ( QWidget * parent = 0 ) - * QPlainTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~QPlainTextEdit () - */ -HB_FUNC( QT_QPLAINTEXTEDIT ) -{ - if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) - { - hb_retptr( new QPlainTextEdit() ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QPlainTextEdit( hbqt_par_QWidget( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( new QPlainTextEdit( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ); - } - else - { - hb_retptr( new QPlainTextEdit() ); - } -} - - - -enum LineWrapMode { NoWrap, WidgetWidth } - - - -bool backgroundVisible () const -int blockCount () const -bool canPaste () const -bool centerOnScroll () const -QMenu * createStandardContextMenu () -QTextCharFormat currentCharFormat () const -QTextCursor cursorForPosition ( const QPoint & pos ) const -QRect cursorRect ( const QTextCursor & cursor ) const -QRect cursorRect () const -int cursorWidth () const -QTextDocument * document () const -QString documentTitle () const -void ensureCursorVisible () -QList extraSelections () const -bool find ( const QString & exp, QTextDocument::FindFlags options = 0 ) -bool isReadOnly () const -bool isUndoRedoEnabled () const -LineWrapMode lineWrapMode () const -virtual QVariant loadResource ( int type, const QUrl & name ) -int maximumBlockCount () const -void mergeCurrentCharFormat ( const QTextCharFormat & modifier ) -void moveCursor ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) -bool overwriteMode () const -void print ( QPrinter * printer ) const -void setBackgroundVisible ( bool visible ) -void setCenterOnScroll ( bool enabled ) -void setCurrentCharFormat ( const QTextCharFormat & format ) -void setCursorWidth ( int width ) -void setDocument ( QTextDocument * document ) -void setDocumentTitle ( const QString & title ) -void setExtraSelections ( const QList & selections ) -void setLineWrapMode ( LineWrapMode mode ) -void setMaximumBlockCount ( int maximum ) -void setOverwriteMode ( bool overwrite ) -void setReadOnly ( bool ro ) -void setTabChangesFocus ( bool b ) -void setTabStopWidth ( int width ) -void setTextCursor ( const QTextCursor & cursor ) -void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) -void setUndoRedoEnabled ( bool enable ) -void setWordWrapMode ( QTextOption::WrapMode policy ) -bool tabChangesFocus () const -int tabStopWidth () const -QTextCursor textCursor () const -Qt::TextInteractionFlags textInteractionFlags () const -QString toPlainText () const -QTextOption::WrapMode wordWrapMode () const - - - -void appendHtml ( const QString & html ) -void appendPlainText ( const QString & text ) -void centerCursor () -void clear () -void copy () -void cut () -void insertPlainText ( const QString & text ) -void paste () -void redo () -void selectAll () -void setPlainText ( const QString & text ) -void undo () - - - -void blockCountChanged ( int newBlockCount ) -void copyAvailable ( bool yes ) -void cursorPositionChanged () -void modificationChanged ( bool changed ) -void redoAvailable ( bool available ) -void selectionChanged () -void textChanged () -void undoAvailable ( bool available ) -void updateRequest ( const QRect & rect, int dy ) - diff --git a/harbour/contrib/hbqt/qth/QPoint.qth b/harbour/contrib/hbqt/qth/QPoint.qth deleted file mode 100644 index 16ae3bbe52..0000000000 --- a/harbour/contrib/hbqt/qth/QPoint.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oPoint := QPoint():new() -oPoint := QPoint():new( nX, nY ) -oPoint := QPoint():new( pQPoint ) - - - -#include - - -/* - * QPoint () - * QPoint ( int x, int y ) - * ~QPoint () - */ -HB_FUNC( QT_QPOINT ) -{ - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QPoint* ) new QPoint( hb_parni( 1 ), hb_parni( 2 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QPoint* ) new QPoint( *hbqt_par_QPoint( 1 ) ) ); - } - else - { - hb_retptr( ( QPoint* ) new QPoint() ); - } -} - - - - - - -bool isNull () const -int manhattanLength () const -int & rx () -int & ry () -void setX ( int x ) -void setY ( int y ) -int x () const -int y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPointF.qth b/harbour/contrib/hbqt/qth/QPointF.qth deleted file mode 100644 index ac46f7c838..0000000000 --- a/harbour/contrib/hbqt/qth/QPointF.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oPointF := QPointF():new() -oPointF := QPointF():new( nX, nY ) -oPointF := QPointF():new( pQPoint ) - - - -#include - - -/* - * QPointF () - * QPointF ( const QPoint & point ) - * QPointF ( qreal x, qreal y ) - */ -HB_FUNC( QT_QPOINTF ) -{ - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QPointF* ) new QPointF( ( qreal ) hb_parnd( 1 ), ( qreal ) hb_parnd( 2 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QPointF* ) new QPointF( *hbqt_par_QPoint( 1 ) ) ); - } - else - { - hb_retptr( ( QPointF* ) new QPointF() ); - } -} - - - - - - -bool isNull () const -qreal & rx () -qreal & ry () -void setX ( qreal x ) -void setY ( qreal y ) -QPoint toPoint () const -qreal x () const -qreal y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPolygon.qth b/harbour/contrib/hbqt/qth/QPolygon.qth deleted file mode 100644 index d5d0e9a235..0000000000 --- a/harbour/contrib/hbqt/qth/QPolygon.qth +++ /dev/null @@ -1,111 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QPolygon () - * QPolygon ( int size ) - * QPolygon ( const QPolygon & polygon ) - * QPolygon ( const QVector & points ) - * QPolygon ( const QRect & rectangle, bool closed = false ) - * ~QPolygon () - */ -HB_FUNC( QT_QPOLYGON ) -{ - hb_retptr( new QPolygon() ); -} - - - - - - -QRect boundingRect () const -bool containsPoint ( const QPoint & point, Qt::FillRule fillRule ) const -QPolygon intersected ( const QPolygon & r ) const -void point ( int index, int * x, int * y ) const -QPoint point ( int index ) const -// void putPoints ( int index, int nPoints, int firstx, int firsty, ... ) -void putPoints ( int index, int nPoints, const QPolygon & fromPolygon, int fromIndex = 0 ) -void setPoint ( int index, int x, int y ) -void setPoint ( int index, const QPoint & point ) -void setPoints ( int nPoints, const int * points ) -// void setPoints ( int nPoints, int firstx, int firsty, ... ) -QPolygon subtracted ( const QPolygon & r ) const -void translate ( int dx, int dy ) -void translate ( const QPoint & offset ) -QPolygon united ( const QPolygon & r ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPolygonF.qth b/harbour/contrib/hbqt/qth/QPolygonF.qth deleted file mode 100644 index 95936ff933..0000000000 --- a/harbour/contrib/hbqt/qth/QPolygonF.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QPolygonF () - * QPolygonF ( int size ) - * QPolygonF ( const QPolygonF & polygon ) - * QPolygonF ( const QVector & points ) - * QPolygonF ( const QRectF & rectangle ) - * QPolygonF ( const QPolygon & polygon ) - * ~QPolygonF () - */ -HB_FUNC( QT_QPOLYGONF ) -{ - hb_retptr( new QPolygonF() ); -} - - - - - - -QRectF boundingRect () const -bool containsPoint ( const QPointF & point, Qt::FillRule fillRule ) const -QPolygonF intersected ( const QPolygonF & r ) const -bool isClosed () const -QPolygonF subtracted ( const QPolygonF & r ) const -QPolygon toPolygon () const -void translate ( const QPointF & offset ) -void translate ( qreal dx, qreal dy ) -QPolygonF united ( const QPolygonF & r ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPrintDialog.qth b/harbour/contrib/hbqt/qth/QPrintDialog.qth deleted file mode 100644 index 349e46ea47..0000000000 --- a/harbour/contrib/hbqt/qth/QPrintDialog.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractPrintDialog -New = pParent - - - -#include - - -/* - * QPrintDialog ( QPrinter * printer, QWidget * parent = 0 ) - * QPrintDialog ( QWidget * parent = 0 ) - * ~QPrintDialog () - */ -HB_FUNC( QT_QPRINTDIALOG ) -{ - hb_retptr( ( QPrintDialog* ) new QPrintDialog ( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum PrintDialogOption -flags PrintDialogOptions - - - -// void addButton ( QPushButton * button ) -virtual void done ( int result ) -void open ( QObject * receiver, const char * member ) -PrintDialogOptions options () const -QPrinter * printer () const -QPrinter * printer () -void setOption ( PrintDialogOption option, bool on = true ) -void setOptions ( PrintDialogOptions options ) -// void setPrinter ( QPrinter * printer, bool pickupSettings = false ) -virtual void setVisible ( bool visible ) -bool testOption ( PrintDialogOption option ) const - - - -void accepted ( QPrinter * printer ) - diff --git a/harbour/contrib/hbqt/qth/QPrintEngine.qth b/harbour/contrib/hbqt/qth/QPrintEngine.qth deleted file mode 100644 index 043cc8a7cb..0000000000 --- a/harbour/contrib/hbqt/qth/QPrintEngine.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * virtual ~QPrintEngine () - */ -HB_FUNC( QT_QPRINTENGINE ) -{ - -} - - - -enum PrintEnginePropertyKey { PPK_CollateCopies, PPK_ColorMode, PPK_Creator, PPK_Duplex, ..., PPK_CustomBase } - - - -virtual bool abort () -virtual int metric ( QPaintDevice::PaintDeviceMetric id ) const -virtual bool newPage () -virtual QPrinter::PrinterState printerState () const -virtual QVariant property ( PrintEnginePropertyKey key ) const -virtual void setProperty ( PrintEnginePropertyKey key, const QVariant & value ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth b/harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth deleted file mode 100644 index 36743ce2f0..0000000000 --- a/harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent, nFlags - - - -#include - - -/* - * QPrintPreviewDialog ( QPrinter * printer, QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * QPrintPreviewDialog ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QPrintPreviewDialog () - */ -HB_FUNC( QT_QPRINTPREVIEWDIALOG ) -{ - if( hb_pcount() >= 2 && HB_ISPOINTER( 2 ) ) - hb_retptr( new QPrintPreviewDialog( hbqt_par_QPrinter( 1 ), hbqt_par_QWidget( 2 ), ( Qt::WindowFlags ) hb_parni( 3 ) ) ); - else - hb_retptr( new QPrintPreviewDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -void open ( QObject * receiver, const char * member ) -QPrinter * printer () - - - -void paintRequested ( QPrinter * printer ) - - - diff --git a/harbour/contrib/hbqt/qth/QPrinter.qth b/harbour/contrib/hbqt/qth/QPrinter.qth deleted file mode 100644 index 55d8a1d39d..0000000000 --- a/harbour/contrib/hbqt/qth/QPrinter.qth +++ /dev/null @@ -1,167 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QPaintDevice -Type = -New = - - - -#include - - -/* - * QPrinter ( PrinterMode mode = ScreenResolution ) - * QPrinter ( const QPrinterInfo & printer, PrinterMode mode = ScreenResolution ) - * ~QPrinter () - */ -HB_FUNC( QT_QPRINTER ) -{ - hb_retptr( ( QPrinter* ) new QPrinter() ); -} - - - -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 } - - - -bool abort () -bool collateCopies () const -ColorMode colorMode () const -QString creator () const -QString docName () const -bool doubleSidedPrinting () const -DuplexMode duplex () const -bool fontEmbeddingEnabled () const -int fromPage () const -bool fullPage () const -void getPageMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom, Unit unit ) const -bool isValid () const -bool newPage () -int numCopies () const -Orientation orientation () const -QString outputFileName () const -OutputFormat outputFormat () const -PageOrder pageOrder () const -QRect pageRect () const -QRectF pageRect ( Unit unit ) const -virtual QPaintEngine * paintEngine () const -QRect paperRect () const -QRectF paperRect ( Unit unit ) const -PaperSize paperSize () const -QSizeF paperSize ( Unit unit ) const -PaperSource paperSource () const -QPrintEngine * printEngine () const -QString printProgram () const -PrintRange printRange () const -QString printerName () const -// QString printerSelectionOption () const -PrinterState printerState () const -int resolution () const -void setCollateCopies ( bool collate ) -void setColorMode ( ColorMode newColorMode ) -void setCreator ( const QString & creator ) -void setDocName ( const QString & name ) -void setDoubleSidedPrinting ( bool doubleSided ) -void setDuplex ( DuplexMode duplex ) -void setFontEmbeddingEnabled ( bool enable ) -void setFromTo ( int from, int to ) -void setFullPage ( bool fp ) -void setNumCopies ( int numCopies ) -void setOrientation ( Orientation orientation ) -void setOutputFileName ( const QString & fileName ) -void setOutputFormat ( OutputFormat format ) -void setPageMargins ( qreal left, qreal top, qreal right, qreal bottom, Unit unit ) -void setPageOrder ( PageOrder pageOrder ) -void setPaperSize ( PaperSize newPaperSize ) -void setPaperSize ( const QSizeF & paperSize, Unit unit ) -void setPaperSource ( PaperSource source ) -void setPrintProgram ( const QString & printProg ) -void setPrintRange ( PrintRange range ) -void setPrinterName ( const QString & name ) -// void setPrinterSelectionOption ( const QString & option ) -void setResolution ( int dpi ) -// void setWinPageSize ( int pageSize ) -QList supportedPaperSources () const -QList supportedResolutions () const -int toPage () const -// int winPageSize () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QProcess.qth b/harbour/contrib/hbqt/qth/QProcess.qth deleted file mode 100644 index 915f7b7648..0000000000 --- a/harbour/contrib/hbqt/qth/QProcess.qth +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QIODevice -Type = Core -New = - - - -#include - - -/* - * QProcess ( QObject * parent = 0 ) - * virtual ~QProcess () - */ -HB_FUNC( QT_QPROCESS ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QProcess* ) new QProcess( hbqt_par_QObject( 1 ) ) ); - } - else - { - hb_retptr( ( QProcess* ) new QProcess() ); - } -} - - - -# 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 } - - - -virtual void close () -void closeReadChannel ( ProcessChannel channel ) -void closeWriteChannel () -QStringList environment () const -QProcess::ProcessError error () const -int exitCode () const -QProcess::ExitStatus exitStatus () const -// Q_PID pid () const -ProcessChannelMode processChannelMode () const -QByteArray readAllStandardError () -QByteArray readAllStandardOutput () -ProcessChannel readChannel () const -void setEnvironment ( const QStringList & environment ) -void setProcessChannelMode ( ProcessChannelMode mode ) -void setReadChannel ( ProcessChannel channel ) -void setStandardErrorFile ( const QString & fileName, OpenMode mode = Truncate ) -void setStandardInputFile ( const QString & fileName ) -void setStandardOutputFile ( const QString & fileName, OpenMode mode = Truncate ) -void setStandardOutputProcess ( QProcess * destination ) -void setWorkingDirectory ( const QString & dir ) -void start ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) -void start ( const QString & program, OpenMode mode = ReadWrite ) -QProcess::ProcessState state () const -bool waitForFinished ( int msecs = 30000 ) -bool waitForStarted ( int msecs = 30000 ) -QString workingDirectory () const - -int execute ( const QString & program, const QStringList & arguments ) -int execute ( const QString & program ) -bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 ) -bool startDetached ( const QString & program, const QStringList & arguments ) -bool startDetached ( const QString & program ) -QStringList systemEnvironment () - - - -void kill () -void terminate () - - - -void error ( QProcess::ProcessError error ) -void finished ( int exitCode, QProcess::ExitStatus exitStatus ) -void readyReadStandardError () -void readyReadStandardOutput () -void started () -void stateChanged ( QProcess::ProcessState newState ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QProgressBar.qth b/harbour/contrib/hbqt/qth/QProgressBar.qth deleted file mode 100644 index e951a34c00..0000000000 --- a/harbour/contrib/hbqt/qth/QProgressBar.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QProgressBar ( QWidget * parent = 0 ) - */ -HB_FUNC( QT_QPROGRESSBAR ) -{ - hb_retptr( ( QProgressBar* ) new QProgressBar( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum Direction { TopToBottom, BottomToTop } - - - -Qt::Alignment alignment () const -QString format () const -bool invertedAppearance () -bool isTextVisible () const -int maximum () const -int minimum () const -Qt::Orientation orientation () const -void setAlignment ( Qt::Alignment alignment ) -void setFormat ( const QString & format ) -void setInvertedAppearance ( bool invert ) -void setTextDirection ( QProgressBar::Direction textDirection ) -void setTextVisible ( bool visible ) -virtual QString text () const -QProgressBar::Direction textDirection () -int value () const - - - -void reset () -void setMaximum ( int maximum ) -void setMinimum ( int minimum ) -void setOrientation ( Qt::Orientation ) -void setRange ( int minimum, int maximum ) -void setValue ( int value ) - - - -void valueChanged ( int value ) - diff --git a/harbour/contrib/hbqt/qth/QProgressDialog.qth b/harbour/contrib/hbqt/qth/QProgressDialog.qth deleted file mode 100644 index 7d5ec8c3ca..0000000000 --- a/harbour/contrib/hbqt/qth/QProgressDialog.qth +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent - - - -#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 ) -{ - hb_retptr( new QProgressDialog( hbqt_par_QWidget( 1 ) ) ); -} - - - -bool autoClose () const -bool autoReset () const -QString labelText () const -int maximum () const -int minimum () const -int minimumDuration () const -void open ( QObject * receiver, const char * member ) -void setAutoClose ( bool close ) -void setAutoReset ( bool reset ) -void setBar ( QProgressBar * bar ) -void setCancelButton ( QPushButton * cancelButton ) -void setLabel ( QLabel * label ) -virtual QSize sizeHint () const -int value () const -bool wasCanceled () const - - - -void cancel () -void reset () -void setCancelButtonText ( const QString & cancelButtonText ) -void setLabelText ( const QString & text ) -void setMaximum ( int maximum ) -void setMinimum ( int minimum ) -void setMinimumDuration ( int ms ) -void setRange ( int minimum, int maximum ) -void setValue ( int progress ) - - - -void canceled () - diff --git a/harbour/contrib/hbqt/qth/QPushButton.qth b/harbour/contrib/hbqt/qth/QPushButton.qth deleted file mode 100644 index 60ff79cf7a..0000000000 --- a/harbour/contrib/hbqt/qth/QPushButton.qth +++ /dev/null @@ -1,91 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractButton -New = pParent - - - -#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 ) -{ - hb_retptr( ( QPushButton* ) new QPushButton( hbqt_par_QWidget( 1 ) ) ); -} - - - -bool autoDefault () const -bool isDefault () const -bool isFlat () const -QMenu * menu () const -void setAutoDefault ( bool ) -void setDefault ( bool ) -void setFlat ( bool ) -void setMenu ( QMenu * menu ) - - - -void showMenu () - diff --git a/harbour/contrib/hbqt/qth/QRadialGradient.qth b/harbour/contrib/hbqt/qth/QRadialGradient.qth deleted file mode 100644 index 881b234839..0000000000 --- a/harbour/contrib/hbqt/qth/QRadialGradient.qth +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QGradient -Type = PlainObject -New = - - - -oRadialGradient := QRadialGradient():new() -oRadialGradient := QRadialGradient():new( pQRadialGradient ) -oRadialGradient := QRadialGradient():new( pQPointF_center, nRadius ) -oRadialGradient := QRadialGradient():new( pQPointF_center, nRadius, pQPointF_focalPoint ) -oRadialGradient := QRadialGradient():new( nCx, nCy, nRadius, nFx, nFy ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QRadialGradient* ) new QRadialGradient( *hbqt_par_QRadialGradient( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QRadialGradient* ) new QRadialGradient( *hbqt_par_QPointF( 1 ), hb_parnd( 2 ) ) ); - } - else if( hb_pcount() == 3 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) && HB_ISPOINTER( 3 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QRadialGradient* ) new QRadialGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ) ); - } - else - { - hb_retptr( ( QRadialGradient* ) new QRadialGradient() ); - } -} - - - -enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } -enum Spread { PadSpread, RepeatSpread, ReflectSpread } -enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } - - - -QPointF center () const -QPointF focalPoint () const -qreal radius () const -void setCenter ( const QPointF & center ) -void setCenter ( qreal x, qreal y ) -void setFocalPoint ( const QPointF & focalPoint ) -void setFocalPoint ( qreal x, qreal y ) -void setRadius ( qreal radius ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QRadioButton.qth b/harbour/contrib/hbqt/qth/QRadioButton.qth deleted file mode 100644 index fb70346119..0000000000 --- a/harbour/contrib/hbqt/qth/QRadioButton.qth +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractButton -New = pParent - - - -#include - - -/* - * QRadioButton ( QWidget * parent = 0 ) - * QRadioButton ( const QString & text, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QRADIOBUTTON ) -{ - if( HB_ISCHAR( 1 ) ) - hb_retptr( ( QRadioButton* ) new QRadioButton( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ); - else - hb_retptr( ( QRadioButton* ) new QRadioButton( hbqt_par_QWidget( 1 ) ) ); -} - diff --git a/harbour/contrib/hbqt/qth/QRect.qth b/harbour/contrib/hbqt/qth/QRect.qth deleted file mode 100644 index 8c31f98321..0000000000 --- a/harbour/contrib/hbqt/qth/QRect.qth +++ /dev/null @@ -1,180 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oRect := QRect():new() -oRect := QRect():new( pQRect_other ) -oRect := QRect():new( pQPoint_topLeft, pQPoint_bottomRight ) -oRect := QRect():new( nX, nY, nWidth, nHeight ) - -/* TODO: - * - * oRect := QRect():new( pQPoint_topLeft, pQSize_size ) - */ - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QRect* ) new QRect( *hbqt_par_QRect( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QRect* ) new QRect( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) ); - } - else - { - hb_retptr( ( QRect* ) new QRect() ); - } -} - - - - - - -void adjust ( int dx1, int dy1, int dx2, int dy2 ) -QRect adjusted ( int dx1, int dy1, int dx2, int dy2 ) const -int bottom () const -QPoint bottomLeft () const -QPoint bottomRight () const -QPoint center () const -bool contains ( const QPoint & point, bool proper = false ) const -bool contains ( int x, int y, bool proper ) const -bool contains ( int x, int y ) const -bool contains ( const QRect & rectangle, bool proper = false ) const -void getCoords ( int * x1, int * y1, int * x2, int * y2 ) const -void getRect ( int * x, int * y, int * width, int * height ) const -int height () const -QRect intersected ( const QRect & rectangle ) const -bool intersects ( const QRect & rectangle ) const -bool isEmpty () const -bool isNull () const -bool isValid () const -int left () const -void moveBottom ( int y ) -void moveBottomLeft ( const QPoint & position ) -void moveBottomRight ( const QPoint & position ) -void moveCenter ( const QPoint & position ) -void moveLeft ( int x ) -void moveRight ( int x ) -void moveTo ( int x, int y ) -void moveTo ( const QPoint & position ) -void moveTop ( int y ) -void moveTopLeft ( const QPoint & position ) -void moveTopRight ( const QPoint & position ) -QRect normalized () const -int right () const -void setBottom ( int y ) -void setBottomLeft ( const QPoint & position ) -void setBottomRight ( const QPoint & position ) -void setCoords ( int x1, int y1, int x2, int y2 ) -void setHeight ( int height ) -void setLeft ( int x ) -void setRect ( int x, int y, int width, int height ) -void setRight ( int x ) -void setSize ( const QSize & size ) -void setTop ( int y ) -void setTopLeft ( const QPoint & position ) -void setTopRight ( const QPoint & position ) -void setWidth ( int width ) -void setX ( int x ) -void setY ( int y ) -QSize size () const -int top () const -QPoint topLeft () const -QPoint topRight () const -void translate ( int dx, int dy ) -void translate ( const QPoint & offset ) -QRect translated ( int dx, int dy ) const -QRect translated ( const QPoint & offset ) const -QRect united ( const QRect & rectangle ) const -int width () const -int x () const -int y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QRectF.qth b/harbour/contrib/hbqt/qth/QRectF.qth deleted file mode 100644 index 7a142e19ae..0000000000 --- a/harbour/contrib/hbqt/qth/QRectF.qth +++ /dev/null @@ -1,182 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oRectF := QRectF():new() -oRectF := QRectF():new( pQRectF_other ) -oRectF := QRectF():new( pQPoint_topLeft, pQPoint_bottomRight ) -oRectF := QRectF():new( nX, nY, nWidth, nHeight ) - -/* TODO: - * - * oRect := QRectF():new( pQPoint_topLeft, pQSize_size ) - */ - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QRectF* ) new QRectF( *hbqt_par_QRectF( 1 ) ) ); - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QRectF* ) new QRectF( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) ); - } - else - { - hb_retptr( ( QRectF* ) new QRectF() ); - } -} - - - - - - -void adjust ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) -QRectF adjusted ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) const -qreal bottom () const -QPointF bottomLeft () const -QPointF bottomRight () const -QPointF center () const -bool contains ( const QPointF & point ) const -bool contains ( qreal x, qreal y ) const -bool contains ( const QRectF & rectangle ) const -void getCoords ( qreal * x1, qreal * y1, qreal * x2, qreal * y2 ) const -void getRect ( qreal * x, qreal * y, qreal * width, qreal * height ) const -qreal height () const -QRectF intersected ( const QRectF & rectangle ) const -bool intersects ( const QRectF & rectangle ) const -bool isEmpty () const -bool isNull () const -bool isValid () const -qreal left () const -void moveBottom ( qreal y ) -void moveBottomLeft ( const QPointF & position ) -void moveBottomRight ( const QPointF & position ) -void moveCenter ( const QPointF & position ) -void moveLeft ( qreal x ) -void moveRight ( qreal x ) -void moveTo ( qreal x, qreal y ) -void moveTo ( const QPointF & position ) -void moveTop ( qreal y ) -void moveTopLeft ( const QPointF & position ) -void moveTopRight ( const QPointF & position ) -QRectF normalized () const -qreal right () const -void setBottom ( qreal y ) -void setBottomLeft ( const QPointF & position ) -void setBottomRight ( const QPointF & position ) -void setCoords ( qreal x1, qreal y1, qreal x2, qreal y2 ) -void setHeight ( qreal height ) -void setLeft ( qreal x ) -void setRect ( qreal x, qreal y, qreal width, qreal height ) -void setRight ( qreal x ) -void setSize ( const QSizeF & size ) -void setTop ( qreal y ) -void setTopLeft ( const QPointF & position ) -void setTopRight ( const QPointF & position ) -void setWidth ( qreal width ) -void setX ( qreal x ) -void setY ( qreal y ) -QSizeF size () const -QRect toAlignedRect () const -QRect toRect () const -qreal top () const -QPointF topLeft () const -QPointF topRight () const -void translate ( qreal dx, qreal dy ) -void translate ( const QPointF & offset ) -QRectF translated ( qreal dx, qreal dy ) const -QRectF translated ( const QPointF & offset ) const -QRectF united ( const QRectF & rectangle ) const -qreal width () const -qreal x () const -qreal y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QRegExp.qth b/harbour/contrib/hbqt/qth/QRegExp.qth deleted file mode 100644 index 729a1ff7ba..0000000000 --- a/harbour/contrib/hbqt/qth/QRegExp.qth +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include -#include - -/* QRegExp () - * QRegExp ( const QString & pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, PatternSyntax syntax = RegExp ) - * QRegExp ( const QRegExp & rx ) - * ~QRegExp () - */ -HB_FUNC( QT_QREGEXP ) -{ - hb_retptr( new QRegExp() ); -} - - - -enum CaretMode { CaretAtZero, CaretAtOffset, CaretWontMatch } -enum PatternSyntax { RegExp, RegExp2, Wildcard, FixedString } - - - -QString cap ( int nth = 0 ) const -QStringList capturedTexts () const -Qt::CaseSensitivity caseSensitivity () const -QString errorString () const -bool exactMatch ( const QString & str ) const -int indexIn ( const QString & str, int offset = 0, CaretMode caretMode = CaretAtZero ) const -bool isEmpty () const -bool isMinimal () const -bool isValid () const -int lastIndexIn ( const QString & str, int offset = -1, CaretMode caretMode = CaretAtZero ) const -int matchedLength () const -int numCaptures () const -QString pattern () const -PatternSyntax patternSyntax () const -int pos ( int nth = 0 ) const -void setCaseSensitivity ( Qt::CaseSensitivity cs ) -void setMinimal ( bool minimal ) -void setPattern ( const QString & pattern ) -void setPatternSyntax ( PatternSyntax syntax ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QRegion.qth b/harbour/contrib/hbqt/qth/QRegion.qth deleted file mode 100644 index a91cbf8b08..0000000000 --- a/harbour/contrib/hbqt/qth/QRegion.qth +++ /dev/null @@ -1,164 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = nX, nY, nWidth, nHeight, nType - - - -oRegion := QRegion():new() -oRegion := QRegion():new( pQRegion_other ) -oRegion := QRegion():new( nX, nY, nW, nH, [ nQRegion_RegionType = QRegion_Rectangle ] ) -oRegion := QRegion():new( "QPolygon", pQPolygon, [ nQt_FillRule = Qt_OddEvenFill ] ) -oRegion := QRegion():new( "QBitmap" , pQBitmap ) -oRegion := QRegion():new( "QRect" , pQRect, [ nQRegion_RegionType = QRegion_Rectangle ] ) ) -oRegion := QRegion():new( pQRect, nQRegion_RegionType ) - - - -#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 ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QRegion* ) new QRegion( *hbqt_par_QRegion( 1 ) ) ); - } - else if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( 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 ) ) - { - hb_retptr( ( QRegion* ) new QRegion( *hbqt_par_QBitmap( 2 ) ) ); - } - else if( ( QString ) "QRect" == hbqt_par_QString( 1 ) ) - { - hb_retptr( ( QRegion* ) new QRegion( *hbqt_par_QRect( 2 ), HB_ISNUM( 3 ) ? ( QRegion::RegionType ) hb_parni( 3 ) : QRegion::Rectangle ) ); - } - else - { - hb_retptr( ( QRegion* ) new QRegion() ); - } - } - else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QRegion* ) new QRegion( *hbqt_par_QRect( 1 ), ( QRegion::RegionType ) hb_parni( 2 ) ) ); - } - else - { - hb_retptr( ( QRegion* ) new QRegion() ); - } -} - - - -enum RegionType { Rectangle, Ellipse } - - - -QRect boundingRect () const -bool contains ( const QPoint & p ) const -bool contains ( const QRect & r ) const -# -# non-portable -// Handle handle () const -# -QRegion intersected ( const QRegion & r ) const -QRegion intersected ( const QRect & rect ) const -bool intersects ( const QRegion & region ) const -bool intersects ( const QRect & rect ) const -bool isEmpty () const -int numRects () const -QVector rects () const -void setRects ( const QRect * rects, int number ) -QRegion subtracted ( const QRegion & r ) const -void translate ( int dx, int dy ) -void translate ( const QPoint & point ) -QRegion translated ( int dx, int dy ) const -QRegion translated ( const QPoint & p ) const -QRegion united ( const QRegion & r ) const -QRegion united ( const QRect & rect ) const -QRegion xored ( const QRegion & r ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QResizeEvent.qth b/harbour/contrib/hbqt/qth/QResizeEvent.qth deleted file mode 100644 index 075d8b1934..0000000000 --- a/harbour/contrib/hbqt/qth/QResizeEvent.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id: QBrush.qth 10780 2009-04-05 09:32:56Z vouchcac $ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QResizeEvent ( const QSize & size, const QSize & oldSize ) - */ -HB_FUNC( QT_QRESIZEEVENT ) -{ - // hb_retptr( ( QResizeEvent* ) new QResizeEvent() ); -} - - - - - - -const QSize & oldSize () const -const QSize & size () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QResource.qth b/harbour/contrib/hbqt/qth/QResource.qth deleted file mode 100644 index 838b158945..0000000000 --- a/harbour/contrib/hbqt/qth/QResource.qth +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QResource ( const QString & file = QString(), const QLocale & locale = QLocale() ) - * ~QResource () - */ -HB_FUNC( QT_QRESOURCE ) -{ - hb_retptr( ( QResource* ) new QResource() ); -} - - - - - - -QString absoluteFilePath () const -const uchar * data () const -QString fileName () const -bool isCompressed () const -bool isValid () const -QLocale locale () const -void setFileName ( const QString & file ) -void setLocale ( const QLocale & locale ) -qint64 size () const - -bool registerResource ( const QString & rccFileName, const QString & mapRoot = QString() ) -//bool registerResource ( const uchar * rccData, const QString & mapRoot = QString() ) -QStringList searchPaths () -bool unregisterResource ( const QString & rccFileName, const QString & mapRoot = QString() ) -//bool unregisterResource ( const uchar * rccData, const QString & mapRoot = QString() ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QScrollArea.qth b/harbour/contrib/hbqt/qth/QScrollArea.qth deleted file mode 100644 index 69410a2e52..0000000000 --- a/harbour/contrib/hbqt/qth/QScrollArea.qth +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractScrollArea -New = pParent - - - -#include - - -/* - * QScrollArea ( QWidget * parent = 0 ) - * ~QScrollArea () - */ -HB_FUNC( QT_QSCROLLAREA ) -{ - hb_retptr( ( QScrollArea* ) new QScrollArea( hbqt_par_QWidget( 1 ) ) ); -} - - - -Qt::Alignment alignment () const -void ensureVisible ( int x, int y, int xmargin = 50, int ymargin = 50 ) -void ensureWidgetVisible ( QWidget * childWidget, int xmargin = 50, int ymargin = 50 ) -void setAlignment ( Qt::Alignment ) -void setWidget ( QWidget * widget ) -void setWidgetResizable ( bool resizable ) -QWidget * takeWidget () -QWidget * widget () const -bool widgetResizable () const - - diff --git a/harbour/contrib/hbqt/qth/QScrollBar.qth b/harbour/contrib/hbqt/qth/QScrollBar.qth deleted file mode 100644 index c6c96e465c..0000000000 --- a/harbour/contrib/hbqt/qth/QScrollBar.qth +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractSlider -New = pParent - - - -#include - - -/* - * QScrollBar ( QWidget * parent = 0 ) - * QScrollBar ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QScrollBar () - */ -HB_FUNC( QT_QSCROLLBAR ) -{ - hb_retptr( ( QScrollBar* ) new QScrollBar( hbqt_par_QWidget( 1 ) ) ); -} - - - diff --git a/harbour/contrib/hbqt/qth/QSessionManager.qth b/harbour/contrib/hbqt/qth/QSessionManager.qth deleted file mode 100644 index 7d6a6e9641..0000000000 --- a/harbour/contrib/hbqt/qth/QSessionManager.qth +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = no - - - -#include - - -/* - * - */ -HB_FUNC( QT_QSESSIONMANAGER ) -{ - // hb_retptr( new () ); -} - - - -enum RestartHint { RestartIfRunning, RestartAnyway, RestartImmediately, RestartNever } - - - -bool allowsErrorInteraction () -bool allowsInteraction () -void cancel () -QStringList discardCommand () const -bool isPhase2 () const -void release () -void requestPhase2 () -QStringList restartCommand () const -RestartHint restartHint () const -QString sessionId () const -QString sessionKey () const -void setDiscardCommand ( const QStringList & list ) -void setManagerProperty ( const QString & name, const QStringList & value ) -void setManagerProperty ( const QString & name, const QString & value ) -void setRestartCommand ( const QStringList & command ) -void setRestartHint ( RestartHint hint ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSettings.qth b/harbour/contrib/hbqt/qth/QSettings.qth deleted file mode 100644 index e910ff3917..0000000000 --- a/harbour/contrib/hbqt/qth/QSettings.qth +++ /dev/null @@ -1,142 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include -#include - -/* - * QSettings ( const QString & organization, const QString & application = QString(), QObject * parent = 0 ) - * QSettings ( Scope scope, const QString & organization, const QString & application = QString(), QObject * parent = * 0 ) - * QSettings ( Format format, Scope scope, const QString & organization, const QString & application = QString(), * QObject * parent = 0 ) - * QSettings ( const QString & fileName, Format format, QObject * parent = 0 ) - * QSettings ( QObject * parent = 0 ) - * ~QSettings () - */ -HB_FUNC( QT_QSETTINGS ) -{ - if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) - { - hb_retptr( new QSettings( hbqt_par_QString( 1 ), hbqt_par_QString( 2 ), 0 ) ); - } - else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( new QSettings( hbqt_par_QString( 1 ), ( QSettings::Format ) hb_parni( 2 ) ) ); - } - else - { - hb_retptr( new QSettings() ); - } -} - - - -enum Format { NativeFormat, IniFormat, InvalidFormat } -enum Scope { UserScope, SystemScope } -enum Status { NoError, AccessError, FormatError } - - - -QStringList allKeys () const -QString applicationName () const -void beginGroup ( const QString & prefix ) -int beginReadArray ( const QString & prefix ) -void beginWriteArray ( const QString & prefix, int size = -1 ) -QStringList childGroups () const -QStringList childKeys () const -void clear () -bool contains ( const QString & key ) const -void endArray () -void endGroup () -bool fallbacksEnabled () const -QString fileName () const -Format format () const -QString group () const -QTextCodec * iniCodec () const -bool isWritable () const -QString organizationName () const -void remove ( const QString & key ) -Scope scope () const -void setArrayIndex ( int i ) -void setFallbacksEnabled ( bool b ) -void setIniCodec ( QTextCodec * codec ) -void setIniCodec ( const char * codecName ) -void setValue ( const QString & key, const QVariant & value ) -Status status () const -void sync () -QVariant value ( const QString & key, const QVariant & defaultValue = QVariant() ) const - -Format defaultFormat () -//Format registerFormat ( const QString & extension, ReadFunc readFunc, WriteFunc writeFunc, Qt::CaseSensitivity caseSensitivity = Qt::CaseSensitive ) -void setDefaultFormat ( Format format ) -void setPath ( Format format, Scope scope, const QString & path ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QShowEvent.qth b/harbour/contrib/hbqt/qth/QShowEvent.qth deleted file mode 100644 index 5926b4e506..0000000000 --- a/harbour/contrib/hbqt/qth/QShowEvent.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QShowEvent () - */ -HB_FUNC( QT_QSHOWEVENT ) -{ - // hb_retptr( new QShowEvent() ); -} - - - - - - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSignalMapper.qth b/harbour/contrib/hbqt/qth/QSignalMapper.qth deleted file mode 100644 index bef19bb185..0000000000 --- a/harbour/contrib/hbqt/qth/QSignalMapper.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QObject -New = pParent - - - -#include - - -/* - * QSignalMapper ( QObject * parent = 0 ) - * ~QSignalMapper () - */ -HB_FUNC( QT_QSIGNALMAPPER ) -{ - hb_retptr( new QSignalMapper( hbqt_par_QObject( 1 ) ) ); -} - - - -QObject * mapping ( int id ) const -QObject * mapping ( const QString & id ) const -QObject * mapping ( QWidget * widget ) const -QObject * mapping ( QObject * object ) const -void removeMappings ( QObject * sender ) -void setMapping ( QObject * sender, int id ) -void setMapping ( QObject * sender, const QString & text ) -void setMapping ( QObject * sender, QWidget * widget ) -void setMapping ( QObject * sender, QObject * object ) - - - -void map () -void map ( QObject * sender ) - - - -void mapped ( int i ) -void mapped ( const QString & text ) -void mapped ( QWidget * widget ) -void mapped ( QObject * object ) - - diff --git a/harbour/contrib/hbqt/qth/QSize.qth b/harbour/contrib/hbqt/qth/QSize.qth deleted file mode 100644 index 1f1dfbeb4c..0000000000 --- a/harbour/contrib/hbqt/qth/QSize.qth +++ /dev/null @@ -1,123 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oSize := QSize():new() -oSize := QSize():new( pSize ) -oSize := QSize():new( nWidth, nHeight ) - - - -#include - - -/* - * QSize () - * QSize ( int width, int height ) - * ~QSize () - */ -HB_FUNC( QT_QSIZE ) -{ - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QSize* ) new QSize( hb_parni( 1 ), hb_parni( 2 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QSize* ) new QSize( *hbqt_par_QSize( 1 ) ) ); - } - else - { - hb_retptr( ( QSize* ) new QSize() ); - } -} - - - - - - -int height () const -bool isEmpty () const -bool isNull () const -bool isValid () const -int & rheight () -int & rwidth () -void scale ( int width, int height, Qt::AspectRatioMode mode ) -void scale ( const QSize & size, Qt::AspectRatioMode mode ) -void setHeight ( int height ) -void setWidth ( int width ) -void transpose () -int width () const -QSize boundedTo ( const QSize & otherSize ) const -QSize expandedTo ( const QSize & otherSize ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSizeF.qth b/harbour/contrib/hbqt/qth/QSizeF.qth deleted file mode 100644 index 83c000c3f8..0000000000 --- a/harbour/contrib/hbqt/qth/QSizeF.qth +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = PlainObject -New = - - - -oSizeF := QSizeF():new() -oSizeF := QSizeF():new( nWidth, nHeight ) - - - -#include - - -/* - * QSizeF () - * QSizeF ( const QSize & size ) - * QSizeF ( qreal width, qreal height ) - * ~QSizeF () - */ -HB_FUNC( QT_QSIZEF ) -{ - if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( ( QSizeF* ) new QSizeF( hb_parnd( 1 ), hb_parnd( 2 ) ) ); - } - else - { - hb_retptr( ( QSizeF* ) new QSizeF() ); - } -} - - - - - - -QSizeF boundedTo ( const QSizeF & otherSize ) const -QSizeF expandedTo ( const QSizeF & otherSize ) const -qreal height () const -bool isEmpty () const -bool isNull () const -bool isValid () const -qreal & rheight () -qreal & rwidth () -void scale ( qreal width, qreal height, Qt::AspectRatioMode mode ) -void scale ( const QSizeF & size, Qt::AspectRatioMode mode ) -void setHeight ( qreal height ) -void setWidth ( qreal width ) -QSize toSize () const -void transpose () -qreal width () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSizeGrip.qth b/harbour/contrib/hbqt/qth/QSizeGrip.qth deleted file mode 100644 index d17a1005bf..0000000000 --- a/harbour/contrib/hbqt/qth/QSizeGrip.qth +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QSizeGrip ( QWidget * parent ) - * ~QSizeGrip () - */ -HB_FUNC( QT_QSIZEGRIP ) -{ - hb_retptr( ( QSizeGrip* ) new QSizeGrip( hbqt_par_QWidget( 1 ) ) ); -} - - - - diff --git a/harbour/contrib/hbqt/qth/QSizePolicy.qth b/harbour/contrib/hbqt/qth/QSizePolicy.qth deleted file mode 100644 index 4c5532a197..0000000000 --- a/harbour/contrib/hbqt/qth/QSizePolicy.qth +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QSizePolicy () - * QSizePolicy ( Policy horizontal, Policy vertical ) - * QSizePolicy ( Policy horizontal, Policy vertical, ControlType type ) - */ -HB_FUNC( QT_QSIZEPOLICY ) -{ - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( new QSizePolicy( ( QSizePolicy::Policy ) hb_parni( 1 ), ( QSizePolicy::Policy ) hb_parni( 2 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QSizePolicy( *hbqt_par_QSizePolicy( 1 ) ) ); - } - else - { - hb_retptr( new QSizePolicy() ); - } -} - - - -enum Policy { Fixed, Minimum, Maximum, Preferred, ..., Ignored } -enum PolicyFlag { GrowFlag, ExpandFlag, ShrinkFlag, IgnoreFlag } -enum ControlType { DefaultType, ButtonBox, CheckBox, ComboBox, ..., ToolButton } -flags ControlTypes - - - -ControlType controlType () const -Qt::Orientations expandingDirections () const -bool hasHeightForWidth () const -Policy horizontalPolicy () const -int horizontalStretch () const -void setControlType ( ControlType type ) -void setHeightForWidth ( bool dependent ) -void setHorizontalPolicy ( Policy policy ) -void setHorizontalStretch ( uchar stretchFactor ) -void setVerticalPolicy ( Policy policy ) -void setVerticalStretch ( uchar stretchFactor ) -void transpose () -Policy verticalPolicy () const -int verticalStretch () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSlider.qth b/harbour/contrib/hbqt/qth/QSlider.qth deleted file mode 100644 index 1da6185a1f..0000000000 --- a/harbour/contrib/hbqt/qth/QSlider.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractSlider -New = pParent - - - -#include - - -/* - * QSlider ( QWidget * parent = 0 ) - * QSlider ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QSlider () - */ -HB_FUNC( QT_QSLIDER ) -{ - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - hb_retptr( ( QSlider* ) new QSlider( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); - else - hb_retptr( ( QSlider* ) new QSlider( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum TickPosition { NoTicks, TicksBothSides, TicksAbove, TicksBelow, TicksLeft, TicksRight } - - - -void setTickInterval ( int ti ) -void setTickPosition ( TickPosition position ) -int tickInterval () const -TickPosition tickPosition () const - - - - - diff --git a/harbour/contrib/hbqt/qth/QSound.qth b/harbour/contrib/hbqt/qth/QSound.qth deleted file mode 100644 index 2af5ca56ef..0000000000 --- a/harbour/contrib/hbqt/qth/QSound.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = -Type = Core -New = - - - -#include - - -/* - * QSound ( const QString & filename, QObject * parent = 0 ) - * ~QSound () - */ -HB_FUNC( QT_QSOUND ) -{ - hb_retptr( ( QSound* ) new QSound( hbqt_par_QString( 1 ) ) ); -} - - - - - - -QString fileName () const -bool isFinished () const -int loops () const -int loopsRemaining () const -void setLoops ( int number ) - -bool isAvailable () -void play ( const QString & filename ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSpacerItem.qth b/harbour/contrib/hbqt/qth/QSpacerItem.qth deleted file mode 100644 index 0d4c9d9c90..0000000000 --- a/harbour/contrib/hbqt/qth/QSpacerItem.qth +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QLayoutItem -Type = Core -New = -Destructor = - - - -#include - - -/* QSpacerItem ( int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum ) - * - */ -HB_FUNC( QT_QSPACERITEM ) -{ - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( new QSpacerItem( hb_parni( 1 ), hb_parni( 2 ), - HB_ISNUM( 3 ) ? ( QSizePolicy::Policy ) hb_parni( 3 ) : QSizePolicy::Minimum, - HB_ISNUM( 4 ) ? ( QSizePolicy::Policy ) hb_parni( 4 ) : QSizePolicy::Minimum ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QSpacerItem( *hbqt_par_QSpacerItem( 1 ) ) ); - } -} - - - - - - -void changeSize ( int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum ) -virtual bool isEmpty () const -virtual QSpacerItem * spacerItem () - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSpinBox.qth b/harbour/contrib/hbqt/qth/QSpinBox.qth deleted file mode 100644 index 40930ff965..0000000000 --- a/harbour/contrib/hbqt/qth/QSpinBox.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractSpinBox -New = pParent - - - -#include - - -/* - * QSpinBox ( QWidget * parent = 0 ) - */ -HB_FUNC( QT_QSPINBOX ) -{ - hb_retptr( ( QSpinBox* ) new QSpinBox( hbqt_par_QWidget( 1 ) ) ); -} - - - -QString cleanText () const -int maximum () const -int minimum () const -QString prefix () const -void setMaximum ( int max ) -void setMinimum ( int min ) -void setPrefix ( const QString & prefix ) -void setRange ( int minimum, int maximum ) -void setSingleStep ( int val ) -void setSuffix ( const QString & suffix ) -int singleStep () const -QString suffix () const -int value () const - - - -void setValue ( int val ) - - - -void valueChanged ( int i ) -void valueChanged ( const QString & text ) - diff --git a/harbour/contrib/hbqt/qth/QSplashScreen.qth b/harbour/contrib/hbqt/qth/QSplashScreen.qth deleted file mode 100644 index 2100a37a56..0000000000 --- a/harbour/contrib/hbqt/qth/QSplashScreen.qth +++ /dev/null @@ -1,93 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#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 ) -{ - hb_retptr( new QSplashScreen( hbqt_par_QWidget( 1 ) ) ); -} - - - -void finish ( QWidget * mainWin ) -const QPixmap pixmap () const -void repaint () -void setPixmap ( const QPixmap & pixmap ) - - - -void clearMessage () -void showMessage ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black ) - - - -void messageChanged ( const QString & message ) - - - diff --git a/harbour/contrib/hbqt/qth/QSplitter.qth b/harbour/contrib/hbqt/qth/QSplitter.qth deleted file mode 100644 index a8822f6f08..0000000000 --- a/harbour/contrib/hbqt/qth/QSplitter.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QFrame -New = pParent - - - -#include - - -/* - * QSplitter ( QWidget * parent = 0 ) - * QSplitter ( Qt::Orientation orientation, QWidget * parent = 0 ) - * ~QSplitter () - */ -HB_FUNC( QT_QSPLITTER ) -{ - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - hb_retptr( ( QSplitter* ) new QSplitter( ( Qt::Orientation ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) ); - else - hb_retptr( ( QSplitter* ) new QSplitter( hbqt_par_QWidget( 1 ) ) ); -} - - - -void addWidget ( QWidget * widget ) -bool childrenCollapsible () const -int count () const -void getRange ( int index, int * min, int * max ) const -# -# The call below need QSplitterHandle class constructed firts -# Will review later -# -//QSplitterHandle * handle ( int index ) const -# -int handleWidth () const -int indexOf ( QWidget * widget ) const -void insertWidget ( int index, QWidget * widget ) -bool isCollapsible ( int index ) const -bool opaqueResize () const -Qt::Orientation orientation () const -void refresh () -bool restoreState ( const QByteArray & state ) -QByteArray saveState () const -void setChildrenCollapsible ( bool ) -void setCollapsible ( int index, bool collapse ) -void setHandleWidth ( int ) -void setOpaqueResize ( bool opaque = true ) -void setOrientation ( Qt::Orientation ) -void setSizes ( const QList & list ) -void setStretchFactor ( int index, int stretch ) -QList sizes () const -QWidget * widget ( int index ) const - - - -void splitterMoved ( int pos, int index ) - diff --git a/harbour/contrib/hbqt/qth/QStackedWidget.qth b/harbour/contrib/hbqt/qth/QStackedWidget.qth deleted file mode 100644 index 1af5cbad77..0000000000 --- a/harbour/contrib/hbqt/qth/QStackedWidget.qth +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QFrame -Type = -New = - - - - - - - - - -#include - - -/* - * QStackedWidget ( QWidget * parent = 0 ) - * ~QStackedWidget () - * - */ -HB_FUNC( QT_QSTACKEDWIDGET ) -{ - hb_retptr( new QStackedWidget( hbqt_par_QWidget( 1 ) ) ); -} - - - - - - -int addWidget ( QWidget * widget ) -int count () const -int currentIndex () const -QWidget * currentWidget () const -int indexOf ( QWidget * widget ) const -int insertWidget ( int index, QWidget * widget ) -void removeWidget ( QWidget * widget ) -QWidget * widget ( int index ) const - - - -void setCurrentIndex ( int index ) -void setCurrentWidget ( QWidget * widget ) - - - -void currentChanged ( int index ) -void widgetRemoved ( int index ) - diff --git a/harbour/contrib/hbqt/qth/QStandardItem.qth b/harbour/contrib/hbqt/qth/QStandardItem.qth deleted file mode 100644 index e9c83b94a4..0000000000 --- a/harbour/contrib/hbqt/qth/QStandardItem.qth +++ /dev/null @@ -1,175 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#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 ) -{ - hb_retptr( ( QStandardItem* ) new QStandardItem() ); -} - - - -enum ItemType { Type, UserType } - - - -QString accessibleDescription () const -QString accessibleText () const -void appendColumn ( const QList & items ) -void appendRow ( const QList & items ) -void appendRow ( QStandardItem * item ) -void appendRows ( const QList & items ) -QBrush background () const -Qt::CheckState checkState () const -QStandardItem * child ( int row, int column = 0 ) const -virtual QStandardItem * clone () const -int column () const -int columnCount () const -virtual QVariant data ( int role = Qt::UserRole + 1 ) const -Qt::ItemFlags flags () const -QFont font () const -QBrush foreground () const -bool hasChildren () const -QIcon icon () const -QModelIndex index () const -void insertColumn ( int column, const QList & items ) -void insertColumns ( int column, int count ) -void insertRow ( int row, const QList & items ) -void insertRow ( int row, QStandardItem * item ) -void insertRows ( int row, const QList & items ) -void insertRows ( int row, int count ) -bool isCheckable () const -bool isDragEnabled () const -bool isDropEnabled () const -bool isEditable () const -bool isEnabled () const -bool isSelectable () const -bool isTristate () const -QStandardItemModel * model () const -QStandardItem * parent () const -virtual void read ( QDataStream & in ) -void removeColumn ( int column ) -void removeColumns ( int column, int count ) -void removeRow ( int row ) -void removeRows ( int row, int count ) -int row () const -int rowCount () const -void setAccessibleDescription ( const QString & accessibleDescription ) -void setAccessibleText ( const QString & accessibleText ) -void setBackground ( const QBrush & brush ) -void setCheckState ( Qt::CheckState state ) -void setCheckable ( bool checkable ) -void setChild ( int row, int column, QStandardItem * item ) -void setChild ( int row, QStandardItem * item ) -void setColumnCount ( int columns ) -virtual void setData ( const QVariant & value, int role = Qt::UserRole + 1 ) -void setDragEnabled ( bool dragEnabled ) -void setDropEnabled ( bool dropEnabled ) -void setEditable ( bool editable ) -void setEnabled ( bool enabled ) -void setFlags ( Qt::ItemFlags flags ) -void setFont ( const QFont & font ) -void setForeground ( const QBrush & brush ) -void setIcon ( const QIcon & icon ) -void setRowCount ( int rows ) -void setSelectable ( bool selectable ) -void setSizeHint ( const QSize & size ) -void setStatusTip ( const QString & statusTip ) -void setText ( const QString & text ) -void setTextAlignment ( Qt::Alignment alignment ) -void setToolTip ( const QString & toolTip ) -void setTristate ( bool tristate ) -void setWhatsThis ( const QString & whatsThis ) -QSize sizeHint () const -void sortChildren ( int column, Qt::SortOrder order = Qt::AscendingOrder ) -QString statusTip () const -QStandardItem * takeChild ( int row, int column = 0 ) -QList takeColumn ( int column ) -QList takeRow ( int row ) -QString text () const -Qt::Alignment textAlignment () const -QString toolTip () const -virtual int type () const -QString whatsThis () const -virtual void write ( QDataStream & out ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStandardItemModel.qth b/harbour/contrib/hbqt/qth/QStandardItemModel.qth deleted file mode 100644 index 53f9ff7705..0000000000 --- a/harbour/contrib/hbqt/qth/QStandardItemModel.qth +++ /dev/null @@ -1,126 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractItemModeL -Type = Core -New = - - - -#include - - -/* - * QStandardItemModel ( QObject * parent = 0 ) - * QStandardItemModel ( int rows, int columns, QObject * parent = 0 ) - * ~QStandardItemModel () - */ -HB_FUNC( QT_QSTANDARDITEMMODEL ) -{ - hb_retptr( ( QStandardItemModel* ) new QStandardItemModel( hbqt_par_QObject( 1 ) ) ); -} - - - - - - -void appendColumn ( const QList & items ) -void appendRow ( const QList & items ) -void appendRow ( QStandardItem * item ) -void clear () -QList findItems ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0 ) const -QStandardItem * horizontalHeaderItem ( int column ) const -QModelIndex indexFromItem ( const QStandardItem * item ) const -void insertColumn ( int column, const QList & items ) -bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() ) -void insertRow ( int row, const QList & items ) -bool insertRow ( int row, const QModelIndex & parent = QModelIndex() ) -void insertRow ( int row, QStandardItem * item ) -QStandardItem * invisibleRootItem () const -QStandardItem * item ( int row, int column = 0 ) const -QStandardItem * itemFromIndex ( const QModelIndex & index ) const -// const QStandardItem * itemPrototype () const -void setColumnCount ( int columns ) -void setHorizontalHeaderItem ( int column, QStandardItem * item ) -void setHorizontalHeaderLabels ( const QStringList & labels ) -void setItem ( int row, int column, QStandardItem * item ) -void setItem ( int row, QStandardItem * item ) -void setItemPrototype ( const QStandardItem * item ) -void setRowCount ( int rows ) -void setSortRole ( int role ) -void setVerticalHeaderItem ( int row, QStandardItem * item ) -void setVerticalHeaderLabels ( const QStringList & labels ) -int sortRole () const -QList takeColumn ( int column ) -QStandardItem * takeHorizontalHeaderItem ( int column ) -QStandardItem * takeItem ( int row, int column = 0 ) -QList takeRow ( int row ) -QStandardItem * takeVerticalHeaderItem ( int row ) -QStandardItem * verticalHeaderItem ( int row ) const - - - - - - -void itemChanged ( QStandardItem * item ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QStatusBar.qth b/harbour/contrib/hbqt/qth/QStatusBar.qth deleted file mode 100644 index f3d5142d6d..0000000000 --- a/harbour/contrib/hbqt/qth/QStatusBar.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QWidget -Type = Core -New = - - - -#include - - -/* - * QStatusBar ( QWidget * parent = 0 ) - * virtual ~QStatusBar () - */ -HB_FUNC( QT_QSTATUSBAR ) -{ - hb_retptr( ( QStatusBar* ) new QStatusBar( hbqt_par_QWidget( 1 ) ) ); -} - - - - - - -void addPermanentWidget ( QWidget * widget, int stretch = 0 ) -void addWidget ( QWidget * widget, int stretch = 0 ) -QString currentMessage () const -int insertPermanentWidget ( int index, QWidget * widget, int stretch = 0 ) -int insertWidget ( int index, QWidget * widget, int stretch = 0 ) -bool isSizeGripEnabled () const -void removeWidget ( QWidget * widget ) -void setSizeGripEnabled ( bool ) - - - -void clearMessage () -void showMessage ( const QString & message, int timeout = 0 ) - - - -void messageChanged ( const QString & message ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QStringList.qth b/harbour/contrib/hbqt/qth/QStringList.qth deleted file mode 100644 index 3149e8f940..0000000000 --- a/harbour/contrib/hbqt/qth/QStringList.qth +++ /dev/null @@ -1,152 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QList -Type = Core -New = - - - -#include - - -/* - * QStringList () - * QStringList ( const QString & str ) - * QStringList ( const QStringList & other ) - * QStringList ( const QList & other ) - */ -HB_FUNC( QT_QSTRINGLIST ) -{ - hb_retptr( ( QStringList* ) new QStringList() ); -} - - - - - - -void append ( const QString & value ) -// bool contains ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const -QStringList filter ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const -QStringList filter ( const QRegExp & rx ) const -int indexOf ( const QString & value, int from = 0 ) const -int indexOf ( const QRegExp & rx, int from = 0 ) const -int indexOf ( QRegExp & rx, int from = 0 ) const -QString join ( const QString & separator ) const -int lastIndexOf ( const QRegExp & rx, int from = -1 ) const -int lastIndexOf ( const QString & value, int from = -1 ) const -int lastIndexOf ( QRegExp & rx, int from = -1 ) const -int removeDuplicates () -// QStringList & replaceInStrings ( const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) -// QStringList & replaceInStrings ( const QRegExp & rx, const QString & after ) -void sort () - - - -QString & at ( int i ) const -QString & back () - -int count ( const QString & value ) const - -bool endsWith ( const QString & value ) const - -QString & first () -const QString & first () const - -QString & front () -const QString & front () const - -void insert ( int i, const QString & value ) - -QString & last () -const QString & last () const - -QList mid ( int pos, int length = -1 ) const - -void prepend ( const QString & value ) -void push_back ( const QString & value ) -void push_front ( const QString & value ) -int removeAll ( const QString & value ) -bool removeOne ( const QString & value ) -void replace ( int i, const QString & value ) - -bool startsWith ( const QString & value ) const -QString takeAt ( int i ) -QString takeFirst () -QString takeLast () - -QSet toSet () const -std::list toStdList () const -QVector toVector () const -QString value ( int i ) const -QString value ( int i, const QString & defaultValue ) const - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStringListModel.qth b/harbour/contrib/hbqt/qth/QStringListModel.qth deleted file mode 100644 index 2985f8a0fd..0000000000 --- a/harbour/contrib/hbqt/qth/QStringListModel.qth +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAbstractListModel -Type = Core -New = - - - -#include - - -/* - * QStringListModel ( QObject * parent = 0 ) - * QStringListModel ( const QStringList & strings, QObject * parent = 0 ) - */ -HB_FUNC( QT_QSTRINGLISTMODEL ) -{ - hb_retptr( ( QStringListModel* ) new QStringListModel() ); -} - - - - - - -virtual QVariant data ( const QModelIndex & index, int role ) const -virtual Qt::ItemFlags flags ( const QModelIndex & index ) const -virtual bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) -virtual bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) -virtual int rowCount ( const QModelIndex & parent = QModelIndex() ) const -virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) -void setStringList ( const QStringList & strings ) -QStringList stringList () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyle.qth b/harbour/contrib/hbqt/qth/QStyle.qth deleted file mode 100644 index 5d52e1b210..0000000000 --- a/harbour/contrib/hbqt/qth/QStyle.qth +++ /dev/null @@ -1,133 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QStyle () - * virtual ~QStyle () - */ -HB_FUNC( QT_QSTYLE ) -{ - -} - - - -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 } - - - -int combinedLayoutSpacing ( QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption * option = 0, QWidget * widget = 0 ) const -virtual void drawComplexControl ( ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 -virtual void drawControl ( ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 -virtual void drawItemPixmap ( QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap ) const -virtual void drawItemText ( QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) const -virtual void drawPrimitive ( PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const = 0 -virtual QPixmap generatedIconPixmap ( QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * option ) const = 0 -virtual SubControl hitTestComplexControl ( ComplexControl control, const QStyleOptionComplex * option, const QPoint & position, const QWidget * widget = 0 ) const = 0 -virtual QRect itemPixmapRect ( const QRect & rectangle, int alignment, const QPixmap & pixmap ) const -virtual QRect itemTextRect ( const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text ) const -int layoutSpacing ( QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option = 0, const QWidget * widget = 0 ) const -virtual int pixelMetric ( PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) const = 0 -virtual void polish ( QWidget * widget ) -virtual void polish ( QApplication * application ) -virtual void polish ( QPalette & palette ) -virtual QSize sizeFromContents ( ContentsType type, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0 ) const = 0 -QIcon standardIcon ( StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const -virtual QPalette standardPalette () const -virtual int styleHint ( StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0 ) const = 0 -virtual QRect subControlRect ( ComplexControl control, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget = 0 ) const = 0 -virtual QRect subElementRect ( SubElement element, const QStyleOption * option, const QWidget * widget = 0 ) const = 0 -virtual void unpolish ( QWidget * widget ) -virtual void unpolish ( QApplication * application ) - -QRect alignedRect ( Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize & size, const QRect & rectangle ) -int sliderPositionFromValue ( int min, int max, int logicalValue, int span, bool upsideDown = false ) -int sliderValueFromPosition ( int min, int max, int position, int span, bool upsideDown = false ) -Qt::Alignment visualAlignment ( Qt::LayoutDirection direction, Qt::Alignment alignment ) -QPoint visualPos ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QPoint & logicalPosition ) -QRect visualRect ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QRect & logicalRectangle ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleFactory.qth b/harbour/contrib/hbqt/qth/QStyleFactory.qth deleted file mode 100644 index 1c6d843fdb..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleFactory.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * - */ -HB_FUNC( QT_QSTYLEFACTORY ) -{ - hb_retptr( new QStyleFactory() ); -} - - - - - - -QStyle * create ( const QString & key ) -QStringList keys () - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleHintReturn.qth b/harbour/contrib/hbqt/qth/QStyleHintReturn.qth deleted file mode 100644 index 751bc6a90f..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleHintReturn.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QStyleHintReturn ( int version = QStyleOption::Version, int type = SH_Default ) - */ -HB_FUNC( QT_QSTYLEHINTRETURN ) -{ - -} - - - -enum HintReturnType { SH_Default, SH_Mask, SH_Variant } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - -int type -int version - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleHintReturnMask.qth b/harbour/contrib/hbqt/qth/QStyleHintReturnMask.qth deleted file mode 100644 index ea1098e5a2..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleHintReturnMask.qth +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleHintReturn -Type = Core -New = - - - -#include - - -/* - * QStyleHintReturnMask () - */ -HB_FUNC( QT_QSTYLEHINTRETURNMASK ) -{ - -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - -QRegion region - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleHintReturnVariant.qth b/harbour/contrib/hbqt/qth/QStyleHintReturnVariant.qth deleted file mode 100644 index d9c147969e..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleHintReturnVariant.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleHintReturn -Type = Core -New = - - - -#include - - -/* - * QStyleHintReturnVariant () - */ -HB_FUNC( QT_QSTYLEHINTRETURNVARIANT ) -{ - -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } -Public Functions - - - -QVariant variant - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOption.qth b/harbour/contrib/hbqt/qth/QStyleOption.qth deleted file mode 100644 index a9062c5b92..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOption.qth +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QStyleOption ( int version = QStyleOption::Version, int type = SO_Default ) - * QStyleOption ( const QStyleOption & other ) - * ~QStyleOption () - */ -HB_FUNC( QT_QSTYLEOPTION ) -{ - hb_retptr( ( QStyleOption* ) new QStyleOption() ); -} - - - -enum OptionType { SO_Button, SO_ComboBox, SO_Complex, SO_Default, ..., SO_Q3ListViewItem } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - -void initFrom ( const QWidget * widget ) - - - - - - - - - - -Qt::LayoutDirection direction -QFontMetrics fontMetrics -QPalette palette -QRect rect -QStyle::State state -int type -int version - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionButton.qth b/harbour/contrib/hbqt/qth/QStyleOptionButton.qth deleted file mode 100644 index eae642aa00..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionButton.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionButton () - * QStyleOptionButton ( const QStyleOptionButton & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONBUTTON ) -{ - hb_retptr( ( QStyleOptionButton* ) new QStyleOptionButton() ); -} - - - -flags ButtonFeatures -enum ButtonFeature { None, Flat, HasMenu, DefaultButton, AutoDefaultButton, CommandLinkButton } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -ButtonFeatures features -QIcon icon -QSize iconSize -QString text - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionComboBox.qth b/harbour/contrib/hbqt/qth/QStyleOptionComboBox.qth deleted file mode 100644 index 401aeb2945..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionComboBox.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionComboBox () - * QStyleOptionComboBox ( const QStyleOptionComboBox & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONCOMBOBOX ) -{ - hb_retptr( ( QStyleOptionComboBox* ) new QStyleOptionComboBox() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QIcon currentIcon -QString currentText -bool editable -bool frame -QSize iconSize -QRect popupRect - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionComplex.qth b/harbour/contrib/hbqt/qth/QStyleOptionComplex.qth deleted file mode 100644 index 8efc618c63..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionComplex.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionComplex ( int version = QStyleOptionComplex::Version, int type = SO_Complex ) - * QStyleOptionComplex ( const QStyleOptionComplex & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONCOMPLEX ) -{ - hb_retptr( ( QStyleOptionComplex* ) new QStyleOptionComplex() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QStyle::SubControls activeSubControls -QStyle::SubControls subControls - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionDockWidget.qth b/harbour/contrib/hbqt/qth/QStyleOptionDockWidget.qth deleted file mode 100644 index 2aacc95807..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionDockWidget.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionDockWidget () - * QStyleOptionDockWidget ( const QStyleOptionDockWidget & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONDOCKWIDGET ) -{ - hb_retptr( ( QStyleOptionDockWidget* ) new QStyleOptionDockWidget() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -bool closable -bool floatable -bool movable -QString title - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionFocusRect.qth b/harbour/contrib/hbqt/qth/QStyleOptionFocusRect.qth deleted file mode 100644 index e758029a88..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionFocusRect.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionFocusRect () - * QStyleOptionFocusRect ( const QStyleOptionFocusRect & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONFOCUSRECT ) -{ - hb_retptr( ( QStyleOptionFocusRect* ) new QStyleOptionFocusRect() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QColor backgroundColor - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionFrame.qth b/harbour/contrib/hbqt/qth/QStyleOptionFrame.qth deleted file mode 100644 index b130e4d735..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionFrame.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = qStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionFrame () - * QStyleOptionFrame ( const QStyleOptionFrame & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONFRAME ) -{ - hb_retptr( ( QStyleOptionFrame* ) new QStyleOptionFrame() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -int lineWidth -int midLineWidth - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionGroupBox.qth b/harbour/contrib/hbqt/qth/QStyleOptionGroupBox.qth deleted file mode 100644 index f64fdc7220..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionGroupBox.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOptionComplex -Type = Core -New = - - - -#include - - -/* - * QStyleOptionGroupBox () - * QStyleOptionGroupBox ( const QStyleOptionGroupBox & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONGROUPBOX ) -{ - hb_retptr( ( QStyleOptionGroupBox* ) new QStyleOptionGroupBox() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QStyleOptionFrameV2::FrameFeatures features -int lineWidth -int midLineWidth -QString text -Qt::Alignment textAlignment -QColor textColor - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionHeader.qth b/harbour/contrib/hbqt/qth/QStyleOptionHeader.qth deleted file mode 100644 index ba4c794312..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionHeader.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionHeader () - * QStyleOptionHeader ( const QStyleOptionHeader & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONHEADER ) -{ - hb_retptr( ( QStyleOptionHeader* ) new QStyleOptionHeader() ); -} - - - -enum SectionPosition { Beginning, Middle, End, OnlyOneSection } -enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected, NextAndPreviousAreSelected } -enum SortIndicator { None, SortUp, SortDown } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QIcon icon -Qt::Alignment iconAlignment -Qt::Orientation orientation -SectionPosition position -int section -SelectedPosition selectedPosition -SortIndicator sortIndicator -QString text -Qt::Alignment textAlignment - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionMenuItem.qth b/harbour/contrib/hbqt/qth/QStyleOptionMenuItem.qth deleted file mode 100644 index e4f142aa2e..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionMenuItem.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionMenuItem () - * QStyleOptionMenuItem ( const QStyleOptionMenuItem & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONMENUITEM ) -{ - hb_retptr( ( QStyleOptionMenuItem* ) new QStyleOptionMenuItem() ); -} - - - -enum CheckType { NotCheckable, Exclusive, NonExclusive } -enum MenuItemType { Normal, DefaultItem, Separator, SubMenu, ..., EmptyArea } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -CheckType checkType -bool checked -QFont font -QIcon icon -int maxIconWidth -bool menuHasCheckableItems -MenuItemType menuItemType -QRect menuRect -int tabWidth -QString text - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionProgressBar.qth b/harbour/contrib/hbqt/qth/QStyleOptionProgressBar.qth deleted file mode 100644 index 787cd00a66..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionProgressBar.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionProgressBar () - * QStyleOptionProgressBar ( const QStyleOptionProgressBar & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONPROGRESSBAR ) -{ - hb_retptr( ( QStyleOptionProgressBar* ) new QStyleOptionProgressBar() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } -Public Functions - - - - - - - - - - - - -int maximum -int minimum -int progress -QString text -Qt::Alignment textAlignment -bool textVisible - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionSizeGrip.qth b/harbour/contrib/hbqt/qth/QStyleOptionSizeGrip.qth deleted file mode 100644 index 67e3191223..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionSizeGrip.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOptionComplex -Type = Core -New = - - - -#include - - -/* - * QStyleOptionSizeGrip () - * QStyleOptionSizeGrip ( const QStyleOptionSizeGrip & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONSIZEGRIP ) -{ - hb_retptr( ( QStyleOptionSizeGrip* ) new QStyleOptionSizeGrip() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -Qt::Corner corner - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionSlider.qth b/harbour/contrib/hbqt/qth/QStyleOptionSlider.qth deleted file mode 100644 index 9643f77efe..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionSlider.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOptionComplex -Type = Core -New = - - - -#include - - -/* - * QStyleOptionSlider () - * QStyleOptionSlider ( const QStyleOptionSlider & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONSLIDER ) -{ - hb_retptr( ( QStyleOptionSlider* ) new QStyleOptionSlider() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -bool dialWrapping -int maximum -int minimum -qreal notchTarget -Qt::Orientation orientation -int pageStep -int singleStep -int sliderPosition -int sliderValue -int tickInterval -QSlider::TickPosition tickPosition -bool upsideDown - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth b/harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth deleted file mode 100644 index 9fd0837057..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOptionComplex -Type = Core -New = - - - -#include - - -/* - * QStyleOptionSpinBox () - * QStyleOptionSpinBox ( const QStyleOptionSpinBox & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONSPINBOX ) -{ - hb_retptr( ( QStyleOptionSpinBox* ) new QStyleOptionSpinBox() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QAbstractSpinBox::ButtonSymbols buttonSymbols -bool frame -QAbstractSpinBox::StepEnabled stepEnabled - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionTab.qth b/harbour/contrib/hbqt/qth/QStyleOptionTab.qth deleted file mode 100644 index 347e7e55e5..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionTab.qth +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionTab () - * QStyleOptionTab ( const QStyleOptionTab & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTAB ) -{ - hb_retptr( ( QStyleOptionTab* ) new QStyleOptionTab() ); -} - - - -enum CornerWidget { NoCornerWidgets, LeftCornerWidget, RightCornerWidget } -flags CornerWidgets -enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } -enum TabPosition { Beginning, Middle, End, OnlyOneTab } - - - - - - - - - - - - -CornerWidgets cornerWidgets -QIcon icon -TabPosition position -int row -SelectedPosition selectedPosition -QTabBar::Shape shape -QString text - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth b/harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth deleted file mode 100644 index 639737ab31..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionTabBarBase () - * QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTABBARBASE ) -{ - hb_retptr( ( QStyleOptionTabBarBase* ) new QStyleOptionTabBarBase() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QRect selectedTabRect -QTabBar::Shape shape -QRect tabBarRect - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth b/harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth deleted file mode 100644 index d38601d826..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionTabWidgetFrame () - * QStyleOptionTabWidgetFrame ( const QStyleOptionTabWidgetFrame & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME ) -{ - hb_retptr( ( QStyleOptionTabWidgetFrame* ) new QStyleOptionTabWidgetFrame() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QSize leftCornerWidgetSize -int lineWidth -int midLineWidth -QSize rightCornerWidgetSize -QTabBar::Shape shape -QSize tabBarSize - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth b/harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth deleted file mode 100644 index 929ed9413c..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOptionComplex -Type = Core -New = - - - -#include - - -/* - * QStyleOptionTitleBar () - * QStyleOptionTitleBar ( const QStyleOptionTitleBar & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTITLEBAR ) -{ - hb_retptr( ( QStyleOptionTitleBar* ) new QStyleOptionTitleBar() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QIcon icon -QString text -Qt::WindowFlags titleBarFlags -int titleBarState - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth b/harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth deleted file mode 100644 index 34836d0afc..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionToolBar () - * QStyleOptionToolBar ( const QStyleOptionToolBar & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBAR ) -{ - hb_retptr( ( QStyleOptionToolBar* ) new QStyleOptionToolBar() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } -enum ToolBarFeature { None, Movable } -flags ToolBarFeatures -enum ToolBarPosition { Beginning, Middle, End, OnlyOne } - - - - - - - - - - - - -ToolBarFeatures features -int lineWidth -int midLineWidth -ToolBarPosition positionOfLine -ToolBarPosition positionWithinLine -Qt::ToolBarArea toolBarArea - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth b/harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth deleted file mode 100644 index 95026ae205..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionToolBox () - * QStyleOptionToolBox ( const QStyleOptionToolBox & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBOX ) -{ - hb_retptr( ( QStyleOptionToolBox* ) new QStyleOptionToolBox() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -QIcon icon -QString text - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth b/harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth deleted file mode 100644 index 3f7f848cdd..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOptionComplex -Type = Core -New = - - - -#include - - -/* - * QStyleOptionToolButton () - * QStyleOptionToolButton ( const QStyleOptionToolButton & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON ) -{ - hb_retptr( ( QStyleOptionToolButton* ) new QStyleOptionToolButton() ); -} - - - -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } -enum ToolButtonFeature { None, Arrow, Menu, PopupDelay, HasMenu, MenuButtonPopup } -flags ToolButtonFeatures - - - - - - - - - - - - -Qt::ArrowType arrowType -ToolButtonFeatures features -QFont font -QIcon icon -QSize iconSize -QPoint pos -QString text -Qt::ToolButtonStyle toolButtonStyle - - - - diff --git a/harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth b/harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth deleted file mode 100644 index 8a48c5a61d..0000000000 --- a/harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QStyleOption -Type = Core -New = - - - -#include - - -/* - * QStyleOptionViewItem () - * QStyleOptionViewItem ( const QStyleOptionViewItem & other ) - */ -HB_FUNC( QT_QSTYLEOPTIONVIEWITEM ) -{ - hb_retptr( ( QStyleOptionViewItem* ) new QStyleOptionViewItem() ); -} - - - -enum Position { Left, Right, Top, Bottom } -enum StyleOptionType { Type } -enum StyleOptionVersion { Version } - - - - - - - - - - - - -Qt::Alignment decorationAlignment -Position decorationPosition -QSize decorationSize -Qt::Alignment displayAlignment -QFont font -bool showDecorationSelected -Qt::TextElideMode textElideMode - - - - diff --git a/harbour/contrib/hbqt/qth/QStylePainter.qth b/harbour/contrib/hbqt/qth/QStylePainter.qth deleted file mode 100644 index 7920a2ca31..0000000000 --- a/harbour/contrib/hbqt/qth/QStylePainter.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QPainter -Type = Core -New = - - - -#include - - -/* - * QStylePainter () - * QStylePainter ( QWidget * widget ) - * QStylePainter ( QPaintDevice * pd, QWidget * widget ) - */ -HB_FUNC( QT_QSTYLEPAINTER ) -{ - hb_retptr( ( QStylePainter* ) new QStylePainter() ); -} - - - - - - -bool begin ( QWidget * widget ) -bool begin ( QPaintDevice * pd, QWidget * widget ) -void drawComplexControl ( QStyle::ComplexControl cc, const QStyleOptionComplex & option ) -void drawControl ( QStyle::ControlElement ce, const QStyleOption & option ) -void drawItemPixmap ( const QRect & rect, int flags, const QPixmap & pixmap ) -void drawItemText ( const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) -void drawPrimitive ( QStyle::PrimitiveElement pe, const QStyleOption & option ) -QStyle * style () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QStyledItemDelegate.qth b/harbour/contrib/hbqt/qth/QStyledItemDelegate.qth deleted file mode 100644 index 46fbf83b82..0000000000 --- a/harbour/contrib/hbqt/qth/QStyledItemDelegate.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = -Type = Core -New = - - - -#include - - -/* - * QStyledItemDelegate ( QObject * parent = 0 ) - * ~QStyledItemDelegate () - */ -HB_FUNC( QT_QSTYLEDITEMDELEGATE ) -{ - hb_retptr( ( QStyledItemDelegate* ) new QStyledItemDelegate( hbqt_par_QObject( 1 ) ) ); -} - - - - - - -virtual QWidget * createEditor ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) const -virtual QString displayText ( const QVariant & value, const QLocale & locale ) const -// QItemEditorFactory * itemEditorFactory () const -virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const -virtual void setEditorData ( QWidget * editor, const QModelIndex & index ) const -// void setItemEditorFactory ( QItemEditorFactory * factory ) -virtual void setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const -virtual QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const -virtual void updateEditorGeometry ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QSystemTrayIcon.qth b/harbour/contrib/hbqt/qth/QSystemTrayIcon.qth deleted file mode 100644 index 0ea5ee20bb..0000000000 --- a/harbour/contrib/hbqt/qth/QSystemTrayIcon.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QSystemTrayIcon ( QObject * parent = 0 ) - * QSystemTrayIcon ( const QIcon & icon, QObject * parent = 0 ) - * ~QSystemTrayIcon () - */ -HB_FUNC( QT_QSYSTEMTRAYICON ) -{ - hb_retptr( ( QSystemTrayIcon* ) new QSystemTrayIcon( hbqt_par_QObject( 1 ) ) ); -} - - - -enum ActivationReason { Unknown, Context, DoubleClick, Trigger, MiddleClick } -enum MessageIcon { NoIcon, Information, Warning, Critical } - - - -QMenu * contextMenu () const -QRect geometry () const -QIcon icon () const -bool isVisible () const -void setContextMenu ( QMenu * menu ) -void setIcon ( const QIcon & icon ) -void setToolTip ( const QString & tip ) -void showMessage ( const QString & title, const QString & message, MessageIcon icon = Information, int millisecondsTimeoutHint = 10000 ) -QString toolTip () const - -bool isSystemTrayAvailable () -bool supportsMessages () - - - -void hide () -void setVisible ( bool visible ) -void show () - - - -void activated ( QSystemTrayIcon::ActivationReason reason ) -void messageClicked () - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTabBar.qth b/harbour/contrib/hbqt/qth/QTabBar.qth deleted file mode 100644 index 736123c331..0000000000 --- a/harbour/contrib/hbqt/qth/QTabBar.qth +++ /dev/null @@ -1,140 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include -#include -#include - -/* - * QTabBar ( QWidget * parent = 0 ) - * ~QTabBar () - */ -HB_FUNC( QT_QTABBAR ) -{ - hb_retptr( ( QTabBar* ) new QTabBar( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum ButtonPosition { LeftSide, RightSide } -enum SelectionBehavior { SelectLeftTab, SelectRightTab, SelectPreviousTab } -enum Shape { RoundedNorth, RoundedSouth, RoundedWest, RoundedEast, ..., TriangularEast } - - - -int addTab ( const QString & text ) -// int addTab ( const QIcon & icon, const QString & text ) -int count () const -int currentIndex () const -bool documentMode () const -bool drawBase () const -Qt::TextElideMode elideMode () const -bool expanding () const -QSize iconSize () const -int insertTab ( int index, const QString & text ) -// int insertTab ( int index, const QIcon & icon, const QString & text ) -bool isMovable () const -bool isTabEnabled ( int index ) const -void moveTab ( int from, int to ) -void removeTab ( int index ) -SelectionBehavior selectionBehaviorOnRemove () const -void setDocumentMode ( bool set ) -void setDrawBase ( bool drawTheBase ) -void setElideMode ( Qt::TextElideMode ) -void setExpanding ( bool enabled ) -void setIconSize ( const QSize & size ) -void setMovable ( bool movable ) -void setSelectionBehaviorOnRemove ( SelectionBehavior behavior ) -void setShape ( Shape shape ) -void setTabButton ( int index, ButtonPosition position, QWidget * widget ) -void setTabData ( int index, const QVariant & data ) -void setTabEnabled ( int index, bool enabled ) -// void setTabIcon ( int index, const QIcon & icon ) -void setTabText ( int index, const QString & text ) -void setTabTextColor ( int index, const QColor & color ) -void setTabToolTip ( int index, const QString & tip ) -void setTabWhatsThis ( int index, const QString & text ) -void setTabsClosable ( bool closable ) -void setUsesScrollButtons ( bool useButtons ) -Shape shape () const -int tabAt ( const QPoint & position ) const -QWidget * tabButton ( int index, ButtonPosition position ) const -QVariant tabData ( int index ) const -QIcon tabIcon ( int index ) const -QRect tabRect ( int index ) const -QString tabText ( int index ) const -QColor tabTextColor ( int index ) const -QString tabToolTip ( int index ) const -QString tabWhatsThis ( int index ) const -bool tabsClosable () const -bool usesScrollButtons () const - - - -void setCurrentIndex ( int index ) - - - -void currentChanged ( int index ) -void tabCloseRequested ( int index ) -void tabMoved ( int from, int to ) - diff --git a/harbour/contrib/hbqt/qth/QTabWidget.qth b/harbour/contrib/hbqt/qth/QTabWidget.qth deleted file mode 100644 index 33c23887ae..0000000000 --- a/harbour/contrib/hbqt/qth/QTabWidget.qth +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - -/* - * QTabWidget ( QWidget * parent = 0 ) - * ~QTabWidget () - */ -HB_FUNC( QT_QTABWIDGET ) -{ - hb_retptr( ( QTabWidget* ) new QTabWidget( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum TabPosition { North, South, West, East } -enum TabShape { Rounded, Triangular } - - - -int addTab ( QWidget * page, const QString & label ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTABWIDGET_ADDTAB()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTABWIDGET_ADDTAB() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - - q->bNew = HB_FALSE; - - 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 ) -void clear () -QWidget * cornerWidget ( Qt::Corner corner = Qt::TopRightCorner ) const -int count () const -int currentIndex () const -QWidget * currentWidget () const -bool documentMode () const -Qt::TextElideMode elideMode () const -QSize iconSize () const -int indexOf ( QWidget * w ) const -int insertTab ( int index, QWidget * page, const QString & label ) -int insertTab ( int index, QWidget * page, const QIcon & icon, const QString & label ) -bool isMovable () const -bool isTabEnabled ( int index ) const -void removeTab ( int index ) -void setCornerWidget ( QWidget * widget, Qt::Corner corner = Qt::TopRightCorner ) -void setDocumentMode ( bool set ) -void setElideMode ( Qt::TextElideMode ) -void setIconSize ( const QSize & size ) -void setMovable ( bool movable ) -void setTabEnabled ( int index, bool enable ) -void setTabIcon ( int index, const QIcon & icon ) -void setTabPosition ( TabPosition ) -void setTabShape ( TabShape s ) -void setTabText ( int index, const QString & label ) -void setTabToolTip ( int index, const QString & tip ) -void setTabWhatsThis ( int index, const QString & text ) -void setTabsClosable ( bool closeable ) -void setUsesScrollButtons ( bool useButtons ) -QIcon tabIcon ( int index ) const -TabPosition tabPosition () const -TabShape tabShape () const -QString tabText ( int index ) const -QString tabToolTip ( int index ) const -QString tabWhatsThis ( int index ) const -bool tabsClosable () const -bool usesScrollButtons () const -QWidget * widget ( int index ) const - - - -void setCurrentIndex ( int index ) -void setCurrentWidget ( QWidget * widget ) - - - -void currentChanged ( int index ) -void tabCloseRequested ( int index ) - - diff --git a/harbour/contrib/hbqt/qth/QTableView.qth b/harbour/contrib/hbqt/qth/QTableView.qth deleted file mode 100644 index 1ead1325e0..0000000000 --- a/harbour/contrib/hbqt/qth/QTableView.qth +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractItemView -New = pParent - - - - - - -#include - -/* - * QTableView ( QWidget * parent = 0 ) - * ~QTableView () - */ -HB_FUNC( QT_QTABLEVIEW ) -{ - hb_retptr( ( QTableView* ) new QTableView( hbqt_par_QWidget( 1 ) ) ); -} - - - - -void clearSpans () -int columnAt ( int x ) const -int columnSpan ( int row, int column ) const -int columnViewportPosition ( int column ) const -int columnWidth ( int column ) const -Qt::PenStyle gridStyle () const -QHeaderView * horizontalHeader () const -virtual QModelIndex indexAt ( const QPoint & pos ) const -bool isColumnHidden ( int column ) const -bool isCornerButtonEnabled () const -bool isRowHidden ( int row ) const -bool isSortingEnabled () const -int rowAt ( int y ) const -int rowHeight ( int row ) const -int rowSpan ( int row, int column ) const -int rowViewportPosition ( int row ) const -void setColumnHidden ( int column, bool hide ) -void setColumnWidth ( int column, int width ) -void setCornerButtonEnabled ( bool enable ) -void setGridStyle ( Qt::PenStyle style ) -void setHorizontalHeader ( QHeaderView * header ) -void setRowHeight ( int row, int height ) -void setRowHidden ( int row, bool hide ) -void setSortingEnabled ( bool enable ) -void setSpan ( int row, int column, int rowSpanCount, int columnSpanCount ) -void setVerticalHeader ( QHeaderView * header ) -void setWordWrap ( bool on ) -bool showGrid () const -void sortByColumn ( int column, Qt::SortOrder order ) -QHeaderView * verticalHeader () const -bool wordWrap () const - - - -void hideColumn ( int column ) -void hideRow ( int row ) -void resizeColumnToContents ( int column ) -void resizeColumnsToContents () -void resizeRowToContents ( int row ) -void resizeRowsToContents () -void selectColumn ( int column ) -void selectRow ( int row ) -void setShowGrid ( bool show ) -void showColumn ( int column ) -void showRow ( int row ) - diff --git a/harbour/contrib/hbqt/qth/QTableWidget.qth b/harbour/contrib/hbqt/qth/QTableWidget.qth deleted file mode 100644 index 3e1abf073a..0000000000 --- a/harbour/contrib/hbqt/qth/QTableWidget.qth +++ /dev/null @@ -1,209 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QTableView -New = pParent - - - -#include - - -/* - * QTableWidget ( QWidget * parent = 0 ) - * QTableWidget ( int rows, int columns, QWidget * parent = 0 ) - * ~QTableWidget () - */ -HB_FUNC( QT_QTABLEWIDGET ) -{ - if( hb_pcount() >= 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) ) - hb_retptr( ( QTableWidget* ) new QTableWidget( hb_parni( 1 ), hb_parni( 2 ), hbqt_par_QWidget( 3 ) ) ); - else - hb_retptr( ( QTableWidget* ) new QTableWidget( hbqt_par_QWidget( 1 ) ) ); -} - - - -QWidget * cellWidget ( int row, int column ) const -void closePersistentEditor ( QTableWidgetItem * item ) -int column ( const QTableWidgetItem * item ) const -int columnCount () const -int currentColumn () const -QTableWidgetItem * currentItem () const -int currentRow () const -void editItem ( QTableWidgetItem * item ) -QList findItems ( const QString & text, Qt::MatchFlags flags ) const -QTableWidgetItem * horizontalHeaderItem ( int column ) const -QTableWidgetItem * item ( int row, int column ) const -QTableWidgetItem * itemAt ( const QPoint & point ) const -QTableWidgetItem * itemAt ( int ax, int ay ) const -const QTableWidgetItem * itemPrototype () const -void openPersistentEditor ( QTableWidgetItem * item ) -void removeCellWidget ( int row, int column ) -int row ( const QTableWidgetItem * item ) const -int rowCount () const -QList selectedItems () -QList selectedRanges () const -void setCellWidget ( int row, int column, QWidget * widget ) -void setColumnCount ( int columns ) -void setCurrentCell ( int row, int column ) -void setCurrentCell ( int row, int column, QItemSelectionModel::SelectionFlags command ) - -void setCurrentItem ( QTableWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTABLEWIDGET_SETCURRENTITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTABLEWIDGET_SETCURRENTITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTableWidget( 1 )->setCurrentItem( hbqt_par_QTableWidgetItem( 2 ) ); - } -} - -void setCurrentItem ( QTableWidgetItem * item, QItemSelectionModel::SelectionFlags command ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTABLEWIDGET_SETCURRENTITEM_1()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTABLEWIDGET_SETCURRENTITEM_1() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTableWidget( 1 )->setCurrentItem( hbqt_par_QTableWidgetItem( 2 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 2 ) ); - } -} - -void setHorizontalHeaderItem ( int column, QTableWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 3 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTABLEWIDGET_SETHORIZONTALHEADERITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTABLEWIDGET_SETHORIZONTALHEADERITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTableWidget( 1 )->setHorizontalHeaderItem( hb_parni( 2 ), hbqt_par_QTableWidgetItem( 3 ) ); - } -} - -void setHorizontalHeaderLabels ( const QStringList & labels ) - -void setItem ( int row, int column, QTableWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 4 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTABLEWIDGET_SETITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTABLEWIDGET_SETITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTableWidget( 1 )->setItem( hb_parni( 2 ), hb_parni( 3 ), hbqt_par_QTableWidgetItem( 4 ) ); - } -} - -void setItemPrototype ( const QTableWidgetItem * item ) -void setRangeSelected ( const QTableWidgetSelectionRange & range, bool select ) -void setRowCount ( int rows ) - -void setVerticalHeaderItem ( int row, QTableWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 3 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTABLEWIDGET_SETVERTICALHEADERITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTABLEWIDGET_SETVERTICALHEADERITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTableWidget( 1 )->setVerticalHeaderItem( hb_parni( 2 ), hbqt_par_QTableWidgetItem( 3 ) ); - } -} - -void setVerticalHeaderLabels ( const QStringList & labels ) -void sortItems ( int column, Qt::SortOrder order = Qt::AscendingOrder ) -QTableWidgetItem * takeHorizontalHeaderItem ( int column ) -QTableWidgetItem * takeItem ( int row, int column ) -QTableWidgetItem * takeVerticalHeaderItem ( int row ) -QTableWidgetItem * verticalHeaderItem ( int row ) const -int visualColumn ( int logicalColumn ) const -QRect visualItemRect ( const QTableWidgetItem * item ) const -int visualRow ( int logicalRow ) const - - - -void clear () -void clearContents () -void insertColumn ( int column ) -void insertRow ( int row ) -void removeColumn ( int column ) -void removeRow ( int row ) -void scrollToItem ( const QTableWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - - - -void cellActivated ( int row, int column ) -void cellChanged ( int row, int column ) -void cellClicked ( int row, int column ) -void cellDoubleClicked ( int row, int column ) -void cellEntered ( int row, int column ) -void cellPressed ( int row, int column ) -void currentCellChanged ( int currentRow, int currentColumn, int previousRow, int previousColumn ) -void currentItemChanged ( QTableWidgetItem * current, QTableWidgetItem * previous ) -void itemActivated ( QTableWidgetItem * item ) -void itemChanged ( QTableWidgetItem * item ) -void itemClicked ( QTableWidgetItem * item ) -void itemDoubleClicked ( QTableWidgetItem * item ) -void itemEntered ( QTableWidgetItem * item ) -void itemPressed ( QTableWidgetItem * item ) -void itemSelectionChanged () - diff --git a/harbour/contrib/hbqt/qth/QTableWidgetItem.qth b/harbour/contrib/hbqt/qth/QTableWidgetItem.qth deleted file mode 100644 index bf7661a45e..0000000000 --- a/harbour/contrib/hbqt/qth/QTableWidgetItem.qth +++ /dev/null @@ -1,135 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = iType - - - -#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 ) -{ - if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) ) - { - hb_retptr( new QTableWidgetItem( hbqt_par_QString( 1 ), hb_parni( 2 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( new QTableWidgetItem( hb_parni( 1 ) ) ); - } - else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QTableWidgetItem( *hbqt_par_QTableWidgetItem( 1 ) ) ); - } - else - { - hb_retptr( new QTableWidgetItem( 0 ) ); - } -} - - - -enum ItemType { Type, UserType } - - - -QBrush background () const -Qt::CheckState checkState () const -virtual QTableWidgetItem * clone () const -int column () const -virtual QVariant data ( int role ) const -Qt::ItemFlags flags () const -QFont font () const -QBrush foreground () const -QIcon icon () const -bool isSelected () const -virtual void read ( QDataStream & in ) -int row () const -void setBackground ( const QBrush & brush ) -void setCheckState ( Qt::CheckState state ) -virtual void setData ( int role, const QVariant & value ) -void setFlags ( Qt::ItemFlags flags ) -void setFont ( const QFont & font ) -void setForeground ( const QBrush & brush ) -void setIcon ( const QIcon & icon ) -void setSelected ( bool select ) -void setSizeHint ( const QSize & size ) -void setStatusTip ( const QString & statusTip ) -void setText ( const QString & text ) -void setTextAlignment ( int alignment ) -void setToolTip ( const QString & toolTip ) -void setWhatsThis ( const QString & whatsThis ) -QSize sizeHint () const -QString statusTip () const -QTableWidget * tableWidget () const -QString text () const -int textAlignment () const -QString toolTip () const -int type () const -QString whatsThis () const -virtual void write ( QDataStream & out ) const - - diff --git a/harbour/contrib/hbqt/qth/QTableWidgetSelectionRange.qth b/harbour/contrib/hbqt/qth/QTableWidgetSelectionRange.qth deleted file mode 100644 index 848bb1c0fd..0000000000 --- a/harbour/contrib/hbqt/qth/QTableWidgetSelectionRange.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QTableWidgetSelectionRange () - * QTableWidgetSelectionRange ( int top, int left, int bottom, int right ) - * QTableWidgetSelectionRange ( const QTableWidgetSelectionRange & other ) - * ~QTableWidgetSelectionRange () - */ -HB_FUNC( QT_QTABLEWIDGETSELECTIONRANGE ) -{ - hb_retptr( new QTableWidgetSelectionRange() ); -} - - - - - - -int bottomRow () const -int columnCount () const -int leftColumn () const -int rightColumn () const -int rowCount () const -int topRow () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextBlock.qth b/harbour/contrib/hbqt/qth/QTextBlock.qth deleted file mode 100644 index 59f0119afd..0000000000 --- a/harbour/contrib/hbqt/qth/QTextBlock.qth +++ /dev/null @@ -1,134 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include -#include -#include "../hbqt_hbqsyntaxhighlighter.h" - -/* - * QTextBlock ( const QTextBlock & other ) - */ -HB_FUNC( QT_QTEXTBLOCK ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QTextBlock( *hbqt_par_QTextBlock( 1 ) ) ); - } - else - { - hb_retptr( new QTextBlock() ); - } -} - - - - - - -//iterator begin () const -QTextBlockFormat blockFormat () const -int blockFormatIndex () const -int blockNumber () const -QTextCharFormat charFormat () const -int charFormatIndex () const -void clearLayout () -bool contains ( int position ) const -# -# -# const QTextDocument * document () const -# -virtual const QTextDocument * document () const -# -# -//iterator end () const -int firstLineNumber () const -bool isValid () const -bool isVisible () const -QTextLayout * layout () const -int length () const -int lineCount () const -QTextBlock next () const -int position () const -QTextBlock previous () const -int revision () const -void setLineCount ( int count ) -void setRevision ( int rev ) -void setUserData ( HBQTextBlockUserData * data ) -void setUserState ( int state ) -void setVisible ( bool visible ) -QString text () const -QTextList * textList () const -HBQTextBlockUserData * userData () const -int userState () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextBlockFormat.qth b/harbour/contrib/hbqt/qth/QTextBlockFormat.qth deleted file mode 100644 index 97461d37dd..0000000000 --- a/harbour/contrib/hbqt/qth/QTextBlockFormat.qth +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QTextFormat -Type = Core -New = - - - -#include - - -/* - * QTextBlockFormat () - * - */ -HB_FUNC( QT_QTEXTBLOCKFORMAT ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( QTextBlockFormat* ) new QTextBlockFormat( *hbqt_par_QTextBlockFormat( 1 ) ) ); - } - else - { - hb_retptr( ( QTextBlockFormat* ) new QTextBlockFormat() ); - } -} - - - -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 } - - - -Qt::Alignment alignment () const -qreal bottomMargin () const -int indent () const -bool isValid () const -qreal leftMargin () const -bool nonBreakableLines () const -PageBreakFlags pageBreakPolicy () const -qreal rightMargin () const -void setAlignment ( Qt::Alignment alignment ) -void setBottomMargin ( qreal margin ) -void setIndent ( int indentation ) -void setLeftMargin ( qreal margin ) -void setNonBreakableLines ( bool b ) -void setPageBreakPolicy ( PageBreakFlags policy ) -void setRightMargin ( qreal margin ) -void setTabPositions ( const QList & tabs ) -void setTextIndent ( qreal indent ) -void setTopMargin ( qreal margin ) -QList tabPositions () const -qreal textIndent () const -qreal topMargin () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextBlockGroup.qth b/harbour/contrib/hbqt/qth/QTextBlockGroup.qth deleted file mode 100644 index 7951ce17f3..0000000000 --- a/harbour/contrib/hbqt/qth/QTextBlockGroup.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QTextObject -Type = Core -New = -Destructor = no - - - -#include - - -/* - * QTextBlockGroup ( QTextDocument * document ) - */ -HB_FUNC( QT_QTEXTBLOCKGROUP ) -{ - //hb_retptr( ( QTextBlockGroup* ) new QTextBlockGroup( hbqt_par_QTextDocument( 1 ) ) ); -} - - - - - - -//virtual void blockFormatChanged ( const QTextBlock & block ) -//virtual void blockInserted ( const QTextBlock & block ) -# -//QList blockList () const -# -//virtual void blockRemoved ( const QTextBlock & block ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextBoundaryFinder.qth b/harbour/contrib/hbqt/qth/QTextBoundaryFinder.qth deleted file mode 100644 index ba2e37e93f..0000000000 --- a/harbour/contrib/hbqt/qth/QTextBoundaryFinder.qth +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#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 ) -{ - hb_retptr( ( QTextBoundaryFinder* ) new QTextBoundaryFinder() ); -} - - - -flags BoundaryReasons -enum BoundaryReason { NotAtBoundary, StartWord, EndWord } -enum BoundaryType { Grapheme, Word, Line, Sentence } - - - -BoundaryReasons boundaryReasons () const -bool isAtBoundary () const -bool isValid () const -int position () const -void setPosition ( int position ) -QString string () const -void toEnd () -int toNextBoundary () -int toPreviousBoundary () -void toStart () -BoundaryType type () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextBrowser.qth b/harbour/contrib/hbqt/qth/QTextBrowser.qth deleted file mode 100644 index 64280dbae3..0000000000 --- a/harbour/contrib/hbqt/qth/QTextBrowser.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QTextEdit -Type = Core -New = pParent - - - -#include - - -/* - * QTextBrowser ( QWidget * parent = 0 ) - */ -HB_FUNC( QT_QTEXTBROWSER ) -{ - hb_retptr( ( QTextBrowser* ) new QTextBrowser( hbqt_par_QWidget( 1 ) ) ); -} - - - - - - -int backwardHistoryCount () const -void clearHistory () -int forwardHistoryCount () const -QString historyTitle ( int i ) const -QUrl historyUrl ( int i ) const -bool isBackwardAvailable () const -bool isForwardAvailable () const -virtual QVariant loadResource ( int type, const QUrl & name ) -bool openExternalLinks () const -bool openLinks () const -QStringList searchPaths () const -void setOpenExternalLinks ( bool open ) -void setOpenLinks ( bool open ) -void setSearchPaths ( const QStringList & paths ) -QUrl source () const - - - -virtual void backward () -virtual void forward () -virtual void home () -virtual void reload () -virtual void setSource ( const QUrl & name ) - - - -void anchorClicked ( const QUrl & link ) -void backwardAvailable ( bool available ) -void forwardAvailable ( bool available ) -void highlighted ( const QUrl & link ) -void highlighted ( const QString & link ) -void historyChanged () -void sourceChanged ( const QUrl & src ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextCharFormat.qth b/harbour/contrib/hbqt/qth/QTextCharFormat.qth deleted file mode 100644 index 6c1114576b..0000000000 --- a/harbour/contrib/hbqt/qth/QTextCharFormat.qth +++ /dev/null @@ -1,141 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QTextFormat -Type = Core -New = - - - -#include - - -/* - * QTextCharFormat () - * - */ -HB_FUNC( QT_QTEXTCHARFORMAT ) -{ - hb_retptr( ( QTextCharFormat* ) new QTextCharFormat() ); -} - - - -enum UnderlineStyle { NoUnderline, SingleUnderline, DashUnderline, DotLine, ..., SpellCheckUnderline } -enum VerticalAlignment { AlignNormal, AlignSuperScript, AlignSubScript, AlignMiddle, AlignBottom, AlignTop } - - - -QString anchorHref () const -QStringList anchorNames () const -QFont font () const -QFont::Capitalization fontCapitalization () const -QString fontFamily () const -bool fontFixedPitch () const -bool fontItalic () const -bool fontKerning () const -qreal fontLetterSpacing () const -bool fontOverline () const -qreal fontPointSize () const -bool fontStrikeOut () const -QFont::StyleHint fontStyleHint () const -QFont::StyleStrategy fontStyleStrategy () const -bool fontUnderline () const -int fontWeight () const -qreal fontWordSpacing () const -bool isAnchor () const -bool isValid () const -void setAnchor ( bool anchor ) -void setAnchorHref ( const QString & value ) -void setAnchorNames ( const QStringList & names ) -void setFont ( const QFont & font ) -void setFontCapitalization ( QFont::Capitalization capitalization ) -void setFontFamily ( const QString & family ) -void setFontFixedPitch ( bool fixedPitch ) -void setFontItalic ( bool italic ) -void setFontKerning ( bool enable ) -void setFontLetterSpacing ( qreal spacing ) -void setFontOverline ( bool overline ) -void setFontPointSize ( qreal size ) -void setFontStrikeOut ( bool strikeOut ) -void setFontStyleHint ( QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault ) -void setFontStyleStrategy ( QFont::StyleStrategy strategy ) -void setFontUnderline ( bool underline ) -void setFontWeight ( int weight ) -void setFontWordSpacing ( qreal spacing ) -void setTextOutline ( const QPen & pen ) -void setToolTip ( const QString & text ) -void setUnderlineColor ( const QColor & color ) -void setUnderlineStyle ( UnderlineStyle style ) -void setVerticalAlignment ( VerticalAlignment alignment ) -QPen textOutline () const -QString toolTip () const -QColor underlineColor () const -UnderlineStyle underlineStyle () const -VerticalAlignment verticalAlignment () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextCodec.qth b/harbour/contrib/hbqt/qth/QTextCodec.qth deleted file mode 100644 index 3a47fb38c6..0000000000 --- a/harbour/contrib/hbqt/qth/QTextCodec.qth +++ /dev/null @@ -1,125 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = no - - - -#include - - -/* - * - * - */ -HB_FUNC( QT_QTEXTCODEC ) -{ - //hb_retptr( ( QTextCodec* ) new QTextCodec() ); -} - - - -enum ConversionFlag { DefaultConversion, ConvertInvalidToNull, IgnoreHeader } -flags ConversionFlags - - - -virtual QList aliases () const -bool canEncode ( QChar ch ) const -bool canEncode ( const QString & s ) const -QByteArray fromUnicode ( const QString & str ) const -//QByteArray fromUnicode ( const QChar * input, int number, ConverterState * state = 0 ) const -QTextDecoder * makeDecoder () const -QTextEncoder * makeEncoder () const -virtual int mibEnum () const = 0 -virtual QByteArray name () const = 0 -QString toUnicode ( const QByteArray & a ) const -# -// QString toUnicode ( const char * input, int size, ConverterState * state = 0 ) const -# -QString toUnicode ( const char * chars ) const - - -# Public Statics I do not know it these will work, though compile OK -QTextCodec * codecForCStrings () -QTextCodec * codecForHtml ( const QByteArray & ba, QTextCodec * defaultCodec ) -QTextCodec * codecForHtml ( const QByteArray & ba ) -QTextCodec * codecForLocale () -QTextCodec * codecForMib ( int mib ) -QTextCodec * codecForName ( const QByteArray & name ) -QTextCodec * codecForName ( const char * name ) -QTextCodec * codecForTr () -void setCodecForCStrings ( QTextCodec * codec ) -void setCodecForLocale ( QTextCodec * c ) -void setCodecForTr ( QTextCodec * c ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextCursor.qth b/harbour/contrib/hbqt/qth/QTextCursor.qth deleted file mode 100644 index 97624c40a4..0000000000 --- a/harbour/contrib/hbqt/qth/QTextCursor.qth +++ /dev/null @@ -1,196 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = PlainObject -New = - - - -oTextCursor := QTextCursor():new() -oTextCursor := QTextCursor():new( pQTextCursor ) -oTextCursor := QTextCursor():new( "QTextDocument", pQTextDocument ) -oTextCursor := QTextCursor():new( "QTextBlock" , pQTextBlock ) -oTextCursor := QTextCursor():new( "QTextFrame" , pQTextFrame ) - - - -#include -#include -#include - - -/* - * QTextCursor () - * QTextCursor ( QTextDocument * document ) - * QTextCursor ( QTextFrame * frame ) - * QTextCursor ( const QTextBlock & block ) - * QTextCursor ( const QTextCursor & cursor ) - * ~QTextCursor () - */ -HB_FUNC( QT_QTEXTCURSOR ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( ( 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" ) - { - hb_retptr( ( QTextCursor* ) new QTextCursor( hbqt_par_QTextDocument( 2 ) ) ); - } - if( object == ( QString ) "QTextBlock" ) - { - hb_retptr( ( QTextCursor* ) new QTextCursor( *hbqt_par_QTextBlock( 2 ) ) ); - } - if( object == ( QString ) "QTextFrame" ) - { - hb_retptr( ( QTextCursor* ) new QTextCursor( hbqt_par_QTextFrame( 2 ) ) ); - } - else - { - hb_retptr( ( QTextCursor* ) new QTextCursor() ); - } - } - else - { - hb_retptr( ( QTextCursor* ) new QTextCursor() ); - } -} - - - -enum MoveMode { MoveAnchor, KeepAnchor } -enum MoveOperation { NoMove, Start, StartOfLine, StartOfBlock, ..., PreviousRow } -enum SelectionType { Document, BlockUnderCursor, LineUnderCursor, WordUnderCursor } - - - -int anchor () const -bool atBlockEnd () const -bool atBlockStart () const -bool atEnd () const -bool atStart () const -void beginEditBlock () -# -QTextBlock block () const -# -QTextCharFormat blockCharFormat () const -QTextBlockFormat blockFormat () const -int blockNumber () const -QTextCharFormat charFormat () const -void clearSelection () -int columnNumber () const -QTextList * createList ( const QTextListFormat & format ) -QTextList * createList ( QTextListFormat::Style style ) -QTextFrame * currentFrame () const -QTextList * currentList () const -//QTextTable * currentTable () const -void deleteChar () -void deletePreviousChar () -QTextDocument * document () const -void endEditBlock () -bool hasComplexSelection () const -bool hasSelection () const -void insertBlock () -void insertBlock ( const QTextBlockFormat & format ) -void insertBlock ( const QTextBlockFormat & format, const QTextCharFormat & charFormat ) -void insertFragment ( const QTextDocumentFragment & fragment ) -QTextFrame * insertFrame ( const QTextFrameFormat & format ) -void insertHtml ( const QString & html ) -void insertImage ( const QString & name ) -void insertImage ( const QTextImageFormat & format ) -void insertImage ( const QTextImageFormat & format, QTextFrameFormat::Position alignment ) -void insertImage ( const QImage & image, const QString & name = QString() ) -QTextList * insertList ( const QTextListFormat & format ) -QTextList * insertList ( QTextListFormat::Style style ) -//QTextTable * insertTable ( int rows, int columns, const QTextTableFormat & format ) -//QTextTable * insertTable ( int rows, int columns ) -void insertText ( const QString & text ) -void insertText ( const QString & text, const QTextCharFormat & format ) -bool isCopyOf ( const QTextCursor & other ) const -bool isNull () const -void joinPreviousEditBlock () -void mergeBlockCharFormat ( const QTextCharFormat & modifier ) -void mergeBlockFormat ( const QTextBlockFormat & modifier ) -void mergeCharFormat ( const QTextCharFormat & modifier ) -bool movePosition ( MoveOperation operation, MoveMode mode = MoveAnchor, int n = 1 ) -int position () const -void removeSelectedText () -void select ( SelectionType selection ) -void selectedTableCells ( int * firstRow, int * numRows, int * firstColumn, int * numColumns ) const -QString selectedText () const -QTextDocumentFragment selection () const -int selectionEnd () const -int selectionStart () const -void setBlockCharFormat ( const QTextCharFormat & format ) -void setBlockFormat ( const QTextBlockFormat & format ) -void setCharFormat ( const QTextCharFormat & format ) -void setPosition ( int pos, MoveMode m = MoveAnchor ) -void setVisualNavigation ( bool b ) -bool visualNavigation () const - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextDecoder.qth b/harbour/contrib/hbqt/qth/QTextDecoder.qth deleted file mode 100644 index e614e6d4e2..0000000000 --- a/harbour/contrib/hbqt/qth/QTextDecoder.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = pTextCodec - - - -#include - - -/* - * QTextDecoder ( const QTextCodec * codec ) - * ~QTextDecoder () - */ -HB_FUNC( QT_QTEXTDECODER ) -{ - hb_retptr( ( QTextDecoder* ) new QTextDecoder( hbqt_par_QTextCodec( 1 ) ) ); -} - - - - - - -QString toUnicode ( const char * chars, int len ) -//void toUnicode ( QString * target, const char * chars, int len ) -# -//QString toUnicode ( const QByteArray & ba ) -# - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextDocument.qth b/harbour/contrib/hbqt/qth/QTextDocument.qth deleted file mode 100644 index ba2ecfa731..0000000000 --- a/harbour/contrib/hbqt/qth/QTextDocument.qth +++ /dev/null @@ -1,171 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include -#include -#include - - -/* - * QTextDocument ( QObject * parent = 0 ) - * QTextDocument ( const QString & text, QObject * parent = 0 ) - * ~QTextDocument () - */ -HB_FUNC( QT_QTEXTDOCUMENT ) -{ - hb_retptr( ( QTextDocument* ) new QTextDocument( hbqt_par_QObject( 1 ) ) ); -} - - - -enum FindFlag { FindBackward, FindCaseSensitively, FindWholeWords } -flags FindFlags -enum MetaInformation { DocumentTitle, DocumentUrl } -enum ResourceType { HtmlResource, ImageResource, StyleSheetResource, UserResource } - - - -void addResource ( int type, const QUrl & name, const QVariant & resource ) -void adjustSize () -QVector allFormats () const -QTextBlock begin () const -int blockCount () const -QChar characterAt ( int pos ) const -int characterCount () const -virtual void clear () -QTextDocument * clone ( QObject * parent = 0 ) const -QFont defaultFont () const -QString defaultStyleSheet () const -QTextOption defaultTextOption () const -QAbstractTextDocumentLayout * documentLayout () const -qreal documentMargin () const -void drawContents ( QPainter * p, const QRectF & rect = QRectF() ) -QTextBlock end () const -QTextCursor find ( const QString & subString, const QTextCursor & cursor, FindFlags options = 0 ) const -QTextCursor find ( const QRegExp & expr, const QTextCursor & cursor, FindFlags options = 0 ) const -QTextCursor find ( const QString & subString, int position = 0, FindFlags options = 0 ) const -QTextCursor find ( const QRegExp & expr, int position = 0, FindFlags options = 0 ) const -QTextBlock findBlock ( int pos ) const -QTextBlock findBlockByLineNumber ( int lineNumber ) const -QTextBlock findBlockByNumber ( int blockNumber ) const -QTextBlock firstBlock () const -qreal idealWidth () const -qreal indentWidth () const -bool isEmpty () const -bool isModified () const -bool isRedoAvailable () const -bool isUndoAvailable () const -bool isUndoRedoEnabled () const -QTextBlock lastBlock () const -int lineCount () const -void markContentsDirty ( int position, int length ) -int maximumBlockCount () const -QString metaInformation ( MetaInformation info ) const -QTextObject * object ( int objectIndex ) const -QTextObject * objectForFormat ( const QTextFormat & f ) const -int pageCount () const -QSizeF pageSize () const -void print ( QPrinter * printer ) const -void redo ( QTextCursor * cursor ) -QVariant resource ( int type, const QUrl & name ) const -int revision () const -QTextFrame * rootFrame () const -void setDefaultFont ( const QFont & font ) -void setDefaultStyleSheet ( const QString & sheet ) -void setDefaultTextOption ( const QTextOption & option ) -void setDocumentLayout ( QAbstractTextDocumentLayout * layout ) -void setDocumentMargin ( qreal margin ) -void setHtml ( const QString & html ) -void setIndentWidth ( qreal width ) -void setMaximumBlockCount ( int maximum ) -void setMetaInformation ( MetaInformation info, const QString & string ) -void setPageSize ( const QSizeF & size ) -void setPlainText ( const QString & text ) -void setTextWidth ( qreal width ) -void setUndoRedoEnabled ( bool enable ) -void setUseDesignMetrics ( bool b ) -QSizeF size () const -qreal textWidth () const -QString toHtml ( const QByteArray & encoding = QByteArray() ) const -QString toPlainText () const -void undo ( QTextCursor * cursor ) -bool useDesignMetrics () const - - - -void redo () -void setModified ( bool m = true ) -void undo () - - - -void blockCountChanged ( int newBlockCount ) -void contentsChange ( int position, int charsRemoved, int charsAdded ) -void contentsChanged () -void cursorPositionChanged ( const QTextCursor & cursor ) -void documentLayoutChanged () -void modificationChanged ( bool changed ) -void redoAvailable ( bool available ) -void undoAvailable ( bool available ) -void undoCommandAdded () - diff --git a/harbour/contrib/hbqt/qth/QTextDocumentFragment.qth b/harbour/contrib/hbqt/qth/QTextDocumentFragment.qth deleted file mode 100644 index ce6ecc09c3..0000000000 --- a/harbour/contrib/hbqt/qth/QTextDocumentFragment.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextDocumentFragment () - * QTextDocumentFragment ( const QTextDocument * document ) - * QTextDocumentFragment ( const QTextCursor & cursor ) - * QTextDocumentFragment ( const QTextDocumentFragment & other ) - * ~QTextDocumentFragment () - */ -HB_FUNC( QT_QTEXTDOCUMENTFRAGMENT ) -{ - hb_retptr( ( QTextDocumentFragment* ) new QTextDocumentFragment() ); -} - - - - - - -bool isEmpty () const -QString toHtml ( const QByteArray & encoding ) const -QString toHtml () const -QString toPlainText () const - -QTextDocumentFragment fromHtml ( const QString & text ) -QTextDocumentFragment fromHtml ( const QString & text, const QTextDocument * resourceProvider ) -QTextDocumentFragment fromPlainText ( const QString & plainText ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextDocumentWriter.qth b/harbour/contrib/hbqt/qth/QTextDocumentWriter.qth deleted file mode 100644 index 9ee6b2127f..0000000000 --- a/harbour/contrib/hbqt/qth/QTextDocumentWriter.qth +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextDocumentWriter () - * QTextDocumentWriter ( QIODevice * device, const QByteArray & format ) - * QTextDocumentWriter ( const QString & fileName, const QByteArray & format = QByteArray() ) - * ~QTextDocumentWriter () - */ -HB_FUNC( QT_QTEXTDOCUMENTWRITER ) -{ - hb_retptr( ( QTextDocumentWriter* ) new QTextDocumentWriter() ); -} - - - - - - -QTextCodec * codec () const -QIODevice * device () const -QString fileName () const -QByteArray format () const -void setCodec ( QTextCodec * codec ) -void setDevice ( QIODevice * device ) -void setFileName ( const QString & fileName ) -void setFormat ( const QByteArray & format ) -bool write ( const QTextDocument * document ) -bool write ( const QTextDocumentFragment & fragment ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextEdit.qth b/harbour/contrib/hbqt/qth/QTextEdit.qth deleted file mode 100644 index 3f15d20ea8..0000000000 --- a/harbour/contrib/hbqt/qth/QTextEdit.qth +++ /dev/null @@ -1,182 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractScrollArea -New = pParent - - - -#include - - -/* QTextEdit ( QWidget * parent = 0 ) - * QTextEdit ( const QString & text, QWidget * parent = 0 ) - * virtual ~QTextEdit () - */ -HB_FUNC( QT_QTEXTEDIT ) -{ - if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) ) - hb_retptr( new QTextEdit( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ); - else - hb_retptr( new QTextEdit( hbqt_par_QWidget( 1 ) ) ); -} - - - -flags AutoFormatting -enum AutoFormattingFlag { AutoNone, AutoBulletList, AutoAll } -enum LineWrapMode { NoWrap, WidgetWidth, FixedPixelWidth, FixedColumnWidth } - - - -bool acceptRichText () const -Qt::Alignment alignment () const -QString anchorAt ( const QPoint & pos ) const -AutoFormatting autoFormatting () const -bool canPaste () const -QMenu * createStandardContextMenu () -QMenu * createStandardContextMenu ( const QPoint & position ) -QTextCharFormat currentCharFormat () const -QFont currentFont () const -QTextCursor cursorForPosition ( const QPoint & pos ) const -QRect cursorRect ( const QTextCursor & cursor ) const -QRect cursorRect () const -int cursorWidth () const -QTextDocument * document () const -QString documentTitle () const -void ensureCursorVisible () -QList extraSelections () const -bool find ( const QString & exp, QTextDocument::FindFlags options = 0 ) -QString fontFamily () const -bool fontItalic () const -qreal fontPointSize () const -bool fontUnderline () const -int fontWeight () const -bool isReadOnly () const -bool isUndoRedoEnabled () const -int lineWrapColumnOrWidth () const -LineWrapMode lineWrapMode () const -virtual QVariant loadResource ( int type, const QUrl & name ) -void mergeCurrentCharFormat ( const QTextCharFormat & modifier ) -void moveCursor ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) -bool overwriteMode () const -void print ( QPrinter * printer ) const -void setAcceptRichText ( bool accept ) -void setAutoFormatting ( AutoFormatting features ) -void setCurrentCharFormat ( const QTextCharFormat & format ) -void setCursorWidth ( int width ) -void setDocument ( QTextDocument * document ) -void setDocumentTitle ( const QString & title ) -void setExtraSelections ( const QList & selections ) -void setLineWrapColumnOrWidth ( int w ) -void setLineWrapMode ( LineWrapMode mode ) -void setOverwriteMode ( bool overwrite ) -void setReadOnly ( bool ro ) -void setTabChangesFocus ( bool b ) -void setTabStopWidth ( int width ) -void setTextCursor ( const QTextCursor & cursor ) -void setTextInteractionFlags ( Qt::TextInteractionFlags flags ) -void setUndoRedoEnabled ( bool enable ) -void setWordWrapMode ( QTextOption::WrapMode policy ) -bool tabChangesFocus () const -int tabStopWidth () const -QColor textBackgroundColor () const -QColor textColor () const -QTextCursor textCursor () const -Qt::TextInteractionFlags textInteractionFlags () const -QString toHtml () const -QString toPlainText () const -QTextOption::WrapMode wordWrapMode () const - - - -void append ( const QString & text ) -void clear () -void copy () -void cut () -void insertHtml ( const QString & text ) -void insertPlainText ( const QString & text ) -void paste () -void redo () -void scrollToAnchor ( const QString & name ) -void selectAll () -void setAlignment ( Qt::Alignment a ) -void setCurrentFont ( const QFont & f ) -void setFontFamily ( const QString & fontFamily ) -void setFontItalic ( bool italic ) -void setFontPointSize ( qreal s ) -void setFontUnderline ( bool underline ) -void setFontWeight ( int weight ) -void setHtml ( const QString & text ) -void setPlainText ( const QString & text ) -void setText ( const QString & text ) -void setTextBackgroundColor ( const QColor & c ) -void setTextColor ( const QColor & c ) -void undo () -void zoomIn ( int range = 1 ) -void zoomOut ( int range = 1 ) - - - -void copyAvailable ( bool yes ) -void currentCharFormatChanged ( const QTextCharFormat & f ) -void cursorPositionChanged () -void redoAvailable ( bool available ) -void selectionChanged () -void textChanged () -void undoAvailable ( bool available ) - diff --git a/harbour/contrib/hbqt/qth/QTextEncoder.qth b/harbour/contrib/hbqt/qth/QTextEncoder.qth deleted file mode 100644 index c65926099f..0000000000 --- a/harbour/contrib/hbqt/qth/QTextEncoder.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextEncoder ( const QTextCodec * codec ) - * ~QTextEncoder () - */ -HB_FUNC( QT_QTEXTENCODER ) -{ - hb_retptr( ( QTextEncoder* ) new QTextEncoder( hbqt_par_QTextCodec( 1 ) ) ); -} - - - - - - -QByteArray fromUnicode ( const QString & str ) -QByteArray fromUnicode ( const QChar * uc, int len ) -//QByteArray fromUnicode ( const QString & uc, int & lenInOut ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextFormat.qth b/harbour/contrib/hbqt/qth/QTextFormat.qth deleted file mode 100644 index 8ab5d2fba4..0000000000 --- a/harbour/contrib/hbqt/qth/QTextFormat.qth +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = pParent - - - -#include - - -/* - * QTextFormat () - * QTextFormat ( int type ) - * QTextFormat ( const QTextFormat & other ) - * ~QTextFormat () - */ -HB_FUNC( QT_QTEXTFORMAT ) -{ - hb_retptr( ( QTextFormat* ) new QTextFormat() ); -} - - - -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 } - - - -QBrush background () const -bool boolProperty ( int propertyId ) const -QBrush brushProperty ( int propertyId ) const -void clearBackground () -void clearForeground () -void clearProperty ( int propertyId ) -QColor colorProperty ( int propertyId ) const -qreal doubleProperty ( int propertyId ) const -QBrush foreground () const -bool hasProperty ( int propertyId ) const -int intProperty ( int propertyId ) const -bool isBlockFormat () const -bool isCharFormat () const -bool isFrameFormat () const -bool isImageFormat () const -bool isListFormat () const -bool isTableCellFormat () const -bool isTableFormat () const -bool isValid () const -Qt::LayoutDirection layoutDirection () const -QTextLength lengthProperty ( int propertyId ) const -QVector lengthVectorProperty ( int propertyId ) const -void merge ( const QTextFormat & other ) -int objectIndex () const -int objectType () const -QPen penProperty ( int propertyId ) const -QMap properties () const -QVariant property ( int propertyId ) const -int propertyCount () const -void setBackground ( const QBrush & brush ) -void setForeground ( const QBrush & brush ) -void setLayoutDirection ( Qt::LayoutDirection direction ) -void setObjectIndex ( int index ) -void setObjectType ( int type ) -void setProperty ( int propertyId, const QVariant & value ) -void setProperty ( int propertyId, const QVector & value ) -QString stringProperty ( int propertyId ) const -QTextBlockFormat toBlockFormat () const -QTextCharFormat toCharFormat () const -QTextFrameFormat toFrameFormat () const -QTextImageFormat toImageFormat () const -QTextListFormat toListFormat () const -// QTextTableCellFormat toTableCellFormat () const -QTextTableFormat toTableFormat () const -int type () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextFragment.qth b/harbour/contrib/hbqt/qth/QTextFragment.qth deleted file mode 100644 index 11df252087..0000000000 --- a/harbour/contrib/hbqt/qth/QTextFragment.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextFragment () - * QTextFragment ( const QTextFragment & other ) - */ -HB_FUNC( QT_QTEXTFRAGMENT ) -{ - hb_retptr( ( QTextFragment* ) new QTextFragment() ); -} - - - - - - -QTextCharFormat charFormat () const -int charFormatIndex () const -bool contains ( int position ) const -bool isValid () const -int length () const -int position () const -QString text () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextFrame.qth b/harbour/contrib/hbqt/qth/QTextFrame.qth deleted file mode 100644 index 0b515e7566..0000000000 --- a/harbour/contrib/hbqt/qth/QTextFrame.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QTextObject -Type = Core -New = pDocument - - - -#include -#include - - -/* - * QTextFrame ( QTextDocument * document ) - * ~QTextFrame () - */ -HB_FUNC( QT_QTEXTFRAME ) -{ - hb_retptr( ( QTextFrame* ) new QTextFrame( hbqt_par_QTextDocument( 1 ) ) ); -} - - - - - - -//iterator begin () const -QList childFrames () const -//iterator end () const -QTextCursor firstCursorPosition () const -int firstPosition () const -QTextFrameFormat frameFormat () const -QTextCursor lastCursorPosition () const -int lastPosition () const -QTextFrame * parentFrame () const -void setFrameFormat ( const QTextFrameFormat & format ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextFrameFormat.qth b/harbour/contrib/hbqt/qth/QTextFrameFormat.qth deleted file mode 100644 index 1332b60bd8..0000000000 --- a/harbour/contrib/hbqt/qth/QTextFrameFormat.qth +++ /dev/null @@ -1,128 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QTextFormat -Type = Core -New = - - - -#include - - -/* - * QTextFrameFormat () - */ -HB_FUNC( QT_QTEXTFRAMEFORMAT ) -{ - hb_retptr( ( QTextFrameFormat* ) new QTextFrameFormat() ); -} - - - -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 } - - - -qreal border () const -QBrush borderBrush () const -BorderStyle borderStyle () const -qreal bottomMargin () const -QTextLength height () const -bool isValid () const -qreal leftMargin () const -qreal margin () const -qreal padding () const -PageBreakFlags pageBreakPolicy () const -Position position () const -qreal rightMargin () const -void setBorder ( qreal width ) -void setBorderBrush ( const QBrush & brush ) -void setBorderStyle ( BorderStyle style ) -void setBottomMargin ( qreal margin ) -void setHeight ( const QTextLength & height ) -void setHeight ( qreal height ) -void setLeftMargin ( qreal margin ) -void setMargin ( qreal margin ) -void setPadding ( qreal width ) -void setPageBreakPolicy ( PageBreakFlags policy ) -void setPosition ( Position policy ) -void setRightMargin ( qreal margin ) -void setTopMargin ( qreal margin ) -void setWidth ( const QTextLength & width ) -void setWidth ( qreal width ) -qreal topMargin () const -QTextLength width () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextImageFormat.qth b/harbour/contrib/hbqt/qth/QTextImageFormat.qth deleted file mode 100644 index e4a706c64a..0000000000 --- a/harbour/contrib/hbqt/qth/QTextImageFormat.qth +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QTextCharFormat -Type = Core -New = - - - -#include - - -/* - * QTextImageFormat () - * - */ -HB_FUNC( QT_QTEXTIMAGEFORMAT ) -{ - hb_retptr( ( QTextImageFormat* ) new QTextImageFormat() ); -} - - - - - - -qreal height () const -bool isValid () const -QString name () const -void setHeight ( qreal height ) -void setName ( const QString & name ) -void setWidth ( qreal width ) -qreal width () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextInlineObject.qth b/harbour/contrib/hbqt/qth/QTextInlineObject.qth deleted file mode 100644 index 55aa365d33..0000000000 --- a/harbour/contrib/hbqt/qth/QTextInlineObject.qth +++ /dev/null @@ -1,105 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = iInt, pEngine - - - -#include - - -/* - * QTextInlineObject ( int i, QTextEngine * e ) - * - */ -HB_FUNC( QT_QTEXTINLINEOBJECT ) -{ - // hb_retptr( new QTextInlineObject( hb_parni( 1 ), hbqt_par_QTextEngine( 2 ) ) ); -} - - - - - - -qreal ascent () const -qreal descent () const -QTextFormat format () const -int formatIndex () const -qreal height () const -bool isValid () const -QRectF rect () const -void setAscent ( qreal a ) -void setDescent ( qreal d ) -void setWidth ( qreal w ) -Qt::LayoutDirection textDirection () const -int textPosition () const -qreal width () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextItem.qth b/harbour/contrib/hbqt/qth/QTextItem.qth deleted file mode 100644 index 170d31a941..0000000000 --- a/harbour/contrib/hbqt/qth/QTextItem.qth +++ /dev/null @@ -1,100 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * - * - */ -HB_FUNC( QT_QTEXTITEM ) -{ - hb_retptr( ( QTextItem* ) new QTextItem() ); -} - - - -enum RenderFlag { RightToLeft, Overline, Underline, StrikeOut } -flags RenderFlags - - - -qreal ascent () const -qreal descent () const -QFont font () const -RenderFlags renderFlags () const -QString text () const -qreal width () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextLayout.qth b/harbour/contrib/hbqt/qth/QTextLayout.qth deleted file mode 100644 index c404934288..0000000000 --- a/harbour/contrib/hbqt/qth/QTextLayout.qth +++ /dev/null @@ -1,127 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextLayout () - * QTextLayout ( const QString & text ) - * QTextLayout ( const QString & text, const QFont & font, QPaintDevice * paintdevice = 0 ) - * ~QTextLayout () - */ -HB_FUNC( QT_QTEXTLAYOUT ) -{ - hb_retptr( ( QTextLayout* ) new QTextLayout() ); -} - - - -enum CursorMode { SkipCharacters, SkipWords } - - - -QList additionalFormats () const -void beginLayout () -QRectF boundingRect () const -bool cacheEnabled () const -void clearAdditionalFormats () -void clearLayout () -QTextLine createLine () -void draw ( QPainter * p, const QPointF & pos, const QVector & selections = QVector (), const QRectF & clip = QRectF() ) const -void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition, int width ) const -void drawCursor ( QPainter * painter, const QPointF & position, int cursorPosition ) const -void endLayout () -QFont font () const -bool isValidCursorPosition ( int pos ) const -QTextLine lineAt ( int i ) const -int lineCount () const -QTextLine lineForTextPosition ( int pos ) const -qreal maximumWidth () const -qreal minimumWidth () const -int nextCursorPosition ( int oldPos, CursorMode mode = SkipCharacters ) const -QPointF position () const -int preeditAreaPosition () const -QString preeditAreaText () const -int previousCursorPosition ( int oldPos, CursorMode mode = SkipCharacters ) const -void setAdditionalFormats ( const QList & formatList ) -void setCacheEnabled ( bool enable ) -void setFont ( const QFont & font ) -void setPosition ( const QPointF & p ) -void setPreeditArea ( int position, const QString & text ) -void setText ( const QString & string ) -void setTextOption ( const QTextOption & option ) -QString text () const -QTextOption textOption () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextLength.qth b/harbour/contrib/hbqt/qth/QTextLength.qth deleted file mode 100644 index 382a0c1535..0000000000 --- a/harbour/contrib/hbqt/qth/QTextLength.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextLength () - * QTextLength ( Type type, qreal value ) - */ -HB_FUNC( QT_QTEXTLENGTH ) -{ - hb_retptr( ( QTextLength* ) new QTextLength() ); -} - - - -enum Type { VariableLength, FixedLength, PercentageLength } - - - -qreal rawValue () const -Type type () const -qreal value ( qreal maximumLength ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextLine.qth b/harbour/contrib/hbqt/qth/QTextLine.qth deleted file mode 100644 index dbc6e9de3e..0000000000 --- a/harbour/contrib/hbqt/qth/QTextLine.qth +++ /dev/null @@ -1,117 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QTextLine () - */ -HB_FUNC( QT_QTEXTLINE ) -{ - hb_retptr( ( QTextLine* ) new QTextLine() ); -} - - - -enum CursorPosition { CursorBetweenCharacters, CursorOnCharacter } -enum Edge { Leading, Trailing } - - - -qreal ascent () const -qreal cursorToX ( int * cursorPos, Edge edge = Leading ) const -qreal cursorToX ( int cursorPos, Edge edge = Leading ) const -qreal descent () const -# -//void draw ( QPainter * painter, const QPointF & position, const QTextLayout::FormatRange * selection = 0 ) const -# -qreal height () const -bool isValid () const -int lineNumber () const -QRectF naturalTextRect () const -qreal naturalTextWidth () const -QPointF position () const -QRectF rect () const -void setLineWidth ( qreal width ) -void setNumColumns ( int numColumns ) -void setNumColumns ( int numColumns, qreal alignmentWidth ) -void setPosition ( const QPointF & pos ) -int textLength () const -int textStart () const -qreal width () const -qreal x () const -int xToCursor ( qreal x, CursorPosition cpos = CursorBetweenCharacters ) const -qreal y () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextList.qth b/harbour/contrib/hbqt/qth/QTextList.qth deleted file mode 100644 index 61a7741fdd..0000000000 --- a/harbour/contrib/hbqt/qth/QTextList.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QTextBlockGroup -Type = -New = - - - - - - - - - -#include - - -/* - * - * - */ -HB_FUNC( QT_QTEXTLIST ) -{ - -} - - - - - - -void add ( const QTextBlock & block ) -int count () const -QTextListFormat format () const -QTextBlock item ( int i ) const -int itemNumber ( const QTextBlock & block ) const -QString itemText ( const QTextBlock & block ) const -void remove ( const QTextBlock & block ) -void removeItem ( int i ) -void setFormat ( const QTextListFormat & format ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextListFormat.qth b/harbour/contrib/hbqt/qth/QTextListFormat.qth deleted file mode 100644 index 3d4e8be7a8..0000000000 --- a/harbour/contrib/hbqt/qth/QTextListFormat.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QTextFormat -Type = Core -New = -Destructor = - - - -#include - - -/* QTextListFormat () - * - */ -HB_FUNC( QT_QTEXTLISTFORMAT ) -{ - hb_retptr( new QTextListFormat() ); -} - - - -enum Style { ListDisc, ListCircle, ListSquare, ListDecimal, ListLowerAlpha, ListUpperAlpha } - - - -int indent () const -bool isValid () const -void setIndent ( int indentation ) -void setStyle ( Style style ) -Style style () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextObject.qth b/harbour/contrib/hbqt/qth/QTextObject.qth deleted file mode 100644 index 75aa622a49..0000000000 --- a/harbour/contrib/hbqt/qth/QTextObject.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = -Destructor = no - - - -#include - - -/* - * - */ -HB_FUNC( QT_QTEXTOBJECT ) -{ - -} - - - - - - -QTextDocument * document () const -QTextFormat format () const -int formatIndex () const -int objectIndex () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextOption.qth b/harbour/contrib/hbqt/qth/QTextOption.qth deleted file mode 100644 index 4a28714309..0000000000 --- a/harbour/contrib/hbqt/qth/QTextOption.qth +++ /dev/null @@ -1,115 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QTextOption () - * QTextOption ( Qt::Alignment alignment ) - * QTextOption ( const QTextOption & other ) - * ~QTextOption () - */ -HB_FUNC( QT_QTEXTOPTION ) -{ - hb_retptr( new QTextOption() ); -} - - - -class Tab -enum Flag { IncludeTrailingSpaces, ShowTabsAndSpaces, ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators, SuppressColors } -flags Flags -enum TabType { LeftTab, RightTab, CenterTab, DelimiterTab } -enum WrapMode { NoWrap, WordWrap, ManualWrap, WrapAnywhere, WrapAtWordBoundaryOrAnywhere } - - - -Qt::Alignment alignment () const -Flags flags () const -void setAlignment ( Qt::Alignment alignment ) -void setFlags ( Flags flags ) -void setTabArray ( QList tabStops ) -void setTabStop ( qreal tabStop ) -void setTabs ( QList tabStops ) -void setTextDirection ( Qt::LayoutDirection direction ) -void setUseDesignMetrics ( bool enable ) -void setWrapMode ( WrapMode mode ) -QList tabArray () const -qreal tabStop () const -QList tabs () const -Qt::LayoutDirection textDirection () const -bool useDesignMetrics () const -WrapMode wrapMode () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextStream.qth b/harbour/contrib/hbqt/qth/QTextStream.qth deleted file mode 100644 index 6a0d2f45a7..0000000000 --- a/harbour/contrib/hbqt/qth/QTextStream.qth +++ /dev/null @@ -1,144 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = Core -New = cText, nIOMode - - - -#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 () - */ -HB_FUNC( QT_QTEXTSTREAM ) -{ - hb_retptr( new QTextStream( hb_parcx( 1 ), ( QIODevice::OpenMode ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : QIODevice::ReadWrite ) ) ); -} - - - -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 } - - - -QChar padChar () const -bool atEnd () const -bool autoDetectUnicode () const -QTextCodec * codec () const -QIODevice * device () const -FieldAlignment fieldAlignment () const -int fieldWidth () const -void flush () -bool generateByteOrderMark () const -int integerBase () const -QLocale locale () const -NumberFlags numberFlags () const -qint64 pos () const -QString read ( qint64 maxlen ) -QString readAll () -QString readLine ( qint64 maxlen = 0 ) -RealNumberNotation realNumberNotation () const -int realNumberPrecision () const -void reset () -void resetStatus () -bool seek ( qint64 pos ) -void setAutoDetectUnicode ( bool enabled ) -void setCodec ( QTextCodec * codec ) -void setCodec ( const char * codecName ) -void setDevice ( QIODevice * device ) -void setFieldAlignment ( FieldAlignment mode ) -void setFieldWidth ( int width ) -void setGenerateByteOrderMark ( bool generate ) -void setIntegerBase ( int base ) -void setLocale ( const QLocale & locale ) -void setNumberFlags ( NumberFlags flags ) -void setPadChar ( QChar ch ) -void setRealNumberNotation ( RealNumberNotation notation ) -void setRealNumberPrecision ( int precision ) -void setStatus ( Status status ) -# -//void setString ( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) -# -void skipWhiteSpace () -Status status () const -# -//QString * string () const -# - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTextTableFormat.qth b/harbour/contrib/hbqt/qth/QTextTableFormat.qth deleted file mode 100644 index d36d399164..0000000000 --- a/harbour/contrib/hbqt/qth/QTextTableFormat.qth +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QTextFrameFormat -Type = Core -New = -Destructor = - - - -#include - - -/* QTextTableFormat () - */ -HB_FUNC( QT_QTEXTTABLEFORMAT ) -{ - hb_retptr( new QTextTableFormat() ); -} - - - - - - -Qt::Alignment alignment () const -qreal cellPadding () const -qreal cellSpacing () const -void clearColumnWidthConstraints () -QVector columnWidthConstraints () const -int columns () const -int headerRowCount () const -bool isValid () const -void setAlignment ( Qt::Alignment alignment ) -void setCellPadding ( qreal padding ) -void setCellSpacing ( qreal spacing ) -void setColumnWidthConstraints ( const QVector & constraints ) -void setHeaderRowCount ( int count ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QThread.qth b/harbour/contrib/hbqt/qth/QThread.qth deleted file mode 100644 index 244b74500c..0000000000 --- a/harbour/contrib/hbqt/qth/QThread.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include - - -/* QThread ( QObject * parent = 0 ) - * ~QThread () - */ -HB_FUNC( QT_QTHREAD ) -{ - hb_retptr( new QThread() ); -} - - - -enum Priority { IdlePriority, LowestPriority, LowPriority, NormalPriority, ..., InheritPriority } - - - -void exit ( int returnCode = 0 ) -bool isFinished () const -bool isRunning () const -Priority priority () const -void setPriority ( Priority priority ) -void setStackSize ( uint stackSize ) -uint stackSize () const -#bool wait ( unsigned long time = ULONG_MAX ) -bool wait ( ulong time = ULONG_MAX ) - -QThread * currentThread () -// Qt::HANDLE currentThreadId () -int idealThreadCount () -void yieldCurrentThread () - - - -void quit () -void start ( Priority priority = InheritPriority ) -void terminate () - - - -void finished () -void started () -void terminated () - - - - - diff --git a/harbour/contrib/hbqt/qth/QTime.qth b/harbour/contrib/hbqt/qth/QTime.qth deleted file mode 100644 index 8651f0422a..0000000000 --- a/harbour/contrib/hbqt/qth/QTime.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QTime () - * QTime ( int h, int m, int s = 0, int ms = 0 ) - */ -HB_FUNC( QT_QTIME ) -{ - hb_retptr( new QTime() ); -} - - - - - - -QTime addMSecs ( int ms ) const -QTime addSecs ( int s ) const -int elapsed () const -int hour () const -bool isNull () const -bool isValid () const -int minute () const -int msec () const -int msecsTo ( const QTime & t ) const -int restart () -int second () const -int secsTo ( const QTime & t ) const -bool setHMS ( int h, int m, int s, int ms = 0 ) -void start () -QString toString ( const QString & format ) const -QString toString ( Qt::DateFormat format = Qt::TextDate ) const - -QTime currentTime () -QTime fromString ( const QString & string, Qt::DateFormat format = Qt::TextDate ) -QTime fromString ( const QString & string, const QString & format ) -bool isValid ( int h, int m, int s, int ms = 0 ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTimeEdit.qth b/harbour/contrib/hbqt/qth/QTimeEdit.qth deleted file mode 100644 index ea2bce7695..0000000000 --- a/harbour/contrib/hbqt/qth/QTimeEdit.qth +++ /dev/null @@ -1,79 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDateTimeEdit -New = pParent - - - -#include - - -/* - * QTimeEdit ( QWidget * parent = 0 ) - * QTimeEdit ( const QTime & time, QWidget * parent = 0 ) - */ -HB_FUNC( QT_QTIMEEDIT ) -{ - hb_retptr( ( QTimeEdit* ) new QTimeEdit( hbqt_par_QWidget( 1 ) ) ); - #if 0 - hb_retptr( (QTimeEdit *) new QTimeEdit( QTime( hbqt_par_QString( 1 ) ), hbqt_par_QWidget( 2 ) ) ); - #endif -} - - - diff --git a/harbour/contrib/hbqt/qth/QTimer.qth b/harbour/contrib/hbqt/qth/QTimer.qth deleted file mode 100644 index 44c5951cd7..0000000000 --- a/harbour/contrib/hbqt/qth/QTimer.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QObject -New = pParent - - - -#include - - -/* - * QTimer ( QObject * parent = 0 ) - * ~QTimer () - */ -HB_FUNC( QT_QTIMER ) -{ - hb_retptr( new QTimer( hbqt_par_QObject( 1 ) ) ); -} - - - -int interval () const -bool isActive () const -bool isSingleShot () const -void setInterval ( int msec ) -void setSingleShot ( bool singleShot ) -int timerId () const - -void singleShot ( int msec, QObject * receiver, const char * member ) - - - -void start () -void stop () -void start ( int msec ) - - - -void timeout () - - - diff --git a/harbour/contrib/hbqt/qth/QToolBar.qth b/harbour/contrib/hbqt/qth/QToolBar.qth deleted file mode 100644 index 8f98b1f4f0..0000000000 --- a/harbour/contrib/hbqt/qth/QToolBar.qth +++ /dev/null @@ -1,149 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include -#include - - -/* QToolBar ( const QString & title, QWidget * parent = 0 ) - * QToolBar ( QWidget * parent = 0 ) - * ~QToolBar () - */ -HB_FUNC( QT_QTOOLBAR ) -{ - if( hb_param( 1, HB_IT_STRING ) ) - hb_retptr( ( QToolBar* ) new QToolBar( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) ); - else - hb_retptr( ( QToolBar* ) new QToolBar( hbqt_par_QWidget( 1 ) ) ); -} - - - -QAction * actionAt ( const QPoint & p ) const -QAction * actionAt ( int x, int y ) const -void addAction ( QAction * action ){ - QGC_POINTER_QToolBar * q = ( QGC_POINTER_QToolBar * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTOOLBAR_ADDACTION()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTOOLBAR_ADDACTION() Qt oject: %p is attached to: %p", ( void * ) p->ph, ( void * ) q->ph ) ); - p->bNew = HB_FALSE; - ( q->ph )->addAction( ( QAction * ) p->ph ); - } -} -QAction * addAction ( const QString & text ) -QAction * addAction ( const QIcon & icon, const QString & text ) -QAction * addAction ( const QString & text, const QObject * receiver, const char * member ) -QAction * addAction ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member ){ - QGC_POINTER_QToolBar * q = ( QGC_POINTER_QToolBar * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 4 ); - - HB_TRACE( HB_TR_DEBUG, ("QTOOLBAR_ADDACTION_4" ) ); - if ( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTOOLBAR_ADDITEM_4: %p is attached to: %p", (void *) p->ph, (void *) q->ph ) ) ; - p->bNew = HB_FALSE; - if ( q && q->ph ) - hb_retptrGC( hbqt_gcAllocate_QAction( ( q->ph )->addAction( QIcon( hbqt_par_QString( 2 ) ), QToolBar::tr( hb_parc( 3 ) ), (QObject *) ( p->ph), hbqt_par_char( 5 ) ), false ) ); - else - { - HB_TRACE( HB_TR_DEBUG, ( "F=QT_QTOOLBAR_ADDACTION_4 FP=hb_retptrGC( hbqt_gcAllocate_QAction( ( p )->addAction( QIcon( hbqt_par_QString( 2 ) ), QToolBar::tr( hb_parc( 3 ) ), hbqt_par_QObject( 4 ), hbqt_par_char( 5 ) ), false ) ); p is NULL" ) ); - } - } -} -QAction * addSeparator () -QAction * addWidget ( QWidget * widget ) -Qt::ToolBarAreas allowedAreas () const -void clear () -QSize iconSize () const -QAction * insertSeparator ( QAction * before ) -QAction * insertWidget ( QAction * before, QWidget * widget ) -bool isAreaAllowed ( Qt::ToolBarArea area ) const -bool isFloatable () const -bool isFloating () const -bool isMovable () const -Qt::Orientation orientation () const -void setAllowedAreas ( Qt::ToolBarAreas areas ) -void setFloatable ( bool floatable ) -void setMovable ( bool movable ) -void setOrientation ( Qt::Orientation orientation ) -QAction * toggleViewAction () const -Qt::ToolButtonStyle toolButtonStyle () const -QWidget * widgetForAction ( QAction * action ) const - - - -void setIconSize ( const QSize & iconSize ) -void setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle ) - - - -void actionTriggered ( QAction * action ) -void allowedAreasChanged ( Qt::ToolBarAreas allowedAreas ) -void iconSizeChanged ( const QSize & iconSize ) -void movableChanged ( bool movable ) -void orientationChanged ( Qt::Orientation orientation ) -void toolButtonStyleChanged ( Qt::ToolButtonStyle toolButtonStyle ) - - diff --git a/harbour/contrib/hbqt/qth/QToolBox.qth b/harbour/contrib/hbqt/qth/QToolBox.qth deleted file mode 100644 index 8571fcc9a5..0000000000 --- a/harbour/contrib/hbqt/qth/QToolBox.qth +++ /dev/null @@ -1,106 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QFrame -New = pParent, nFlags - - - -#include - - -/* - * QToolBox ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QToolBox () - */ -HB_FUNC( QT_QTOOLBOX ) -{ - hb_retptr( ( QToolBox* ) new QToolBox( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -int addItem ( QWidget * widget, const QIcon & iconSet, const QString & text ) -int addItem ( QWidget * w, const QString & text ) -int count () const -int currentIndex () const -QWidget * currentWidget () const -int indexOf ( QWidget * widget ) const -int insertItem ( int index, QWidget * widget, const QIcon & icon, const QString & text ) -int insertItem ( int index, QWidget * widget, const QString & text ) -bool isItemEnabled ( int index ) const -QIcon itemIcon ( int index ) const -QString itemText ( int index ) const -QString itemToolTip ( int index ) const -void removeItem ( int index ) -void setItemEnabled ( int index, bool enabled ) -void setItemIcon ( int index, const QIcon & icon ) -void setItemText ( int index, const QString & text ) -void setItemToolTip ( int index, const QString & toolTip ) -QWidget * widget ( int index ) const - - - -void setCurrentIndex ( int index ) -void setCurrentWidget ( QWidget * widget ) - - - -void currentChanged ( int index ) - - - diff --git a/harbour/contrib/hbqt/qth/QToolButton.qth b/harbour/contrib/hbqt/qth/QToolButton.qth deleted file mode 100644 index 1143769b8b..0000000000 --- a/harbour/contrib/hbqt/qth/QToolButton.qth +++ /dev/null @@ -1,102 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractButton -New = pParent - - - -#include - - -/* - * QToolButton ( QWidget * parent = 0 ) - * ~QToolButton () - */ -HB_FUNC( QT_QTOOLBUTTON ) -{ - hb_retptr( ( QToolButton* ) new QToolButton( hbqt_par_QWidget( 1 ) ) ); -} - - - -enum ToolButtonPopupMode { DelayedPopup, MenuButtonPopup, InstantPopup } - - - -Qt::ArrowType arrowType () const -bool autoRaise () const -QAction * defaultAction () const -QMenu * menu () const -ToolButtonPopupMode popupMode () const -void setArrowType ( Qt::ArrowType type ) -void setAutoRaise ( bool enable ) -void setMenu ( QMenu * menu ) -void setPopupMode ( ToolButtonPopupMode mode ) -Qt::ToolButtonStyle toolButtonStyle () const - - - -void setDefaultAction ( QAction * action ) -void setToolButtonStyle ( Qt::ToolButtonStyle style ) -void showMenu () - - - -void triggered ( QAction * action ) - - diff --git a/harbour/contrib/hbqt/qth/QTransform.qth b/harbour/contrib/hbqt/qth/QTransform.qth deleted file mode 100644 index 3adeb482e3..0000000000 --- a/harbour/contrib/hbqt/qth/QTransform.qth +++ /dev/null @@ -1,145 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = -Destructor = - - - -#include - - -/* QTransform () - * QTransform ( qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33 = 1.0 ) - * QTransform ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) - * QTransform ( const QMatrix & matrix ) - */ -HB_FUNC( QT_QTRANSFORM ) -{ - hb_retptr( new QTransform() ); -} - - - -enum TransformationType { TxNone, TxTranslate, TxScale, TxRotate, TxShear, TxProject } - - - -qreal m11 () const -qreal m12 () const -qreal m13 () const -qreal m21 () const -qreal m22 () const -qreal m23 () const -qreal m31 () const -qreal m32 () const -qreal m33 () const -QTransform adjoint () const -qreal det () const -qreal determinant () const -qreal dx () const -qreal dy () const -QTransform inverted ( bool * invertible = 0 ) const -bool isAffine () const -bool isIdentity () const -bool isInvertible () const -bool isRotating () const -bool isScaling () const -bool isTranslating () const -void map ( qreal x, qreal y, qreal * tx, qreal * ty ) const -QPointF map ( const QPointF & p ) const -QPoint map ( const QPoint & point ) const -QLine map ( const QLine & l ) const -QLineF map ( const QLineF & line ) const -QPolygonF map ( const QPolygonF & polygon ) const -QPolygon map ( const QPolygon & polygon ) const -QRegion map ( const QRegion & region ) const -QPainterPath map ( const QPainterPath & path ) const -void map ( int x, int y, int * tx, int * ty ) const -QRectF mapRect ( const QRectF & rectangle ) const -QRect mapRect ( const QRect & rectangle ) const -QPolygon mapToPolygon ( const QRect & rectangle ) const -void reset () -QTransform & rotate ( qreal angle, Qt::Axis axis = Qt::ZAxis ) -QTransform & rotateRadians ( qreal angle, Qt::Axis axis = Qt::ZAxis ) -QTransform & scale ( qreal sx, qreal sy ) -void setMatrix ( qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33 ) -QTransform & shear ( qreal sh, qreal sv ) -const QMatrix & toAffine () const -QTransform & translate ( qreal dx, qreal dy ) -QTransform transposed () const -TransformationType type () const - -QTransform fromScale ( qreal sx, qreal sy ) -QTransform fromTranslate ( qreal dx, qreal dy ) -bool quadToQuad ( const QPolygonF & one, const QPolygonF & two, QTransform & trans ) -bool quadToSquare ( const QPolygonF & quad, QTransform & trans ) -bool squareToQuad ( const QPolygonF & quad, QTransform & trans ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTranslator.qth b/harbour/contrib/hbqt/qth/QTranslator.qth deleted file mode 100644 index 31069b853b..0000000000 --- a/harbour/contrib/hbqt/qth/QTranslator.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include - - -/* QTranslator ( QObject * parent = 0 ) - * ~QTranslator () - */ -HB_FUNC( QT_QTRANSLATOR ) -{ - hb_retptr( new QTranslator() ); -} - - - - - - -virtual bool isEmpty () const -bool load ( const QString & filename, const QString & directory = QString(), const QString & search_delimiters = QString(), const QString & suffix = QString() ) -// bool load ( const uchar * data, int len ) -virtual QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0 ) const -QString translate ( const char * context, const char * sourceText, const char * disambiguation, int n ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QTreeView.qth b/harbour/contrib/hbqt/qth/QTreeView.qth deleted file mode 100644 index c4bc68d94c..0000000000 --- a/harbour/contrib/hbqt/qth/QTreeView.qth +++ /dev/null @@ -1,147 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QAbstractItemView -New = pParent - - - -#include - - -/* - * QTreeView ( QWidget * parent = 0 ) - * ~QTreeView () - */ -HB_FUNC( QT_QTREEVIEW ) -{ - hb_retptr( ( QTreeView* ) new QTreeView( hbqt_par_QWidget( 1 ) ) ); -} - - - -# 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 - - - -bool allColumnsShowFocus () const -int autoExpandDelay () const -int columnAt ( int x ) const -int columnViewportPosition ( int column ) const -int columnWidth ( int column ) const -bool expandsOnDoubleClick () const -QHeaderView * header () const -int indentation () const -QModelIndex indexAbove ( const QModelIndex & index ) const -QModelIndex indexBelow ( const QModelIndex & index ) const -bool isAnimated () const -bool isColumnHidden ( int column ) const -bool isExpanded ( const QModelIndex & index ) const -bool isFirstColumnSpanned ( int row, const QModelIndex & parent ) const -bool isHeaderHidden () const -bool isRowHidden ( int row, const QModelIndex & parent ) const -bool isSortingEnabled () const -bool itemsExpandable () const -bool rootIsDecorated () const -virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) -void setAllColumnsShowFocus ( bool enable ) -void setAnimated ( bool enable ) -void setAutoExpandDelay ( int delay ) -void setColumnHidden ( int column, bool hide ) -void setColumnWidth ( int column, int width ) -void setExpanded ( const QModelIndex & index, bool expanded ) -void setExpandsOnDoubleClick ( bool enable ) -void setFirstColumnSpanned ( int row, const QModelIndex & parent, bool span ) -void setHeader ( QHeaderView * header ) -void setHeaderHidden ( bool hide ) -void setIndentation ( int i ) -void setItemsExpandable ( bool enable ) -void setRootIsDecorated ( bool show ) -void setRowHidden ( int row, const QModelIndex & parent, bool hide ) -void setSortingEnabled ( bool enable ) -void setUniformRowHeights ( bool uniform ) -void setWordWrap ( bool on ) -void sortByColumn ( int column, Qt::SortOrder order ) -bool uniformRowHeights () const -virtual QRect visualRect ( const QModelIndex & index ) const -bool wordWrap () const - - - -void collapse ( const QModelIndex & index ) -void collapseAll () -void expand ( const QModelIndex & index ) -void expandAll () -void expandToDepth ( int depth ) -void hideColumn ( int column ) -void resizeColumnToContents ( int column ) -void showColumn ( int column ) - - - -void collapsed ( const QModelIndex & index ) -void expanded ( const QModelIndex & index ) - - diff --git a/harbour/contrib/hbqt/qth/QTreeWidget.qth b/harbour/contrib/hbqt/qth/QTreeWidget.qth deleted file mode 100644 index e2079da55d..0000000000 --- a/harbour/contrib/hbqt/qth/QTreeWidget.qth +++ /dev/null @@ -1,181 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QTreeView -New = pParent - - - -#include - - -/* - * QTreeWidget ( QWidget * parent = 0 ) - * ~QTreeWidget () - */ -HB_FUNC( QT_QTREEWIDGET ) -{ - hb_retptr( ( QTreeWidget* ) new QTreeWidget( hbqt_par_QWidget( 1 ) ) ); -} - - - -void addTopLevelItem ( QTreeWidgetItem * item ) -void addTopLevelItems ( const QList & items ) -void closePersistentEditor ( QTreeWidgetItem * item, int column = 0 ) -int columnCount () const -int currentColumn () const -QTreeWidgetItem * currentItem () const -void editItem ( QTreeWidgetItem * item, int column = 0 ) -QList findItems ( const QString & text, Qt::MatchFlags flags, int column = 0 ) const -QTreeWidgetItem * headerItem () const -int indexOfTopLevelItem ( QTreeWidgetItem * item ) const -void insertTopLevelItem ( int index, QTreeWidgetItem * item ) -void insertTopLevelItems ( int index, const QList & items ) -QTreeWidgetItem * invisibleRootItem () const -bool isFirstItemColumnSpanned ( const QTreeWidgetItem * item ) const -QTreeWidgetItem * itemAbove ( const QTreeWidgetItem * item ) const -QTreeWidgetItem * itemAt ( const QPoint & p ) const -QTreeWidgetItem * itemAt ( int x, int y ) const -QTreeWidgetItem * itemBelow ( const QTreeWidgetItem * item ) const -QWidget * itemWidget ( QTreeWidgetItem * item, int column ) const -void openPersistentEditor ( QTreeWidgetItem * item, int column = 0 ) -void removeItemWidget ( QTreeWidgetItem * item, int column ) -QList selectedItems () const -void setColumnCount ( int columns ) - -void setCurrentItem ( QTreeWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTREEWIDGET_SETCURRENTITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTREEWIDGET_SETCURRENTITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTreeWidget( 1 )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ) ); - } -} - -void setCurrentItem ( QTreeWidgetItem * item, int column ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTREEWIDGET_SETCURRENTITEM_1()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTREEWIDGET_SETCURRENTITEM_1() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTreeWidget( 1 )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ) ); - } -} - -void setCurrentItem ( QTreeWidgetItem * item, int column, QItemSelectionModel::SelectionFlags command ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTREEWIDGET_SETCURRENTITEM_2()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTREEWIDGET_SETCURRENTITEM_2() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTreeWidget( 1 )->setCurrentItem( hbqt_par_QTreeWidgetItem( 2 ), hb_parni( 3 ), ( QItemSelectionModel::SelectionFlags ) hb_parni( 4 ) ); - } -} - -void setFirstItemColumnSpanned ( const QTreeWidgetItem * item, bool span ) - -void setHeaderItem ( QTreeWidgetItem * item ){ - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTREEWIDGET_SETHEADERITEM()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTREEWIDGET_SETHEADERITEM() Qt object: %p is attached to: %p", p->ph, q->ph ) ); - q->bNew = HB_FALSE; - hbqt_par_QTreeWidget( 1 )->setHeaderItem( hbqt_par_QTreeWidgetItem( 2 ) ); - } -} - -void setHeaderLabel ( const QString & label ) -void setHeaderLabels ( const QStringList & labels ) -void setItemWidget ( QTreeWidgetItem * item, int column, QWidget * widget ) -int sortColumn () const -void sortItems ( int column, Qt::SortOrder order ) -QTreeWidgetItem * takeTopLevelItem ( int index ) -QTreeWidgetItem * topLevelItem ( int index ) const -int topLevelItemCount () const -QRect visualItemRect ( const QTreeWidgetItem * item ) const - - - -void clear () -void collapseItem ( const QTreeWidgetItem * item ) -void expandItem ( const QTreeWidgetItem * item ) -void scrollToItem ( const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - - - -void currentItemChanged ( QTreeWidgetItem * current, QTreeWidgetItem * previous ) -void itemActivated ( QTreeWidgetItem * item, int column ) -void itemChanged ( QTreeWidgetItem * item, int column ) -void itemClicked ( QTreeWidgetItem * item, int column ) -void itemCollapsed ( QTreeWidgetItem * item ) -void itemDoubleClicked ( QTreeWidgetItem * item, int column ) -void itemEntered ( QTreeWidgetItem * item, int column ) -void itemExpanded ( QTreeWidgetItem * item ) -void itemPressed ( QTreeWidgetItem * item, int column ) -void itemSelectionChanged () - - diff --git a/harbour/contrib/hbqt/qth/QTreeWidgetItem.qth b/harbour/contrib/hbqt/qth/QTreeWidgetItem.qth deleted file mode 100644 index f7aada1759..0000000000 --- a/harbour/contrib/hbqt/qth/QTreeWidgetItem.qth +++ /dev/null @@ -1,165 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -New = iType - - - -#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 ) -{ - if( hb_pcount() >= 1 && HB_ISNUM( 1 ) ) - { - hb_retptr( ( QTreeWidgetItem* ) new QTreeWidgetItem( hb_parni( 1 ) ) ); - } - else - { - hb_retptr( ( QTreeWidgetItem* ) new QTreeWidgetItem( hbqt_par_QTreeWidget( 1 ), hb_parni( 2 ) ) ); - } -} - - - -enum ChildIndicatorPolicy { ShowIndicator, DontShowIndicator, DontShowIndicatorWhenChildless } -enum ItemType { Type, UserType } - - - -void addChild ( QTreeWidgetItem * child ){ - QGC_POINTER_QTreeWidgetItem * q = ( QGC_POINTER_QTreeWidgetItem * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 ); - - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QTREEWIDGETITEM_ADDCHILD()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QTOOLBAR_ADDACTION() Qt oject: %p is attached to: %p", ( void * ) p->ph, ( void * ) q->ph ) ); - p->bNew = HB_FALSE; - ( q->ph )->addChild( ( QTreeWidgetItem * ) p->ph ); - } -} -void addChildren ( const QList & children ) -QBrush background ( int column ) const -Qt::CheckState checkState ( int column ) const -QTreeWidgetItem * child ( int index ) const -int childCount () const -QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy () const -virtual QTreeWidgetItem * clone () const -int columnCount () const -virtual QVariant data ( int column, int role ) const -Qt::ItemFlags flags () const -QFont font ( int column ) const -QBrush foreground ( int column ) const -QIcon icon ( int column ) const -int indexOfChild ( QTreeWidgetItem * child ) const -void insertChild ( int index, QTreeWidgetItem * child ) -void insertChildren ( int index, const QList & children ) -bool isDisabled () const -bool isExpanded () const -bool isFirstColumnSpanned () const -bool isHidden () const -bool isSelected () const -QTreeWidgetItem * parent () const -virtual void read ( QDataStream & in ) -void removeChild ( QTreeWidgetItem * child ) -void setBackground ( int column, const QBrush & brush ) -void setCheckState ( int column, Qt::CheckState state ) -void setChildIndicatorPolicy ( QTreeWidgetItem::ChildIndicatorPolicy policy ) -virtual void setData ( int column, int role, const QVariant & value ) -void setDisabled ( bool disabled ) -void setExpanded ( bool expand ) -void setFirstColumnSpanned ( bool span ) -void setFlags ( Qt::ItemFlags flags ) -void setFont ( int column, const QFont & font ) -void setForeground ( int column, const QBrush & brush ) -void setHidden ( bool hide ) -void setIcon ( int column, const QIcon & icon ) -void setSelected ( bool select ) -void setSizeHint ( int column, const QSize & size ) -void setStatusTip ( int column, const QString & statusTip ) -void setText ( int column, const QString & text ) -void setTextAlignment ( int column, int alignment ) -void setToolTip ( int column, const QString & toolTip ) -void setWhatsThis ( int column, const QString & whatsThis ) -QSize sizeHint ( int column ) const -void sortChildren ( int column, Qt::SortOrder order ) -QString statusTip ( int column ) const -QTreeWidgetItem * takeChild ( int index ) -QList takeChildren () -QString text ( int column ) const -int textAlignment ( int column ) const -QString toolTip ( int column ) const -QTreeWidget * treeWidget () const -int type () const -QString whatsThis ( int column ) const - - - diff --git a/harbour/contrib/hbqt/qth/QUiLoader.qth b/harbour/contrib/hbqt/qth/QUiLoader.qth deleted file mode 100644 index d050ceca12..0000000000 --- a/harbour/contrib/hbqt/qth/QUiLoader.qth +++ /dev/null @@ -1,113 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include -#include -#include - -/* - * QUiLoader ( QObject * parent = 0 ) - * virtual ~QUiLoader () - */ -HB_FUNC( QT_QUILOADER ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QUiLoader( hbqt_par_QObject( 1 ) ) ); - } - else - { - hb_retptr( new QUiLoader() ); - } -} - - - - - - -void addPluginPath ( const QString & path ) -QStringList availableLayouts () const -QStringList availableWidgets () const -void clearPluginPaths () -virtual QAction * createAction ( QObject * parent = 0, const QString & name = QString() ) -virtual QActionGroup * createActionGroup ( QObject * parent = 0, const QString & name = QString() ) -virtual QLayout * createLayout ( const QString & className, QObject * parent = 0, const QString & name = QString() ) -virtual QWidget * createWidget ( const QString & className, QWidget * parent = 0, const QString & name = QString() ) -bool isLanguageChangeEnabled () const -QWidget * load ( QIODevice * device, QWidget * parentWidget = 0 ) -QStringList pluginPaths () const -void setLanguageChangeEnabled ( bool enabled ) -void setWorkingDirectory ( const QDir & dir ) -QDir workingDirectory () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QUrl.qth b/harbour/contrib/hbqt/qth/QUrl.qth deleted file mode 100644 index ea85dd5ba6..0000000000 --- a/harbour/contrib/hbqt/qth/QUrl.qth +++ /dev/null @@ -1,175 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherit = QWidget -New = pParent - - - -#include -#include - - -/* - * QUrl () - * QUrl ( const QString & url ) - * QUrl ( const QUrl & other ) - * QUrl ( const QString & url, ParsingMode parsingMode ) - * ~QUrl () - */ -HB_FUNC( QT_QURL ) -{ - hb_retptr( new QUrl( hbqt_par_QString( 1 ) ) ); -} -/* - * void setQueryDelimiters ( char valueDelimiter, char pairDelimiter ) - */ -HB_FUNC( QT_QURL_SETQUERYDELIMITERS ) -{ - hbqt_par_QUrl( 1 )->setQueryDelimiters( ( char ) hb_parni( 2 ), ( char ) hb_parni( 3 ) ); -} - - - -enum FormattingOption { None, RemoveScheme, RemovePassword, RemoveUserInfo, ..., StripTrailingSlash } -flags FormattingOptions -enum ParsingMode { TolerantMode, StrictMode } - - - -void addEncodedQueryItem ( const QByteArray & key, const QByteArray & value ) -void addQueryItem ( const QString & key, const QString & value ) -QList allEncodedQueryItemValues ( const QByteArray & key ) const -QStringList allQueryItemValues ( const QString & key ) const -QString authority () const -void clear () -QByteArray encodedFragment () const -QByteArray encodedHost () const -QByteArray encodedPassword () const -QByteArray encodedPath () const -QByteArray encodedQuery () const -QByteArray encodedQueryItemValue ( const QByteArray & key ) const -QList > encodedQueryItems () const -QByteArray encodedUserName () const -QString errorString () const -QString fragment () const -bool hasEncodedQueryItem ( const QByteArray & key ) const -bool hasFragment () const -bool hasQuery () const -bool hasQueryItem ( const QString & key ) const -QString host () const -bool isEmpty () const -bool isParentOf ( const QUrl & childUrl ) const -bool isRelative () const -bool isValid () const -QString password () const -QString path () const -int port () const -int port ( int defaultPort ) const -QString queryItemValue ( const QString & key ) const -QList > queryItems () const -char queryPairDelimiter () const -char queryValueDelimiter () const -void removeAllEncodedQueryItems ( const QByteArray & key ) -void removeAllQueryItems ( const QString & key ) -void removeEncodedQueryItem ( const QByteArray & key ) -void removeQueryItem ( const QString & key ) -QUrl resolved ( const QUrl & relative ) const -QString scheme () const -void setAuthority ( const QString & authority ) -void setEncodedFragment ( const QByteArray & fragment ) -void setEncodedHost ( const QByteArray & host ) -void setEncodedPassword ( const QByteArray & password ) -void setEncodedPath ( const QByteArray & path ) -void setEncodedQuery ( const QByteArray & query ) -void setEncodedQueryItems ( const QList > & query ) -void setEncodedUrl ( const QByteArray & encodedUrl ) -void setEncodedUrl ( const QByteArray & encodedUrl, ParsingMode parsingMode ) -void setEncodedUserName ( const QByteArray & userName ) -void setFragment ( const QString & fragment ) -void setHost ( const QString & host ) -void setPassword ( const QString & password ) -void setPath ( const QString & path ) -void setPort ( int port ) -# -# Shifted to CODE Section -# -//void setQueryDelimiters ( char valueDelimiter, char pairDelimiter ) -void setQueryItems ( const QList > & query ) -void setScheme ( const QString & scheme ) -void setUrl ( const QString & url ) -void setUrl ( const QString & url, ParsingMode parsingMode ) -void setUserInfo ( const QString & userInfo ) -void setUserName ( const QString & userName ) -QByteArray toEncoded ( FormattingOptions options = None ) const -QString toLocalFile () const -QString toString ( FormattingOptions options = None ) const -QString userInfo () const -QString userName () const - - -QString fromAce ( const QByteArray & domain ) -QUrl fromEncoded ( const QByteArray & input ) -QUrl fromEncoded ( const QByteArray & input, ParsingMode parsingMode ) -QUrl fromLocalFile ( const QString & localFile ) -QString fromPercentEncoding ( const QByteArray & input ) -QStringList idnWhitelist () -void setIdnWhitelist ( const QStringList & list ) -QByteArray toAce ( const QString & domain ) -QByteArray toPercentEncoding ( const QString & input, const QByteArray & exclude = QByteArray(), const QByteArray & include = QByteArray() ) - diff --git a/harbour/contrib/hbqt/qth/QVBoxLayout.qth b/harbour/contrib/hbqt/qth/QVBoxLayout.qth deleted file mode 100644 index d106b4dc1e..0000000000 --- a/harbour/contrib/hbqt/qth/QVBoxLayout.qth +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QBoxLayout -New = pParent - - - -#include - - -/* - * QVBoxLayout () - * QVBoxLayout ( QWidget * parent ) - * ~QVBoxLayout () - */ -HB_FUNC( QT_QVBOXLAYOUT ) -{ - hb_retptr( ( QVBoxLayout* ) new QVBoxLayout( hbqt_par_QWidget( 1 ) ) ); -} - - - diff --git a/harbour/contrib/hbqt/qth/QValidator.qth b/harbour/contrib/hbqt/qth/QValidator.qth deleted file mode 100644 index 891c47a18b..0000000000 --- a/harbour/contrib/hbqt/qth/QValidator.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QObject -Type = Core -New = -Destructor = - - - -#include - - -/* QValidator ( QObject * parent ) - * ~QValidator () - */ -HB_FUNC( QT_QVALIDATOR ) -{ - // hb_retptr( new QValidator() ); -} - - - -enum State { Invalid, Intermediate, Acceptable } - - - -// virtual void fixup ( QString & input ) const -QLocale locale () const -void setLocale ( const QLocale & locale ) -// virtual State validate ( QString & input, int & pos ) const = 0 - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QVariant.qth b/harbour/contrib/hbqt/qth/QVariant.qth deleted file mode 100644 index 83c055f059..0000000000 --- a/harbour/contrib/hbqt/qth/QVariant.qth +++ /dev/null @@ -1,180 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Type = Core -New = - - - -#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 ) -{ - hb_retptr( ( QVariant* ) new QVariant() ); -} - - - -enum Type { Invalid, BitArray, Bitmap, Bool, ..., UserType } - - - -bool canConvert ( Type t ) const -bool canConvert ( Type t ) const -void clear () -bool convert ( Type t ) -bool isNull () const -bool isValid () const -void setValue ( const T & value ) -QBitArray toBitArray () const -bool toBool () const -QByteArray toByteArray () const -QChar toChar () const -QDate toDate () const -QDateTime toDateTime () const -double toDouble ( bool * ok = 0 ) const -QHash toHash () const -int toInt ( bool * ok = 0 ) const -QLine toLine () const -QLineF toLineF () const -QList toList () const -QLocale toLocale () const -qlonglong toLongLong ( bool * ok = 0 ) const -QMap toMap () const -QPoint toPoint () const -QPointF toPointF () const -QRect toRect () const -QRectF toRectF () const -QRegExp toRegExp () const -QSize toSize () const -QSizeF toSizeF () const -QString toString () const -QStringList toStringList () const -QTime toTime () const -uint toUInt ( bool * ok = 0 ) const -qulonglong toULongLong ( bool * ok = 0 ) const -QUrl toUrl () const -Type type () const -# -//const char * typeName () const -# -int userType () const -# -# No Matching Function Call -# -//T value () const -# - - -QVariant fromValue ( const T & value ) -Type nameToType ( const char * name ) -const char * typeToName ( Type typ ) - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebFrame.qth b/harbour/contrib/hbqt/qth/QWebFrame.qth deleted file mode 100644 index 9f0fa64b76..0000000000 --- a/harbour/contrib/hbqt/qth/QWebFrame.qth +++ /dev/null @@ -1,136 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = -Destructor = no - - - -#include -#include - -/* - * - */ -HB_FUNC( QT_QWEBFRAME ) -{ - // hb_retptr( ( QWebFrame* ) new QWebFrame() ); -} - - - - - - -void addToJavaScriptWindowObject ( const QString & name, QObject * object ) -void addToJavaScriptWindowObject ( const QString & name, QObject * object, QScriptEngine::ValueOwnership own ) -QList childFrames () const -QSize contentsSize () const -QString frameName () const -QRect geometry () const -QWebHitTestResult hitTestContent ( const QPoint & pos ) const -QIcon icon () const -void load ( const QUrl & url ) -// void load ( const QWebNetworkRequest & req ) -QMultiMap metaData () const -QWebPage * page () const -QWebFrame * parentFrame () const -QPoint pos () const -void render ( QPainter * painter, const QRegion & clip ) -void render ( QPainter * painter ) -QString renderTreeDump () const -void scroll ( int dx, int dy ) -int scrollBarMaximum ( Qt::Orientation orientation ) const -int scrollBarMinimum ( Qt::Orientation orientation ) const -Qt::ScrollBarPolicy scrollBarPolicy ( Qt::Orientation orientation ) const -int scrollBarValue ( Qt::Orientation orientation ) const -QPoint scrollPosition () const -QWebSecurityOrigin securityOrigin () const -void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) -void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) -void setScrollBarPolicy ( Qt::Orientation orientation, Qt::ScrollBarPolicy policy ) -void setScrollBarValue ( Qt::Orientation orientation, int value ) -void setScrollPosition ( const QPoint & pos ) -void setTextSizeMultiplier ( qreal factor ) -void setUrl ( const QUrl & url ) -void setZoomFactor ( qreal factor ) -qreal textSizeMultiplier () const -QString title () const -QString toHtml () const -QString toPlainText () const -QUrl url () const -qreal zoomFactor () const - - - -QVariant evaluateJavaScript ( const QString & scriptSource ) -void print ( QPrinter * printer ) const - - - -void iconChanged () -void initialLayoutCompleted () -void javaScriptWindowObjectCleared () -void titleChanged ( const QString & title ) -void urlChanged ( const QUrl & url ) - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebHistory.qth b/harbour/contrib/hbqt/qth/QWebHistory.qth deleted file mode 100644 index d74a0a41f2..0000000000 --- a/harbour/contrib/hbqt/qth/QWebHistory.qth +++ /dev/null @@ -1,108 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = -Type = Core -New = -Destructor = no - - - -#include - - -/* - * - */ -HB_FUNC( QT_QWEBHISTORY ) -{ - //hb_retptr( ( * ) new () ); -} - - - - - - -void back () -QWebHistoryItem backItem () const -QList backItems ( int maxItems ) const -bool canGoBack () const -bool canGoForward () const -void clear () -int count () const -QWebHistoryItem currentItem () const -int currentItemIndex () const -void forward () -QWebHistoryItem forwardItem () const -QList forwardItems ( int maxItems ) const -void goToItem ( const QWebHistoryItem & item ) -QWebHistoryItem itemAt ( int i ) const -QList items () const -int maximumItemCount () const -void setMaximumItemCount ( int count ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebHistoryInterface.qth b/harbour/contrib/hbqt/qth/QWebHistoryInterface.qth deleted file mode 100644 index 9b96523b13..0000000000 --- a/harbour/contrib/hbqt/qth/QWebHistoryInterface.qth +++ /dev/null @@ -1,96 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QWebHistoryInterface ( QObject * parent = 0 ) - * ~QWebHistoryInterface () - */ -HB_FUNC( QT_QWEBHISTORYINTERFACE ) -{ - //hb_retptr( ( QWebHistoryInterface* ) new QWebHistoryInterface( hbqt_par_QObject( 1 ) ) ); -} - - - - - - -virtual void addHistoryEntry ( const QString & url ) = 0 -virtual bool historyContains ( const QString & url ) const = 0 - -QWebHistoryInterface * defaultInterface () -void setDefaultInterface ( QWebHistoryInterface * defaultInterface ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebHistoryItem.qth b/harbour/contrib/hbqt/qth/QWebHistoryItem.qth deleted file mode 100644 index 5fc11d3017..0000000000 --- a/harbour/contrib/hbqt/qth/QWebHistoryItem.qth +++ /dev/null @@ -1,101 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - -#include - - -/* - * QWebHistoryItem ( const QWebHistoryItem & other ) - * ~QWebHistoryItem () - */ -HB_FUNC( QT_QWEBHISTORYITEM ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QWebHistoryItem( *hbqt_par_QWebHistoryItem( 1 ) ) ); - } -} - - - - - - -QIcon icon () const -bool isValid () const -QDateTime lastVisited () const -QUrl originalUrl () const -void setUserData ( const QVariant & userData ) -QString title () const -QUrl url () const -QVariant userData () const - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebHitTestResult.qth b/harbour/contrib/hbqt/qth/QWebHitTestResult.qth deleted file mode 100644 index b6011872c1..0000000000 --- a/harbour/contrib/hbqt/qth/QWebHitTestResult.qth +++ /dev/null @@ -1,107 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QWebHitTestResult () - * QWebHitTestResult ( const QWebHitTestResult & other ) - * ~QWebHitTestResult () - */ -HB_FUNC( QT_QWEBHITTESTRESULT ) -{ - hb_retptr( ( QWebHitTestResult* ) new QWebHitTestResult() ); -} - - - - - - -QString alternateText () const -QRect boundingRect () const -QWebFrame * frame () const -QUrl imageUrl () const -bool isContentEditable () const -bool isContentSelected () const -bool isNull () const -QWebFrame * linkTargetFrame () const -QString linkText () const -QUrl linkTitle () const -QUrl linkUrl () const -QPixmap pixmap () const -QPoint pos () const -QString title () const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebPage.qth b/harbour/contrib/hbqt/qth/QWebPage.qth deleted file mode 100644 index eb02c9ec15..0000000000 --- a/harbour/contrib/hbqt/qth/QWebPage.qth +++ /dev/null @@ -1,151 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QObject -New = pParent - - - -#include -#include - - -/* - * QWebPage ( QObject * parent = 0 ) - * ~QWebPage () - */ -HB_FUNC( QT_QWEBPAGE ) -{ - hb_retptr( new QWebPage( hbqt_par_QWidget( 2 ) ) ); -} - - - -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 - - - -QAction * action ( WebAction action ) const -quint64 bytesReceived () const -QMenu * createStandardContextMenu () -QWebFrame * currentFrame () const -// virtual bool extension ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 ) -bool findText ( const QString & subString, FindFlags options = 0 ) -bool focusNextPrevChild ( bool next ) -bool forwardUnsupportedContent () const -QWebHistory * history () const -QVariant inputMethodQuery ( Qt::InputMethodQuery property ) const -bool isContentEditable () const -bool isModified () const -LinkDelegationPolicy linkDelegationPolicy () const -QWebFrame * mainFrame () const -// QNetworkAccessManager * networkAccessManager () const -QPalette palette () const -QWebPluginFactory * pluginFactory () const -QString selectedText () const -void setContentEditable ( bool editable ) -void setForwardUnsupportedContent ( bool forward ) -void setLinkDelegationPolicy ( LinkDelegationPolicy policy ) -// void setNetworkAccessManager ( QNetworkAccessManager * manager ) -void setPalette ( const QPalette & palette ) -void setPluginFactory ( QWebPluginFactory * factory ) -void setView ( QWidget * view ) -void setViewportSize ( const QSize & size ) const -QWebSettings * settings () const -virtual bool supportsExtension ( Extension extension ) const -bool swallowContextMenuEvent ( QContextMenuEvent * event ) -quint64 totalBytes () const -virtual void triggerAction ( WebAction action, bool checked = false ) -QUndoStack * undoStack () const -void updatePositionDependentActions ( const QPoint & pos ) -QWidget * view () const -QSize viewportSize () const - - - -void contentsChanged () -void databaseQuotaExceeded ( QWebFrame * frame, QString databaseName ) -void downloadRequested ( const QNetworkRequest & request ) -void frameCreated ( QWebFrame * frame ) -void geometryChangeRequested ( const QRect & geom ) -void linkClicked ( const QUrl & url ) -void linkHovered ( const QString & link, const QString & title, const QString & textContent ) -void loadFinished ( bool ok ) -void loadProgress ( int progress ) -void loadStarted () -void menuBarVisibilityChangeRequested ( bool visible ) -void microFocusChanged () -void printRequested ( QWebFrame * frame ) -void repaintRequested ( const QRect & dirtyRect ) -void restoreFrameStateRequested ( QWebFrame * frame ) -void saveFrameStateRequested ( QWebFrame * frame, QWebHistoryItem * item ) -void scrollRequested ( int dx, int dy, const QRect & rectToScroll ) -void selectionChanged () -void statusBarMessage ( const QString & text ) -void statusBarVisibilityChangeRequested ( bool visible ) -void toolBarVisibilityChangeRequested ( bool visible ) -void unsupportedContent ( QNetworkReply * reply ) -void windowCloseRequested () - - - diff --git a/harbour/contrib/hbqt/qth/QWebPluginFactory.qth b/harbour/contrib/hbqt/qth/QWebPluginFactory.qth deleted file mode 100644 index 1eafafba6f..0000000000 --- a/harbour/contrib/hbqt/qth/QWebPluginFactory.qth +++ /dev/null @@ -1,98 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QObject -Type = Core -New = - - - -#include - - -/* - * QWebPluginFactory ( QObject * parent = 0 ) - * virtual ~QWebPluginFactory () - */ -HB_FUNC( QT_QWEBPLUGINFACTORY ) -{ - //hb_retptr( ( QWebPluginFactory* ) new QWebPluginFactory() ); -} - - - -class ExtensionOption -enum Extension { } - - - -virtual QObject * create ( const QString & mimeType, const QUrl & url, const QStringList & argumentNames, const QStringList & argumentValues ) const = 0 -// virtual bool extension ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 ) -virtual QList plugins () const = 0 -virtual void refreshPlugins () -virtual bool supportsExtension ( Extension extension ) const - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth b/harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth deleted file mode 100644 index 2934ead5dc..0000000000 --- a/harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth +++ /dev/null @@ -1,104 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = -Type = Core -New = - - - -#include - - -/* - * QWebSecurityOrigin ( const QWebSecurityOrigin & other ) - * ~QWebSecurityOrigin () - */ -HB_FUNC( QT_QWEBSECURITYORIGIN ) -{ - if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) - { - hb_retptr( new QWebSecurityOrigin( *hbqt_par_QWebSecurityOrigin( 1 ) ) ); - } -} - - - - - - -qint64 databaseQuota () const -qint64 databaseUsage () const -QList databases () const -QString host () const -int port () const -QString scheme () const -void setDatabaseQuota ( qint64 quota ) - -QList allOrigins () - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebSettings.qth b/harbour/contrib/hbqt/qth/QWebSettings.qth deleted file mode 100644 index 76713ffc88..0000000000 --- a/harbour/contrib/hbqt/qth/QWebSettings.qth +++ /dev/null @@ -1,122 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = -Type = Core -New = -Destructor = no - - - -#include -#include - - -/* - * - */ -HB_FUNC( QT_QWEBSETTINGS ) -{ - //hb_retptr( ( QWebSettings* ) new QWebSettings() ); -} - - - -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 } - - - -QString fontFamily ( FontFamily which ) const -int fontSize ( FontSize type ) const -void resetAttribute ( WebAttribute attribute ) -void resetFontFamily ( FontFamily which ) -void resetFontSize ( FontSize type ) -void setAttribute ( WebAttribute attribute, bool on ) -void setFontFamily ( FontFamily which, const QString & family ) -void setFontSize ( FontSize type, int size ) -void setUserStyleSheetUrl ( const QUrl & location ) -bool testAttribute ( WebAttribute attribute ) const -QUrl userStyleSheetUrl () const - -void clearIconDatabase () -QWebSettings * globalSettings () -QString iconDatabasePath () -QIcon iconForUrl ( const QUrl & url ) -int maximumPagesInCache () -qint64 offlineStorageDefaultQuota () -QString offlineStoragePath () -void setIconDatabasePath ( const QString & path ) -void setMaximumPagesInCache ( int pages ) -void setObjectCacheCapacities ( int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity ) -void setOfflineStorageDefaultQuota ( qint64 maximumSize ) -void setOfflineStoragePath ( const QString & path ) -void setWebGraphic ( WebGraphic type, const QPixmap & graphic ) -QPixmap webGraphic ( WebGraphic type ) - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWebView.qth b/harbour/contrib/hbqt/qth/QWebView.qth deleted file mode 100644 index f5811dabc3..0000000000 --- a/harbour/contrib/hbqt/qth/QWebView.qth +++ /dev/null @@ -1,120 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QWidget -New = pParent - - - -#include - - - -/* - * QWebView ( QWidget * parent = 0 ) - * virtual ~QWebView () - */ -HB_FUNC( QT_QWEBVIEW ) -{ - hb_retptr( new QWebView( hbqt_par_QWidget( 1 ) ) ); -} - - - -bool findText ( const QString & subString, QWebPage::FindFlags options = 0 ) -QWebHistory * history () const -QIcon icon () const -bool isModified () const -void load ( const QUrl & url ) -void load ( const QNetworkRequest & request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray & body = QByteArray() ) -QWebPage * page () const -QAction * pageAction ( QWebPage::WebAction action ) const -QString selectedText () const -void setContent ( const QByteArray & data, const QString & mimeType = QString(), const QUrl & baseUrl = QUrl() ) -void setHtml ( const QString & html, const QUrl & baseUrl = QUrl() ) -void setPage ( QWebPage * page ) -void setTextSizeMultiplier ( qreal factor ) -void setUrl ( const QUrl & url ) -void setZoomFactor ( qreal factor ) -QWebSettings * settings () const -qreal textSizeMultiplier () const -QString title () const -void triggerPageAction ( QWebPage::WebAction action, bool checked = false ) -QUrl url () const -qreal zoomFactor () const - - - -void back () -void forward () -void print ( QPrinter * printer ) const -void reload () -void stop () - - - -void iconChanged () -void linkClicked ( const QUrl & url ) -void loadFinished ( bool ok ) -void loadProgress ( int progress ) -void loadStarted () -void selectionChanged () -void statusBarMessage ( const QString & text ) -void titleChanged ( const QString & title ) -void urlChanged ( const QUrl & url ) - - diff --git a/harbour/contrib/hbqt/qth/QWheelEvent.qth b/harbour/contrib/hbqt/qth/QWheelEvent.qth deleted file mode 100644 index 781e9e81eb..0000000000 --- a/harbour/contrib/hbqt/qth/QWheelEvent.qth +++ /dev/null @@ -1,103 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QInputEvent -Type = Core -New = - - - -#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 ) -{ - // hb_retptr( ( QWheelEvent* ) new QWheelEvent() ); -} - - - - - - -Qt::MouseButtons buttons () const -int delta () const -const QPoint & globalPos () const -int globalX () const -int globalY () const -Qt::Orientation orientation () const -const QPoint & pos () const -int x () const -int y () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWidget.qth b/harbour/contrib/hbqt/qth/QWidget.qth deleted file mode 100644 index 60748e6a58..0000000000 --- a/harbour/contrib/hbqt/qth/QWidget.qth +++ /dev/null @@ -1,358 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QObject, QPaintDevice -New = pParent, nFlags - - - -#include -#include -#include -#include - - -/* - * QWidget( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - * ~QWidget () - */ -HB_FUNC( QT_QWIDGET ) -{ - hb_retptr( new QWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) ); -} - - - -enum RenderFlag { DrawWindowBackground, DrawChildren, IgnoreMask } -# From QPaintDevice : Parent Class -enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } - - - -bool acceptDrops () const -// QString accessibleDescription () const -// QString accessibleName () const -QList actions () const -void activateWindow () -void addAction ( QAction * action ){ - QGC_POINTER_QWidget * q = (QGC_POINTER_QWidget *)hb_parptrGC( hbqt_gcFuncs(), 1 ); - QGC_POINTER * p = (QGC_POINTER *)hb_parptrGC( hbqt_gcFuncs(), 2 ); - - HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QWIDGET_ADDACTION()" ) ); - if( p && p->ph && q && q->ph ) - { - HB_TRACE( HB_TR_DEBUG, ( "QT_QWIDGET_ADDACTION() Qt object: %p is attached to: %p", (void * )p->ph, (void *)q->ph ) ); - // p->bNew = HB_FALSE; // The ownership of action is not transferred to this QWidget. - ( q->ph )->addAction( ( QAction * ) p->ph ); - } -} -void addActions ( QList actions ) -void adjustSize () -bool autoFillBackground () const -QPalette::ColorRole backgroundRole () const -QSize baseSize () const -QWidget * childAt ( int x, int y ) const -QWidget * childAt ( const QPoint & p ) const -QRect childrenRect () const -QRegion childrenRegion () const -void clearFocus () -void clearMask () -QRect contentsRect () const -Qt::ContextMenuPolicy contextMenuPolicy () const -QCursor cursor () const -# -# non-portable -// WId effectiveWinId () const -void ensurePolished () const -Qt::FocusPolicy focusPolicy () const -QWidget * focusProxy () const -QWidget * focusWidget () const -const QFont & font () const -QFontInfo fontInfo () const -QFontMetrics fontMetrics () const -QPalette::ColorRole foregroundRole () const -QRect frameGeometry () const -QSize frameSize () const -const QRect & geometry () const -void getContentsMargins ( int * left, int * top, int * right, int * bottom ) const -# non-portable -// virtual HDC getDC () const -void grabKeyboard () -void grabMouse () -void grabMouse ( const QCursor & cursor ) -int grabShortcut ( const QKeySequence & key, Qt::ShortcutContext context = Qt::WindowShortcut ) -// QGraphicsProxyWidget * graphicsProxyWidget () const -// bool hasEditFocus () const -bool hasFocus () const -bool hasMouseTracking () const -int height () const -virtual int heightForWidth ( int w ) const -// QInputContext * inputContext () -virtual QVariant inputMethodQuery ( Qt::InputMethodQuery query ) const -void insertAction ( QAction * before, QAction * action ) -void insertActions ( QAction * before, QList actions ) -bool isActiveWindow () const -bool isAncestorOf ( const QWidget * child ) const -bool isEnabled () const -bool isEnabledTo ( QWidget * ancestor ) const -bool isFullScreen () const -bool isHidden () const -bool isMaximized () const -bool isMinimized () const -bool isModal () const -bool isVisible () const -bool isVisibleTo ( QWidget * ancestor ) const -bool isWindow () const -bool isWindowModified () const -QLayout * layout () const -Qt::LayoutDirection layoutDirection () const -QLocale locale () const -// Qt::HANDLE macCGHandle () const -// Qt::HANDLE macQDHandle () const -QPoint mapFrom ( QWidget * parent, const QPoint & pos ) const -QPoint mapFromGlobal ( const QPoint & pos ) const -QPoint mapFromParent ( const QPoint & pos ) const -QPoint mapTo ( QWidget * parent, const QPoint & pos ) const -QPoint mapToGlobal ( const QPoint & pos ) const -QPoint mapToParent ( const QPoint & pos ) const -QRegion mask () const -int maximumHeight () const -QSize maximumSize () const -int maximumWidth () const -int minimumHeight () const -QSize minimumSize () const -virtual QSize minimumSizeHint () const -int minimumWidth () const -# -# Note that order of the function calls is swaped -# It implies that we can implement the method in a simpler way -# Infact we can remove second method with QPoint as it needs more code -# -void move ( int x, int y ) -void move ( const QPoint & ) -# -QWidget * nativeParentWidget () const -QWidget * nextInFocusChain () const -QRect normalGeometry () const -void overrideWindowFlags ( Qt::WindowFlags flags ) -virtual QPaintEngine * paintEngine () const -const QPalette & palette () const -QWidget * parentWidget () const -QPoint pos () const -QRect rect () const -# non-portable -// virtual void releaseDC ( HDC hdc ) const -void releaseKeyboard () -void releaseMouse () -void releaseShortcut ( int id ) -void removeAction ( QAction * action ) -//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 ) ) -# -# As a normalized behavior, int types are the best. -# -void repaint ( int x, int y, int w, int h ) -void repaint ( const QRect & rect ) -void repaint ( const QRegion & rgn ) -# -# Please never change this order as it is considered natural -# -void resize ( int w, int h ) -void resize ( const QSize & ) -# -bool restoreGeometry ( const QByteArray & geometry ) -QByteArray saveGeometry () const -# -# Normalized behavior -# -void scroll ( int dx, int dy ) -void scroll ( int dx, int dy, const QRect & r ) -# -void setAcceptDrops ( bool on ) -// void setAccessibleDescription ( const QString & description ) -// void setAccessibleName ( const QString & name ) -void setAttribute ( Qt::WidgetAttribute attribute, bool on = true ) -void setAutoFillBackground ( bool enabled ) -void setBackgroundRole ( QPalette::ColorRole role ) -void setBaseSize ( const QSize & ) -void setBaseSize ( int basew, int baseh ) -void setContentsMargins ( int left, int top, int right, int bottom ) -void setContextMenuPolicy ( Qt::ContextMenuPolicy policy ) -void setCursor ( const QCursor & ) -// void setEditFocus ( bool enable ) -void setFixedHeight ( int h ) -void setFixedSize ( const QSize & s ) -void setFixedSize ( int w, int h ) -void setFixedWidth ( int w ) -void setFocus ( Qt::FocusReason reason ) -void setFocusPolicy ( Qt::FocusPolicy policy ) -void setFocusProxy ( QWidget * w ) -void setFont ( const QFont & ) -void setForegroundRole ( QPalette::ColorRole role ) -void setGeometry ( const QRect & ) -void setGeometry ( int x, int y, int w, int h ) -// void setInputContext ( QInputContext * context ) -void setLayout ( QLayout * layout ) -void setLayoutDirection ( Qt::LayoutDirection direction ) -void setLocale ( const QLocale & locale ) -void setMask ( const QBitmap & bitmap ) -void setMask ( const QRegion & region ) -void setMaximumHeight ( int maxh ) -void setMaximumSize ( const QSize & ) -void setMaximumSize ( int maxw, int maxh ) -void setMaximumWidth ( int maxw ) -void setMinimumHeight ( int minh ) -void setMinimumSize ( const QSize & ) -void setMinimumSize ( int minw, int minh ) -void setMinimumWidth ( int minw ) -void setMouseTracking ( bool enable ) -void setPalette ( const QPalette & ) -void setParent ( QWidget * parent ) -void setParent ( QWidget * parent, Qt::WindowFlags f ) -void setShortcutAutoRepeat ( int id, bool enable = true ) -void setShortcutEnabled ( int id, bool enable = true ) -void setSizeIncrement ( const QSize & ) -void setSizeIncrement ( int w, int h ) -void setSizePolicy ( const QSizePolicy & policy ) -void setSizePolicy ( QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical ) -void setStatusTip ( const QString & ) -void setStyle ( QStyle * style ) -void setToolTip ( const QString & ) -void setUpdatesEnabled ( bool enable ) -void setWhatsThis ( const QString & ) -void setWindowFilePath ( const QString & filePath ) -void setWindowFlags ( Qt::WindowFlags type ) -void setWindowIcon ( const QIcon & icon ) -void setWindowIconText ( const QString & ) -void setWindowModality ( Qt::WindowModality windowModality ) -void setWindowOpacity ( qreal level ) -void setWindowRole ( const QString & role ) -void setWindowState ( Qt::WindowStates windowState ) -// void setWindowSurface ( QWindowSurface * surface ) -QSize size () const -virtual QSize sizeHint () const -QSize sizeIncrement () const -QSizePolicy sizePolicy () const -void stackUnder ( QWidget * w ) -QString statusTip () const -QStyle * style () const -QString styleSheet () const -bool testAttribute ( Qt::WidgetAttribute attribute ) const -QString toolTip () const -bool underMouse () const -void unsetCursor () -void unsetLayoutDirection () -void unsetLocale () -void update ( int x, int y, int w, int h ) -void update ( const QRect & rect ) -void update ( const QRegion & rgn ) -void updateGeometry () -bool updatesEnabled () const -QRegion visibleRegion () const -QString whatsThis () const -int width () const -//WId winId () const -QWidget * window () const -QString windowFilePath () const -Qt::WindowFlags windowFlags () const -QIcon windowIcon () const -QString windowIconText () const -Qt::WindowModality windowModality () const -qreal windowOpacity () const -QString windowRole () const -Qt::WindowStates windowState () const -// QWindowSurface * windowSurface () const (preliminary) -QString windowTitle () const -Qt::WindowType windowType () const -int x () const -//Qt::HANDLE x11PictureHandle () const -int y () const - -//QWidget * find ( WId id ) -QWidget * keyboardGrabber () -QWidget * mouseGrabber () -void setTabOrder ( QWidget * first, QWidget * second ) - - - -bool close () -void hide () -void lower () -void raise () -void repaint () -void setDisabled ( bool disable ) -void setEnabled ( bool enable ) -void setFocus () -void setHidden ( bool hidden ) -void setStyleSheet ( const QString & styleSheet ) -virtual void setVisible ( bool visible ) -void setWindowModified ( bool modified ) -void setWindowTitle ( const QString & title ) -void show () -void showFullScreen () -void showMaximized () -void showMinimized () -void showNormal () -void update () - - - -void clicked ( bool checked = false ) -void pressed () -void released () -void toggled ( bool checked ) - diff --git a/harbour/contrib/hbqt/qth/QWidgetAction.qth b/harbour/contrib/hbqt/qth/QWidgetAction.qth deleted file mode 100644 index 43713738a5..0000000000 --- a/harbour/contrib/hbqt/qth/QWidgetAction.qth +++ /dev/null @@ -1,97 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QAction -Type = Core -New = - - - -#include - - -/* - * QWidgetAction ( QObject * parent ) - * virtual ~QWidgetAction () - */ -HB_FUNC( QT_QWIDGETACTION ) -{ - hb_retptr( ( QWidgetAction* ) new QWidgetAction( hbqt_par_QObject( 1 ) ) ); -} - - - - - - -QWidget * defaultWidget () const -void releaseWidget ( QWidget * widget ) -QWidget * requestWidget ( QWidget * parent ) -void setDefaultWidget ( QWidget * widget ) - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWidgetItem.qth b/harbour/contrib/hbqt/qth/QWidgetItem.qth deleted file mode 100644 index a6266bac83..0000000000 --- a/harbour/contrib/hbqt/qth/QWidgetItem.qth +++ /dev/null @@ -1,95 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QLayoutItem -Type = Core -New = - - - -#include - - -/* - * QWidgetItem ( QWidget * widget ) - */ -HB_FUNC( QT_QWIDGETITEM ) -{ - hb_retptr( ( QWidgetItem* ) new QWidgetItem( hbqt_par_QWidget( 1 ) ) ); -} - - - - - - -virtual bool isEmpty () const -virtual QWidget * widget () - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWindowStateChangeEvent.qth b/harbour/contrib/hbqt/qth/QWindowStateChangeEvent.qth deleted file mode 100644 index f5426e42d6..0000000000 --- a/harbour/contrib/hbqt/qth/QWindowStateChangeEvent.qth +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = no -Inherits = QEvent -Type = Core -New = - - - -#include - - -/* - * QWindowStateChangeEvent () - */ -HB_FUNC( QT_QWINDOWSTATECHANGEEVENT ) -{ - // hb_retptr( ( QWindowStateChangeEvent* ) new QWindowStateChangeEvent() ); -} - - - - - - -Qt::WindowStates oldState () const - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWindowsStyle.qth b/harbour/contrib/hbqt/qth/QWindowsStyle.qth deleted file mode 100644 index 7d0e17f804..0000000000 --- a/harbour/contrib/hbqt/qth/QWindowsStyle.qth +++ /dev/null @@ -1,92 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherits = QCommonStyle -Type = Core -New = - - - -#include - - -/* - * QWindowsStyle () - * ~QWindowsStyle () - * - */ -HB_FUNC( QT_QWINDOWSSTYLE ) -{ - hb_retptr( ( QWindowsStyle* ) new QWindowsStyle() ); -} - - - - - - - - - - - - - - - - - diff --git a/harbour/contrib/hbqt/qth/QWizard.qth b/harbour/contrib/hbqt/qth/QWizard.qth deleted file mode 100644 index 45e8659eac..0000000000 --- a/harbour/contrib/hbqt/qth/QWizard.qth +++ /dev/null @@ -1,132 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -Inherit = QDialog -New = pParent - - - -#include -#include - - -/* - * QWizard ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - * ~QWizard () - */ -HB_FUNC( QT_QWIZARD ) -{ - hb_retptr( new QWizard( hbqt_par_QWidget( 2 ) ) ); -} - - - -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 - - - -int addPage ( QWizardPage * page ) -QAbstractButton * button ( WizardButton which ) const -QString buttonText ( WizardButton which ) const -int currentId () const -QWizardPage * currentPage () const -QVariant field ( const QString & name ) const -bool hasVisitedPage ( int id ) const -virtual int nextId () const -WizardOptions options () const -QWizardPage * page ( int id ) const -QList pageIds () const -QPixmap pixmap ( WizardPixmap which ) const -void removePage ( int id ) -void setButton ( WizardButton which, QAbstractButton * button ) -void setButtonLayout ( const QList & layout ) -void setButtonText ( WizardButton which, const QString & text ) -void setDefaultProperty ( const char * className, const char * property, const char * changedSignal ) -void setField ( const QString & name, const QVariant & value ) -void setOption ( WizardOption option, bool on = true ) -void setOptions ( WizardOptions options ) -void setPage ( int id, QWizardPage * page ) -void setPixmap ( WizardPixmap which, const QPixmap & pixmap ) -void setStartId ( int id ) -void setSubTitleFormat ( Qt::TextFormat format ) -void setTitleFormat ( Qt::TextFormat format ) -void setWizardStyle ( WizardStyle style ) -int startId () const -Qt::TextFormat subTitleFormat () const -bool testOption ( WizardOption option ) const -Qt::TextFormat titleFormat () const -virtual bool validateCurrentPage () -QList visitedPages () const -WizardStyle wizardStyle () const - - - -void back () -void next () -void restart () - - - -void currentIdChanged ( int id ) -void customButtonClicked ( int which ) -void helpRequested () - - diff --git a/harbour/contrib/hbqt/qth/QWizardPage.qth b/harbour/contrib/hbqt/qth/QWizardPage.qth deleted file mode 100644 index cad7412310..0000000000 --- a/harbour/contrib/hbqt/qth/QWizardPage.qth +++ /dev/null @@ -1,109 +0,0 @@ -/* - * $Id$ - */ - -/* - * Harbour Project source code: - * QT Source Generator for Harbour - * - * Copyright 2009 Pritpal Bedi - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ -/*----------------------------------------------------------------------*/ -; -; Header File to Generate QT Wrapper Sources -; - - -QObject = -Inherits = QWidget -Type = Core -New = -Destructor = - - - -#include - - -/* QWizardPage ( QWidget * parent = 0 ) - */ -HB_FUNC( QT_QWIZARDPAGE ) -{ - hb_retptr( new QWizardPage() ); -} - - - - - - -QString buttonText ( QWizard::WizardButton which ) const -virtual void cleanupPage () -virtual void initializePage () -bool isCommitPage () const -virtual bool isComplete () const -bool isFinalPage () const -virtual int nextId () const -QPixmap pixmap ( QWizard::WizardPixmap which ) const -void setButtonText ( QWizard::WizardButton which, const QString & text ) -void setCommitPage ( bool commitPage ) -void setFinalPage ( bool finalPage ) -void setPixmap ( QWizard::WizardPixmap which, const QPixmap & pixmap ) -void setSubTitle ( const QString & subTitle ) -void setTitle ( const QString & title ) -QString subTitle () const -QString title () const -virtual bool validatePage () - - - - - - -void completeChanged () - - - - -