Commit 1b3a7028 authored by Stephan Kulow's avatar Stephan Kulow

QCombBox::insertItem is QComboBox::addItem now

svn path=/trunk/KDE/kdemultimedia/juk/; revision=563358
parent 14f38ffb
......@@ -257,7 +257,7 @@ FileRenamerWidget::FileRenamerWidget(QWidget *parent) :
m_category->clear();
for(int i = StartTag; i < NumTypes; ++i) {
QString category = TagRenamerOptions::tagTypeText(static_cast<TagType>(i));
m_category->insertItem(category);
m_category->addItem(category);
}
connect(m_exampleDialog, SIGNAL(signalShown()), SLOT(exampleDialogShown()));
......
......@@ -68,12 +68,12 @@ GoogleFetcherDialog::GoogleFetcherDialog(const QString &name,
label->setText(i18n("Image size:"));
KComboBox *combo = new KComboBox(imgSize);
combo->insertItem(i18n("All Sizes"));
combo->insertItem(i18n("Very Small"));
combo->insertItem(i18n("Small"));
combo->insertItem(i18n("Medium"));
combo->insertItem(i18n("Large"));
combo->insertItem(i18n("Very Large"));
combo->addItem(i18n("All Sizes"));
combo->addItem(i18n("Very Small"));
combo->addItem(i18n("Small"));
combo->addItem(i18n("Medium"));
combo->addItem(i18n("Large"));
combo->addItem(i18n("Very Large"));
combo->setCurrentItem(0);
connect(combo, SIGNAL(activated(int)), this, SLOT(imgSizeChanged(int)));
......
......@@ -431,7 +431,7 @@ void TagEditor::updateCollection()
m_genreList.sort();
m_genreBox->clear();
m_genreBox->insertItem(QString::null);
m_genreBox->addItem(QString::null);
m_genreBox->insertStringList(m_genreList);
m_genreBox->completionObject()->setItems(m_genreList);
}
......@@ -462,7 +462,7 @@ void TagEditor::readConfig()
m_genreList.sort();
m_genreBox->clear();
m_genreBox->insertItem(QString::null);
m_genreBox->addItem(QString::null);
m_genreBox->insertStringList(m_genreList);
m_genreBox->completionObject()->setItems(m_genreList);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment