From 9f7874822f3b4144d52d04b29b24bbfcdf7f50bc Mon Sep 17 00:00:00 2001 From: Niels Weber Date: Fri, 27 Feb 2015 10:11:48 +0100 Subject: Remove setSelected that has been deprecated since 1.3 Change-Id: I739f37bcdbb4ea17e57397e98bc49619938977d5 Reviewed-by: Karsten Heimrich --- src/libs/installer/component.cpp | 12 ------------ src/libs/installer/component.h | 2 -- 2 files changed, 14 deletions(-) (limited to 'src/libs') diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index 51dc9d91a..fc689f911 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -1136,18 +1136,6 @@ bool Component::validatePage() return true; } -/*! - \qmlmethod void component::setSelected(boolean selected) - - Marks the component for installation. Emits the selectedChanged() signal if the check state changes. - - \note This method does not do anything and is deprecated since 1.3. -*/ -void Component::setSelected(bool selected) -{ - Q_UNUSED(selected) - qDebug() << Q_FUNC_INFO << QString::fromLatin1("on '%1' is deprecated.").arg(d->m_componentName); -} /*! \qmlmethod void component::addDependency(string newDependency) diff --git a/src/libs/installer/component.h b/src/libs/installer/component.h index 257965c8d..b8e4e93b1 100644 --- a/src/libs/installer/component.h +++ b/src/libs/installer/component.h @@ -62,7 +62,6 @@ class INSTALLER_EXPORT Component : public QObject, public ComponentModelHelper Q_PROPERTY(QString name READ name) Q_PROPERTY(QString displayName READ displayName) - Q_PROPERTY(bool selected READ isSelected WRITE setSelected) Q_PROPERTY(bool autoCreateOperations READ autoCreateOperations WRITE setAutoCreateOperations) Q_PROPERTY(QStringList archives READ archives) Q_PROPERTY(QStringList userInterfaces READ userInterfaces) @@ -203,7 +202,6 @@ public: bool validatePage(); public Q_SLOTS: - void setSelected(bool selected); void setAutoCreateOperations(bool autoCreateOperations); Q_SIGNALS: -- cgit v1.2.3