Compare commits

..

51 Commits

Author SHA1 Message Date
Michele Calgaro 2b574c1420
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Heimen Stoffels 3b180bcc43 Translated using Weblate (Dutch)
Currently translated at 100.0% (4 of 4 strings)

Translation: applications/tellico - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/nl/
4 months ago
Heimen Stoffels a31a3e7509 Added translation using Weblate (Dutch) 4 months ago
TDE Weblate dceefd9ce7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/
5 months ago
Michele Calgaro c7a5c2b4e2 Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: applications/tellico - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/it/
5 months ago
Michele Calgaro 834dbb63d0 Added translation using Weblate (Italian) 5 months ago
Michele Calgaro c766a5f4ed
Use tdestandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Temuri Doghonadze cb4586519e Translated using Weblate (Georgian)
Currently translated at 88.1% (981 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ka/
5 months ago
Temuri Doghonadze 888021df20 Translated using Weblate (Georgian)
Currently translated at 88.0% (980 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ka/
6 months ago
Temuri Doghonadze 50db2c9e62 Translated using Weblate (Georgian)
Currently translated at 87.7% (977 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ka/
6 months ago
Michele Calgaro ba759c68a0
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro 0ed59f2f13
Fix FTBFS with gcc 15. This resolves issue #28
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Temuri Doghonadze 82615f81e3 Translated using Weblate (Georgian)
Currently translated at 85.7% (954 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ka/
7 months ago
Temuri Doghonadze f1554c1b9e Added translation using Weblate (Georgian) 7 months ago
Michele Calgaro 49746c5b86
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 39632dffef
Use TDEProcIO class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 08c9aa58e3
Use tdeprocess.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Temuri Doghonadze b9659f719f Translated using Weblate (Georgian)
Currently translated at 100.0% (4 of 4 strings)

Translation: applications/tellico - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/ka/
9 months ago
Temuri Doghonadze f4893ab56e Added translation using Weblate (Georgian) 9 months ago
TDE Weblate 4395fe8c31 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/
10 months ago
Andrei Stepanov fb3e3b163d Translated using Weblate (Russian)
Currently translated at 100.0% (1113 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ru/
1 year ago
Andrei Stepanov c5aed3877d Translated using Weblate (Russian)
Currently translated at 100.0% (1113 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ru/
1 year ago
Andrei Stepanov 292c365c4c Translated using Weblate (Russian)
Currently translated at 100.0% (1113 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ru/
1 year ago
Slávek Banko d4cf702259
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Marek W 9232c032ad Translated using Weblate (Polish)
Currently translated at 100.0% (4 of 4 strings)

Translation: applications/tellico - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/pl/
1 year ago
Marek W dae674d5f5 Added translation using Weblate (Polish) 1 year ago
TDE Weblate 01caa644db Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tellico - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/
1 year ago
TDE Weblate ea7a8ffa3c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/
1 year ago
Michele Calgaro 48a28f804c
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro a7d0c9e487
cmake files: change keywords to lower case
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 55ea90e756
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro c650254e18
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 3d581777cd
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Andrei Stepanov 10996a19ed Translated using Weblate (Russian)
Currently translated at 100.0% (4 of 4 strings)

Translation: applications/tellico - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/ru/
2 years ago
Michele Calgaro 4f29422c2b
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Andrei Stepanov 252be932ea Translated using Weblate (Russian)
Currently translated at 99.5% (1108 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/ru/
2 years ago
Michele Calgaro 1be100df96
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro dbf84303c4
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 4bbccf7d67
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko ac553347dc
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
TDE Weblate f73799c219 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/
2 years ago
Michele Calgaro f57d24985e
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Marek W 30d2f3d275 Translated using Weblate (Polish)
Currently translated at 74.2% (826 of 1113 strings)

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/pl/
2 years ago
TDE Weblate 997c050d9e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/tellico
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/
2 years ago
TDE Gitea 0a00263f6c Update translation template. 2 years ago
Slávek Banko f163e21e1e
Fix FTBFS caused by taglib as a result of the QString -> TQString renaming.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro b3acf22ba8
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro d82c9bd8b6
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 074a3e6db6
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro e164b1d027
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro c7f2ea3d7c
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago

@ -17,7 +17,7 @@
#include "tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#ifdef USE_KCAL

@ -82,7 +82,7 @@ bool OpenOffice::connect() {
StatusBar::self()->setStatus(i18n("Connecting to OpenOffice.org..."));
if(d->port == -1) {
TDEConfigGroup config(kapp->config(), "OpenOffice.org");
TDEConfigGroup config(tdeApp->config(), "OpenOffice.org");
d->host = config.readEntry("Host", TQString::fromLatin1("localhost"));
d->port = config.readNumEntry("Port", 2083);
d->pipe = config.readPathEntry("Pipe");
@ -253,7 +253,7 @@ bool OpenOffice::connectionDialog() {
d->handler->setPipe(TQFile::encodeName(d->pipe));
}
TDEConfigGroup config(kapp->config(), "OpenOffice.org");
TDEConfigGroup config(tdeApp->config(), "OpenOffice.org");
config.writeEntry("Host", d->host);
config.writeEntry("Port", d->port);
config.writePathEntry("Pipe", d->pipe);

@ -33,7 +33,7 @@
#include <klineedit.h>
#include <tdelocale.h>
#include <tdeconfig.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <knuminput.h>
#include <kpushbutton.h>
#include <kiconloader.h>
@ -636,7 +636,7 @@ void ConfigDialog::readFetchConfig() {
// there's weird layout bug if it's not hidden
cw->hide();
}
kapp->processEvents();
tdeApp->processEvents();
}
if(m_sourceListView->childCount() == 0) {

@ -82,7 +82,7 @@ void DetailedListView::addCollection(Data::CollPtr coll_) {
m_imageColumns.clear();
// myDebug() << "DetailedListView::addCollection()" << endl;
TDEConfigGroup config(kapp->config(), TQString::fromLatin1("Options - %1").arg(coll_->typeName()));
TDEConfigGroup config(tdeApp->config(), TQString::fromLatin1("Options - %1").arg(coll_->typeName()));
TQString configN;
if(coll_->type() == Data::Collection::Base) {
@ -170,7 +170,7 @@ void DetailedListView::addCollection(Data::CollPtr coll_) {
setPrevSortedColumn(prevSortCol, prev2SortCol);
triggerUpdate();
kapp->processEvents();
tdeApp->processEvents();
setUpdatesEnabled(false);
m_loadingCollection = true;
@ -747,7 +747,7 @@ void DetailedListView::slotUpdatePixmap() {
}
void DetailedListView::saveConfig(Tellico::Data::CollPtr coll_, int configIndex_) {
TDEConfigGroup config(kapp->config(), TQString::fromLatin1("Options - %1").arg(coll_->typeName()));
TDEConfigGroup config(tdeApp->config(), TQString::fromLatin1("Options - %1").arg(coll_->typeName()));
// all of this is to have custom settings on a per file basis
TQString configN;

@ -195,7 +195,7 @@ bool Document::saveDocument(const KURL& url_) {
// in case we're still loading images, give that a chance to cancel
m_cancelImageWriting = true;
kapp->processEvents();
tdeApp->processEvents();
ProgressItem& item = ProgressManager::self()->newProgressItem(this, i18n("Saving file..."), false);
ProgressItem::Done done(this);
@ -528,7 +528,7 @@ void Document::slotLoadAllImages() {
break;
}
// stay responsive, do this in the background
kapp->processEvents();
tdeApp->processEvents();
}
if(m_cancelImageWriting) {
@ -570,7 +570,7 @@ void Document::writeAllImages(int cacheDir_, const KURL& localDir_) {
}
if(j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j/stepSize);
kapp->processEvents();
tdeApp->processEvents();
}
++j;
if(m_cancelImageWriting) {

@ -129,7 +129,7 @@ void EntryUpdater::slotDone() {
return;
}
}
kapp->processEvents();
tdeApp->processEvents();
// so the entry updater can clean up a bit
TQTimer::singleShot(500, this, TQ_SLOT(slotStartNext()));
}
@ -149,7 +149,7 @@ void EntryUpdater::slotResult(Fetch::SearchResult* result_) {
result_->fetcher->stop();
}
}
kapp->processEvents();
tdeApp->processEvents();
}
void EntryUpdater::slotCancel() {

@ -28,7 +28,7 @@
#include "../core/drophandler.h"
#include "../tellico_debug.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <krun.h>
#include <tdemessagebox.h>
#include <tdehtmlview.h>
@ -67,7 +67,7 @@ EntryView::EntryView(TQWidget* parent_, const char* name_) : TDEHTMLPart(new Ent
connect(browserExtension(), TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
TQ_SLOT(slotOpenURL(const KURL&)));
connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotResetColors()));
connect(tdeApp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotResetColors()));
}
EntryView::~EntryView() {

@ -30,7 +30,7 @@
#include <tdelocale.h>
#include <tdeio/job.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <klineedit.h>
#include <kseparator.h>

@ -24,7 +24,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tqdom.h>

@ -24,7 +24,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <klineedit.h>
#include <kactivelabel.h>

@ -23,7 +23,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdeio/job.h>

@ -23,7 +23,7 @@
#include <tdelocale.h>
#include <tdeconfig.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeio/job.h>
#include <tqdom.h>

@ -27,7 +27,7 @@
#include <tdelocale.h>
#include <tdeconfig.h>
#include <kprocess.h>
#include <tdeprocess.h>
#include <kurlrequester.h>
#include <tdeaccelmanager.h>

@ -51,7 +51,7 @@
#include <tdelocale.h>
#include <kiconloader.h>
#include <kmimetype.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <dcopref.h>
#include <tdetempfile.h>
#include <tdeio/netaccess.h>

@ -26,9 +26,9 @@
#include "../tellico_utils.h"
#include <tdeconfig.h>
#include <kprocess.h>
#include <kprocio.h>
#include <kstandarddirs.h>
#include <tdeprocess.h>
#include <tdeprocio.h>
#include <tdestandarddirs.h>
#include <tdeaccelmanager.h>
#include <tqdir.h>
@ -48,7 +48,7 @@ GCstarPluginFetcher::PluginList GCstarPluginFetcher::plugins(int collType_) {
TQString gcstar = TDEStandardDirs::findExe(TQString::fromLatin1("gcstar"));
if(pluginParse == NotYet) {
KProcIO proc;
TDEProcIO proc;
proc << gcstar << TQString::fromLatin1("--version");
// wait 5 seconds at most, just a sanity thing, never want to block completely
if(proc.start(TDEProcess::Block) && proc.wait(5)) {
@ -92,7 +92,7 @@ void GCstarPluginFetcher::readPluginsNew(int collType_, const TQString& gcstar_)
return;
}
KProcIO proc;
TDEProcIO proc;
proc << gcstar_
<< TQString::fromLatin1("-x")
<< TQString::fromLatin1("--list-plugins")

@ -22,7 +22,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tqdom.h>

@ -29,7 +29,7 @@
#include <tdelocale.h>
#include <tdeio/job.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <kcombobox.h>
#include <tdeaccelmanager.h>

@ -23,7 +23,7 @@
#include "../tellico_debug.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdeio/job.h>

@ -261,7 +261,7 @@ void Z3950Connection::run() {
}
// save syntax change for next time
if(m_syntax != newSyntax) {
kapp->postEvent(m_fetcher, new Z3950SyntaxChange(newSyntax));
tdeApp->postEvent(m_fetcher, new Z3950SyntaxChange(newSyntax));
m_syntax = newSyntax;
}
@ -355,15 +355,15 @@ bool Z3950Connection::makeConnection() {
void Z3950Connection::done() {
checkPendingEvents();
kapp->postEvent(m_fetcher, new Z3950ConnectionDone(m_hasMore));
tdeApp->postEvent(m_fetcher, new Z3950ConnectionDone(m_hasMore));
}
void Z3950Connection::done(const TQString& msg_, int type_) {
checkPendingEvents();
if(m_aborted) {
kapp->postEvent(m_fetcher, new Z3950ConnectionDone(m_hasMore));
tdeApp->postEvent(m_fetcher, new Z3950ConnectionDone(m_hasMore));
} else {
kapp->postEvent(m_fetcher, new Z3950ConnectionDone(m_hasMore, msg_, type_));
tdeApp->postEvent(m_fetcher, new Z3950ConnectionDone(m_hasMore, msg_, type_));
}
}

@ -38,7 +38,7 @@
#include "../lccnvalidator.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeapplication.h>
#include <knuminput.h>
#include <tdeconfig.h>

@ -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) {

@ -37,7 +37,7 @@ ListView::ListView(TQWidget* parent_, const char* name_) : TDEListView(parent_,
// call it once to initialize
slotUpdateColors();
#endif
connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotUpdateColors()));
connect(tdeApp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotUpdateColors()));
m_comparisons.setAutoDelete(true);
}

@ -36,7 +36,7 @@
#include "translators/deliciousimporter.h"
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tqlayout.h>
#include <tqbuttongroup.h>

@ -68,7 +68,7 @@
#include <kprinter.h>
#include <tdehtmlview.h>
#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include <ktip.h>
#include <tderecentdocument.h>
@ -116,9 +116,9 @@ MainWindow::MainWindow(TQWidget* parent_/*=0*/, const char* name_/*=0*/) : TDEMa
m_initialized(false),
m_newDocument(true) {
if(!kapp->dcopClient()->isRegistered()) {
kapp->dcopClient()->registerAs("tellico");
kapp->dcopClient()->setDefaultObject(objId());
if(!tdeApp->dcopClient()->isRegistered()) {
tdeApp->dcopClient()->registerAs("tellico");
tdeApp->dcopClient()->setDefaultObject(objId());
}
m_fetchActions.setAutoDelete(true); // these are the fetcher actions
@ -1055,7 +1055,7 @@ void MainWindow::saveProperties(TDEConfig* cfg_) {
KURL url = Data::Document::self()->URL();
cfg_->writeEntry("filename", url.url());
cfg_->writeEntry("modified", Data::Document::self()->isModified());
TQString tempname = KURL::encode_string(kapp->tempSaveName(url.url()));
TQString tempname = KURL::encode_string(tdeApp->tempSaveName(url.url()));
KURL tempurl;
tempurl.setPath(tempname);
Data::Document::self()->saveDocument(tempurl);
@ -1067,7 +1067,7 @@ void MainWindow::readProperties(TDEConfig* cfg_) {
bool modified = cfg_->readBoolEntry(TQString::fromLatin1("modified"), false);
if(modified) {
bool canRecover;
TQString tempname = kapp->checkRecoverFile(filename, canRecover);
TQString tempname = tdeApp->checkRecoverFile(filename, canRecover);
if(canRecover) {
KURL tempurl;
@ -1422,7 +1422,7 @@ void MainWindow::activateEditSlot(const char* slot_) {
if(m_editDialog->isVisible()) {
w = m_editDialog->focusWidget();
} else {
w = kapp->focusWidget();
w = tdeApp->focusWidget();
}
if(w && w->isVisible()) {

@ -29,7 +29,7 @@
#include <tdefileitem.h>
#include <tdeversion.h>
#include <tdenewstuff/entry.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tqfileinfo.h>
#include <tqdir.h>

@ -27,7 +27,7 @@
#include <tdelocale.h>
#include <tdehtml_part.h>
#include <tdehtmlview.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <kdebug.h>
#include <tdeapplication.h>
#include <kpushbutton.h>

@ -102,7 +102,7 @@ void StatusBar::slotProgress(uint progress_) {
if(ProgressManager::self()->anyCanBeCancelled()) {
m_cancelButton->show();
}
kapp->processEvents(); // needed so the window gets updated ???
tdeApp->processEvents(); // needed so the window gets updated ???
}
}

@ -20,7 +20,7 @@
#include <tdelocale.h>
#include <tdeglobal.h>
#include <klibloader.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <kcharsets.h>
#include <tqregexp.h>
@ -53,7 +53,7 @@ TQString Tellico::uid(int l, bool prefix) {
if(prefix) {
uid = TQString::fromLatin1("Tellico");
}
uid.append(kapp->randomString(TQMAX(l - uid.length(), 0)));
uid.append(tdeApp->randomString(TQMAX(l - uid.length(), 0)));
return uid;
}
@ -203,16 +203,16 @@ TQString Tellico::saveLocation(const TQString& dir_) {
}
Tellico::GUI::CursorSaver::CursorSaver(const TQCursor& cursor_) : m_restored(false) {
kapp->setOverrideCursor(cursor_);
tdeApp->setOverrideCursor(cursor_);
}
Tellico::GUI::CursorSaver::~CursorSaver() {
if(!m_restored) {
kapp->restoreOverrideCursor();
tdeApp->restoreOverrideCursor();
}
}
void Tellico::GUI::CursorSaver::restore() {
kapp->restoreOverrideCursor();
tdeApp->restoreOverrideCursor();
m_restored = true;
}

@ -87,7 +87,7 @@ bool AlexandriaExporter::exec() {
success &= writeFile(libraryDir, entryIt.data());
if(showProgress && j%stepSize == 0) {
item.setProgress(j);
kapp->processEvents();
tdeApp->processEvents();
}
}
return success;

@ -172,7 +172,7 @@ Tellico::Data::CollPtr AlexandriaImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -95,7 +95,7 @@ Tellico::Data::CollPtr AMCImporter::collection() {
readEntry();
if(showProgress) {
ProgressManager::self()->setProgress(this, f->at());
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -97,7 +97,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
for(TQStringList::ConstIterator it2 = list.begin(); it2 != list.end(); ++it2) {
files += dir.absFilePath(*it2);
}
// kapp->processEvents(); not needed ?
// tdeApp->processEvents(); not needed ?
}
if(m_cancelled) {
@ -270,7 +270,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setTotalSteps(this, files.count() + directoryFiles.count());
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
/* kdDebug() << "-- TAG --" << endl;
@ -319,7 +319,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -21,7 +21,7 @@
#include "../latin1literal.h"
#include "../tellico_debug.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <kurl.h>
#include <kstringhandler.h>
#include <tdelocale.h>

@ -46,7 +46,7 @@ BibtexImporter::BibtexImporter(const TQString& text_) : Importer(text_)
BibtexImporter::~BibtexImporter() {
bt_cleanup();
if(m_readUTF8) {
TDEConfigGroup config(kapp->config(), "Import Options");
TDEConfigGroup config(tdeApp->config(), "Import Options");
config.writeEntry("Bibtex UTF8", m_readUTF8->isChecked());
}
}
@ -206,7 +206,7 @@ Tellico::Data::CollPtr BibtexImporter::readCollection(const TQString& text, int
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, n*100 + 100*j/count);
kapp->processEvents();
tdeApp->processEvents();
}
}
@ -295,7 +295,7 @@ TQWidget* BibtexImporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
m_readLocale->setChecked(true);
TQWhatsThis::add(m_readLocale, i18n("Read the imported file in the local encoding."));
TDEConfigGroup config(kapp->config(), "Import Options");
TDEConfigGroup config(tdeApp->config(), "Import Options");
bool useUTF8 = config.readBoolEntry("Bibtex UTF8", false);
if(useUTF8) {
m_readUTF8->setChecked(true);

@ -64,7 +64,7 @@ void BibtexmlImporter::loadDomDocument() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
} // end entry loop
}

@ -222,7 +222,7 @@ Tellico::Data::CollPtr CSVImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
++j;
}

@ -17,7 +17,7 @@
#include "../imagefactory.h"
#include "../tellico_debug.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tqfile.h>

@ -168,7 +168,7 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -317,7 +317,7 @@ void FreeDBImporter::readCache() {
for(TQStringList::ConstIterator it2 = list.begin(); it2 != list.end(); ++it2) {
files.insert(*it2, dir.absFilePath(*it2), false);
}
// kapp->processEvents(); // really needed ?
// tdeApp->processEvents(); // really needed ?
}
const TQString title = TQString::fromLatin1("title");
@ -420,7 +420,7 @@ void FreeDBImporter::readCache() {
if(showProgress && step%stepSize == 0) {
ProgressManager::self()->setProgress(this, step);
kapp->processEvents();
tdeApp->processEvents();
}
}
#endif

@ -22,7 +22,7 @@
#include "tellicoimporter.h"
#include <tdeapplication.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tqtextcodec.h>
@ -224,7 +224,7 @@ void GCfilmsImporter::readGCfilms(const TQString& text_) {
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -17,8 +17,8 @@
#include "../tellico_debug.h"
#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <kprocess.h>
#include <tdestandarddirs.h>
#include <tdeprocess.h>
#include <tqdir.h>
#include <tqfile.h>

@ -25,7 +25,7 @@
#include "../core/tellico_config.h"
#include "../tellico_debug.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdeglobal.h>
#include <tdeio/netaccess.h>
@ -451,7 +451,7 @@ void HTMLExporter::writeImages(Data::CollPtr coll_) {
}
if(++count == processCount) {
kapp->processEvents();
tdeApp->processEvents();
count = 0;
}
}
@ -662,7 +662,7 @@ bool HTMLExporter::copyFiles() {
if(options() & ExportProgress) {
ProgressManager::self()->setProgress(this, TQMIN(start+j/stepSize, 99));
}
kapp->processEvents();
tdeApp->processEvents();
}
}
return true;
@ -731,7 +731,7 @@ bool HTMLExporter::writeEntryFiles() {
if(options() & ExportProgress) {
ProgressManager::self()->setProgress(this, TQMIN(start+j/stepSize, 99));
}
kapp->processEvents();
tdeApp->processEvents();
}
}
// the images in "pics/" are special data images, copy them always

@ -23,7 +23,7 @@
#include <config.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdeapplication.h>
#include <kzip.h>
#include <tdeconfig.h>

@ -26,7 +26,7 @@
#include "../core/netaccess.h"
#include "../tellico_debug.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include <config.h>
@ -215,7 +215,7 @@ Tellico::Data::CollPtr PDFImporter::collection() {
if(showProgress) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -16,7 +16,7 @@
#include "../core/netaccess.h"
#include "../imagefactory.h"
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
using Tellico::Import::ReferencerImporter;

@ -278,7 +278,7 @@ void RISImporter::readURL(const KURL& url_, int n, const TQDict<Data::Field>& ri
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, n*100 + 100*j/length);
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -314,7 +314,7 @@ void TellicoImporter::loadXMLData(const TQByteArray& data_, bool loadImages_) {
// not exactly right, but close enough
if(showProgress && j%stepSize == 0) {
ProgressManager::self()->setProgress(this, j);
kapp->processEvents();
tdeApp->processEvents();
}
} else {
// myDebug() << "...skipping " << n.localName() << " (" << n.namespaceURI() << ")" << endl;
@ -866,7 +866,7 @@ void TellicoImporter::loadZipData() {
m_images.remove(*it);
}
if(j%stepSize == 0) {
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -125,7 +125,7 @@ void TellicoSaxImporter::loadXMLData(const TQByteArray& data_, bool loadImages_)
pos += blockSize;
if(showProgress) {
ProgressManager::self()->setProgress(this, pos);
kapp->processEvents();
tdeApp->processEvents();
}
}
@ -252,7 +252,7 @@ void TellicoSaxImporter::loadZipData() {
m_images.remove(*it);
}
if(j%stepSize == 0) {
kapp->processEvents();
tdeApp->processEvents();
}
}

@ -109,7 +109,7 @@ bool TellicoZipExporter::exec() {
imageSet.add(id);
if(j%stepSize == 0) {
ProgressManager::self()->setProgress(this, TQMIN(10+j/stepSize, 99));
kapp->processEvents();
tdeApp->processEvents();
}
}
}

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-09-29 20:16+0000\n"
"POT-Creation-Date: 2023-09-29 18:16+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Loading…
Cancel
Save