Files
harbour-core/harbour/contrib/hbqt/QMessageBox.cpp
Viktor Szakats d37a57b51b 2009-08-12 13:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    * Changed so that HB_INSTALL_PREFIX gets set to the
      source tree instead of a foreign location. This is
      what our make_gnu.bat did so far.
      The $(realpath) trick might be helpful to speedup some 
      self-detection code, f.e. HB_BIN_COMPILE.

  * mpkg_gnu.bat
    % Minor change to make .zip creation cmd more self-containable.

  * contrib/hbqt/generator/hbqtgen.prg
    % Minor opt in FWRITE() call.
    + Changed to not generate extra empty lines at EOL.
    + Added placeholder comment at the end of Makefile_gen
      to ensure an empty lines always kept after last '\' char
      even if the file is edited with an editor stripping
      excessive EOLs.
      Lorenzo, pls test with the config this caused problem.

  * contrib/hbqt/QWebSecurityOrigin.cpp
  * contrib/hbqt/QDragEnterEvent.cpp
  * contrib/hbqt/QPageSetupDialog.cpp
  * contrib/hbqt/TQToolBox.prg
  * contrib/hbqt/QTextBoundaryFinder.cpp
  * contrib/hbqt/QTextCodec.cpp
  * contrib/hbqt/QWindowsXPStyle.cpp
  * contrib/hbqt/QGridLayout.cpp
  * contrib/hbqt/TQTreeView.prg
  * contrib/hbqt/TQTextCharFormat.prg
  * contrib/hbqt/TQTextLine.prg
  * contrib/hbqt/QConicalGradient.cpp
  * contrib/hbqt/QTextLength.cpp
  * contrib/hbqt/TQRect.prg
  * contrib/hbqt/TQInputEvent.prg
  * contrib/hbqt/TQWidgetItem.prg
  * contrib/hbqt/QGradient.cpp
  * contrib/hbqt/TQTextItem.prg
  * contrib/hbqt/TQTimeEdit.prg
  * contrib/hbqt/TQDropEvent.prg
  * contrib/hbqt/QStandardItemModel.cpp
  * contrib/hbqt/TQTextObject.prg
  * contrib/hbqt/TQSizeF.prg
  * contrib/hbqt/QPicture.cpp
  * contrib/hbqt/QAction.cpp
  * contrib/hbqt/QPaintEvent.cpp
  * contrib/hbqt/TQStyleHintReturn.prg
  * contrib/hbqt/QStyledItemDelegate.cpp
  * contrib/hbqt/QAbstractListModel.cpp
  * contrib/hbqt/QWidget.cpp
  * contrib/hbqt/TQProgressBar.prg
  * contrib/hbqt/TQFontDatabase.prg
  * contrib/hbqt/QFontDialog.cpp
  * contrib/hbqt/QToolBox.cpp
  * contrib/hbqt/QResource.cpp
  * contrib/hbqt/TQLineEdit.prg
  * contrib/hbqt/TQHBoxLayout.prg
  * contrib/hbqt/TQWebHistory.prg
  * contrib/hbqt/QMouseEvent.cpp
  * contrib/hbqt/QTextEdit.cpp
  * contrib/hbqt/TQToolBar.prg
  * contrib/hbqt/TQAbstractItemModel.prg
  * contrib/hbqt/TQTreeWidget.prg
  * contrib/hbqt/QPointF.cpp
  * contrib/hbqt/QFontComboBox.cpp
  * contrib/hbqt/QStyle.cpp
  * contrib/hbqt/TQSplitter.prg
  * contrib/hbqt/TQComboBox.prg
  * contrib/hbqt/QStyleOptionHeader.cpp
  * contrib/hbqt/QListView.cpp
  * contrib/hbqt/QWheelEvent.cpp
  * contrib/hbqt/QRadialGradient.cpp
  * contrib/hbqt/QLayout.cpp
  * contrib/hbqt/QCursor.cpp
  * contrib/hbqt/TQProgressDialog.prg
  * contrib/hbqt/QLabel.cpp
  * contrib/hbqt/TQBoxLayout.prg
  * contrib/hbqt/QFocusEvent.cpp
  * contrib/hbqt/QStyleHintReturn.cpp
  * contrib/hbqt/QStyleOptionToolButton.cpp
  * contrib/hbqt/QStylePainter.cpp
  * contrib/hbqt/QBrush.cpp
  * contrib/hbqt/QWebPluginFactory.cpp
  * contrib/hbqt/TQRadioButton.prg
  * contrib/hbqt/TQSystemTrayIcon.prg
  * contrib/hbqt/TQListWidgetItem.prg
  * contrib/hbqt/QLinearGradient.cpp
  * contrib/hbqt/QProgressBar.cpp
  * contrib/hbqt/TQTextFrame.prg
  * contrib/hbqt/TQTextBlock.prg
  * contrib/hbqt/QDragLeaveEvent.cpp
  * contrib/hbqt/TQStyleOptionViewItem.prg
  * contrib/hbqt/QClipboard.cpp
  * contrib/hbqt/QStyleOptionTabBarBase.cpp
  * contrib/hbqt/QStyleOptionToolBox.cpp
  * contrib/hbqt/QStringList.cpp
  * contrib/hbqt/QToolBar.cpp
  * contrib/hbqt/TQTextBlockFormat.prg
  * contrib/hbqt/TQStatusBar.prg
  * contrib/hbqt/TQTextFrameFormat.prg
  * contrib/hbqt/QFontMetricsF.cpp
  * contrib/hbqt/TQTextDecoder.prg
  * contrib/hbqt/TQTabWidget.prg
  * contrib/hbqt/TQLCDNumber.prg
  * contrib/hbqt/TQMainWindow.prg
  * contrib/hbqt/QToolButton.cpp
  * contrib/hbqt/TQStyleOptionTitleBar.prg
  * contrib/hbqt/QWindowsStyle.cpp
  * contrib/hbqt/TQDockWidget.prg
  * contrib/hbqt/QColor.cpp
  * contrib/hbqt/QListWidget.cpp
  * contrib/hbqt/QTextLayout.cpp
  * contrib/hbqt/TQSound.prg
  * contrib/hbqt/QSignalMapper.cpp
  * contrib/hbqt/QTextCursor.cpp
  * contrib/hbqt/TQPoint.prg
  * contrib/hbqt/QTextDocument.cpp
  * contrib/hbqt/TQGradient.prg
  * contrib/hbqt/TQWebSettings.prg
  * contrib/hbqt/QRadioButton.cpp
  * contrib/hbqt/TQWizard.prg
  * contrib/hbqt/TQAbstractPrintDialog.prg
  * contrib/hbqt/TQApplication.prg
  * contrib/hbqt/QAbstractButton.cpp
  * contrib/hbqt/QStyleOptionViewItem.cpp
  * contrib/hbqt/TQCoreApplication.prg
  * contrib/hbqt/QTextFrameFormat.cpp
  * contrib/hbqt/QTextBlockFormat.cpp
  * contrib/hbqt/TQInputDialog.prg
  * contrib/hbqt/QTextDecoder.cpp
  * contrib/hbqt/QSize.cpp
  * contrib/hbqt/TQEvent.prg
  * contrib/hbqt/TQKeySequence.prg
  * contrib/hbqt/QBitmap.cpp
  * contrib/hbqt/QStyleOptionToolBar.cpp
  * contrib/hbqt/QCalendarWidget.cpp
  * contrib/hbqt/TQPrinter.prg
  * contrib/hbqt/QStyleOptionTitleBar.cpp
  * contrib/hbqt/TQResource.prg
  * contrib/hbqt/QScrollBar.cpp
  * contrib/hbqt/QHeaderView.cpp
  * contrib/hbqt/TQTextEdit.prg
  * contrib/hbqt/QStyleOptionButton.cpp
  * contrib/hbqt/QCommandLinkButton.cpp
  * contrib/hbqt/TQFontComboBox.prg
  * contrib/hbqt/QFocusFrame.cpp
  * contrib/hbqt/QSizePolicy.cpp
  * contrib/hbqt/QWebSettings.cpp
  * contrib/hbqt/QAbstractPrintDialog.cpp
  * contrib/hbqt/TQStyleOptionSizeGrip.prg
  * contrib/hbqt/TQListView.prg
  * contrib/hbqt/QApplication.cpp
  * contrib/hbqt/QAbstractSlider.cpp
  * contrib/hbqt/TQTextBlockGroup.prg
  * contrib/hbqt/QObject.cpp
  * contrib/hbqt/QTextFragment.cpp
  * contrib/hbqt/TQStyleOptionGroupBox.prg
  * contrib/hbqt/QAbstractScrollArea.cpp
  * contrib/hbqt/QCoreApplication.cpp
  * contrib/hbqt/TQPrintEngine.prg
  * contrib/hbqt/TQStylePainter.prg
  * contrib/hbqt/TQWebPluginFactory.prg
  * contrib/hbqt/QInputDialog.cpp
  * contrib/hbqt/QTimer.cpp
  * contrib/hbqt/QKeySequence.cpp
  * contrib/hbqt/TQFtp.prg
  * contrib/hbqt/QPrinter.cpp
  * contrib/hbqt/TQMessageBox.prg
  * contrib/hbqt/QKeyEvent.cpp
  * contrib/hbqt/QTextCharFormat.cpp
  * contrib/hbqt/TQUrl.prg
  * contrib/hbqt/QStyleOptionSlider.cpp
  * contrib/hbqt/TQFontMetricsF.prg
  * contrib/hbqt/TQDragMoveEvent.prg
  * contrib/hbqt/QInputEvent.cpp
  * contrib/hbqt/TQWebView.prg
  * contrib/hbqt/QWidgetItem.cpp
  * contrib/hbqt/TQCommonStyle.prg
  * contrib/hbqt/QMenu.cpp
  * contrib/hbqt/TQPushButton.prg
  * contrib/hbqt/TQWindowsStyle.prg
  * contrib/hbqt/TQEventLoop.prg
  * contrib/hbqt/QStyleOptionSizeGrip.cpp
  * contrib/hbqt/TQDoubleSpinBox.prg
  * contrib/hbqt/TQWebHistoryItem.prg
  * contrib/hbqt/QTextObject.cpp
  * contrib/hbqt/TQSignalMapper.prg
  * contrib/hbqt/TQTableView.prg
  * contrib/hbqt/TQTreeWidgetItem.prg
  * contrib/hbqt/TQTextDocument.prg
  * contrib/hbqt/QStyleOptionGroupBox.cpp
  * contrib/hbqt/TQButtonGroup.prg
  * contrib/hbqt/QFontInfo.cpp
  * contrib/hbqt/QImage.cpp
  * contrib/hbqt/QPrintEngine.cpp
  * contrib/hbqt/TQFrame.prg
  * contrib/hbqt/QLine.cpp
  * contrib/hbqt/TQTextFormat.prg
  * contrib/hbqt/QIcon.cpp
  * contrib/hbqt/TQColorDialog.prg
  * contrib/hbqt/TQStyleOptionProgressBar.prg
  * contrib/hbqt/QHBoxLayout.cpp
  * contrib/hbqt/QWebHistory.cpp
  * contrib/hbqt/QUrl.cpp
  * contrib/hbqt/TQStyleHintReturnVariant.prg
  * contrib/hbqt/QRectF.cpp
  * contrib/hbqt/QTreeWidget.cpp
  * contrib/hbqt/TQSize.prg
  * contrib/hbqt/TQWebSecurityOrigin.prg
  * contrib/hbqt/TQProcess.prg
  * contrib/hbqt/QWebView.cpp
  * contrib/hbqt/QCommonStyle.cpp
  * contrib/hbqt/TQStyleOptionTab.prg
  * contrib/hbqt/TQTextDocumentWriter.prg
  * contrib/hbqt/TQTextCodec.prg
  * contrib/hbqt/TQStringListModel.prg
  * contrib/hbqt/QAbstractItemView.cpp
  * contrib/hbqt/QWebHitTestResult.cpp
  * contrib/hbqt/TQTextBrowser.prg
  * contrib/hbqt/QProgressDialog.cpp
  * contrib/hbqt/TQTableWidget.prg
  * contrib/hbqt/TQTabBar.prg
  * contrib/hbqt/QStyleFactory.cpp
  * contrib/hbqt/QButtonGroup.cpp
  * contrib/hbqt/TQFileDialog.prg
  * contrib/hbqt/TQDialog.prg
  * contrib/hbqt/TQTextStream.prg
  * contrib/hbqt/TQStandardItemModel.prg
  * contrib/hbqt/TQFormLayout.prg
  * contrib/hbqt/QSystemTrayIcon.cpp
  * contrib/hbqt/QStyleOptionDockWidget.cpp
  * contrib/hbqt/QListWidgetItem.cpp
  * contrib/hbqt/QColorDialog.cpp
  * contrib/hbqt/QStyleOptionTabWidgetFrame.cpp
  * contrib/hbqt/TQFileSystemModel.prg
  * contrib/hbqt/TQAbstractSpinBox.prg
  * contrib/hbqt/TQTextFragment.prg
  * contrib/hbqt/QDateTimeEdit.cpp
  * contrib/hbqt/TQVBoxLayout.prg
  * contrib/hbqt/QStyleOptionFocusRect.cpp
  * contrib/hbqt/QMoveEvent.cpp
  * contrib/hbqt/TQImageWriter.prg
  * contrib/hbqt/TQAbstractListModel.prg
  * contrib/hbqt/QMainWindow.cpp
  * contrib/hbqt/QDesktopWidget.cpp
  * contrib/hbqt/QProcess.cpp
  * contrib/hbqt/QWidgetAction.cpp
  * contrib/hbqt/TQModelIndex.prg
  * contrib/hbqt/TQMenuBar.prg
  * contrib/hbqt/QStringListModel.cpp
  * contrib/hbqt/TQKeyEvent.prg
  * contrib/hbqt/QDockWidget.cpp
  * contrib/hbqt/TQPaintDevice.prg
  * contrib/hbqt/TQStyleOptionMenuItem.prg
  * contrib/hbqt/TQFontMetrics.prg
  * contrib/hbqt/QTextBrowser.cpp
  * contrib/hbqt/TQStyle.prg
  * contrib/hbqt/QTableWidget.cpp
  * contrib/hbqt/TQStyleOptionHeader.prg
  * contrib/hbqt/QErrorMessage.cpp
  * contrib/hbqt/TQMenu.prg
  * contrib/hbqt/QWizard.cpp
  * contrib/hbqt/QFileSystemModel.cpp
  * contrib/hbqt/TQPrintDialog.prg
  * contrib/hbqt/QAbstractSpinBox.cpp
  * contrib/hbqt/TQPrintPreviewDialog.prg
  * contrib/hbqt/TQLabel.prg
  * contrib/hbqt/QDial.cpp
  * contrib/hbqt/TQWebHistoryInterface.prg
  * contrib/hbqt/TQStyleOptionComboBox.prg
  * contrib/hbqt/TQFontInfo.prg
  * contrib/hbqt/TQSlider.prg
  * contrib/hbqt/TQBrush.prg
  * contrib/hbqt/TQStyleOptionToolButton.prg
  * contrib/hbqt/QImageWriter.cpp
  * contrib/hbqt/TQScrollArea.prg
  * contrib/hbqt/TQLine.prg
  * contrib/hbqt/TQIcon.prg
  * contrib/hbqt/TQLayoutItem.prg
  * contrib/hbqt/TQAbstractTableModel.prg
  * contrib/hbqt/QIODevice.cpp
  * contrib/hbqt/TQPixmap.prg
  * contrib/hbqt/QMenuBar.cpp
  * contrib/hbqt/TQClipboard.prg
  * contrib/hbqt/TQTextImageFormat.prg
  * contrib/hbqt/TQStyleOptionTabBarBase.prg
  * contrib/hbqt/QPaintDevice.cpp
  * contrib/hbqt/QStyleOptionMenuItem.cpp
  * contrib/hbqt/QFontMetrics.cpp
  * contrib/hbqt/TQImageReader.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbqt/QDropEvent.cpp
  * contrib/hbqt/TQAbstractItemView.prg
  * contrib/hbqt/TQColor.prg
  * contrib/hbqt/TQDir.prg
  * contrib/hbqt/TQHttp.prg
  * contrib/hbqt/TQStyleOptionComplex.prg
  * contrib/hbqt/TQWebHitTestResult.prg
  * contrib/hbqt/QPrintDialog.cpp
  * contrib/hbqt/QTextBlockGroup.cpp
  * contrib/hbqt/TQRegion.prg
  * contrib/hbqt/QStandardItem.cpp
  * contrib/hbqt/QLatin1String.cpp
  * contrib/hbqt/QSizeF.cpp
  * contrib/hbqt/TQLatin1Char.prg
  * contrib/hbqt/QWebHistoryInterface.cpp
  * contrib/hbqt/QStyleOptionComboBox.cpp
  * contrib/hbqt/TQStyleFactory.prg
  * contrib/hbqt/TQStyleOptionSpinBox.prg
  * contrib/hbqt/TQPalette.prg
  * contrib/hbqt/QSplashScreen.cpp
  * contrib/hbqt/TQDateTimeEdit.prg
  * contrib/hbqt/TQPainter.prg
  * contrib/hbqt/QSizeGrip.cpp
  * contrib/hbqt/QMessageBox.cpp
  * contrib/hbqt/TQResizeEvent.prg
  * contrib/hbqt/QTextImageFormat.cpp
  * contrib/hbqt/TQStyleOptionFocusRect.prg
  * contrib/hbqt/QAbstractItemModel.cpp
  * contrib/hbqt/QGroupBox.cpp
  * contrib/hbqt/QImageReader.cpp
  * contrib/hbqt/TQDragEnterEvent.prg
  * contrib/hbqt/QTextDocumentFragment.cpp
  * contrib/hbqt/TQTextBoundaryFinder.prg
  * contrib/hbqt/QPushButton.cpp
  * contrib/hbqt/TQWidgetAction.prg
  * contrib/hbqt/TQScrollBar.prg
  * contrib/hbqt/TQGridLayout.prg
  * contrib/hbqt/TQWindowsXPStyle.prg
  * contrib/hbqt/QWebHistoryItem.cpp
  * contrib/hbqt/QDir.cpp
  * contrib/hbqt/TQStyleOptionButton.prg
  * contrib/hbqt/TQTextLength.prg
  * contrib/hbqt/QTreeWidgetItem.cpp
  * contrib/hbqt/TQCommandLinkButton.prg
  * contrib/hbqt/QBoxLayout.cpp
  * contrib/hbqt/TQErrorMessage.prg
  * contrib/hbqt/QDateTime.cpp
  * contrib/hbqt/QTextFormat.cpp
  * contrib/hbqt/QPalette.cpp
  * contrib/hbqt/QTextBlock.cpp
  * contrib/hbqt/QTextFrame.cpp
  * contrib/hbqt/QPainter.cpp
  * contrib/hbqt/QResizeEvent.cpp
  * contrib/hbqt/TQDial.prg
  * contrib/hbqt/QStyleOptionProgressBar.cpp
  * contrib/hbqt/TQTableWidgetItem.prg
  * contrib/hbqt/TQAction.prg
  * contrib/hbqt/TQPaintEvent.prg
  * contrib/hbqt/QStyleHintReturnVariant.cpp
  * contrib/hbqt/QStatusBar.cpp
  * contrib/hbqt/TQStyledItemDelegate.prg
  * contrib/hbqt/TQTimer.prg
  * contrib/hbqt/QTabWidget.cpp
  * contrib/hbqt/QTextInlineObject.cpp
  * contrib/hbqt/QLCDNumber.cpp
  * contrib/hbqt/QList.cpp
  * contrib/hbqt/TQWidget.prg
  * contrib/hbqt/QStyleOptionTab.cpp
  * contrib/hbqt/TQFontDialog.prg
  * contrib/hbqt/QTextDocumentWriter.cpp
  * contrib/hbqt/TQIODevice.prg
  * contrib/hbqt/TQStyleOption.prg
  * contrib/hbqt/QDateEdit.cpp
  * contrib/hbqt/TQMouseEvent.prg
  * contrib/hbqt/QCheckBox.cpp
  * contrib/hbqt/TQStyleOptionSlider.prg
  * contrib/hbqt/QSound.cpp
  * contrib/hbqt/QWebFrame.cpp
  * contrib/hbqt/QPoint.cpp
  * contrib/hbqt/TQPointF.prg
  * contrib/hbqt/QTabBar.cpp
  * contrib/hbqt/QDirModel.cpp
  * contrib/hbqt/QFileDialog.cpp
  * contrib/hbqt/QDialog.cpp
  * contrib/hbqt/QTextStream.cpp
  * contrib/hbqt/TQWheelEvent.prg
  * contrib/hbqt/QFormLayout.cpp
  * contrib/hbqt/QStyleOptionFrame.cpp
  * contrib/hbqt/TQWebPage.prg
  * contrib/hbqt/TQRadialGradient.prg
  * contrib/hbqt/QFont.cpp
  * contrib/hbqt/TQCursor.prg
  * contrib/hbqt/TQLayout.prg
  * contrib/hbqt/TQLatin1String.prg
  * contrib/hbqt/TQStandardItem.prg
  * contrib/hbqt/QTableWidgetItem.cpp
  * contrib/hbqt/TQFocusEvent.prg
  * contrib/hbqt/TQImage.prg
  * contrib/hbqt/TQSpinBox.prg
  * contrib/hbqt/QVBoxLayout.cpp
  * contrib/hbqt/QEvent.cpp
  * contrib/hbqt/TQLinearGradient.prg
  * contrib/hbqt/TQSplashScreen.prg
  * contrib/hbqt/TQDragLeaveEvent.prg
  * contrib/hbqt/TQSizeGrip.prg
  * contrib/hbqt/QModelIndex.cpp
  * contrib/hbqt/QStyleOption.cpp
  * contrib/hbqt/TQStyleHintReturnMask.prg
  * contrib/hbqt/TQStyleOptionToolBox.prg
  * contrib/hbqt/QTreeView.cpp
  * contrib/hbqt/TQStringList.prg
  * contrib/hbqt/QTextLine.cpp
  * contrib/hbqt/TQRectF.prg
  * contrib/hbqt/QRect.cpp
  * contrib/hbqt/TQGroupBox.prg
  * contrib/hbqt/TQTextDocumentFragment.prg
  * contrib/hbqt/TQToolButton.prg
  * contrib/hbqt/QTextItem.cpp
  * contrib/hbqt/QTimeEdit.cpp
  * contrib/hbqt/TQListWidget.prg
  * contrib/hbqt/QWebPage.cpp
  * contrib/hbqt/TQTextLayout.prg
  * contrib/hbqt/TQTextCursor.prg
  * contrib/hbqt/TQPen.prg
  * contrib/hbqt/QPrintPreviewDialog.cpp
  * contrib/hbqt/TQTextEncoder.prg
  * contrib/hbqt/QSlider.cpp
  * contrib/hbqt/QSpinBox.cpp
  * contrib/hbqt/TQDateTime.prg
  * contrib/hbqt/QScrollArea.cpp
  * contrib/hbqt/TQStyleOptionDockWidget.prg
  * contrib/hbqt/TQAbstractButton.prg
  * contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
  * contrib/hbqt/QFontDatabase.cpp
  * contrib/hbqt/QAbstractTableModel.cpp
  * contrib/hbqt/QLayoutItem.cpp
  * contrib/hbqt/QLineEdit.cpp
  * contrib/hbqt/TQVariant.prg
  * contrib/hbqt/QPixmap.cpp
  * contrib/hbqt/QStyleHintReturnMask.cpp
  * contrib/hbqt/TQMoveEvent.prg
  * contrib/hbqt/TQTextInlineObject.prg
  * contrib/hbqt/TQList.prg
  * contrib/hbqt/QDragMoveEvent.cpp
  * contrib/hbqt/TQStyleOptionToolBar.prg
  * contrib/hbqt/TQBitmap.prg
  * contrib/hbqt/QSplitter.cpp
  * contrib/hbqt/TQCalendarWidget.prg
  * contrib/hbqt/TQDesktopWidget.prg
  * contrib/hbqt/TQPageSetupDialog.prg
  * contrib/hbqt/QComboBox.cpp
  * contrib/hbqt/QEventLoop.cpp
  * contrib/hbqt/QDoubleSpinBox.cpp
  * contrib/hbqt/TQDateEdit.prg
  * contrib/hbqt/TQHeaderView.prg
  * contrib/hbqt/TQCheckBox.prg
  * contrib/hbqt/TQConicalGradient.prg
  * contrib/hbqt/QStyleOptionComplex.cpp
  * contrib/hbqt/QTableView.cpp
  * contrib/hbqt/TQWebFrame.prg
  * contrib/hbqt/QPen.cpp
  * contrib/hbqt/QRegion.cpp
  * contrib/hbqt/QTextEncoder.cpp
  * contrib/hbqt/TQFocusFrame.prg
  * contrib/hbqt/TQSizePolicy.prg
  * contrib/hbqt/QLatin1Char.cpp
  * contrib/hbqt/TQDirModel.prg
  * contrib/hbqt/QFrame.cpp
  * contrib/hbqt/QStyleOptionSpinBox.cpp
  * contrib/hbqt/TQStyleOptionFrame.prg
  * contrib/hbqt/TQFont.prg
  * contrib/hbqt/TQAbstractSlider.prg
  * contrib/hbqt/TQObject.prg
  * contrib/hbqt/QVariant.cpp
  * contrib/hbqt/TQAbstractScrollArea.prg
  * contrib/hbqt/TQPicture.prg
    * Regenerated sources after generator change.
2009-08-12 11:27:11 +00:00

409 lines
12 KiB
C++

/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbapi.h"
#include "hbqt.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* enum ButtonRole { InvalidRole, AcceptRole, RejectRole, DestructiveRole, ..., ResetRole }
* enum Icon { NoIcon, Question, Information, Warning, Critical }
* enum StandardButton { Ok, Open, Save, Cancel, ..., ButtonMask }
* flags StandardButtons
*/
/*
* Constructed[ 38/39 [ 97.44% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* QList<QAbstractButton *> buttons () const
*/
#include <QtGui/QMessageBox>
/*
* 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() );
}
/*
* DESTRUCTOR
*/
HB_FUNC( QT_QMESSAGEBOX_DESTROY )
{
hbqt_par_QMessageBox( 1 )->~QMessageBox();
}
/*
* void addButton ( QAbstractButton * button, ButtonRole role )
*/
HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON )
{
hbqt_par_QMessageBox( 1 )->addButton( hbqt_par_QAbstractButton( 2 ), ( QMessageBox::ButtonRole ) hb_parni( 3 ) );
}
/*
* QPushButton * addButton ( const QString & text, ButtonRole role )
*/
HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON_1 )
{
hb_retptr( ( QPushButton* ) hbqt_par_QMessageBox( 1 )->addButton( hbqt_par_QString( 2 ), ( QMessageBox::ButtonRole ) hb_parni( 3 ) ) );
}
/*
* QPushButton * addButton ( StandardButton button )
*/
HB_FUNC( QT_QMESSAGEBOX_ADDBUTTON_2 )
{
hb_retptr( ( QPushButton* ) hbqt_par_QMessageBox( 1 )->addButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) ) );
}
/*
* QAbstractButton * button ( StandardButton which ) const
*/
HB_FUNC( QT_QMESSAGEBOX_BUTTON )
{
hb_retptr( ( QAbstractButton* ) hbqt_par_QMessageBox( 1 )->button( ( QMessageBox::StandardButton ) hb_parni( 2 ) ) );
}
/*
* ButtonRole buttonRole ( QAbstractButton * button ) const
*/
HB_FUNC( QT_QMESSAGEBOX_BUTTONROLE )
{
hb_retni( ( QMessageBox::ButtonRole ) hbqt_par_QMessageBox( 1 )->buttonRole( hbqt_par_QAbstractButton( 2 ) ) );
}
/*
* QAbstractButton * clickedButton () const
*/
HB_FUNC( QT_QMESSAGEBOX_CLICKEDBUTTON )
{
hb_retptr( ( QAbstractButton* ) hbqt_par_QMessageBox( 1 )->clickedButton() );
}
/*
* QPushButton * defaultButton () const
*/
HB_FUNC( QT_QMESSAGEBOX_DEFAULTBUTTON )
{
hb_retptr( ( QPushButton* ) hbqt_par_QMessageBox( 1 )->defaultButton() );
}
/*
* QString detailedText () const
*/
HB_FUNC( QT_QMESSAGEBOX_DETAILEDTEXT )
{
hb_retc( hbqt_par_QMessageBox( 1 )->detailedText().toLatin1().data() );
}
/*
* QAbstractButton * escapeButton () const
*/
HB_FUNC( QT_QMESSAGEBOX_ESCAPEBUTTON )
{
hb_retptr( ( QAbstractButton* ) hbqt_par_QMessageBox( 1 )->escapeButton() );
}
/*
* Icon icon () const
*/
HB_FUNC( QT_QMESSAGEBOX_ICON )
{
hb_retni( ( QMessageBox::Icon ) hbqt_par_QMessageBox( 1 )->icon() );
}
/*
* QPixmap iconPixmap () const
*/
HB_FUNC( QT_QMESSAGEBOX_ICONPIXMAP )
{
hb_retptr( new QPixmap( hbqt_par_QMessageBox( 1 )->iconPixmap() ) );
}
/*
* QString informativeText () const
*/
HB_FUNC( QT_QMESSAGEBOX_INFORMATIVETEXT )
{
hb_retc( hbqt_par_QMessageBox( 1 )->informativeText().toLatin1().data() );
}
/*
* void open ( QObject * receiver, const char * member )
*/
HB_FUNC( QT_QMESSAGEBOX_OPEN )
{
hbqt_par_QMessageBox( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) );
}
/*
* void removeButton ( QAbstractButton * button )
*/
HB_FUNC( QT_QMESSAGEBOX_REMOVEBUTTON )
{
hbqt_par_QMessageBox( 1 )->removeButton( hbqt_par_QAbstractButton( 2 ) );
}
/*
* void setDefaultButton ( QPushButton * button )
*/
HB_FUNC( QT_QMESSAGEBOX_SETDEFAULTBUTTON )
{
hbqt_par_QMessageBox( 1 )->setDefaultButton( hbqt_par_QPushButton( 2 ) );
}
/*
* void setDefaultButton ( StandardButton button )
*/
HB_FUNC( QT_QMESSAGEBOX_SETDEFAULTBUTTON_1 )
{
hbqt_par_QMessageBox( 1 )->setDefaultButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) );
}
/*
* void setDetailedText ( const QString & text )
*/
HB_FUNC( QT_QMESSAGEBOX_SETDETAILEDTEXT )
{
hbqt_par_QMessageBox( 1 )->setDetailedText( hbqt_par_QString( 2 ) );
}
/*
* void setEscapeButton ( QAbstractButton * button )
*/
HB_FUNC( QT_QMESSAGEBOX_SETESCAPEBUTTON )
{
hbqt_par_QMessageBox( 1 )->setEscapeButton( hbqt_par_QAbstractButton( 2 ) );
}
/*
* void setEscapeButton ( StandardButton button )
*/
HB_FUNC( QT_QMESSAGEBOX_SETESCAPEBUTTON_1 )
{
hbqt_par_QMessageBox( 1 )->setEscapeButton( ( QMessageBox::StandardButton ) hb_parni( 2 ) );
}
/*
* void setIcon ( Icon )
*/
HB_FUNC( QT_QMESSAGEBOX_SETICON )
{
hbqt_par_QMessageBox( 1 )->setIcon( ( QMessageBox::Icon ) hb_parni( 2 ) );
}
/*
* void setIconPixmap ( const QPixmap & pixmap )
*/
HB_FUNC( QT_QMESSAGEBOX_SETICONPIXMAP )
{
hbqt_par_QMessageBox( 1 )->setIconPixmap( *hbqt_par_QPixmap( 2 ) );
}
/*
* void setInformativeText ( const QString & text )
*/
HB_FUNC( QT_QMESSAGEBOX_SETINFORMATIVETEXT )
{
hbqt_par_QMessageBox( 1 )->setInformativeText( hbqt_par_QString( 2 ) );
}
/*
* void setStandardButtons ( StandardButtons buttons )
*/
HB_FUNC( QT_QMESSAGEBOX_SETSTANDARDBUTTONS )
{
hbqt_par_QMessageBox( 1 )->setStandardButtons( ( QMessageBox::StandardButtons ) hb_parni( 2 ) );
}
/*
* void setText ( const QString & text )
*/
HB_FUNC( QT_QMESSAGEBOX_SETTEXT )
{
hbqt_par_QMessageBox( 1 )->setText( hbqt_par_QString( 2 ) );
}
/*
* void setTextFormat ( Qt::TextFormat format )
*/
HB_FUNC( QT_QMESSAGEBOX_SETTEXTFORMAT )
{
hbqt_par_QMessageBox( 1 )->setTextFormat( ( Qt::TextFormat ) hb_parni( 2 ) );
}
/*
* void setWindowModality ( Qt::WindowModality windowModality )
*/
HB_FUNC( QT_QMESSAGEBOX_SETWINDOWMODALITY )
{
hbqt_par_QMessageBox( 1 )->setWindowModality( ( Qt::WindowModality ) hb_parni( 2 ) );
}
/*
* void setWindowTitle ( const QString & title )
*/
HB_FUNC( QT_QMESSAGEBOX_SETWINDOWTITLE )
{
hbqt_par_QMessageBox( 1 )->setWindowTitle( hbqt_par_QString( 2 ) );
}
/*
* StandardButton standardButton ( QAbstractButton * button ) const
*/
HB_FUNC( QT_QMESSAGEBOX_STANDARDBUTTON )
{
hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->standardButton( hbqt_par_QAbstractButton( 2 ) ) );
}
/*
* StandardButtons standardButtons () const
*/
HB_FUNC( QT_QMESSAGEBOX_STANDARDBUTTONS )
{
hb_retni( ( QMessageBox::StandardButtons ) hbqt_par_QMessageBox( 1 )->standardButtons() );
}
/*
* QString text () const
*/
HB_FUNC( QT_QMESSAGEBOX_TEXT )
{
hb_retc( hbqt_par_QMessageBox( 1 )->text().toLatin1().data() );
}
/*
* Qt::TextFormat textFormat () const
*/
HB_FUNC( QT_QMESSAGEBOX_TEXTFORMAT )
{
hb_retni( ( Qt::TextFormat ) hbqt_par_QMessageBox( 1 )->textFormat() );
}
/*
* void about ( QWidget * parent, const QString & title, const QString & text )
*/
HB_FUNC( QT_QMESSAGEBOX_ABOUT )
{
hbqt_par_QMessageBox( 1 )->about( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ) );
}
/*
* void aboutQt ( QWidget * parent, const QString & title = QString() )
*/
HB_FUNC( QT_QMESSAGEBOX_ABOUTQT )
{
hbqt_par_QMessageBox( 1 )->aboutQt( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ) );
}
/*
* StandardButton critical ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton )
*/
HB_FUNC( QT_QMESSAGEBOX_CRITICAL )
{
hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->critical( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) );
}
/*
* StandardButton information ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton )
*/
HB_FUNC( QT_QMESSAGEBOX_INFORMATION )
{
hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->information( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) );
}
/*
* StandardButton question ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton )
*/
HB_FUNC( QT_QMESSAGEBOX_QUESTION )
{
hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->question( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) );
}
/*
* StandardButton warning ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton )
*/
HB_FUNC( QT_QMESSAGEBOX_WARNING )
{
hb_retni( ( QMessageBox::StandardButton ) hbqt_par_QMessageBox( 1 )->warning( hbqt_par_QWidget( 2 ), hbqt_par_QString( 3 ), hbqt_par_QString( 4 ), ( HB_ISNUM( 5 ) ? ( QMessageBox::StandardButtons ) hb_parni( 5 ) : ( QMessageBox::StandardButtons ) QMessageBox::Ok ), ( HB_ISNUM( 6 ) ? ( QMessageBox::StandardButton ) hb_parni( 6 ) : ( QMessageBox::StandardButton ) QMessageBox::NoButton ) ) );
}
/*
* int exec ()
*/
HB_FUNC( QT_QMESSAGEBOX_EXEC )
{
hb_retni( hbqt_par_QMessageBox( 1 )->exec() );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/