summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/shared/promotionmodel.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-06-01 16:46:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-07-14 10:58:03 +0000
commitf23befda718870f3dbb8f6e005e12a251fdfd059 (patch)
treee200a5acca465c75475a0ccc731307362af3f489 /src/designer/src/lib/shared/promotionmodel.cpp
parent710e94a886a2cd870debd9f01db4b4fb393f4865 (diff)
downloadqttools-f23befda718870f3dbb8f6e005e12a251fdfd059.tar.gz
Port Qt Designer to Qt 5 signals & slot connection syntax.
Use Qt 5 signals & slot connection with exception of private slots and tool classes from the shared directory. Change-Id: I2bf4bfbdff709d15c8ee4ae3de3039bf3d210d6a Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/designer/src/lib/shared/promotionmodel.cpp')
-rw-r--r--src/designer/src/lib/shared/promotionmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/promotionmodel.cpp b/src/designer/src/lib/shared/promotionmodel.cpp
index 4d437cef0..5645d886a 100644
--- a/src/designer/src/lib/shared/promotionmodel.cpp
+++ b/src/designer/src/lib/shared/promotionmodel.cpp
@@ -113,7 +113,7 @@ namespace qdesigner_internal {
PromotionModel::PromotionModel(QDesignerFormEditorInterface *core) :
m_core(core)
{
- connect(this, SIGNAL(itemChanged(QStandardItem*)), this, SLOT(slotItemChanged(QStandardItem*)));
+ connect(this, &QStandardItemModel::itemChanged, this, &PromotionModel::slotItemChanged);
}
void PromotionModel::initializeHeaders() {