QCoreApplication: Removed out-of-date docs (argv() method).

QCoreApplication::argv() method was obsolete in Qt4.8
and removed in Qt5.0.

Change-Id: I217402f774f5509c8ca317a35c831ffa5ac2af06
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Tomasz Olszak 2013-07-01 22:24:55 +00:00 committed by The Qt Project
parent 9f3f455151
commit 4f71a272b5

View File

@ -394,7 +394,7 @@ QCoreApplicationPrivate::QCoreApplicationPrivate(int &aargc, char **aargv, uint
static const char *const empty = "";
if (argc == 0 || argv == 0) {
argc = 0;
argv = (char **)&empty; // ouch! careful with QCoreApplication::argv()!
argv = (char **)&empty;
}
#ifdef Q_OS_WIN
qCopy(argv, argv + argc, origArgv);
@ -589,10 +589,6 @@ void QCoreApplicationPrivate::initLocale()
Note that some arguments supplied by the user may have been
processed and removed by QCoreApplication.
In cases where command line arguments need to be obtained using the
argv() function, you must convert them from the local string encoding
using QString::fromLocal8Bit().
\section1 Locale Settings
On Unix/Linux Qt is configured to use the system locale settings by