|
|
|
@ -122,7 +122,7 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
|
|
|
|
|
int maxWidth = m_searchButton->sizeHint().width();
|
|
|
|
|
int maxHeight = m_searchButton->sizeHint().height();
|
|
|
|
|
m_searchButton->setGuiItem(KGuiItem(i18n(FETCH_STRING_SEARCH),
|
|
|
|
|
SmallIconSet(TQString::fromLatin1("find"))));
|
|
|
|
|
SmallIconSet(TQString::fromLatin1("edit-find"))));
|
|
|
|
|
maxWidth = TQMAX(maxWidth, m_searchButton->sizeHint().width());
|
|
|
|
|
maxHeight = TQMAX(maxHeight, m_searchButton->sizeHint().height());
|
|
|
|
|
m_searchButton->setMinimumWidth(maxWidth);
|
|
|
|
@ -195,7 +195,7 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
|
|
|
|
|
connect(m_addButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddEntry()));
|
|
|
|
|
TQWhatsThis::add(m_addButton, i18n("Add the selected entry to the current collection"));
|
|
|
|
|
|
|
|
|
|
m_moreButton = new KPushButton(KGuiItem(i18n("Get More Results"), SmallIconSet(TQString::fromLatin1("find"))), box3);
|
|
|
|
|
m_moreButton = new KPushButton(KGuiItem(i18n("Get More Results"), SmallIconSet(TQString::fromLatin1("edit-find"))), box3);
|
|
|
|
|
m_moreButton->setEnabled(false);
|
|
|
|
|
connect(m_moreButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoreClicked()));
|
|
|
|
|
TQWhatsThis::add(m_moreButton, i18n("Fetch more results from the current data source"));
|
|
|
|
@ -363,7 +363,7 @@ void FetchDialog::slotFetchDone(bool checkISBN /* = true */) {
|
|
|
|
|
// myDebug() << "FetchDialog::slotFetchDone()" << endl;
|
|
|
|
|
m_started = false;
|
|
|
|
|
m_searchButton->setGuiItem(KGuiItem(i18n(FETCH_STRING_SEARCH),
|
|
|
|
|
SmallIconSet(TQString::fromLatin1("find"))));
|
|
|
|
|
SmallIconSet(TQString::fromLatin1("edit-find"))));
|
|
|
|
|
stopProgress();
|
|
|
|
|
if(m_resultCount == 0) {
|
|
|
|
|
slotStatus(i18n("The search returned no items."));
|
|
|
|
|