summaryrefslogtreecommitdiffstats
path: root/src/fetchdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-22 17:48:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 22:55:29 +0900
commitba759c68a0d76f3bd39cca9cc62c2b31bf4a5f86 (patch)
tree12e785c7a4e4cabbac960f2743de01a79ba77c2f /src/fetchdialog.cpp
parent0ed59f2f132ebbe7b340ea93ea1de240e712473e (diff)
downloadtellico-ba759c68a0d76f3bd39cca9cc62c2b31bf4a5f86.tar.gz
tellico-ba759c68a0d76f3bd39cca9cc62c2b31bf4a5f86.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/fetchdialog.cpp')
-rw-r--r--src/fetchdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fetchdialog.cpp b/src/fetchdialog.cpp
index 30ff1b9..f3eb5c6 100644
--- a/src/fetchdialog.cpp
+++ b/src/fetchdialog.cpp
@@ -227,7 +227,7 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_)
resize(configDialogSize(TQString::fromLatin1("Fetch Dialog Options")));
- TDEConfigGroup config(kapp->config(), "Fetch Dialog Options");
+ TDEConfigGroup config(tdeApp->config(), "Fetch Dialog Options");
TQValueList<int> splitList = config.readIntListEntry("Splitter Sizes");
if(!splitList.empty()) {
split->setSizes(splitList);
@@ -287,7 +287,7 @@ FetchDialog::~FetchDialog() {
saveDialogSize(TQString::fromLatin1("Fetch Dialog Options"));
- TDEConfigGroup config(kapp->config(), "Fetch Dialog Options");
+ TDEConfigGroup config(tdeApp->config(), "Fetch Dialog Options");
config.writeEntry("Splitter Sizes", static_cast<TQSplitter*>(m_listView->parentWidget())->sizes());
config.writeEntry("Search Key", m_keyCombo->currentData().toInt());
config.writeEntry("Search Source", m_sourceCombo->currentText());
@@ -312,7 +312,7 @@ void FetchDialog::slotSearchClicked() {
SmallIconSet(TQString::fromLatin1("cancel"))));
startProgress();
setStatus(i18n("Searching..."));
- kapp->processEvents();
+ tdeApp->processEvents();
Fetch::Manager::self()->startSearch(m_sourceCombo->currentText(),
static_cast<Fetch::FetchKey>(m_keyCombo->currentData().toInt()),
value);
@@ -430,7 +430,7 @@ void FetchDialog::slotResultFound(Tellico::Fetch::SearchResult* result_) {
(void) new SearchResultItem(m_listView, result_);
++m_resultCount;
adjustColumnWidth();
- kapp->processEvents();
+ tdeApp->processEvents();
}
void FetchDialog::slotAddEntry() {
@@ -472,7 +472,7 @@ void FetchDialog::slotMoreClicked() {
SmallIconSet(TQString::fromLatin1("cancel"))));
startProgress();
setStatus(i18n("Searching..."));
- kapp->processEvents();
+ tdeApp->processEvents();
Fetch::Manager::self()->continueSearch();
}
@@ -530,7 +530,7 @@ void FetchDialog::slotInit() {
Kernel::self()->sorry(i18n("No Internet sources are available for your current collection type."), this);
}
- TDEConfigGroup config(kapp->config(), "Fetch Dialog Options");
+ TDEConfigGroup config(tdeApp->config(), "Fetch Dialog Options");
int key = config.readNumEntry("Search Key", Fetch::FetchFirst);
// only change key if valid
if(key > Fetch::FetchFirst) {