summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2015-02-27 10:11:48 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2015-02-27 12:06:05 +0000
commit9f7874822f3b4144d52d04b29b24bbfcdf7f50bc (patch)
treeea68a20af81c8bc9abe8462d4a4e5766460e251f /src/libs
parentbbcbbbdc8072b1c7ecce6f8b804df20b7e7d772d (diff)
Remove setSelected that has been deprecated since 1.3
Change-Id: I739f37bcdbb4ea17e57397e98bc49619938977d5 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/installer/component.cpp12
-rw-r--r--src/libs/installer/component.h2
2 files changed, 0 insertions, 14 deletions
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: