aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/id.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2016-06-29 13:27:57 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2016-06-29 12:40:13 +0000
commit371a81434b06166317663fa4ffe8beee502ad711 (patch)
treef2dc9cff8ec86a19f7b49bb8ddf5cb647a846171 /src/lib/corelib/tools/id.cpp
parentd17ea24c73b5b58fa6f5d3f00d82de6f53459cfc (diff)
Remove unused, deprecated functions from Id class
Change-Id: I565aea613de5c50ef4a54a847386ce16b518fb3a Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/tools/id.cpp')
-rw-r--r--src/lib/corelib/tools/id.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/lib/corelib/tools/id.cpp b/src/lib/corelib/tools/id.cpp
index d6e52e5f8..c8aec750c 100644
--- a/src/lib/corelib/tools/id.cpp
+++ b/src/lib/corelib/tools/id.cpp
@@ -162,14 +162,6 @@ Id::Id(const QByteArray &name)
: m_id(theId(name))
{}
-///*!
-// \overload
-// \deprecated
-//*/
-//Id::Id(const QString &name)
-// : m_id(theId(name.toUtf8()))
-//{}
-
/*!
Returns an internal representation of the id.
*/
@@ -195,38 +187,6 @@ QString Id::toString() const
}
/*!
- Creates an id from a string representation.
-
- This should not be used to handle a persistent version
- of the Id, use \c{fromSetting()} instead.
-
- \deprecated
-
- \sa toString(), fromSetting()
-*/
-
-Id Id::fromString(const QString &name)
-{
- return Id(theId(name.toUtf8()));
-}
-
-/*!
- Creates an id from a string representation.
-
- This should not be used to handle a persistent version
- of the Id, use \c{fromSetting()} instead.
-
- \deprecated
-
- \sa toString(), fromSetting()
-*/
-
-Id Id::fromName(const QByteArray &name)
-{
- return Id(theId(name));
-}
-
-/*!
Returns a persistent value representing the id which is
suitable to be stored in QSettings.