equal
deleted
inserted
replaced
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")); |