Commit 23cac120 authored by Yuriy Syrovetskiy's avatar Yuriy Syrovetskiy

Add QDateTimeEdit::dateChanged() signal

parent d6ce3cc5
......@@ -93,6 +93,7 @@ forEachListener() {
$fn PtrQWidgetPtrQWidget "QWidget*|QWidget*"
$fn QAbstractSliderAction "QAbstractSlider::SliderAction"
$fn QClipboardMode "QClipboard::Mode"
$fn QDate "QDate"
$fn QModelIndex "QModelIndex"
$fn QModelIndexIntInt "QModelIndex|int|int"
$fn QModelIndexIntIntQModelIndexInt "QModelIndex|int|int|QModelIndex|int"
......
......@@ -43,6 +43,7 @@ import Foreign.Hoppy.Generator.Types (
import Foreign.Hoppy.Generator.Version (collect, just, test)
import Graphics.UI.Qtah.Generator.Flags (qtVersion)
import Graphics.UI.Qtah.Generator.Interface.Core.QAbstractItemModel (c_QAbstractItemModel)
import Graphics.UI.Qtah.Generator.Interface.Core.QDate (c_QDate)
import Graphics.UI.Qtah.Generator.Interface.Core.QEvent (c_QEvent)
import Graphics.UI.Qtah.Generator.Interface.Core.QItemSelection (c_QItemSelection)
import Graphics.UI.Qtah.Generator.Interface.Core.QModelIndex (c_QModelIndex)
......@@ -104,6 +105,7 @@ aModule =
, just $ ExportCallback cb_PtrQWidgetPtrQWidgetVoid
, just $ ExportCallback cb_QAbstractSliderActionVoid
, just $ ExportCallback cb_QClipboardModeVoid
, just $ ExportCallback cb_QDateVoid
, just $ ExportCallback cb_QModelIndexVoid
, just $ ExportCallback cb_QModelIndexIntIntVoid
, just $ ExportCallback cb_QModelIndexIntIntQModelIndexIntVoid
......@@ -208,6 +210,10 @@ cb_QClipboardModeVoid =
makeCallback (toExtName "CallbackQClipboardModeVoid")
[enumT QClipboard.e_Mode] voidT
cb_QDateVoid =
makeCallback (toExtName "CallbackQDateVoid")
[objT c_QDate] voidT
cb_QModelIndexVoid =
makeCallback (toExtName "CallbackQModelIndexVoid")
[objT c_QModelIndex] voidT
......
......@@ -43,7 +43,7 @@ import Graphics.UI.Qtah.Generator.Flags (qtVersion)
import Graphics.UI.Qtah.Generator.Interface.Core.QDate (c_QDate)
import Graphics.UI.Qtah.Generator.Interface.Core.QString (c_QString)
import Graphics.UI.Qtah.Generator.Interface.Core.Types (bs_Alignment)
import Graphics.UI.Qtah.Generator.Interface.Internal.Listener (c_Listener)
import Graphics.UI.Qtah.Generator.Interface.Internal.Listener (c_ListenerQDate)
import Graphics.UI.Qtah.Generator.Interface.Widgets.QAbstractSpinBox (
c_QAbstractSpinBox,
)
......@@ -93,7 +93,9 @@ c_QDateTimeEdit =
]
signals =
[
[ makeSignal c_QDateTimeEdit "dateChanged" c_ListenerQDate
-- TODO void dateTimeChanged(const QDateTime &datetime)
-- TODO void timeChanged(const QTime &time)
]
(e_Section, bs_Sections) = makeQtEnumBitspace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment