tools/designer/src/lib/shared/qdesigner_taskmenu.cpp
changeset 18 2f34d5167611
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the Qt Designer of the Qt Toolkit.
     7 ** This file is part of the Qt Designer of the Qt Toolkit.
     8 **
     8 **
   673     if (selectSignalDialog.exec() == QDialog::Accepted) {
   673     if (selectSignalDialog.exec() == QDialog::Accepted) {
   674         QTreeWidgetItem *selectedItem = dialogUi.signalList->selectedItems().first();
   674         QTreeWidgetItem *selectedItem = dialogUi.signalList->selectedItems().first();
   675         const QString signalSignature = selectedItem->text(0);
   675         const QString signalSignature = selectedItem->text(0);
   676         const QStringList parameterNames = qVariantValue<QStringList>(selectedItem->data(0, Qt::UserRole));
   676         const QStringList parameterNames = qVariantValue<QStringList>(selectedItem->data(0, Qt::UserRole));
   677 
   677 
   678         // TODO: Check wether signal is connected to slot
   678         // TODO: Check whether signal is connected to slot
   679         integr->emitNavigateToSlot(objectName, signalSignature, parameterNames);
   679         integr->emitNavigateToSlot(objectName, signalSignature, parameterNames);
   680     }
   680     }
   681 }
   681 }
   682 
   682 
   683 // Add a command that takes over the value of the current geometry as
   683 // Add a command that takes over the value of the current geometry as