summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets
diff options
context:
space:
mode:
authorJ-P Nurmi <j-p.nurmi@nokia.com>2012-08-15 13:25:11 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-17 19:29:35 +0200
commit45982e6c57fe4af6c2f6ab627483c0e4b87e2e87 (patch)
tree8db8d1b9a6c9a5bce4ddb4d39fca9c2be5a9b9dd /src/widgets/widgets
parentf4f185edd9dda513320e23b9a3e3f92be203884f (diff)
QComboBox docs: cleanup Qt3 support leftovers
Change-Id: I59352edee99321c6119aee9c0f5e428a5371c997 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/widgets/widgets')
-rw-r--r--src/widgets/widgets/qcombobox.cpp81
1 files changed, 2 insertions, 79 deletions
diff --git a/src/widgets/widgets/qcombobox.cpp b/src/widgets/widgets/qcombobox.cpp
index 6f927ab80b..916ec2ff09 100644
--- a/src/widgets/widgets/qcombobox.cpp
+++ b/src/widgets/widgets/qcombobox.cpp
@@ -754,12 +754,6 @@ QStyleOptionComboBox QComboBoxPrivateContainer::comboStyleOption() const
\value InsertAfterCurrent The string is inserted after the current item in the combobox.
\value InsertBeforeCurrent The string is inserted before the current item in the combobox.
\value InsertAlphabetically The string is inserted in the alphabetic order in the combobox.
- \omitvalue NoInsertion
- \omitvalue AtTop
- \omitvalue AtCurrent
- \omitvalue AtBottom
- \omitvalue AfterCurrent
- \omitvalue BeforeCurrent
*/
/*!
@@ -883,7 +877,7 @@ QComboBox::QComboBox(QComboBoxPrivate &dd, QWidget *parent)
When the user enters a new string in an editable combobox, the
widget may or may not insert it, and it can insert it in several
- locations. The default policy is is \l AtBottom but you can change
+ locations. The default policy is is \l InsertAtBottom but you can change
this using setInsertPolicy().
It is possible to constrain the input to an editable combobox
@@ -1488,7 +1482,7 @@ int QComboBox::findData(const QVariant &data, int role, Qt::MatchFlags flags) co
\brief the policy used to determine where user-inserted items should
appear in the combobox
- The default value is \l AtBottom, indicating that new items will appear
+ The default value is \l InsertAtBottom, indicating that new items will appear
at the bottom of the list of items.
\sa InsertPolicy
@@ -2599,12 +2593,6 @@ void QComboBox::clear()
}
/*!
- \fn void QComboBox::clearValidator()
-
- Use setValidator(0) instead.
-*/
-
-/*!
Clears the contents of the line edit used for editing in the combobox.
*/
void QComboBox::clearEditText()
@@ -3077,47 +3065,6 @@ QVariant QComboBox::inputMethodQuery(Qt::InputMethodQuery query) const
}
/*!
- \fn bool QComboBox::editable() const
-
- Use isEditable() instead.
-*/
-
-/*!
- \fn void QComboBox::insertItem(const QPixmap &pixmap, int index)
-
- Use an insertItem() function that takes a QIcon instead, for
- example, insertItem(index, QIcon(pixmap)).
-*/
-
-/*!
- \fn void QComboBox::insertItem(const QPixmap &pixmap, const QString &text, int index)
-
- Use an insertItem() function that takes a QIcon instead, for
- example, insertItem(index, QIcon(pixmap), text).
-
- \sa insertItems()
-*/
-
-/*!
- \fn void QComboBox::changeItem(const QString &text, int index)
-
- Use setItemText() instead.
-*/
-
-/*!
- \fn void QComboBox::changeItem(const QPixmap &pixmap, int index)
-
- Use setItemIcon() instead, for example,
- setItemIcon(index, QIcon(pixmap)).
-*/
-
-/*!
- \fn void QComboBox::changeItem(const QPixmap &pixmap, const QString &text, int index)
-
- Use setItem() instead, for example, setItem(index, QIcon(pixmap),text).
-*/
-
-/*!
\fn void QComboBox::addItem(const QString &text, const QVariant &userData)
Adds an item to the combobox with the given \a text, and
@@ -3202,30 +3149,6 @@ void QComboBox::setModelColumn(int visibleColumn)
setCurrentIndex(currentIndex()); //update the text to the text of the new column;
}
-/*!
- \fn int QComboBox::currentItem() const
-
- Use currentIndex() instead.
-*/
-
-/*!
- \fn void QComboBox::setCurrentItem(int)
-
- Use setCurrentIndex(int) instead.
-*/
-
-/*!
- \fn void QComboBox::popup()
-
- Use showPopup() instead.
-*/
-
-/*!
- \fn void QComboBox::textChanged(const QString &text)
-
- Use the editTextChanged(const QString &text) signal instead.
-*/
-
QT_END_NAMESPACE
#include "moc_qcombobox.cpp"