Files
harbour-core/harbour/contrib/hbqt/QCoreApplication.cpp
Viktor Szakats d441d96f05 2009-07-07 07:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
    * Formatting.
    * .cpp file rename.
      This is to resolve short term problem msvc builds failing
      due to too long command line length when assembling the library.
    ; TOFIX: On the mide term which whould split this huge lib into smaller
             pieces.
    * Moved non-generated files to the top of the file list
      to make them build first.

  * contrib/hbqt/Makefile_gen
  + contrib/hbqt/QAbstractButton.cpp
  + contrib/hbqt/QAbstractItemModel.cpp
  + contrib/hbqt/QAbstractItemView.cpp
  + contrib/hbqt/QAbstractListModel.cpp
  + contrib/hbqt/QAbstractPrintDialog.cpp
  + contrib/hbqt/QAbstractScrollArea.cpp
  + contrib/hbqt/QAbstractSlider.cpp
  + contrib/hbqt/QAbstractSpinBox.cpp
  + contrib/hbqt/QAbstractTableModel.cpp
  + contrib/hbqt/QAction.cpp
  + contrib/hbqt/QApplication.cpp
  + contrib/hbqt/QBitmap.cpp
  + contrib/hbqt/QBoxLayout.cpp
  + contrib/hbqt/QBrush.cpp
  + contrib/hbqt/QCalendarWidget.cpp
  + contrib/hbqt/QCheckBox.cpp
  + contrib/hbqt/QClipboard.cpp
  + contrib/hbqt/QColor.cpp
  + contrib/hbqt/QColorDialog.cpp
  + contrib/hbqt/QComboBox.cpp
  + contrib/hbqt/QCommandLinkButton.cpp
  + contrib/hbqt/QCommonStyle.cpp
  + contrib/hbqt/QConicalGradient.cpp
  + contrib/hbqt/QCoreApplication.cpp
  + contrib/hbqt/QCursor.cpp
  + contrib/hbqt/QDateEdit.cpp
  + contrib/hbqt/QDateTime.cpp
  + contrib/hbqt/QDateTimeEdit.cpp
  + contrib/hbqt/QDesktopWidget.cpp
  + contrib/hbqt/QDial.cpp
  + contrib/hbqt/QDialog.cpp
  + contrib/hbqt/QDir.cpp
  + contrib/hbqt/QDirModel.cpp
  + contrib/hbqt/QDockWidget.cpp
  + contrib/hbqt/QDoubleSpinBox.cpp
  + contrib/hbqt/QDragEnterEvent.cpp
  + contrib/hbqt/QDragLeaveEvent.cpp
  + contrib/hbqt/QDragMoveEvent.cpp
  + contrib/hbqt/QDropEvent.cpp
  + contrib/hbqt/QErrorMessage.cpp
  + contrib/hbqt/QEvent.cpp
  + contrib/hbqt/QEventLoop.cpp
  + contrib/hbqt/QFileDialog.cpp
  + contrib/hbqt/QFileSystemModel.cpp
  + contrib/hbqt/QFocusEvent.cpp
  + contrib/hbqt/QFocusFrame.cpp
  + contrib/hbqt/QFont.cpp
  + contrib/hbqt/QFontComboBox.cpp
  + contrib/hbqt/QFontDatabase.cpp
  + contrib/hbqt/QFontDialog.cpp
  + contrib/hbqt/QFontInfo.cpp
  + contrib/hbqt/QFormLayout.cpp
  + contrib/hbqt/QFrame.cpp
  + contrib/hbqt/QFtp.cpp
  + contrib/hbqt/QGradient.cpp
  + contrib/hbqt/QGridLayout.cpp
  + contrib/hbqt/QGroupBox.cpp
  + contrib/hbqt/QHBoxLayout.cpp
  + contrib/hbqt/QHeaderView.cpp
  + contrib/hbqt/QHttp.cpp
  + contrib/hbqt/QIcon.cpp
  + contrib/hbqt/QImage.cpp
  + contrib/hbqt/QImageReader.cpp
  + contrib/hbqt/QImageWriter.cpp
  + contrib/hbqt/QInputDialog.cpp
  + contrib/hbqt/QInputEvent.cpp
  + contrib/hbqt/QKeyEvent.cpp
  + contrib/hbqt/QKeySequence.cpp
  + contrib/hbqt/QLabel.cpp
  + contrib/hbqt/QLatin1Char.cpp
  + contrib/hbqt/QLatin1String.cpp
  + contrib/hbqt/QLayout.cpp
  + contrib/hbqt/QLayoutItem.cpp
  + contrib/hbqt/QLCDNumber.cpp
  + contrib/hbqt/QLine.cpp
  + contrib/hbqt/QLinearGradient.cpp
  + contrib/hbqt/QLineEdit.cpp
  + contrib/hbqt/QList.cpp
  + contrib/hbqt/QListView.cpp
  + contrib/hbqt/QListWidget.cpp
  + contrib/hbqt/QListWidgetItem.cpp
  + contrib/hbqt/QMainWindow.cpp
  + contrib/hbqt/QMenu.cpp
  + contrib/hbqt/QMenuBar.cpp
  + contrib/hbqt/QMessageBox.cpp
  + contrib/hbqt/QModelIndex.cpp
  + contrib/hbqt/QMouseEvent.cpp
  + contrib/hbqt/QMoveEvent.cpp
  + contrib/hbqt/QObject.cpp
  + contrib/hbqt/QPageSetupDialog.cpp
  + contrib/hbqt/QPaintDevice.cpp
  + contrib/hbqt/QPainter.cpp
  + contrib/hbqt/QPaintEvent.cpp
  + contrib/hbqt/QPalette.cpp
  + contrib/hbqt/QPen.cpp
  + contrib/hbqt/QPicture.cpp
  + contrib/hbqt/QPixmap.cpp
  + contrib/hbqt/QPoint.cpp
  + contrib/hbqt/QPointF.cpp
  + contrib/hbqt/QPrintDialog.cpp
  + contrib/hbqt/QPrintPreviewDialog.cpp
  + contrib/hbqt/QProgressBar.cpp
  + contrib/hbqt/QProgressDialog.cpp
  + contrib/hbqt/QPushButton.cpp
  + contrib/hbqt/QRadialGradient.cpp
  + contrib/hbqt/QRadioButton.cpp
  + contrib/hbqt/QRect.cpp
  + contrib/hbqt/QRectF.cpp
  + contrib/hbqt/QRegion.cpp
  + contrib/hbqt/QResizeEvent.cpp
  + contrib/hbqt/QResource.cpp
  + contrib/hbqt/QScrollArea.cpp
  + contrib/hbqt/QScrollBar.cpp
  + contrib/hbqt/QSignalMapper.cpp
  + contrib/hbqt/QSize.cpp
  + contrib/hbqt/QSizeF.cpp
  + contrib/hbqt/QSizeGrip.cpp
  + contrib/hbqt/QSizePolicy.cpp
  + contrib/hbqt/QSlider.cpp
  + contrib/hbqt/QSound.cpp
  + contrib/hbqt/QSpinBox.cpp
  + contrib/hbqt/QSplashScreen.cpp
  + contrib/hbqt/QSplitter.cpp
  + contrib/hbqt/QStandardItem.cpp
  + contrib/hbqt/QStandardItemModel.cpp
  + contrib/hbqt/QStatusBar.cpp
  + contrib/hbqt/QStringList.cpp
  + contrib/hbqt/QStringListModel.cpp
  + contrib/hbqt/QStyle.cpp
  + contrib/hbqt/QStyledItemDelegate.cpp
  + contrib/hbqt/QStyleHintReturn.cpp
  + contrib/hbqt/QStyleHintReturnMask.cpp
  + contrib/hbqt/QStyleHintReturnVariant.cpp
  + contrib/hbqt/QStyleOption.cpp
  + contrib/hbqt/QStyleOptionButton.cpp
  + contrib/hbqt/QStyleOptionComboBox.cpp
  + contrib/hbqt/QStyleOptionComplex.cpp
  + contrib/hbqt/QStyleOptionDockWidget.cpp
  + contrib/hbqt/QStyleOptionFocusRect.cpp
  + contrib/hbqt/QStyleOptionFrame.cpp
  + contrib/hbqt/QStyleOptionGroupBox.cpp
  + contrib/hbqt/QStyleOptionHeader.cpp
  + contrib/hbqt/QStyleOptionMenuItem.cpp
  + contrib/hbqt/QStyleOptionProgressBar.cpp
  + contrib/hbqt/QStyleOptionSizeGrip.cpp
  + contrib/hbqt/QStyleOptionSlider.cpp
  + contrib/hbqt/QStyleOptionSpinBox.cpp
  + contrib/hbqt/QStyleOptionTab.cpp
  + contrib/hbqt/QStyleOptionTabBarBase.cpp
  + contrib/hbqt/QStyleOptionTabWidgetFrame.cpp
  + contrib/hbqt/QStyleOptionTitleBar.cpp
  + contrib/hbqt/QStyleOptionToolBar.cpp
  + contrib/hbqt/QStyleOptionToolBox.cpp
  + contrib/hbqt/QStyleOptionToolButton.cpp
  + contrib/hbqt/QStyleOptionViewItem.cpp
  + contrib/hbqt/QStylePainter.cpp
  + contrib/hbqt/QSystemTrayIcon.cpp
  + contrib/hbqt/QTabBar.cpp
  + contrib/hbqt/QTableView.cpp
  + contrib/hbqt/QTableWidget.cpp
  + contrib/hbqt/QTableWidgetItem.cpp
  + contrib/hbqt/QTabWidget.cpp
  + contrib/hbqt/QTextBlock.cpp
  + contrib/hbqt/QTextBlockFormat.cpp
  + contrib/hbqt/QTextBlockGroup.cpp
  + contrib/hbqt/QTextBoundaryFinder.cpp
  + contrib/hbqt/QTextBrowser.cpp
  + contrib/hbqt/QTextCharFormat.cpp
  + contrib/hbqt/QTextCodec.cpp
  + contrib/hbqt/QTextCursor.cpp
  + contrib/hbqt/QTextDecoder.cpp
  + contrib/hbqt/QTextDocument.cpp
  + contrib/hbqt/QTextDocumentFragment.cpp
  + contrib/hbqt/QTextDocumentWriter.cpp
  + contrib/hbqt/QTextEdit.cpp
  + contrib/hbqt/QTextEncoder.cpp
  + contrib/hbqt/QTextFormat.cpp
  + contrib/hbqt/QTextFragment.cpp
  + contrib/hbqt/QTextFrame.cpp
  + contrib/hbqt/QTextFrameFormat.cpp
  + contrib/hbqt/QTextImageFormat.cpp
  + contrib/hbqt/QTextInlineObject.cpp
  + contrib/hbqt/QTextItem.cpp
  + contrib/hbqt/QTextLayout.cpp
  + contrib/hbqt/QTextLength.cpp
  + contrib/hbqt/QTextLine.cpp
  + contrib/hbqt/QTextObject.cpp
  + contrib/hbqt/QTextStream.cpp
  + contrib/hbqt/QTimeEdit.cpp
  + contrib/hbqt/QTimer.cpp
  + contrib/hbqt/QToolBar.cpp
  + contrib/hbqt/QToolBox.cpp
  + contrib/hbqt/QToolButton.cpp
  + contrib/hbqt/QTreeView.cpp
  + contrib/hbqt/QTreeWidget.cpp
  + contrib/hbqt/QTreeWidgetItem.cpp
  + contrib/hbqt/QUrl.cpp
  + contrib/hbqt/QVariant.cpp
  + contrib/hbqt/QVBoxLayout.cpp
  + contrib/hbqt/QWebFrame.cpp
  + contrib/hbqt/QWebHistory.cpp
  + contrib/hbqt/QWebHistoryInterface.cpp
  + contrib/hbqt/QWebHistoryItem.cpp
  + contrib/hbqt/QWebHitTestResult.cpp
  + contrib/hbqt/QWebPage.cpp
  + contrib/hbqt/QWebPluginFactory.cpp
  + contrib/hbqt/QWebSecurityOrigin.cpp
  + contrib/hbqt/QWebSettings.cpp
  + contrib/hbqt/QWebView.cpp
  + contrib/hbqt/QWheelEvent.cpp
  + contrib/hbqt/QWidget.cpp
  + contrib/hbqt/QWidgetAction.cpp
  + contrib/hbqt/QWidgetItem.cpp
  + contrib/hbqt/QWindowsStyle.cpp
  + contrib/hbqt/QWindowsXPStyle.cpp
  + contrib/hbqt/QWizard.cpp
  - contrib/hbqt/hbqt_qabstractbutton.cpp
  - contrib/hbqt/hbqt_qabstractitemmodel.cpp
  - contrib/hbqt/hbqt_qabstractitemview.cpp
  - contrib/hbqt/hbqt_qabstractlistmodel.cpp
  - contrib/hbqt/hbqt_qabstractprintdialog.cpp
  - contrib/hbqt/hbqt_qabstractscrollarea.cpp
  - contrib/hbqt/hbqt_qabstractslider.cpp
  - contrib/hbqt/hbqt_qabstractspinbox.cpp
  - contrib/hbqt/hbqt_qabstracttablemodel.cpp
  - contrib/hbqt/hbqt_qaction.cpp
  - contrib/hbqt/hbqt_qapplication.cpp
  - contrib/hbqt/hbqt_qbitmap.cpp
  - contrib/hbqt/hbqt_qboxlayout.cpp
  - contrib/hbqt/hbqt_qbrush.cpp
  - contrib/hbqt/hbqt_qcalendarwidget.cpp
  - contrib/hbqt/hbqt_qcheckbox.cpp
  - contrib/hbqt/hbqt_qclipboard.cpp
  - contrib/hbqt/hbqt_qcolor.cpp
  - contrib/hbqt/hbqt_qcolordialog.cpp
  - contrib/hbqt/hbqt_qcombobox.cpp
  - contrib/hbqt/hbqt_qcommandlinkbutton.cpp
  - contrib/hbqt/hbqt_qcommonstyle.cpp
  - contrib/hbqt/hbqt_qconicalgradient.cpp
  - contrib/hbqt/hbqt_qcoreapplication.cpp
  - contrib/hbqt/hbqt_qcursor.cpp
  - contrib/hbqt/hbqt_qdateedit.cpp
  - contrib/hbqt/hbqt_qdatetime.cpp
  - contrib/hbqt/hbqt_qdatetimeedit.cpp
  - contrib/hbqt/hbqt_qdesktopwidget.cpp
  - contrib/hbqt/hbqt_qdial.cpp
  - contrib/hbqt/hbqt_qdialog.cpp
  - contrib/hbqt/hbqt_qdir.cpp
  - contrib/hbqt/hbqt_qdirmodel.cpp
  - contrib/hbqt/hbqt_qdockwidget.cpp
  - contrib/hbqt/hbqt_qdoublespinbox.cpp
  - contrib/hbqt/hbqt_qdragenterevent.cpp
  - contrib/hbqt/hbqt_qdragleaveevent.cpp
  - contrib/hbqt/hbqt_qdragmoveevent.cpp
  - contrib/hbqt/hbqt_qdropevent.cpp
  - contrib/hbqt/hbqt_qerrormessage.cpp
  - contrib/hbqt/hbqt_qevent.cpp
  - contrib/hbqt/hbqt_qeventloop.cpp
  - contrib/hbqt/hbqt_qfiledialog.cpp
  - contrib/hbqt/hbqt_qfilesystemmodel.cpp
  - contrib/hbqt/hbqt_qfocusevent.cpp
  - contrib/hbqt/hbqt_qfocusframe.cpp
  - contrib/hbqt/hbqt_qfont.cpp
  - contrib/hbqt/hbqt_qfontcombobox.cpp
  - contrib/hbqt/hbqt_qfontdatabase.cpp
  - contrib/hbqt/hbqt_qfontdialog.cpp
  - contrib/hbqt/hbqt_qfontinfo.cpp
  - contrib/hbqt/hbqt_qformlayout.cpp
  - contrib/hbqt/hbqt_qframe.cpp
  - contrib/hbqt/hbqt_qftp.cpp
  - contrib/hbqt/hbqt_qgradient.cpp
  - contrib/hbqt/hbqt_qgridlayout.cpp
  - contrib/hbqt/hbqt_qgroupbox.cpp
  - contrib/hbqt/hbqt_qhboxlayout.cpp
  - contrib/hbqt/hbqt_qheaderview.cpp
  - contrib/hbqt/hbqt_qhttp.cpp
  - contrib/hbqt/hbqt_qicon.cpp
  - contrib/hbqt/hbqt_qimage.cpp
  - contrib/hbqt/hbqt_qimagereader.cpp
  - contrib/hbqt/hbqt_qimagewriter.cpp
  - contrib/hbqt/hbqt_qinputdialog.cpp
  - contrib/hbqt/hbqt_qinputevent.cpp
  - contrib/hbqt/hbqt_qkeyevent.cpp
  - contrib/hbqt/hbqt_qkeysequence.cpp
  - contrib/hbqt/hbqt_qlabel.cpp
  - contrib/hbqt/hbqt_qlatin1char.cpp
  - contrib/hbqt/hbqt_qlatin1string.cpp
  - contrib/hbqt/hbqt_qlayout.cpp
  - contrib/hbqt/hbqt_qlayoutitem.cpp
  - contrib/hbqt/hbqt_qlcdnumber.cpp
  - contrib/hbqt/hbqt_qline.cpp
  - contrib/hbqt/hbqt_qlineargradient.cpp
  - contrib/hbqt/hbqt_qlineedit.cpp
  - contrib/hbqt/hbqt_qlist.cpp
  - contrib/hbqt/hbqt_qlistview.cpp
  - contrib/hbqt/hbqt_qlistwidget.cpp
  - contrib/hbqt/hbqt_qlistwidgetitem.cpp
  - contrib/hbqt/hbqt_qmainwindow.cpp
  - contrib/hbqt/hbqt_qmenu.cpp
  - contrib/hbqt/hbqt_qmenubar.cpp
  - contrib/hbqt/hbqt_qmessagebox.cpp
  - contrib/hbqt/hbqt_qmodelindex.cpp
  - contrib/hbqt/hbqt_qmouseevent.cpp
  - contrib/hbqt/hbqt_qmoveevent.cpp
  - contrib/hbqt/hbqt_qobject.cpp
  - contrib/hbqt/hbqt_qpagesetupdialog.cpp
  - contrib/hbqt/hbqt_qpaintdevice.cpp
  - contrib/hbqt/hbqt_qpainter.cpp
  - contrib/hbqt/hbqt_qpaintevent.cpp
  - contrib/hbqt/hbqt_qpalette.cpp
  - contrib/hbqt/hbqt_qpen.cpp
  - contrib/hbqt/hbqt_qpicture.cpp
  - contrib/hbqt/hbqt_qpixmap.cpp
  - contrib/hbqt/hbqt_qpoint.cpp
  - contrib/hbqt/hbqt_qpointf.cpp
  - contrib/hbqt/hbqt_qprintdialog.cpp
  - contrib/hbqt/hbqt_qprintpreviewdialog.cpp
  - contrib/hbqt/hbqt_qprogressbar.cpp
  - contrib/hbqt/hbqt_qprogressdialog.cpp
  - contrib/hbqt/hbqt_qpushbutton.cpp
  - contrib/hbqt/hbqt_qradialgradient.cpp
  - contrib/hbqt/hbqt_qradiobutton.cpp
  - contrib/hbqt/hbqt_qrect.cpp
  - contrib/hbqt/hbqt_qrectf.cpp
  - contrib/hbqt/hbqt_qregion.cpp
  - contrib/hbqt/hbqt_qresizeevent.cpp
  - contrib/hbqt/hbqt_qresource.cpp
  - contrib/hbqt/hbqt_qscrollarea.cpp
  - contrib/hbqt/hbqt_qscrollbar.cpp
  - contrib/hbqt/hbqt_qsignalmapper.cpp
  - contrib/hbqt/hbqt_qsize.cpp
  - contrib/hbqt/hbqt_qsizef.cpp
  - contrib/hbqt/hbqt_qsizegrip.cpp
  - contrib/hbqt/hbqt_qsizepolicy.cpp
  - contrib/hbqt/hbqt_qslider.cpp
  - contrib/hbqt/hbqt_qsound.cpp
  - contrib/hbqt/hbqt_qspinbox.cpp
  - contrib/hbqt/hbqt_qsplashscreen.cpp
  - contrib/hbqt/hbqt_qsplitter.cpp
  - contrib/hbqt/hbqt_qstandarditem.cpp
  - contrib/hbqt/hbqt_qstandarditemmodel.cpp
  - contrib/hbqt/hbqt_qstatusbar.cpp
  - contrib/hbqt/hbqt_qstringlist.cpp
  - contrib/hbqt/hbqt_qstringlistmodel.cpp
  - contrib/hbqt/hbqt_qstyle.cpp
  - contrib/hbqt/hbqt_qstyleditemdelegate.cpp
  - contrib/hbqt/hbqt_qstylehintreturn.cpp
  - contrib/hbqt/hbqt_qstylehintreturnmask.cpp
  - contrib/hbqt/hbqt_qstylehintreturnvariant.cpp
  - contrib/hbqt/hbqt_qstyleoption.cpp
  - contrib/hbqt/hbqt_qstyleoptionbutton.cpp
  - contrib/hbqt/hbqt_qstyleoptioncombobox.cpp
  - contrib/hbqt/hbqt_qstyleoptioncomplex.cpp
  - contrib/hbqt/hbqt_qstyleoptiondockwidget.cpp
  - contrib/hbqt/hbqt_qstyleoptionfocusrect.cpp
  - contrib/hbqt/hbqt_qstyleoptionframe.cpp
  - contrib/hbqt/hbqt_qstyleoptiongroupbox.cpp
  - contrib/hbqt/hbqt_qstyleoptionheader.cpp
  - contrib/hbqt/hbqt_qstyleoptionmenuitem.cpp
  - contrib/hbqt/hbqt_qstyleoptionprogressbar.cpp
  - contrib/hbqt/hbqt_qstyleoptionsizegrip.cpp
  - contrib/hbqt/hbqt_qstyleoptionslider.cpp
  - contrib/hbqt/hbqt_qstyleoptionspinbox.cpp
  - contrib/hbqt/hbqt_qstyleoptiontab.cpp
  - contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp
  - contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp
  - contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp
  - contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp
  - contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp
  - contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp
  - contrib/hbqt/hbqt_qstyleoptionviewitem.cpp
  - contrib/hbqt/hbqt_qstylepainter.cpp
  - contrib/hbqt/hbqt_qsystemtrayicon.cpp
  - contrib/hbqt/hbqt_qtabbar.cpp
  - contrib/hbqt/hbqt_qtableview.cpp
  - contrib/hbqt/hbqt_qtablewidget.cpp
  - contrib/hbqt/hbqt_qtablewidgetitem.cpp
  - contrib/hbqt/hbqt_qtabwidget.cpp
  - contrib/hbqt/hbqt_qtextblock.cpp
  - contrib/hbqt/hbqt_qtextblockformat.cpp
  - contrib/hbqt/hbqt_qtextblockgroup.cpp
  - contrib/hbqt/hbqt_qtextboundaryfinder.cpp
  - contrib/hbqt/hbqt_qtextbrowser.cpp
  - contrib/hbqt/hbqt_qtextcharformat.cpp
  - contrib/hbqt/hbqt_qtextcodec.cpp
  - contrib/hbqt/hbqt_qtextcursor.cpp
  - contrib/hbqt/hbqt_qtextdecoder.cpp
  - contrib/hbqt/hbqt_qtextdocument.cpp
  - contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  - contrib/hbqt/hbqt_qtextdocumentwriter.cpp
  - contrib/hbqt/hbqt_qtextedit.cpp
  - contrib/hbqt/hbqt_qtextencoder.cpp
  - contrib/hbqt/hbqt_qtextformat.cpp
  - contrib/hbqt/hbqt_qtextfragment.cpp
  - contrib/hbqt/hbqt_qtextframe.cpp
  - contrib/hbqt/hbqt_qtextframeformat.cpp
  - contrib/hbqt/hbqt_qtextimageformat.cpp
  - contrib/hbqt/hbqt_qtextinlineobject.cpp
  - contrib/hbqt/hbqt_qtextitem.cpp
  - contrib/hbqt/hbqt_qtextlayout.cpp
  - contrib/hbqt/hbqt_qtextlength.cpp
  - contrib/hbqt/hbqt_qtextline.cpp
  - contrib/hbqt/hbqt_qtextobject.cpp
  - contrib/hbqt/hbqt_qtextstream.cpp
  - contrib/hbqt/hbqt_qtimeedit.cpp
  - contrib/hbqt/hbqt_qtimer.cpp
  - contrib/hbqt/hbqt_qtoolbar.cpp
  - contrib/hbqt/hbqt_qtoolbox.cpp
  - contrib/hbqt/hbqt_qtoolbutton.cpp
  - contrib/hbqt/hbqt_qtreeview.cpp
  - contrib/hbqt/hbqt_qtreewidget.cpp
  - contrib/hbqt/hbqt_qtreewidgetitem.cpp
  - contrib/hbqt/hbqt_qurl.cpp
  - contrib/hbqt/hbqt_qvariant.cpp
  - contrib/hbqt/hbqt_qvboxlayout.cpp
  - contrib/hbqt/hbqt_qwebframe.cpp
  - contrib/hbqt/hbqt_qwebhistory.cpp
  - contrib/hbqt/hbqt_qwebhistoryinterface.cpp
  - contrib/hbqt/hbqt_qwebhistoryitem.cpp
  - contrib/hbqt/hbqt_qwebhittestresult.cpp
  - contrib/hbqt/hbqt_qwebpage.cpp
  - contrib/hbqt/hbqt_qwebpluginfactory.cpp
  - contrib/hbqt/hbqt_qwebsecurityorigin.cpp
  - contrib/hbqt/hbqt_qwebsettings.cpp
  - contrib/hbqt/hbqt_qwebview.cpp
  - contrib/hbqt/hbqt_qwheelevent.cpp
  - contrib/hbqt/hbqt_qwidget.cpp
  - contrib/hbqt/hbqt_qwidgetaction.cpp
  - contrib/hbqt/hbqt_qwidgetitem.cpp
  - contrib/hbqt/hbqt_qwindowsstyle.cpp
  - contrib/hbqt/hbqt_qwindowsxpstyle.cpp
  - contrib/hbqt/hbqt_qwizard.cpp
    * .cpp file rename.
2009-07-07 05:56:01 +00:00

410 lines
11 KiB
C++

/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.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
/*----------------------------------------------------------------------*/
/*
* Constructed[ 40/41 [ 97.56% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* EventFilter setEventFilter ( EventFilter filter )
*/
#include <QStringList>
#include <QtCore/QCoreApplication>
/*
* QCoreApplication ( int & argc, char ** argv )
* ~QCoreApplication ()
*/
HB_FUNC( QT_QCOREAPPLICATION )
{
}
/*
* virtual bool notify ( QObject * receiver, QEvent * event )
*/
HB_FUNC( QT_QCOREAPPLICATION_NOTIFY )
{
hb_retl( hbqt_par_QCoreApplication( 1 )->notify( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) );
}
/*
* void addLibraryPath ( const QString & path )
*/
HB_FUNC( QT_QCOREAPPLICATION_ADDLIBRARYPATH )
{
hbqt_par_QCoreApplication( 1 )->addLibraryPath( hbqt_par_QString( 2 ) );
}
/*
* QString applicationDirPath ()
*/
HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONDIRPATH )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->applicationDirPath().toLatin1().data() );
}
/*
* QString applicationFilePath ()
*/
HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONFILEPATH )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->applicationFilePath().toLatin1().data() );
}
/*
* QString applicationName ()
*/
HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONNAME )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->applicationName().toLatin1().data() );
}
/*
* qint64 applicationPid ()
*/
HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONPID )
{
hb_retnint( hbqt_par_QCoreApplication( 1 )->applicationPid() );
}
/*
* QString applicationVersion ()
*/
HB_FUNC( QT_QCOREAPPLICATION_APPLICATIONVERSION )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->applicationVersion().toLatin1().data() );
}
/*
* QStringList arguments ()
*/
HB_FUNC( QT_QCOREAPPLICATION_ARGUMENTS )
{
hb_retptr( new QStringList( hbqt_par_QCoreApplication( 1 )->arguments() ) );
}
/*
* bool closingDown ()
*/
HB_FUNC( QT_QCOREAPPLICATION_CLOSINGDOWN )
{
hb_retl( hbqt_par_QCoreApplication( 1 )->closingDown() );
}
/*
* int exec ()
*/
HB_FUNC( QT_QCOREAPPLICATION_EXEC )
{
hb_retni( hbqt_par_QCoreApplication( 1 )->exec() );
}
/*
* void exit ( int returnCode = 0 )
*/
HB_FUNC( QT_QCOREAPPLICATION_EXIT )
{
hbqt_par_QCoreApplication( 1 )->exit( hb_parni( 2 ) );
}
/*
* void flush ()
*/
HB_FUNC( QT_QCOREAPPLICATION_FLUSH )
{
hbqt_par_QCoreApplication( 1 )->flush();
}
/*
* bool hasPendingEvents ()
*/
HB_FUNC( QT_QCOREAPPLICATION_HASPENDINGEVENTS )
{
hb_retl( hbqt_par_QCoreApplication( 1 )->hasPendingEvents() );
}
/*
* void installTranslator ( QTranslator * translationFile )
*/
HB_FUNC( QT_QCOREAPPLICATION_INSTALLTRANSLATOR )
{
hbqt_par_QCoreApplication( 1 )->installTranslator( hbqt_par_QTranslator( 2 ) );
}
/*
* QCoreApplication * instance ()
*/
HB_FUNC( QT_QCOREAPPLICATION_INSTANCE )
{
hb_retptr( ( QCoreApplication* ) hbqt_par_QCoreApplication( 1 )->instance() );
}
/*
* QStringList libraryPaths ()
*/
HB_FUNC( QT_QCOREAPPLICATION_LIBRARYPATHS )
{
hb_retptr( new QStringList( hbqt_par_QCoreApplication( 1 )->libraryPaths() ) );
}
/*
* QString organizationDomain ()
*/
HB_FUNC( QT_QCOREAPPLICATION_ORGANIZATIONDOMAIN )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->organizationDomain().toLatin1().data() );
}
/*
* QString organizationName ()
*/
HB_FUNC( QT_QCOREAPPLICATION_ORGANIZATIONNAME )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->organizationName().toLatin1().data() );
}
/*
* void postEvent ( QObject * receiver, QEvent * event )
*/
HB_FUNC( QT_QCOREAPPLICATION_POSTEVENT )
{
hbqt_par_QCoreApplication( 1 )->postEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) );
}
/*
* void postEvent ( QObject * receiver, QEvent * event, int priority )
*/
HB_FUNC( QT_QCOREAPPLICATION_POSTEVENT_1 )
{
hbqt_par_QCoreApplication( 1 )->postEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ), hb_parni( 4 ) );
}
/*
* void processEvents ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents )
*/
HB_FUNC( QT_QCOREAPPLICATION_PROCESSEVENTS )
{
hbqt_par_QCoreApplication( 1 )->processEvents( ( HB_ISNUM( 2 ) ? ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ) : ( QEventLoop::ProcessEventsFlags ) QEventLoop::AllEvents ) );
}
/*
* void processEvents ( QEventLoop::ProcessEventsFlags flags, int maxtime )
*/
HB_FUNC( QT_QCOREAPPLICATION_PROCESSEVENTS_1 )
{
hbqt_par_QCoreApplication( 1 )->processEvents( ( QEventLoop::ProcessEventsFlags ) hb_parni( 2 ), hb_parni( 3 ) );
}
/*
* void removeLibraryPath ( const QString & path )
*/
HB_FUNC( QT_QCOREAPPLICATION_REMOVELIBRARYPATH )
{
hbqt_par_QCoreApplication( 1 )->removeLibraryPath( hbqt_par_QString( 2 ) );
}
/*
* void removePostedEvents ( QObject * receiver )
*/
HB_FUNC( QT_QCOREAPPLICATION_REMOVEPOSTEDEVENTS )
{
hbqt_par_QCoreApplication( 1 )->removePostedEvents( hbqt_par_QObject( 2 ) );
}
/*
* void removePostedEvents ( QObject * receiver, int eventType )
*/
HB_FUNC( QT_QCOREAPPLICATION_REMOVEPOSTEDEVENTS_1 )
{
hbqt_par_QCoreApplication( 1 )->removePostedEvents( hbqt_par_QObject( 2 ), hb_parni( 3 ) );
}
/*
* void removeTranslator ( QTranslator * translationFile )
*/
HB_FUNC( QT_QCOREAPPLICATION_REMOVETRANSLATOR )
{
hbqt_par_QCoreApplication( 1 )->removeTranslator( hbqt_par_QTranslator( 2 ) );
}
/*
* bool sendEvent ( QObject * receiver, QEvent * event )
*/
HB_FUNC( QT_QCOREAPPLICATION_SENDEVENT )
{
hb_retl( hbqt_par_QCoreApplication( 1 )->sendEvent( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) );
}
/*
* void sendPostedEvents ( QObject * receiver, int event_type )
*/
HB_FUNC( QT_QCOREAPPLICATION_SENDPOSTEDEVENTS )
{
hbqt_par_QCoreApplication( 1 )->sendPostedEvents( hbqt_par_QObject( 2 ), hb_parni( 3 ) );
}
/*
* void sendPostedEvents ()
*/
HB_FUNC( QT_QCOREAPPLICATION_SENDPOSTEDEVENTS_1 )
{
hbqt_par_QCoreApplication( 1 )->sendPostedEvents();
}
/*
* void setApplicationName ( const QString & application )
*/
HB_FUNC( QT_QCOREAPPLICATION_SETAPPLICATIONNAME )
{
hbqt_par_QCoreApplication( 1 )->setApplicationName( hbqt_par_QString( 2 ) );
}
/*
* void setApplicationVersion ( const QString & version )
*/
HB_FUNC( QT_QCOREAPPLICATION_SETAPPLICATIONVERSION )
{
hbqt_par_QCoreApplication( 1 )->setApplicationVersion( hbqt_par_QString( 2 ) );
}
/*
* void setAttribute ( Qt::ApplicationAttribute attribute, bool on = true )
*/
HB_FUNC( QT_QCOREAPPLICATION_SETATTRIBUTE )
{
hbqt_par_QCoreApplication( 1 )->setAttribute( ( Qt::ApplicationAttribute ) hb_parni( 2 ), hb_parl( 3 ) );
}
/*
* void setLibraryPaths ( const QStringList & paths )
*/
HB_FUNC( QT_QCOREAPPLICATION_SETLIBRARYPATHS )
{
hbqt_par_QCoreApplication( 1 )->setLibraryPaths( *hbqt_par_QStringList( 2 ) );
}
/*
* void setOrganizationDomain ( const QString & orgDomain )
*/
HB_FUNC( QT_QCOREAPPLICATION_SETORGANIZATIONDOMAIN )
{
hbqt_par_QCoreApplication( 1 )->setOrganizationDomain( hbqt_par_QString( 2 ) );
}
/*
* void setOrganizationName ( const QString & orgName )
*/
HB_FUNC( QT_QCOREAPPLICATION_SETORGANIZATIONNAME )
{
hbqt_par_QCoreApplication( 1 )->setOrganizationName( hbqt_par_QString( 2 ) );
}
/*
* bool startingUp ()
*/
HB_FUNC( QT_QCOREAPPLICATION_STARTINGUP )
{
hb_retl( hbqt_par_QCoreApplication( 1 )->startingUp() );
}
/*
* bool testAttribute ( Qt::ApplicationAttribute attribute )
*/
HB_FUNC( QT_QCOREAPPLICATION_TESTATTRIBUTE )
{
hb_retl( hbqt_par_QCoreApplication( 1 )->testAttribute( ( Qt::ApplicationAttribute ) hb_parni( 2 ) ) );
}
/*
* QString translate ( const char * context, const char * sourceText, const char * disambiguation, Encoding encoding, int n )
*/
HB_FUNC( QT_QCOREAPPLICATION_TRANSLATE )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->translate( hbqt_par_char( 2 ), hbqt_par_char( 3 ), hbqt_par_char( 4 ), ( QCoreApplication::Encoding ) hb_parni( 5 ), hb_parni( 6 ) ).toLatin1().data() );
}
/*
* QString translate ( const char * context, const char * sourceText, const char * disambiguation = 0, Encoding encoding = CodecForTr )
*/
HB_FUNC( QT_QCOREAPPLICATION_TRANSLATE_1 )
{
hb_retc( hbqt_par_QCoreApplication( 1 )->translate( hbqt_par_char( 2 ), hbqt_par_char( 3 ), hbqt_par_char( 4 ), ( HB_ISNUM( 5 ) ? ( QCoreApplication::Encoding ) hb_parni( 5 ) : ( QCoreApplication::Encoding ) QCoreApplication::CodecForTr ) ).toLatin1().data() );
}
/*
* void quit ()
*/
HB_FUNC( QT_QCOREAPPLICATION_QUIT )
{
hbqt_par_QCoreApplication( 1 )->quit();
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/