tools/designer/src/lib/shared/promotionmodel.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   119 namespace qdesigner_internal {
   119 namespace qdesigner_internal {
   120 
   120 
   121     PromotionModel::PromotionModel(QDesignerFormEditorInterface *core) :
   121     PromotionModel::PromotionModel(QDesignerFormEditorInterface *core) :
   122         m_core(core)
   122         m_core(core)
   123     {
   123     {
   124         connect(this, SIGNAL(itemChanged(QStandardItem *)), this, SLOT(slotItemChanged(QStandardItem *)));
   124         connect(this, SIGNAL(itemChanged(QStandardItem*)), this, SLOT(slotItemChanged(QStandardItem*)));
   125     }
   125     }
   126 
   126 
   127     void PromotionModel::initializeHeaders() {
   127     void PromotionModel::initializeHeaders() {
   128         setColumnCount(NumColumns);
   128         setColumnCount(NumColumns);
   129         QStringList horizontalLabels(tr("Name"));
   129         QStringList horizontalLabels(tr("Name"));