Add QAbstractTableModel.

parent f9f93384
......@@ -56,6 +56,7 @@ executable qtah-generator
, Graphics.UI.Qtah.Generator.Interface.Core
, Graphics.UI.Qtah.Generator.Interface.Core.QAbstractItemModel
, Graphics.UI.Qtah.Generator.Interface.Core.QAbstractListModel
, Graphics.UI.Qtah.Generator.Interface.Core.QAbstractTableModel
, Graphics.UI.Qtah.Generator.Interface.Core.QChar
, Graphics.UI.Qtah.Generator.Interface.Core.QChildEvent
, Graphics.UI.Qtah.Generator.Interface.Core.QCoreApplication
......
......@@ -19,6 +19,7 @@ module Graphics.UI.Qtah.Generator.Interface.Core (modules) where
import qualified Graphics.UI.Qtah.Generator.Interface.Core.QAbstractItemModel as QAbstractItemModel
import qualified Graphics.UI.Qtah.Generator.Interface.Core.QAbstractListModel as QAbstractListModel
import qualified Graphics.UI.Qtah.Generator.Interface.Core.QAbstractTableModel as QAbstractTableModel
import qualified Graphics.UI.Qtah.Generator.Interface.Core.QChar as QChar
import qualified Graphics.UI.Qtah.Generator.Interface.Core.QChildEvent as QChildEvent
import qualified Graphics.UI.Qtah.Generator.Interface.Core.QCoreApplication as QCoreApplication
......@@ -51,6 +52,7 @@ modules =
concat
[ [ QAbstractItemModel.aModule
, QAbstractListModel.aModule
, QAbstractTableModel.aModule
, QChar.aModule
, QChildEvent.aModule
, QCoreApplication.aModule
......
-- This file is part of Qtah.
--
-- Copyright 2017 Bryan Gardiner <bog@khumba.net>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Lesser General Public License for more details.
--
-- You should have received a copy of the GNU Lesser General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
module Graphics.UI.Qtah.Generator.Interface.Core.QAbstractTableModel (
aModule,
c_QAbstractTableModel,
) where
import Foreign.Hoppy.Generator.Spec (
Export (ExportClass),
addReqIncludes,
classSetEntityPrefix,
ident,
includeStd,
makeClass,
)
import Graphics.UI.Qtah.Generator.Interface.Core.QAbstractItemModel (c_QAbstractItemModel)
import Graphics.UI.Qtah.Generator.Module (AModule (AQtModule), makeQtModule)
import Graphics.UI.Qtah.Generator.Types
{-# ANN module "HLint: ignore Use camelCase" #-}
aModule =
AQtModule $
makeQtModule ["Core", "QAbstractTableModel"] $
[ QtExport $ ExportClass c_QAbstractTableModel ]
c_QAbstractTableModel =
addReqIncludes [includeStd "QAbstractTableModel"] $
classSetEntityPrefix "" $
makeClass (ident "QAbstractTableModel") Nothing [c_QAbstractItemModel]
[]
......@@ -31,6 +31,7 @@ library
, Graphics.UI.Qtah.Core.HSize
, Graphics.UI.Qtah.Core.QAbstractItemModel
, Graphics.UI.Qtah.Core.QAbstractListModel
, Graphics.UI.Qtah.Core.QAbstractTableModel
, Graphics.UI.Qtah.Core.QChar
, Graphics.UI.Qtah.Core.QChildEvent
, Graphics.UI.Qtah.Core.QCoreApplication
......@@ -137,6 +138,7 @@ library
other-modules:
Graphics.UI.Qtah.Generated.Core.QAbstractItemModel
, Graphics.UI.Qtah.Generated.Core.QAbstractListModel
, Graphics.UI.Qtah.Generated.Core.QAbstractTableModel
, Graphics.UI.Qtah.Generated.Core.QChar
, Graphics.UI.Qtah.Generated.Core.QChildEvent
, Graphics.UI.Qtah.Generated.Core.QCoreApplication
......
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