From 0e341948ae6ab993f9d56f81809e71b8a9cc753d Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Mon, 17 Oct 2011 14:18:42 +0200 Subject: Remove stale documentation. Change-Id: I85139e0334b648bee0d18129cef9387dcc6c3222 Reviewed-by: Jerome Pasion --- src/corelib/io/qdir.cpp | 29 ----------------------------- src/corelib/kernel/qtimer.cpp | 5 ----- src/corelib/thread/qthread.cpp | 12 ------------ src/corelib/tools/qcache.qdoc | 12 ------------ src/corelib/tools/qchar.cpp | 7 ------- src/corelib/tools/qhash.cpp | 10 ---------- 6 files changed, 75 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 68f015ff53..60a3d78fc4 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -1789,15 +1789,6 @@ QString QDir::currentPath() return QFileSystemEngine::currentPath().filePath(); } -/*! - \fn QString QDir::currentDirPath() - Returns the absolute path of the application's current directory. - - Use currentPath() instead. - - \sa currentPath(), setCurrent() -*/ - /*! \fn QDir QDir::home() @@ -1847,16 +1838,6 @@ QString QDir::homePath() return QFileSystemEngine::homePath(); } -/*! - \fn QString QDir::homeDirPath() - - Returns the absolute path of the user's home directory. - - Use homePath() instead. - - \sa homePath() -*/ - /*! \fn QDir QDir::temp() @@ -1913,16 +1894,6 @@ QString QDir::rootPath() return QFileSystemEngine::rootPath(); } -/*! - \fn QString QDir::rootDirPath() - - Returns the absolute path of the root directory. - - Use rootPath() instead. - - \sa rootPath() -*/ - #ifndef QT_NO_REGEXP /*! \overload diff --git a/src/corelib/kernel/qtimer.cpp b/src/corelib/kernel/qtimer.cpp index 5870885c63..9be661e42f 100644 --- a/src/corelib/kernel/qtimer.cpp +++ b/src/corelib/kernel/qtimer.cpp @@ -365,9 +365,4 @@ void QTimer::setInterval(int msec) } } -/*! \fn void QTimer::changeInterval(int msec) - - Use setInterval(msec) or start(msec) instead. -*/ - QT_END_NAMESPACE diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp index aeb118ffe5..40cb258e7e 100644 --- a/src/corelib/thread/qthread.cpp +++ b/src/corelib/thread/qthread.cpp @@ -589,18 +589,6 @@ void QThread::cleanup() qt_global_mutexpool = 0; } -/*! - \fn bool QThread::finished() const - - Use isFinished() instead. -*/ - -/*! - \fn bool QThread::running() const - - Use isRunning() instead. -*/ - /*! \fn void QThread::setPriority(Priority priority) \since 4.1 diff --git a/src/corelib/tools/qcache.qdoc b/src/corelib/tools/qcache.qdoc index 8050e87950..397c5fbb0c 100644 --- a/src/corelib/tools/qcache.qdoc +++ b/src/corelib/tools/qcache.qdoc @@ -216,15 +216,3 @@ \sa remove() */ - -/*! - \fn QCache::QCache(int maxCost, int dummy) - - Use QCache(int) instead. -*/ - -/*! - \fn T *QCache::find(const Key &key) const - - Use object() instead. -*/ diff --git a/src/corelib/tools/qchar.cpp b/src/corelib/tools/qchar.cpp index a60fac4a7b..5482cdb5a2 100644 --- a/src/corelib/tools/qchar.cpp +++ b/src/corelib/tools/qchar.cpp @@ -1282,13 +1282,6 @@ char QChar::toAscii() const return ucs > 0xff ? 0 : char(ucs); } -/*! - Converts the Latin-1 character \a c to it's equivalent QChar. This - is mainly useful for non-internationalized software. - - \sa fromAscii(), unicode(), QTextCodec::codecForCStrings() -*/ - /*! Converts the ASCII character \a c to it's equivalent QChar. This is mainly useful for non-internationalized software. diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index 937225fe11..afb5ebe951 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -1307,11 +1307,6 @@ void QHashData::checkSanity() \sa QHash::const_iterator, QMutableHashIterator */ -/*! \fn QHash::iterator::operator Node *() const - - \internal -*/ - /*! \fn QHash::iterator::iterator() Constructs an uninitialized iterator. @@ -1508,11 +1503,6 @@ void QHashData::checkSanity() \sa QHash::iterator, QHashIterator */ -/*! \fn QHash::const_iterator::operator Node *() const - - \internal -*/ - /*! \fn QHash::const_iterator::const_iterator() Constructs an uninitialized iterator. -- cgit v1.2.3