Documentation cleanup
authorDebao Zhang <dbzhang800@gmail.com>
Wed, 28 Mar 2012 21:36:48 +0000 (14:36 -0700)
committerQt by Nokia <qt-info@nokia.com>
Sat, 31 Mar 2012 06:43:34 +0000 (08:43 +0200)
They are comments of Qt3 support members which have been removed already.

Change-Id: I4b3dfaac1e5e1c3c13b83e41d0505dd16a4b6a8e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/printsupport/kernel/qprinter.cpp
src/sql/kernel/qsql.qdoc
src/widgets/dialogs/qcolordialog.cpp
src/widgets/kernel/qapplication.cpp
src/widgets/widgets/qmenubar.cpp
src/widgets/widgets/qslider.cpp
src/widgets/widgets/qtextedit.cpp

index d713639..6682550 100644 (file)
@@ -365,17 +365,6 @@ void QPrinterPrivate::addToManualSetList(QPrintEngine::PrintEnginePropertyKey ke
 */
 
 /*!
-    \enum QPrinter::PrinterOption
-    \compat
-
-    Use QAbstractPrintDialog::PrintDialogOption instead.
-
-    \value PrintToFile
-    \value PrintSelection
-    \value PrintPageRange
-*/
-
-/*!
   \enum QPrinter::PaperSize
   \since 4.4
 
@@ -513,22 +502,6 @@ void QPrinterPrivate::addToManualSetList(QPrintEngine::PrintEnginePropertyKey ke
   \sa setPrintRange(), printRange()
 */
 
-/*
-  \enum QPrinter::PrinterOption
-
-  This enum describes various printer options that appear in the
-  printer setup dialog. It is used to enable and disable these
-  options in the setup dialog.
-
-  \value PrintToFile Describes if print to file should be enabled.
-  \value PrintSelection Describes if printing selections should be enabled.
-  \value PrintPageRange Describes if printing page ranges (from, to) should
-  be enabled
-  \value PrintCurrentPage if Print Current Page option should be enabled
-
-  \sa setOptionEnabled(), isOptionEnabled()
-*/
-
 /*!
     Creates a new printer object with the given \a mode.
 */
index 0762fa9..394c255 100644 (file)
 */
 
 /*!
-    \enum QSql::Confirm
-    \compat
-
-    This enum type describes edit confirmations.
-
-    \value Yes
-    \value No
-    \value Cancel
-*/
-
-/*!
-    \enum QSql::Op
-    \compat
-
-    This enum type describes edit operations.
-
-    \value None
-    \value Insert
-    \value Update
-    \value Delete
-*/
-
-
-/*!
     \enum QSql::Location
 
     This enum type describes special SQL navigation locations:
index 263d3a6..569a106 100644 (file)
@@ -2000,12 +2000,3 @@ QT_END_NAMESPACE
 
 #endif // QT_NO_COLORDIALOG
 
-/*!
-    \fn QColor QColorDialog::getColor(const QColor &init, QWidget *parent, const char *name)
-    \compat
-*/
-
-/*!
-    \fn QRgb QColorDialog::getRgba(QRgb rgba, bool *ok, QWidget *parent, const char *name)
-    \compat
-*/
index a099faa..40263bf 100644 (file)
@@ -3925,13 +3925,6 @@ bool QApplicationPrivate::notify_helper(QObject *receiver, QEvent * e)
 */
 
 /*!
-    \typedef QApplication::ColorMode
-    \compat
-
-    Use ColorSpec instead.
-*/
-
-/*!
     \fn Qt::MacintoshVersion QApplication::macVersion()
 
     Use QSysInfo::MacintoshVersion instead.
@@ -4023,18 +4016,6 @@ bool QApplicationPrivate::inPopupMode() const
     return QApplicationPrivate::popupWidgets != 0;
 }
 
-/*! \variable QApplication::NormalColors
-    \compat
-
-    Use \l NormalColor instead.
-*/
-
-/*! \variable QApplication::CustomColors
-    \compat
-
-    Use \l CustomColor instead.
-*/
-
 #ifdef QT_KEYPAD_NAVIGATION
 /*!
     Sets the kind of focus navigation Qt should use to \a mode.
index 5ec41b8..c9818e0 100644 (file)
@@ -1906,16 +1906,6 @@ QAction *QMenuBar::defaultAction() const
 */
 
 /*!
-    \enum QMenuBar::Separator
-
-    \compat
-
-    \value Never
-    \value InWindowsStyle
-
-*/
-
-/*!
     \fn void QMenuBar::addAction(QAction *action)
     \overload
 
index 7f77bc9..5f37240 100644 (file)
@@ -536,20 +536,6 @@ QSlider::TickPosition QSlider::tickPosition() const
 }
 
 /*!
-    \fn TickPosition QSlider::tickmarks() const
-    \compat
-
-    Use tickPosition() instead.
-*/
-
-/*!
-    \fn QSlider::setTickmarks(TickPosition position)
-    \compat
-
-    Use setTickPosition() instead.
-*/
-
-/*!
     \property QSlider::tickInterval
     \brief the interval between tickmarks
 
index 198d101..86b87b3 100644 (file)
@@ -2491,19 +2491,6 @@ void QTextEdit::ensureCursorVisible()
 }
 
 /*!
-    \enum QTextEdit::KeyboardAction
-
-    \compat
-
-    \value ActionBackspace
-    \value ActionDelete
-    \value ActionReturn
-    \value ActionKill
-    \value ActionWordBackspace
-    \value ActionWordDelete
-*/
-
-/*!
     \fn bool QTextEdit::find(const QString &exp, bool cs, bool wo)
 
     Use the find() overload that takes a QTextDocument::FindFlags