Changeset View
Changeset View
Standalone View
Standalone View
src/utils/resourcewidget.cpp
Context not available. | |||||
514 | new KRun(QUrl(url), this); | 514 | new KRun(QUrl(url), this); | ||
---|---|---|---|---|---|
515 | } | 515 | } | ||
516 | /** | 516 | /** | ||
517 | * @brief ResourceWidget::slotChangeService - fires when user changes what online resource they want to search agains via the dropdown list | 517 | * @brief ResourceWidget::slotChangeService - fires when user changes what online resource they want to search against via the dropdown list | ||
518 | 518 | | |||
519 | Also fires when widget first opens | 519 | Also fires when widget first opens | ||
520 | */ | 520 | */ | ||
Context not available. | |||||
689 | void ResourceWidget::slotSetImage(const QString &desc) | 689 | void ResourceWidget::slotSetImage(const QString &desc) | ||
690 | { | 690 | { | ||
691 | QPixmap pic(desc); | 691 | QPixmap pic(desc); | ||
692 | GifLabel->setPixmap(pic); // pass a pointer as a parameter. Display the pic in our lable | 692 | GifLabel->setPixmap(pic); // pass a pointer as a parameter. Display the pic in our label | ||
693 | } | 693 | } | ||
694 | /** @brief updates the display with information on the seleted item. The title consists of the sounds file name and the author | 694 | /** @brief updates the display with information on the selected item. The title consists of the sounds file name and the author | ||
695 | * | 695 | * | ||
696 | * Called by ResourceWidget::slotUpdateCurrentSound() | 696 | * Called by ResourceWidget::slotUpdateCurrentSound() | ||
697 | */ | 697 | */ | ||
Context not available. |